{"version":3,"sources":["webpack:///vue.bundle.js","webpack:///./node_modules/vue-router/dist/vue-router.esm.js","webpack:///./node_modules/vuex/dist/vuex.esm.js","webpack:///./node_modules/vee-validate/dist/vee-validate.esm.js","webpack:///./node_modules/vue-notification/dist/index.js","webpack:///./node_modules/vuex-router-sync/index.js","webpack:///(webpack)/buildin/global.js","webpack:///./node_modules/es6-promise-promise/index.js","webpack:///./node_modules/timers-browserify/main.js","webpack:///./node_modules/vue/dist/vue.esm.js","webpack:///./node_modules/process/browser.js","webpack:///./src/scripts/vue/vue.bundle.js","webpack:///./node_modules/es6-promise-promise/node_modules/es6-promise/dist/es6-promise.js","webpack:///./node_modules/setimmediate/setImmediate.js"],"names":["webpackJsonp","100","module","__webpack_exports__","__webpack_require__","extend","a","b","key","decode","str","decodeURIComponent","err","resolveQuery","query","extraQuery","_parseQuery","parsedQuery","parse","parseQuery","e","value","Array","isArray","map","castQueryParamValue","res","trim","replace","split","forEach","param","parts","shift","val","length","join","push","stringifyQuery","obj","Object","keys","encode","result","val2","filter","x","createRoute","record","location","redirectedFrom","router","options","clone","route","name","meta","path","hash","params","fullPath","getFullPath","matched","formatMatch","freeze","unshift","parent","ref","_stringifyQuery","stringify","isSameRoute","onlyPath","START","trailingSlashRE","isObjectEqual","aKeys","sort","bKeys","every","i","aVal","bVal","String","isIncludedRoute","current","target","indexOf","queryIncludes","handleRouteEntered","instances","instance","cbs","enteredCbs","i$1","_isBeingDestroyed","fillPropsinData","component","data","configProps","propsToPass","props","resolveProps","attrs","config","resolvePath","relative","base","append","firstChar","charAt","stack","pop","segments","segment","parsePath","hashIndex","slice","queryIndex","cleanPath","tokens","index","defaultDelimiter","delimiter","PATH_REGEXP","exec","m","escaped","offset","next","prefix","capture","group","modifier","asterisk","partial","repeat","optional","pattern","escapeGroup","escapeString","substr","compile","tokensToFunction","encodeURIComponentPretty","encodeURI","c","charCodeAt","toString","toUpperCase","encodeAsterisk","matches","RegExp","flags","opts","pretty","encodeURIComponent","token","TypeError","isarray","JSON","j","test","attachKeys","re","sensitive","regexpToRegexp","groups","source","match","arrayToRegexp","pathToRegexp","stringToRegexp","tokensToRegExp","strict","end","endsWithDelimiter","fillParams","routeMsg","filler","regexpCompileCache","pathToRegexp_1","pathMatch","normalizeLocation","raw","_normalized","params$1","rawPath","parsedPath","basePath","guardEvent","metaKey","altKey","ctrlKey","shiftKey","defaultPrevented","button","currentTarget","getAttribute","preventDefault","findAnchor","children","child","tag","install","Vue","installed","_Vue","isDef","v","registerInstance","vm","callVal","$options","_parentVnode","registerRouteInstance","mixin","beforeCreate","this","_routerRoot","_router","init","util","defineReactive","history","$parent","destroyed","defineProperty","prototype","get","_route","View","Link","strats","optionMergeStrategies","beforeRouteEnter","beforeRouteLeave","beforeRouteUpdate","created","createRouteMap","routes","oldPathList","oldPathMap","oldNameMap","parentRoute","pathList","pathMap","create","nameMap","addRouteRecord","l","splice","matchAs","pathToRegexpOptions","normalizedPath","normalizePath","caseSensitive","regex","compileRouteRegex","components","default","alias","redirect","beforeEnter","childMatchAs","aliases","aliasRoute","createMatcher","addRoutes","addRoute","parentOrRoute","getRoutes","currentRoute","_createRoute","paramNames","record$1","matchRoute","originalRedirect","hasOwnProperty","resolveRecordPath","aliasedPath","aliasedMatch","aliasedRecord","len","genStateKey","Time","now","toFixed","getStateKey","_key","setStateKey","setupScroll","window","scrollRestoration","protocolAndPath","protocol","host","absolutePath","href","stateCopy","state","replaceState","addEventListener","handlePopState","removeEventListener","handleScroll","to","from","isPop","app","behavior","scrollBehavior","$nextTick","position","getScrollPosition","shouldScroll","call","then","scrollToPosition","catch","saveScrollPosition","positionStore","pageXOffset","y","pageYOffset","getElementPosition","el","docEl","document","documentElement","docRect","getBoundingClientRect","elRect","left","top","isValidPosition","isNumber","normalizePosition","normalizeOffset","isObject","selector","hashStartsWithNumberRE","getElementById","querySelector","style","scrollTo","pushState","url","createNavigationRedirectedError","createRouterError","NavigationFailureType","redirected","stringifyRoute","createNavigationDuplicatedError","error","duplicated","createNavigationCancelledError","cancelled","createNavigationAbortedError","aborted","type","message","Error","_isRouter","propertiesToLog","isError","isNavigationFailure","errorType","runQueue","queue","fn","cb","step","resolveAsyncComponents","hasAsync","pending","flatMapComponents","def","_","cid","resolve","once","resolvedDef","isESModule","resolved","reject","reason","msg","comp","flatten","arr","concat","apply","__esModule","hasSymbol","Symbol","toStringTag","called","args","arguments","normalizeBase","inBrowser","baseEl","resolveQueue","max","Math","updated","activated","deactivated","extractGuards","records","bind","reverse","guards","guard","extractGuard","extractLeaveGuards","bindGuard","extractUpdateHooks","extractEnterGuards","bindEnterGuard","getLocation","pathname","pathLowerCase","toLowerCase","baseLowerCase","search","checkFallback","ensureSlash","getHash","replaceHash","getUrl","pushHash","supportsPushState","registerHook","list","createHref","mode","encodeReserveRE","encodeReserveReplacer","commaRE","functional","render","routerView","h","$createElement","$route","cache","_routerViewCache","depth","inactive","vnodeData","$vnode","keepAlive","_directInactive","_inactive","routerViewDepth","cachedData","cachedComponent","hook","prepatch","vnode","componentInstance","parse_1","compile_1","tokensToFunction_1","tokensToRegExp_1","toTypes","eventTypes","noop","required","custom","Boolean","exact","exactPath","activeClass","exactActiveClass","ariaCurrentValue","event","this$1$1","$router","classes","globalActiveClass","linkActiveClass","globalExactActiveClass","linkExactActiveClass","activeClassFallback","exactActiveClassFallback","compareTarget","handler","on","click","class","scopedSlot","$scopedSlots","$hasNormal","navigate","isActive","isExactActive","$slots","isStatic","aData","handler$1","event$1","aAttrs","performance","Date","ua","navigator","userAgent","History","ready","readyCbs","readyErrorCbs","errorCbs","listeners","listen","onReady","errorCb","onError","transitionTo","onComplete","onAbort","prev","confirmTransition","updateRoute","ensureURL","afterHooks","abort","console","lastRouteIndex","lastCurrentIndex","beforeHooks","iterator","resolveHooks","setupListeners","teardown","cleanupListener","HTML5History","_startLocation","__proto__","constructor","expectScroll","supportsScroll","handleRoutingEvent","go","n","fromRoute","getCurrentLocation","HashHistory","fallback","eventType","AbstractHistory","targetIndex","VueRouter","apps","matcher","prototypeAccessors","configurable","$once","handleInitialScroll","routeOrError","beforeEach","beforeResolve","afterEach","Promise","back","forward","getMatchedComponents","normalizedTo","defineProperties","VueRouter$1","version","START_LOCATION","use","101","applyMixin","vuexInit","store","$store","Number","_init","devtoolPlugin","devtoolHook","_devtoolHook","emit","targetState","subscribe","mutation","prepend","subscribeAction","action","find","f","deepCopy","hit","original","copy","forEachValue","isPromise","arg","update","targetModule","newModule","modules","getChild","genericSubscribe","subs","resetStore","hot","_actions","_mutations","_wrappedGetters","_modulesNamespaceMap","installModule","_modules","root","resetStoreVM","oldVm","_vm","getters","_makeLocalGettersCache","wrappedGetters","computed","enumerable","silent","$$state","enableStrictMode","_withCommit","_data","nextTick","$destroy","rootState","isRoot","namespace","getNamespace","namespaced","parentState","getNestedState","moduleName","set","local","context","makeLocalContext","forEachMutation","registerMutation","forEachAction","registerAction","forEachGetter","getter","registerGetter","forEachChild","noNamespace","dispatch","_type","_payload","_options","unifyObjectStyle","payload","commit","makeLocalGetters","gettersProxy","splitPos","localType","rootGetters","rawGetter","$watch","deep","sync","reduce","normalizeMap","isValidMap","normalizeNamespace","getModuleByNamespace","helper","createLogger","collapsed","stateBefore","stateAfter","transformer","mutationTransformer","mut","actionFilter","actionTransformer","act","logMutations","logActions","logger","prevState","nextState","formattedTime","getFormattedTime","formattedMutation","startMessage","log","endMessage","formattedAction","groupCollapsed","groupEnd","time","pad","getHours","getMinutes","getSeconds","getMilliseconds","times","num","maxLength","global","__VUE_DEVTOOLS_GLOBAL_HOOK__","Module","rawModule","runtime","_children","_rawModule","rawState","addChild","removeChild","hasChild","actions","mutations","ModuleCollection","rawRootModule","register","this$1","rawChildModule","unregister","isRegistered","Store","plugins","_committing","_actionSubscribers","_subscribers","_watcherVM","plugin","devtools","prototypeAccessors$1","entry","sub","before","all","after","watch","registerModule","preserveState","unregisterModule","delete","hasModule","hotUpdate","newOptions","committing","mapState","states","vuex","mapMutations","mapGetters","mapActions","createNamespacedHelpers","102","findField","$validator","fields","id","_veeValidateId","detectPassiveSupport","localVue","Config","merge","dictionary","i18n","Validator","localize","isCallable","$emit","locale","setStrictMode","directive","warn","ErrorBag","Rules","rules","toDate","argument","dirtyOptions","NaN","additionalDigits","DEFAULT_ADDITIONAL_DIGITS","RangeError","getTime","dateStrings","splitDateString","parseYearResult","parseYear","date","year","restDateString","parseDate","timestamp","parseTime","timezone","parseTimezone","getTimezoneOffset","MILLISECONDS_IN_MINUTE","dateString","timeString","array","patterns","dateTimeDelimeter","plainTime","patternYYY","YYY","patternYYYYY","YYYYY","YYYY","yearString","parseInt","YY","centuryString","month","week","setUTCFullYear","MM","DDD","dayOfYear","MMDD","day","Www","dayOfISOYear","WwwD","hours","minutes","HH","parseFloat","MILLISECONDS_IN_HOUR","HHMM","HHMMSS","seconds","timezoneString","absoluteOffset","timezoneZ","timezoneHH","timezoneHHMM","isoYear","fourthOfJanuaryDay","getUTCDay","diff","setUTCDate","getUTCDate","addMilliseconds","dirtyDate","dirtyAmount","amount","cloneObject","dirtyObject","object","property","addMinutes","MILLISECONDS_IN_MINUTE$2","isValid","isNaN","formatDistance","count","formatDistanceLocale","one","other","addSuffix","comparison","buildShortLongFormat","format","tokensToBeShortedPattern","formatRelative","baseDate","formatRelativeLocale","buildLocalizeFn","values","defaultType","indexCallback","dirtyIndex","buildLocalizeArrayFn","ordinalNumber","dirtyNumber","number","rem100","buildMatchFn","dirtyString","buildParseFn","matchResult","patternsArray","string","findIndex","parseDecimal","getUTCDayOfYear","setUTCMonth","setUTCHours","startOfYearTimestamp","difference","floor","MILLISECONDS_IN_DAY$1","startOfUTCISOWeek","getUTCISOWeekYear","getUTCFullYear","fourthOfJanuaryOfNextYear","startOfNextYear","fourthOfJanuaryOfThisYear","startOfThisYear","startOfUTCISOWeekYear","fourthOfJanuary","getUTCISOWeek","round","MILLISECONDS_IN_WEEK$2","formatTimezone","delimeter","sign","absOffset","abs","addLeadingZeros","targetLength","output","addUTCMinutes","setUTCMinutes","getUTCMinutes","dirtyFormatStr","formatStr","locale$1","formatLong","localeFormatters","formatters","formattingTokensRegExp","defaultFormattingTokensRegExp","originalDate","timezoneOffset","utcDate","formatterOptions","_originalDate","longFormattingTokensRegExp","substring","cleanEscapedString","formatter","input","subMinutes","isAfter","dirtyDateToCompare","dateToCompare","isBefore","isEqual$1","dirtyLeftDate","dirtyRightDate","dateLeft","dateRight","parseDecimal$1","setUTCDay","dirtyDay","localeWeekStartsOn","weekStartsOn","defaultWeekStartsOn","currentDay","remainder","dayIndex","setUTCISODay","setUTCISOWeek","dirtyISOWeek","isoWeek","setUTCISOWeekYear","dirtyISOYear","dateStartOfYear","MILLISECONDS_IN_DAY$3","setTimeOfDay","timeOfDay","dirtyDateString","dirtyFormatString","dirtyBaseDate","localeParsers","parsers","localeUnits","units","formatString","longFormattingTokensRegExp$1","cleanEscapedString$1","subFnOptions","parsingTokensRegExp","defaultParsingTokensRegExp","tokensLength","setters","priority","TIMEZONE_UNIT_PRIORITY","dateToSystemTimezone","parser","unitName","unit","head","uniquePrioritySetters","setter","setterArray","dateValues","settersLength","MILLISECONDS_IN_MINUTE$7","parseDate$1","format$$1","parsed","otherValue","inclusion","confirmed","unwrapExports","createCommonjsModule","exports","credit_card","isCreditCard","date_between","assign","assign$1","min$$1","max$$1","inclusivity","minDate","maxDate","dateVal","date_format","dimensions","files","width","height","file","validateImage","ext","extensions","image","ip","isNullOrUndefined","isIP","is","is_not","toArray","compare","integer","max$1","max_value","mimes","min$1","min_value","min","numeric","invalidateFalse","size","nSize","requireProtocol","require_protocol","allow_underscores","isURL","supportsPassive","eventName","passive","isTextInput","isCheckboxOrRadioInput","getDataAttribute","createFlags","untouched","touched","dirty","pristine","valid","invalid","validated","changed","isEqual","lhs","rhs","getScope","scope","form","getForm","tagName","parentNode","getPath","prop","hasPath","parseRule","rule","debounce","wait","immediate","timeout","later","callNow","clearTimeout","setTimeout","normalizeRules","curr","parsedRule","createError","func","hasClass","className","classList","contains","addClass","add","removeClass","remove","reg","toggleClass","status","item","arrayLike","others","idTemplate","uniqId","predicate","isBuiltInComponent","componentOptions","makeEventsArray","events","makeDelayObject","delay","delayConfig","deepParseInt","element","obj$1","items","done","field","regenerate","_normalizeError","idx","any","clear","collect","collection","firstById","first","_selector","scoped","_scope","firstByRule","firstRule","errors","has","firstNot","removeById","LOCALE","Dictionary","container","hasLocale","setDateFormat","dateFormat","getDateFormat","getMessage","hasMessage","messages","_getDefaultMessage","getFieldMessage","dict","_default","en","hasAttribute","attributes","setMessage","setAttribute","attribute","normalizeValue","normalizeFormat","I18nDictionary","rootKey","getDateTimeFormat","setDateTimeFormat","te","t","localeKey","mergeLocaleMessage","defaultConfig","errorBagName","fieldsBagName","classNames","inject","fastExit","aria","validity","i18nRootKey","currentConfig","dependencies","staticAccessors","dependency","selfConfig","Generator","generate","binding","model","resolveModel","resolveName","modifiers","disable","resolveScope","makeVM","expression","resolveGetter","resolveEvents","resolveDelay","resolveRules","initial","initialValue","resolveInitialValue","getCtorConfig","directives","d","$el","$refs","validate","globalDelay","$attrs","watchable","lazy","boundGetter","els","querySelectorAll","checked","checkbox","elm","opt","selected","DEFAULT_OPTIONS","targetOf","Field","watchers","_cacheId","_delay","ctorConfig","prototypeAccessors$2","validator","isRequired","isDisabled","rejectsFalse","disabled","_alias","updateDependencies","addActionListeners","addValueListeners","updateClasses","updateAriaAttrs","reset","_cancellationToken","defaults","flag","updateCustomValidity","setFlags","negated","destroy","r","isTargetRule","ref$1","unwatch","w","applyClasses","onBlur","inputEvent","onInput","$off","blurEvent","checkValueChanged","Event","srcElement","debouncedFn","_addComponentEventListener","_addHTMLEventListener","evt","$on","addListener","applyAriaAttrs","setCustomValidity","FieldBag","prototypeAccessors$3","some","mapper","RULES","STRICT_MODE","TARGET_RULES","validations","_createFields","paused","ownerId","_uid","_localeListener","prototypeAccessors$4","staticAccessors$1","hasChanged","_guardExtend","_merge","hasTarget","strictMode","lang","attach","_validate","_addFlag","_resolveField","detach","$return","$error","$await_1","$await_2","$boundEx","$args","validateScopes","validateAll","$await_3","_handleValidationResults","_handleFieldNotFound","pause","resume","results","providedValues","$await_4","$await_5","_getDateFormat","_isADateRule","_formatErrorMessage","targetName","_getFieldDisplayName","_getLocalizedParams","obj$2","scopeObj","_test","allValid","_createFieldError","fieldScope","fieldName","fullName","matchers","allErrors","promises","isExitEarly","$await_6","requestsValidator","injections","createValidator","provide","$_veeValidate","_base","$validates","requested","beforeDestroy","fieldOptions","inserted","oldValue","unbind","formatFileSize","pow","alpha_dash","alpha_num","alpha_spaces","alpha","between","decimal","decimals","digits","email","in","not_in","VeeValidate","lessThanXSeconds","xSeconds","halfAMinute","lessThanXMinutes","xMinutes","aboutXHours","xHours","xDays","aboutXMonths","xMonths","aboutXYears","xYears","overXYears","almostXYears","formatLongLocale","LTS","LT","L","LL","LLL","LLLL","ll","lll","llll","lastWeek","yesterday","today","tomorrow","nextWeek","weekdayValues","narrow","short","long","monthValues","timeOfDayValues","uppercase","lowercase","weekday","weekdays","months","timesOfDay","matchOrdinalNumbersPattern","matchWeekdaysPatterns","parseWeekdayPatterns","matchMonthsPatterns","parseMonthPatterns","matchTimesOfDayPatterns","parseTimeOfDayPatterns","ordinalNumbers","firstWeekContainsDate","getUTCMonth","ceil","quarter","getUTCHours","getUTCSeconds","getUTCMilliseconds","patterns$1","singleDigit","twoDigits","threeDigits","fourDigits","anyDigits","M","parseResult","W","D","H","Z","ZZ","twoDigitYear","century","dayOfWeek","dayOfISOWeek","dayOfMonth","timeOfDayHours","setUTCSeconds","milliseconds","setUTCMilliseconds","cs","da","de","es","fr","lt","nl","hu","pl","pt","ru","sk","sr","tr","uk","ar","alphaSpaces","alphanumeric","alphaDash","loc","validate$1","validate$2","validate$3","validate$4","assertString_1","assertString","assertString$1","__moduleExports","_assertString","isCreditCard_1","_assertString2","sanitized","creditCard","sum","digit","tmpNum","shouldDouble","validate$5","separator","regexPart","parsedValue","validate$6","strVal","URL","webkitURL","Image","onerror","onload","src","createObjectURL","merge_1","merge$1","merge$2","isByteLength_1","isByteLength","_typeof","isByteLength$1","isFQDN_1","_interopRequireDefault","isFQDN","_merge2","default_fqdn_options","allow_trailing_dot","require_tld","tld","part","isFQDN$1","_isByteLength","_isFQDN","isEmail_1","isEmail","default_email_options","require_display_name","allow_display_name","display_email","displayName","domain","user","lower_domain","_isByteLength2","_isFQDN2","allow_utf8_local_part","quotedEmailUserUtf8","quotedEmailUser","emailUserUtf8Part","emailUserPart","user_parts","validate$7","validate$8","option","isIP_1","ipv4Maybe","blocks","foundOmissionBlock","foundIPv4TransitionBlock","expectedNumberOfBlocks","ipv6Block","validate$9","isURL_1","isRegExp","checkHost","default_url_options","auth","hostname","port","port_str","ipv6","require_valid_protocol","protocols","allow_protocol_relative_urls","require_host","ipv6_match","wrapped_ipv6","_isIP2","host_whitelist","host_blacklist","normalize","combine","mapScope","isScope","mapFields","normalized","ErrorComponent","for","createElement","Validator$$1","index_esm","103","factory","__WEBPACK_EXTERNAL_MODULE_20__","moduleId","installedModules","o","p","s","rawScriptExports","compiledTemplate","scopeId","cssModules","esModule","scriptExports","staticRenderFns","_scopeId","__WEBPACK_IMPORTED_MODULE_0_vue__","__WEBPACK_IMPORTED_MODULE_0_vue___default","__WEBPACK_IMPORTED_MODULE_0__Notifications_vue__","__WEBPACK_IMPORTED_MODULE_0__Notifications_vue___default","__WEBPACK_IMPORTED_MODULE_1__events__","Notify","componentName","notify","title","text","close","Component","_defineProperty","writable","__WEBPACK_IMPORTED_MODULE_0__index__","__WEBPACK_IMPORTED_MODULE_2__util__","__WEBPACK_IMPORTED_MODULE_3__defaults__","__WEBPACK_IMPORTED_MODULE_4__VelocityGroup_vue__","__WEBPACK_IMPORTED_MODULE_4__VelocityGroup_vue___default","__WEBPACK_IMPORTED_MODULE_5__CssGroup_vue__","__WEBPACK_IMPORTED_MODULE_5__CssGroup_vue___default","__WEBPACK_IMPORTED_MODULE_6__parser__","STATE","IDLE","DESTROYED","VelocityGroup","CssGroup","animationType","animation","velocityAnimation","animationName","cssAnimation","speed","cooldown","duration","Infinity","ignoreDuplicates","closeOnClick","velocity","mounted","addItem","closeItem","actualWidth","isVA","styles","_listToDirection","suffix","active","botToTop","methods","destroyIfNecessary","_this","clean","destroyAll","timer","direction","indexToDestroy","isDuplicate","destroyById","notifyClass","notifyWrapperStyle","transition","getAnimation","enter","_ref","complete","leave","_ref2","afterLeave","clientHeight","opacity","types","regexp","getType","Id","listToDirection","directions","mediaQuery","alreadyImportedModules","_h","_self","_c","_t","staticClass","_l","$event","domProps","_s","_e","_v","content","locals","addStylesToDom","domStyle","stylesInDom","refs","addStyle","createStyleElement","styleElement","appendChild","isProduction","isOldIE","styleIndex","singletonCounter","singletonElement","applyToSingletonTag","applyToTag","newObj","css","media","sourceMap","styleSheet","cssText","replaceText","cssNode","createTextNode","childNodes","insertBefore","sources","btoa","unescape","firstChild","hasDocument","DEBUG","listToStyles","getElementsByTagName","parentId","_isProduction","newList","mayRemove","textStore","replacement","newStyles","104","cloneRoute","currentPath","isTimeTraveling","storeUnwatch","afterEachUnHook","11","g","Function","eval","15","25","Timeout","clearFn","_id","_clearFn","self","setInterval","clearInterval","unref","enroll","msecs","_idleTimeoutId","_idleTimeout","unenroll","_unrefActive","_onTimeout","setImmediate","clearImmediate","44","isUndef","isTrue","isFalse","isPrimitive","isFunction","isPlainObject","_toString","isValidArrayIndex","isFinite","replacer","__v_isRef","toNumber","makeMap","expectsLowerCase","remove$2","hasOwn","cached","polyfillBind","ctx","boundFn","_length","nativeBind","start","ret","_from","toObject","looseEqual","isObjectA","isObjectB","isArrayA","isArrayB","keysA","keysB","looseIndexOf","isReserved","bailRE","isNative","Ctor","getCurrentInstance","currentInstance","proxy","setCurrentInstance","off","createTextVNode","VNode","undefined","cloneVNode","cloned","asyncFactory","ns","isComment","fnContext","fnOptions","fnScopeId","asyncMeta","isCloned","pushTarget","targetStack","Dep","popTarget","toggleObserving","shouldObserve","observe","shallow","ssrMockReactivity","__ob__","Observer","isServerRendering","isExtensible","__v_skip","isRef","customSetter","mock","observeEvenIfShallow","dep","getOwnPropertyDescriptor","NO_INITIAL_VALUE","childOb","depend","dependArray","newVal","isReadonly","ob","_isVue","vmCount","del","reactive","makeReactive","shallowReactive","isReactive","isShallow","__v_isShallow","__v_isReadonly","isProxy","toRaw","observed","markRaw","createRef","shallowRef","rawValue","RefFlag","triggerRef","proxyRefs","objectWithRefs","proxyWithRefUnwrap","customRef","_a","toRefs","toRef","defaultValue","readonly","createReadonly","existingFlag","rawToShallowReadonlyFlag","rawToReadonlyFlag","existingProxy","getPrototypeOf","defineReadonlyProperty","shallowReadonly","getterOrOptions","debugOptions","onlyGetter","watcher","Watcher","effect","evaluate","createFnInvoker","fns","invoker","invokeWithErrorHandling","updateListeners","oldOn","createOnceHandler","cur","old","normalizeEvent","mergeVNodeHook","hookKey","wrappedHook","oldHook","merged","extractPropsFromVNodeData","propOptions","hyphenate","checkProp","preserve","simpleNormalizeChildren","normalizeChildren","normalizeArrayChildren","isTextNode","node","nestedIndex","lastIndex","last","_isVList","createElement$1","normalizationType","alwaysNormalize","ALWAYS_NORMALIZE","_createElement","createEmptyVNode","scopedSlots","SIMPLE_NORMALIZE","getTagNamespace","isReservedTag","parsePlatformTagName","pre","resolveAsset","createComponent","applyNS","registerDeepBindings","force","traverse","renderList","renderSlot","fallbackRender","bindObject","nodes","scopedSlotFn","slot","resolveFilter","identity","isKeyNotMatch","expect","actual","checkKeyCodes","eventKeyCode","builtInKeyCode","eventKeyName","builtInKeyName","mappedKeyCode","keyCodes","bindObjectProps","asProp","isSync","isReservedAttribute","mustUseProp","camelizedKey","camelize","hyphenatedKey","renderStatic","isInFor","_staticTrees","tree","_renderProxy","markStatic$1","markOnce","isOnce","markStaticNode","bindObjectListeners","existing","ours","resolveScopedSlots","hasDynamicKeys","contentHashKey","$stable","$key","bindDynamicKeys","baseObj","prependModifier","symbol","installRenderHelpers","_o","_n","_q","_i","_m","_f","_k","_b","_u","_g","_d","_p","resolveSlots","slots","name_1","name_2","isWhitespace","isAsyncPlaceholder","normalizeScopedSlots","ownerVm","normalSlots","prevScopedSlots","hasNormalSlots","isStable","emptyObject","key_1","normalizeScopedSlot","key_2","proxyNormalSlot","initSetup","setup","_setupContext","createSetupContext","setupResult","_props","_setupState","__sfc","_setupProxy","_attrsProxy","syncSetupProxy","_listenersProxy","$listeners","initSlotsProxy","bind$1","expose","exposed","defineProxyAttr","_slotsProxy","syncSetupSlots","useSlots","getContext","useAttrs","useListeners","mergeDefaults","initRender","_vnode","parentVnode","renderContext","_renderChildren","parentData","_parentListeners","ensureCtor","createAsyncPlaceholder","resolveAsyncComponent","baseCtor","errorComp","owner","currentRenderingInstance","owners","loading","loadingComp","owners_1","sync_1","timerLoading_1","timerTimeout_1","forceRender_1","renderCompleted","$forceUpdate","reject_1","res_1","getFirstComponentChild","initEvents","_events","_hasHookEvent","updateComponentListeners","add$1","target$1","remove$1","createOnceHandler$1","_target","onceHandler","oldListeners","effectScope","detached","EffectScope","recordEffectScope","activeEffectScope","effects","getCurrentScope","onScopeDispose","cleanups","setActiveInstance","prevActiveInstance","activeInstance","initLifecycle","abstract","$children","$root","_provided","_watcher","_isMounted","_isDestroyed","mountComponent","hydrating","callHook$1","updateComponent","_update","_render","watcherOptions","preWatchers","_preWatchers","run","updateChildComponent","propsData","renderChildren","newScopedSlots","oldScopedSlots","hasDynamicScopedSlot","needsForceUpdate","prevVNode","prevListeners","propKeys","_propKeys","validateProp","isInInactiveTree","activateChildComponent","direct","deactivateChildComponent","setContext","prevInst","prevScope","handlers","info","resetSchedulerState","index$1","activatedChildren","waiting","flushing","flushSchedulerQueue","currentFlushTimestamp","getNow","sortCompareFn","activatedQueue","updatedQueue","callActivatedHooks","callUpdatedHooks","cleanupDeps","queueActivatedComponent","queueWatcher","noRecurse","watchEffect","doWatch","watchPostEffect","flush","watchSyncEffect","onTrack","onTrigger","forceTrigger","isMultiSource","WATCHER_GETTER","cleanup","WATCHER","onCleanup","baseGetter_1","onStop","WATCHER_CLEANUP","WATCHER_CB","INITIAL_WATCHER_VALUE","newValue","post","buffer","resolveProvided","parentProvides","treatDefaultAsFactory","provides","handleError","hooks","errorCaptured","globalHandleError","_handled","errorHandler","logError","flushCallbacks","copies","callbacks","_resolve","timerFunc","useCssModule","useCssVars","vars","nodeType","setProperty","defineAsyncComponent","loader","loadingComponent","errorComponent","userOnError","suspensible","pendingRequest","retries","retry","load","thisRequest","createLifeCycle","hookName","injectHook","mergeLifecycleHook","onErrorCaptured","injectErrorCapturedHook","defineComponent","_traverse","seenObjects","seen","isA","isFrozen","depId","sourceKey","sharedPropertyDefinition","initState","initProps$1","initMethods","initData","initComputed$1","nativeWatch","initWatch","propsOptions","getData","_computedWatchers","isSSR","userDef","computedWatcherOptions","defineComputed","shouldCache","createComputedGetter","createGetterInvoker","createWatcher","expOrFn","initProvide","provideOption","provided","Reflect","ownKeys","initInjections","resolveInject","provideKey","provideDefault","initInternalComponent","vnodeComponentOptions","_componentTag","resolveConstructorOptions","super","superOptions","modifiedOptions","resolveModifiedOptions","extendOptions","mergeOptions","modified","latest","sealed","sealedOptions","FunctionalRenderContext","contextVm","_original","isCompiled","_compiled","needNormalization","createFunctionalComponent","mergeProps","cloneAndMarkFunctionalResult","vnodes","getComponentName","__name","transformModel","nativeOn","installComponentHooks","createComponentInstanceForVnode","_isComponent","inlineTemplate","hooksToMerge","toMerge","componentVNodeHooks","_merged","mergeHook","f1","f2","callback","mergeData","recursive","toVal","fromVal","mergeDataOrFn","parentVal","childVal","instanceData","defaultData","dedupeHooks","mergeAssets","normalizeProps","normalizeInject","normalizeDirectives$1","dirs","mergeField","strat","defaultStrat","extends","mixins","warnMissing","assets","camelizedId","PascalCaseId","capitalize","absent","booleanIndex","getTypeIndex","stringIndex","getPropDefaultValue","prevShouldObserve","functionTypeCheckRE","isSameType","expectedTypes","initUse","installedPlugins","_installedPlugins","initMixin","initExtend","Super","SuperId","cachedCtors","_Ctor","Sub","initProps","initComputed","ASSET_TYPES","Comp","initAssetRegisters","definition","_getComponentName","pruneCache","keepAliveInstance","pruneCacheEntry","genClassForVnode","childNode","mergeClassData","renderClass","dynamicClass","stringifyClass","stringifyArray","stringifyObject","stringified","isSVG","isUnknownElement","unknownElementCache","HTMLUnknownElement","HTMLElement","multiple","createElementNS","namespaceMap","createComment","newNode","referenceNode","nextSibling","setTextContent","textContent","setStyleScope","registerRef","isRemoval","refValue","$refsValue","isFor","refInFor","_isString","_isRef","includes","setSetupRef","sameVnode","sameInputType","typeA","typeB","isTextInputType","createKeyToOldIdx","beginIdx","endIdx","updateDirectives","oldVnode","oldDir","dir","isCreate","emptyNode","isDestroy","oldDirs","normalizeDirectives","newDirs","dirsWithInsert","dirsWithPostpatch","oldArg","callHook","componentUpdated","callInsert","emptyModifiers","getRawDirName","setupDef","rawName","updateAttrs","inheritAttrs","oldAttrs","_v_attr_proxy","setAttr","isIE","isEdge","isXlink","removeAttributeNS","xlinkNS","getXlinkProp","isEnumeratedAttr","removeAttribute","isInPre","baseSetAttr","isBooleanAttr","isFalsyAttrValue","convertEnumeratedValue","setAttributeNS","isIE9","__ieph","blocker_1","stopImmediatePropagation","updateClass","oldData","cls","transitionClass","_transitionClasses","_prevClass","parseFilters","exp","pushFilter","filters","lastFilterIndex","inSingle","inDouble","inTemplateString","inRegex","curly","square","paren","validDivisionCharRE","wrapFilter","baseWarn","range","pluckModuleFunction","addProp","dynamic","rangeSetItem","plain","addAttr","dynamicAttrs","addRawAttr","attrsMap","attrsList","addDirective","isDynamicArg","prependModifierMarker","addHandler","important","right","middle","native","nativeEvents","newHandler","getRawBindingAttr","rawAttrsMap","getBindingAttr","getStatic","dynamicValue","getAndRemoveAttr","staticValue","removeFromMap","getAndRemoveAttrByRegex","attr","genComponentModel","valueExpression","assignment","genAssignmentCode","parseModel","lastIndexOf","expressionPos","expressionEndPos","eof","chr","isStringStart","parseString","parseBracket","inBracket","stringQuote","model$1","_warn","warn$1","genSelect","genCheckboxModel","genRadioModel","genDefaultModel","valueBinding","trueValueBinding","falseValueBinding","selectedVal","code","needCompositionGuard","RANGE_TOKEN","normalizeEvents","event_1","CHECKBOX_RADIO_TOKEN","change","useMicrotaskFix","attachedTimestamp_1","original_1","_wrapper","timeStamp","ownerDocument","updateDOMListeners","updateDOMProps","oldProps","_value","strCur","shouldUpdateValue","innerHTML","svgContainer","svg","checkVal","composing","isNotInFocusAndDirty","isDirtyWithModifiers","notInFocus","activeElement","_vModifiers","normalizeStyleData","normalizeStyleBinding","staticStyle","bindingStyle","parseStyleText","getStyle","checkChild","styleData","updateStyle","oldStaticStyle","oldStyleBinding","normalizedStyle","oldStyle","newStyle","setProp","whitespaceRE$1","tar","resolveTransition","autoCssTransition","nextFrame","raf","addTransitionClass","transitionClasses","removeTransitionClass","whenTransitionEnds","expectedType","getTransitionInfo","propCount","TRANSITION","transitionEndEvent","animationEndEvent","ended","onEnd","getComputedStyle","transitionDelays","transitionProp","transitionDurations","transitionTimeout","getTimeout","animationDelays","animationProp","animationDurations","animationTimeout","ANIMATION","hasTransform","transformRE","delays","durations","toMs","toggleDisplay","_leaveCb","_enterCb","enterClass","enterToClass","enterActiveClass","appearClass","appearToClass","appearActiveClass","afterEnter","enterCancelled","beforeAppear","appear","afterAppear","appearCancelled","transitionNode","isAppear","isRootInsert","startClass","toClass","beforeEnterHook","enterHook","afterEnterHook","enterCancelledHook","explicitEnterDuration","expectsCSS","userWantsControl","getHookArgumentsLength","show","pendingNode","_pending","isValidDuration","rm","performLeave","beforeLeave","leaveClass","leaveActiveClass","leaveToClass","explicitLeaveDuration","leaveCancelled","delayLeave","invokerFns","_enter","setSelected","actuallySetSelected","isMultiple","getValue","selectedIndex","hasNoMatchingOption","onCompositionStart","onCompositionEnd","trigger","createEvent","initEvent","dispatchEvent","locateNode","getRealChild","compOptions","extractTransitionData","placeholder","rawChild","hasParentTransition","isSameChild","oldChild","callPendingCbs","_moveCb","recordPosition","newPos","applyTranslation","oldPos","pos","dx","dy","moved","transform","WebkitTransform","transitionDuration","parseText","delimiters","tagRE","buildRegex","defaultTagRE","tokenValue","rawTokens","transformNode$1","classBinding","genData$2","transformNode","styleBinding","genData$1","decodeAttr","shouldDecodeNewlines","encodedAttrWithNewLines","encodedAttr","decodingMap","parseHTML","html","advance","parseStartTag","startTagOpen","startTagClose","dynamicArgAttribute","unarySlash","handleStartTag","expectHTML","lastTag","isNonPhrasingTag","parseEndTag","canBeLeftOpenTag","unary","isUnaryTag","shouldDecodeNewlinesForHref","lowerCasedTag","lowerCasedTagName","no","isPlainTextElement","endTagLength_1","stackedTag_1","reStackedTag","reCache","rest","endTag","shouldIgnoreFirstNewline","chars","textEnd","comment","commentEnd","shouldKeepComment","conditionalComment","conditionalEnd","doctypeMatch","doctype","endTagMatch","curIndex","startTagMatch","createASTElement","makeAttrsMap","template","closeElement","trimEndingWhitespace","inVPre","processed","processElement","if","elseif","else","addIfCondition","block","currentParent","forbidden","processIfConditions","slotScope","slotTarget","platformIsPreTag","inPre","postTransforms","lastNode","isPreTag","platformMustUseProp","platformGetTagNamespace","maybeComponent","transforms","preTransforms","preserveWhitespace","whitespaceOption","whitespace","comments","outputSourceRange","guardIESVGBug","isForbiddenTag","processPre","processRawAttrs","processFor","processIf","processOnce","isTextTag","decodeHTMLCached","lineBreakRE","whitespaceRE","processKey","processRef","processSlotContent","processSlotOutlet","processComponent","processAttrs","checkInFor","parseFor","inMatch","forAliasRE","stripParensRE","iteratorMatch","forIteratorRE","iterator1","iterator2","findPrevElement","condition","ifConditions","slotTargetDynamic","slotBinding","slotRE","getSlotName","emptySlotScopeToken","name_3","slotContainer_1","dynamicArgRE","slotName","syncGen","isDynamic","dirRE","hasBindings","parseModifiers","modifierRE","bindRE","camel","onRE","argMatch","argRE","ret_1","ieNSBug","ieNSPrefix","preTransformNode","typeBinding","ifCondition","ifConditionExtra","hasElse","elseIfCondition","branch0","cloneASTElement","branch1","branch2","optimize","isStaticKey","genStaticKeysCached","staticKeys","isPlatformReservedTag","markStatic","markStaticRoots","genStaticKeys","static","staticInFor","staticRoot","isBuiltInTag","isDirectChildOfTemplateFor","genHandlers","staticHandlers","dynamicHandlers","handlerCode","genHandler","isMethodPath","simplePathRE","isFunctionExpression","fnExpRE","isFunctionInvocation","fnInvokeRE","genModifierCode","modifierCode","modifiers_1","genGuard","keyModifier","genKeyFilter","genFilterCode","keyVal","keyCode","keyName","keyNames","wrapListeners","wrapData","ast","CodegenState","genElement","staticProcessed","genStatic","onceProcessed","genOnce","forProcessed","genFor","ifProcessed","genIf","genSlot","genComponent","genData","bindings","__isScriptSetup","checkBindingType","genChildren","camelName","PascalName","checkType","fromConst","fromMaybeRef","originalPreState","parent_1","onceId","altGen","altEmpty","genIfConditions","conditions","genTernaryExp","altHelper","genDirectives","dataGenFns","genProps","genScopedSlots","genInlineTemplate","needRuntime","hasRuntime","gen","inlineRenderFns","containsSlotChild","needsKey","parent_2","generatedSlots","genScopedSlot","isLegacySyntax","reverseProxy","checkSkip","altGenElement","altGenNode","el_1","normalizationType_1","getNormalizationType","gen_1","genNode","needsNormalization","genComment","genText","transformSpecialNewlines","staticProps","dynamicProps","createFunction","createCompileToFunctionFn","compiled","fnGenErrors","getShouldDecode","div","getOuterHTML","outerHTML","cloneNode","camelizeRE","hyphenateRE","SSR_ATTR","LIFECYCLE_HOOKS","productionTip","warnHandler","ignoredElements","isReservedAttr","async","_lifecycleHooks","unicodeRegExp","hasProto","UA","isIOS","isFF","_isServer","_Set","env","VUE_ENV","Set","SuppressedError","uid$2","pendingCleanupDeps","addSub","removeSub","addDep","arrayProto","arrayMethods","method","observeArray","arrayKeys","getOwnPropertyNames","mockDep","scopes","currentEffectScope","stop","fromParent","performance_1","isUsingMicroTask","p_1","MutationObserver","counter_1","observer","textNode_1","characterData","onBeforeMount","onMounted","onBeforeUpdate","onUpdated","onBeforeUnmount","onUnmounted","onActivated","onDeactivated","onServerPrefetch","onRenderTracked","onRenderTriggered","uid$1","isRenderWatcher","deps","newDeps","depIds","newDepIds","tmp","uid","mountedNode","$mount","insert","warn$2","dataDef","propsDef","$set","$delete","hookRE","i_1","prevEl","prevVnode","restoreActiveInstance","__patch__","__vue__","wrapper","prevRenderInst","patternTypes","KeepAlive","include","exclude","cacheVNode","vnodeToCache","keyToCache","builtInComponents","configDef","observable","ssrContext","emptyStyle","acceptValue","isValidContentEditableValue","math","isHTMLTag","nodeOps","directives$1","baseModules","klass$1","listDelimiter","propertyDelimiter","cssVarRE","importantRE","normalizedName","vendorNames","capName","style$1","hasTransition","ontransitionend","onwebkittransitionend","onanimationend","onwebkitanimationend","requestAnimationFrame","activate","platformModules","modules$1","patch","backend","emptyNodeAt","createRmCb","childElm","removeNode","createElm","insertedVnodeQueue","parentElm","refElm","nested","ownerArray","setScope","createChildren","invokeCreateHooks","isReactivated","initComponent","reactivateComponent","pendingInsert","isPatchable","innerNode","i_2","ancestor","addVnodes","startIdx","invokeDestroyHook","removeVnodes","ch","removeAndInvokeRemoveHook","i_3","updateChildren","oldCh","newCh","removeOnly","oldKeyToIdx","idxInOld","vnodeToMove","oldStartIdx","newStartIdx","oldEndIdx","oldStartVnode","oldEndVnode","newEndIdx","newStartVnode","newEndVnode","canMove","patchVnode","findIdxInOld","i_5","hydrate","postpatch","invokeInsertHook","i_6","hasChildNodes","childrenMatch","i_7","fullInvoke","isRenderedModule","isInitialPatch","isRealElement","oldElm","patchable","i_8","i_9","insert_1","i_10","vmodel","_vOptions","prevOptions_1","curOptions_1","originalDisplay","__vOriginalDisplay","display","platformDirectives","transitionProps","isNotTextNode","isVShowDirective","Transition","_leaving","oldRawChild","delayedLeave_1","moveClass","TransitionGroup","beforeMount","kept","prevChildren","rawChildren","transitionData","removed","hasMove","_reflow","body","offsetHeight","propertyName","_hasMove","platformComponents","decoder","regexEscapeRE","open","klass","he","ncname","qnameCapture","isIgnoreNewlineTag","baseOptions","esc","tab","space","up","down","prevent","ctrl","alt","baseDirectives","cloak","createCompiler","baseCompile","finalOptions","tips","tip","compileToFunctions","idToTemplate","mount","45","defaultSetTimout","defaultClearTimeout","runTimeout","fun","cachedSetTimeout","runClearTimeout","marker","cachedClearTimeout","cleanUpNextTick","draining","currentQueue","queueIndex","drainQueue","Item","process","browser","argv","versions","removeListener","removeAllListeners","prependListener","prependOnceListener","cwd","chdir","umask","9","97","objectOrFunction","setScheduler","scheduleFn","customSchedulerFn","setAsap","asapFn","asap","useVertxTimer","vertxNext","useSetTimeout","globalSetTimeout","onFulfillment","onRejection","_arguments","PROMISE_ID","makePromise","_state","invokeCallback","_result","Constructor","promise","selfFulfillment","cannotReturnOwn","getThen","GET_THEN_ERROR","tryThen","fulfillmentHandler","rejectionHandler","handleForeignThenable","thenable","fulfill","_reject","_label","handleOwnThenable","FULFILLED","REJECTED","handleMaybeThenable","maybeThenable","then$$","publishRejection","_onerror","publish","PENDING","subscribers","settled","detail","ErrorObject","tryCatch","TRY_CATCH_ERROR","hasCallback","succeeded","failed","initializePromise","resolver","nextId","Enumerator","_instanceConstructor","_input","_remaining","_enumerate","validationError","entries","race","needsResolver","needsNew","polyfill","P","promiseToString","cast","_isArray","scheduleFlush","browserWindow","browserGlobal","BrowserMutationObserver","WebKitMutationObserver","isNode","isWorker","Uint8ClampedArray","importScripts","MessageChannel","iterations","channel","port1","onmessage","port2","postMessage","vertx","runOnLoop","runOnContext","random","_eachEntry","resolve$$","_then","_settledAt","_willSettleAt","enumerator","_setScheduler","_setAsap","_asap","98","99","task","tasksByHandle","nextHandle","registerImmediate","handle","runIfPresent","currentlyRunningATask","doc","attachTo","postMessageIsAsynchronous","oldOnMessage","messagePrefix","onGlobalMessage","attachEvent","script","onreadystatechange"],"mappings":"AAAAA,cAAc,IAERC,IACA,SAAUC,EAAQC,EAAqBC,GAE7C,cAAa,SCLb,GAmBA,QAASC,GAAQC,EAAGC,GAClB,IAAK,GAAIC,KAAOD,GACdD,EAAEE,GAAOD,EAAEC,EAEb,OAAOF,GAgBT,QAASG,GAAQC,GACf,IACE,MAAOC,oBAAmBD,GAC1B,MAAOE,IAKT,MAAOF,GAGT,QAASG,GACPC,EACAC,EACAC,YAEKD,IAAwBA,KAE7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MAAMC,UAAY,SAAS7sF,GAE/BouF,EADapuF,EAAM5X,OAIvB8lG,EAAoB,SAASC,GACzBxB,EAAQG,MAAMC,YAAYoB,OA2CvBG,GAAO,sBAAwBA,GAAI9qD,cAAc,UAvC5D,WACI,GAAImkC,GAAO2mB,EAAI33F,eACfu3F,GAAoB,SAASC,GAGzB,GAAIU,GAASP,EAAI9qD,cAAc,SAC/BqrD,GAAOC,mBAAqB,WACxBV,EAAaD,GACbU,EAAOC,mBAAqB,KAC5BnnB,EAAK54D,YAAY8/E,GACjBA,EAAS,MAEblnB,EAAK78B,YAAY+jD,OAIzB,WACIX,EAAoB,SAASC,GACzBroE,WAAWsoE,EAAc,EAAGD,OA8BpCI,EAAS5/C,aAAeA,EACxB4/C,EAAS3/C,eAAiBA,IACZ,mBAATZ,eAA8B1/B,EAAyB1e,KAAO0e,EAAS0/B,Qb4svBnDl4C,KAAKgrB,EAASv+B,EAAoB,IAAKA,EAAoB,QAIrF","file":"vue.bundle.js","sourcesContent":["webpackJsonp([1],{\n\n/***/ 100:\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(Promise) {/* unused harmony export NavigationFailureType */\n/* unused harmony export RouterLink */\n/* unused harmony export RouterView */\n/* unused harmony export START_LOCATION */\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"a\", function() { return VueRouter$1; });\n/* unused harmony export isNavigationFailure */\n/* unused harmony export version */\n/*!\n * vue-router v3.6.5\n * (c) 2022 Evan You\n * @license MIT\n */\n/* */\n\nfunction assert (condition, message) {\n if (!condition) {\n throw new Error((\"[vue-router] \" + message))\n }\n}\n\nfunction warn (condition, message) {\n if (!condition) {\n typeof console !== 'undefined' && console.warn((\"[vue-router] \" + message));\n }\n}\n\nfunction extend (a, b) {\n for (var key in b) {\n a[key] = b[key];\n }\n return a\n}\n\n/* */\n\nvar encodeReserveRE = /[!'()*]/g;\nvar encodeReserveReplacer = function (c) { return '%' + c.charCodeAt(0).toString(16); };\nvar commaRE = /%2C/g;\n\n// fixed encodeURIComponent which is more conformant to RFC3986:\n// - escapes [!'()*]\n// - preserve commas\nvar encode = function (str) { return encodeURIComponent(str)\n .replace(encodeReserveRE, encodeReserveReplacer)\n .replace(commaRE, ','); };\n\nfunction decode (str) {\n try {\n return decodeURIComponent(str)\n } catch (err) {\n if (false) {\n warn(false, (\"Error decoding \\\"\" + str + \"\\\". Leaving it intact.\"));\n }\n }\n return str\n}\n\nfunction resolveQuery (\n query,\n extraQuery,\n _parseQuery\n) {\n if ( extraQuery === void 0 ) extraQuery = {};\n\n var parse = _parseQuery || parseQuery;\n var parsedQuery;\n try {\n parsedQuery = parse(query || '');\n } catch (e) {\n \"production\" !== 'production' && warn(false, e.message);\n parsedQuery = {};\n }\n for (var key in extraQuery) {\n var value = extraQuery[key];\n parsedQuery[key] = Array.isArray(value)\n ? value.map(castQueryParamValue)\n : castQueryParamValue(value);\n }\n return parsedQuery\n}\n\nvar castQueryParamValue = function (value) { return (value == null || typeof value === 'object' ? value : String(value)); };\n\nfunction parseQuery (query) {\n var res = {};\n\n query = query.trim().replace(/^(\\?|#|&)/, '');\n\n if (!query) {\n return res\n }\n\n query.split('&').forEach(function (param) {\n var parts = param.replace(/\\+/g, ' ').split('=');\n var key = decode(parts.shift());\n var val = parts.length > 0 ? decode(parts.join('=')) : null;\n\n if (res[key] === undefined) {\n res[key] = val;\n } else if (Array.isArray(res[key])) {\n res[key].push(val);\n } else {\n res[key] = [res[key], val];\n }\n });\n\n return res\n}\n\nfunction stringifyQuery (obj) {\n var res = obj\n ? Object.keys(obj)\n .map(function (key) {\n var val = obj[key];\n\n if (val === undefined) {\n return ''\n }\n\n if (val === null) {\n return encode(key)\n }\n\n if (Array.isArray(val)) {\n var result = [];\n val.forEach(function (val2) {\n if (val2 === undefined) {\n return\n }\n if (val2 === null) {\n result.push(encode(key));\n } else {\n result.push(encode(key) + '=' + encode(val2));\n }\n });\n return result.join('&')\n }\n\n return encode(key) + '=' + encode(val)\n })\n .filter(function (x) { return x.length > 0; })\n .join('&')\n : null;\n return res ? (\"?\" + res) : ''\n}\n\n/* */\n\nvar trailingSlashRE = /\\/?$/;\n\nfunction createRoute (\n record,\n location,\n redirectedFrom,\n router\n) {\n var stringifyQuery = router && router.options.stringifyQuery;\n\n var query = location.query || {};\n try {\n query = clone(query);\n } catch (e) {}\n\n var route = {\n name: location.name || (record && record.name),\n meta: (record && record.meta) || {},\n path: location.path || '/',\n hash: location.hash || '',\n query: query,\n params: location.params || {},\n fullPath: getFullPath(location, stringifyQuery),\n matched: record ? formatMatch(record) : []\n };\n if (redirectedFrom) {\n route.redirectedFrom = getFullPath(redirectedFrom, stringifyQuery);\n }\n return Object.freeze(route)\n}\n\nfunction clone (value) {\n if (Array.isArray(value)) {\n return value.map(clone)\n } else if (value && typeof value === 'object') {\n var res = {};\n for (var key in value) {\n res[key] = clone(value[key]);\n }\n return res\n } else {\n return value\n }\n}\n\n// the starting route that represents the initial state\nvar START = createRoute(null, {\n path: '/'\n});\n\nfunction formatMatch (record) {\n var res = [];\n while (record) {\n res.unshift(record);\n record = record.parent;\n }\n return res\n}\n\nfunction getFullPath (\n ref,\n _stringifyQuery\n) {\n var path = ref.path;\n var query = ref.query; if ( query === void 0 ) query = {};\n var hash = ref.hash; if ( hash === void 0 ) hash = '';\n\n var stringify = _stringifyQuery || stringifyQuery;\n return (path || '/') + stringify(query) + hash\n}\n\nfunction isSameRoute (a, b, onlyPath) {\n if (b === START) {\n return a === b\n } else if (!b) {\n return false\n } else if (a.path && b.path) {\n return a.path.replace(trailingSlashRE, '') === b.path.replace(trailingSlashRE, '') && (onlyPath ||\n a.hash === b.hash &&\n isObjectEqual(a.query, b.query))\n } else if (a.name && b.name) {\n return (\n a.name === b.name &&\n (onlyPath || (\n a.hash === b.hash &&\n isObjectEqual(a.query, b.query) &&\n isObjectEqual(a.params, b.params))\n )\n )\n } else {\n return false\n }\n}\n\nfunction isObjectEqual (a, b) {\n if ( a === void 0 ) a = {};\n if ( b === void 0 ) b = {};\n\n // handle null value #1566\n if (!a || !b) { return a === b }\n var aKeys = Object.keys(a).sort();\n var bKeys = Object.keys(b).sort();\n if (aKeys.length !== bKeys.length) {\n return false\n }\n return aKeys.every(function (key, i) {\n var aVal = a[key];\n var bKey = bKeys[i];\n if (bKey !== key) { return false }\n var bVal = b[key];\n // query values can be null and undefined\n if (aVal == null || bVal == null) { return aVal === bVal }\n // check nested equality\n if (typeof aVal === 'object' && typeof bVal === 'object') {\n return isObjectEqual(aVal, bVal)\n }\n return String(aVal) === String(bVal)\n })\n}\n\nfunction isIncludedRoute (current, target) {\n return (\n current.path.replace(trailingSlashRE, '/').indexOf(\n target.path.replace(trailingSlashRE, '/')\n ) === 0 &&\n (!target.hash || current.hash === target.hash) &&\n queryIncludes(current.query, target.query)\n )\n}\n\nfunction queryIncludes (current, target) {\n for (var key in target) {\n if (!(key in current)) {\n return false\n }\n }\n return true\n}\n\nfunction handleRouteEntered (route) {\n for (var i = 0; i < route.matched.length; i++) {\n var record = route.matched[i];\n for (var name in record.instances) {\n var instance = record.instances[name];\n var cbs = record.enteredCbs[name];\n if (!instance || !cbs) { continue }\n delete record.enteredCbs[name];\n for (var i$1 = 0; i$1 < cbs.length; i$1++) {\n if (!instance._isBeingDestroyed) { cbs[i$1](instance); }\n }\n }\n }\n}\n\nvar View = {\n name: 'RouterView',\n functional: true,\n props: {\n name: {\n type: String,\n default: 'default'\n }\n },\n render: function render (_, ref) {\n var props = ref.props;\n var children = ref.children;\n var parent = ref.parent;\n var data = ref.data;\n\n // used by devtools to display a router-view badge\n data.routerView = true;\n\n // directly use parent context's createElement() function\n // so that components rendered by router-view can resolve named slots\n var h = parent.$createElement;\n var name = props.name;\n var route = parent.$route;\n var cache = parent._routerViewCache || (parent._routerViewCache = {});\n\n // determine current view depth, also check to see if the tree\n // has been toggled inactive but kept-alive.\n var depth = 0;\n var inactive = false;\n while (parent && parent._routerRoot !== parent) {\n var vnodeData = parent.$vnode ? parent.$vnode.data : {};\n if (vnodeData.routerView) {\n depth++;\n }\n if (vnodeData.keepAlive && parent._directInactive && parent._inactive) {\n inactive = true;\n }\n parent = parent.$parent;\n }\n data.routerViewDepth = depth;\n\n // render previous view if the tree is inactive and kept-alive\n if (inactive) {\n var cachedData = cache[name];\n var cachedComponent = cachedData && cachedData.component;\n if (cachedComponent) {\n // #2301\n // pass props\n if (cachedData.configProps) {\n fillPropsinData(cachedComponent, data, cachedData.route, cachedData.configProps);\n }\n return h(cachedComponent, data, children)\n } else {\n // render previous empty view\n return h()\n }\n }\n\n var matched = route.matched[depth];\n var component = matched && matched.components[name];\n\n // render empty node if no matched route or no config component\n if (!matched || !component) {\n cache[name] = null;\n return h()\n }\n\n // cache component\n cache[name] = { component: component };\n\n // attach instance registration hook\n // this will be called in the instance's injected lifecycle hooks\n data.registerRouteInstance = function (vm, val) {\n // val could be undefined for unregistration\n var current = matched.instances[name];\n if (\n (val && current !== vm) ||\n (!val && current === vm)\n ) {\n matched.instances[name] = val;\n }\n }\n\n // also register instance in prepatch hook\n // in case the same component instance is reused across different routes\n ;(data.hook || (data.hook = {})).prepatch = function (_, vnode) {\n matched.instances[name] = vnode.componentInstance;\n };\n\n // register instance in init hook\n // in case kept-alive component be actived when routes changed\n data.hook.init = function (vnode) {\n if (vnode.data.keepAlive &&\n vnode.componentInstance &&\n vnode.componentInstance !== matched.instances[name]\n ) {\n matched.instances[name] = vnode.componentInstance;\n }\n\n // if the route transition has already been confirmed then we weren't\n // able to call the cbs during confirmation as the component was not\n // registered yet, so we call it here.\n handleRouteEntered(route);\n };\n\n var configProps = matched.props && matched.props[name];\n // save route and configProps in cache\n if (configProps) {\n extend(cache[name], {\n route: route,\n configProps: configProps\n });\n fillPropsinData(component, data, route, configProps);\n }\n\n return h(component, data, children)\n }\n};\n\nfunction fillPropsinData (component, data, route, configProps) {\n // resolve props\n var propsToPass = data.props = resolveProps(route, configProps);\n if (propsToPass) {\n // clone to prevent mutation\n propsToPass = data.props = extend({}, propsToPass);\n // pass non-declared props as attrs\n var attrs = data.attrs = data.attrs || {};\n for (var key in propsToPass) {\n if (!component.props || !(key in component.props)) {\n attrs[key] = propsToPass[key];\n delete propsToPass[key];\n }\n }\n }\n}\n\nfunction resolveProps (route, config) {\n switch (typeof config) {\n case 'undefined':\n return\n case 'object':\n return config\n case 'function':\n return config(route)\n case 'boolean':\n return config ? route.params : undefined\n default:\n if (false) {\n warn(\n false,\n \"props in \\\"\" + (route.path) + \"\\\" is a \" + (typeof config) + \", \" +\n \"expecting an object, function or boolean.\"\n );\n }\n }\n}\n\n/* */\n\nfunction resolvePath (\n relative,\n base,\n append\n) {\n var firstChar = relative.charAt(0);\n if (firstChar === '/') {\n return relative\n }\n\n if (firstChar === '?' || firstChar === '#') {\n return base + relative\n }\n\n var stack = base.split('/');\n\n // remove trailing segment if:\n // - not appending\n // - appending to trailing slash (last segment is empty)\n if (!append || !stack[stack.length - 1]) {\n stack.pop();\n }\n\n // resolve relative path\n var segments = relative.replace(/^\\//, '').split('/');\n for (var i = 0; i < segments.length; i++) {\n var segment = segments[i];\n if (segment === '..') {\n stack.pop();\n } else if (segment !== '.') {\n stack.push(segment);\n }\n }\n\n // ensure leading slash\n if (stack[0] !== '') {\n stack.unshift('');\n }\n\n return stack.join('/')\n}\n\nfunction parsePath (path) {\n var hash = '';\n var query = '';\n\n var hashIndex = path.indexOf('#');\n if (hashIndex >= 0) {\n hash = path.slice(hashIndex);\n path = path.slice(0, hashIndex);\n }\n\n var queryIndex = path.indexOf('?');\n if (queryIndex >= 0) {\n query = path.slice(queryIndex + 1);\n path = path.slice(0, queryIndex);\n }\n\n return {\n path: path,\n query: query,\n hash: hash\n }\n}\n\nfunction cleanPath (path) {\n return path.replace(/\\/(?:\\s*\\/)+/g, '/')\n}\n\nvar isarray = Array.isArray || function (arr) {\n return Object.prototype.toString.call(arr) == '[object Array]';\n};\n\n/**\n * Expose `pathToRegexp`.\n */\nvar pathToRegexp_1 = pathToRegexp;\nvar parse_1 = parse;\nvar compile_1 = compile;\nvar tokensToFunction_1 = tokensToFunction;\nvar tokensToRegExp_1 = tokensToRegExp;\n\n/**\n * The main path matching regexp utility.\n *\n * @type {RegExp}\n */\nvar PATH_REGEXP = new RegExp([\n // Match escaped characters that would otherwise appear in future matches.\n // This allows the user to escape special characters that won't transform.\n '(\\\\\\\\.)',\n // Match Express-style parameters and un-named parameters with a prefix\n // and optional suffixes. Matches appear as:\n //\n // \"/:test(\\\\d+)?\" => [\"/\", \"test\", \"\\d+\", undefined, \"?\", undefined]\n // \"/route(\\\\d+)\" => [undefined, undefined, undefined, \"\\d+\", undefined, undefined]\n // \"/*\" => [\"/\", undefined, undefined, undefined, undefined, \"*\"]\n '([\\\\/.])?(?:(?:\\\\:(\\\\w+)(?:\\\\(((?:\\\\\\\\.|[^\\\\\\\\()])+)\\\\))?|\\\\(((?:\\\\\\\\.|[^\\\\\\\\()])+)\\\\))([+*?])?|(\\\\*))'\n].join('|'), 'g');\n\n/**\n * Parse a string for the raw tokens.\n *\n * @param {string} str\n * @param {Object=} options\n * @return {!Array}\n */\nfunction parse (str, options) {\n var tokens = [];\n var key = 0;\n var index = 0;\n var path = '';\n var defaultDelimiter = options && options.delimiter || '/';\n var res;\n\n while ((res = PATH_REGEXP.exec(str)) != null) {\n var m = res[0];\n var escaped = res[1];\n var offset = res.index;\n path += str.slice(index, offset);\n index = offset + m.length;\n\n // Ignore already escaped sequences.\n if (escaped) {\n path += escaped[1];\n continue\n }\n\n var next = str[index];\n var prefix = res[2];\n var name = res[3];\n var capture = res[4];\n var group = res[5];\n var modifier = res[6];\n var asterisk = res[7];\n\n // Push the current path onto the tokens.\n if (path) {\n tokens.push(path);\n path = '';\n }\n\n var partial = prefix != null && next != null && next !== prefix;\n var repeat = modifier === '+' || modifier === '*';\n var optional = modifier === '?' || modifier === '*';\n var delimiter = res[2] || defaultDelimiter;\n var pattern = capture || group;\n\n tokens.push({\n name: name || key++,\n prefix: prefix || '',\n delimiter: delimiter,\n optional: optional,\n repeat: repeat,\n partial: partial,\n asterisk: !!asterisk,\n pattern: pattern ? escapeGroup(pattern) : (asterisk ? '.*' : '[^' + escapeString(delimiter) + ']+?')\n });\n }\n\n // Match any characters still remaining.\n if (index < str.length) {\n path += str.substr(index);\n }\n\n // If the path exists, push it onto the end.\n if (path) {\n tokens.push(path);\n }\n\n return tokens\n}\n\n/**\n * Compile a string to a template function for the path.\n *\n * @param {string} str\n * @param {Object=} options\n * @return {!function(Object=, Object=)}\n */\nfunction compile (str, options) {\n return tokensToFunction(parse(str, options), options)\n}\n\n/**\n * Prettier encoding of URI path segments.\n *\n * @param {string}\n * @return {string}\n */\nfunction encodeURIComponentPretty (str) {\n return encodeURI(str).replace(/[\\/?#]/g, function (c) {\n return '%' + c.charCodeAt(0).toString(16).toUpperCase()\n })\n}\n\n/**\n * Encode the asterisk parameter. Similar to `pretty`, but allows slashes.\n *\n * @param {string}\n * @return {string}\n */\nfunction encodeAsterisk (str) {\n return encodeURI(str).replace(/[?#]/g, function (c) {\n return '%' + c.charCodeAt(0).toString(16).toUpperCase()\n })\n}\n\n/**\n * Expose a method for transforming tokens into the path function.\n */\nfunction tokensToFunction (tokens, options) {\n // Compile all the tokens into regexps.\n var matches = new Array(tokens.length);\n\n // Compile all the patterns before compilation.\n for (var i = 0; i < tokens.length; i++) {\n if (typeof tokens[i] === 'object') {\n matches[i] = new RegExp('^(?:' + tokens[i].pattern + ')$', flags(options));\n }\n }\n\n return function (obj, opts) {\n var path = '';\n var data = obj || {};\n var options = opts || {};\n var encode = options.pretty ? encodeURIComponentPretty : encodeURIComponent;\n\n for (var i = 0; i < tokens.length; i++) {\n var token = tokens[i];\n\n if (typeof token === 'string') {\n path += token;\n\n continue\n }\n\n var value = data[token.name];\n var segment;\n\n if (value == null) {\n if (token.optional) {\n // Prepend partial segment prefixes.\n if (token.partial) {\n path += token.prefix;\n }\n\n continue\n } else {\n throw new TypeError('Expected \"' + token.name + '\" to be defined')\n }\n }\n\n if (isarray(value)) {\n if (!token.repeat) {\n throw new TypeError('Expected \"' + token.name + '\" to not repeat, but received `' + JSON.stringify(value) + '`')\n }\n\n if (value.length === 0) {\n if (token.optional) {\n continue\n } else {\n throw new TypeError('Expected \"' + token.name + '\" to not be empty')\n }\n }\n\n for (var j = 0; j < value.length; j++) {\n segment = encode(value[j]);\n\n if (!matches[i].test(segment)) {\n throw new TypeError('Expected all \"' + token.name + '\" to match \"' + token.pattern + '\", but received `' + JSON.stringify(segment) + '`')\n }\n\n path += (j === 0 ? token.prefix : token.delimiter) + segment;\n }\n\n continue\n }\n\n segment = token.asterisk ? encodeAsterisk(value) : encode(value);\n\n if (!matches[i].test(segment)) {\n throw new TypeError('Expected \"' + token.name + '\" to match \"' + token.pattern + '\", but received \"' + segment + '\"')\n }\n\n path += token.prefix + segment;\n }\n\n return path\n }\n}\n\n/**\n * Escape a regular expression string.\n *\n * @param {string} str\n * @return {string}\n */\nfunction escapeString (str) {\n return str.replace(/([.+*?=^!:${}()[\\]|\\/\\\\])/g, '\\\\$1')\n}\n\n/**\n * Escape the capturing group by escaping special characters and meaning.\n *\n * @param {string} group\n * @return {string}\n */\nfunction escapeGroup (group) {\n return group.replace(/([=!:$\\/()])/g, '\\\\$1')\n}\n\n/**\n * Attach the keys as a property of the regexp.\n *\n * @param {!RegExp} re\n * @param {Array} keys\n * @return {!RegExp}\n */\nfunction attachKeys (re, keys) {\n re.keys = keys;\n return re\n}\n\n/**\n * Get the flags for a regexp from the options.\n *\n * @param {Object} options\n * @return {string}\n */\nfunction flags (options) {\n return options && options.sensitive ? '' : 'i'\n}\n\n/**\n * Pull out keys from a regexp.\n *\n * @param {!RegExp} path\n * @param {!Array} keys\n * @return {!RegExp}\n */\nfunction regexpToRegexp (path, keys) {\n // Use a negative lookahead to match only capturing groups.\n var groups = path.source.match(/\\((?!\\?)/g);\n\n if (groups) {\n for (var i = 0; i < groups.length; i++) {\n keys.push({\n name: i,\n prefix: null,\n delimiter: null,\n optional: false,\n repeat: false,\n partial: false,\n asterisk: false,\n pattern: null\n });\n }\n }\n\n return attachKeys(path, keys)\n}\n\n/**\n * Transform an array into a regexp.\n *\n * @param {!Array} path\n * @param {Array} keys\n * @param {!Object} options\n * @return {!RegExp}\n */\nfunction arrayToRegexp (path, keys, options) {\n var parts = [];\n\n for (var i = 0; i < path.length; i++) {\n parts.push(pathToRegexp(path[i], keys, options).source);\n }\n\n var regexp = new RegExp('(?:' + parts.join('|') + ')', flags(options));\n\n return attachKeys(regexp, keys)\n}\n\n/**\n * Create a path regexp from string input.\n *\n * @param {string} path\n * @param {!Array} keys\n * @param {!Object} options\n * @return {!RegExp}\n */\nfunction stringToRegexp (path, keys, options) {\n return tokensToRegExp(parse(path, options), keys, options)\n}\n\n/**\n * Expose a function for taking tokens and returning a RegExp.\n *\n * @param {!Array} tokens\n * @param {(Array|Object)=} keys\n * @param {Object=} options\n * @return {!RegExp}\n */\nfunction tokensToRegExp (tokens, keys, options) {\n if (!isarray(keys)) {\n options = /** @type {!Object} */ (keys || options);\n keys = [];\n }\n\n options = options || {};\n\n var strict = options.strict;\n var end = options.end !== false;\n var route = '';\n\n // Iterate over the tokens and create our regexp string.\n for (var i = 0; i < tokens.length; i++) {\n var token = tokens[i];\n\n if (typeof token === 'string') {\n route += escapeString(token);\n } else {\n var prefix = escapeString(token.prefix);\n var capture = '(?:' + token.pattern + ')';\n\n keys.push(token);\n\n if (token.repeat) {\n capture += '(?:' + prefix + capture + ')*';\n }\n\n if (token.optional) {\n if (!token.partial) {\n capture = '(?:' + prefix + '(' + capture + '))?';\n } else {\n capture = prefix + '(' + capture + ')?';\n }\n } else {\n capture = prefix + '(' + capture + ')';\n }\n\n route += capture;\n }\n }\n\n var delimiter = escapeString(options.delimiter || '/');\n var endsWithDelimiter = route.slice(-delimiter.length) === delimiter;\n\n // In non-strict mode we allow a slash at the end of match. If the path to\n // match already ends with a slash, we remove it for consistency. The slash\n // is valid at the end of a path match, not in the middle. This is important\n // in non-ending mode, where \"/test/\" shouldn't match \"/test//route\".\n if (!strict) {\n route = (endsWithDelimiter ? route.slice(0, -delimiter.length) : route) + '(?:' + delimiter + '(?=$))?';\n }\n\n if (end) {\n route += '$';\n } else {\n // In non-ending mode, we need the capturing groups to match as much as\n // possible by using a positive lookahead to the end or next path segment.\n route += strict && endsWithDelimiter ? '' : '(?=' + delimiter + '|$)';\n }\n\n return attachKeys(new RegExp('^' + route, flags(options)), keys)\n}\n\n/**\n * Normalize the given path string, returning a regular expression.\n *\n * An empty array can be passed in for the keys, which will hold the\n * placeholder key descriptions. For example, using `/user/:id`, `keys` will\n * contain `[{ name: 'id', delimiter: '/', optional: false, repeat: false }]`.\n *\n * @param {(string|RegExp|Array)} path\n * @param {(Array|Object)=} keys\n * @param {Object=} options\n * @return {!RegExp}\n */\nfunction pathToRegexp (path, keys, options) {\n if (!isarray(keys)) {\n options = /** @type {!Object} */ (keys || options);\n keys = [];\n }\n\n options = options || {};\n\n if (path instanceof RegExp) {\n return regexpToRegexp(path, /** @type {!Array} */ (keys))\n }\n\n if (isarray(path)) {\n return arrayToRegexp(/** @type {!Array} */ (path), /** @type {!Array} */ (keys), options)\n }\n\n return stringToRegexp(/** @type {string} */ (path), /** @type {!Array} */ (keys), options)\n}\npathToRegexp_1.parse = parse_1;\npathToRegexp_1.compile = compile_1;\npathToRegexp_1.tokensToFunction = tokensToFunction_1;\npathToRegexp_1.tokensToRegExp = tokensToRegExp_1;\n\n/* */\n\n// $flow-disable-line\nvar regexpCompileCache = Object.create(null);\n\nfunction fillParams (\n path,\n params,\n routeMsg\n) {\n params = params || {};\n try {\n var filler =\n regexpCompileCache[path] ||\n (regexpCompileCache[path] = pathToRegexp_1.compile(path));\n\n // Fix #2505 resolving asterisk routes { name: 'not-found', params: { pathMatch: '/not-found' }}\n // and fix #3106 so that you can work with location descriptor object having params.pathMatch equal to empty string\n if (typeof params.pathMatch === 'string') { params[0] = params.pathMatch; }\n\n return filler(params, { pretty: true })\n } catch (e) {\n if (false) {\n // Fix #3072 no warn if `pathMatch` is string\n warn(typeof params.pathMatch === 'string', (\"missing param for \" + routeMsg + \": \" + (e.message)));\n }\n return ''\n } finally {\n // delete the 0 if it was added\n delete params[0];\n }\n}\n\n/* */\n\nfunction normalizeLocation (\n raw,\n current,\n append,\n router\n) {\n var next = typeof raw === 'string' ? { path: raw } : raw;\n // named target\n if (next._normalized) {\n return next\n } else if (next.name) {\n next = extend({}, raw);\n var params = next.params;\n if (params && typeof params === 'object') {\n next.params = extend({}, params);\n }\n return next\n }\n\n // relative params\n if (!next.path && next.params && current) {\n next = extend({}, next);\n next._normalized = true;\n var params$1 = extend(extend({}, current.params), next.params);\n if (current.name) {\n next.name = current.name;\n next.params = params$1;\n } else if (current.matched.length) {\n var rawPath = current.matched[current.matched.length - 1].path;\n next.path = fillParams(rawPath, params$1, (\"path \" + (current.path)));\n } else if (false) {\n warn(false, \"relative params navigation requires a current route.\");\n }\n return next\n }\n\n var parsedPath = parsePath(next.path || '');\n var basePath = (current && current.path) || '/';\n var path = parsedPath.path\n ? resolvePath(parsedPath.path, basePath, append || next.append)\n : basePath;\n\n var query = resolveQuery(\n parsedPath.query,\n next.query,\n router && router.options.parseQuery\n );\n\n var hash = next.hash || parsedPath.hash;\n if (hash && hash.charAt(0) !== '#') {\n hash = \"#\" + hash;\n }\n\n return {\n _normalized: true,\n path: path,\n query: query,\n hash: hash\n }\n}\n\n/* */\n\n// work around weird flow bug\nvar toTypes = [String, Object];\nvar eventTypes = [String, Array];\n\nvar noop = function () {};\n\nvar warnedCustomSlot;\nvar warnedTagProp;\nvar warnedEventProp;\n\nvar Link = {\n name: 'RouterLink',\n props: {\n to: {\n type: toTypes,\n required: true\n },\n tag: {\n type: String,\n default: 'a'\n },\n custom: Boolean,\n exact: Boolean,\n exactPath: Boolean,\n append: Boolean,\n replace: Boolean,\n activeClass: String,\n exactActiveClass: String,\n ariaCurrentValue: {\n type: String,\n default: 'page'\n },\n event: {\n type: eventTypes,\n default: 'click'\n }\n },\n render: function render (h) {\n var this$1$1 = this;\n\n var router = this.$router;\n var current = this.$route;\n var ref = router.resolve(\n this.to,\n current,\n this.append\n );\n var location = ref.location;\n var route = ref.route;\n var href = ref.href;\n\n var classes = {};\n var globalActiveClass = router.options.linkActiveClass;\n var globalExactActiveClass = router.options.linkExactActiveClass;\n // Support global empty active class\n var activeClassFallback =\n globalActiveClass == null ? 'router-link-active' : globalActiveClass;\n var exactActiveClassFallback =\n globalExactActiveClass == null\n ? 'router-link-exact-active'\n : globalExactActiveClass;\n var activeClass =\n this.activeClass == null ? activeClassFallback : this.activeClass;\n var exactActiveClass =\n this.exactActiveClass == null\n ? exactActiveClassFallback\n : this.exactActiveClass;\n\n var compareTarget = route.redirectedFrom\n ? createRoute(null, normalizeLocation(route.redirectedFrom), null, router)\n : route;\n\n classes[exactActiveClass] = isSameRoute(current, compareTarget, this.exactPath);\n classes[activeClass] = this.exact || this.exactPath\n ? classes[exactActiveClass]\n : isIncludedRoute(current, compareTarget);\n\n var ariaCurrentValue = classes[exactActiveClass] ? this.ariaCurrentValue : null;\n\n var handler = function (e) {\n if (guardEvent(e)) {\n if (this$1$1.replace) {\n router.replace(location, noop);\n } else {\n router.push(location, noop);\n }\n }\n };\n\n var on = { click: guardEvent };\n if (Array.isArray(this.event)) {\n this.event.forEach(function (e) {\n on[e] = handler;\n });\n } else {\n on[this.event] = handler;\n }\n\n var data = { class: classes };\n\n var scopedSlot =\n !this.$scopedSlots.$hasNormal &&\n this.$scopedSlots.default &&\n this.$scopedSlots.default({\n href: href,\n route: route,\n navigate: handler,\n isActive: classes[activeClass],\n isExactActive: classes[exactActiveClass]\n });\n\n if (scopedSlot) {\n if (false) {\n !warnedCustomSlot && warn(false, 'In Vue Router 4, the v-slot API will by default wrap its content with an element. Use the custom prop to remove this warning:\\n\\n');\n warnedCustomSlot = true;\n }\n if (scopedSlot.length === 1) {\n return scopedSlot[0]\n } else if (scopedSlot.length > 1 || !scopedSlot.length) {\n if (false) {\n warn(\n false,\n (\" with to=\\\"\" + (this.to) + \"\\\" is trying to use a scoped slot but it didn't provide exactly one child. Wrapping the content with a span element.\")\n );\n }\n return scopedSlot.length === 0 ? h() : h('span', {}, scopedSlot)\n }\n }\n\n if (false) {\n if ('tag' in this.$options.propsData && !warnedTagProp) {\n warn(\n false,\n \"'s tag prop is deprecated and has been removed in Vue Router 4. Use the v-slot API to remove this warning: https://next.router.vuejs.org/guide/migration/#removal-of-event-and-tag-props-in-router-link.\"\n );\n warnedTagProp = true;\n }\n if ('event' in this.$options.propsData && !warnedEventProp) {\n warn(\n false,\n \"'s event prop is deprecated and has been removed in Vue Router 4. Use the v-slot API to remove this warning: https://next.router.vuejs.org/guide/migration/#removal-of-event-and-tag-props-in-router-link.\"\n );\n warnedEventProp = true;\n }\n }\n\n if (this.tag === 'a') {\n data.on = on;\n data.attrs = { href: href, 'aria-current': ariaCurrentValue };\n } else {\n // find the first child and apply listener and href\n var a = findAnchor(this.$slots.default);\n if (a) {\n // in case the is a static node\n a.isStatic = false;\n var aData = (a.data = extend({}, a.data));\n aData.on = aData.on || {};\n // transform existing events in both objects into arrays so we can push later\n for (var event in aData.on) {\n var handler$1 = aData.on[event];\n if (event in on) {\n aData.on[event] = Array.isArray(handler$1) ? handler$1 : [handler$1];\n }\n }\n // append new listeners for router-link\n for (var event$1 in on) {\n if (event$1 in aData.on) {\n // on[event] is always a function\n aData.on[event$1].push(on[event$1]);\n } else {\n aData.on[event$1] = handler;\n }\n }\n\n var aAttrs = (a.data.attrs = extend({}, a.data.attrs));\n aAttrs.href = href;\n aAttrs['aria-current'] = ariaCurrentValue;\n } else {\n // doesn't have child, apply listener to self\n data.on = on;\n }\n }\n\n return h(this.tag, data, this.$slots.default)\n }\n};\n\nfunction guardEvent (e) {\n // don't redirect with control keys\n if (e.metaKey || e.altKey || e.ctrlKey || e.shiftKey) { return }\n // don't redirect when preventDefault called\n if (e.defaultPrevented) { return }\n // don't redirect on right click\n if (e.button !== undefined && e.button !== 0) { return }\n // don't redirect if `target=\"_blank\"`\n if (e.currentTarget && e.currentTarget.getAttribute) {\n var target = e.currentTarget.getAttribute('target');\n if (/\\b_blank\\b/i.test(target)) { return }\n }\n // this may be a Weex event which doesn't have this method\n if (e.preventDefault) {\n e.preventDefault();\n }\n return true\n}\n\nfunction findAnchor (children) {\n if (children) {\n var child;\n for (var i = 0; i < children.length; i++) {\n child = children[i];\n if (child.tag === 'a') {\n return child\n }\n if (child.children && (child = findAnchor(child.children))) {\n return child\n }\n }\n }\n}\n\nvar _Vue;\n\nfunction install (Vue) {\n if (install.installed && _Vue === Vue) { return }\n install.installed = true;\n\n _Vue = Vue;\n\n var isDef = function (v) { return v !== undefined; };\n\n var registerInstance = function (vm, callVal) {\n var i = vm.$options._parentVnode;\n if (isDef(i) && isDef(i = i.data) && isDef(i = i.registerRouteInstance)) {\n i(vm, callVal);\n }\n };\n\n Vue.mixin({\n beforeCreate: function beforeCreate () {\n if (isDef(this.$options.router)) {\n this._routerRoot = this;\n this._router = this.$options.router;\n this._router.init(this);\n Vue.util.defineReactive(this, '_route', this._router.history.current);\n } else {\n this._routerRoot = (this.$parent && this.$parent._routerRoot) || this;\n }\n registerInstance(this, this);\n },\n destroyed: function destroyed () {\n registerInstance(this);\n }\n });\n\n Object.defineProperty(Vue.prototype, '$router', {\n get: function get () { return this._routerRoot._router }\n });\n\n Object.defineProperty(Vue.prototype, '$route', {\n get: function get () { return this._routerRoot._route }\n });\n\n Vue.component('RouterView', View);\n Vue.component('RouterLink', Link);\n\n var strats = Vue.config.optionMergeStrategies;\n // use the same hook merging strategy for route hooks\n strats.beforeRouteEnter = strats.beforeRouteLeave = strats.beforeRouteUpdate = strats.created;\n}\n\n/* */\n\nvar inBrowser = typeof window !== 'undefined';\n\n/* */\n\nfunction createRouteMap (\n routes,\n oldPathList,\n oldPathMap,\n oldNameMap,\n parentRoute\n) {\n // the path list is used to control path matching priority\n var pathList = oldPathList || [];\n // $flow-disable-line\n var pathMap = oldPathMap || Object.create(null);\n // $flow-disable-line\n var nameMap = oldNameMap || Object.create(null);\n\n routes.forEach(function (route) {\n addRouteRecord(pathList, pathMap, nameMap, route, parentRoute);\n });\n\n // ensure wildcard routes are always at the end\n for (var i = 0, l = pathList.length; i < l; i++) {\n if (pathList[i] === '*') {\n pathList.push(pathList.splice(i, 1)[0]);\n l--;\n i--;\n }\n }\n\n if (false) {\n // warn if routes do not include leading slashes\n var found = pathList\n // check for missing leading slash\n .filter(function (path) { return path && path.charAt(0) !== '*' && path.charAt(0) !== '/'; });\n\n if (found.length > 0) {\n var pathNames = found.map(function (path) { return (\"- \" + path); }).join('\\n');\n warn(false, (\"Non-nested routes must include a leading slash character. Fix the following routes: \\n\" + pathNames));\n }\n }\n\n return {\n pathList: pathList,\n pathMap: pathMap,\n nameMap: nameMap\n }\n}\n\nfunction addRouteRecord (\n pathList,\n pathMap,\n nameMap,\n route,\n parent,\n matchAs\n) {\n var path = route.path;\n var name = route.name;\n if (false) {\n assert(path != null, \"\\\"path\\\" is required in a route configuration.\");\n assert(\n typeof route.component !== 'string',\n \"route config \\\"component\\\" for path: \" + (String(\n path || name\n )) + \" cannot be a \" + \"string id. Use an actual component instead.\"\n );\n\n warn(\n // eslint-disable-next-line no-control-regex\n !/[^\\u0000-\\u007F]+/.test(path),\n \"Route with path \\\"\" + path + \"\\\" contains unencoded characters, make sure \" +\n \"your path is correctly encoded before passing it to the router. Use \" +\n \"encodeURI to encode static segments of your path.\"\n );\n }\n\n var pathToRegexpOptions =\n route.pathToRegexpOptions || {};\n var normalizedPath = normalizePath(path, parent, pathToRegexpOptions.strict);\n\n if (typeof route.caseSensitive === 'boolean') {\n pathToRegexpOptions.sensitive = route.caseSensitive;\n }\n\n var record = {\n path: normalizedPath,\n regex: compileRouteRegex(normalizedPath, pathToRegexpOptions),\n components: route.components || { default: route.component },\n alias: route.alias\n ? typeof route.alias === 'string'\n ? [route.alias]\n : route.alias\n : [],\n instances: {},\n enteredCbs: {},\n name: name,\n parent: parent,\n matchAs: matchAs,\n redirect: route.redirect,\n beforeEnter: route.beforeEnter,\n meta: route.meta || {},\n props:\n route.props == null\n ? {}\n : route.components\n ? route.props\n : { default: route.props }\n };\n\n if (route.children) {\n // Warn if route is named, does not redirect and has a default child route.\n // If users navigate to this route by name, the default child will\n // not be rendered (GH Issue #629)\n if (false) {\n if (\n route.name &&\n !route.redirect &&\n route.children.some(function (child) { return /^\\/?$/.test(child.path); })\n ) {\n warn(\n false,\n \"Named Route '\" + (route.name) + \"' has a default child route. \" +\n \"When navigating to this named route (:to=\\\"{name: '\" + (route.name) + \"'}\\\"), \" +\n \"the default child route will not be rendered. Remove the name from \" +\n \"this route and use the name of the default child route for named \" +\n \"links instead.\"\n );\n }\n }\n route.children.forEach(function (child) {\n var childMatchAs = matchAs\n ? cleanPath((matchAs + \"/\" + (child.path)))\n : undefined;\n addRouteRecord(pathList, pathMap, nameMap, child, record, childMatchAs);\n });\n }\n\n if (!pathMap[record.path]) {\n pathList.push(record.path);\n pathMap[record.path] = record;\n }\n\n if (route.alias !== undefined) {\n var aliases = Array.isArray(route.alias) ? route.alias : [route.alias];\n for (var i = 0; i < aliases.length; ++i) {\n var alias = aliases[i];\n if (false) {\n warn(\n false,\n (\"Found an alias with the same value as the path: \\\"\" + path + \"\\\". You have to remove that alias. It will be ignored in development.\")\n );\n // skip in dev to make it work\n continue\n }\n\n var aliasRoute = {\n path: alias,\n children: route.children\n };\n addRouteRecord(\n pathList,\n pathMap,\n nameMap,\n aliasRoute,\n parent,\n record.path || '/' // matchAs\n );\n }\n }\n\n if (name) {\n if (!nameMap[name]) {\n nameMap[name] = record;\n } else if (false) {\n warn(\n false,\n \"Duplicate named routes definition: \" +\n \"{ name: \\\"\" + name + \"\\\", path: \\\"\" + (record.path) + \"\\\" }\"\n );\n }\n }\n}\n\nfunction compileRouteRegex (\n path,\n pathToRegexpOptions\n) {\n var regex = pathToRegexp_1(path, [], pathToRegexpOptions);\n if (false) {\n var keys = Object.create(null);\n regex.keys.forEach(function (key) {\n warn(\n !keys[key.name],\n (\"Duplicate param keys in route with path: \\\"\" + path + \"\\\"\")\n );\n keys[key.name] = true;\n });\n }\n return regex\n}\n\nfunction normalizePath (\n path,\n parent,\n strict\n) {\n if (!strict) { path = path.replace(/\\/$/, ''); }\n if (path[0] === '/') { return path }\n if (parent == null) { return path }\n return cleanPath(((parent.path) + \"/\" + path))\n}\n\n/* */\n\n\n\nfunction createMatcher (\n routes,\n router\n) {\n var ref = createRouteMap(routes);\n var pathList = ref.pathList;\n var pathMap = ref.pathMap;\n var nameMap = ref.nameMap;\n\n function addRoutes (routes) {\n createRouteMap(routes, pathList, pathMap, nameMap);\n }\n\n function addRoute (parentOrRoute, route) {\n var parent = (typeof parentOrRoute !== 'object') ? nameMap[parentOrRoute] : undefined;\n // $flow-disable-line\n createRouteMap([route || parentOrRoute], pathList, pathMap, nameMap, parent);\n\n // add aliases of parent\n if (parent && parent.alias.length) {\n createRouteMap(\n // $flow-disable-line route is defined if parent is\n parent.alias.map(function (alias) { return ({ path: alias, children: [route] }); }),\n pathList,\n pathMap,\n nameMap,\n parent\n );\n }\n }\n\n function getRoutes () {\n return pathList.map(function (path) { return pathMap[path]; })\n }\n\n function match (\n raw,\n currentRoute,\n redirectedFrom\n ) {\n var location = normalizeLocation(raw, currentRoute, false, router);\n var name = location.name;\n\n if (name) {\n var record = nameMap[name];\n if (false) {\n warn(record, (\"Route with name '\" + name + \"' does not exist\"));\n }\n if (!record) { return _createRoute(null, location) }\n var paramNames = record.regex.keys\n .filter(function (key) { return !key.optional; })\n .map(function (key) { return key.name; });\n\n if (typeof location.params !== 'object') {\n location.params = {};\n }\n\n if (currentRoute && typeof currentRoute.params === 'object') {\n for (var key in currentRoute.params) {\n if (!(key in location.params) && paramNames.indexOf(key) > -1) {\n location.params[key] = currentRoute.params[key];\n }\n }\n }\n\n location.path = fillParams(record.path, location.params, (\"named route \\\"\" + name + \"\\\"\"));\n return _createRoute(record, location, redirectedFrom)\n } else if (location.path) {\n location.params = {};\n for (var i = 0; i < pathList.length; i++) {\n var path = pathList[i];\n var record$1 = pathMap[path];\n if (matchRoute(record$1.regex, location.path, location.params)) {\n return _createRoute(record$1, location, redirectedFrom)\n }\n }\n }\n // no match\n return _createRoute(null, location)\n }\n\n function redirect (\n record,\n location\n ) {\n var originalRedirect = record.redirect;\n var redirect = typeof originalRedirect === 'function'\n ? originalRedirect(createRoute(record, location, null, router))\n : originalRedirect;\n\n if (typeof redirect === 'string') {\n redirect = { path: redirect };\n }\n\n if (!redirect || typeof redirect !== 'object') {\n if (false) {\n warn(\n false, (\"invalid redirect option: \" + (JSON.stringify(redirect)))\n );\n }\n return _createRoute(null, location)\n }\n\n var re = redirect;\n var name = re.name;\n var path = re.path;\n var query = location.query;\n var hash = location.hash;\n var params = location.params;\n query = re.hasOwnProperty('query') ? re.query : query;\n hash = re.hasOwnProperty('hash') ? re.hash : hash;\n params = re.hasOwnProperty('params') ? re.params : params;\n\n if (name) {\n // resolved named direct\n var targetRecord = nameMap[name];\n if (false) {\n assert(targetRecord, (\"redirect failed: named route \\\"\" + name + \"\\\" not found.\"));\n }\n return match({\n _normalized: true,\n name: name,\n query: query,\n hash: hash,\n params: params\n }, undefined, location)\n } else if (path) {\n // 1. resolve relative redirect\n var rawPath = resolveRecordPath(path, record);\n // 2. resolve params\n var resolvedPath = fillParams(rawPath, params, (\"redirect route with path \\\"\" + rawPath + \"\\\"\"));\n // 3. rematch with existing query and hash\n return match({\n _normalized: true,\n path: resolvedPath,\n query: query,\n hash: hash\n }, undefined, location)\n } else {\n if (false) {\n warn(false, (\"invalid redirect option: \" + (JSON.stringify(redirect))));\n }\n return _createRoute(null, location)\n }\n }\n\n function alias (\n record,\n location,\n matchAs\n ) {\n var aliasedPath = fillParams(matchAs, location.params, (\"aliased route with path \\\"\" + matchAs + \"\\\"\"));\n var aliasedMatch = match({\n _normalized: true,\n path: aliasedPath\n });\n if (aliasedMatch) {\n var matched = aliasedMatch.matched;\n var aliasedRecord = matched[matched.length - 1];\n location.params = aliasedMatch.params;\n return _createRoute(aliasedRecord, location)\n }\n return _createRoute(null, location)\n }\n\n function _createRoute (\n record,\n location,\n redirectedFrom\n ) {\n if (record && record.redirect) {\n return redirect(record, redirectedFrom || location)\n }\n if (record && record.matchAs) {\n return alias(record, location, record.matchAs)\n }\n return createRoute(record, location, redirectedFrom, router)\n }\n\n return {\n match: match,\n addRoute: addRoute,\n getRoutes: getRoutes,\n addRoutes: addRoutes\n }\n}\n\nfunction matchRoute (\n regex,\n path,\n params\n) {\n var m = path.match(regex);\n\n if (!m) {\n return false\n } else if (!params) {\n return true\n }\n\n for (var i = 1, len = m.length; i < len; ++i) {\n var key = regex.keys[i - 1];\n if (key) {\n // Fix #1994: using * with props: true generates a param named 0\n params[key.name || 'pathMatch'] = typeof m[i] === 'string' ? decode(m[i]) : m[i];\n }\n }\n\n return true\n}\n\nfunction resolveRecordPath (path, record) {\n return resolvePath(path, record.parent ? record.parent.path : '/', true)\n}\n\n/* */\n\n// use User Timing api (if present) for more accurate key precision\nvar Time =\n inBrowser && window.performance && window.performance.now\n ? window.performance\n : Date;\n\nfunction genStateKey () {\n return Time.now().toFixed(3)\n}\n\nvar _key = genStateKey();\n\nfunction getStateKey () {\n return _key\n}\n\nfunction setStateKey (key) {\n return (_key = key)\n}\n\n/* */\n\nvar positionStore = Object.create(null);\n\nfunction setupScroll () {\n // Prevent browser scroll behavior on History popstate\n if ('scrollRestoration' in window.history) {\n window.history.scrollRestoration = 'manual';\n }\n // Fix for #1585 for Firefox\n // Fix for #2195 Add optional third attribute to workaround a bug in safari https://bugs.webkit.org/show_bug.cgi?id=182678\n // Fix for #2774 Support for apps loaded from Windows file shares not mapped to network drives: replaced location.origin with\n // window.location.protocol + '//' + window.location.host\n // location.host contains the port and location.hostname doesn't\n var protocolAndPath = window.location.protocol + '//' + window.location.host;\n var absolutePath = window.location.href.replace(protocolAndPath, '');\n // preserve existing history state as it could be overriden by the user\n var stateCopy = extend({}, window.history.state);\n stateCopy.key = getStateKey();\n window.history.replaceState(stateCopy, '', absolutePath);\n window.addEventListener('popstate', handlePopState);\n return function () {\n window.removeEventListener('popstate', handlePopState);\n }\n}\n\nfunction handleScroll (\n router,\n to,\n from,\n isPop\n) {\n if (!router.app) {\n return\n }\n\n var behavior = router.options.scrollBehavior;\n if (!behavior) {\n return\n }\n\n if (false) {\n assert(typeof behavior === 'function', \"scrollBehavior must be a function\");\n }\n\n // wait until re-render finishes before scrolling\n router.app.$nextTick(function () {\n var position = getScrollPosition();\n var shouldScroll = behavior.call(\n router,\n to,\n from,\n isPop ? position : null\n );\n\n if (!shouldScroll) {\n return\n }\n\n if (typeof shouldScroll.then === 'function') {\n shouldScroll\n .then(function (shouldScroll) {\n scrollToPosition((shouldScroll), position);\n })\n .catch(function (err) {\n if (false) {\n assert(false, err.toString());\n }\n });\n } else {\n scrollToPosition(shouldScroll, position);\n }\n });\n}\n\nfunction saveScrollPosition () {\n var key = getStateKey();\n if (key) {\n positionStore[key] = {\n x: window.pageXOffset,\n y: window.pageYOffset\n };\n }\n}\n\nfunction handlePopState (e) {\n saveScrollPosition();\n if (e.state && e.state.key) {\n setStateKey(e.state.key);\n }\n}\n\nfunction getScrollPosition () {\n var key = getStateKey();\n if (key) {\n return positionStore[key]\n }\n}\n\nfunction getElementPosition (el, offset) {\n var docEl = document.documentElement;\n var docRect = docEl.getBoundingClientRect();\n var elRect = el.getBoundingClientRect();\n return {\n x: elRect.left - docRect.left - offset.x,\n y: elRect.top - docRect.top - offset.y\n }\n}\n\nfunction isValidPosition (obj) {\n return isNumber(obj.x) || isNumber(obj.y)\n}\n\nfunction normalizePosition (obj) {\n return {\n x: isNumber(obj.x) ? obj.x : window.pageXOffset,\n y: isNumber(obj.y) ? obj.y : window.pageYOffset\n }\n}\n\nfunction normalizeOffset (obj) {\n return {\n x: isNumber(obj.x) ? obj.x : 0,\n y: isNumber(obj.y) ? obj.y : 0\n }\n}\n\nfunction isNumber (v) {\n return typeof v === 'number'\n}\n\nvar hashStartsWithNumberRE = /^#\\d/;\n\nfunction scrollToPosition (shouldScroll, position) {\n var isObject = typeof shouldScroll === 'object';\n if (isObject && typeof shouldScroll.selector === 'string') {\n // getElementById would still fail if the selector contains a more complicated query like #main[data-attr]\n // but at the same time, it doesn't make much sense to select an element with an id and an extra selector\n var el = hashStartsWithNumberRE.test(shouldScroll.selector) // $flow-disable-line\n ? document.getElementById(shouldScroll.selector.slice(1)) // $flow-disable-line\n : document.querySelector(shouldScroll.selector);\n\n if (el) {\n var offset =\n shouldScroll.offset && typeof shouldScroll.offset === 'object'\n ? shouldScroll.offset\n : {};\n offset = normalizeOffset(offset);\n position = getElementPosition(el, offset);\n } else if (isValidPosition(shouldScroll)) {\n position = normalizePosition(shouldScroll);\n }\n } else if (isObject && isValidPosition(shouldScroll)) {\n position = normalizePosition(shouldScroll);\n }\n\n if (position) {\n // $flow-disable-line\n if ('scrollBehavior' in document.documentElement.style) {\n window.scrollTo({\n left: position.x,\n top: position.y,\n // $flow-disable-line\n behavior: shouldScroll.behavior\n });\n } else {\n window.scrollTo(position.x, position.y);\n }\n }\n}\n\n/* */\n\nvar supportsPushState =\n inBrowser &&\n (function () {\n var ua = window.navigator.userAgent;\n\n if (\n (ua.indexOf('Android 2.') !== -1 || ua.indexOf('Android 4.0') !== -1) &&\n ua.indexOf('Mobile Safari') !== -1 &&\n ua.indexOf('Chrome') === -1 &&\n ua.indexOf('Windows Phone') === -1\n ) {\n return false\n }\n\n return window.history && typeof window.history.pushState === 'function'\n })();\n\nfunction pushState (url, replace) {\n saveScrollPosition();\n // try...catch the pushState call to get around Safari\n // DOM Exception 18 where it limits to 100 pushState calls\n var history = window.history;\n try {\n if (replace) {\n // preserve existing history state as it could be overriden by the user\n var stateCopy = extend({}, history.state);\n stateCopy.key = getStateKey();\n history.replaceState(stateCopy, '', url);\n } else {\n history.pushState({ key: setStateKey(genStateKey()) }, '', url);\n }\n } catch (e) {\n window.location[replace ? 'replace' : 'assign'](url);\n }\n}\n\nfunction replaceState (url) {\n pushState(url, true);\n}\n\n// When changing thing, also edit router.d.ts\nvar NavigationFailureType = {\n redirected: 2,\n aborted: 4,\n cancelled: 8,\n duplicated: 16\n};\n\nfunction createNavigationRedirectedError (from, to) {\n return createRouterError(\n from,\n to,\n NavigationFailureType.redirected,\n (\"Redirected when going from \\\"\" + (from.fullPath) + \"\\\" to \\\"\" + (stringifyRoute(\n to\n )) + \"\\\" via a navigation guard.\")\n )\n}\n\nfunction createNavigationDuplicatedError (from, to) {\n var error = createRouterError(\n from,\n to,\n NavigationFailureType.duplicated,\n (\"Avoided redundant navigation to current location: \\\"\" + (from.fullPath) + \"\\\".\")\n );\n // backwards compatible with the first introduction of Errors\n error.name = 'NavigationDuplicated';\n return error\n}\n\nfunction createNavigationCancelledError (from, to) {\n return createRouterError(\n from,\n to,\n NavigationFailureType.cancelled,\n (\"Navigation cancelled from \\\"\" + (from.fullPath) + \"\\\" to \\\"\" + (to.fullPath) + \"\\\" with a new navigation.\")\n )\n}\n\nfunction createNavigationAbortedError (from, to) {\n return createRouterError(\n from,\n to,\n NavigationFailureType.aborted,\n (\"Navigation aborted from \\\"\" + (from.fullPath) + \"\\\" to \\\"\" + (to.fullPath) + \"\\\" via a navigation guard.\")\n )\n}\n\nfunction createRouterError (from, to, type, message) {\n var error = new Error(message);\n error._isRouter = true;\n error.from = from;\n error.to = to;\n error.type = type;\n\n return error\n}\n\nvar propertiesToLog = ['params', 'query', 'hash'];\n\nfunction stringifyRoute (to) {\n if (typeof to === 'string') { return to }\n if ('path' in to) { return to.path }\n var location = {};\n propertiesToLog.forEach(function (key) {\n if (key in to) { location[key] = to[key]; }\n });\n return JSON.stringify(location, null, 2)\n}\n\nfunction isError (err) {\n return Object.prototype.toString.call(err).indexOf('Error') > -1\n}\n\nfunction isNavigationFailure (err, errorType) {\n return (\n isError(err) &&\n err._isRouter &&\n (errorType == null || err.type === errorType)\n )\n}\n\n/* */\n\nfunction runQueue (queue, fn, cb) {\n var step = function (index) {\n if (index >= queue.length) {\n cb();\n } else {\n if (queue[index]) {\n fn(queue[index], function () {\n step(index + 1);\n });\n } else {\n step(index + 1);\n }\n }\n };\n step(0);\n}\n\n/* */\n\nfunction resolveAsyncComponents (matched) {\n return function (to, from, next) {\n var hasAsync = false;\n var pending = 0;\n var error = null;\n\n flatMapComponents(matched, function (def, _, match, key) {\n // if it's a function and doesn't have cid attached,\n // assume it's an async component resolve function.\n // we are not using Vue's default async resolving mechanism because\n // we want to halt the navigation until the incoming component has been\n // resolved.\n if (typeof def === 'function' && def.cid === undefined) {\n hasAsync = true;\n pending++;\n\n var resolve = once(function (resolvedDef) {\n if (isESModule(resolvedDef)) {\n resolvedDef = resolvedDef.default;\n }\n // save resolved on async factory in case it's used elsewhere\n def.resolved = typeof resolvedDef === 'function'\n ? resolvedDef\n : _Vue.extend(resolvedDef);\n match.components[key] = resolvedDef;\n pending--;\n if (pending <= 0) {\n next();\n }\n });\n\n var reject = once(function (reason) {\n var msg = \"Failed to resolve async component \" + key + \": \" + reason;\n \"production\" !== 'production' && warn(false, msg);\n if (!error) {\n error = isError(reason)\n ? reason\n : new Error(msg);\n next(error);\n }\n });\n\n var res;\n try {\n res = def(resolve, reject);\n } catch (e) {\n reject(e);\n }\n if (res) {\n if (typeof res.then === 'function') {\n res.then(resolve, reject);\n } else {\n // new syntax in Vue 2.3\n var comp = res.component;\n if (comp && typeof comp.then === 'function') {\n comp.then(resolve, reject);\n }\n }\n }\n }\n });\n\n if (!hasAsync) { next(); }\n }\n}\n\nfunction flatMapComponents (\n matched,\n fn\n) {\n return flatten(matched.map(function (m) {\n return Object.keys(m.components).map(function (key) { return fn(\n m.components[key],\n m.instances[key],\n m, key\n ); })\n }))\n}\n\nfunction flatten (arr) {\n return Array.prototype.concat.apply([], arr)\n}\n\nvar hasSymbol =\n typeof Symbol === 'function' &&\n typeof Symbol.toStringTag === 'symbol';\n\nfunction isESModule (obj) {\n return obj.__esModule || (hasSymbol && obj[Symbol.toStringTag] === 'Module')\n}\n\n// in Webpack 2, require.ensure now also returns a Promise\n// so the resolve/reject functions may get called an extra time\n// if the user uses an arrow function shorthand that happens to\n// return that Promise.\nfunction once (fn) {\n var called = false;\n return function () {\n var args = [], len = arguments.length;\n while ( len-- ) args[ len ] = arguments[ len ];\n\n if (called) { return }\n called = true;\n return fn.apply(this, args)\n }\n}\n\n/* */\n\nvar History = function History (router, base) {\n this.router = router;\n this.base = normalizeBase(base);\n // start with a route object that stands for \"nowhere\"\n this.current = START;\n this.pending = null;\n this.ready = false;\n this.readyCbs = [];\n this.readyErrorCbs = [];\n this.errorCbs = [];\n this.listeners = [];\n};\n\nHistory.prototype.listen = function listen (cb) {\n this.cb = cb;\n};\n\nHistory.prototype.onReady = function onReady (cb, errorCb) {\n if (this.ready) {\n cb();\n } else {\n this.readyCbs.push(cb);\n if (errorCb) {\n this.readyErrorCbs.push(errorCb);\n }\n }\n};\n\nHistory.prototype.onError = function onError (errorCb) {\n this.errorCbs.push(errorCb);\n};\n\nHistory.prototype.transitionTo = function transitionTo (\n location,\n onComplete,\n onAbort\n) {\n var this$1$1 = this;\n\n var route;\n // catch redirect option https://github.com/vuejs/vue-router/issues/3201\n try {\n route = this.router.match(location, this.current);\n } catch (e) {\n this.errorCbs.forEach(function (cb) {\n cb(e);\n });\n // Exception should still be thrown\n throw e\n }\n var prev = this.current;\n this.confirmTransition(\n route,\n function () {\n this$1$1.updateRoute(route);\n onComplete && onComplete(route);\n this$1$1.ensureURL();\n this$1$1.router.afterHooks.forEach(function (hook) {\n hook && hook(route, prev);\n });\n\n // fire ready cbs once\n if (!this$1$1.ready) {\n this$1$1.ready = true;\n this$1$1.readyCbs.forEach(function (cb) {\n cb(route);\n });\n }\n },\n function (err) {\n if (onAbort) {\n onAbort(err);\n }\n if (err && !this$1$1.ready) {\n // Initial redirection should not mark the history as ready yet\n // because it's triggered by the redirection instead\n // https://github.com/vuejs/vue-router/issues/3225\n // https://github.com/vuejs/vue-router/issues/3331\n if (!isNavigationFailure(err, NavigationFailureType.redirected) || prev !== START) {\n this$1$1.ready = true;\n this$1$1.readyErrorCbs.forEach(function (cb) {\n cb(err);\n });\n }\n }\n }\n );\n};\n\nHistory.prototype.confirmTransition = function confirmTransition (route, onComplete, onAbort) {\n var this$1$1 = this;\n\n var current = this.current;\n this.pending = route;\n var abort = function (err) {\n // changed after adding errors with\n // https://github.com/vuejs/vue-router/pull/3047 before that change,\n // redirect and aborted navigation would produce an err == null\n if (!isNavigationFailure(err) && isError(err)) {\n if (this$1$1.errorCbs.length) {\n this$1$1.errorCbs.forEach(function (cb) {\n cb(err);\n });\n } else {\n if (false) {\n warn(false, 'uncaught error during route navigation:');\n }\n console.error(err);\n }\n }\n onAbort && onAbort(err);\n };\n var lastRouteIndex = route.matched.length - 1;\n var lastCurrentIndex = current.matched.length - 1;\n if (\n isSameRoute(route, current) &&\n // in the case the route map has been dynamically appended to\n lastRouteIndex === lastCurrentIndex &&\n route.matched[lastRouteIndex] === current.matched[lastCurrentIndex]\n ) {\n this.ensureURL();\n if (route.hash) {\n handleScroll(this.router, current, route, false);\n }\n return abort(createNavigationDuplicatedError(current, route))\n }\n\n var ref = resolveQueue(\n this.current.matched,\n route.matched\n );\n var updated = ref.updated;\n var deactivated = ref.deactivated;\n var activated = ref.activated;\n\n var queue = [].concat(\n // in-component leave guards\n extractLeaveGuards(deactivated),\n // global before hooks\n this.router.beforeHooks,\n // in-component update hooks\n extractUpdateHooks(updated),\n // in-config enter guards\n activated.map(function (m) { return m.beforeEnter; }),\n // async components\n resolveAsyncComponents(activated)\n );\n\n var iterator = function (hook, next) {\n if (this$1$1.pending !== route) {\n return abort(createNavigationCancelledError(current, route))\n }\n try {\n hook(route, current, function (to) {\n if (to === false) {\n // next(false) -> abort navigation, ensure current URL\n this$1$1.ensureURL(true);\n abort(createNavigationAbortedError(current, route));\n } else if (isError(to)) {\n this$1$1.ensureURL(true);\n abort(to);\n } else if (\n typeof to === 'string' ||\n (typeof to === 'object' &&\n (typeof to.path === 'string' || typeof to.name === 'string'))\n ) {\n // next('/') or next({ path: '/' }) -> redirect\n abort(createNavigationRedirectedError(current, route));\n if (typeof to === 'object' && to.replace) {\n this$1$1.replace(to);\n } else {\n this$1$1.push(to);\n }\n } else {\n // confirm transition and pass on the value\n next(to);\n }\n });\n } catch (e) {\n abort(e);\n }\n };\n\n runQueue(queue, iterator, function () {\n // wait until async components are resolved before\n // extracting in-component enter guards\n var enterGuards = extractEnterGuards(activated);\n var queue = enterGuards.concat(this$1$1.router.resolveHooks);\n runQueue(queue, iterator, function () {\n if (this$1$1.pending !== route) {\n return abort(createNavigationCancelledError(current, route))\n }\n this$1$1.pending = null;\n onComplete(route);\n if (this$1$1.router.app) {\n this$1$1.router.app.$nextTick(function () {\n handleRouteEntered(route);\n });\n }\n });\n });\n};\n\nHistory.prototype.updateRoute = function updateRoute (route) {\n this.current = route;\n this.cb && this.cb(route);\n};\n\nHistory.prototype.setupListeners = function setupListeners () {\n // Default implementation is empty\n};\n\nHistory.prototype.teardown = function teardown () {\n // clean up event listeners\n // https://github.com/vuejs/vue-router/issues/2341\n this.listeners.forEach(function (cleanupListener) {\n cleanupListener();\n });\n this.listeners = [];\n\n // reset current history route\n // https://github.com/vuejs/vue-router/issues/3294\n this.current = START;\n this.pending = null;\n};\n\nfunction normalizeBase (base) {\n if (!base) {\n if (inBrowser) {\n // respect tag\n var baseEl = document.querySelector('base');\n base = (baseEl && baseEl.getAttribute('href')) || '/';\n // strip full URL origin\n base = base.replace(/^https?:\\/\\/[^\\/]+/, '');\n } else {\n base = '/';\n }\n }\n // make sure there's the starting slash\n if (base.charAt(0) !== '/') {\n base = '/' + base;\n }\n // remove trailing slash\n return base.replace(/\\/$/, '')\n}\n\nfunction resolveQueue (\n current,\n next\n) {\n var i;\n var max = Math.max(current.length, next.length);\n for (i = 0; i < max; i++) {\n if (current[i] !== next[i]) {\n break\n }\n }\n return {\n updated: next.slice(0, i),\n activated: next.slice(i),\n deactivated: current.slice(i)\n }\n}\n\nfunction extractGuards (\n records,\n name,\n bind,\n reverse\n) {\n var guards = flatMapComponents(records, function (def, instance, match, key) {\n var guard = extractGuard(def, name);\n if (guard) {\n return Array.isArray(guard)\n ? guard.map(function (guard) { return bind(guard, instance, match, key); })\n : bind(guard, instance, match, key)\n }\n });\n return flatten(reverse ? guards.reverse() : guards)\n}\n\nfunction extractGuard (\n def,\n key\n) {\n if (typeof def !== 'function') {\n // extend now so that global mixins are applied.\n def = _Vue.extend(def);\n }\n return def.options[key]\n}\n\nfunction extractLeaveGuards (deactivated) {\n return extractGuards(deactivated, 'beforeRouteLeave', bindGuard, true)\n}\n\nfunction extractUpdateHooks (updated) {\n return extractGuards(updated, 'beforeRouteUpdate', bindGuard)\n}\n\nfunction bindGuard (guard, instance) {\n if (instance) {\n return function boundRouteGuard () {\n return guard.apply(instance, arguments)\n }\n }\n}\n\nfunction extractEnterGuards (\n activated\n) {\n return extractGuards(\n activated,\n 'beforeRouteEnter',\n function (guard, _, match, key) {\n return bindEnterGuard(guard, match, key)\n }\n )\n}\n\nfunction bindEnterGuard (\n guard,\n match,\n key\n) {\n return function routeEnterGuard (to, from, next) {\n return guard(to, from, function (cb) {\n if (typeof cb === 'function') {\n if (!match.enteredCbs[key]) {\n match.enteredCbs[key] = [];\n }\n match.enteredCbs[key].push(cb);\n }\n next(cb);\n })\n }\n}\n\n/* */\n\nvar HTML5History = /*@__PURE__*/(function (History) {\n function HTML5History (router, base) {\n History.call(this, router, base);\n\n this._startLocation = getLocation(this.base);\n }\n\n if ( History ) HTML5History.__proto__ = History;\n HTML5History.prototype = Object.create( History && History.prototype );\n HTML5History.prototype.constructor = HTML5History;\n\n HTML5History.prototype.setupListeners = function setupListeners () {\n var this$1$1 = this;\n\n if (this.listeners.length > 0) {\n return\n }\n\n var router = this.router;\n var expectScroll = router.options.scrollBehavior;\n var supportsScroll = supportsPushState && expectScroll;\n\n if (supportsScroll) {\n this.listeners.push(setupScroll());\n }\n\n var handleRoutingEvent = function () {\n var current = this$1$1.current;\n\n // Avoiding first `popstate` event dispatched in some browsers but first\n // history route not updated since async guard at the same time.\n var location = getLocation(this$1$1.base);\n if (this$1$1.current === START && location === this$1$1._startLocation) {\n return\n }\n\n this$1$1.transitionTo(location, function (route) {\n if (supportsScroll) {\n handleScroll(router, route, current, true);\n }\n });\n };\n window.addEventListener('popstate', handleRoutingEvent);\n this.listeners.push(function () {\n window.removeEventListener('popstate', handleRoutingEvent);\n });\n };\n\n HTML5History.prototype.go = function go (n) {\n window.history.go(n);\n };\n\n HTML5History.prototype.push = function push (location, onComplete, onAbort) {\n var this$1$1 = this;\n\n var ref = this;\n var fromRoute = ref.current;\n this.transitionTo(location, function (route) {\n pushState(cleanPath(this$1$1.base + route.fullPath));\n handleScroll(this$1$1.router, route, fromRoute, false);\n onComplete && onComplete(route);\n }, onAbort);\n };\n\n HTML5History.prototype.replace = function replace (location, onComplete, onAbort) {\n var this$1$1 = this;\n\n var ref = this;\n var fromRoute = ref.current;\n this.transitionTo(location, function (route) {\n replaceState(cleanPath(this$1$1.base + route.fullPath));\n handleScroll(this$1$1.router, route, fromRoute, false);\n onComplete && onComplete(route);\n }, onAbort);\n };\n\n HTML5History.prototype.ensureURL = function ensureURL (push) {\n if (getLocation(this.base) !== this.current.fullPath) {\n var current = cleanPath(this.base + this.current.fullPath);\n push ? pushState(current) : replaceState(current);\n }\n };\n\n HTML5History.prototype.getCurrentLocation = function getCurrentLocation () {\n return getLocation(this.base)\n };\n\n return HTML5History;\n}(History));\n\nfunction getLocation (base) {\n var path = window.location.pathname;\n var pathLowerCase = path.toLowerCase();\n var baseLowerCase = base.toLowerCase();\n // base=\"/a\" shouldn't turn path=\"/app\" into \"/a/pp\"\n // https://github.com/vuejs/vue-router/issues/3555\n // so we ensure the trailing slash in the base\n if (base && ((pathLowerCase === baseLowerCase) ||\n (pathLowerCase.indexOf(cleanPath(baseLowerCase + '/')) === 0))) {\n path = path.slice(base.length);\n }\n return (path || '/') + window.location.search + window.location.hash\n}\n\n/* */\n\nvar HashHistory = /*@__PURE__*/(function (History) {\n function HashHistory (router, base, fallback) {\n History.call(this, router, base);\n // check history fallback deeplinking\n if (fallback && checkFallback(this.base)) {\n return\n }\n ensureSlash();\n }\n\n if ( History ) HashHistory.__proto__ = History;\n HashHistory.prototype = Object.create( History && History.prototype );\n HashHistory.prototype.constructor = HashHistory;\n\n // this is delayed until the app mounts\n // to avoid the hashchange listener being fired too early\n HashHistory.prototype.setupListeners = function setupListeners () {\n var this$1$1 = this;\n\n if (this.listeners.length > 0) {\n return\n }\n\n var router = this.router;\n var expectScroll = router.options.scrollBehavior;\n var supportsScroll = supportsPushState && expectScroll;\n\n if (supportsScroll) {\n this.listeners.push(setupScroll());\n }\n\n var handleRoutingEvent = function () {\n var current = this$1$1.current;\n if (!ensureSlash()) {\n return\n }\n this$1$1.transitionTo(getHash(), function (route) {\n if (supportsScroll) {\n handleScroll(this$1$1.router, route, current, true);\n }\n if (!supportsPushState) {\n replaceHash(route.fullPath);\n }\n });\n };\n var eventType = supportsPushState ? 'popstate' : 'hashchange';\n window.addEventListener(\n eventType,\n handleRoutingEvent\n );\n this.listeners.push(function () {\n window.removeEventListener(eventType, handleRoutingEvent);\n });\n };\n\n HashHistory.prototype.push = function push (location, onComplete, onAbort) {\n var this$1$1 = this;\n\n var ref = this;\n var fromRoute = ref.current;\n this.transitionTo(\n location,\n function (route) {\n pushHash(route.fullPath);\n handleScroll(this$1$1.router, route, fromRoute, false);\n onComplete && onComplete(route);\n },\n onAbort\n );\n };\n\n HashHistory.prototype.replace = function replace (location, onComplete, onAbort) {\n var this$1$1 = this;\n\n var ref = this;\n var fromRoute = ref.current;\n this.transitionTo(\n location,\n function (route) {\n replaceHash(route.fullPath);\n handleScroll(this$1$1.router, route, fromRoute, false);\n onComplete && onComplete(route);\n },\n onAbort\n );\n };\n\n HashHistory.prototype.go = function go (n) {\n window.history.go(n);\n };\n\n HashHistory.prototype.ensureURL = function ensureURL (push) {\n var current = this.current.fullPath;\n if (getHash() !== current) {\n push ? pushHash(current) : replaceHash(current);\n }\n };\n\n HashHistory.prototype.getCurrentLocation = function getCurrentLocation () {\n return getHash()\n };\n\n return HashHistory;\n}(History));\n\nfunction checkFallback (base) {\n var location = getLocation(base);\n if (!/^\\/#/.test(location)) {\n window.location.replace(cleanPath(base + '/#' + location));\n return true\n }\n}\n\nfunction ensureSlash () {\n var path = getHash();\n if (path.charAt(0) === '/') {\n return true\n }\n replaceHash('/' + path);\n return false\n}\n\nfunction getHash () {\n // We can't use window.location.hash here because it's not\n // consistent across browsers - Firefox will pre-decode it!\n var href = window.location.href;\n var index = href.indexOf('#');\n // empty path\n if (index < 0) { return '' }\n\n href = href.slice(index + 1);\n\n return href\n}\n\nfunction getUrl (path) {\n var href = window.location.href;\n var i = href.indexOf('#');\n var base = i >= 0 ? href.slice(0, i) : href;\n return (base + \"#\" + path)\n}\n\nfunction pushHash (path) {\n if (supportsPushState) {\n pushState(getUrl(path));\n } else {\n window.location.hash = path;\n }\n}\n\nfunction replaceHash (path) {\n if (supportsPushState) {\n replaceState(getUrl(path));\n } else {\n window.location.replace(getUrl(path));\n }\n}\n\n/* */\n\nvar AbstractHistory = /*@__PURE__*/(function (History) {\n function AbstractHistory (router, base) {\n History.call(this, router, base);\n this.stack = [];\n this.index = -1;\n }\n\n if ( History ) AbstractHistory.__proto__ = History;\n AbstractHistory.prototype = Object.create( History && History.prototype );\n AbstractHistory.prototype.constructor = AbstractHistory;\n\n AbstractHistory.prototype.push = function push (location, onComplete, onAbort) {\n var this$1$1 = this;\n\n this.transitionTo(\n location,\n function (route) {\n this$1$1.stack = this$1$1.stack.slice(0, this$1$1.index + 1).concat(route);\n this$1$1.index++;\n onComplete && onComplete(route);\n },\n onAbort\n );\n };\n\n AbstractHistory.prototype.replace = function replace (location, onComplete, onAbort) {\n var this$1$1 = this;\n\n this.transitionTo(\n location,\n function (route) {\n this$1$1.stack = this$1$1.stack.slice(0, this$1$1.index).concat(route);\n onComplete && onComplete(route);\n },\n onAbort\n );\n };\n\n AbstractHistory.prototype.go = function go (n) {\n var this$1$1 = this;\n\n var targetIndex = this.index + n;\n if (targetIndex < 0 || targetIndex >= this.stack.length) {\n return\n }\n var route = this.stack[targetIndex];\n this.confirmTransition(\n route,\n function () {\n var prev = this$1$1.current;\n this$1$1.index = targetIndex;\n this$1$1.updateRoute(route);\n this$1$1.router.afterHooks.forEach(function (hook) {\n hook && hook(route, prev);\n });\n },\n function (err) {\n if (isNavigationFailure(err, NavigationFailureType.duplicated)) {\n this$1$1.index = targetIndex;\n }\n }\n );\n };\n\n AbstractHistory.prototype.getCurrentLocation = function getCurrentLocation () {\n var current = this.stack[this.stack.length - 1];\n return current ? current.fullPath : '/'\n };\n\n AbstractHistory.prototype.ensureURL = function ensureURL () {\n // noop\n };\n\n return AbstractHistory;\n}(History));\n\n/* */\n\n\n\nvar VueRouter = function VueRouter (options) {\n if ( options === void 0 ) options = {};\n\n if (false) {\n warn(this instanceof VueRouter, \"Router must be called with the new operator.\");\n }\n this.app = null;\n this.apps = [];\n this.options = options;\n this.beforeHooks = [];\n this.resolveHooks = [];\n this.afterHooks = [];\n this.matcher = createMatcher(options.routes || [], this);\n\n var mode = options.mode || 'hash';\n this.fallback =\n mode === 'history' && !supportsPushState && options.fallback !== false;\n if (this.fallback) {\n mode = 'hash';\n }\n if (!inBrowser) {\n mode = 'abstract';\n }\n this.mode = mode;\n\n switch (mode) {\n case 'history':\n this.history = new HTML5History(this, options.base);\n break\n case 'hash':\n this.history = new HashHistory(this, options.base, this.fallback);\n break\n case 'abstract':\n this.history = new AbstractHistory(this, options.base);\n break\n default:\n if (false) {\n assert(false, (\"invalid mode: \" + mode));\n }\n }\n};\n\nvar prototypeAccessors = { currentRoute: { configurable: true } };\n\nVueRouter.prototype.match = function match (raw, current, redirectedFrom) {\n return this.matcher.match(raw, current, redirectedFrom)\n};\n\nprototypeAccessors.currentRoute.get = function () {\n return this.history && this.history.current\n};\n\nVueRouter.prototype.init = function init (app /* Vue component instance */) {\n var this$1$1 = this;\n\n \"production\" !== 'production' &&\n assert(\n install.installed,\n \"not installed. Make sure to call `Vue.use(VueRouter)` \" +\n \"before creating root instance.\"\n );\n\n this.apps.push(app);\n\n // set up app destroyed handler\n // https://github.com/vuejs/vue-router/issues/2639\n app.$once('hook:destroyed', function () {\n // clean out app from this.apps array once destroyed\n var index = this$1$1.apps.indexOf(app);\n if (index > -1) { this$1$1.apps.splice(index, 1); }\n // ensure we still have a main app or null if no apps\n // we do not release the router so it can be reused\n if (this$1$1.app === app) { this$1$1.app = this$1$1.apps[0] || null; }\n\n if (!this$1$1.app) { this$1$1.history.teardown(); }\n });\n\n // main app previously initialized\n // return as we don't need to set up new history listener\n if (this.app) {\n return\n }\n\n this.app = app;\n\n var history = this.history;\n\n if (history instanceof HTML5History || history instanceof HashHistory) {\n var handleInitialScroll = function (routeOrError) {\n var from = history.current;\n var expectScroll = this$1$1.options.scrollBehavior;\n var supportsScroll = supportsPushState && expectScroll;\n\n if (supportsScroll && 'fullPath' in routeOrError) {\n handleScroll(this$1$1, routeOrError, from, false);\n }\n };\n var setupListeners = function (routeOrError) {\n history.setupListeners();\n handleInitialScroll(routeOrError);\n };\n history.transitionTo(\n history.getCurrentLocation(),\n setupListeners,\n setupListeners\n );\n }\n\n history.listen(function (route) {\n this$1$1.apps.forEach(function (app) {\n app._route = route;\n });\n });\n};\n\nVueRouter.prototype.beforeEach = function beforeEach (fn) {\n return registerHook(this.beforeHooks, fn)\n};\n\nVueRouter.prototype.beforeResolve = function beforeResolve (fn) {\n return registerHook(this.resolveHooks, fn)\n};\n\nVueRouter.prototype.afterEach = function afterEach (fn) {\n return registerHook(this.afterHooks, fn)\n};\n\nVueRouter.prototype.onReady = function onReady (cb, errorCb) {\n this.history.onReady(cb, errorCb);\n};\n\nVueRouter.prototype.onError = function onError (errorCb) {\n this.history.onError(errorCb);\n};\n\nVueRouter.prototype.push = function push (location, onComplete, onAbort) {\n var this$1$1 = this;\n\n // $flow-disable-line\n if (!onComplete && !onAbort && typeof Promise !== 'undefined') {\n return new Promise(function (resolve, reject) {\n this$1$1.history.push(location, resolve, reject);\n })\n } else {\n this.history.push(location, onComplete, onAbort);\n }\n};\n\nVueRouter.prototype.replace = function replace (location, onComplete, onAbort) {\n var this$1$1 = this;\n\n // $flow-disable-line\n if (!onComplete && !onAbort && typeof Promise !== 'undefined') {\n return new Promise(function (resolve, reject) {\n this$1$1.history.replace(location, resolve, reject);\n })\n } else {\n this.history.replace(location, onComplete, onAbort);\n }\n};\n\nVueRouter.prototype.go = function go (n) {\n this.history.go(n);\n};\n\nVueRouter.prototype.back = function back () {\n this.go(-1);\n};\n\nVueRouter.prototype.forward = function forward () {\n this.go(1);\n};\n\nVueRouter.prototype.getMatchedComponents = function getMatchedComponents (to) {\n var route = to\n ? to.matched\n ? to\n : this.resolve(to).route\n : this.currentRoute;\n if (!route) {\n return []\n }\n return [].concat.apply(\n [],\n route.matched.map(function (m) {\n return Object.keys(m.components).map(function (key) {\n return m.components[key]\n })\n })\n )\n};\n\nVueRouter.prototype.resolve = function resolve (\n to,\n current,\n append\n) {\n current = current || this.history.current;\n var location = normalizeLocation(to, current, append, this);\n var route = this.match(location, current);\n var fullPath = route.redirectedFrom || route.fullPath;\n var base = this.history.base;\n var href = createHref(base, fullPath, this.mode);\n return {\n location: location,\n route: route,\n href: href,\n // for backwards compat\n normalizedTo: location,\n resolved: route\n }\n};\n\nVueRouter.prototype.getRoutes = function getRoutes () {\n return this.matcher.getRoutes()\n};\n\nVueRouter.prototype.addRoute = function addRoute (parentOrRoute, route) {\n this.matcher.addRoute(parentOrRoute, route);\n if (this.history.current !== START) {\n this.history.transitionTo(this.history.getCurrentLocation());\n }\n};\n\nVueRouter.prototype.addRoutes = function addRoutes (routes) {\n if (false) {\n warn(false, 'router.addRoutes() is deprecated and has been removed in Vue Router 4. Use router.addRoute() instead.');\n }\n this.matcher.addRoutes(routes);\n if (this.history.current !== START) {\n this.history.transitionTo(this.history.getCurrentLocation());\n }\n};\n\nObject.defineProperties( VueRouter.prototype, prototypeAccessors );\n\nvar VueRouter$1 = VueRouter;\n\nfunction registerHook (list, fn) {\n list.push(fn);\n return function () {\n var i = list.indexOf(fn);\n if (i > -1) { list.splice(i, 1); }\n }\n}\n\nfunction createHref (base, fullPath, mode) {\n var path = mode === 'hash' ? '#' + fullPath : fullPath;\n return base ? cleanPath(base + '/' + path) : path\n}\n\n// We cannot remove this as it would be a breaking change\nVueRouter.install = install;\nVueRouter.version = '3.6.5';\nVueRouter.isNavigationFailure = isNavigationFailure;\nVueRouter.NavigationFailureType = NavigationFailureType;\nVueRouter.START_LOCATION = START;\n\nif (inBrowser && window.Vue) {\n window.Vue.use(VueRouter);\n}\n\nvar version = '3.6.5';\n\n\n\n/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(15)))\n\n/***/ }),\n\n/***/ 101:\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(global, Promise) {/* unused harmony export Store */\n/* unused harmony export createLogger */\n/* unused harmony export createNamespacedHelpers */\n/* unused harmony export install */\n/* unused harmony export mapActions */\n/* unused harmony export mapGetters */\n/* unused harmony export mapMutations */\n/* unused harmony export mapState */\n/*!\n * vuex v3.6.2\n * (c) 2021 Evan You\n * @license MIT\n */\nfunction applyMixin (Vue) {\n var version = Number(Vue.version.split('.')[0]);\n\n if (version >= 2) {\n Vue.mixin({ beforeCreate: vuexInit });\n } else {\n // override init and inject vuex init procedure\n // for 1.x backwards compatibility.\n var _init = Vue.prototype._init;\n Vue.prototype._init = function (options) {\n if ( options === void 0 ) options = {};\n\n options.init = options.init\n ? [vuexInit].concat(options.init)\n : vuexInit;\n _init.call(this, options);\n };\n }\n\n /**\n * Vuex init hook, injected into each instances init hooks list.\n */\n\n function vuexInit () {\n var options = this.$options;\n // store injection\n if (options.store) {\n this.$store = typeof options.store === 'function'\n ? options.store()\n : options.store;\n } else if (options.parent && options.parent.$store) {\n this.$store = options.parent.$store;\n }\n }\n}\n\nvar target = typeof window !== 'undefined'\n ? window\n : typeof global !== 'undefined'\n ? global\n : {};\nvar devtoolHook = target.__VUE_DEVTOOLS_GLOBAL_HOOK__;\n\nfunction devtoolPlugin (store) {\n if (!devtoolHook) { return }\n\n store._devtoolHook = devtoolHook;\n\n devtoolHook.emit('vuex:init', store);\n\n devtoolHook.on('vuex:travel-to-state', function (targetState) {\n store.replaceState(targetState);\n });\n\n store.subscribe(function (mutation, state) {\n devtoolHook.emit('vuex:mutation', mutation, state);\n }, { prepend: true });\n\n store.subscribeAction(function (action, state) {\n devtoolHook.emit('vuex:action', action, state);\n }, { prepend: true });\n}\n\n/**\n * Get the first item that pass the test\n * by second argument function\n *\n * @param {Array} list\n * @param {Function} f\n * @return {*}\n */\nfunction find (list, f) {\n return list.filter(f)[0]\n}\n\n/**\n * Deep copy the given object considering circular structure.\n * This function caches all nested objects and its copies.\n * If it detects circular structure, use cached copy to avoid infinite loop.\n *\n * @param {*} obj\n * @param {Array} cache\n * @return {*}\n */\nfunction deepCopy (obj, cache) {\n if ( cache === void 0 ) cache = [];\n\n // just return if obj is immutable value\n if (obj === null || typeof obj !== 'object') {\n return obj\n }\n\n // if obj is hit, it is in circular structure\n var hit = find(cache, function (c) { return c.original === obj; });\n if (hit) {\n return hit.copy\n }\n\n var copy = Array.isArray(obj) ? [] : {};\n // put the copy into cache at first\n // because we want to refer it in recursive deepCopy\n cache.push({\n original: obj,\n copy: copy\n });\n\n Object.keys(obj).forEach(function (key) {\n copy[key] = deepCopy(obj[key], cache);\n });\n\n return copy\n}\n\n/**\n * forEach for object\n */\nfunction forEachValue (obj, fn) {\n Object.keys(obj).forEach(function (key) { return fn(obj[key], key); });\n}\n\nfunction isObject (obj) {\n return obj !== null && typeof obj === 'object'\n}\n\nfunction isPromise (val) {\n return val && typeof val.then === 'function'\n}\n\nfunction assert (condition, msg) {\n if (!condition) { throw new Error((\"[vuex] \" + msg)) }\n}\n\nfunction partial (fn, arg) {\n return function () {\n return fn(arg)\n }\n}\n\n// Base data struct for store's module, package with some attribute and method\nvar Module = function Module (rawModule, runtime) {\n this.runtime = runtime;\n // Store some children item\n this._children = Object.create(null);\n // Store the origin module object which passed by programmer\n this._rawModule = rawModule;\n var rawState = rawModule.state;\n\n // Store the origin module's state\n this.state = (typeof rawState === 'function' ? rawState() : rawState) || {};\n};\n\nvar prototypeAccessors = { namespaced: { configurable: true } };\n\nprototypeAccessors.namespaced.get = function () {\n return !!this._rawModule.namespaced\n};\n\nModule.prototype.addChild = function addChild (key, module) {\n this._children[key] = module;\n};\n\nModule.prototype.removeChild = function removeChild (key) {\n delete this._children[key];\n};\n\nModule.prototype.getChild = function getChild (key) {\n return this._children[key]\n};\n\nModule.prototype.hasChild = function hasChild (key) {\n return key in this._children\n};\n\nModule.prototype.update = function update (rawModule) {\n this._rawModule.namespaced = rawModule.namespaced;\n if (rawModule.actions) {\n this._rawModule.actions = rawModule.actions;\n }\n if (rawModule.mutations) {\n this._rawModule.mutations = rawModule.mutations;\n }\n if (rawModule.getters) {\n this._rawModule.getters = rawModule.getters;\n }\n};\n\nModule.prototype.forEachChild = function forEachChild (fn) {\n forEachValue(this._children, fn);\n};\n\nModule.prototype.forEachGetter = function forEachGetter (fn) {\n if (this._rawModule.getters) {\n forEachValue(this._rawModule.getters, fn);\n }\n};\n\nModule.prototype.forEachAction = function forEachAction (fn) {\n if (this._rawModule.actions) {\n forEachValue(this._rawModule.actions, fn);\n }\n};\n\nModule.prototype.forEachMutation = function forEachMutation (fn) {\n if (this._rawModule.mutations) {\n forEachValue(this._rawModule.mutations, fn);\n }\n};\n\nObject.defineProperties( Module.prototype, prototypeAccessors );\n\nvar ModuleCollection = function ModuleCollection (rawRootModule) {\n // register root module (Vuex.Store options)\n this.register([], rawRootModule, false);\n};\n\nModuleCollection.prototype.get = function get (path) {\n return path.reduce(function (module, key) {\n return module.getChild(key)\n }, this.root)\n};\n\nModuleCollection.prototype.getNamespace = function getNamespace (path) {\n var module = this.root;\n return path.reduce(function (namespace, key) {\n module = module.getChild(key);\n return namespace + (module.namespaced ? key + '/' : '')\n }, '')\n};\n\nModuleCollection.prototype.update = function update$1 (rawRootModule) {\n update([], this.root, rawRootModule);\n};\n\nModuleCollection.prototype.register = function register (path, rawModule, runtime) {\n var this$1 = this;\n if ( runtime === void 0 ) runtime = true;\n\n if ((false)) {\n assertRawModule(path, rawModule);\n }\n\n var newModule = new Module(rawModule, runtime);\n if (path.length === 0) {\n this.root = newModule;\n } else {\n var parent = this.get(path.slice(0, -1));\n parent.addChild(path[path.length - 1], newModule);\n }\n\n // register nested modules\n if (rawModule.modules) {\n forEachValue(rawModule.modules, function (rawChildModule, key) {\n this$1.register(path.concat(key), rawChildModule, runtime);\n });\n }\n};\n\nModuleCollection.prototype.unregister = function unregister (path) {\n var parent = this.get(path.slice(0, -1));\n var key = path[path.length - 1];\n var child = parent.getChild(key);\n\n if (!child) {\n if ((false)) {\n console.warn(\n \"[vuex] trying to unregister module '\" + key + \"', which is \" +\n \"not registered\"\n );\n }\n return\n }\n\n if (!child.runtime) {\n return\n }\n\n parent.removeChild(key);\n};\n\nModuleCollection.prototype.isRegistered = function isRegistered (path) {\n var parent = this.get(path.slice(0, -1));\n var key = path[path.length - 1];\n\n if (parent) {\n return parent.hasChild(key)\n }\n\n return false\n};\n\nfunction update (path, targetModule, newModule) {\n if ((false)) {\n assertRawModule(path, newModule);\n }\n\n // update target module\n targetModule.update(newModule);\n\n // update nested modules\n if (newModule.modules) {\n for (var key in newModule.modules) {\n if (!targetModule.getChild(key)) {\n if ((false)) {\n console.warn(\n \"[vuex] trying to add a new module '\" + key + \"' on hot reloading, \" +\n 'manual reload is needed'\n );\n }\n return\n }\n update(\n path.concat(key),\n targetModule.getChild(key),\n newModule.modules[key]\n );\n }\n }\n}\n\nvar functionAssert = {\n assert: function (value) { return typeof value === 'function'; },\n expected: 'function'\n};\n\nvar objectAssert = {\n assert: function (value) { return typeof value === 'function' ||\n (typeof value === 'object' && typeof value.handler === 'function'); },\n expected: 'function or object with \"handler\" function'\n};\n\nvar assertTypes = {\n getters: functionAssert,\n mutations: functionAssert,\n actions: objectAssert\n};\n\nfunction assertRawModule (path, rawModule) {\n Object.keys(assertTypes).forEach(function (key) {\n if (!rawModule[key]) { return }\n\n var assertOptions = assertTypes[key];\n\n forEachValue(rawModule[key], function (value, type) {\n assert(\n assertOptions.assert(value),\n makeAssertionMessage(path, key, type, value, assertOptions.expected)\n );\n });\n });\n}\n\nfunction makeAssertionMessage (path, key, type, value, expected) {\n var buf = key + \" should be \" + expected + \" but \\\"\" + key + \".\" + type + \"\\\"\";\n if (path.length > 0) {\n buf += \" in module \\\"\" + (path.join('.')) + \"\\\"\";\n }\n buf += \" is \" + (JSON.stringify(value)) + \".\";\n return buf\n}\n\nvar Vue; // bind on install\n\nvar Store = function Store (options) {\n var this$1 = this;\n if ( options === void 0 ) options = {};\n\n // Auto install if it is not done yet and `window` has `Vue`.\n // To allow users to avoid auto-installation in some cases,\n // this code should be placed here. See #731\n if (!Vue && typeof window !== 'undefined' && window.Vue) {\n install(window.Vue);\n }\n\n if ((false)) {\n assert(Vue, \"must call Vue.use(Vuex) before creating a store instance.\");\n assert(typeof Promise !== 'undefined', \"vuex requires a Promise polyfill in this browser.\");\n assert(this instanceof Store, \"store must be called with the new operator.\");\n }\n\n var plugins = options.plugins; if ( plugins === void 0 ) plugins = [];\n var strict = options.strict; if ( strict === void 0 ) strict = false;\n\n // store internal state\n this._committing = false;\n this._actions = Object.create(null);\n this._actionSubscribers = [];\n this._mutations = Object.create(null);\n this._wrappedGetters = Object.create(null);\n this._modules = new ModuleCollection(options);\n this._modulesNamespaceMap = Object.create(null);\n this._subscribers = [];\n this._watcherVM = new Vue();\n this._makeLocalGettersCache = Object.create(null);\n\n // bind commit and dispatch to self\n var store = this;\n var ref = this;\n var dispatch = ref.dispatch;\n var commit = ref.commit;\n this.dispatch = function boundDispatch (type, payload) {\n return dispatch.call(store, type, payload)\n };\n this.commit = function boundCommit (type, payload, options) {\n return commit.call(store, type, payload, options)\n };\n\n // strict mode\n this.strict = strict;\n\n var state = this._modules.root.state;\n\n // init root module.\n // this also recursively registers all sub-modules\n // and collects all module getters inside this._wrappedGetters\n installModule(this, state, [], this._modules.root);\n\n // initialize the store vm, which is responsible for the reactivity\n // (also registers _wrappedGetters as computed properties)\n resetStoreVM(this, state);\n\n // apply plugins\n plugins.forEach(function (plugin) { return plugin(this$1); });\n\n var useDevtools = options.devtools !== undefined ? options.devtools : Vue.config.devtools;\n if (useDevtools) {\n devtoolPlugin(this);\n }\n};\n\nvar prototypeAccessors$1 = { state: { configurable: true } };\n\nprototypeAccessors$1.state.get = function () {\n return this._vm._data.$$state\n};\n\nprototypeAccessors$1.state.set = function (v) {\n if ((false)) {\n assert(false, \"use store.replaceState() to explicit replace store state.\");\n }\n};\n\nStore.prototype.commit = function commit (_type, _payload, _options) {\n var this$1 = this;\n\n // check object-style commit\n var ref = unifyObjectStyle(_type, _payload, _options);\n var type = ref.type;\n var payload = ref.payload;\n var options = ref.options;\n\n var mutation = { type: type, payload: payload };\n var entry = this._mutations[type];\n if (!entry) {\n if ((false)) {\n console.error((\"[vuex] unknown mutation type: \" + type));\n }\n return\n }\n this._withCommit(function () {\n entry.forEach(function commitIterator (handler) {\n handler(payload);\n });\n });\n\n this._subscribers\n .slice() // shallow copy to prevent iterator invalidation if subscriber synchronously calls unsubscribe\n .forEach(function (sub) { return sub(mutation, this$1.state); });\n\n if (\n false\n ) {\n console.warn(\n \"[vuex] mutation type: \" + type + \". Silent option has been removed. \" +\n 'Use the filter functionality in the vue-devtools'\n );\n }\n};\n\nStore.prototype.dispatch = function dispatch (_type, _payload) {\n var this$1 = this;\n\n // check object-style dispatch\n var ref = unifyObjectStyle(_type, _payload);\n var type = ref.type;\n var payload = ref.payload;\n\n var action = { type: type, payload: payload };\n var entry = this._actions[type];\n if (!entry) {\n if ((false)) {\n console.error((\"[vuex] unknown action type: \" + type));\n }\n return\n }\n\n try {\n this._actionSubscribers\n .slice() // shallow copy to prevent iterator invalidation if subscriber synchronously calls unsubscribe\n .filter(function (sub) { return sub.before; })\n .forEach(function (sub) { return sub.before(action, this$1.state); });\n } catch (e) {\n if ((false)) {\n console.warn(\"[vuex] error in before action subscribers: \");\n console.error(e);\n }\n }\n\n var result = entry.length > 1\n ? Promise.all(entry.map(function (handler) { return handler(payload); }))\n : entry[0](payload);\n\n return new Promise(function (resolve, reject) {\n result.then(function (res) {\n try {\n this$1._actionSubscribers\n .filter(function (sub) { return sub.after; })\n .forEach(function (sub) { return sub.after(action, this$1.state); });\n } catch (e) {\n if ((false)) {\n console.warn(\"[vuex] error in after action subscribers: \");\n console.error(e);\n }\n }\n resolve(res);\n }, function (error) {\n try {\n this$1._actionSubscribers\n .filter(function (sub) { return sub.error; })\n .forEach(function (sub) { return sub.error(action, this$1.state, error); });\n } catch (e) {\n if ((false)) {\n console.warn(\"[vuex] error in error action subscribers: \");\n console.error(e);\n }\n }\n reject(error);\n });\n })\n};\n\nStore.prototype.subscribe = function subscribe (fn, options) {\n return genericSubscribe(fn, this._subscribers, options)\n};\n\nStore.prototype.subscribeAction = function subscribeAction (fn, options) {\n var subs = typeof fn === 'function' ? { before: fn } : fn;\n return genericSubscribe(subs, this._actionSubscribers, options)\n};\n\nStore.prototype.watch = function watch (getter, cb, options) {\n var this$1 = this;\n\n if ((false)) {\n assert(typeof getter === 'function', \"store.watch only accepts a function.\");\n }\n return this._watcherVM.$watch(function () { return getter(this$1.state, this$1.getters); }, cb, options)\n};\n\nStore.prototype.replaceState = function replaceState (state) {\n var this$1 = this;\n\n this._withCommit(function () {\n this$1._vm._data.$$state = state;\n });\n};\n\nStore.prototype.registerModule = function registerModule (path, rawModule, options) {\n if ( options === void 0 ) options = {};\n\n if (typeof path === 'string') { path = [path]; }\n\n if ((false)) {\n assert(Array.isArray(path), \"module path must be a string or an Array.\");\n assert(path.length > 0, 'cannot register the root module by using registerModule.');\n }\n\n this._modules.register(path, rawModule);\n installModule(this, this.state, path, this._modules.get(path), options.preserveState);\n // reset store to update getters...\n resetStoreVM(this, this.state);\n};\n\nStore.prototype.unregisterModule = function unregisterModule (path) {\n var this$1 = this;\n\n if (typeof path === 'string') { path = [path]; }\n\n if ((false)) {\n assert(Array.isArray(path), \"module path must be a string or an Array.\");\n }\n\n this._modules.unregister(path);\n this._withCommit(function () {\n var parentState = getNestedState(this$1.state, path.slice(0, -1));\n Vue.delete(parentState, path[path.length - 1]);\n });\n resetStore(this);\n};\n\nStore.prototype.hasModule = function hasModule (path) {\n if (typeof path === 'string') { path = [path]; }\n\n if ((false)) {\n assert(Array.isArray(path), \"module path must be a string or an Array.\");\n }\n\n return this._modules.isRegistered(path)\n};\n\nStore.prototype.hotUpdate = function hotUpdate (newOptions) {\n this._modules.update(newOptions);\n resetStore(this, true);\n};\n\nStore.prototype._withCommit = function _withCommit (fn) {\n var committing = this._committing;\n this._committing = true;\n fn();\n this._committing = committing;\n};\n\nObject.defineProperties( Store.prototype, prototypeAccessors$1 );\n\nfunction genericSubscribe (fn, subs, options) {\n if (subs.indexOf(fn) < 0) {\n options && options.prepend\n ? subs.unshift(fn)\n : subs.push(fn);\n }\n return function () {\n var i = subs.indexOf(fn);\n if (i > -1) {\n subs.splice(i, 1);\n }\n }\n}\n\nfunction resetStore (store, hot) {\n store._actions = Object.create(null);\n store._mutations = Object.create(null);\n store._wrappedGetters = Object.create(null);\n store._modulesNamespaceMap = Object.create(null);\n var state = store.state;\n // init all modules\n installModule(store, state, [], store._modules.root, true);\n // reset vm\n resetStoreVM(store, state, hot);\n}\n\nfunction resetStoreVM (store, state, hot) {\n var oldVm = store._vm;\n\n // bind store public getters\n store.getters = {};\n // reset local getters cache\n store._makeLocalGettersCache = Object.create(null);\n var wrappedGetters = store._wrappedGetters;\n var computed = {};\n forEachValue(wrappedGetters, function (fn, key) {\n // use computed to leverage its lazy-caching mechanism\n // direct inline function use will lead to closure preserving oldVm.\n // using partial to return function with only arguments preserved in closure environment.\n computed[key] = partial(fn, store);\n Object.defineProperty(store.getters, key, {\n get: function () { return store._vm[key]; },\n enumerable: true // for local getters\n });\n });\n\n // use a Vue instance to store the state tree\n // suppress warnings just in case the user has added\n // some funky global mixins\n var silent = Vue.config.silent;\n Vue.config.silent = true;\n store._vm = new Vue({\n data: {\n $$state: state\n },\n computed: computed\n });\n Vue.config.silent = silent;\n\n // enable strict mode for new vm\n if (store.strict) {\n enableStrictMode(store);\n }\n\n if (oldVm) {\n if (hot) {\n // dispatch changes in all subscribed watchers\n // to force getter re-evaluation for hot reloading.\n store._withCommit(function () {\n oldVm._data.$$state = null;\n });\n }\n Vue.nextTick(function () { return oldVm.$destroy(); });\n }\n}\n\nfunction installModule (store, rootState, path, module, hot) {\n var isRoot = !path.length;\n var namespace = store._modules.getNamespace(path);\n\n // register in namespace map\n if (module.namespaced) {\n if (store._modulesNamespaceMap[namespace] && (\"production\" !== 'production')) {\n console.error((\"[vuex] duplicate namespace \" + namespace + \" for the namespaced module \" + (path.join('/'))));\n }\n store._modulesNamespaceMap[namespace] = module;\n }\n\n // set state\n if (!isRoot && !hot) {\n var parentState = getNestedState(rootState, path.slice(0, -1));\n var moduleName = path[path.length - 1];\n store._withCommit(function () {\n if ((false)) {\n if (moduleName in parentState) {\n console.warn(\n (\"[vuex] state field \\\"\" + moduleName + \"\\\" was overridden by a module with the same name at \\\"\" + (path.join('.')) + \"\\\"\")\n );\n }\n }\n Vue.set(parentState, moduleName, module.state);\n });\n }\n\n var local = module.context = makeLocalContext(store, namespace, path);\n\n module.forEachMutation(function (mutation, key) {\n var namespacedType = namespace + key;\n registerMutation(store, namespacedType, mutation, local);\n });\n\n module.forEachAction(function (action, key) {\n var type = action.root ? key : namespace + key;\n var handler = action.handler || action;\n registerAction(store, type, handler, local);\n });\n\n module.forEachGetter(function (getter, key) {\n var namespacedType = namespace + key;\n registerGetter(store, namespacedType, getter, local);\n });\n\n module.forEachChild(function (child, key) {\n installModule(store, rootState, path.concat(key), child, hot);\n });\n}\n\n/**\n * make localized dispatch, commit, getters and state\n * if there is no namespace, just use root ones\n */\nfunction makeLocalContext (store, namespace, path) {\n var noNamespace = namespace === '';\n\n var local = {\n dispatch: noNamespace ? store.dispatch : function (_type, _payload, _options) {\n var args = unifyObjectStyle(_type, _payload, _options);\n var payload = args.payload;\n var options = args.options;\n var type = args.type;\n\n if (!options || !options.root) {\n type = namespace + type;\n if (false) {\n console.error((\"[vuex] unknown local action type: \" + (args.type) + \", global type: \" + type));\n return\n }\n }\n\n return store.dispatch(type, payload)\n },\n\n commit: noNamespace ? store.commit : function (_type, _payload, _options) {\n var args = unifyObjectStyle(_type, _payload, _options);\n var payload = args.payload;\n var options = args.options;\n var type = args.type;\n\n if (!options || !options.root) {\n type = namespace + type;\n if (false) {\n console.error((\"[vuex] unknown local mutation type: \" + (args.type) + \", global type: \" + type));\n return\n }\n }\n\n store.commit(type, payload, options);\n }\n };\n\n // getters and state object must be gotten lazily\n // because they will be changed by vm update\n Object.defineProperties(local, {\n getters: {\n get: noNamespace\n ? function () { return store.getters; }\n : function () { return makeLocalGetters(store, namespace); }\n },\n state: {\n get: function () { return getNestedState(store.state, path); }\n }\n });\n\n return local\n}\n\nfunction makeLocalGetters (store, namespace) {\n if (!store._makeLocalGettersCache[namespace]) {\n var gettersProxy = {};\n var splitPos = namespace.length;\n Object.keys(store.getters).forEach(function (type) {\n // skip if the target getter is not match this namespace\n if (type.slice(0, splitPos) !== namespace) { return }\n\n // extract local getter type\n var localType = type.slice(splitPos);\n\n // Add a port to the getters proxy.\n // Define as getter property because\n // we do not want to evaluate the getters in this time.\n Object.defineProperty(gettersProxy, localType, {\n get: function () { return store.getters[type]; },\n enumerable: true\n });\n });\n store._makeLocalGettersCache[namespace] = gettersProxy;\n }\n\n return store._makeLocalGettersCache[namespace]\n}\n\nfunction registerMutation (store, type, handler, local) {\n var entry = store._mutations[type] || (store._mutations[type] = []);\n entry.push(function wrappedMutationHandler (payload) {\n handler.call(store, local.state, payload);\n });\n}\n\nfunction registerAction (store, type, handler, local) {\n var entry = store._actions[type] || (store._actions[type] = []);\n entry.push(function wrappedActionHandler (payload) {\n var res = handler.call(store, {\n dispatch: local.dispatch,\n commit: local.commit,\n getters: local.getters,\n state: local.state,\n rootGetters: store.getters,\n rootState: store.state\n }, payload);\n if (!isPromise(res)) {\n res = Promise.resolve(res);\n }\n if (store._devtoolHook) {\n return res.catch(function (err) {\n store._devtoolHook.emit('vuex:error', err);\n throw err\n })\n } else {\n return res\n }\n });\n}\n\nfunction registerGetter (store, type, rawGetter, local) {\n if (store._wrappedGetters[type]) {\n if ((false)) {\n console.error((\"[vuex] duplicate getter key: \" + type));\n }\n return\n }\n store._wrappedGetters[type] = function wrappedGetter (store) {\n return rawGetter(\n local.state, // local state\n local.getters, // local getters\n store.state, // root state\n store.getters // root getters\n )\n };\n}\n\nfunction enableStrictMode (store) {\n store._vm.$watch(function () { return this._data.$$state }, function () {\n if ((false)) {\n assert(store._committing, \"do not mutate vuex store state outside mutation handlers.\");\n }\n }, { deep: true, sync: true });\n}\n\nfunction getNestedState (state, path) {\n return path.reduce(function (state, key) { return state[key]; }, state)\n}\n\nfunction unifyObjectStyle (type, payload, options) {\n if (isObject(type) && type.type) {\n options = payload;\n payload = type;\n type = type.type;\n }\n\n if ((false)) {\n assert(typeof type === 'string', (\"expects string as the type, but found \" + (typeof type) + \".\"));\n }\n\n return { type: type, payload: payload, options: options }\n}\n\nfunction install (_Vue) {\n if (Vue && _Vue === Vue) {\n if ((false)) {\n console.error(\n '[vuex] already installed. Vue.use(Vuex) should be called only once.'\n );\n }\n return\n }\n Vue = _Vue;\n applyMixin(Vue);\n}\n\n/**\n * Reduce the code which written in Vue.js for getting the state.\n * @param {String} [namespace] - Module's namespace\n * @param {Object|Array} states # Object's item can be a function which accept state and getters for param, you can do something for state and getters in it.\n * @param {Object}\n */\nvar mapState = normalizeNamespace(function (namespace, states) {\n var res = {};\n if (false) {\n console.error('[vuex] mapState: mapper parameter must be either an Array or an Object');\n }\n normalizeMap(states).forEach(function (ref) {\n var key = ref.key;\n var val = ref.val;\n\n res[key] = function mappedState () {\n var state = this.$store.state;\n var getters = this.$store.getters;\n if (namespace) {\n var module = getModuleByNamespace(this.$store, 'mapState', namespace);\n if (!module) {\n return\n }\n state = module.context.state;\n getters = module.context.getters;\n }\n return typeof val === 'function'\n ? val.call(this, state, getters)\n : state[val]\n };\n // mark vuex getter for devtools\n res[key].vuex = true;\n });\n return res\n});\n\n/**\n * Reduce the code which written in Vue.js for committing the mutation\n * @param {String} [namespace] - Module's namespace\n * @param {Object|Array} mutations # Object's item can be a function which accept `commit` function as the first param, it can accept another params. You can commit mutation and do any other things in this function. specially, You need to pass anthor params from the mapped function.\n * @return {Object}\n */\nvar mapMutations = normalizeNamespace(function (namespace, mutations) {\n var res = {};\n if (false) {\n console.error('[vuex] mapMutations: mapper parameter must be either an Array or an Object');\n }\n normalizeMap(mutations).forEach(function (ref) {\n var key = ref.key;\n var val = ref.val;\n\n res[key] = function mappedMutation () {\n var args = [], len = arguments.length;\n while ( len-- ) args[ len ] = arguments[ len ];\n\n // Get the commit method from store\n var commit = this.$store.commit;\n if (namespace) {\n var module = getModuleByNamespace(this.$store, 'mapMutations', namespace);\n if (!module) {\n return\n }\n commit = module.context.commit;\n }\n return typeof val === 'function'\n ? val.apply(this, [commit].concat(args))\n : commit.apply(this.$store, [val].concat(args))\n };\n });\n return res\n});\n\n/**\n * Reduce the code which written in Vue.js for getting the getters\n * @param {String} [namespace] - Module's namespace\n * @param {Object|Array} getters\n * @return {Object}\n */\nvar mapGetters = normalizeNamespace(function (namespace, getters) {\n var res = {};\n if (false) {\n console.error('[vuex] mapGetters: mapper parameter must be either an Array or an Object');\n }\n normalizeMap(getters).forEach(function (ref) {\n var key = ref.key;\n var val = ref.val;\n\n // The namespace has been mutated by normalizeNamespace\n val = namespace + val;\n res[key] = function mappedGetter () {\n if (namespace && !getModuleByNamespace(this.$store, 'mapGetters', namespace)) {\n return\n }\n if (false) {\n console.error((\"[vuex] unknown getter: \" + val));\n return\n }\n return this.$store.getters[val]\n };\n // mark vuex getter for devtools\n res[key].vuex = true;\n });\n return res\n});\n\n/**\n * Reduce the code which written in Vue.js for dispatch the action\n * @param {String} [namespace] - Module's namespace\n * @param {Object|Array} actions # Object's item can be a function which accept `dispatch` function as the first param, it can accept anthor params. You can dispatch action and do any other things in this function. specially, You need to pass anthor params from the mapped function.\n * @return {Object}\n */\nvar mapActions = normalizeNamespace(function (namespace, actions) {\n var res = {};\n if (false) {\n console.error('[vuex] mapActions: mapper parameter must be either an Array or an Object');\n }\n normalizeMap(actions).forEach(function (ref) {\n var key = ref.key;\n var val = ref.val;\n\n res[key] = function mappedAction () {\n var args = [], len = arguments.length;\n while ( len-- ) args[ len ] = arguments[ len ];\n\n // get dispatch function from store\n var dispatch = this.$store.dispatch;\n if (namespace) {\n var module = getModuleByNamespace(this.$store, 'mapActions', namespace);\n if (!module) {\n return\n }\n dispatch = module.context.dispatch;\n }\n return typeof val === 'function'\n ? val.apply(this, [dispatch].concat(args))\n : dispatch.apply(this.$store, [val].concat(args))\n };\n });\n return res\n});\n\n/**\n * Rebinding namespace param for mapXXX function in special scoped, and return them by simple object\n * @param {String} namespace\n * @return {Object}\n */\nvar createNamespacedHelpers = function (namespace) { return ({\n mapState: mapState.bind(null, namespace),\n mapGetters: mapGetters.bind(null, namespace),\n mapMutations: mapMutations.bind(null, namespace),\n mapActions: mapActions.bind(null, namespace)\n}); };\n\n/**\n * Normalize the map\n * normalizeMap([1, 2, 3]) => [ { key: 1, val: 1 }, { key: 2, val: 2 }, { key: 3, val: 3 } ]\n * normalizeMap({a: 1, b: 2, c: 3}) => [ { key: 'a', val: 1 }, { key: 'b', val: 2 }, { key: 'c', val: 3 } ]\n * @param {Array|Object} map\n * @return {Object}\n */\nfunction normalizeMap (map) {\n if (!isValidMap(map)) {\n return []\n }\n return Array.isArray(map)\n ? map.map(function (key) { return ({ key: key, val: key }); })\n : Object.keys(map).map(function (key) { return ({ key: key, val: map[key] }); })\n}\n\n/**\n * Validate whether given map is valid or not\n * @param {*} map\n * @return {Boolean}\n */\nfunction isValidMap (map) {\n return Array.isArray(map) || isObject(map)\n}\n\n/**\n * Return a function expect two param contains namespace and map. it will normalize the namespace and then the param's function will handle the new namespace and the map.\n * @param {Function} fn\n * @return {Function}\n */\nfunction normalizeNamespace (fn) {\n return function (namespace, map) {\n if (typeof namespace !== 'string') {\n map = namespace;\n namespace = '';\n } else if (namespace.charAt(namespace.length - 1) !== '/') {\n namespace += '/';\n }\n return fn(namespace, map)\n }\n}\n\n/**\n * Search a special module from store by namespace. if module not exist, print error message.\n * @param {Object} store\n * @param {String} helper\n * @param {String} namespace\n * @return {Object}\n */\nfunction getModuleByNamespace (store, helper, namespace) {\n var module = store._modulesNamespaceMap[namespace];\n if (false) {\n console.error((\"[vuex] module namespace not found in \" + helper + \"(): \" + namespace));\n }\n return module\n}\n\n// Credits: borrowed code from fcomb/redux-logger\n\nfunction createLogger (ref) {\n if ( ref === void 0 ) ref = {};\n var collapsed = ref.collapsed; if ( collapsed === void 0 ) collapsed = true;\n var filter = ref.filter; if ( filter === void 0 ) filter = function (mutation, stateBefore, stateAfter) { return true; };\n var transformer = ref.transformer; if ( transformer === void 0 ) transformer = function (state) { return state; };\n var mutationTransformer = ref.mutationTransformer; if ( mutationTransformer === void 0 ) mutationTransformer = function (mut) { return mut; };\n var actionFilter = ref.actionFilter; if ( actionFilter === void 0 ) actionFilter = function (action, state) { return true; };\n var actionTransformer = ref.actionTransformer; if ( actionTransformer === void 0 ) actionTransformer = function (act) { return act; };\n var logMutations = ref.logMutations; if ( logMutations === void 0 ) logMutations = true;\n var logActions = ref.logActions; if ( logActions === void 0 ) logActions = true;\n var logger = ref.logger; if ( logger === void 0 ) logger = console;\n\n return function (store) {\n var prevState = deepCopy(store.state);\n\n if (typeof logger === 'undefined') {\n return\n }\n\n if (logMutations) {\n store.subscribe(function (mutation, state) {\n var nextState = deepCopy(state);\n\n if (filter(mutation, prevState, nextState)) {\n var formattedTime = getFormattedTime();\n var formattedMutation = mutationTransformer(mutation);\n var message = \"mutation \" + (mutation.type) + formattedTime;\n\n startMessage(logger, message, collapsed);\n logger.log('%c prev state', 'color: #9E9E9E; font-weight: bold', transformer(prevState));\n logger.log('%c mutation', 'color: #03A9F4; font-weight: bold', formattedMutation);\n logger.log('%c next state', 'color: #4CAF50; font-weight: bold', transformer(nextState));\n endMessage(logger);\n }\n\n prevState = nextState;\n });\n }\n\n if (logActions) {\n store.subscribeAction(function (action, state) {\n if (actionFilter(action, state)) {\n var formattedTime = getFormattedTime();\n var formattedAction = actionTransformer(action);\n var message = \"action \" + (action.type) + formattedTime;\n\n startMessage(logger, message, collapsed);\n logger.log('%c action', 'color: #03A9F4; font-weight: bold', formattedAction);\n endMessage(logger);\n }\n });\n }\n }\n}\n\nfunction startMessage (logger, message, collapsed) {\n var startMessage = collapsed\n ? logger.groupCollapsed\n : logger.group;\n\n // render\n try {\n startMessage.call(logger, message);\n } catch (e) {\n logger.log(message);\n }\n}\n\nfunction endMessage (logger) {\n try {\n logger.groupEnd();\n } catch (e) {\n logger.log('—— log end ——');\n }\n}\n\nfunction getFormattedTime () {\n var time = new Date();\n return (\" @ \" + (pad(time.getHours(), 2)) + \":\" + (pad(time.getMinutes(), 2)) + \":\" + (pad(time.getSeconds(), 2)) + \".\" + (pad(time.getMilliseconds(), 3)))\n}\n\nfunction repeat (str, times) {\n return (new Array(times + 1)).join(str)\n}\n\nfunction pad (num, maxLength) {\n return repeat('0', maxLength - num.toString().length) + num\n}\n\nvar index = {\n Store: Store,\n install: install,\n version: '3.6.2',\n mapState: mapState,\n mapMutations: mapMutations,\n mapGetters: mapGetters,\n mapActions: mapActions,\n createNamespacedHelpers: createNamespacedHelpers,\n createLogger: createLogger\n};\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (index);\n\n\n/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(11), __webpack_require__(15)))\n\n/***/ }),\n\n/***/ 102:\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(Promise) {/* unused harmony export install */\n/* unused harmony export use */\n/* unused harmony export directive */\n/* unused harmony export mixin */\n/* unused harmony export mapFields */\n/* unused harmony export Validator */\n/* unused harmony export ErrorBag */\n/* unused harmony export Rules */\n/* unused harmony export ErrorComponent */\n/* unused harmony export version */\n/**\n * vee-validate v2.0.9\n * (c) 2018 Abdelrahman Awad\n * @license MIT\n */\nvar supportsPassive = true;\nvar detectPassiveSupport = function () {\n try {\n var opts = Object.defineProperty({}, 'passive', {\n get: function get() {\n supportsPassive = true;\n }\n });\n window.addEventListener('testPassive', null, opts);\n window.removeEventListener('testPassive', null, opts);\n } catch (e) {\n supportsPassive = false;\n }\n return supportsPassive;\n};\nvar addEventListener = function (el, eventName, cb) {\n el.addEventListener(eventName, cb, supportsPassive ? {\n passive: true\n } : false);\n};\nvar isTextInput = function (el) { return ['text','number','password','search','email','tel',\n 'url','textarea'].indexOf(el.type) !== -1; };\nvar isCheckboxOrRadioInput = function (el) { return ['radio','checkbox'].indexOf(el.type) !== -1; };\nvar getDataAttribute = function (el, name) { return el.getAttribute((\"data-vv-\" + name)); };\nvar isNullOrUndefined = function (value) { return value === null || value === undefined; };\nvar createFlags = function () { return ({\n untouched: true,\n touched: false,\n dirty: false,\n pristine: true,\n valid: null,\n invalid: null,\n validated: false,\n pending: false,\n required: false,\n changed: false\n}); };\nvar isEqual = function (lhs, rhs) {\n if (lhs instanceof RegExp && rhs instanceof RegExp) {\n return isEqual(lhs.source, rhs.source) && isEqual(lhs.flags, rhs.flags);\n }\n if (Array.isArray(lhs) && Array.isArray(rhs)) {\n if (lhs.length !== rhs.length) \n { return false; }\n for (var i = 0;i < lhs.length; i++) {\n if (!isEqual(lhs[i], rhs[i])) {\n return false;\n }\n }\n return true;\n }\n if (isObject(lhs) && isObject(rhs)) {\n return Object.keys(lhs).every(function (key) { return isEqual(lhs[key], rhs[key]); }) && Object.keys(rhs).every(function (key) { return isEqual(lhs[key], rhs[key]); });\n }\n return lhs === rhs;\n};\nvar getScope = function (el) {\n var scope = getDataAttribute(el, 'scope');\n if (isNullOrUndefined(scope)) {\n var form = getForm(el);\n if (form) {\n scope = getDataAttribute(form, 'scope');\n }\n }\n return !isNullOrUndefined(scope) ? scope : null;\n};\nvar getForm = function (el) {\n if (isNullOrUndefined(el)) \n { return null; }\n if (el.tagName === \"FORM\") \n { return el; }\n if (!isNullOrUndefined(el.form)) \n { return el.form; }\n return !isNullOrUndefined(el.parentNode) ? getForm(el.parentNode) : null;\n};\nvar getPath = function (path, target, def) {\n if ( def === void 0 ) def = undefined;\n\n if (!path || !target) \n { return def; }\n var value = target;\n path.split('.').every(function (prop) {\n if (!Object.prototype.hasOwnProperty.call(value, prop) && value[prop] === undefined) {\n value = def;\n return false;\n }\n value = value[prop];\n return true;\n });\n return value;\n};\nvar hasPath = function (path, target) {\n var obj = target;\n return path.split('.').every(function (prop) {\n if (!Object.prototype.hasOwnProperty.call(obj, prop)) {\n return false;\n }\n obj = obj[prop];\n return true;\n });\n};\nvar parseRule = function (rule) {\n var params = [];\n var name = rule.split(':')[0];\n if (~rule.indexOf(':')) {\n params = rule.split(':').slice(1).join(':').split(',');\n }\n return {\n name: name,\n params: params\n };\n};\nvar debounce = function (fn, wait, immediate, token) {\n if ( wait === void 0 ) wait = 0;\n if ( immediate === void 0 ) immediate = false;\n if ( token === void 0 ) token = {\n cancelled: false\n};\n\n if (wait === 0) {\n return fn;\n }\n var timeout;\n return function () {\n var args = [], len = arguments.length;\n while ( len-- ) args[ len ] = arguments[ len ];\n\n var later = function () {\n timeout = null;\n if (!immediate && !token.cancelled) \n { fn.apply(void 0, args); }\n };\n var callNow = immediate && !timeout;\n clearTimeout(timeout);\n timeout = setTimeout(later, wait);\n if (callNow) \n { fn.apply(void 0, args); }\n };\n};\nvar normalizeRules = function (rules) {\n if (!rules) {\n return {};\n }\n if (isObject(rules)) {\n return Object.keys(rules).reduce(function (prev, curr) {\n var params = [];\n if (rules[curr] === true) {\n params = [];\n } else if (Array.isArray(rules[curr])) {\n params = rules[curr];\n } else {\n params = [rules[curr]];\n }\n if (rules[curr] !== false) {\n prev[curr] = params;\n }\n return prev;\n }, {});\n }\n if (typeof rules !== 'string') {\n warn('rules must be either a string or an object.');\n return {};\n }\n return rules.split('|').reduce(function (prev, rule) {\n var parsedRule = parseRule(rule);\n if (!parsedRule.name) {\n return prev;\n }\n prev[parsedRule.name] = parsedRule.params;\n return prev;\n }, {});\n};\nvar warn = function (message) {\n console.warn((\"[vee-validate] \" + message));\n};\nvar createError = function (message) { return new Error((\"[vee-validate] \" + message)); };\nvar isObject = function (obj) { return obj !== null && obj && typeof obj === 'object' && !Array.isArray(obj); };\nvar isCallable = function (func) { return typeof func === 'function'; };\nvar hasClass = function (el, className) {\n if (el.classList) {\n return el.classList.contains(className);\n }\n return !(!el.className.match(new RegExp((\"(\\\\s|^)\" + className + \"(\\\\s|$)\"))));\n};\nvar addClass = function (el, className) {\n if (el.classList) {\n el.classList.add(className);\n return;\n }\n if (!hasClass(el, className)) {\n el.className += \" \" + className;\n }\n};\nvar removeClass = function (el, className) {\n if (el.classList) {\n el.classList.remove(className);\n return;\n }\n if (hasClass(el, className)) {\n var reg = new RegExp((\"(\\\\s|^)\" + className + \"(\\\\s|$)\"));\n el.className = el.className.replace(reg, ' ');\n }\n};\nvar toggleClass = function (el, className, status) {\n if (!el || !className) \n { return; }\n if (Array.isArray(className)) {\n className.forEach(function (item) { return toggleClass(el, item, status); });\n return;\n }\n if (status) {\n return addClass(el, className);\n }\n removeClass(el, className);\n};\nvar toArray = function (arrayLike) {\n if (isCallable(Array.from)) {\n return Array.from(arrayLike);\n }\n var array = [];\n var length = arrayLike.length;\n for (var i = 0;i < length; i++) {\n array.push(arrayLike[i]);\n }\n return array;\n};\nvar assign = function (target) {\n var others = [], len = arguments.length - 1;\n while ( len-- > 0 ) others[ len ] = arguments[ len + 1 ];\n\n if (isCallable(Object.assign)) {\n return Object.assign.apply(Object, [ target ].concat( others ));\n }\n if (target == null) {\n throw new TypeError('Cannot convert undefined or null to object');\n }\n var to = Object(target);\n others.forEach(function (arg) {\n if (arg != null) {\n Object.keys(arg).forEach(function (key) {\n to[key] = arg[key];\n });\n }\n });\n return to;\n};\nvar id = 0;\nvar idTemplate = '{id}';\nvar uniqId = function () {\n if (id >= 9999) {\n id = 0;\n idTemplate = idTemplate.replace('{id}', '_{id}');\n }\n id++;\n var newId = idTemplate.replace('{id}', String(id));\n return newId;\n};\nvar find = function (arrayLike, predicate) {\n var array = Array.isArray(arrayLike) ? arrayLike : toArray(arrayLike);\n for (var i = 0;i < array.length; i++) {\n if (predicate(array[i])) {\n return array[i];\n }\n }\n return undefined;\n};\nvar isBuiltInComponent = function (vnode) {\n if (!vnode) {\n return false;\n }\n var tag = vnode.componentOptions.tag;\n return /keep-alive|transition|transition-group/.test(tag);\n};\nvar makeEventsArray = function (events) { return typeof events === 'string' && events.length ? events.split('|') : []; };\nvar makeDelayObject = function (events, delay, delayConfig) {\n if (typeof delay === 'number') {\n return events.reduce(function (prev, e) {\n prev[e] = delay;\n return prev;\n }, {});\n }\n return events.reduce(function (prev, e) {\n if (typeof delay === 'object' && e in delay) {\n prev[e] = delay[e];\n return prev;\n }\n if (typeof delayConfig === 'number') {\n prev[e] = delayConfig;\n return prev;\n }\n prev[e] = delayConfig && delayConfig[e] || 0;\n return prev;\n }, {});\n};\nvar deepParseInt = function (input) {\n if (typeof input === 'number') \n { return input; }\n if (typeof input === 'string') \n { return parseInt(input); }\n var map = {};\n for (var element in input) {\n map[element] = parseInt(input[element]);\n }\n return map;\n};\nvar merge = function (target, source) {\n if (!(isObject(target) && isObject(source))) {\n return target;\n }\n Object.keys(source).forEach(function (key) {\n var obj, obj$1;\n\n if (isObject(source[key])) {\n if (!target[key]) {\n assign(target, ( obj = {}, obj[key] = {}, obj ));\n }\n merge(target[key], source[key]);\n return;\n }\n assign(target, ( obj$1 = {}, obj$1[key] = source[key], obj$1 ));\n });\n return target;\n};\n\nvar ErrorBag = function ErrorBag() {\n this.items = [];\n};\nErrorBag.prototype[typeof Symbol === 'function' ? Symbol.iterator : '@@iterator'] = function () {\n var this$1 = this;\n\n var index = 0;\n return {\n next: function () { return ({\n value: this$1.items[index++],\n done: index > this$1.items.length\n }); }\n };\n};\nErrorBag.prototype.add = function add (error) {\n var ref;\n\n if (arguments.length > 1) {\n error = {\n field: arguments[0],\n msg: arguments[1],\n rule: arguments[2],\n scope: !isNullOrUndefined(arguments[3]) ? arguments[3] : null,\n regenerate: null\n };\n }\n (ref = this.items).push.apply(ref, this._normalizeError(error));\n};\nErrorBag.prototype._normalizeError = function _normalizeError (error) {\n if (Array.isArray(error)) {\n return error.map(function (e) {\n e.scope = !isNullOrUndefined(e.scope) ? e.scope : null;\n return e;\n });\n }\n error.scope = !isNullOrUndefined(error.scope) ? error.scope : null;\n return [error];\n};\nErrorBag.prototype.regenerate = function regenerate () {\n this.items.forEach(function (i) {\n i.msg = isCallable(i.regenerate) ? i.regenerate() : i.msg;\n });\n};\nErrorBag.prototype.update = function update (id, error) {\n var item = find(this.items, function (i) { return i.id === id; });\n if (!item) {\n return;\n }\n var idx = this.items.indexOf(item);\n this.items.splice(idx, 1);\n item.scope = error.scope;\n this.items.push(item);\n};\nErrorBag.prototype.all = function all (scope) {\n if (isNullOrUndefined(scope)) {\n return this.items.map(function (e) { return e.msg; });\n }\n return this.items.filter(function (e) { return e.scope === scope; }).map(function (e) { return e.msg; });\n};\nErrorBag.prototype.any = function any (scope) {\n if (isNullOrUndefined(scope)) {\n return !(!this.items.length);\n }\n return !(!this.items.filter(function (e) { return e.scope === scope; }).length);\n};\nErrorBag.prototype.clear = function clear (scope) {\n var this$1 = this;\n\n if (isNullOrUndefined(scope)) {\n scope = null;\n }\n for (var i = 0;i < this.items.length; ++i) {\n if (this$1.items[i].scope === scope) {\n this$1.items.splice(i, 1);\n --i;\n }\n }\n};\nErrorBag.prototype.collect = function collect (field, scope, map) {\n if ( map === void 0 ) map = true;\n\n if (!field) {\n var collection = {};\n this.items.forEach(function (e) {\n if (!collection[e.field]) {\n collection[e.field] = [];\n }\n collection[e.field].push(map ? e.msg : e);\n });\n return collection;\n }\n field = !isNullOrUndefined(field) ? String(field) : field;\n if (isNullOrUndefined(scope)) {\n return this.items.filter(function (e) { return e.field === field; }).map(function (e) { return map ? e.msg : e; });\n }\n return this.items.filter(function (e) { return e.field === field && e.scope === scope; }).map(function (e) { return map ? e.msg : e; });\n};\nErrorBag.prototype.count = function count () {\n return this.items.length;\n};\nErrorBag.prototype.firstById = function firstById (id) {\n var error = find(this.items, function (i) { return i.id === id; });\n return error ? error.msg : null;\n};\nErrorBag.prototype.first = function first (field, scope) {\n var this$1 = this;\n if ( scope === void 0 ) scope = null;\n\n if (isNullOrUndefined(field)) {\n return null;\n }\n field = String(field);\n var selector = this._selector(field);\n var scoped = this._scope(field);\n if (scoped) {\n var result = this.first(scoped.name, scoped.scope);\n if (result) {\n return result;\n }\n }\n if (selector) {\n return this.firstByRule(selector.name, selector.rule, scope);\n }\n for (var i = 0;i < this.items.length; ++i) {\n if (this$1.items[i].field === field && this$1.items[i].scope === scope) {\n return this$1.items[i].msg;\n }\n }\n return null;\n};\nErrorBag.prototype.firstRule = function firstRule (field, scope) {\n var errors = this.collect(field, scope, false);\n return errors.length && errors[0].rule || null;\n};\nErrorBag.prototype.has = function has (field, scope) {\n if ( scope === void 0 ) scope = null;\n\n return !(!this.first(field, scope));\n};\nErrorBag.prototype.firstByRule = function firstByRule (name, rule, scope) {\n if ( scope === void 0 ) scope = null;\n\n var error = this.collect(name, scope, false).filter(function (e) { return e.rule === rule; })[0];\n return error && error.msg || null;\n};\nErrorBag.prototype.firstNot = function firstNot (name, rule, scope) {\n if ( rule === void 0 ) rule = 'required';\n if ( scope === void 0 ) scope = null;\n\n var error = this.collect(name, scope, false).filter(function (e) { return e.rule !== rule; })[0];\n return error && error.msg || null;\n};\nErrorBag.prototype.removeById = function removeById (id) {\n var this$1 = this;\n\n if (Array.isArray(id)) {\n this.items = this.items.filter(function (i) { return id.indexOf(i.id) === -1; });\n return;\n }\n for (var i = 0;i < this.items.length; ++i) {\n if (this$1.items[i].id === id) {\n this$1.items.splice(i, 1);\n --i;\n }\n }\n};\nErrorBag.prototype.remove = function remove (field, scope) {\n var this$1 = this;\n\n field = !isNullOrUndefined(field) ? String(field) : field;\n var removeCondition = function (e) {\n if (!isNullOrUndefined(scope)) {\n return e.field === field && e.scope === scope;\n }\n return e.field === field && e.scope === null;\n };\n for (var i = 0;i < this.items.length; ++i) {\n if (removeCondition(this$1.items[i])) {\n this$1.items.splice(i, 1);\n --i;\n }\n }\n};\nErrorBag.prototype._selector = function _selector (field) {\n if (field.indexOf(':') > -1) {\n var ref = field.split(':');\n var name = ref[0];\n var rule = ref[1];\n return {\n name: name,\n rule: rule\n };\n }\n return null;\n};\nErrorBag.prototype._scope = function _scope (field) {\n if (field.indexOf('.') > -1) {\n var ref = field.split('.');\n var scope = ref[0];\n var name = ref.slice(1);\n return {\n name: name.join('.'),\n scope: scope\n };\n }\n return null;\n};\n\nvar LOCALE = 'en';\nvar Dictionary = function Dictionary(dictionary) {\n if ( dictionary === void 0 ) dictionary = {};\n\n this.container = {};\n this.merge(dictionary);\n};\n\nvar prototypeAccessors = { locale: { configurable: true } };\nprototypeAccessors.locale.get = function () {\n return LOCALE;\n};\nprototypeAccessors.locale.set = function (value) {\n LOCALE = value || 'en';\n};\nDictionary.prototype.hasLocale = function hasLocale (locale) {\n return !(!this.container[locale]);\n};\nDictionary.prototype.setDateFormat = function setDateFormat (locale, format) {\n if (!this.container[locale]) {\n this.container[locale] = {};\n }\n this.container[locale].dateFormat = format;\n};\nDictionary.prototype.getDateFormat = function getDateFormat (locale) {\n if (!this.container[locale] || !this.container[locale].dateFormat) {\n return null;\n }\n return this.container[locale].dateFormat;\n};\nDictionary.prototype.getMessage = function getMessage (locale, key, data) {\n var message = null;\n if (!this.hasMessage(locale, key)) {\n message = this._getDefaultMessage(locale);\n } else {\n message = this.container[locale].messages[key];\n }\n return isCallable(message) ? message.apply(void 0, data) : message;\n};\nDictionary.prototype.getFieldMessage = function getFieldMessage (locale, field, key, data) {\n if (!this.hasLocale(locale)) {\n return this.getMessage(locale, key, data);\n }\n var dict = this.container[locale].custom && this.container[locale].custom[field];\n if (!dict || !dict[key]) {\n return this.getMessage(locale, key, data);\n }\n var message = dict[key];\n return isCallable(message) ? message.apply(void 0, data) : message;\n};\nDictionary.prototype._getDefaultMessage = function _getDefaultMessage (locale) {\n if (this.hasMessage(locale, '_default')) {\n return this.container[locale].messages._default;\n }\n return this.container.en.messages._default;\n};\nDictionary.prototype.getAttribute = function getAttribute (locale, key, fallback) {\n if ( fallback === void 0 ) fallback = '';\n\n if (!this.hasAttribute(locale, key)) {\n return fallback;\n }\n return this.container[locale].attributes[key];\n};\nDictionary.prototype.hasMessage = function hasMessage (locale, key) {\n return !(!(this.hasLocale(locale) && this.container[locale].messages && this.container[locale].messages[key]));\n};\nDictionary.prototype.hasAttribute = function hasAttribute (locale, key) {\n return !(!(this.hasLocale(locale) && this.container[locale].attributes && this.container[locale].attributes[key]));\n};\nDictionary.prototype.merge = function merge$1 (dictionary) {\n merge(this.container, dictionary);\n};\nDictionary.prototype.setMessage = function setMessage (locale, key, message) {\n if (!this.hasLocale(locale)) {\n this.container[locale] = {\n messages: {},\n attributes: {}\n };\n }\n this.container[locale].messages[key] = message;\n};\nDictionary.prototype.setAttribute = function setAttribute (locale, key, attribute) {\n if (!this.hasLocale(locale)) {\n this.container[locale] = {\n messages: {},\n attributes: {}\n };\n }\n this.container[locale].attributes[key] = attribute;\n};\n\nObject.defineProperties( Dictionary.prototype, prototypeAccessors );\n\nvar normalizeValue = function (value) {\n if (isObject(value)) {\n return Object.keys(value).reduce(function (prev, key) {\n prev[key] = normalizeValue(value[key]);\n return prev;\n }, {});\n }\n if (isCallable(value)) {\n return value('{0}', ['{1}','{2}','{3}']);\n }\n return value;\n};\nvar normalizeFormat = function (locale) {\n var messages = normalizeValue(locale.messages);\n var custom = normalizeValue(locale.custom);\n return {\n messages: messages,\n custom: custom,\n attributes: locale.attributes,\n dateFormat: locale.dateFormat\n };\n};\nvar I18nDictionary = function I18nDictionary(i18n, rootKey) {\n this.i18n = i18n;\n this.rootKey = rootKey;\n};\n\nvar prototypeAccessors$1 = { locale: { configurable: true } };\nprototypeAccessors$1.locale.get = function () {\n return this.i18n.locale;\n};\nprototypeAccessors$1.locale.set = function (value) {\n warn('Cannot set locale from the validator when using vue-i18n, use i18n.locale setter instead');\n};\nI18nDictionary.prototype.getDateFormat = function getDateFormat (locale) {\n return this.i18n.getDateTimeFormat(locale || this.locale);\n};\nI18nDictionary.prototype.setDateFormat = function setDateFormat (locale, value) {\n this.i18n.setDateTimeFormat(locale || this.locale, value);\n};\nI18nDictionary.prototype.getMessage = function getMessage (locale, key, data) {\n var path = (this.rootKey) + \".messages.\" + key;\n if (!this.i18n.te(path)) {\n return this.i18n.t(((this.rootKey) + \".messages._default\"), locale, data);\n }\n return this.i18n.t(path, locale, data);\n};\nI18nDictionary.prototype.getAttribute = function getAttribute (locale, key, fallback) {\n if ( fallback === void 0 ) fallback = '';\n\n var path = (this.rootKey) + \".attributes.\" + key;\n if (!this.i18n.te(path)) {\n return fallback;\n }\n return this.i18n.t(path, locale);\n};\nI18nDictionary.prototype.getFieldMessage = function getFieldMessage (locale, field, key, data) {\n var path = (this.rootKey) + \".custom.\" + field + \".\" + key;\n if (this.i18n.te(path)) {\n return this.i18n.t(path);\n }\n return this.getMessage(locale, key, data);\n};\nI18nDictionary.prototype.merge = function merge$1 (dictionary) {\n var this$1 = this;\n\n Object.keys(dictionary).forEach(function (localeKey) {\n var obj;\n\n var clone = merge({}, getPath((localeKey + \".\" + (this$1.rootKey)), this$1.i18n.messages, {}));\n var locale = merge(clone, normalizeFormat(dictionary[localeKey]));\n this$1.i18n.mergeLocaleMessage(localeKey, ( obj = {}, obj[this$1.rootKey] = locale, obj ));\n if (locale.dateFormat) {\n this$1.i18n.setDateTimeFormat(localeKey, locale.dateFormat);\n }\n });\n};\nI18nDictionary.prototype.setMessage = function setMessage (locale, key, value) {\n var obj, obj$1;\n\n this.merge(( obj$1 = {}, obj$1[locale] = {\n messages: ( obj = {}, obj[key] = value, obj )\n }, obj$1 ));\n};\nI18nDictionary.prototype.setAttribute = function setAttribute (locale, key, value) {\n var obj, obj$1;\n\n this.merge(( obj$1 = {}, obj$1[locale] = {\n attributes: ( obj = {}, obj[key] = value, obj )\n }, obj$1 ));\n};\n\nObject.defineProperties( I18nDictionary.prototype, prototypeAccessors$1 );\n\nvar defaultConfig = {\n locale: 'en',\n delay: 0,\n errorBagName: 'errors',\n dictionary: null,\n strict: true,\n fieldsBagName: 'fields',\n classes: false,\n classNames: null,\n events: 'input|blur',\n inject: true,\n fastExit: true,\n aria: true,\n validity: false,\n i18n: null,\n i18nRootKey: 'validation'\n};\nvar currentConfig = assign({}, defaultConfig);\nvar dependencies = {\n dictionary: new Dictionary({\n en: {\n messages: {},\n attributes: {},\n custom: {}\n }\n })\n};\nvar Config = function Config () {};\n\nvar staticAccessors = { default: { configurable: true },current: { configurable: true } };\n\nstaticAccessors.default.get = function () {\n return defaultConfig;\n};\nstaticAccessors.current.get = function () {\n return currentConfig;\n};\nConfig.dependency = function dependency (key) {\n return dependencies[key];\n};\nConfig.merge = function merge$$1 (config) {\n currentConfig = assign({}, currentConfig, config);\n if (currentConfig.i18n) {\n Config.register('dictionary', new I18nDictionary(currentConfig.i18n, currentConfig.i18nRootKey));\n }\n};\nConfig.register = function register (key, value) {\n dependencies[key] = value;\n};\nConfig.resolve = function resolve (context) {\n var selfConfig = getPath('$options.$_veeValidate', context, {});\n return assign({}, Config.current, selfConfig);\n};\n\nObject.defineProperties( Config, staticAccessors );\n\nvar Generator = function Generator () {};\n\nGenerator.generate = function generate (el, binding, vnode) {\n var model = Generator.resolveModel(binding, vnode);\n var options = Config.resolve(vnode.context);\n return {\n name: Generator.resolveName(el, vnode),\n el: el,\n listen: !binding.modifiers.disable,\n scope: Generator.resolveScope(el, binding, vnode),\n vm: Generator.makeVM(vnode.context),\n expression: binding.value,\n component: vnode.componentInstance,\n classes: options.classes,\n classNames: options.classNames,\n getter: Generator.resolveGetter(el, vnode, model),\n events: Generator.resolveEvents(el, vnode) || options.events,\n model: model,\n delay: Generator.resolveDelay(el, vnode, options),\n rules: Generator.resolveRules(el, binding),\n initial: !(!binding.modifiers.initial),\n validity: options.validity,\n aria: options.aria,\n initialValue: Generator.resolveInitialValue(vnode)\n };\n};\nGenerator.getCtorConfig = function getCtorConfig (vnode) {\n if (!vnode.componentInstance) \n { return null; }\n var config = getPath('componentInstance.$options.$_veeValidate', vnode);\n return config;\n};\nGenerator.resolveRules = function resolveRules (el, binding) {\n if (!binding.value && (!binding || !binding.expression)) {\n return getDataAttribute(el, 'rules');\n }\n if (binding.value && ~['string','object'].indexOf(typeof binding.value.rules)) {\n return binding.value.rules;\n }\n return binding.value;\n};\nGenerator.resolveInitialValue = function resolveInitialValue (vnode) {\n var model = vnode.data.model || find(vnode.data.directives, function (d) { return d.name === 'model'; });\n return model && model.value;\n};\nGenerator.makeVM = function makeVM (vm) {\n return {\n get $el() {\n return vm.$el;\n },\n get $refs() {\n return vm.$refs;\n },\n $watch: vm.$watch ? vm.$watch.bind(vm) : function () {},\n $validator: vm.$validator ? {\n errors: vm.$validator.errors,\n validate: vm.$validator.validate.bind(vm.$validator),\n update: vm.$validator.update.bind(vm.$validator)\n } : null\n };\n};\nGenerator.resolveDelay = function resolveDelay (el, vnode, options) {\n var delay = getDataAttribute(el, 'delay');\n var globalDelay = options && 'delay' in options ? options.delay : 0;\n if (!delay && vnode.componentInstance && vnode.componentInstance.$attrs) {\n delay = vnode.componentInstance.$attrs['data-vv-delay'];\n }\n if (!isObject(globalDelay)) {\n return deepParseInt(delay || globalDelay);\n }\n if (!isNullOrUndefined(delay)) {\n globalDelay.input = delay;\n }\n return deepParseInt(globalDelay);\n};\nGenerator.resolveEvents = function resolveEvents (el, vnode) {\n var events = getDataAttribute(el, 'validate-on');\n if (!events && vnode.componentInstance && vnode.componentInstance.$attrs) {\n events = vnode.componentInstance.$attrs['data-vv-validate-on'];\n }\n if (!events && vnode.componentInstance) {\n var config = Generator.getCtorConfig(vnode);\n events = config && config.events;\n }\n return events;\n};\nGenerator.resolveScope = function resolveScope (el, binding, vnode) {\n if ( vnode === void 0 ) vnode = {};\n\n var scope = null;\n if (vnode.componentInstance && isNullOrUndefined(scope)) {\n scope = vnode.componentInstance.$attrs && vnode.componentInstance.$attrs['data-vv-scope'];\n }\n return !isNullOrUndefined(scope) ? scope : getScope(el);\n};\nGenerator.resolveModel = function resolveModel (binding, vnode) {\n if (binding.arg) {\n return {\n expression: binding.arg\n };\n }\n var model = vnode.data.model || find(vnode.data.directives, function (d) { return d.name === 'model'; });\n if (!model) {\n return null;\n }\n var watchable = !/[^\\w.$]/.test(model.expression) && hasPath(model.expression, vnode.context);\n var lazy = !(!(model.modifiers && model.modifiers.lazy));\n if (!watchable) {\n return {\n expression: null,\n lazy: lazy\n };\n }\n return {\n expression: model.expression,\n lazy: lazy\n };\n};\nGenerator.resolveName = function resolveName (el, vnode) {\n var name = getDataAttribute(el, 'name');\n if (!name && !vnode.componentInstance) {\n return el.name;\n }\n if (!name && vnode.componentInstance && vnode.componentInstance.$attrs) {\n name = vnode.componentInstance.$attrs['data-vv-name'] || vnode.componentInstance.$attrs['name'];\n }\n if (!name && vnode.componentInstance) {\n var config = Generator.getCtorConfig(vnode);\n if (config && isCallable(config.name)) {\n var boundGetter = config.name.bind(vnode.componentInstance);\n return boundGetter();\n }\n return vnode.componentInstance.name;\n }\n return name;\n};\nGenerator.resolveGetter = function resolveGetter (el, vnode, model) {\n if (model && model.expression) {\n return function () { return getPath(model.expression, vnode.context); };\n }\n if (vnode.componentInstance) {\n var path = getDataAttribute(el, 'value-path') || vnode.componentInstance.$attrs && vnode.componentInstance.$attrs['data-vv-value-path'];\n if (path) {\n return function () { return getPath(path, vnode.componentInstance); };\n }\n var config = Generator.getCtorConfig(vnode);\n if (config && isCallable(config.value)) {\n var boundGetter = config.value.bind(vnode.componentInstance);\n return function () { return boundGetter(); };\n }\n return function () { return vnode.componentInstance.value; };\n }\n switch (el.type) {\n case 'checkbox':\n return function () {\n var els = document.querySelectorAll((\"input[name=\\\"\" + (el.name) + \"\\\"]\"));\n els = toArray(els).filter(function (el) { return el.checked; });\n if (!els.length) \n { return undefined; }\n return els.map(function (checkbox) { return checkbox.value; });\n };\n case 'radio':\n return function () {\n var els = document.querySelectorAll((\"input[name=\\\"\" + (el.name) + \"\\\"]\"));\n var elm = find(els, function (el) { return el.checked; });\n return elm && elm.value;\n };\n case 'file':\n return function (context) { return toArray(el.files); };\n case 'select-multiple':\n return function () { return toArray(el.options).filter(function (opt) { return opt.selected; }).map(function (opt) { return opt.value; }); };\n default:\n return function () { return el && el.value; };\n }\n};\n\nvar DEFAULT_OPTIONS = {\n targetOf: null,\n initial: false,\n scope: null,\n listen: true,\n name: null,\n rules: {},\n vm: null,\n classes: false,\n validity: true,\n aria: true,\n events: 'input|blur',\n delay: 0,\n classNames: {\n touched: 'touched',\n untouched: 'untouched',\n valid: 'valid',\n invalid: 'invalid',\n pristine: 'pristine',\n dirty: 'dirty'\n }\n};\nvar Field = function Field(options) {\n if ( options === void 0 ) options = {};\n\n this.id = uniqId();\n this.el = options.el;\n this.updated = false;\n this.dependencies = [];\n this.watchers = [];\n this.events = [];\n this.delay = 0;\n this.rules = {};\n this._cacheId(options);\n this.classNames = assign({}, DEFAULT_OPTIONS.classNames);\n options = assign({}, DEFAULT_OPTIONS, options);\n this._delay = !isNullOrUndefined(options.delay) ? options.delay : 0;\n this.validity = options.validity;\n this.aria = options.aria;\n this.flags = createFlags();\n this.vm = options.vm;\n this.component = options.component;\n this.ctorConfig = this.component ? getPath('$options.$_veeValidate', this.component) : undefined;\n this.update(options);\n this.initialValue = this.value;\n this.updated = false;\n};\n\nvar prototypeAccessors$2 = { validator: { configurable: true },isRequired: { configurable: true },isDisabled: { configurable: true },alias: { configurable: true },value: { configurable: true },rejectsFalse: { configurable: true } };\nprototypeAccessors$2.validator.get = function () {\n if (!this.vm || !this.vm.$validator) {\n warn('No validator instance detected.');\n return {\n validate: function () {}\n };\n }\n return this.vm.$validator;\n};\nprototypeAccessors$2.isRequired.get = function () {\n return !(!this.rules.required);\n};\nprototypeAccessors$2.isDisabled.get = function () {\n return !(!(this.component && this.component.disabled)) || !(!(this.el && this.el.disabled));\n};\nprototypeAccessors$2.alias.get = function () {\n if (this._alias) {\n return this._alias;\n }\n var alias = null;\n if (this.el) {\n alias = getDataAttribute(this.el, 'as');\n }\n if (!alias && this.component) {\n return this.component.$attrs && this.component.$attrs['data-vv-as'];\n }\n return alias;\n};\nprototypeAccessors$2.value.get = function () {\n if (!isCallable(this.getter)) {\n return undefined;\n }\n return this.getter();\n};\nprototypeAccessors$2.rejectsFalse.get = function () {\n if (this.component && this.ctorConfig) {\n return !(!this.ctorConfig.rejectsFalse);\n }\n if (!this.el) {\n return false;\n }\n return this.el.type === 'checkbox';\n};\nField.prototype.matches = function matches (options) {\n if (!options) {\n return true;\n }\n if (options.id) {\n return this.id === options.id;\n }\n if (options.name === undefined && options.scope === undefined) {\n return true;\n }\n if (options.scope === undefined) {\n return this.name === options.name;\n }\n if (options.name === undefined) {\n return this.scope === options.scope;\n }\n return options.name === this.name && options.scope === this.scope;\n};\nField.prototype._cacheId = function _cacheId (options) {\n if (this.el && !options.targetOf) {\n this.el._veeValidateId = this.id;\n }\n};\nField.prototype.update = function update (options) {\n this.targetOf = options.targetOf || null;\n this.initial = options.initial || this.initial || false;\n if (!isNullOrUndefined(options.scope) && options.scope !== this.scope && isCallable(this.validator.update)) {\n this.validator.update(this.id, {\n scope: options.scope\n });\n }\n this.scope = !isNullOrUndefined(options.scope) ? options.scope : !isNullOrUndefined(this.scope) ? this.scope : null;\n this.name = (!isNullOrUndefined(options.name) ? String(options.name) : options.name) || this.name || null;\n this.rules = options.rules !== undefined ? normalizeRules(options.rules) : this.rules;\n this.model = options.model || this.model;\n this.listen = options.listen !== undefined ? options.listen : this.listen;\n this.classes = (options.classes || this.classes || false) && !this.component;\n this.classNames = isObject(options.classNames) ? merge(this.classNames, options.classNames) : this.classNames;\n this.getter = isCallable(options.getter) ? options.getter : this.getter;\n this._alias = options.alias || this._alias;\n this.events = options.events ? makeEventsArray(options.events) : this.events;\n this.delay = makeDelayObject(this.events, options.delay || this.delay, this._delay);\n this.updateDependencies();\n this.addActionListeners();\n if (!this.name && !this.targetOf) {\n warn('A field is missing a \"name\" or \"data-vv-name\" attribute');\n }\n if (options.rules !== undefined) {\n this.flags.required = this.isRequired;\n }\n if (this.flags.validated && options.rules !== undefined && this.updated) {\n this.validator.validate((\"#\" + (this.id)));\n }\n this.updated = true;\n this.addValueListeners();\n if (!this.el) {\n return;\n }\n this.updateClasses();\n this.updateAriaAttrs();\n};\nField.prototype.reset = function reset () {\n var this$1 = this;\n\n if (this._cancellationToken) {\n this._cancellationToken.cancelled = true;\n delete this._cancellationToken;\n }\n var defaults = createFlags();\n Object.keys(this.flags).filter(function (flag) { return flag !== 'required'; }).forEach(function (flag) {\n this$1.flags[flag] = defaults[flag];\n });\n this.addActionListeners();\n this.updateClasses();\n this.updateAriaAttrs();\n this.updateCustomValidity();\n};\nField.prototype.setFlags = function setFlags (flags) {\n var this$1 = this;\n\n var negated = {\n pristine: 'dirty',\n dirty: 'pristine',\n valid: 'invalid',\n invalid: 'valid',\n touched: 'untouched',\n untouched: 'touched'\n };\n Object.keys(flags).forEach(function (flag) {\n this$1.flags[flag] = flags[flag];\n if (negated[flag] && flags[negated[flag]] === undefined) {\n this$1.flags[negated[flag]] = !flags[flag];\n }\n });\n if (flags.untouched !== undefined || flags.touched !== undefined || flags.dirty !== undefined || flags.pristine !== undefined) {\n this.addActionListeners();\n }\n this.updateClasses();\n this.updateAriaAttrs();\n this.updateCustomValidity();\n};\nField.prototype.updateDependencies = function updateDependencies () {\n var this$1 = this;\n\n this.dependencies.forEach(function (d) { return d.field.destroy(); });\n this.dependencies = [];\n var fields = Object.keys(this.rules).reduce(function (prev, r) {\n if (Validator.isTargetRule(r)) {\n var selector = this$1.rules[r][0];\n if (r === 'confirmed' && !selector) {\n selector = (this$1.name) + \"_confirmation\";\n }\n prev.push({\n selector: selector,\n name: r\n });\n }\n return prev;\n }, []);\n if (!fields.length || !this.vm || !this.vm.$el) \n { return; }\n fields.forEach(function (ref) {\n var selector = ref.selector;\n var name = ref.name;\n\n var el = null;\n if (selector[0] === '$') {\n var ref$1 = this$1.vm.$refs[selector.slice(1)];\n el = Array.isArray(ref$1) ? ref$1[0] : ref$1;\n } else {\n try {\n el = this$1.vm.$el.querySelector(selector);\n } catch (err) {\n el = null;\n }\n }\n if (!el) {\n try {\n el = this$1.vm.$el.querySelector((\"input[name=\\\"\" + selector + \"\\\"]\"));\n } catch (err) {\n el = null;\n }\n }\n if (!el) {\n return;\n }\n var options = {\n vm: this$1.vm,\n classes: this$1.classes,\n classNames: this$1.classNames,\n delay: this$1.delay,\n scope: this$1.scope,\n events: this$1.events.join('|'),\n initial: this$1.initial,\n targetOf: this$1.id\n };\n if (isCallable(el.$watch)) {\n options.component = el;\n options.el = el.$el;\n options.getter = Generator.resolveGetter(el.$el, {\n child: el\n });\n } else {\n options.el = el;\n options.getter = Generator.resolveGetter(el, {});\n }\n this$1.dependencies.push({\n name: name,\n field: new Field(options)\n });\n });\n};\nField.prototype.unwatch = function unwatch (tag) {\n if ( tag === void 0 ) tag = null;\n\n if (!tag) {\n this.watchers.forEach(function (w) { return w.unwatch(); });\n this.watchers = [];\n return;\n }\n this.watchers.filter(function (w) { return tag.test(w.tag); }).forEach(function (w) { return w.unwatch(); });\n this.watchers = this.watchers.filter(function (w) { return !tag.test(w.tag); });\n};\nField.prototype.updateClasses = function updateClasses () {\n var this$1 = this;\n\n if (!this.classes || this.isDisabled) \n { return; }\n var applyClasses = function (el) {\n toggleClass(el, this$1.classNames.dirty, this$1.flags.dirty);\n toggleClass(el, this$1.classNames.pristine, this$1.flags.pristine);\n toggleClass(el, this$1.classNames.touched, this$1.flags.touched);\n toggleClass(el, this$1.classNames.untouched, this$1.flags.untouched);\n if (!isNullOrUndefined(this$1.flags.valid) && this$1.flags.validated) {\n toggleClass(el, this$1.classNames.valid, this$1.flags.valid);\n }\n if (!isNullOrUndefined(this$1.flags.invalid) && this$1.flags.validated) {\n toggleClass(el, this$1.classNames.invalid, this$1.flags.invalid);\n }\n };\n if (!isCheckboxOrRadioInput(this.el)) {\n applyClasses(this.el);\n return;\n }\n var els = document.querySelectorAll((\"input[name=\\\"\" + (this.el.name) + \"\\\"]\"));\n toArray(els).forEach(applyClasses);\n};\nField.prototype.addActionListeners = function addActionListeners () {\n var this$1 = this;\n\n this.unwatch(/class/);\n if (!this.el) \n { return; }\n var onBlur = function () {\n this$1.flags.touched = true;\n this$1.flags.untouched = false;\n if (this$1.classes) {\n toggleClass(this$1.el, this$1.classNames.touched, true);\n toggleClass(this$1.el, this$1.classNames.untouched, false);\n }\n this$1.unwatch(/^class_blur$/);\n };\n var inputEvent = isTextInput(this.el) ? 'input' : 'change';\n var onInput = function () {\n this$1.flags.dirty = true;\n this$1.flags.pristine = false;\n if (this$1.classes) {\n toggleClass(this$1.el, this$1.classNames.pristine, false);\n toggleClass(this$1.el, this$1.classNames.dirty, true);\n }\n this$1.unwatch(/^class_input$/);\n };\n if (this.component && isCallable(this.component.$once)) {\n this.component.$once('input', onInput);\n this.component.$once('blur', onBlur);\n this.watchers.push({\n tag: 'class_input',\n unwatch: function () {\n this$1.component.$off('input', onInput);\n }\n });\n this.watchers.push({\n tag: 'class_blur',\n unwatch: function () {\n this$1.component.$off('blur', onBlur);\n }\n });\n return;\n }\n if (!this.el) \n { return; }\n addEventListener(this.el, inputEvent, onInput);\n var blurEvent = isCheckboxOrRadioInput(this.el) ? 'change' : 'blur';\n addEventListener(this.el, blurEvent, onBlur);\n this.watchers.push({\n tag: 'class_input',\n unwatch: function () {\n this$1.el.removeEventListener(inputEvent, onInput);\n }\n });\n this.watchers.push({\n tag: 'class_blur',\n unwatch: function () {\n this$1.el.removeEventListener(blurEvent, onBlur);\n }\n });\n};\nField.prototype.checkValueChanged = function checkValueChanged () {\n if (this.initialValue === null && this.value === '' && isTextInput(this.el)) {\n return false;\n }\n return this.value !== this.initialValue;\n};\nField.prototype.addValueListeners = function addValueListeners () {\n var this$1 = this;\n\n this.unwatch(/^input_.+/);\n if (!this.listen || !this.el) \n { return; }\n var token = {\n cancelled: false\n };\n var fn = this.targetOf ? function () {\n this$1.flags.changed = this$1.checkValueChanged();\n this$1.validator.validate((\"#\" + (this$1.targetOf)));\n } : function () {\n var args = [], len = arguments.length;\n while ( len-- ) args[ len ] = arguments[ len ];\n\n if (args.length === 0 || isCallable(Event) && args[0] instanceof Event || args[0] && args[0].srcElement) {\n args[0] = this$1.value;\n }\n this$1.flags.changed = this$1.checkValueChanged();\n this$1.validator.validate((\"#\" + (this$1.id)), args[0]);\n };\n var inputEvent = this.component || isTextInput(this.el) ? 'input' : 'change';\n inputEvent = this.model && this.model.lazy ? 'change' : inputEvent;\n var events = !this.events.length || this.component || isTextInput(this.el) ? this.events : ['change'];\n if (this.model && this.model.expression && events.indexOf(inputEvent) !== -1) {\n var debouncedFn = debounce(fn, this.delay[inputEvent], false, token);\n var unwatch = this.vm.$watch(this.model.expression, function () {\n var args = [], len = arguments.length;\n while ( len-- ) args[ len ] = arguments[ len ];\n\n this$1.flags.pending = true;\n this$1._cancellationToken = token;\n debouncedFn.apply(void 0, args);\n });\n this.watchers.push({\n tag: 'input_model',\n unwatch: unwatch\n });\n events = events.filter(function (e) { return e !== inputEvent; });\n }\n events.forEach(function (e) {\n var debouncedFn = debounce(fn, this$1.delay[e], false, token);\n var validate = function () {\n var args = [], len = arguments.length;\n while ( len-- ) args[ len ] = arguments[ len ];\n\n this$1.flags.pending = true;\n this$1._cancellationToken = token;\n debouncedFn.apply(void 0, args);\n };\n this$1._addComponentEventListener(e, validate);\n this$1._addHTMLEventListener(e, validate);\n });\n};\nField.prototype._addComponentEventListener = function _addComponentEventListener (evt, validate) {\n var this$1 = this;\n\n if (!this.component) \n { return; }\n this.component.$on(evt, validate);\n this.watchers.push({\n tag: 'input_vue',\n unwatch: function () {\n this$1.component.$off(evt, validate);\n }\n });\n};\nField.prototype._addHTMLEventListener = function _addHTMLEventListener (evt, validate) {\n var this$1 = this;\n\n if (!this.el || this.component) \n { return; }\n var addListener = function (el) {\n addEventListener(el, evt, validate);\n this$1.watchers.push({\n tag: 'input_native',\n unwatch: function () {\n el.removeEventListener(evt, validate);\n }\n });\n };\n addListener(this.el);\n if (!isCheckboxOrRadioInput(this.el)) {\n return;\n }\n var els = document.querySelectorAll((\"input[name=\\\"\" + (this.el.name) + \"\\\"]\"));\n toArray(els).forEach(function (el) {\n if (el._veeValidateId && el !== this$1.el) {\n return;\n }\n addListener(el);\n });\n};\nField.prototype.updateAriaAttrs = function updateAriaAttrs () {\n var this$1 = this;\n\n if (!this.aria || !this.el || !isCallable(this.el.setAttribute)) \n { return; }\n var applyAriaAttrs = function (el) {\n el.setAttribute('aria-required', this$1.isRequired ? 'true' : 'false');\n el.setAttribute('aria-invalid', this$1.flags.invalid ? 'true' : 'false');\n };\n if (!isCheckboxOrRadioInput(this.el)) {\n applyAriaAttrs(this.el);\n return;\n }\n var els = document.querySelectorAll((\"input[name=\\\"\" + (this.el.name) + \"\\\"]\"));\n toArray(els).forEach(applyAriaAttrs);\n};\nField.prototype.updateCustomValidity = function updateCustomValidity () {\n if (!this.validity || !this.el || !isCallable(this.el.setCustomValidity) || !this.validator.errors) \n { return; }\n this.el.setCustomValidity(this.flags.valid ? '' : this.validator.errors.firstById(this.id) || '');\n};\nField.prototype.destroy = function destroy () {\n this.unwatch();\n this.dependencies.forEach(function (d) { return d.field.destroy(); });\n this.dependencies = [];\n};\n\nObject.defineProperties( Field.prototype, prototypeAccessors$2 );\n\nvar FieldBag = function FieldBag() {\n this.items = [];\n};\n\nvar prototypeAccessors$3 = { length: { configurable: true } };\nFieldBag.prototype[typeof Symbol === 'function' ? Symbol.iterator : '@@iterator'] = function () {\n var this$1 = this;\n\n var index = 0;\n return {\n next: function () { return ({\n value: this$1.items[index++],\n done: index > this$1.items.length\n }); }\n };\n};\nprototypeAccessors$3.length.get = function () {\n return this.items.length;\n};\nFieldBag.prototype.find = function find$1 (matcher) {\n return find(this.items, function (item) { return item.matches(matcher); });\n};\nFieldBag.prototype.filter = function filter (matcher) {\n if (Array.isArray(matcher)) {\n return this.items.filter(function (item) { return matcher.some(function (m) { return item.matches(m); }); });\n }\n return this.items.filter(function (item) { return item.matches(matcher); });\n};\nFieldBag.prototype.map = function map (mapper) {\n return this.items.map(mapper);\n};\nFieldBag.prototype.remove = function remove (matcher) {\n var item = null;\n if (matcher instanceof Field) {\n item = matcher;\n } else {\n item = this.find(matcher);\n }\n if (!item) \n { return null; }\n var index = this.items.indexOf(item);\n this.items.splice(index, 1);\n return item;\n};\nFieldBag.prototype.push = function push (item) {\n if (!(item instanceof Field)) {\n throw createError('FieldBag only accepts instances of Field that has an id defined.');\n }\n if (!item.id) {\n throw createError('Field id must be defined.');\n }\n if (this.find({\n id: item.id\n })) {\n throw createError((\"Field with id \" + (item.id) + \" is already added.\"));\n }\n this.items.push(item);\n};\n\nObject.defineProperties( FieldBag.prototype, prototypeAccessors$3 );\n\nvar RULES = {};\nvar STRICT_MODE = true;\nvar TARGET_RULES = ['confirmed','after','before'];\nvar Validator = function Validator(validations, options) {\n var this$1 = this;\n if ( options === void 0 ) options = {\n fastExit: true\n};\n\n this.strict = STRICT_MODE;\n this.errors = new ErrorBag();\n this.fields = new FieldBag();\n this.flags = {};\n this._createFields(validations);\n this.paused = false;\n this.fastExit = options.fastExit || false;\n this.ownerId = options.vm && options.vm._uid;\n this._localeListener = (function () {\n this$1.errors.regenerate();\n });\n if (this._vm) {\n this._vm.$on('localeChanged', this._localeListener);\n }\n};\n\nvar prototypeAccessors$4 = { dictionary: { configurable: true },_vm: { configurable: true },locale: { configurable: true },rules: { configurable: true } };\nvar staticAccessors$1 = { dictionary: { configurable: true },locale: { configurable: true },rules: { configurable: true } };\nprototypeAccessors$4.dictionary.get = function () {\n return Config.dependency('dictionary');\n};\nprototypeAccessors$4._vm.get = function () {\n return Config.dependency('vm');\n};\nstaticAccessors$1.dictionary.get = function () {\n return Config.dependency('dictionary');\n};\nprototypeAccessors$4.locale.get = function () {\n return this.dictionary.locale;\n};\nprototypeAccessors$4.locale.set = function (value) {\n Validator.locale = value;\n};\nstaticAccessors$1.locale.get = function () {\n return Validator.dictionary.locale;\n};\nstaticAccessors$1.locale.set = function (value) {\n var hasChanged = value !== Validator.dictionary.locale;\n Validator.dictionary.locale = value;\n if (hasChanged && Config.dependency('vm')) {\n Config.dependency('vm').$emit('localeChanged');\n }\n};\nprototypeAccessors$4.rules.get = function () {\n return RULES;\n};\nstaticAccessors$1.rules.get = function () {\n return RULES;\n};\nValidator.create = function create (validations, options) {\n return new Validator(validations, options);\n};\nValidator.extend = function extend (name, validator, options) {\n if ( options === void 0 ) options = {};\n\n Validator._guardExtend(name, validator);\n Validator._merge(name, validator);\n if (options && options.hasTarget) {\n TARGET_RULES.push(name);\n }\n};\nValidator.remove = function remove (name) {\n delete RULES[name];\n var idx = TARGET_RULES.indexOf(name);\n if (idx === -1) \n { return; }\n TARGET_RULES.splice(idx, 1);\n};\nValidator.isTargetRule = function isTargetRule (name) {\n return TARGET_RULES.indexOf(name) !== -1;\n};\nValidator.setStrictMode = function setStrictMode (strictMode) {\n if ( strictMode === void 0 ) strictMode = true;\n\n STRICT_MODE = strictMode;\n};\nValidator.prototype.localize = function localize (lang, dictionary) {\n Validator.localize(lang, dictionary);\n};\nValidator.localize = function localize (lang, dictionary) {\n var obj;\n\n if (isObject(lang)) {\n Validator.dictionary.merge(lang);\n return;\n }\n if (dictionary) {\n var locale = lang || dictionary.name;\n dictionary = assign({}, dictionary);\n Validator.dictionary.merge(( obj = {}, obj[locale] = dictionary, obj ));\n }\n if (lang) {\n Validator.locale = lang;\n }\n};\nValidator.prototype.attach = function attach (field) {\n if (arguments.length > 1) {\n warn('This signature of the attach method has been deprecated, please consult the docs.');\n field = assign({}, {\n name: arguments[0],\n rules: arguments[1]\n }, arguments[2] || {\n vm: {\n $validator: this\n }\n });\n }\n var value = field.initialValue;\n if (!(field instanceof Field)) {\n field = new Field(field);\n }\n this.fields.push(field);\n if (field.initial) {\n this.validate((\"#\" + (field.id)), value || field.value);\n } else {\n this._validate(field, value || field.value, true).then(function (result) {\n field.flags.valid = result.valid;\n field.flags.invalid = !result.valid;\n });\n }\n this._addFlag(field, field.scope);\n return field;\n};\nValidator.prototype.flag = function flag (name, flags) {\n var field = this._resolveField(name);\n if (!field || !flags) {\n return;\n }\n field.setFlags(flags);\n};\nValidator.prototype.detach = function detach (name, scope) {\n var field = name instanceof Field ? name : this._resolveField(name, scope);\n if (!field) \n { return; }\n field.destroy();\n this.errors.remove(field.name, field.scope, field.id);\n this.fields.remove(field);\n var flags = this.flags;\n if (!isNullOrUndefined(field.scope) && flags[(\"$\" + (field.scope))]) {\n delete flags[(\"$\" + (field.scope))][field.name];\n } else if (isNullOrUndefined(field.scope)) {\n delete flags[field.name];\n }\n this.flags = assign({}, flags);\n};\nValidator.prototype.extend = function extend (name, validator, options) {\n if ( options === void 0 ) options = {};\n\n Validator.extend(name, validator, options);\n};\nValidator.prototype.reset = function reset (matcher) {\n return new Promise((function ($return, $error) {\n return this._vm.$nextTick().then((function ($await_1) {\n try {\n return this._vm.$nextTick().then((function ($await_2) {\n var this$1 = this;\n\n try {\n this.fields.filter(matcher).forEach(function (field) {\n field.reset();\n this$1.errors.remove(field.name, field.scope, field.id);\n });\n return $return();\n } catch ($boundEx) {\n return $error($boundEx);\n }\n }).bind(this), $error);\n } catch ($boundEx) {\n return $error($boundEx);\n }\n }).bind(this), $error);\n }).bind(this));\n};\nValidator.prototype.update = function update (id, ref) {\n var scope = ref.scope;\n\n var field = this._resolveField((\"#\" + id));\n if (!field) \n { return; }\n this.errors.update(id, {\n scope: scope\n });\n if (!isNullOrUndefined(field.scope) && this.flags[(\"$\" + (field.scope))]) {\n delete this.flags[(\"$\" + (field.scope))][field.name];\n } else if (isNullOrUndefined(field.scope)) {\n delete this.flags[field.name];\n }\n this._addFlag(field, scope);\n};\nValidator.prototype.remove = function remove (name) {\n Validator.remove(name);\n};\nValidator.prototype.validate = function validate (name, value, scope, silent) {\n if ( scope === void 0 ) scope = null;\n if ( silent === void 0 ) silent = false;\n\n var $args = arguments;\n return new Promise((function ($return, $error) {\n var matched, field, result;\n if (this.paused) \n { return $return(Promise.resolve(true)); }\n if ($args.length === 0) {\n return $return(this.validateScopes());\n }\n if ($args.length === 1 && $args[0] === '*') {\n return $return(this.validateAll());\n }\n if ($args.length === 1 && typeof $args[0] === 'string' && /^(.+)\\.\\*$/.test($args[0])) {\n matched = $args[0].match(/^(.+)\\.\\*$/)[1];\n return $return(this.validateAll(matched));\n }\n field = this._resolveField(name, scope);\n if (!field) {\n return $return(this._handleFieldNotFound(name, scope));\n }\n if (!silent) \n { field.flags.pending = true; }\n if ($args.length === 1) {\n value = field.value;\n }\n return this._validate(field, value).then((function ($await_3) {\n try {\n result = $await_3;\n if (!silent) {\n this._handleValidationResults([result]);\n }\n return $return(result.valid);\n } catch ($boundEx) {\n return $error($boundEx);\n }\n }).bind(this), $error);\n }).bind(this));\n};\nValidator.prototype.pause = function pause () {\n this.paused = true;\n return this;\n};\nValidator.prototype.resume = function resume () {\n this.paused = false;\n return this;\n};\nValidator.prototype.validateAll = function validateAll (values, scope, silent) {\n if ( scope === void 0 ) scope = null;\n if ( silent === void 0 ) silent = false;\n\n return new Promise((function ($return, $error) {\n var this$1 = this;\n\n var results;\n var matcher, providedValues;\n if (this.paused) \n { return $return(true); }\n matcher = null;\n providedValues = false;\n if (typeof values === 'string') {\n matcher = {\n scope: values\n };\n } else if (isObject(values)) {\n matcher = Object.keys(values).map(function (key) { return ({\n name: key,\n scope: scope\n }); });\n providedValues = true;\n } else if (Array.isArray(values)) {\n matcher = values.map(function (key) { return ({\n name: key,\n scope: scope\n }); });\n } else {\n matcher = {\n scope: scope\n };\n }\n return Promise.all(this.fields.filter(matcher).map(function (field) { return this$1._validate(field, providedValues ? values[field.name] : field.value); })).then((function ($await_4) {\n try {\n results = $await_4;\n if (!silent) {\n this._handleValidationResults(results);\n }\n return $return(results.every(function (t) { return t.valid; }));\n } catch ($boundEx) {\n return $error($boundEx);\n }\n }).bind(this), $error);\n }).bind(this));\n};\nValidator.prototype.validateScopes = function validateScopes (silent) {\n if ( silent === void 0 ) silent = false;\n\n return new Promise((function ($return, $error) {\n var this$1 = this;\n\n var results;\n if (this.paused) \n { return $return(true); }\n return Promise.all(this.fields.map(function (field) { return this$1._validate(field, field.value); })).then((function ($await_5) {\n try {\n results = $await_5;\n if (!silent) {\n this._handleValidationResults(results);\n }\n return $return(results.every(function (t) { return t.valid; }));\n } catch ($boundEx) {\n return $error($boundEx);\n }\n }).bind(this), $error);\n }).bind(this));\n};\nValidator.prototype.destroy = function destroy () {\n this._vm.$off('localeChanged', this._localeListener);\n};\nValidator.prototype._createFields = function _createFields (validations) {\n var this$1 = this;\n\n if (!validations) \n { return; }\n Object.keys(validations).forEach(function (field) {\n var options = assign({}, {\n name: field,\n rules: validations[field]\n });\n this$1.attach(options);\n });\n};\nValidator.prototype._getDateFormat = function _getDateFormat (validations) {\n var format = null;\n if (validations.date_format && Array.isArray(validations.date_format)) {\n format = validations.date_format[0];\n }\n return format || this.dictionary.getDateFormat(this.locale);\n};\nValidator.prototype._isADateRule = function _isADateRule (rule) {\n return !(!(~['after','before','date_between','date_format'].indexOf(rule)));\n};\nValidator.prototype._formatErrorMessage = function _formatErrorMessage (field, rule, data, targetName) {\n if ( data === void 0 ) data = {};\n if ( targetName === void 0 ) targetName = null;\n\n var name = this._getFieldDisplayName(field);\n var params = this._getLocalizedParams(rule, targetName);\n return this.dictionary.getFieldMessage(this.locale, field.name, rule.name, [name,\n params,data]);\n};\nValidator.prototype._getLocalizedParams = function _getLocalizedParams (rule, targetName) {\n if ( targetName === void 0 ) targetName = null;\n\n if (~TARGET_RULES.indexOf(rule.name) && rule.params && rule.params[0]) {\n var localizedName = targetName || this.dictionary.getAttribute(this.locale, rule.params[0], rule.params[0]);\n return [localizedName].concat(rule.params.slice(1));\n }\n return rule.params;\n};\nValidator.prototype._getFieldDisplayName = function _getFieldDisplayName (field) {\n return field.alias || this.dictionary.getAttribute(this.locale, field.name, field.name);\n};\nValidator.prototype._addFlag = function _addFlag (field, scope) {\n var obj, obj$1, obj$2;\n\n if ( scope === void 0 ) scope = null;\n if (isNullOrUndefined(scope)) {\n this.flags = assign({}, this.flags, ( obj = {}, obj[(\"\" + (field.name))] = field.flags, obj ));\n return;\n }\n var scopeObj = assign({}, this.flags[(\"$\" + scope)] || {}, ( obj$1 = {}, obj$1[(\"\" + (field.name))] = field.flags, obj$1 ));\n this.flags = assign({}, this.flags, ( obj$2 = {}, obj$2[(\"$\" + scope)] = scopeObj, obj$2 ));\n};\nValidator.prototype._test = function _test (field, value, rule) {\n var this$1 = this;\n\n var validator = RULES[rule.name];\n var params = Array.isArray(rule.params) ? toArray(rule.params) : [];\n var targetName = null;\n if (!validator || typeof validator !== 'function') {\n throw createError((\"No such validator '\" + (rule.name) + \"' exists.\"));\n }\n if (TARGET_RULES.indexOf(rule.name) !== -1) {\n var target = find(field.dependencies, function (d) { return d.name === rule.name; });\n if (target) {\n targetName = target.field.alias;\n params = [target.field.value].concat(params.slice(1));\n }\n } else if (rule.name === 'required' && field.rejectsFalse) {\n params = params.length ? params : [true];\n }\n if (this._isADateRule(rule.name)) {\n var dateFormat = this._getDateFormat(field.rules);\n if (rule.name !== 'date_format') {\n params.push(dateFormat);\n }\n }\n var result = validator(value, params);\n if (isCallable(result.then)) {\n return result.then(function (values) {\n var allValid = true;\n var data = {};\n if (Array.isArray(values)) {\n allValid = values.every(function (t) { return isObject(t) ? t.valid : t; });\n } else {\n allValid = isObject(values) ? values.valid : values;\n data = values.data;\n }\n return {\n valid: allValid,\n errors: allValid ? [] : [this$1._createFieldError(field, rule, data, targetName)]\n };\n });\n }\n if (!isObject(result)) {\n result = {\n valid: result,\n data: {}\n };\n }\n return {\n valid: result.valid,\n errors: result.valid ? [] : [this._createFieldError(field, rule, result.data, targetName)]\n };\n};\nValidator._merge = function _merge (name, validator) {\n if (isCallable(validator)) {\n RULES[name] = validator;\n return;\n }\n RULES[name] = validator.validate;\n if (validator.getMessage) {\n Validator.dictionary.setMessage(this.locale, name, validator.getMessage);\n }\n};\nValidator._guardExtend = function _guardExtend (name, validator) {\n if (isCallable(validator)) {\n return;\n }\n if (!isCallable(validator.validate)) {\n throw createError((\"Extension Error: The validator '\" + name + \"' must be a function or have a 'validate' method.\"));\n }\n};\nValidator.prototype._createFieldError = function _createFieldError (field, rule, data, targetName) {\n var this$1 = this;\n\n return {\n id: field.id,\n field: field.name,\n msg: this._formatErrorMessage(field, rule, data, targetName),\n rule: rule.name,\n scope: field.scope,\n regenerate: function () { return this$1._formatErrorMessage(field, rule, data, targetName); }\n };\n};\nValidator.prototype._resolveField = function _resolveField (name, scope) {\n if (!isNullOrUndefined(scope)) {\n return this.fields.find({\n name: name,\n scope: scope\n });\n }\n if (name[0] === '#') {\n return this.fields.find({\n id: name.slice(1)\n });\n }\n if (name.indexOf('.') > -1) {\n var ref = name.split('.');\n var fieldScope = ref[0];\n var fieldName = ref.slice(1);\n var field = this.fields.find({\n name: fieldName.join('.'),\n scope: fieldScope\n });\n if (field) {\n return field;\n }\n }\n return this.fields.find({\n name: name,\n scope: null\n });\n};\nValidator.prototype._handleFieldNotFound = function _handleFieldNotFound (name, scope) {\n if (!this.strict) \n { return true; }\n var fullName = isNullOrUndefined(scope) ? name : (\"\" + (!isNullOrUndefined(scope) ? scope + '.' : '') + name);\n throw createError((\"Validating a non-existent field: \\\"\" + fullName + \"\\\". Use \\\"attach()\\\" first.\"));\n};\nValidator.prototype._handleValidationResults = function _handleValidationResults (results) {\n var matchers = results.map(function (result) { return ({\n id: result.id\n }); });\n this.errors.removeById(matchers.map(function (m) { return m.id; }));\n var allErrors = results.reduce(function (prev, curr) {\n prev.push.apply(prev, curr.errors);\n return prev;\n }, []);\n this.errors.add(allErrors);\n this.fields.filter(matchers).forEach(function (field) {\n var result = find(results, function (r) { return r.id === field.id; });\n field.setFlags({\n pending: false,\n valid: result.valid,\n validated: true\n });\n });\n};\nValidator.prototype._validate = function _validate (field, value) {\n return new Promise((function ($return, $error) {\n var this$1 = this;\n\n var promises, errors;\n var isExitEarly;\n if (field.isDisabled || !field.isRequired && (isNullOrUndefined(value) || value === '')) {\n return $return({\n valid: true,\n id: field.id,\n errors: []\n });\n }\n promises = [];\n errors = [];\n isExitEarly = false;\n Object.keys(field.rules).some(function (rule) {\n var result = this$1._test(field, value, {\n name: rule,\n params: field.rules[rule]\n });\n if (isCallable(result.then)) {\n promises.push(result);\n } else if (this$1.fastExit && !result.valid) {\n errors.push.apply(errors, result.errors);\n isExitEarly = true;\n } else {\n promises.push(new Promise(function (resolve) { return resolve(result); }));\n }\n return isExitEarly;\n });\n if (isExitEarly) {\n return $return({\n valid: false,\n errors: errors,\n id: field.id\n });\n }\n return Promise.all(promises).then((function ($await_6) {\n try {\n return $return($await_6.reduce(function (prev, v) {\n var ref;\n\n if (!v.valid) {\n (ref = prev.errors).push.apply(ref, v.errors);\n }\n prev.valid = prev.valid && v.valid;\n return prev;\n }, {\n valid: true,\n errors: errors,\n id: field.id\n }));\n } catch ($boundEx) {\n return $error($boundEx);\n }\n }).bind(this), $error);\n }).bind(this));\n};\n\nObject.defineProperties( Validator.prototype, prototypeAccessors$4 );\nObject.defineProperties( Validator, staticAccessors$1 );\n\nvar requestsValidator = function (injections) {\n if (isObject(injections) && injections.$validator) {\n return true;\n }\n return false;\n};\nvar createValidator = function (vm, options) { return new Validator(null, {\n vm: vm,\n fastExit: options.fastExit\n}); };\nvar mixin = {\n provide: function provide() {\n if (this.$validator && !isBuiltInComponent(this.$vnode)) {\n return {\n $validator: this.$validator\n };\n }\n return {};\n },\n beforeCreate: function beforeCreate() {\n if (isBuiltInComponent(this.$vnode)) {\n return;\n }\n if (!this.$parent) {\n Config.merge(this.$options.$_veeValidate || {});\n }\n var options = Config.resolve(this);\n var Vue = this.$options._base;\n if (this.$options.$validates) {\n warn('The ctor $validates option has been deprecated please set the $_veeValidate.validator option to \"new\" instead');\n this.$validator = createValidator(this, options);\n }\n if (!this.$parent || this.$options.$_veeValidate && /new/.test(this.$options.$_veeValidate.validator)) {\n this.$validator = createValidator(this, options);\n }\n var requested = requestsValidator(this.$options.inject);\n if (!this.$validator && options.inject && !requested) {\n this.$validator = createValidator(this, options);\n }\n if (!requested && !this.$validator) {\n return;\n }\n if (!requested && this.$validator) {\n Vue.util.defineReactive(this.$validator, 'errors', this.$validator.errors);\n Vue.util.defineReactive(this.$validator, 'flags', this.$validator.flags);\n }\n if (!this.$options.computed) {\n this.$options.computed = {};\n }\n this.$options.computed[options.errorBagName || 'errors'] = function errorBagGetter() {\n return this.$validator.errors;\n };\n this.$options.computed[options.fieldsBagName || 'fields'] = function fieldBagGetter() {\n return this.$validator.flags;\n };\n },\n beforeDestroy: function beforeDestroy() {\n if (isBuiltInComponent(this.$vnode)) \n { return; }\n if (this.$validator && this.$validator.ownerId === this._uid) {\n this.$validator.pause();\n this.$validator.destroy();\n }\n }\n}\n\nfunction findField(el, context) {\n if (!context || !context.$validator) {\n return null;\n }\n return context.$validator.fields.find({\n id: el._veeValidateId\n });\n}\nvar directive = {\n bind: function bind(el, binding, vnode) {\n var validator = vnode.context.$validator;\n if (!validator) {\n warn(\"No validator instance is present on vm, did you forget to inject '$validator'?\");\n return;\n }\n var fieldOptions = Generator.generate(el, binding, vnode);\n validator.attach(fieldOptions);\n },\n inserted: function inserted(el, binding, vnode) {\n var field = findField(el, vnode.context);\n var scope = Generator.resolveScope(el, binding, vnode);\n if (!field || scope === field.scope) \n { return; }\n field.update({\n scope: scope\n });\n field.updated = false;\n },\n update: function update(el, binding, vnode) {\n var field = findField(el, vnode.context);\n if (!field || field.updated && isEqual(binding.value, binding.oldValue)) \n { return; }\n var scope = Generator.resolveScope(el, binding, vnode);\n var rules = Generator.resolveRules(el, binding);\n field.update({\n scope: scope,\n rules: rules\n });\n },\n unbind: function unbind(el, binding, ref) {\n var context = ref.context;\n\n var field = findField(el, context);\n if (!field) \n { return; }\n context.$validator.detach(field);\n }\n}\n\nvar Vue;\nfunction install(_Vue, options) {\n if ( options === void 0 ) options = {};\n\n if (Vue && _Vue === Vue) {\n if (false) {\n warn('already installed, Vue.use(VeeValidate) should only be called once.');\n }\n return;\n }\n detectPassiveSupport();\n Vue = _Vue;\n var localVue = new Vue();\n Config.register('vm', localVue);\n Config.merge(options);\n var ref = Config.current;\n var dictionary = ref.dictionary;\n var i18n = ref.i18n;\n if (dictionary) {\n Validator.localize(dictionary);\n }\n if (i18n && i18n._vm && isCallable(i18n._vm.$watch)) {\n i18n._vm.$watch('locale', function () {\n localVue.$emit('localeChanged');\n });\n }\n if (!i18n && options.locale) {\n Validator.localize(options.locale);\n }\n Validator.setStrictMode(Config.current.strict);\n Vue.mixin(mixin);\n Vue.directive('validate', directive);\n}\n\nvar formatFileSize = function (size) {\n var units = ['Byte','KB','MB','GB','TB','PB','EB','ZB','YB'];\n var threshold = 1024;\n size = Number(size) * threshold;\n var i = size === 0 ? 0 : Math.floor(Math.log(size) / Math.log(threshold));\n return (((size / Math.pow(threshold, i)).toFixed(2) * 1) + \" \" + (units[i]));\n};\nvar isDefinedGlobally = function () { return typeof VeeValidate !== 'undefined'; };\n\nvar obj;\nvar messages = {\n _default: function (field) { return (\"The \" + field + \" value is not valid.\"); },\n after: function (field, ref) {\n var target = ref[0];\n var inclusion = ref[1];\n\n return (\"The \" + field + \" must be after \" + (inclusion ? 'or equal to ' : '') + target + \".\");\n},\n alpha_dash: function (field) { return (\"The \" + field + \" field may contain alpha-numeric characters as well as dashes and underscores.\"); },\n alpha_num: function (field) { return (\"The \" + field + \" field may only contain alpha-numeric characters.\"); },\n alpha_spaces: function (field) { return (\"The \" + field + \" field may only contain alphabetic characters as well as spaces.\"); },\n alpha: function (field) { return (\"The \" + field + \" field may only contain alphabetic characters.\"); },\n before: function (field, ref) {\n var target = ref[0];\n var inclusion = ref[1];\n\n return (\"The \" + field + \" must be before \" + (inclusion ? 'or equal to ' : '') + target + \".\");\n},\n between: function (field, ref) {\n var min = ref[0];\n var max = ref[1];\n\n return (\"The \" + field + \" field must be between \" + min + \" and \" + max + \".\");\n},\n confirmed: function (field) { return (\"The \" + field + \" confirmation does not match.\"); },\n credit_card: function (field) { return (\"The \" + field + \" field is invalid.\"); },\n date_between: function (field, ref) {\n var min = ref[0];\n var max = ref[1];\n\n return (\"The \" + field + \" must be between \" + min + \" and \" + max + \".\");\n},\n date_format: function (field, ref) {\n var format = ref[0];\n\n return (\"The \" + field + \" must be in the format \" + format + \".\");\n},\n decimal: function (field, ref) {\n if ( ref === void 0 ) ref = [];\n var decimals = ref[0]; if ( decimals === void 0 ) decimals = '*';\n\n return (\"The \" + field + \" field must be numeric and may contain \" + (!decimals || decimals === '*' ? '' : decimals) + \" decimal points.\");\n},\n digits: function (field, ref) {\n var length = ref[0];\n\n return (\"The \" + field + \" field must be numeric and exactly contain \" + length + \" digits.\");\n},\n dimensions: function (field, ref) {\n var width = ref[0];\n var height = ref[1];\n\n return (\"The \" + field + \" field must be \" + width + \" pixels by \" + height + \" pixels.\");\n},\n email: function (field) { return (\"The \" + field + \" field must be a valid email.\"); },\n ext: function (field) { return (\"The \" + field + \" field must be a valid file.\"); },\n image: function (field) { return (\"The \" + field + \" field must be an image.\"); },\n in: function (field) { return (\"The \" + field + \" field must be a valid value.\"); },\n integer: function (field) { return (\"The \" + field + \" field must be an integer.\"); },\n ip: function (field) { return (\"The \" + field + \" field must be a valid ip address.\"); },\n length: function (field, ref) {\n var length = ref[0];\n var max = ref[1];\n\n if (max) {\n return (\"The \" + field + \" length must be between \" + length + \" and \" + max + \".\");\n }\n return (\"The \" + field + \" length must be \" + length + \".\");\n },\n max: function (field, ref) {\n var length = ref[0];\n\n return (\"The \" + field + \" field may not be greater than \" + length + \" characters.\");\n},\n max_value: function (field, ref) {\n var max = ref[0];\n\n return (\"The \" + field + \" field must be \" + max + \" or less.\");\n},\n mimes: function (field) { return (\"The \" + field + \" field must have a valid file type.\"); },\n min: function (field, ref) {\n var length = ref[0];\n\n return (\"The \" + field + \" field must be at least \" + length + \" characters.\");\n},\n min_value: function (field, ref) {\n var min = ref[0];\n\n return (\"The \" + field + \" field must be \" + min + \" or more.\");\n},\n not_in: function (field) { return (\"The \" + field + \" field must be a valid value.\"); },\n numeric: function (field) { return (\"The \" + field + \" field may only contain numeric characters.\"); },\n regex: function (field) { return (\"The \" + field + \" field format is invalid.\"); },\n required: function (field) { return (\"The \" + field + \" field is required.\"); },\n size: function (field, ref) {\n var size = ref[0];\n\n return (\"The \" + field + \" size must be less than \" + (formatFileSize(size)) + \".\");\n},\n url: function (field) { return (\"The \" + field + \" field is not a valid URL.\"); }\n};\nvar locale = {\n name: 'en',\n messages: messages,\n attributes: {}\n};\nif (isDefinedGlobally()) {\n VeeValidate.Validator.localize(( obj = {}, obj[locale.name] = locale, obj ));\n}\n\nfunction use(plugin, options) {\n if ( options === void 0 ) options = {};\n\n if (!isCallable(plugin)) {\n return warn('The plugin must be a callable function');\n }\n plugin({\n Validator: Validator,\n ErrorBag: ErrorBag,\n Rules: Validator.rules\n }, options);\n}\n\nvar MILLISECONDS_IN_HOUR = 3600000;\nvar MILLISECONDS_IN_MINUTE = 60000;\nvar DEFAULT_ADDITIONAL_DIGITS = 2;\nvar patterns = {\n dateTimeDelimeter: /[T ]/,\n plainTime: /:/,\n YY: /^(\\d{2})$/,\n YYY: [/^([+-]\\d{2})$/,/^([+-]\\d{3})$/,/^([+-]\\d{4})$/],\n YYYY: /^(\\d{4})/,\n YYYYY: [/^([+-]\\d{4})/,/^([+-]\\d{5})/,/^([+-]\\d{6})/],\n MM: /^-(\\d{2})$/,\n DDD: /^-?(\\d{3})$/,\n MMDD: /^-?(\\d{2})-?(\\d{2})$/,\n Www: /^-?W(\\d{2})$/,\n WwwD: /^-?W(\\d{2})-?(\\d{1})$/,\n HH: /^(\\d{2}([.,]\\d*)?)$/,\n HHMM: /^(\\d{2}):?(\\d{2}([.,]\\d*)?)$/,\n HHMMSS: /^(\\d{2}):?(\\d{2}):?(\\d{2}([.,]\\d*)?)$/,\n timezone: /([Z+-].*)$/,\n timezoneZ: /^(Z)$/,\n timezoneHH: /^([+-])(\\d{2})$/,\n timezoneHHMM: /^([+-])(\\d{2}):?(\\d{2})$/\n};\nfunction toDate(argument, dirtyOptions) {\n if (arguments.length < 1) {\n throw new TypeError('1 argument required, but only ' + arguments.length + ' present');\n }\n if (argument === null) {\n return new Date(NaN);\n }\n var options = dirtyOptions || {};\n var additionalDigits = options.additionalDigits === undefined ? DEFAULT_ADDITIONAL_DIGITS : Number(options.additionalDigits);\n if (additionalDigits !== 2 && additionalDigits !== 1 && additionalDigits !== 0) {\n throw new RangeError('additionalDigits must be 0, 1 or 2');\n }\n if (argument instanceof Date) {\n return new Date(argument.getTime());\n } else if (typeof argument !== 'string') {\n return new Date(argument);\n }\n var dateStrings = splitDateString(argument);\n var parseYearResult = parseYear(dateStrings.date, additionalDigits);\n var year = parseYearResult.year;\n var restDateString = parseYearResult.restDateString;\n var date = parseDate(restDateString, year);\n if (date) {\n var timestamp = date.getTime();\n var time = 0;\n var offset;\n if (dateStrings.time) {\n time = parseTime(dateStrings.time);\n }\n if (dateStrings.timezone) {\n offset = parseTimezone(dateStrings.timezone);\n } else {\n offset = new Date(timestamp + time).getTimezoneOffset();\n offset = new Date(timestamp + time + offset * MILLISECONDS_IN_MINUTE).getTimezoneOffset();\n }\n return new Date(timestamp + time + offset * MILLISECONDS_IN_MINUTE);\n } else {\n return new Date(argument);\n }\n}\n\nfunction splitDateString(dateString) {\n var dateStrings = {};\n var array = dateString.split(patterns.dateTimeDelimeter);\n var timeString;\n if (patterns.plainTime.test(array[0])) {\n dateStrings.date = null;\n timeString = array[0];\n } else {\n dateStrings.date = array[0];\n timeString = array[1];\n }\n if (timeString) {\n var token = patterns.timezone.exec(timeString);\n if (token) {\n dateStrings.time = timeString.replace(token[1], '');\n dateStrings.timezone = token[1];\n } else {\n dateStrings.time = timeString;\n }\n }\n return dateStrings;\n}\n\nfunction parseYear(dateString, additionalDigits) {\n var patternYYY = patterns.YYY[additionalDigits];\n var patternYYYYY = patterns.YYYYY[additionalDigits];\n var token;\n token = patterns.YYYY.exec(dateString) || patternYYYYY.exec(dateString);\n if (token) {\n var yearString = token[1];\n return {\n year: parseInt(yearString, 10),\n restDateString: dateString.slice(yearString.length)\n };\n }\n token = patterns.YY.exec(dateString) || patternYYY.exec(dateString);\n if (token) {\n var centuryString = token[1];\n return {\n year: parseInt(centuryString, 10) * 100,\n restDateString: dateString.slice(centuryString.length)\n };\n }\n return {\n year: null\n };\n}\n\nfunction parseDate(dateString, year) {\n if (year === null) {\n return null;\n }\n var token;\n var date;\n var month;\n var week;\n if (dateString.length === 0) {\n date = new Date(0);\n date.setUTCFullYear(year);\n return date;\n }\n token = patterns.MM.exec(dateString);\n if (token) {\n date = new Date(0);\n month = parseInt(token[1], 10) - 1;\n date.setUTCFullYear(year, month);\n return date;\n }\n token = patterns.DDD.exec(dateString);\n if (token) {\n date = new Date(0);\n var dayOfYear = parseInt(token[1], 10);\n date.setUTCFullYear(year, 0, dayOfYear);\n return date;\n }\n token = patterns.MMDD.exec(dateString);\n if (token) {\n date = new Date(0);\n month = parseInt(token[1], 10) - 1;\n var day = parseInt(token[2], 10);\n date.setUTCFullYear(year, month, day);\n return date;\n }\n token = patterns.Www.exec(dateString);\n if (token) {\n week = parseInt(token[1], 10) - 1;\n return dayOfISOYear(year, week);\n }\n token = patterns.WwwD.exec(dateString);\n if (token) {\n week = parseInt(token[1], 10) - 1;\n var dayOfWeek = parseInt(token[2], 10) - 1;\n return dayOfISOYear(year, week, dayOfWeek);\n }\n return null;\n}\n\nfunction parseTime(timeString) {\n var token;\n var hours;\n var minutes;\n token = patterns.HH.exec(timeString);\n if (token) {\n hours = parseFloat(token[1].replace(',', '.'));\n return hours % 24 * MILLISECONDS_IN_HOUR;\n }\n token = patterns.HHMM.exec(timeString);\n if (token) {\n hours = parseInt(token[1], 10);\n minutes = parseFloat(token[2].replace(',', '.'));\n return hours % 24 * MILLISECONDS_IN_HOUR + minutes * MILLISECONDS_IN_MINUTE;\n }\n token = patterns.HHMMSS.exec(timeString);\n if (token) {\n hours = parseInt(token[1], 10);\n minutes = parseInt(token[2], 10);\n var seconds = parseFloat(token[3].replace(',', '.'));\n return hours % 24 * MILLISECONDS_IN_HOUR + minutes * MILLISECONDS_IN_MINUTE + seconds * 1000;\n }\n return null;\n}\n\nfunction parseTimezone(timezoneString) {\n var token;\n var absoluteOffset;\n token = patterns.timezoneZ.exec(timezoneString);\n if (token) {\n return 0;\n }\n token = patterns.timezoneHH.exec(timezoneString);\n if (token) {\n absoluteOffset = parseInt(token[2], 10) * 60;\n return token[1] === '+' ? -absoluteOffset : absoluteOffset;\n }\n token = patterns.timezoneHHMM.exec(timezoneString);\n if (token) {\n absoluteOffset = parseInt(token[2], 10) * 60 + parseInt(token[3], 10);\n return token[1] === '+' ? -absoluteOffset : absoluteOffset;\n }\n return 0;\n}\n\nfunction dayOfISOYear(isoYear, week, day) {\n week = week || 0;\n day = day || 0;\n var date = new Date(0);\n date.setUTCFullYear(isoYear, 0, 4);\n var fourthOfJanuaryDay = date.getUTCDay() || 7;\n var diff = week * 7 + day + 1 - fourthOfJanuaryDay;\n date.setUTCDate(date.getUTCDate() + diff);\n return date;\n}\n\nfunction addMilliseconds(dirtyDate, dirtyAmount, dirtyOptions) {\n if (arguments.length < 2) {\n throw new TypeError('2 arguments required, but only ' + arguments.length + ' present');\n }\n var timestamp = toDate(dirtyDate, dirtyOptions).getTime();\n var amount = Number(dirtyAmount);\n return new Date(timestamp + amount);\n}\n\nfunction cloneObject(dirtyObject) {\n dirtyObject = dirtyObject || {};\n var object = {};\n for (var property in dirtyObject) {\n if (dirtyObject.hasOwnProperty(property)) {\n object[property] = dirtyObject[property];\n }\n }\n return object;\n}\n\nvar MILLISECONDS_IN_MINUTE$2 = 60000;\nfunction addMinutes(dirtyDate, dirtyAmount, dirtyOptions) {\n if (arguments.length < 2) {\n throw new TypeError('2 arguments required, but only ' + arguments.length + ' present');\n }\n var amount = Number(dirtyAmount);\n return addMilliseconds(dirtyDate, amount * MILLISECONDS_IN_MINUTE$2, dirtyOptions);\n}\n\nfunction isValid(dirtyDate, dirtyOptions) {\n if (arguments.length < 1) {\n throw new TypeError('1 argument required, but only ' + arguments.length + ' present');\n }\n var date = toDate(dirtyDate, dirtyOptions);\n return !isNaN(date);\n}\n\nvar formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'less than a second',\n other: 'less than {{count}} seconds'\n },\n xSeconds: {\n one: '1 second',\n other: '{{count}} seconds'\n },\n halfAMinute: 'half a minute',\n lessThanXMinutes: {\n one: 'less than a minute',\n other: 'less than {{count}} minutes'\n },\n xMinutes: {\n one: '1 minute',\n other: '{{count}} minutes'\n },\n aboutXHours: {\n one: 'about 1 hour',\n other: 'about {{count}} hours'\n },\n xHours: {\n one: '1 hour',\n other: '{{count}} hours'\n },\n xDays: {\n one: '1 day',\n other: '{{count}} days'\n },\n aboutXMonths: {\n one: 'about 1 month',\n other: 'about {{count}} months'\n },\n xMonths: {\n one: '1 month',\n other: '{{count}} months'\n },\n aboutXYears: {\n one: 'about 1 year',\n other: 'about {{count}} years'\n },\n xYears: {\n one: '1 year',\n other: '{{count}} years'\n },\n overXYears: {\n one: 'over 1 year',\n other: 'over {{count}} years'\n },\n almostXYears: {\n one: 'almost 1 year',\n other: 'almost {{count}} years'\n }\n};\nfunction formatDistance(token, count, options) {\n options = options || {};\n var result;\n if (typeof formatDistanceLocale[token] === 'string') {\n result = formatDistanceLocale[token];\n } else if (count === 1) {\n result = formatDistanceLocale[token].one;\n } else {\n result = formatDistanceLocale[token].other.replace('{{count}}', count);\n }\n if (options.addSuffix) {\n if (options.comparison > 0) {\n return 'in ' + result;\n } else {\n return result + ' ago';\n }\n }\n return result;\n}\n\nvar tokensToBeShortedPattern = /MMMM|MM|DD|dddd/g;\nfunction buildShortLongFormat(format) {\n return format.replace(tokensToBeShortedPattern, function (token) {\n return token.slice(1);\n });\n}\n\nfunction buildFormatLongFn(obj) {\n var formatLongLocale = {\n LTS: obj.LTS,\n LT: obj.LT,\n L: obj.L,\n LL: obj.LL,\n LLL: obj.LLL,\n LLLL: obj.LLLL,\n l: obj.l || buildShortLongFormat(obj.L),\n ll: obj.ll || buildShortLongFormat(obj.LL),\n lll: obj.lll || buildShortLongFormat(obj.LLL),\n llll: obj.llll || buildShortLongFormat(obj.LLLL)\n };\n return function (token) {\n return formatLongLocale[token];\n };\n}\n\nvar formatLong = buildFormatLongFn({\n LT: 'h:mm aa',\n LTS: 'h:mm:ss aa',\n L: 'MM/DD/YYYY',\n LL: 'MMMM D YYYY',\n LLL: 'MMMM D YYYY h:mm aa',\n LLLL: 'dddd, MMMM D YYYY h:mm aa'\n});\n\nvar formatRelativeLocale = {\n lastWeek: '[last] dddd [at] LT',\n yesterday: '[yesterday at] LT',\n today: '[today at] LT',\n tomorrow: '[tomorrow at] LT',\n nextWeek: 'dddd [at] LT',\n other: 'L'\n};\nfunction formatRelative(token, date, baseDate, options) {\n return formatRelativeLocale[token];\n}\n\nfunction buildLocalizeFn(values, defaultType, indexCallback) {\n return function (dirtyIndex, dirtyOptions) {\n var options = dirtyOptions || {};\n var type = options.type ? String(options.type) : defaultType;\n var valuesArray = values[type] || values[defaultType];\n var index = indexCallback ? indexCallback(Number(dirtyIndex)) : Number(dirtyIndex);\n return valuesArray[index];\n };\n}\n\nfunction buildLocalizeArrayFn(values, defaultType) {\n return function (dirtyOptions) {\n var options = dirtyOptions || {};\n var type = options.type ? String(options.type) : defaultType;\n return values[type] || values[defaultType];\n };\n}\n\nvar weekdayValues = {\n narrow: ['Su','Mo','Tu','We','Th','Fr','Sa'],\n short: ['Sun','Mon','Tue','Wed','Thu','Fri','Sat'],\n long: ['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday']\n};\nvar monthValues = {\n short: ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],\n long: ['January','February','March','April','May','June','July','August','September',\n 'October','November','December']\n};\nvar timeOfDayValues = {\n uppercase: ['AM','PM'],\n lowercase: ['am','pm'],\n long: ['a.m.','p.m.']\n};\nfunction ordinalNumber(dirtyNumber, dirtyOptions) {\n var number = Number(dirtyNumber);\n var rem100 = number % 100;\n if (rem100 > 20 || rem100 < 10) {\n switch (rem100 % 10) {\n case 1:\n return number + 'st';\n case 2:\n return number + 'nd';\n case 3:\n return number + 'rd';\n }\n }\n return number + 'th';\n}\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n weekday: buildLocalizeFn(weekdayValues, 'long'),\n weekdays: buildLocalizeArrayFn(weekdayValues, 'long'),\n month: buildLocalizeFn(monthValues, 'long'),\n months: buildLocalizeArrayFn(monthValues, 'long'),\n timeOfDay: buildLocalizeFn(timeOfDayValues, 'long', function (hours) {\n return hours / 12 >= 1 ? 1 : 0;\n }),\n timesOfDay: buildLocalizeArrayFn(timeOfDayValues, 'long')\n};\n\nfunction buildMatchFn(patterns, defaultType) {\n return function (dirtyString, dirtyOptions) {\n var options = dirtyOptions || {};\n var type = options.type ? String(options.type) : defaultType;\n var pattern = patterns[type] || patterns[defaultType];\n var string = String(dirtyString);\n return string.match(pattern);\n };\n}\n\nfunction buildParseFn(patterns, defaultType) {\n return function (matchResult, dirtyOptions) {\n var options = dirtyOptions || {};\n var type = options.type ? String(options.type) : defaultType;\n var patternsArray = patterns[type] || patterns[defaultType];\n var string = matchResult[1];\n return patternsArray.findIndex(function (pattern) {\n return pattern.test(string);\n });\n };\n}\n\nfunction buildMatchPatternFn(pattern) {\n return function (dirtyString) {\n var string = String(dirtyString);\n return string.match(pattern);\n };\n}\n\nfunction parseDecimal(matchResult) {\n return parseInt(matchResult[1], 10);\n}\n\nvar matchOrdinalNumbersPattern = /^(\\d+)(th|st|nd|rd)?/i;\nvar matchWeekdaysPatterns = {\n narrow: /^(su|mo|tu|we|th|fr|sa)/i,\n short: /^(sun|mon|tue|wed|thu|fri|sat)/i,\n long: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i\n};\nvar parseWeekdayPatterns = {\n any: [/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]\n};\nvar matchMonthsPatterns = {\n short: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,\n long: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i\n};\nvar parseMonthPatterns = {\n any: [/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,\n /^n/i,/^d/i]\n};\nvar matchTimesOfDayPatterns = {\n short: /^(am|pm)/i,\n long: /^([ap]\\.?\\s?m\\.?)/i\n};\nvar parseTimeOfDayPatterns = {\n any: [/^a/i,/^p/i]\n};\nvar match = {\n ordinalNumbers: buildMatchPatternFn(matchOrdinalNumbersPattern),\n ordinalNumber: parseDecimal,\n weekdays: buildMatchFn(matchWeekdaysPatterns, 'long'),\n weekday: buildParseFn(parseWeekdayPatterns, 'any'),\n months: buildMatchFn(matchMonthsPatterns, 'long'),\n month: buildParseFn(parseMonthPatterns, 'any'),\n timesOfDay: buildMatchFn(matchTimesOfDayPatterns, 'long'),\n timeOfDay: buildParseFn(parseTimeOfDayPatterns, 'any')\n};\n\nvar locale$1 = {\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 0,\n firstWeekContainsDate: 1\n }\n};\n\nvar MILLISECONDS_IN_DAY$1 = 86400000;\nfunction getUTCDayOfYear(dirtyDate, dirtyOptions) {\n var date = toDate(dirtyDate, dirtyOptions);\n var timestamp = date.getTime();\n date.setUTCMonth(0, 1);\n date.setUTCHours(0, 0, 0, 0);\n var startOfYearTimestamp = date.getTime();\n var difference = timestamp - startOfYearTimestamp;\n return Math.floor(difference / MILLISECONDS_IN_DAY$1) + 1;\n}\n\nfunction startOfUTCISOWeek(dirtyDate, dirtyOptions) {\n var weekStartsOn = 1;\n var date = toDate(dirtyDate, dirtyOptions);\n var day = date.getUTCDay();\n var diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;\n date.setUTCDate(date.getUTCDate() - diff);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n}\n\nfunction getUTCISOWeekYear(dirtyDate, dirtyOptions) {\n var date = toDate(dirtyDate, dirtyOptions);\n var year = date.getUTCFullYear();\n var fourthOfJanuaryOfNextYear = new Date(0);\n fourthOfJanuaryOfNextYear.setUTCFullYear(year + 1, 0, 4);\n fourthOfJanuaryOfNextYear.setUTCHours(0, 0, 0, 0);\n var startOfNextYear = startOfUTCISOWeek(fourthOfJanuaryOfNextYear, dirtyOptions);\n var fourthOfJanuaryOfThisYear = new Date(0);\n fourthOfJanuaryOfThisYear.setUTCFullYear(year, 0, 4);\n fourthOfJanuaryOfThisYear.setUTCHours(0, 0, 0, 0);\n var startOfThisYear = startOfUTCISOWeek(fourthOfJanuaryOfThisYear, dirtyOptions);\n if (date.getTime() >= startOfNextYear.getTime()) {\n return year + 1;\n } else if (date.getTime() >= startOfThisYear.getTime()) {\n return year;\n } else {\n return year - 1;\n }\n}\n\nfunction startOfUTCISOWeekYear(dirtyDate, dirtyOptions) {\n var year = getUTCISOWeekYear(dirtyDate, dirtyOptions);\n var fourthOfJanuary = new Date(0);\n fourthOfJanuary.setUTCFullYear(year, 0, 4);\n fourthOfJanuary.setUTCHours(0, 0, 0, 0);\n var date = startOfUTCISOWeek(fourthOfJanuary, dirtyOptions);\n return date;\n}\n\nvar MILLISECONDS_IN_WEEK$2 = 604800000;\nfunction getUTCISOWeek(dirtyDate, dirtyOptions) {\n var date = toDate(dirtyDate, dirtyOptions);\n var diff = startOfUTCISOWeek(date, dirtyOptions).getTime() - startOfUTCISOWeekYear(date, dirtyOptions).getTime();\n return Math.round(diff / MILLISECONDS_IN_WEEK$2) + 1;\n}\n\nvar formatters = {\n 'M': function (date) {\n return date.getUTCMonth() + 1;\n },\n 'Mo': function (date, options) {\n var month = date.getUTCMonth() + 1;\n return options.locale.localize.ordinalNumber(month, {\n unit: 'month'\n });\n },\n 'MM': function (date) {\n return addLeadingZeros(date.getUTCMonth() + 1, 2);\n },\n 'MMM': function (date, options) {\n return options.locale.localize.month(date.getUTCMonth(), {\n type: 'short'\n });\n },\n 'MMMM': function (date, options) {\n return options.locale.localize.month(date.getUTCMonth(), {\n type: 'long'\n });\n },\n 'Q': function (date) {\n return Math.ceil((date.getUTCMonth() + 1) / 3);\n },\n 'Qo': function (date, options) {\n var quarter = Math.ceil((date.getUTCMonth() + 1) / 3);\n return options.locale.localize.ordinalNumber(quarter, {\n unit: 'quarter'\n });\n },\n 'D': function (date) {\n return date.getUTCDate();\n },\n 'Do': function (date, options) {\n return options.locale.localize.ordinalNumber(date.getUTCDate(), {\n unit: 'dayOfMonth'\n });\n },\n 'DD': function (date) {\n return addLeadingZeros(date.getUTCDate(), 2);\n },\n 'DDD': function (date) {\n return getUTCDayOfYear(date);\n },\n 'DDDo': function (date, options) {\n return options.locale.localize.ordinalNumber(getUTCDayOfYear(date), {\n unit: 'dayOfYear'\n });\n },\n 'DDDD': function (date) {\n return addLeadingZeros(getUTCDayOfYear(date), 3);\n },\n 'dd': function (date, options) {\n return options.locale.localize.weekday(date.getUTCDay(), {\n type: 'narrow'\n });\n },\n 'ddd': function (date, options) {\n return options.locale.localize.weekday(date.getUTCDay(), {\n type: 'short'\n });\n },\n 'dddd': function (date, options) {\n return options.locale.localize.weekday(date.getUTCDay(), {\n type: 'long'\n });\n },\n 'd': function (date) {\n return date.getUTCDay();\n },\n 'do': function (date, options) {\n return options.locale.localize.ordinalNumber(date.getUTCDay(), {\n unit: 'dayOfWeek'\n });\n },\n 'E': function (date) {\n return date.getUTCDay() || 7;\n },\n 'W': function (date) {\n return getUTCISOWeek(date);\n },\n 'Wo': function (date, options) {\n return options.locale.localize.ordinalNumber(getUTCISOWeek(date), {\n unit: 'isoWeek'\n });\n },\n 'WW': function (date) {\n return addLeadingZeros(getUTCISOWeek(date), 2);\n },\n 'YY': function (date) {\n return addLeadingZeros(date.getUTCFullYear(), 4).substr(2);\n },\n 'YYYY': function (date) {\n return addLeadingZeros(date.getUTCFullYear(), 4);\n },\n 'GG': function (date) {\n return String(getUTCISOWeekYear(date)).substr(2);\n },\n 'GGGG': function (date) {\n return getUTCISOWeekYear(date);\n },\n 'H': function (date) {\n return date.getUTCHours();\n },\n 'HH': function (date) {\n return addLeadingZeros(date.getUTCHours(), 2);\n },\n 'h': function (date) {\n var hours = date.getUTCHours();\n if (hours === 0) {\n return 12;\n } else if (hours > 12) {\n return hours % 12;\n } else {\n return hours;\n }\n },\n 'hh': function (date) {\n return addLeadingZeros(formatters['h'](date), 2);\n },\n 'm': function (date) {\n return date.getUTCMinutes();\n },\n 'mm': function (date) {\n return addLeadingZeros(date.getUTCMinutes(), 2);\n },\n 's': function (date) {\n return date.getUTCSeconds();\n },\n 'ss': function (date) {\n return addLeadingZeros(date.getUTCSeconds(), 2);\n },\n 'S': function (date) {\n return Math.floor(date.getUTCMilliseconds() / 100);\n },\n 'SS': function (date) {\n return addLeadingZeros(Math.floor(date.getUTCMilliseconds() / 10), 2);\n },\n 'SSS': function (date) {\n return addLeadingZeros(date.getUTCMilliseconds(), 3);\n },\n 'Z': function (date, options) {\n var originalDate = options._originalDate || date;\n return formatTimezone(originalDate.getTimezoneOffset(), ':');\n },\n 'ZZ': function (date, options) {\n var originalDate = options._originalDate || date;\n return formatTimezone(originalDate.getTimezoneOffset());\n },\n 'X': function (date, options) {\n var originalDate = options._originalDate || date;\n return Math.floor(originalDate.getTime() / 1000);\n },\n 'x': function (date, options) {\n var originalDate = options._originalDate || date;\n return originalDate.getTime();\n },\n 'A': function (date, options) {\n return options.locale.localize.timeOfDay(date.getUTCHours(), {\n type: 'uppercase'\n });\n },\n 'a': function (date, options) {\n return options.locale.localize.timeOfDay(date.getUTCHours(), {\n type: 'lowercase'\n });\n },\n 'aa': function (date, options) {\n return options.locale.localize.timeOfDay(date.getUTCHours(), {\n type: 'long'\n });\n }\n};\nfunction formatTimezone(offset, delimeter) {\n delimeter = delimeter || '';\n var sign = offset > 0 ? '-' : '+';\n var absOffset = Math.abs(offset);\n var hours = Math.floor(absOffset / 60);\n var minutes = absOffset % 60;\n return sign + addLeadingZeros(hours, 2) + delimeter + addLeadingZeros(minutes, 2);\n}\n\nfunction addLeadingZeros(number, targetLength) {\n var output = Math.abs(number).toString();\n while (output.length < targetLength) {\n output = '0' + output;\n }\n return output;\n}\n\nfunction addUTCMinutes(dirtyDate, dirtyAmount, dirtyOptions) {\n var date = toDate(dirtyDate, dirtyOptions);\n var amount = Number(dirtyAmount);\n date.setUTCMinutes(date.getUTCMinutes() + amount);\n return date;\n}\n\nvar longFormattingTokensRegExp = /(\\[[^[]*])|(\\\\)?(LTS|LT|LLLL|LLL|LL|L|llll|lll|ll|l)/g;\nvar defaultFormattingTokensRegExp = /(\\[[^[]*])|(\\\\)?(x|ss|s|mm|m|hh|h|do|dddd|ddd|dd|d|aa|a|ZZ|Z|YYYY|YY|X|Wo|WW|W|SSS|SS|S|Qo|Q|Mo|MMMM|MMM|MM|M|HH|H|GGGG|GG|E|Do|DDDo|DDDD|DDD|DD|D|A|.)/g;\nfunction format(dirtyDate, dirtyFormatStr, dirtyOptions) {\n if (arguments.length < 2) {\n throw new TypeError('2 arguments required, but only ' + arguments.length + ' present');\n }\n var formatStr = String(dirtyFormatStr);\n var options = dirtyOptions || {};\n var locale = options.locale || locale$1;\n if (!locale.localize) {\n throw new RangeError('locale must contain localize property');\n }\n if (!locale.formatLong) {\n throw new RangeError('locale must contain formatLong property');\n }\n var localeFormatters = locale.formatters || {};\n var formattingTokensRegExp = locale.formattingTokensRegExp || defaultFormattingTokensRegExp;\n var formatLong = locale.formatLong;\n var originalDate = toDate(dirtyDate, options);\n if (!isValid(originalDate, options)) {\n return 'Invalid Date';\n }\n var timezoneOffset = originalDate.getTimezoneOffset();\n var utcDate = addUTCMinutes(originalDate, -timezoneOffset, options);\n var formatterOptions = cloneObject(options);\n formatterOptions.locale = locale;\n formatterOptions.formatters = formatters;\n formatterOptions._originalDate = originalDate;\n var result = formatStr.replace(longFormattingTokensRegExp, function (substring) {\n if (substring[0] === '[') {\n return substring;\n }\n if (substring[0] === '\\\\') {\n return cleanEscapedString(substring);\n }\n return formatLong(substring);\n }).replace(formattingTokensRegExp, function (substring) {\n var formatter = localeFormatters[substring] || formatters[substring];\n if (formatter) {\n return formatter(utcDate, formatterOptions);\n } else {\n return cleanEscapedString(substring);\n }\n });\n return result;\n}\n\nfunction cleanEscapedString(input) {\n if (input.match(/\\[[\\s\\S]/)) {\n return input.replace(/^\\[|]$/g, '');\n }\n return input.replace(/\\\\/g, '');\n}\n\nfunction subMinutes(dirtyDate, dirtyAmount, dirtyOptions) {\n if (arguments.length < 2) {\n throw new TypeError('2 arguments required, but only ' + arguments.length + ' present');\n }\n var amount = Number(dirtyAmount);\n return addMinutes(dirtyDate, -amount, dirtyOptions);\n}\n\nfunction isAfter(dirtyDate, dirtyDateToCompare, dirtyOptions) {\n if (arguments.length < 2) {\n throw new TypeError('2 arguments required, but only ' + arguments.length + ' present');\n }\n var date = toDate(dirtyDate, dirtyOptions);\n var dateToCompare = toDate(dirtyDateToCompare, dirtyOptions);\n return date.getTime() > dateToCompare.getTime();\n}\n\nfunction isBefore(dirtyDate, dirtyDateToCompare, dirtyOptions) {\n if (arguments.length < 2) {\n throw new TypeError('2 arguments required, but only ' + arguments.length + ' present');\n }\n var date = toDate(dirtyDate, dirtyOptions);\n var dateToCompare = toDate(dirtyDateToCompare, dirtyOptions);\n return date.getTime() < dateToCompare.getTime();\n}\n\nfunction isEqual$1(dirtyLeftDate, dirtyRightDate, dirtyOptions) {\n if (arguments.length < 2) {\n throw new TypeError('2 arguments required, but only ' + arguments.length + ' present');\n }\n var dateLeft = toDate(dirtyLeftDate, dirtyOptions);\n var dateRight = toDate(dirtyRightDate, dirtyOptions);\n return dateLeft.getTime() === dateRight.getTime();\n}\n\nvar patterns$1 = {\n 'M': /^(1[0-2]|0?\\d)/,\n 'D': /^(3[0-1]|[0-2]?\\d)/,\n 'DDD': /^(36[0-6]|3[0-5]\\d|[0-2]?\\d?\\d)/,\n 'W': /^(5[0-3]|[0-4]?\\d)/,\n 'YYYY': /^(\\d{1,4})/,\n 'H': /^(2[0-3]|[0-1]?\\d)/,\n 'm': /^([0-5]?\\d)/,\n 'Z': /^([+-])(\\d{2}):(\\d{2})/,\n 'ZZ': /^([+-])(\\d{2})(\\d{2})/,\n singleDigit: /^(\\d)/,\n twoDigits: /^(\\d{2})/,\n threeDigits: /^(\\d{3})/,\n fourDigits: /^(\\d{4})/,\n anyDigits: /^(\\d+)/\n};\nfunction parseDecimal$1(matchResult) {\n return parseInt(matchResult[1], 10);\n}\n\nvar parsers = {\n 'YY': {\n unit: 'twoDigitYear',\n match: patterns$1.twoDigits,\n parse: function (matchResult) {\n return parseDecimal$1(matchResult);\n }\n },\n 'YYYY': {\n unit: 'year',\n match: patterns$1.YYYY,\n parse: parseDecimal$1\n },\n 'GG': {\n unit: 'isoYear',\n match: patterns$1.twoDigits,\n parse: function (matchResult) {\n return parseDecimal$1(matchResult) + 1900;\n }\n },\n 'GGGG': {\n unit: 'isoYear',\n match: patterns$1.YYYY,\n parse: parseDecimal$1\n },\n 'Q': {\n unit: 'quarter',\n match: patterns$1.singleDigit,\n parse: parseDecimal$1\n },\n 'Qo': {\n unit: 'quarter',\n match: function (string, options) {\n return options.locale.match.ordinalNumbers(string, {\n unit: 'quarter'\n });\n },\n parse: function (matchResult, options) {\n return options.locale.match.ordinalNumber(matchResult, {\n unit: 'quarter'\n });\n }\n },\n 'M': {\n unit: 'month',\n match: patterns$1.M,\n parse: function (matchResult) {\n return parseDecimal$1(matchResult) - 1;\n }\n },\n 'Mo': {\n unit: 'month',\n match: function (string, options) {\n return options.locale.match.ordinalNumbers(string, {\n unit: 'month'\n });\n },\n parse: function (matchResult, options) {\n return options.locale.match.ordinalNumber(matchResult, {\n unit: 'month'\n }) - 1;\n }\n },\n 'MM': {\n unit: 'month',\n match: patterns$1.twoDigits,\n parse: function (matchResult) {\n return parseDecimal$1(matchResult) - 1;\n }\n },\n 'MMM': {\n unit: 'month',\n match: function (string, options) {\n return options.locale.match.months(string, {\n type: 'short'\n });\n },\n parse: function (matchResult, options) {\n return options.locale.match.month(matchResult, {\n type: 'short'\n });\n }\n },\n 'MMMM': {\n unit: 'month',\n match: function (string, options) {\n return options.locale.match.months(string, {\n type: 'long'\n }) || options.locale.match.months(string, {\n type: 'short'\n });\n },\n parse: function (matchResult, options) {\n var parseResult = options.locale.match.month(matchResult, {\n type: 'long'\n });\n if (parseResult == null) {\n parseResult = options.locale.match.month(matchResult, {\n type: 'short'\n });\n }\n return parseResult;\n }\n },\n 'W': {\n unit: 'isoWeek',\n match: patterns$1.W,\n parse: parseDecimal$1\n },\n 'Wo': {\n unit: 'isoWeek',\n match: function (string, options) {\n return options.locale.match.ordinalNumbers(string, {\n unit: 'isoWeek'\n });\n },\n parse: function (matchResult, options) {\n return options.locale.match.ordinalNumber(matchResult, {\n unit: 'isoWeek'\n });\n }\n },\n 'WW': {\n unit: 'isoWeek',\n match: patterns$1.twoDigits,\n parse: parseDecimal$1\n },\n 'd': {\n unit: 'dayOfWeek',\n match: patterns$1.singleDigit,\n parse: parseDecimal$1\n },\n 'do': {\n unit: 'dayOfWeek',\n match: function (string, options) {\n return options.locale.match.ordinalNumbers(string, {\n unit: 'dayOfWeek'\n });\n },\n parse: function (matchResult, options) {\n return options.locale.match.ordinalNumber(matchResult, {\n unit: 'dayOfWeek'\n });\n }\n },\n 'dd': {\n unit: 'dayOfWeek',\n match: function (string, options) {\n return options.locale.match.weekdays(string, {\n type: 'narrow'\n });\n },\n parse: function (matchResult, options) {\n return options.locale.match.weekday(matchResult, {\n type: 'narrow'\n });\n }\n },\n 'ddd': {\n unit: 'dayOfWeek',\n match: function (string, options) {\n return options.locale.match.weekdays(string, {\n type: 'short'\n }) || options.locale.match.weekdays(string, {\n type: 'narrow'\n });\n },\n parse: function (matchResult, options) {\n var parseResult = options.locale.match.weekday(matchResult, {\n type: 'short'\n });\n if (parseResult == null) {\n parseResult = options.locale.match.weekday(matchResult, {\n type: 'narrow'\n });\n }\n return parseResult;\n }\n },\n 'dddd': {\n unit: 'dayOfWeek',\n match: function (string, options) {\n return options.locale.match.weekdays(string, {\n type: 'long'\n }) || options.locale.match.weekdays(string, {\n type: 'short'\n }) || options.locale.match.weekdays(string, {\n type: 'narrow'\n });\n },\n parse: function (matchResult, options) {\n var parseResult = options.locale.match.weekday(matchResult, {\n type: 'long'\n });\n if (parseResult == null) {\n parseResult = options.locale.match.weekday(matchResult, {\n type: 'short'\n });\n if (parseResult == null) {\n parseResult = options.locale.match.weekday(matchResult, {\n type: 'narrow'\n });\n }\n }\n return parseResult;\n }\n },\n 'E': {\n unit: 'dayOfISOWeek',\n match: patterns$1.singleDigit,\n parse: function (matchResult) {\n return parseDecimal$1(matchResult);\n }\n },\n 'D': {\n unit: 'dayOfMonth',\n match: patterns$1.D,\n parse: parseDecimal$1\n },\n 'Do': {\n unit: 'dayOfMonth',\n match: function (string, options) {\n return options.locale.match.ordinalNumbers(string, {\n unit: 'dayOfMonth'\n });\n },\n parse: function (matchResult, options) {\n return options.locale.match.ordinalNumber(matchResult, {\n unit: 'dayOfMonth'\n });\n }\n },\n 'DD': {\n unit: 'dayOfMonth',\n match: patterns$1.twoDigits,\n parse: parseDecimal$1\n },\n 'DDD': {\n unit: 'dayOfYear',\n match: patterns$1.DDD,\n parse: parseDecimal$1\n },\n 'DDDo': {\n unit: 'dayOfYear',\n match: function (string, options) {\n return options.locale.match.ordinalNumbers(string, {\n unit: 'dayOfYear'\n });\n },\n parse: function (matchResult, options) {\n return options.locale.match.ordinalNumber(matchResult, {\n unit: 'dayOfYear'\n });\n }\n },\n 'DDDD': {\n unit: 'dayOfYear',\n match: patterns$1.threeDigits,\n parse: parseDecimal$1\n },\n 'A': {\n unit: 'timeOfDay',\n match: function (string, options) {\n return options.locale.match.timesOfDay(string, {\n type: 'short'\n });\n },\n parse: function (matchResult, options) {\n return options.locale.match.timeOfDay(matchResult, {\n type: 'short'\n });\n }\n },\n 'aa': {\n unit: 'timeOfDay',\n match: function (string, options) {\n return options.locale.match.timesOfDay(string, {\n type: 'long'\n }) || options.locale.match.timesOfDay(string, {\n type: 'short'\n });\n },\n parse: function (matchResult, options) {\n var parseResult = options.locale.match.timeOfDay(matchResult, {\n type: 'long'\n });\n if (parseResult == null) {\n parseResult = options.locale.match.timeOfDay(matchResult, {\n type: 'short'\n });\n }\n return parseResult;\n }\n },\n 'H': {\n unit: 'hours',\n match: patterns$1.H,\n parse: parseDecimal$1\n },\n 'HH': {\n unit: 'hours',\n match: patterns$1.twoDigits,\n parse: parseDecimal$1\n },\n 'h': {\n unit: 'timeOfDayHours',\n match: patterns$1.M,\n parse: parseDecimal$1\n },\n 'hh': {\n unit: 'timeOfDayHours',\n match: patterns$1.twoDigits,\n parse: parseDecimal$1\n },\n 'm': {\n unit: 'minutes',\n match: patterns$1.m,\n parse: parseDecimal$1\n },\n 'mm': {\n unit: 'minutes',\n match: patterns$1.twoDigits,\n parse: parseDecimal$1\n },\n 's': {\n unit: 'seconds',\n match: patterns$1.m,\n parse: parseDecimal$1\n },\n 'ss': {\n unit: 'seconds',\n match: patterns$1.twoDigits,\n parse: parseDecimal$1\n },\n 'S': {\n unit: 'milliseconds',\n match: patterns$1.singleDigit,\n parse: function (matchResult) {\n return parseDecimal$1(matchResult) * 100;\n }\n },\n 'SS': {\n unit: 'milliseconds',\n match: patterns$1.twoDigits,\n parse: function (matchResult) {\n return parseDecimal$1(matchResult) * 10;\n }\n },\n 'SSS': {\n unit: 'milliseconds',\n match: patterns$1.threeDigits,\n parse: parseDecimal$1\n },\n 'Z': {\n unit: 'timezone',\n match: patterns$1.Z,\n parse: function (matchResult) {\n var sign = matchResult[1];\n var hours = parseInt(matchResult[2], 10);\n var minutes = parseInt(matchResult[3], 10);\n var absoluteOffset = hours * 60 + minutes;\n return sign === '+' ? absoluteOffset : -absoluteOffset;\n }\n },\n 'ZZ': {\n unit: 'timezone',\n match: patterns$1.ZZ,\n parse: function (matchResult) {\n var sign = matchResult[1];\n var hours = parseInt(matchResult[2], 10);\n var minutes = parseInt(matchResult[3], 10);\n var absoluteOffset = hours * 60 + minutes;\n return sign === '+' ? absoluteOffset : -absoluteOffset;\n }\n },\n 'X': {\n unit: 'timestamp',\n match: patterns$1.anyDigits,\n parse: function (matchResult) {\n return parseDecimal$1(matchResult) * 1000;\n }\n },\n 'x': {\n unit: 'timestamp',\n match: patterns$1.anyDigits,\n parse: parseDecimal$1\n }\n};\nparsers['a'] = parsers['A'];\n\nfunction setUTCDay(dirtyDate, dirtyDay, dirtyOptions) {\n var options = dirtyOptions || {};\n var locale = options.locale;\n var localeWeekStartsOn = locale && locale.options && locale.options.weekStartsOn;\n var defaultWeekStartsOn = localeWeekStartsOn === undefined ? 0 : Number(localeWeekStartsOn);\n var weekStartsOn = options.weekStartsOn === undefined ? defaultWeekStartsOn : Number(options.weekStartsOn);\n if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {\n throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');\n }\n var date = toDate(dirtyDate, dirtyOptions);\n var day = Number(dirtyDay);\n var currentDay = date.getUTCDay();\n var remainder = day % 7;\n var dayIndex = (remainder + 7) % 7;\n var diff = (dayIndex < weekStartsOn ? 7 : 0) + day - currentDay;\n date.setUTCDate(date.getUTCDate() + diff);\n return date;\n}\n\nfunction setUTCISODay(dirtyDate, dirtyDay, dirtyOptions) {\n var day = Number(dirtyDay);\n if (day % 7 === 0) {\n day = day - 7;\n }\n var weekStartsOn = 1;\n var date = toDate(dirtyDate, dirtyOptions);\n var currentDay = date.getUTCDay();\n var remainder = day % 7;\n var dayIndex = (remainder + 7) % 7;\n var diff = (dayIndex < weekStartsOn ? 7 : 0) + day - currentDay;\n date.setUTCDate(date.getUTCDate() + diff);\n return date;\n}\n\nfunction setUTCISOWeek(dirtyDate, dirtyISOWeek, dirtyOptions) {\n var date = toDate(dirtyDate, dirtyOptions);\n var isoWeek = Number(dirtyISOWeek);\n var diff = getUTCISOWeek(date, dirtyOptions) - isoWeek;\n date.setUTCDate(date.getUTCDate() - diff * 7);\n return date;\n}\n\nvar MILLISECONDS_IN_DAY$3 = 86400000;\nfunction setUTCISOWeekYear(dirtyDate, dirtyISOYear, dirtyOptions) {\n var date = toDate(dirtyDate, dirtyOptions);\n var isoYear = Number(dirtyISOYear);\n var dateStartOfYear = startOfUTCISOWeekYear(date, dirtyOptions);\n var diff = Math.floor((date.getTime() - dateStartOfYear.getTime()) / MILLISECONDS_IN_DAY$3);\n var fourthOfJanuary = new Date(0);\n fourthOfJanuary.setUTCFullYear(isoYear, 0, 4);\n fourthOfJanuary.setUTCHours(0, 0, 0, 0);\n date = startOfUTCISOWeekYear(fourthOfJanuary, dirtyOptions);\n date.setUTCDate(date.getUTCDate() + diff);\n return date;\n}\n\nvar MILLISECONDS_IN_MINUTE$6 = 60000;\nfunction setTimeOfDay(hours, timeOfDay) {\n var isAM = timeOfDay === 0;\n if (isAM) {\n if (hours === 12) {\n return 0;\n }\n } else {\n if (hours !== 12) {\n return 12 + hours;\n }\n }\n return hours;\n}\n\nvar units = {\n twoDigitYear: {\n priority: 10,\n set: function (dateValues, value) {\n var century = Math.floor(dateValues.date.getUTCFullYear() / 100);\n var year = century * 100 + value;\n dateValues.date.setUTCFullYear(year, 0, 1);\n dateValues.date.setUTCHours(0, 0, 0, 0);\n return dateValues;\n }\n },\n year: {\n priority: 10,\n set: function (dateValues, value) {\n dateValues.date.setUTCFullYear(value, 0, 1);\n dateValues.date.setUTCHours(0, 0, 0, 0);\n return dateValues;\n }\n },\n isoYear: {\n priority: 10,\n set: function (dateValues, value, options) {\n dateValues.date = startOfUTCISOWeekYear(setUTCISOWeekYear(dateValues.date, value, options), options);\n return dateValues;\n }\n },\n quarter: {\n priority: 20,\n set: function (dateValues, value) {\n dateValues.date.setUTCMonth((value - 1) * 3, 1);\n dateValues.date.setUTCHours(0, 0, 0, 0);\n return dateValues;\n }\n },\n month: {\n priority: 30,\n set: function (dateValues, value) {\n dateValues.date.setUTCMonth(value, 1);\n dateValues.date.setUTCHours(0, 0, 0, 0);\n return dateValues;\n }\n },\n isoWeek: {\n priority: 40,\n set: function (dateValues, value, options) {\n dateValues.date = startOfUTCISOWeek(setUTCISOWeek(dateValues.date, value, options), options);\n return dateValues;\n }\n },\n dayOfWeek: {\n priority: 50,\n set: function (dateValues, value, options) {\n dateValues.date = setUTCDay(dateValues.date, value, options);\n dateValues.date.setUTCHours(0, 0, 0, 0);\n return dateValues;\n }\n },\n dayOfISOWeek: {\n priority: 50,\n set: function (dateValues, value, options) {\n dateValues.date = setUTCISODay(dateValues.date, value, options);\n dateValues.date.setUTCHours(0, 0, 0, 0);\n return dateValues;\n }\n },\n dayOfMonth: {\n priority: 50,\n set: function (dateValues, value) {\n dateValues.date.setUTCDate(value);\n dateValues.date.setUTCHours(0, 0, 0, 0);\n return dateValues;\n }\n },\n dayOfYear: {\n priority: 50,\n set: function (dateValues, value) {\n dateValues.date.setUTCMonth(0, value);\n dateValues.date.setUTCHours(0, 0, 0, 0);\n return dateValues;\n }\n },\n timeOfDay: {\n priority: 60,\n set: function (dateValues, value, options) {\n dateValues.timeOfDay = value;\n return dateValues;\n }\n },\n hours: {\n priority: 70,\n set: function (dateValues, value, options) {\n dateValues.date.setUTCHours(value, 0, 0, 0);\n return dateValues;\n }\n },\n timeOfDayHours: {\n priority: 70,\n set: function (dateValues, value, options) {\n var timeOfDay = dateValues.timeOfDay;\n if (timeOfDay != null) {\n value = setTimeOfDay(value, timeOfDay);\n }\n dateValues.date.setUTCHours(value, 0, 0, 0);\n return dateValues;\n }\n },\n minutes: {\n priority: 80,\n set: function (dateValues, value) {\n dateValues.date.setUTCMinutes(value, 0, 0);\n return dateValues;\n }\n },\n seconds: {\n priority: 90,\n set: function (dateValues, value) {\n dateValues.date.setUTCSeconds(value, 0);\n return dateValues;\n }\n },\n milliseconds: {\n priority: 100,\n set: function (dateValues, value) {\n dateValues.date.setUTCMilliseconds(value);\n return dateValues;\n }\n },\n timezone: {\n priority: 110,\n set: function (dateValues, value) {\n dateValues.date = new Date(dateValues.date.getTime() - value * MILLISECONDS_IN_MINUTE$6);\n return dateValues;\n }\n },\n timestamp: {\n priority: 120,\n set: function (dateValues, value) {\n dateValues.date = new Date(value);\n return dateValues;\n }\n }\n};\n\nvar TIMEZONE_UNIT_PRIORITY = 110;\nvar MILLISECONDS_IN_MINUTE$7 = 60000;\nvar longFormattingTokensRegExp$1 = /(\\[[^[]*])|(\\\\)?(LTS|LT|LLLL|LLL|LL|L|llll|lll|ll|l)/g;\nvar defaultParsingTokensRegExp = /(\\[[^[]*])|(\\\\)?(x|ss|s|mm|m|hh|h|do|dddd|ddd|dd|d|aa|a|ZZ|Z|YYYY|YY|X|Wo|WW|W|SSS|SS|S|Qo|Q|Mo|MMMM|MMM|MM|M|HH|H|GGGG|GG|E|Do|DDDo|DDDD|DDD|DD|D|A|.)/g;\nfunction parse(dirtyDateString, dirtyFormatString, dirtyBaseDate, dirtyOptions) {\n if (arguments.length < 3) {\n throw new TypeError('3 arguments required, but only ' + arguments.length + ' present');\n }\n var dateString = String(dirtyDateString);\n var options = dirtyOptions || {};\n var weekStartsOn = options.weekStartsOn === undefined ? 0 : Number(options.weekStartsOn);\n if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {\n throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');\n }\n var locale = options.locale || locale$1;\n var localeParsers = locale.parsers || {};\n var localeUnits = locale.units || {};\n if (!locale.match) {\n throw new RangeError('locale must contain match property');\n }\n if (!locale.formatLong) {\n throw new RangeError('locale must contain formatLong property');\n }\n var formatString = String(dirtyFormatString).replace(longFormattingTokensRegExp$1, function (substring) {\n if (substring[0] === '[') {\n return substring;\n }\n if (substring[0] === '\\\\') {\n return cleanEscapedString$1(substring);\n }\n return locale.formatLong(substring);\n });\n if (formatString === '') {\n if (dateString === '') {\n return toDate(dirtyBaseDate, options);\n } else {\n return new Date(NaN);\n }\n }\n var subFnOptions = cloneObject(options);\n subFnOptions.locale = locale;\n var tokens = formatString.match(locale.parsingTokensRegExp || defaultParsingTokensRegExp);\n var tokensLength = tokens.length;\n var setters = [{\n priority: TIMEZONE_UNIT_PRIORITY,\n set: dateToSystemTimezone,\n index: 0\n }];\n var i;\n for (i = 0; i < tokensLength; i++) {\n var token = tokens[i];\n var parser = localeParsers[token] || parsers[token];\n if (parser) {\n var matchResult;\n if (parser.match instanceof RegExp) {\n matchResult = parser.match.exec(dateString);\n } else {\n matchResult = parser.match(dateString, subFnOptions);\n }\n if (!matchResult) {\n return new Date(NaN);\n }\n var unitName = parser.unit;\n var unit = localeUnits[unitName] || units[unitName];\n setters.push({\n priority: unit.priority,\n set: unit.set,\n value: parser.parse(matchResult, subFnOptions),\n index: setters.length\n });\n var substring = matchResult[0];\n dateString = dateString.slice(substring.length);\n } else {\n var head = tokens[i].match(/^\\[.*]$/) ? tokens[i].replace(/^\\[|]$/g, '') : tokens[i];\n if (dateString.indexOf(head) === 0) {\n dateString = dateString.slice(head.length);\n } else {\n return new Date(NaN);\n }\n }\n }\n var uniquePrioritySetters = setters.map(function (setter) {\n return setter.priority;\n }).sort(function (a, b) {\n return a - b;\n }).filter(function (priority, index, array) {\n return array.indexOf(priority) === index;\n }).map(function (priority) {\n return setters.filter(function (setter) {\n return setter.priority === priority;\n }).reverse();\n }).map(function (setterArray) {\n return setterArray[0];\n });\n var date = toDate(dirtyBaseDate, options);\n if (isNaN(date)) {\n return new Date(NaN);\n }\n var utcDate = subMinutes(date, date.getTimezoneOffset());\n var dateValues = {\n date: utcDate\n };\n var settersLength = uniquePrioritySetters.length;\n for (i = 0; i < settersLength; i++) {\n var setter = uniquePrioritySetters[i];\n dateValues = setter.set(dateValues, setter.value, subFnOptions);\n }\n return dateValues.date;\n}\n\nfunction dateToSystemTimezone(dateValues) {\n var date = dateValues.date;\n var time = date.getTime();\n var offset = date.getTimezoneOffset();\n offset = new Date(time + offset * MILLISECONDS_IN_MINUTE$7).getTimezoneOffset();\n dateValues.date = new Date(time + offset * MILLISECONDS_IN_MINUTE$7);\n return dateValues;\n}\n\nfunction cleanEscapedString$1(input) {\n if (input.match(/\\[[\\s\\S]/)) {\n return input.replace(/^\\[|]$/g, '');\n }\n return input.replace(/\\\\/g, '');\n}\n\nfunction parseDate$1(date, format$$1) {\n if (typeof date !== 'string') {\n return isValid(date) ? date : null;\n }\n var parsed = parse(date, format$$1, new Date());\n if (!isValid(parsed) || format(parsed, format$$1) !== date) {\n return null;\n }\n return parsed;\n}\n\nfunction after (value, ref) {\n var otherValue = ref[0];\n var inclusion = ref[1];\n var format$$1 = ref[2];\n\n if (typeof format$$1 === 'undefined') {\n format$$1 = inclusion;\n inclusion = false;\n }\n value = parseDate$1(value, format$$1);\n otherValue = parseDate$1(otherValue, format$$1);\n if (!value || !otherValue) {\n return false;\n }\n return isAfter(value, otherValue) || inclusion && isEqual$1(value, otherValue);\n}\n\nvar alpha = {\n en: /^[A-Z]*$/i,\n cs: /^[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]*$/i,\n da: /^[A-ZÆØÅ]*$/i,\n de: /^[A-ZÄÖÜß]*$/i,\n es: /^[A-ZÁÉÍÑÓÚÜ]*$/i,\n fr: /^[A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]*$/i,\n lt: /^[A-ZĄČĘĖĮŠŲŪŽ]*$/i,\n nl: /^[A-ZÉËÏÓÖÜ]*$/i,\n hu: /^[A-ZÁÉÍÓÖŐÚÜŰ]*$/i,\n pl: /^[A-ZĄĆĘŚŁŃÓŻŹ]*$/i,\n pt: /^[A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ]*$/i,\n ru: /^[А-ЯЁ]*$/i,\n sk: /^[A-ZÁÄČĎÉÍĹĽŇÓŔŠŤÚÝŽ]*$/i,\n sr: /^[A-ZČĆŽŠĐ]*$/i,\n tr: /^[A-ZÇĞİıÖŞÜ]*$/i,\n uk: /^[А-ЩЬЮЯЄІЇҐ]*$/i,\n ar: /^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]*$/\n};\nvar alphaSpaces = {\n en: /^[A-Z\\s]*$/i,\n cs: /^[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ\\s]*$/i,\n da: /^[A-ZÆØÅ\\s]*$/i,\n de: /^[A-ZÄÖÜß\\s]*$/i,\n es: /^[A-ZÁÉÍÑÓÚÜ\\s]*$/i,\n fr: /^[A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ\\s]*$/i,\n lt: /^[A-ZĄČĘĖĮŠŲŪŽ\\s]*$/i,\n nl: /^[A-ZÉËÏÓÖÜ\\s]*$/i,\n hu: /^[A-ZÁÉÍÓÖŐÚÜŰ\\s]*$/i,\n pl: /^[A-ZĄĆĘŚŁŃÓŻŹ\\s]*$/i,\n pt: /^[A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ\\s]*$/i,\n ru: /^[А-ЯЁ\\s]*$/i,\n sk: /^[A-ZÁÄČĎÉÍĹĽŇÓŔŠŤÚÝŽ\\s]*$/i,\n sr: /^[A-ZČĆŽŠĐ\\s]*$/i,\n tr: /^[A-ZÇĞİıÖŞÜ\\s]*$/i,\n uk: /^[А-ЩЬЮЯЄІЇҐ\\s]*$/i,\n ar: /^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ\\s]*$/\n};\nvar alphanumeric = {\n en: /^[0-9A-Z]*$/i,\n cs: /^[0-9A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]*$/i,\n da: /^[0-9A-ZÆØÅ]$/i,\n de: /^[0-9A-ZÄÖÜß]*$/i,\n es: /^[0-9A-ZÁÉÍÑÓÚÜ]*$/i,\n fr: /^[0-9A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]*$/i,\n lt: /^[0-9A-ZĄČĘĖĮŠŲŪŽ]*$/i,\n hu: /^[0-9A-ZÁÉÍÓÖŐÚÜŰ]*$/i,\n nl: /^[0-9A-ZÉËÏÓÖÜ]*$/i,\n pl: /^[0-9A-ZĄĆĘŚŁŃÓŻŹ]*$/i,\n pt: /^[0-9A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ]*$/i,\n ru: /^[0-9А-ЯЁ]*$/i,\n sk: /^[0-9A-ZÁÄČĎÉÍĹĽŇÓŔŠŤÚÝŽ]*$/i,\n sr: /^[0-9A-ZČĆŽŠĐ]*$/i,\n tr: /^[0-9A-ZÇĞİıÖŞÜ]*$/i,\n uk: /^[0-9А-ЩЬЮЯЄІЇҐ]*$/i,\n ar: /^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]*$/\n};\nvar alphaDash = {\n en: /^[0-9A-Z_-]*$/i,\n cs: /^[0-9A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ_-]*$/i,\n da: /^[0-9A-ZÆØÅ_-]*$/i,\n de: /^[0-9A-ZÄÖÜß_-]*$/i,\n es: /^[0-9A-ZÁÉÍÑÓÚÜ_-]*$/i,\n fr: /^[0-9A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ_-]*$/i,\n lt: /^[0-9A-ZĄČĘĖĮŠŲŪŽ_-]*$/i,\n nl: /^[0-9A-ZÉËÏÓÖÜ_-]*$/i,\n hu: /^[0-9A-ZÁÉÍÓÖŐÚÜŰ_-]*$/i,\n pl: /^[0-9A-ZĄĆĘŚŁŃÓŻŹ_-]*$/i,\n pt: /^[0-9A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ_-]*$/i,\n ru: /^[0-9А-ЯЁ_-]*$/i,\n sk: /^[0-9A-ZÁÄČĎÉÍĹĽŇÓŔŠŤÚÝŽ_-]*$/i,\n sr: /^[0-9A-ZČĆŽŠĐ_-]*$/i,\n tr: /^[0-9A-ZÇĞİıÖŞÜ_-]*$/i,\n uk: /^[0-9А-ЩЬЮЯЄІЇҐ_-]*$/i,\n ar: /^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ_-]*$/\n};\n\nvar validate = function (value, ref) {\n if ( ref === void 0 ) ref = [];\n var locale = ref[0]; if ( locale === void 0 ) locale = null;\n\n if (Array.isArray(value)) {\n return value.every(function (val) { return validate(val, [locale]); });\n }\n if (!locale) {\n return Object.keys(alpha).some(function (loc) { return alpha[loc].test(value); });\n }\n return (alpha[locale] || alpha.en).test(value);\n};\n\nvar validate$1 = function (value, ref) {\n if ( ref === void 0 ) ref = [];\n var locale = ref[0]; if ( locale === void 0 ) locale = null;\n\n if (Array.isArray(value)) {\n return value.every(function (val) { return validate$1(val, [locale]); });\n }\n if (!locale) {\n return Object.keys(alphaDash).some(function (loc) { return alphaDash[loc].test(value); });\n }\n return (alphaDash[locale] || alphaDash.en).test(value);\n};\n\nvar validate$2 = function (value, ref) {\n if ( ref === void 0 ) ref = [];\n var locale = ref[0]; if ( locale === void 0 ) locale = null;\n\n if (Array.isArray(value)) {\n return value.every(function (val) { return validate$2(val, [locale]); });\n }\n if (!locale) {\n return Object.keys(alphanumeric).some(function (loc) { return alphanumeric[loc].test(value); });\n }\n return (alphanumeric[locale] || alphanumeric.en).test(value);\n};\n\nvar validate$3 = function (value, ref) {\n if ( ref === void 0 ) ref = [];\n var locale = ref[0]; if ( locale === void 0 ) locale = null;\n\n if (Array.isArray(value)) {\n return value.every(function (val) { return validate$3(val, [locale]); });\n }\n if (!locale) {\n return Object.keys(alphaSpaces).some(function (loc) { return alphaSpaces[loc].test(value); });\n }\n return (alphaSpaces[locale] || alphaSpaces.en).test(value);\n};\n\nfunction before (value, ref) {\n var otherValue = ref[0];\n var inclusion = ref[1];\n var format$$1 = ref[2];\n\n if (typeof format$$1 === 'undefined') {\n format$$1 = inclusion;\n inclusion = false;\n }\n value = parseDate$1(value, format$$1);\n otherValue = parseDate$1(otherValue, format$$1);\n if (!value || !otherValue) {\n return false;\n }\n return isBefore(value, otherValue) || inclusion && isEqual$1(value, otherValue);\n}\n\nvar validate$4 = function (value, ref) {\n var min = ref[0];\n var max = ref[1];\n\n if (Array.isArray(value)) {\n return value.every(function (val) { return validate$4(val, [min,max]); });\n }\n return Number(min) <= value && Number(max) >= value;\n};\n\nfunction confirmed (value, other) { return String(value) === String(other); }\n\nfunction unwrapExports (x) {\n\treturn x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;\n}\n\nfunction createCommonjsModule(fn, module) {\n\treturn module = { exports: {} }, fn(module, module.exports), module.exports;\n}\n\nvar assertString_1 = createCommonjsModule(function (module, exports) {\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.default = assertString;\n function assertString(input) {\n var isString = typeof input === 'string' || input instanceof String;\n if (!isString) {\n throw new TypeError('This library (validator.js) validates strings only');\n }\n }\n \n module.exports = exports['default'];\n});\nvar assertString = unwrapExports(assertString_1)\n\nvar assertString$1 = /*#__PURE__*/Object.freeze({\n default: assertString,\n __moduleExports: assertString_1\n});\n\nvar _assertString = ( assertString$1 && assertString ) || assertString$1;\n\nvar isCreditCard_1 = createCommonjsModule(function (module, exports) {\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.default = isCreditCard;\n var _assertString2 = _interopRequireDefault(_assertString);\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n }\n \n var creditCard = /^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11}|62[0-9]{14})$/;\n function isCreditCard(str) {\n (0, _assertString2.default)(str);\n var sanitized = str.replace(/[- ]+/g, '');\n if (!creditCard.test(sanitized)) {\n return false;\n }\n var sum = 0;\n var digit = void 0;\n var tmpNum = void 0;\n var shouldDouble = void 0;\n for (var i = sanitized.length - 1;i >= 0; i--) {\n digit = sanitized.substring(i, i + 1);\n tmpNum = parseInt(digit, 10);\n if (shouldDouble) {\n tmpNum *= 2;\n if (tmpNum >= 10) {\n sum += tmpNum % 10 + 1;\n } else {\n sum += tmpNum;\n }\n } else {\n sum += tmpNum;\n }\n shouldDouble = !shouldDouble;\n }\n return !(!(sum % 10 === 0 ? sanitized : false));\n }\n \n module.exports = exports['default'];\n});\nvar isCreditCard = unwrapExports(isCreditCard_1)\n\nfunction credit_card (value) { return isCreditCard(String(value)); }\n\nvar validate$5 = function (value, ref) {\n if ( ref === void 0 ) ref = [];\n var decimals = ref[0]; if ( decimals === void 0 ) decimals = '*';\n var separator = ref[1]; if ( separator === void 0 ) separator = '.';\n\n if (Array.isArray(value)) {\n return value.every(function (val) { return validate$5(val, [decimals,separator]); });\n }\n if (value === null || value === undefined || value === '') {\n return true;\n }\n if (Number(decimals) === 0) {\n return /^-?\\d*$/.test(value);\n }\n var regexPart = decimals === '*' ? '+' : (\"{1,\" + decimals + \"}\");\n var regex = new RegExp((\"^-?\\\\d*(\\\\\" + separator + \"\\\\d\" + regexPart + \")?$\"));\n if (!regex.test(value)) {\n return false;\n }\n var parsedValue = parseFloat(value);\n return parsedValue === parsedValue;\n};\n\nfunction date_between (value, params) {\n var assign, assign$1;\n\n var min$$1;\n var max$$1;\n var format$$1;\n var inclusivity = '()';\n if (params.length > 3) {\n (assign = params, min$$1 = assign[0], max$$1 = assign[1], inclusivity = assign[2], format$$1 = assign[3]);\n } else {\n (assign$1 = params, min$$1 = assign$1[0], max$$1 = assign$1[1], format$$1 = assign$1[2]);\n }\n var minDate = parseDate$1(String(min$$1), format$$1);\n var maxDate = parseDate$1(String(max$$1), format$$1);\n var dateVal = parseDate$1(String(value), format$$1);\n if (!minDate || !maxDate || !dateVal) {\n return false;\n }\n if (inclusivity === '()') {\n return isAfter(dateVal, minDate) && isBefore(dateVal, maxDate);\n }\n if (inclusivity === '(]') {\n return isAfter(dateVal, minDate) && (isEqual$1(dateVal, maxDate) || isBefore(dateVal, maxDate));\n }\n if (inclusivity === '[)') {\n return isBefore(dateVal, maxDate) && (isEqual$1(dateVal, minDate) || isAfter(dateVal, minDate));\n }\n return isEqual$1(dateVal, maxDate) || isEqual$1(dateVal, minDate) || isBefore(dateVal, maxDate) && isAfter(dateVal, minDate);\n}\n\nfunction date_format (value, ref) {\n\tvar format = ref[0];\n\n\treturn !(!parseDate$1(value, format));\n}\n\nvar validate$6 = function (value, ref) {\n var length = ref[0];\n\n if (Array.isArray(value)) {\n return value.every(function (val) { return validate$6(val, [length]); });\n }\n var strVal = String(value);\n return /^[0-9]*$/.test(strVal) && strVal.length === Number(length);\n};\n\nvar validateImage = function (file, width, height) {\n var URL = window.URL || window.webkitURL;\n return new Promise(function (resolve) {\n var image = new Image();\n image.onerror = (function () { return resolve({\n valid: false\n }); });\n image.onload = (function () { return resolve({\n valid: image.width === Number(width) && image.height === Number(height)\n }); });\n image.src = URL.createObjectURL(file);\n });\n};\nfunction dimensions (files, ref) {\n var width = ref[0];\n var height = ref[1];\n\n var list = [];\n for (var i = 0;i < files.length; i++) {\n if (!/\\.(jpg|svg|jpeg|png|bmp|gif)$/i.test(files[i].name)) {\n return false;\n }\n list.push(files[i]);\n }\n return Promise.all(list.map(function (file) { return validateImage(file, width, height); }));\n}\n\nvar merge_1 = createCommonjsModule(function (module, exports) {\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.default = merge;\n function merge() {\n var obj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var defaults = arguments[1];\n for (var key in defaults) {\n if (typeof obj[key] === 'undefined') {\n obj[key] = defaults[key];\n }\n }\n return obj;\n }\n \n module.exports = exports['default'];\n});\nvar merge$1 = unwrapExports(merge_1)\n\nvar merge$2 = /*#__PURE__*/Object.freeze({\n default: merge$1,\n __moduleExports: merge_1\n});\n\nvar isByteLength_1 = createCommonjsModule(function (module, exports) {\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n var _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n exports.default = isByteLength;\n var _assertString2 = _interopRequireDefault(_assertString);\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n }\n \n function isByteLength(str, options) {\n (0, _assertString2.default)(str);\n var min = void 0;\n var max = void 0;\n if ((typeof options === 'undefined' ? 'undefined' : _typeof(options)) === 'object') {\n min = options.min || 0;\n max = options.max;\n } else {\n min = arguments[1];\n max = arguments[2];\n }\n var len = encodeURI(str).split(/%..|./).length - 1;\n return len >= min && (typeof max === 'undefined' || len <= max);\n }\n \n module.exports = exports['default'];\n});\nvar isByteLength = unwrapExports(isByteLength_1)\n\nvar isByteLength$1 = /*#__PURE__*/Object.freeze({\n default: isByteLength,\n __moduleExports: isByteLength_1\n});\n\nvar _merge = ( merge$2 && merge$1 ) || merge$2;\n\nvar isFQDN_1 = createCommonjsModule(function (module, exports) {\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.default = isFQDN;\n var _assertString2 = _interopRequireDefault(_assertString);\n var _merge2 = _interopRequireDefault(_merge);\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n }\n \n var default_fqdn_options = {\n require_tld: true,\n allow_underscores: false,\n allow_trailing_dot: false\n };\n function isFQDN(str, options) {\n (0, _assertString2.default)(str);\n options = (0, _merge2.default)(options, default_fqdn_options);\n if (options.allow_trailing_dot && str[str.length - 1] === '.') {\n str = str.substring(0, str.length - 1);\n }\n var parts = str.split('.');\n if (options.require_tld) {\n var tld = parts.pop();\n if (!parts.length || !/^([a-z\\u00a1-\\uffff]{2,}|xn[a-z0-9-]{2,})$/i.test(tld)) {\n return false;\n }\n if (/[\\s\\u2002-\\u200B\\u202F\\u205F\\u3000\\uFEFF\\uDB40\\uDC20]/.test(tld)) {\n return false;\n }\n }\n for (var part, i = 0;i < parts.length; i++) {\n part = parts[i];\n if (options.allow_underscores) {\n part = part.replace(/_/g, '');\n }\n if (!/^[a-z\\u00a1-\\uffff0-9-]+$/i.test(part)) {\n return false;\n }\n if (/[\\uff01-\\uff5e]/.test(part)) {\n return false;\n }\n if (part[0] === '-' || part[part.length - 1] === '-') {\n return false;\n }\n }\n return true;\n }\n \n module.exports = exports['default'];\n});\nvar isFQDN = unwrapExports(isFQDN_1)\n\nvar isFQDN$1 = /*#__PURE__*/Object.freeze({\n default: isFQDN,\n __moduleExports: isFQDN_1\n});\n\nvar _isByteLength = ( isByteLength$1 && isByteLength ) || isByteLength$1;\n\nvar _isFQDN = ( isFQDN$1 && isFQDN ) || isFQDN$1;\n\nvar isEmail_1 = createCommonjsModule(function (module, exports) {\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.default = isEmail;\n var _assertString2 = _interopRequireDefault(_assertString);\n var _merge2 = _interopRequireDefault(_merge);\n var _isByteLength2 = _interopRequireDefault(_isByteLength);\n var _isFQDN2 = _interopRequireDefault(_isFQDN);\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n }\n \n var default_email_options = {\n allow_display_name: false,\n require_display_name: false,\n allow_utf8_local_part: true,\n require_tld: true\n };\n var displayName = /^[a-z\\d!#\\$%&'\\*\\+\\-\\/=\\?\\^_`{\\|}~\\.\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]+[a-z\\d!#\\$%&'\\*\\+\\-\\/=\\?\\^_`{\\|}~\\,\\.\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF\\s]*<(.+)>$/i;\n var emailUserPart = /^[a-z\\d!#\\$%&'\\*\\+\\-\\/=\\?\\^_`{\\|}~]+$/i;\n var quotedEmailUser = /^([\\s\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x7f\\x21\\x23-\\x5b\\x5d-\\x7e]|(\\\\[\\x01-\\x09\\x0b\\x0c\\x0d-\\x7f]))*$/i;\n var emailUserUtf8Part = /^[a-z\\d!#\\$%&'\\*\\+\\-\\/=\\?\\^_`{\\|}~\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]+$/i;\n var quotedEmailUserUtf8 = /^([\\s\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x7f\\x21\\x23-\\x5b\\x5d-\\x7e\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]|(\\\\[\\x01-\\x09\\x0b\\x0c\\x0d-\\x7f\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]))*$/i;\n function isEmail(str, options) {\n (0, _assertString2.default)(str);\n options = (0, _merge2.default)(options, default_email_options);\n if (options.require_display_name || options.allow_display_name) {\n var display_email = str.match(displayName);\n if (display_email) {\n str = display_email[1];\n } else if (options.require_display_name) {\n return false;\n }\n }\n var parts = str.split('@');\n var domain = parts.pop();\n var user = parts.join('@');\n var lower_domain = domain.toLowerCase();\n if (lower_domain === 'gmail.com' || lower_domain === 'googlemail.com') {\n user = user.replace(/\\./g, '').toLowerCase();\n }\n if (!(0, _isByteLength2.default)(user, {\n max: 64\n }) || !(0, _isByteLength2.default)(domain, {\n max: 254\n })) {\n return false;\n }\n if (!(0, _isFQDN2.default)(domain, {\n require_tld: options.require_tld\n })) {\n return false;\n }\n if (user[0] === '\"') {\n user = user.slice(1, user.length - 1);\n return options.allow_utf8_local_part ? quotedEmailUserUtf8.test(user) : quotedEmailUser.test(user);\n }\n var pattern = options.allow_utf8_local_part ? emailUserUtf8Part : emailUserPart;\n var user_parts = user.split('.');\n for (var i = 0;i < user_parts.length; i++) {\n if (!pattern.test(user_parts[i])) {\n return false;\n }\n }\n return true;\n }\n \n module.exports = exports['default'];\n});\nvar isEmail = unwrapExports(isEmail_1)\n\nvar validate$7 = function (value) {\n if (Array.isArray(value)) {\n return value.every(function (val) { return isEmail(String(val)); });\n }\n return isEmail(String(value));\n};\n\nfunction ext (files, extensions) {\n var regex = new RegExp((\".(\" + (extensions.join('|')) + \")$\"), 'i');\n return files.every(function (file) { return regex.test(file.name); });\n}\n\nfunction image (files) { return files.every(function (file) { return /\\.(jpg|svg|jpeg|png|bmp|gif)$/i.test(file.name); }); }\n\nvar validate$8 = function (value, options) {\n if (Array.isArray(value)) {\n return value.every(function (val) { return validate$8(val, options); });\n }\n return !(!options.filter(function (option) { return option == value; }).length);\n};\n\nvar isIP_1 = createCommonjsModule(function (module, exports) {\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.default = isIP;\n var _assertString2 = _interopRequireDefault(_assertString);\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n }\n \n var ipv4Maybe = /^(\\d{1,3})\\.(\\d{1,3})\\.(\\d{1,3})\\.(\\d{1,3})$/;\n var ipv6Block = /^[0-9A-F]{1,4}$/i;\n function isIP(str) {\n var version = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n (0, _assertString2.default)(str);\n version = String(version);\n if (!version) {\n return isIP(str, 4) || isIP(str, 6);\n } else if (version === '4') {\n if (!ipv4Maybe.test(str)) {\n return false;\n }\n var parts = str.split('.').sort(function (a, b) {\n return a - b;\n });\n return parts[3] <= 255;\n } else if (version === '6') {\n var blocks = str.split(':');\n var foundOmissionBlock = false;\n var foundIPv4TransitionBlock = isIP(blocks[blocks.length - 1], 4);\n var expectedNumberOfBlocks = foundIPv4TransitionBlock ? 7 : 8;\n if (blocks.length > expectedNumberOfBlocks) {\n return false;\n }\n if (str === '::') {\n return true;\n } else if (str.substr(0, 2) === '::') {\n blocks.shift();\n blocks.shift();\n foundOmissionBlock = true;\n } else if (str.substr(str.length - 2) === '::') {\n blocks.pop();\n blocks.pop();\n foundOmissionBlock = true;\n }\n for (var i = 0;i < blocks.length; ++i) {\n if (blocks[i] === '' && i > 0 && i < blocks.length - 1) {\n if (foundOmissionBlock) {\n return false;\n }\n foundOmissionBlock = true;\n } else if (foundIPv4TransitionBlock && i === blocks.length - 1) ; else if (!ipv6Block.test(blocks[i])) {\n return false;\n }\n }\n if (foundOmissionBlock) {\n return blocks.length >= 1;\n }\n return blocks.length === expectedNumberOfBlocks;\n }\n return false;\n }\n \n module.exports = exports['default'];\n});\nvar isIP = unwrapExports(isIP_1)\n\nfunction ip (value, ref) {\n if ( ref === void 0 ) ref = [];\n var version = ref[0]; if ( version === void 0 ) version = 4;\n\n if (isNullOrUndefined(value)) {\n value = '';\n }\n if (Array.isArray(value)) {\n return value.every(function (val) { return isIP(val, version); });\n }\n return isIP(value, version);\n}\n\nfunction is (value, ref) {\n\tif ( ref === void 0 ) ref = [];\n\tvar other = ref[0];\n\n\treturn value === other;\n}\n\nfunction is_not (value, ref) {\n\tif ( ref === void 0 ) ref = [];\n\tvar other = ref[0];\n\n\treturn value !== other;\n}\n\nvar compare = function (value, length, max) {\n if (max === undefined) {\n return value.length === length;\n }\n max = Number(max);\n return value.length >= length && value.length <= max;\n};\nfunction length (value, ref) {\n var length = ref[0];\n var max = ref[1]; if ( max === void 0 ) max = undefined;\n\n length = Number(length);\n if (value === undefined || value === null) {\n return false;\n }\n if (typeof value === 'number') {\n value = String(value);\n }\n if (!value.length) {\n value = toArray(value);\n }\n return compare(value, length, max);\n}\n\nfunction integer (value) {\n if (Array.isArray(value)) {\n return value.every(function (val) { return /^-?[0-9]+$/.test(String(val)); });\n }\n return /^-?[0-9]+$/.test(String(value));\n}\n\nfunction max$1 (value, ref) {\n var length = ref[0];\n\n if (value === undefined || value === null) {\n return length >= 0;\n }\n return String(value).length <= length;\n}\n\nfunction max_value (value, ref) {\n var max = ref[0];\n\n if (Array.isArray(value) || value === null || value === undefined || value === '') {\n return false;\n }\n return Number(value) <= max;\n}\n\nfunction mimes (files, mimes) {\n var regex = new RegExp(((mimes.join('|').replace('*', '.+')) + \"$\"), 'i');\n return files.every(function (file) { return regex.test(file.type); });\n}\n\nfunction min$1 (value, ref) {\n var length = ref[0];\n\n if (value === undefined || value === null) {\n return false;\n }\n return String(value).length >= length;\n}\n\nfunction min_value (value, ref) {\n var min = ref[0];\n\n if (Array.isArray(value) || value === null || value === undefined || value === '') {\n return false;\n }\n return Number(value) >= min;\n}\n\nvar validate$9 = function (value, options) {\n if (Array.isArray(value)) {\n return value.every(function (val) { return validate$9(val, options); });\n }\n return !options.filter(function (option) { return option == value; }).length;\n};\n\nfunction numeric (value) {\n if (Array.isArray(value)) {\n return value.every(function (val) { return /^[0-9]+$/.test(String(val)); });\n }\n return /^[0-9]+$/.test(String(value));\n}\n\nfunction regex (value, ref) {\n var regex = ref[0];\n var flags = ref.slice(1);\n\n if (regex instanceof RegExp) {\n return regex.test(value);\n }\n return new RegExp(regex, flags).test(String(value));\n}\n\nfunction required (value, ref) {\n if ( ref === void 0 ) ref = [];\n var invalidateFalse = ref[0]; if ( invalidateFalse === void 0 ) invalidateFalse = false;\n\n if (Array.isArray(value)) {\n return !(!value.length);\n }\n if (value === false && invalidateFalse) {\n return false;\n }\n if (value === undefined || value === null) {\n return false;\n }\n return !(!String(value).trim().length);\n}\n\nfunction size (files, ref) {\n var size = ref[0];\n\n if (isNaN(size)) {\n return false;\n }\n var nSize = Number(size) * 1024;\n for (var i = 0;i < files.length; i++) {\n if (files[i].size > nSize) {\n return false;\n }\n }\n return true;\n}\n\nvar isURL_1 = createCommonjsModule(function (module, exports) {\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.default = isURL;\n var _assertString2 = _interopRequireDefault(_assertString);\n var _isFQDN2 = _interopRequireDefault(_isFQDN);\n var _isIP2 = _interopRequireDefault(isIP_1);\n var _merge2 = _interopRequireDefault(_merge);\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n }\n \n var default_url_options = {\n protocols: ['http','https','ftp'],\n require_tld: true,\n require_protocol: false,\n require_host: true,\n require_valid_protocol: true,\n allow_underscores: false,\n allow_trailing_dot: false,\n allow_protocol_relative_urls: false\n };\n var wrapped_ipv6 = /^\\[([^\\]]+)\\](?::([0-9]+))?$/;\n function isRegExp(obj) {\n return Object.prototype.toString.call(obj) === '[object RegExp]';\n }\n \n function checkHost(host, matches) {\n for (var i = 0;i < matches.length; i++) {\n var match = matches[i];\n if (host === match || isRegExp(match) && match.test(host)) {\n return true;\n }\n }\n return false;\n }\n \n function isURL(url, options) {\n (0, _assertString2.default)(url);\n if (!url || url.length >= 2083 || /[\\s<>]/.test(url)) {\n return false;\n }\n if (url.indexOf('mailto:') === 0) {\n return false;\n }\n options = (0, _merge2.default)(options, default_url_options);\n var protocol = void 0, auth = void 0, host = void 0, hostname = void 0, port = void 0, port_str = void 0, split = void 0, ipv6 = void 0;\n split = url.split('#');\n url = split.shift();\n split = url.split('?');\n url = split.shift();\n split = url.split('://');\n if (split.length > 1) {\n protocol = split.shift();\n if (options.require_valid_protocol && options.protocols.indexOf(protocol) === -1) {\n return false;\n }\n } else if (options.require_protocol) {\n return false;\n } else if (options.allow_protocol_relative_urls && url.substr(0, 2) === '//') {\n split[0] = url.substr(2);\n }\n url = split.join('://');\n if (url === '') {\n return false;\n }\n split = url.split('/');\n url = split.shift();\n if (url === '' && !options.require_host) {\n return true;\n }\n split = url.split('@');\n if (split.length > 1) {\n auth = split.shift();\n if (auth.indexOf(':') >= 0 && auth.split(':').length > 2) {\n return false;\n }\n }\n hostname = split.join('@');\n port_str = null;\n ipv6 = null;\n var ipv6_match = hostname.match(wrapped_ipv6);\n if (ipv6_match) {\n host = '';\n ipv6 = ipv6_match[1];\n port_str = ipv6_match[2] || null;\n } else {\n split = hostname.split(':');\n host = split.shift();\n if (split.length) {\n port_str = split.join(':');\n }\n }\n if (port_str !== null) {\n port = parseInt(port_str, 10);\n if (!/^[0-9]+$/.test(port_str) || port <= 0 || port > 65535) {\n return false;\n }\n }\n if (!(0, _isIP2.default)(host) && !(0, _isFQDN2.default)(host, options) && (!ipv6 || !(0, _isIP2.default)(ipv6, 6))) {\n return false;\n }\n host = host || ipv6;\n if (options.host_whitelist && !checkHost(host, options.host_whitelist)) {\n return false;\n }\n if (options.host_blacklist && checkHost(host, options.host_blacklist)) {\n return false;\n }\n return true;\n }\n \n module.exports = exports['default'];\n});\nvar isURL = unwrapExports(isURL_1)\n\nfunction url (value, ref) {\n if ( ref === void 0 ) ref = [];\n var requireProtocol = ref[0]; if ( requireProtocol === void 0 ) requireProtocol = false;\n\n var options = {\n require_protocol: !(!requireProtocol),\n allow_underscores: true\n };\n if (isNullOrUndefined(value)) {\n value = '';\n }\n if (Array.isArray(value)) {\n return value.every(function (val) { return isURL(val, options); });\n }\n return isURL(value, options);\n}\n\nvar Rules = {\n after: after,\n alpha_dash: validate$1,\n alpha_num: validate$2,\n alpha_spaces: validate$3,\n alpha: validate,\n before: before,\n between: validate$4,\n confirmed: confirmed,\n credit_card: credit_card,\n date_between: date_between,\n date_format: date_format,\n decimal: validate$5,\n digits: validate$6,\n dimensions: dimensions,\n email: validate$7,\n ext: ext,\n image: image,\n in: validate$8,\n integer: integer,\n length: length,\n ip: ip,\n is_not: is_not,\n is: is,\n max: max$1,\n max_value: max_value,\n mimes: mimes,\n min: min$1,\n min_value: min_value,\n not_in: validate$9,\n numeric: numeric,\n regex: regex,\n required: required,\n size: size,\n url: url\n}\n\nvar normalize = function (fields) {\n if (Array.isArray(fields)) {\n return fields.reduce(function (prev, curr) {\n if (~curr.indexOf('.')) {\n prev[curr.split('.')[1]] = curr;\n } else {\n prev[curr] = curr;\n }\n return prev;\n }, {});\n }\n return fields;\n};\nvar combine = function (lhs, rhs) {\n var mapper = {\n pristine: function (lhs, rhs) { return lhs && rhs; },\n dirty: function (lhs, rhs) { return lhs || rhs; },\n touched: function (lhs, rhs) { return lhs || rhs; },\n untouched: function (lhs, rhs) { return lhs && rhs; },\n valid: function (lhs, rhs) { return lhs && rhs; },\n invalid: function (lhs, rhs) { return lhs || rhs; },\n pending: function (lhs, rhs) { return lhs || rhs; },\n required: function (lhs, rhs) { return lhs || rhs; },\n validated: function (lhs, rhs) { return lhs && rhs; }\n };\n return Object.keys(mapper).reduce(function (flags, flag) {\n flags[flag] = mapper[flag](lhs[flag], rhs[flag]);\n return flags;\n }, {});\n};\nvar mapScope = function (scope, deep) {\n if ( deep === void 0 ) deep = true;\n\n return Object.keys(scope).reduce(function (flags, field) {\n if (!flags) {\n flags = assign({}, scope[field]);\n return flags;\n }\n var isScope = field.indexOf('$') === 0;\n if (deep && isScope) {\n return combine(mapScope(scope[field]), flags);\n } else if (!deep && isScope) {\n return flags;\n }\n flags = combine(flags, scope[field]);\n return flags;\n}, null);\n};\nvar mapFields = function (fields) {\n if (!fields) {\n return function () {\n return mapScope(this.$validator.flags);\n };\n }\n var normalized = normalize(fields);\n return Object.keys(normalized).reduce(function (prev, curr) {\n var field = normalized[curr];\n prev[curr] = function mappedField() {\n if (this.$validator.flags[field]) {\n return this.$validator.flags[field];\n }\n if (normalized[curr] === '*') {\n return mapScope(this.$validator.flags, false);\n }\n var index = field.indexOf('.');\n if (index <= 0) {\n return {};\n }\n var ref = field.split('.');\n var scope = ref[0];\n var name = ref.slice(1);\n scope = this.$validator.flags[(\"$\" + scope)];\n name = name.join('.');\n if (name === '*' && scope) {\n return mapScope(scope);\n }\n if (scope && scope[name]) {\n return scope[name];\n }\n return {};\n };\n return prev;\n }, {});\n};\n\nvar ErrorComponent = {\n name: 'vv-error',\n inject: ['$validator'],\n functional: true,\n props: {\n for: {\n type: String,\n required: true\n },\n tag: {\n type: String,\n default: 'span'\n }\n },\n render: function render(createElement, ref) {\n var props = ref.props;\n var injections = ref.injections;\n\n return createElement(props.tag, injections.$validator.errors.first(props.for));\n }\n};\n\nvar version = '2.0.9';\nvar rulesPlugin = function (ref) {\n var Validator$$1 = ref.Validator;\n\n Object.keys(Rules).forEach(function (rule) {\n Validator$$1.extend(rule, Rules[rule]);\n });\n Validator$$1.localize('en', locale);\n};\nuse(rulesPlugin);\nvar index_esm = {\n install: install,\n use: use,\n directive: directive,\n mixin: mixin,\n mapFields: mapFields,\n Validator: Validator,\n ErrorBag: ErrorBag,\n ErrorComponent: ErrorComponent,\n Rules: Rules,\n version: version\n}\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (index_esm);\n\n\n/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(15)))\n\n/***/ }),\n\n/***/ 103:\n/***/ (function(module, exports, __webpack_require__) {\n\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(true)\n\t\tmodule.exports = factory(__webpack_require__(44));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"vue\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"vue-notification\"] = factory(require(\"vue\"));\n\telse\n\t\troot[\"vue-notification\"] = factory(root[\"vue\"]);\n})(this, function(__WEBPACK_EXTERNAL_MODULE_20__) {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// identity function for calling harmony imports with the correct context\n/******/ \t__webpack_require__.i = function(value) { return value; };\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"/dist/\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 2);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, exports) {\n\n// this module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle\n\nmodule.exports = function normalizeComponent (\n rawScriptExports,\n compiledTemplate,\n scopeId,\n cssModules\n) {\n var esModule\n var scriptExports = rawScriptExports = rawScriptExports || {}\n\n // ES6 modules interop\n var type = typeof rawScriptExports.default\n if (type === 'object' || type === 'function') {\n esModule = rawScriptExports\n scriptExports = rawScriptExports.default\n }\n\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function'\n ? scriptExports.options\n : scriptExports\n\n // render functions\n if (compiledTemplate) {\n options.render = compiledTemplate.render\n options.staticRenderFns = compiledTemplate.staticRenderFns\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = scopeId\n }\n\n // inject cssModules\n if (cssModules) {\n var computed = Object.create(options.computed || null)\n Object.keys(cssModules).forEach(function (key) {\n var module = cssModules[key]\n computed[key] = function () { return module }\n })\n options.computed = computed\n }\n\n return {\n esModule: esModule,\n exports: scriptExports,\n options: options\n }\n}\n\n\n/***/ }),\n/* 1 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"a\", function() { return events; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue__ = __webpack_require__(20);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_vue__);\n\n\nvar events = new __WEBPACK_IMPORTED_MODULE_0_vue___default.a({ name: 'vue-notification' });\n\n/***/ }),\n/* 2 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Notifications_vue__ = __webpack_require__(3);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Notifications_vue___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__Notifications_vue__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__events__ = __webpack_require__(1);\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\n\n\n\nvar Notify = {\n install: function install(Vue) {\n var args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n if (this.installed) {\n return;\n }\n\n this.installed = true;\n this.params = args;\n\n Vue.component(args.componentName || 'notifications', __WEBPACK_IMPORTED_MODULE_0__Notifications_vue___default.a);\n\n var notify = function notify(params) {\n if (typeof params === 'string') {\n params = { title: '', text: params };\n }\n\n if ((typeof params === 'undefined' ? 'undefined' : _typeof(params)) === 'object') {\n __WEBPACK_IMPORTED_MODULE_1__events__[\"a\" /* events */].$emit('add', params);\n }\n };\n\n notify.close = function (id) {\n __WEBPACK_IMPORTED_MODULE_1__events__[\"a\" /* events */].$emit('close', id);\n };\n\n var name = args.name || 'notify';\n\n Vue.prototype['$' + name] = notify;\n Vue[name] = notify;\n }\n};\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Notify);\n\n/***/ }),\n/* 3 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\n/* styles */\n__webpack_require__(17)\n\nvar Component = __webpack_require__(0)(\n /* script */\n __webpack_require__(5),\n /* template */\n __webpack_require__(15),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n/***/ }),\n/* 4 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'CssGroup',\n props: ['name']\n});\n\n/***/ }),\n/* 5 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__index__ = __webpack_require__(2);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__events__ = __webpack_require__(1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__util__ = __webpack_require__(9);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__defaults__ = __webpack_require__(7);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__VelocityGroup_vue__ = __webpack_require__(13);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__VelocityGroup_vue___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4__VelocityGroup_vue__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__CssGroup_vue__ = __webpack_require__(12);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__CssGroup_vue___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5__CssGroup_vue__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__parser__ = __webpack_require__(8);\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n\n\n\n\n\n\n\n\nvar STATE = {\n IDLE: 0,\n DESTROYED: 2\n};\n\nvar Component = {\n name: 'Notifications',\n components: {\n VelocityGroup: __WEBPACK_IMPORTED_MODULE_4__VelocityGroup_vue___default.a,\n CssGroup: __WEBPACK_IMPORTED_MODULE_5__CssGroup_vue___default.a\n },\n props: {\n group: {\n type: String,\n default: ''\n },\n\n width: {\n type: [Number, String],\n default: 300\n },\n\n reverse: {\n type: Boolean,\n default: false\n },\n\n position: {\n type: [String, Array],\n default: function _default() {\n return __WEBPACK_IMPORTED_MODULE_3__defaults__[\"a\" /* default */].position;\n }\n },\n\n classes: {\n type: String,\n default: 'vue-notification'\n },\n\n animationType: {\n type: String,\n default: 'css',\n validator: function validator(value) {\n return value === 'css' || value === 'velocity';\n }\n },\n\n animation: {\n type: Object,\n default: function _default() {\n return __WEBPACK_IMPORTED_MODULE_3__defaults__[\"a\" /* default */].velocityAnimation;\n }\n },\n\n animationName: {\n type: String,\n default: __WEBPACK_IMPORTED_MODULE_3__defaults__[\"a\" /* default */].cssAnimation\n },\n\n speed: {\n type: Number,\n default: 300\n },\n\n cooldown: {\n type: Number,\n default: 0\n },\n\n duration: {\n type: Number,\n default: 3000\n },\n\n delay: {\n type: Number,\n default: 0\n },\n\n max: {\n type: Number,\n default: Infinity\n },\n\n ignoreDuplicates: {\n type: Boolean,\n default: false\n },\n\n closeOnClick: {\n type: Boolean,\n default: true\n }\n },\n data: function data() {\n return {\n list: [],\n velocity: __WEBPACK_IMPORTED_MODULE_0__index__[\"default\"].params.velocity\n };\n },\n mounted: function mounted() {\n __WEBPACK_IMPORTED_MODULE_1__events__[\"a\" /* events */].$on('add', this.addItem);\n __WEBPACK_IMPORTED_MODULE_1__events__[\"a\" /* events */].$on('close', this.closeItem);\n },\n\n computed: {\n actualWidth: function actualWidth() {\n return __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_6__parser__[\"a\" /* default */])(this.width);\n },\n isVA: function isVA() {\n return this.animationType === 'velocity';\n },\n componentName: function componentName() {\n return this.isVA ? 'VelocityGroup' : 'CssGroup';\n },\n styles: function styles() {\n var _listToDirection = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__util__[\"a\" /* listToDirection */])(this.position),\n x = _listToDirection.x,\n y = _listToDirection.y;\n\n var width = this.actualWidth.value;\n var suffix = this.actualWidth.type;\n\n var styles = _defineProperty({\n width: width + suffix\n }, y, '0px');\n\n if (x === 'center') {\n styles['left'] = 'calc(50% - ' + width / 2 + suffix + ')';\n } else {\n styles[x] = '0px';\n }\n\n return styles;\n },\n active: function active() {\n return this.list.filter(function (v) {\n return v.state !== STATE.DESTROYED;\n });\n },\n botToTop: function botToTop() {\n return this.styles.hasOwnProperty('bottom');\n }\n },\n methods: {\n destroyIfNecessary: function destroyIfNecessary(item) {\n if (this.closeOnClick) {\n this.destroy(item);\n }\n },\n addItem: function addItem(event) {\n var _this = this;\n\n event.group = event.group || '';\n\n if (this.group !== event.group) {\n return;\n }\n\n if (event.clean || event.clear) {\n this.destroyAll();\n return;\n }\n\n var duration = typeof event.duration === 'number' ? event.duration : this.duration;\n\n var speed = typeof event.speed === 'number' ? event.speed : this.speed;\n\n var ignoreDuplicates = typeof event.ignoreDuplicates === 'boolean' ? event.ignoreDuplicates : this.ignoreDuplicates;\n\n var title = event.title,\n text = event.text,\n type = event.type,\n data = event.data,\n id = event.id;\n\n\n var item = {\n id: id || __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__util__[\"b\" /* Id */])(),\n title: title,\n text: text,\n type: type,\n state: STATE.IDLE,\n speed: speed,\n length: duration + 2 * speed,\n data: data\n };\n\n if (duration >= 0) {\n item.timer = setTimeout(function () {\n _this.destroy(item);\n }, item.length);\n }\n\n var direction = this.reverse ? !this.botToTop : this.botToTop;\n\n var indexToDestroy = -1;\n\n var isDuplicate = this.active.some(function (item) {\n return item.title === event.title && item.text === event.text;\n });\n\n var canAdd = ignoreDuplicates ? !isDuplicate : true;\n\n if (!canAdd) return;\n\n if (direction) {\n this.list.push(item);\n\n if (this.active.length > this.max) {\n indexToDestroy = 0;\n }\n } else {\n this.list.unshift(item);\n\n if (this.active.length > this.max) {\n indexToDestroy = this.active.length - 1;\n }\n }\n\n if (indexToDestroy !== -1) {\n this.destroy(this.active[indexToDestroy]);\n }\n },\n closeItem: function closeItem(id) {\n this.destroyById(id);\n },\n notifyClass: function notifyClass(item) {\n return ['vue-notification-template', this.classes, item.type];\n },\n notifyWrapperStyle: function notifyWrapperStyle(item) {\n return this.isVA ? null : { transition: 'all ' + item.speed + 'ms' };\n },\n destroy: function destroy(item) {\n clearTimeout(item.timer);\n item.state = STATE.DESTROYED;\n\n if (!this.isVA) {\n this.clean();\n }\n },\n destroyById: function destroyById(id) {\n var item = this.list.find(function (v) {\n return v.id === id;\n });\n\n if (item) {\n this.destroy(item);\n }\n },\n destroyAll: function destroyAll() {\n this.active.forEach(this.destroy);\n },\n getAnimation: function getAnimation(index, el) {\n var animation = this.animation[index];\n\n return typeof animation === 'function' ? animation.call(this, el) : animation;\n },\n enter: function enter(_ref) {\n var el = _ref.el,\n complete = _ref.complete;\n\n var animation = this.getAnimation('enter', el);\n\n this.velocity(el, animation, {\n duration: this.speed,\n complete: complete\n });\n },\n leave: function leave(_ref2) {\n var el = _ref2.el,\n complete = _ref2.complete;\n\n var animation = this.getAnimation('leave', el);\n\n this.velocity(el, animation, {\n duration: this.speed,\n complete: complete\n });\n },\n clean: function clean() {\n this.list = this.list.filter(function (v) {\n return v.state !== STATE.DESTROYED;\n });\n }\n }\n};\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Component);\n\n/***/ }),\n/* 6 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'VelocityGroup',\n methods: {\n enter: function enter(el, complete) {\n this.$emit('enter', { el: el, complete: complete });\n },\n leave: function leave(el, complete) {\n this.$emit('leave', { el: el, complete: complete });\n },\n afterLeave: function afterLeave() {\n this.$emit('afterLeave');\n }\n }\n});\n\n/***/ }),\n/* 7 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony default export */ __webpack_exports__[\"a\"] = ({\n position: ['top', 'right'],\n cssAnimation: 'vn-fade',\n velocityAnimation: {\n enter: function enter(el) {\n var height = el.clientHeight;\n\n return {\n height: [height, 0],\n opacity: [1, 0]\n };\n },\n leave: {\n height: 0,\n opacity: [0, 1]\n }\n }\n});\n\n/***/ }),\n/* 8 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* unused harmony export parse */\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar floatRegexp = '[-+]?[0-9]*.?[0-9]+';\n\nvar types = [{\n name: 'px',\n regexp: new RegExp('^' + floatRegexp + 'px$')\n}, {\n name: '%',\n regexp: new RegExp('^' + floatRegexp + '%$')\n}, {\n name: 'px',\n regexp: new RegExp('^' + floatRegexp + '$')\n}];\n\nvar getType = function getType(value) {\n if (value === 'auto') {\n return {\n type: value,\n value: 0\n };\n }\n\n for (var i = 0; i < types.length; i++) {\n var type = types[i];\n if (type.regexp.test(value)) {\n return {\n type: type.name,\n value: parseFloat(value)\n };\n }\n }\n\n return {\n type: '',\n value: value\n };\n};\n\nvar parse = function parse(value) {\n switch (typeof value === 'undefined' ? 'undefined' : _typeof(value)) {\n case 'number':\n return { type: 'px', value: value };\n case 'string':\n return getType(value);\n default:\n return { type: '', value: value };\n }\n};\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (parse);\n\n/***/ }),\n/* 9 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"b\", function() { return Id; });\n/* unused harmony export split */\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"a\", function() { return listToDirection; });\nvar directions = {\n x: ['left', 'center', 'right'],\n y: ['top', 'bottom']\n};\n\nvar Id = function (i) {\n return function () {\n return i++;\n };\n}(0);\n\nvar split = function split(value) {\n if (typeof value !== 'string') {\n return [];\n }\n\n return value.split(/\\s+/gi).filter(function (v) {\n return v;\n });\n};\n\nvar listToDirection = function listToDirection(value) {\n if (typeof value === 'string') {\n value = split(value);\n }\n\n var x = null;\n var y = null;\n\n value.forEach(function (v) {\n if (directions.y.indexOf(v) !== -1) {\n y = v;\n }\n if (directions.x.indexOf(v) !== -1) {\n x = v;\n }\n });\n\n return { x: x, y: y };\n};\n\n/***/ }),\n/* 10 */\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(11)();\n// imports\n\n\n// module\nexports.push([module.i, \".vue-notification-group{display:block;position:fixed;z-index:5000}.vue-notification-wrapper{display:block;overflow:hidden;width:100%;margin:0;padding:0}.notification-title{font-weight:600}.vue-notification-template{background:#fff}.vue-notification,.vue-notification-template{display:block;box-sizing:border-box;text-align:left}.vue-notification{font-size:12px;padding:10px;margin:0 5px 5px;color:#fff;background:#44a4fc;border-left:5px solid #187fe7}.vue-notification.warn{background:#ffb648;border-left-color:#f48a06}.vue-notification.error{background:#e54d42;border-left-color:#b82e24}.vue-notification.success{background:#68cd86;border-left-color:#42a85f}.vn-fade-enter-active,.vn-fade-leave-active,.vn-fade-move{transition:all .5s}.vn-fade-enter,.vn-fade-leave-to{opacity:0}\", \"\"]);\n\n// exports\n\n\n/***/ }),\n/* 11 */\n/***/ (function(module, exports) {\n\n/*\r\n\tMIT License http://www.opensource.org/licenses/mit-license.php\r\n\tAuthor Tobias Koppers @sokra\r\n*/\r\n// css base code, injected by the css-loader\r\nmodule.exports = function() {\r\n\tvar list = [];\r\n\r\n\t// return the list of modules as css string\r\n\tlist.toString = function toString() {\r\n\t\tvar result = [];\r\n\t\tfor(var i = 0; i < this.length; i++) {\r\n\t\t\tvar item = this[i];\r\n\t\t\tif(item[2]) {\r\n\t\t\t\tresult.push(\"@media \" + item[2] + \"{\" + item[1] + \"}\");\r\n\t\t\t} else {\r\n\t\t\t\tresult.push(item[1]);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn result.join(\"\");\r\n\t};\r\n\r\n\t// import a list of modules into the list\r\n\tlist.i = function(modules, mediaQuery) {\r\n\t\tif(typeof modules === \"string\")\r\n\t\t\tmodules = [[null, modules, \"\"]];\r\n\t\tvar alreadyImportedModules = {};\r\n\t\tfor(var i = 0; i < this.length; i++) {\r\n\t\t\tvar id = this[i][0];\r\n\t\t\tif(typeof id === \"number\")\r\n\t\t\t\talreadyImportedModules[id] = true;\r\n\t\t}\r\n\t\tfor(i = 0; i < modules.length; i++) {\r\n\t\t\tvar item = modules[i];\r\n\t\t\t// skip already imported module\r\n\t\t\t// this implementation is not 100% perfect for weird media query combinations\r\n\t\t\t// when a module is imported multiple times with different media queries.\r\n\t\t\t// I hope this will never occur (Hey this way we have smaller bundles)\r\n\t\t\tif(typeof item[0] !== \"number\" || !alreadyImportedModules[item[0]]) {\r\n\t\t\t\tif(mediaQuery && !item[2]) {\r\n\t\t\t\t\titem[2] = mediaQuery;\r\n\t\t\t\t} else if(mediaQuery) {\r\n\t\t\t\t\titem[2] = \"(\" + item[2] + \") and (\" + mediaQuery + \")\";\r\n\t\t\t\t}\r\n\t\t\t\tlist.push(item);\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n\treturn list;\r\n};\r\n\n\n/***/ }),\n/* 12 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar Component = __webpack_require__(0)(\n /* script */\n __webpack_require__(4),\n /* template */\n __webpack_require__(16),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n/***/ }),\n/* 13 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar Component = __webpack_require__(0)(\n /* script */\n __webpack_require__(6),\n /* template */\n __webpack_require__(14),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n/***/ }),\n/* 14 */\n/***/ (function(module, exports) {\n\nmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('transition-group', {\n attrs: {\n \"css\": false\n },\n on: {\n \"enter\": _vm.enter,\n \"leave\": _vm.leave,\n \"after-leave\": _vm.afterLeave\n }\n }, [_vm._t(\"default\")], 2)\n},staticRenderFns: []}\n\n/***/ }),\n/* 15 */\n/***/ (function(module, exports) {\n\nmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"vue-notification-group\",\n style: (_vm.styles)\n }, [_c(_vm.componentName, {\n tag: \"component\",\n attrs: {\n \"name\": _vm.animationName\n },\n on: {\n \"enter\": _vm.enter,\n \"leave\": _vm.leave,\n \"after-leave\": _vm.clean\n }\n }, _vm._l((_vm.active), function(item) {\n return _c('div', {\n key: item.id,\n staticClass: \"vue-notification-wrapper\",\n style: (_vm.notifyWrapperStyle(item)),\n attrs: {\n \"data-id\": item.id\n }\n }, [_vm._t(\"body\", [_c('div', {\n class: _vm.notifyClass(item),\n on: {\n \"click\": function($event) {\n return _vm.destroyIfNecessary(item)\n }\n }\n }, [(item.title) ? _c('div', {\n staticClass: \"notification-title\",\n domProps: {\n \"innerHTML\": _vm._s(item.title)\n }\n }) : _vm._e(), _vm._v(\" \"), _c('div', {\n staticClass: \"notification-content\",\n domProps: {\n \"innerHTML\": _vm._s(item.text)\n }\n })])], {\n \"item\": item,\n \"close\": function () { return _vm.destroy(item); }\n })], 2)\n }), 0)], 1)\n},staticRenderFns: []}\n\n/***/ }),\n/* 16 */\n/***/ (function(module, exports) {\n\nmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('transition-group', {\n attrs: {\n \"name\": _vm.name\n }\n }, [_vm._t(\"default\")], 2)\n},staticRenderFns: []}\n\n/***/ }),\n/* 17 */\n/***/ (function(module, exports, __webpack_require__) {\n\n// style-loader: Adds some css to the DOM by adding a