{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./node_modules/axios/lib/utils.js","webpack:///./app/javascript/dashboard/helper/URLHelper.js","webpack:///./app/javascript/widget/api/conversation.js","webpack:///./app/javascript/widget/helpers/urlParamsHelper.js","webpack:///./node_modules/vue/dist/vue.common.prod.js","webpack:///./node_modules/setimmediate/setImmediate.js","webpack:///./node_modules/vue-dompurify-html/dist/dompurify-html.js","webpack:///./app/javascript/shared/components/FluentIcon/Icon.vue?5216","webpack:///./app/javascript/shared/components/FluentIcon/Icon.vue?4561","webpack:///app/javascript/shared/components/FluentIcon/Icon.vue","webpack:///./app/javascript/shared/components/FluentIcon/Icon.vue","webpack:///./app/javascript/shared/store/globalConfig.js","webpack:///./node_modules/vue-dompurify-html/dist/index.js","webpack:///./node_modules/vuelidate/lib/index.js","webpack:///./node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.js","webpack:///./node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.js","webpack:///./node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.js","webpack:///./node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.js","webpack:///./node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.js","webpack:///./node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.js","webpack:///./node_modules/date-fns/esm/locale/en-US/_lib/match/index.js","webpack:///./node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.js","webpack:///./node_modules/date-fns/esm/locale/en-US/index.js","webpack:///./node_modules/date-fns/esm/locale/en-US/_lib/localize/index.js","webpack:///./node_modules/date-fns/esm/toDate/index.js","webpack:///./app/javascript/shared/mixins/globalConfigMixin.js","webpack:///./app/javascript/widget/mixins/darkModeMixin.js","webpack:///./node_modules/date-fns/esm/addMilliseconds/index.js","webpack:///./node_modules/date-fns/esm/_lib/addLeadingZeros/index.js","webpack:///./node_modules/date-fns/esm/_lib/format/lightFormatters/index.js","webpack:///./node_modules/date-fns/esm/_lib/format/formatters/index.js","webpack:///./node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.js","webpack:///./node_modules/date-fns/esm/format/index.js","webpack:///./app/javascript/shared/helpers/DateHelper.js","webpack:///./node_modules/date-fns/esm/isYesterday/index.js","webpack:///./node_modules/date-fns/esm/subMilliseconds/index.js","webpack:///./node_modules/date-fns/esm/_lib/format/longFormatters/index.js","webpack:///./node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.js","webpack:///./node_modules/date-fns/esm/_lib/getUTCWeek/index.js","webpack:///./node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.js","webpack:///./node_modules/date-fns/esm/_lib/getUTCISOWeek/index.js","webpack:///./node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.js","webpack:///./node_modules/vuex/dist/vuex.js","webpack:///./app/javascript/widget/constants/errorTypes.js","webpack:///./app/javascript/widget/helpers/popoutHelper.js","webpack:///./node_modules/date-fns/esm/addHours/index.js","webpack:///./app/javascript/shared/constants/sharedFrameEvents.js","webpack:///./node_modules/vuelidate/lib/params.js","webpack:///./app/javascript/shared/components/Branding.vue?9873","webpack:///app/javascript/shared/components/Branding.vue","webpack:///./app/javascript/shared/components/Branding.vue?f407","webpack:///./app/javascript/shared/components/Branding.vue","webpack:///./node_modules/@braid/vue-formulate/node_modules/is-plain-object/index.es.js","webpack:///./node_modules/@braid/vue-formulate-i18n/dist/locales.esm.js","webpack:///./node_modules/@braid/vue-formulate/dist/formulate.esm.js","webpack:///./node_modules/date-fns/esm/subDays/index.js","webpack:///./node_modules/date-fns/esm/endOfDay/index.js","webpack:///./app/javascript/widget/constants/widgetBusEvents.js","webpack:///./node_modules/date-fns/esm/_lib/setUTCDay/index.js","webpack:///./node_modules/date-fns/esm/parse/_lib/parsers/index.js","webpack:///./node_modules/date-fns/esm/_lib/setUTCWeek/index.js","webpack:///./node_modules/date-fns/esm/_lib/setUTCISOWeek/index.js","webpack:///./node_modules/date-fns/esm/_lib/setUTCISODay/index.js","webpack:///./node_modules/date-fns/esm/parse/index.js","webpack:///./app/javascript/widget/mixins/nextAvailabilityTime.js","webpack:///./app/javascript/widget/api/events.js","webpack:///./node_modules/date-fns-tz/esm/_lib/tzTokenizeDate/index.js","webpack:///./node_modules/date-fns-tz/esm/_lib/newDateUTC/index.js","webpack:///./node_modules/date-fns-tz/esm/_lib/tzParseTimezone/index.js","webpack:///./node_modules/date-fns-tz/esm/toDate/index.js","webpack:///./node_modules/date-fns-tz/esm/_lib/tzPattern/index.js","webpack:///./node_modules/date-fns-tz/esm/utcToZonedTime/index.js","webpack:///./app/javascript/shared/helpers/HTMLSanitizer.js","webpack:///./app/javascript/shared/helpers/MessageTypeHelper.js","webpack:///./app/javascript/shared/components/FluentIcon/Index.vue?6117","webpack:///./app/javascript/shared/components/FluentIcon/Index.vue?6381","webpack:///app/javascript/shared/components/FluentIcon/Index.vue","webpack:///./app/javascript/shared/components/FluentIcon/Index.vue","webpack:///./node_modules/node-libs-browser/node_modules/buffer/index.js","webpack:///./app/javascript/shared/components/Branding.vue?cca6","webpack:///./node_modules/date-fns/esm/getUnixTime/index.js","webpack:///./node_modules/date-fns/esm/getTime/index.js","webpack:///./node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds/index.js","webpack:///./node_modules/base64-js/index.js","webpack:///./node_modules/date-fns/esm/isToday/index.js","webpack:///./node_modules/ieee754/index.js","webpack:///./node_modules/node-libs-browser/node_modules/isarray/index.js","webpack:///./node_modules/urlpattern-polyfill/dist/urlpattern.js","webpack:///./node_modules/urlpattern-polyfill/index.js","webpack:///./app/javascript/widget/i18n/index.js","webpack:///./node_modules/date-fns/esm/_lib/toInteger/index.js","webpack:///./node_modules/vue-dompurify-html/node_modules/dompurify/dist/purify.js","webpack:///./node_modules/vuelidate/lib/vval.js","webpack:///./node_modules/date-fns/esm/_lib/assign/index.js","webpack:///./app/javascript/widget/constants/sdkEvents.js","webpack:///./app/javascript/widget/mixins/configMixin.js","webpack:///./node_modules/date-fns/_lib/toInteger/index.js","webpack:///./app/javascript/widget/mixins/routerMixin.js","webpack:///./app/javascript/widget/mixins/availability.js","webpack:///./node_modules/date-fns/esm/differenceInCalendarDays/index.js","webpack:///./node_modules/date-fns/esm/differenceInDays/index.js","webpack:///./app/javascript/shared/helpers/vuex/mutationHelpers.js","webpack:///./app/javascript/shared/components/Spinner.vue?1057","webpack:///./node_modules/date-fns/esm/isSameDay/index.js","webpack:///./node_modules/date-fns/esm/addDays/index.js","webpack:///./app/javascript/shared/helpers/mitt.js","webpack:///./node_modules/mitt/dist/mitt.mjs","webpack:///./app/javascript/widget/App.vue?800f","webpack:///./app/javascript/widget/components/Banner.vue?f9c8","webpack:///./app/javascript/widget/components/HeaderActions.vue?e144","webpack:///./app/javascript/widget/components/ChatHeader.vue?933c","webpack:///./app/javascript/widget/v2/assets/image/main.svg","webpack:///./app/javascript/widget/v2/components/topBar/TopBar.vue?adbb","webpack:///./app/javascript/widget/components/layouts/ViewWithHeader.vue?746e","webpack:///./app/javascript/widget/store/modules/agent.js","webpack:///./app/javascript/widget/api/agent.js","webpack:///./app/javascript/widget/store/types.js","webpack:///./app/javascript/widget/store/modules/appConfig.js","webpack:///./app/javascript/widget/api/contacts.js","webpack:///./app/javascript/widget/store/modules/contacts.js","webpack:///./app/javascript/widget/store/modules/conversation/helpers.js","webpack:///./app/javascript/widget/store/modules/conversation/getters.js","webpack:///./app/javascript/widget/store/modules/conversation/actions.js","webpack:///./app/javascript/widget/store/modules/conversation/index.js","webpack:///./app/javascript/widget/store/modules/conversation/mutations.js","webpack:///./app/javascript/widget/store/modules/conversationAttributes.js","webpack:///./app/javascript/widget/api/conversationLabels.js","webpack:///./app/javascript/widget/store/modules/conversationLabels.js","webpack:///./app/javascript/widget/store/modules/events.js","webpack:///./app/javascript/widget/api/message.js","webpack:///./app/javascript/widget/store/modules/message.js","webpack:///./app/javascript/widget/api/campaign.js","webpack:///./app/javascript/widget/helpers/campaignTimer.js","webpack:///./app/javascript/widget/helpers/campaignHelper.js","webpack:///./app/javascript/widget/store/modules/campaign.js","webpack:///./app/javascript/widget/store/modules/articles.js","webpack:///./app/javascript/widget/api/article.js","webpack:///./app/javascript/widget/store/index.js","webpack:///./app/javascript/widget/helpers/IframeEventHelper.js","webpack:///./app/javascript/widget/App.vue?37fd","webpack:///app/javascript/widget/App.vue","webpack:///./app/javascript/widget/App.vue","webpack:///./app/javascript/widget/App.vue?5c5d","webpack:///./app/javascript/widget/helpers/actionCable.js","webpack:///./app/javascript/widget/helpers/WidgetAudioNotificationHelper.js","webpack:///./app/javascript/widget/components/Banner.vue?7333","webpack:///app/javascript/widget/components/Banner.vue","webpack:///./app/javascript/widget/components/Banner.vue","webpack:///./app/javascript/widget/components/Banner.vue?24ee","webpack:///./app/javascript/widget/components/HeaderActions.vue?1cd4","webpack:///app/javascript/widget/components/HeaderActions.vue","webpack:///./app/javascript/widget/components/HeaderActions.vue","webpack:///./app/javascript/widget/components/HeaderActions.vue?0c34","webpack:///./app/javascript/widget/components/ChatHeader.vue?fd43","webpack:///app/javascript/widget/components/ChatHeader.vue","webpack:///./app/javascript/widget/components/ChatHeader.vue","webpack:///./app/javascript/widget/components/ChatHeader.vue?a1b6","webpack:///./app/javascript/widget/components/ChatHeaderExpanded.vue?4878","webpack:///app/javascript/widget/components/ChatHeaderExpanded.vue","webpack:///./app/javascript/widget/components/ChatHeaderExpanded.vue","webpack:///./app/javascript/widget/components/ChatHeaderExpanded.vue?6a73","webpack:///./app/javascript/widget/v2/components/topBar/TopBar.vue?6df6","webpack:///app/javascript/widget/v2/components/topBar/TopBar.vue","webpack:///./app/javascript/widget/v2/components/topBar/TopBar.vue","webpack:///./app/javascript/widget/v2/components/topBar/TopBar.vue?fe3e","webpack:///./app/javascript/widget/components/layouts/ViewWithHeader.vue?e411","webpack:///app/javascript/widget/components/layouts/ViewWithHeader.vue","webpack:///./app/javascript/widget/components/layouts/ViewWithHeader.vue","webpack:///./app/javascript/widget/components/layouts/ViewWithHeader.vue?ada9","webpack:///./app/javascript/widget/router.js","webpack:///./app/javascript/packs/widget.js","webpack:///(webpack)/buildin/global.js","webpack:///./app/javascript/widget/helpers/uuid.js","webpack:///./app/javascript/widget/helpers/axios.js","webpack:///./node_modules/axios/lib/helpers/AxiosURLSearchParams.js","webpack:///./node_modules/axios/lib/helpers/buildURL.js","webpack:///./node_modules/axios/lib/core/InterceptorManager.js","webpack:///./node_modules/axios/lib/defaults/transitional.js","webpack:///./node_modules/axios/lib/platform/browser/index.js","webpack:///./node_modules/axios/lib/platform/browser/classes/URLSearchParams.js","webpack:///./node_modules/axios/lib/platform/browser/classes/FormData.js","webpack:///./node_modules/axios/lib/platform/browser/classes/Blob.js","webpack:///./node_modules/axios/lib/platform/common/utils.js","webpack:///./node_modules/axios/lib/platform/index.js","webpack:///./node_modules/axios/lib/helpers/formDataToJSON.js","webpack:///./node_modules/axios/lib/defaults/index.js","webpack:///./node_modules/axios/lib/helpers/toURLEncodedForm.js","webpack:///./node_modules/axios/lib/helpers/parseHeaders.js","webpack:///./node_modules/axios/lib/core/AxiosHeaders.js","webpack:///./node_modules/axios/lib/core/transformData.js","webpack:///./node_modules/axios/lib/cancel/isCancel.js","webpack:///./node_modules/axios/lib/cancel/CanceledError.js","webpack:///./node_modules/axios/lib/core/settle.js","webpack:///./node_modules/axios/lib/helpers/speedometer.js","webpack:///./node_modules/axios/lib/helpers/throttle.js","webpack:///./node_modules/axios/lib/helpers/progressEventReducer.js","webpack:///./node_modules/axios/lib/helpers/isURLSameOrigin.js","webpack:///./node_modules/axios/lib/helpers/cookies.js","webpack:///./node_modules/axios/lib/core/buildFullPath.js","webpack:///./node_modules/axios/lib/helpers/isAbsoluteURL.js","webpack:///./node_modules/axios/lib/helpers/combineURLs.js","webpack:///./node_modules/axios/lib/core/mergeConfig.js","webpack:///./node_modules/axios/lib/helpers/resolveConfig.js","webpack:///./node_modules/axios/lib/adapters/xhr.js","webpack:///./node_modules/axios/lib/helpers/parseProtocol.js","webpack:///./node_modules/axios/lib/helpers/composeSignals.js","webpack:///./node_modules/axios/lib/helpers/trackStream.js","webpack:///./node_modules/axios/lib/adapters/fetch.js","webpack:///./node_modules/axios/lib/adapters/adapters.js","webpack:///./node_modules/axios/lib/core/dispatchRequest.js","webpack:///./node_modules/axios/lib/env/data.js","webpack:///./node_modules/axios/lib/helpers/validator.js","webpack:///./node_modules/axios/lib/core/Axios.js","webpack:///./node_modules/axios/lib/cancel/CancelToken.js","webpack:///./node_modules/axios/lib/helpers/HttpStatusCode.js","webpack:///./node_modules/axios/lib/axios.js","webpack:///./node_modules/axios/lib/helpers/spread.js","webpack:///./node_modules/axios/lib/helpers/isAxiosError.js","webpack:///./node_modules/date-fns/esm/getHours/index.js","webpack:///./node_modules/date-fns/esm/getMinutes/index.js","webpack:///./app/javascript/dashboard/routes/dashboard/settings/inbox/helpers/businessHour.js","webpack:///./node_modules/axios/lib/helpers/toFormData.js","webpack:///./node_modules/date-fns/esm/isValid/index.js","webpack:///./app/javascript/shared/helpers/BaseActionCableConnector.js","webpack:///./node_modules/@rails/actioncable/app/assets/javascripts/action_cable.js","webpack:///./app/javascript/shared/constants/messages.js","webpack:///./node_modules/vue/dist/vue.common.js","webpack:///./app/javascript/widget/helpers/utils.js","webpack:///./app/javascript/shared/constants/busEvents.js","webpack:///./node_modules/date-fns/esm/_lib/startOfUTCWeek/index.js","webpack:///./node_modules/process/browser.js","webpack:///./node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.js","webpack:///./node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.js","webpack:///./node_modules/date-fns/esm/_lib/protectedTokens/index.js","webpack:///./node_modules/vue-loader/lib/runtime/componentNormalizer.js","webpack:///./node_modules/axios/lib/helpers/bind.js","webpack:///./node_modules/axios/lib/helpers/null.js","webpack:///./node_modules/date-fns/esm/startOfDay/index.js","webpack:///./node_modules/color2k/dist/index.module.es.js","webpack:///./node_modules/vue-i18n/dist/vue-i18n.esm.js","webpack:///./app/javascript/shared/components/Spinner.vue?f023","webpack:///./app/javascript/shared/components/Spinner.vue?ec8d","webpack:///app/javascript/shared/components/Spinner.vue","webpack:///./app/javascript/shared/components/Spinner.vue","webpack:///./node_modules/date-fns/esm/fromUnixTime/index.js","webpack:///./node_modules/timers-browserify/main.js","webpack:///./node_modules/date-fns/esm/_lib/requiredArgs/index.js","webpack:///./app/javascript/widget/helpers/constants.js","webpack:///./app/javascript/shared/helpers/Validators.js","webpack:///./app/javascript/widget/api/endPoints.js","webpack:///./node_modules/axios/lib/core/AxiosError.js","webpack:///./node_modules/vue-clickaway/dist/vue-clickaway.common.js","webpack:///./node_modules/date-fns/esm/_lib/getUTCWeekYear/index.js","webpack:///./node_modules/vue-router/dist/vue-router.esm.js"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","installedModules","installedCssChunks","__webpack_require__","exports","module","l","e","promises","Promise","resolve","reject","href","fullhref","p","existingLinkTags","document","getElementsByTagName","dataHref","tag","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","code","parentNode","removeChild","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","jsonpScriptSrc","error","clearTimeout","chunk","errorType","realSrc","message","name","undefined","setTimeout","head","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice","s","toString","getPrototypeOf","kindOf","cache","thing","str","toLowerCase","kindOfTest","typeOfTest","isArray","Array","isUndefined","isArrayBuffer","isString","isFunction","isNumber","isObject","isPlainObject","val","iterator","isDate","isFile","isBlob","isFileList","isURLSearchParams","isReadableStream","isRequest","isResponse","isHeaders","map","forEach","obj","fn","allOwnKeys","arguments","keys","getOwnPropertyNames","len","findKey","_key","_global","globalThis","self","global","isContextDefined","context","isTypedArray","TypedArray","Uint8Array","isHTMLForm","_ref","prop","isRegExp","reduceDescriptors","reducer","descriptors","getOwnPropertyDescriptors","reducedDescriptors","descriptor","ret","defineProperties","ALPHA","DIGIT","ALPHABET","ALPHA_DIGIT","toUpperCase","isAsyncFn","_setImmediate","setImmediateSupported","setImmediate","postMessageSupported","postMessage","token","Math","random","callbacks","addEventListener","_ref2","source","cb","asap","queueMicrotask","process","nextTick","isBuffer","constructor","isFormData","kind","FormData","append","isArrayBufferView","result","ArrayBuffer","isView","buffer","isBoolean","isStream","pipe","merge","caseless","this","assignValue","targetKey","extend","a","b","thisArg","trim","replace","stripBOM","content","charCodeAt","inherits","superConstructor","props","assign","toFlatObject","sourceObj","destObj","filter","propFilter","merged","endsWith","searchString","position","String","lastIndex","indexOf","toArray","arr","forEachEntry","next","done","pair","matchAll","regExp","matches","exec","hasOwnProp","freezeMethods","writable","set","toObjectSet","arrayOrString","delimiter","define","split","toCamelCase","p1","p2","noop","toFiniteNumber","defaultValue","Number","isFinite","generateString","size","alphabet","isSpecCompliantForm","toJSONObject","stack","visit","reducedValue","isThenable","catch","frontendURL","path","params","URLSearchParams","conversationUrl","accountId","activeInbox","id","label","teamId","conversationType","foldersId","url","conversationListPageURL","inboxId","customViewId","mention","unattended","isValidURL","test","getArticleSearchURL","_ref3","host","portalSlug","pageNumber","locale","status","authorId","categorySlug","sort","query","queryParams","page","author_id","category_slug","entries","_ref4","hasValidAvatarUrl","avatarUrl","avatarUrlHost","URL","isFromGravatar","includes","createConversationAPI","async","urlData","endPoints","createConversation","API","post","sendMessageAPI","replyTo","sendMessage","sendAttachmentAPI","attachment","sendAttachment","getMessagesAPI","before","after","getConversation","getConversationAPI","location","search","toggleTyping","typingStatus","typing_status","setUserLastSeenAt","lastSeen","contact_last_seen_at","sendEmailTranscript","toggleStatus","setCustomAttributes","custom_attributes","customAttributes","deleteCustomAttribute","custom_attribute","customAttribute","buildSearchParamsWithLocale","WOOT_WIDGET","$root","$i18n","getLocale","buildPopoutURL","origin","conversationCookie","websiteToken","popoutUrl","searchParams","freeze","u","parseFloat","floor","f","JSON","stringify","__v_isRef","h","isNaN","g","v","y","splice","_","$","w","x","C","charAt","k","S","O","Function","apply","_length","T","A","j","E","N","P","D","every","Date","getTime","M","I","L","R","F","H","B","optionMergeStrategies","silent","productionTip","devtools","performance","errorHandler","warnHandler","ignoredElements","keyCodes","isReservedTag","isReservedAttr","isUnknownElement","getTagNamespace","parsePlatformTagName","mustUseProp","_lifecycleHooks","U","z","V","configurable","K","RegExp","J","q","W","navigator","userAgent","Z","G","X","Y","Q","match","tt","watch","et","nt","ot","env","VUE_ENV","rt","__VUE_DEVTOOLS_GLOBAL_HOOK__","st","it","Reflect","ownKeys","ct","Set","has","add","clear","at","lt","_scope","off","on","ut","children","text","elm","fnContext","fnOptions","fnScopeId","componentOptions","componentInstance","parent","raw","isStatic","isRootInsert","isComment","isCloned","isOnce","asyncFactory","asyncMeta","isAsyncPlaceholder","child","ft","dt","pt","ht","mt","vt","_pending","subs","addSub","removeSub","depend","addDep","notify","update","yt","_t","$t","pop","bt","wt","_len","__ob__","observeArray","dep","xt","Ct","kt","St","Ot","Tt","shallow","mock","vmCount","__proto__","jt","At","isExtensible","__v_skip","Ht","getOwnPropertyDescriptor","Pt","Et","Rt","max","_isVue","Nt","Dt","Mt","It","__v_raw","Lt","__v_isShallow","__v_isReadonly","Ft","Bt","Ut","zt","Jt","qt","Wt","Zt","once","capture","passive","Gt","fns","vn","Xt","Yt","hook","Qt","te","ne","ee","_isVList","se","is","scopedSlots","default","concat","$vnode","pre","$o","$options","lo","ie","style","Un","class","ce","ae","$scopedSlots","$slots","slot","$createElement","le","ue","fe","de","attrs","domProps","pe","_staticTrees","staticRenderFns","_renderProxy","_c","me","he","ge","ve","ye","$stable","proxy","$key","_e","$e","be","_o","_n","_s","_l","_q","_i","_m","_f","_k","_b","_v","_u","_g","_d","_p","we","xe","Ce","ke","_normalized","$hasNormal","Se","Oe","Te","_attrsProxy","Ae","$attrs","listeners","_listenersProxy","$listeners","slots","_slotsProxy","Ee","emit","$emit","expose","je","Ne","_setupContext","Pe","De","Me","Ie","Le","Re","$on","Fe","$off","He","Be","Ue","detached","active","effects","cleanups","index","scopes","run","stop","teardown","ze","Ve","Ke","Je","$parent","_inactive","qe","_directInactive","$children","Ze","We","_hasHookEvent","Ge","Xe","Ye","Qe","tn","en","nn","now","createEvent","timeStamp","rn","sn","vm","_watcher","_isMounted","_isDestroyed","gt","cn","noRecurse","kn","an","ln","un","dn","hn","flush","pn","immediate","deep","onTrack","onTrigger","some","onStop","Kn","lazy","_preWatchers","$once","mn","_provided","gn","errorCaptured","yn","_handled","$n","bn","wn","xn","Cn","MutationObserver","createTextNode","observe","characterData","Sn","go","On","Tn","An","jn","En","Nn","Pn","Dn","Mn","In","Ln","Rn","Fn","Hn","version","defineComponent","ref","shallowRef","isRef","toRef","toRefs","unref","proxyRefs","customRef","triggerRef","reactive","isReactive","isReadonly","isShallow","isProxy","shallowReactive","markRaw","toRaw","readonly","shallowReadonly","computed","effect","dirty","evaluate","watchEffect","watchPostEffect","watchSyncEffect","EffectScope","effectScope","onScopeDispose","getCurrentScope","provide","inject","getCurrentInstance","useSlots","useAttrs","useListeners","mergeDefaults","reduce","del","useCssModule","useCssVars","$el","_setupProxy","nodeType","setProperty","defineAsyncComponent","loader","loadingComponent","errorComponent","delay","suspensible","onError","component","loading","onBeforeMount","onMounted","onBeforeUpdate","onUpdated","onBeforeUnmount","onUnmounted","onActivated","onDeactivated","onServerPrefetch","onRenderTracked","onRenderTriggered","onErrorCaptured","Bn","zn","isFrozen","Vn","_vm","user","sync","deps","newDeps","depIds","newDepIds","expression","cleanupDeps","_isBeingDestroyed","Jn","qn","Wn","propsData","_props","_propKeys","bo","setup","render","_setupState","__sfc","methods","_data","_computedWatchers","Zn","Gn","Qn","Xn","Yn","handler","$watch","to","from","eo","no","options","super","superOptions","sealedOptions","extendOptions","components","oo","_original","_compiled","injections","_scopeId","ro","so","io","__name","_componentTag","co","init","keepAlive","prepatch","_isComponent","_parentVnode","inlineTemplate","Ctor","$mount","_renderChildren","_vnode","_parentListeners","$forceUpdate","insert","destroy","$destroy","ao","_base","cid","errorComp","resolved","owners","loadingComp","model","callback","functional","nativeOn","abstract","_merged","uo","fo","po","ho","mo","vo","yo","directives","extends","mixins","ko","Boolean","xo","wo","Co","So","_init","To","Ao","jo","Eo","_uid","_self","$refs","_events","el","$set","$delete","_update","__patch__","__vue__","$nextTick","_render","No","Po","KeepAlive","include","exclude","cacheVNode","vnodeToCache","keyToCache","parseInt","created","destroyed","mounted","updated","util","warn","mergeOptions","defineReactive","delete","observable","use","_installedPlugins","unshift","install","mixin","_Ctor","Oo","ssrContext","Do","Mo","Io","Lo","Ro","Ho","Bo","Uo","zo","Vo","Jo","staticClass","qo","Wo","Zo","svg","math","Go","Xo","Yo","Qo","tr","er","nr","querySelector","or","multiple","createElementNS","createComment","insertBefore","nextSibling","tagName","setTextContent","textContent","setStyleScope","rr","sr","refInFor","ir","cr","ar","lr","ur","fr","dr","hr","oldValue","oldArg","arg","gr","def","componentUpdated","inserted","pr","modifiers","mr","rawName","join","vr","yr","inheritAttrs","_v_attr_proxy","_r","removeAttributeNS","removeAttribute","$r","Fo","setAttributeNS","__ieph","stopImmediatePropagation","removeEventListener","br","wr","Ko","_transitionClasses","_prevClass","xr","Cr","kr","Sr","Or","Tr","Ar","Rr","dynamic","plain","jr","dynamicAttrs","Er","attrsMap","attrsList","Nr","isDynamicArg","Pr","Dr","right","middle","native","nativeEvents","events","Mr","Ir","Lr","start","end","Fr","number","Hr","Br","lastIndexOf","Vr","exp","Ur","Kr","Jr","Wr","zr","qr","Zr","Xr","Gr","Yr","Qr","ts","es","rs","os","_wrapper","currentTarget","ownerDocument","ss","change","cs","as","childNodes","_value","ls","innerHTML","firstChild","composing","activeElement","_vModifiers","us","fs","ds","ps","staticStyle","hs","ms","gs","vs","ys","$s","normalizedStyle","bs","ws","xs","classList","Cs","remove","ks","css","Ss","enterClass","enterToClass","enterActiveClass","leaveClass","leaveToClass","leaveActiveClass","Os","Ts","As","js","Es","Ns","Ps","ontransitionend","onwebkittransitionend","onanimationend","onwebkitanimationend","Ds","requestAnimationFrame","Ms","Is","Ls","Rs","propCount","Hs","Fs","getComputedStyle","Bs","hasTransform","Us","zs","_leaveCb","cancelled","transition","_enterCb","appearClass","appearToClass","appearActiveClass","beforeEnter","enter","afterEnter","enterCancelled","beforeAppear","appear","afterAppear","appearCancelled","duration","Js","show","Ks","Vs","beforeLeave","leave","afterLeave","leaveCancelled","delayLeave","qs","Ws","nodeOps","activate","pendingInsert","postpatch","hasChildNodes","hasAttribute","vmodel","ni","Zs","_vOptions","Gs","Qs","ti","ei","Ys","Xs","selected","selectedIndex","initEvent","dispatchEvent","oi","ri","__vOriginalDisplay","display","unbind","si","ii","ci","ai","li","ui","fi","di","_leaving","pi","moveClass","hi","beforeMount","kept","prevChildren","pos","getBoundingClientRect","removed","hasMove","mi","gi","vi","_reflow","body","offsetHeight","moved","transform","WebkitTransform","transitionDuration","_moveCb","propertyName","_hasMove","cloneNode","newPos","left","top","yi","Transition","TransitionGroup","config","HTMLUnknownElement","HTMLElement","$i","bi","wi","staticKeys","transformNode","classBinding","genData","xi","styleBinding","Ci","ki","Si","Oi","Ti","Ai","ji","Ei","Ni","Pi","Di","Mi","Ii","Li","Ri","Fi","Hi","Bi","Ui","zi","Vi","Ki","Ji","qi","Wi","Zi","Gi","Xi","Yi","Qi","tc","ec","oc","rc","sc","ic","cc","ac","lc","uc","fc","dc","pc","hc","mc","wc","rawAttrsMap","vc","for","slotScope","slotTarget","slotTargetDynamic","$c","slotName","hasBindings","bc","camel","yc","alias","iterator1","iterator2","ifConditions","xc","Cc","kc","Sc","preTransformNode","processed","if","block","else","elseif","Oc","expectHTML","html","isPreTag","isUnaryTag","canBeLeftOpenTag","Tc","Ac","jc","Ec","Nc","Pc","static","staticInFor","staticRoot","Dc","Mc","Ic","Lc","esc","tab","space","up","down","Rc","Fc","Hc","prevent","ctrl","alt","meta","Bc","Uc","zc","Vc","wrapListeners","wrapData","cloak","Kc","transforms","dataGenFns","maybeComponent","onceId","Jc","qc","staticProcessed","Wc","onceProcessed","Zc","forProcessed","Yc","ifProcessed","Gc","na","sa","Qc","bindings","__isScriptSetup","Xc","ta","ea","oa","ra","ia","ca","aa","delimiters","la","ua","preserveWhitespace","whitespace","forbidden","chars","shouldKeepComment","comment","substring","unarySlash","shouldDecodeNewlinesForHref","shouldDecodeNewlines","lowerCasedTag","comments","outputSourceRange","placeholder","tokens","gc","optimize","ast","errors","tips","compile","compileToFunctions","fa","da","pa","ha","ma","ga","va","ya","documentElement","template","outerHTML","registerImmediate","channel","messagePrefix","onGlobalMessage","nextHandle","tasksByHandle","currentlyRunningATask","doc","attachTo","handle","runIfPresent","importScripts","postMessageIsAsynchronous","oldOnMessage","onmessage","canUsePostMessage","MessageChannel","port1","port2","onreadystatechange","attachEvent","args","task","clearImmediate","__importDefault","mod","buildDirective","defaultDOMPurifyInstanceBuilder","dompurify_1","buildDOMPurifyInstance","dompurifyInstance","_a","hookName","hooks","addHook","setUpHooks","updateComponent","binding","namedConfigurations","sanitize","iconLib","viewBox","pathData","API_CHANNEL_NAME","apiChannelName","API_CHANNEL_THUMBNAIL","apiChannelThumbnail","APP_VERSION","appVersion","AZURE_APP_ID","azureAppId","BRAND_NAME","brandName","CHATWOOT_INBOX_TOKEN","chatwootInboxToken","CSML_EDITOR_HOST","csmlEditorHost","CREATE_NEW_ACCOUNT_FROM_DASHBOARD","createNewAccountFromDashboard","DIRECT_UPLOADS_ENABLED","directUploadsEnabled","DISPLAY_MANIFEST","displayManifest","GIT_SHA","gitSha","HCAPTCHA_SITE_KEY","hCaptchaSiteKey","INSTALLATION_NAME","installationName","LOGO_THUMBNAIL","logoThumbnail","LOGO","logo","LOGO_DARK","logoDark","PRIVACY_URL","privacyURL","TERMS_URL","termsURL","WIDGET_BRAND_URL","widgetBrandURL","DISABLE_USER_PROFILE_UPDATE","disableUserProfileUpdate","DEPLOYMENT_ENV","deploymentEnv","globalConfig","state","namespaced","getters","$state","isOnChatwootCloud","isACustomBrandedInstance","isAChatwootInstance","actions","mutations","buildVueDompurifyHTMLDirective","dompurify_html_1","dompurify_html_2","Vue","directive","Vuelidate","validationMixin","_params","withParams","_vval","_toConsumableArray","_arrayLikeToArray","_arrayWithoutHoles","iter","_iterableToArray","minLen","_unsupportedIterableToArray","TypeError","_nonIterableSpread","arr2","enumerableOnly","getOwnPropertySymbols","symbols","sym","_objectSpread","_defineProperty","_typeof","NIL","buildFromKeys","keyFn","build","getPath","ctx","fallback","__isVuelidateAsyncVm","validationGetters","$invalid","_this","nestedKeys","nested","refProxy","ruleKeys","rule","$dirty","_this2","$anyDirty","_this3","$error","$pending","$anyError","_this4","_this5","getRef","$params","_this6","vals","validations","setDirtyRecursive","newState","method","validationMethods","$touch","$reset","$flattenParams","isNested","childParams","getterNames","methodNames","_cachedComponent","getComponent","VBase","refs","oldVval","patchChildren","beforeCreate","beforeDestroy","getModel","lazyModel","getModelKey","hasIter","ValidationRule","lazyParentModel","rootModel","runRule","pushParams","rawOutput","output","asyncVm","makePendingAsyncVm","rawParams","popParams","$sub","_this7","arrayDep","_indirectWatcher","Watcher","_lastModel","Validation","_this8","_this9","keyDefs","getterDefs","methodDefs","iterDefs","$iter","$model","_this10","renderNested","renderRule","GroupValidation","EachValidation","tracker","_this11","trackBy","$trackBy","getModelLazy","_this12","_this13","usedTracks","track","root","refVals","$v","_cachedVue","validateModel","rootVm","getVue","_getComponent","_vuelidate","_default","formatDistanceLocale","lessThanXSeconds","one","other","xSeconds","halfAMinute","lessThanXMinutes","xMinutes","aboutXHours","xHours","xDays","aboutXWeeks","xWeeks","aboutXMonths","xMonths","aboutXYears","xYears","overXYears","almostXYears","buildFormatLongFn","dirtyOptions","width","defaultWidth","formats","formatLong","date","full","long","medium","short","time","dateTime","formatRelativeLocale","lastWeek","yesterday","today","tomorrow","nextWeek","buildLocalizeFn","dirtyIndex","valuesArray","formattingValues","defaultFormattingWidth","_defaultWidth","_width","values","argumentCallback","buildMatchFn","dirtyString","string","matchPattern","matchPatterns","defaultMatchWidth","matchResult","matchedString","parsePatterns","defaultParseWidth","array","predicate","findIndex","pattern","valueCallback","rest","formatDistance","count","addSuffix","comparison","formatRelative","_date","_baseDate","_options","localize","ordinalNumber","dirtyNumber","_dirtyOptions","rem100","era","narrow","abbreviated","wide","quarter","month","day","dayPeriod","am","pm","midnight","noon","morning","afternoon","evening","night","parsePattern","parseResult","any","weekStartsOn","firstWeekContainsDate","toDate","argument","argStr","NaN","useInstallationName","mapGetters","darkMode","prefersDarkMode","matchMedia","$dm","light","dark","addMilliseconds","dirtyDate","dirtyAmount","timestamp","amount","addLeadingZeros","targetLength","sign","abs","signedYear","getUTCFullYear","year","getUTCMonth","getUTCDate","dayPeriodEnumValue","getUTCHours","getUTCMinutes","getUTCSeconds","numberOfDigits","milliseconds","getUTCMilliseconds","pow","dayPeriodEnum","unit","lightFormatters","signedWeekYear","getUTCWeekYear","weekYear","getUTCISOWeekYear","ceil","week","getUTCWeek","isoWeek","getUTCISOWeek","dayOfYear","requiredArgs","setUTCMonth","setUTCHours","difference","getUTCDayOfYear","dayOfWeek","getUTCDay","localDayOfWeek","isoDayOfWeek","hours","_localize","timezoneOffset","_originalDate","getTimezoneOffset","formatTimezoneWithOptionalMinutes","formatTimezone","formatTimezoneShort","originalDate","offset","dirtyDelimiter","absOffset","minutes","formattingTokensRegExp","longFormattingTokensRegExp","escapedStringRegExp","doubleQuoteRegExp","unescapedLatinCharacterRegExp","format","dirtyFormatStr","formatStr","localeFirstWeekContainsDate","defaultFirstWeekContainsDate","toInteger","RangeError","localeWeekStartsOn","defaultWeekStartsOn","isValid","getTimezoneOffsetInMilliseconds","utcDate","subMilliseconds","formatterOptions","firstCharacter","longFormatter","longFormatters","formatter","useAdditionalWeekYearTokens","useAdditionalDayOfYearTokens","formatUnixDate","dateFormat","unixDate","fromUnixTime","formatDate","todayText","yesterdayText","dateValue","isToday","isSameDay","subDays","isYesterday","isTimeAfter","h1","m1","h2","m2","getUnixStartOfDay","getUnixTime","startOfDay","getUnixEndOfDay","endOfDay","generateRelativeTime","languageCode","Intl","RelativeTimeFormat","numeric","getDayDifferenceFromNow","timestampInSeconds","differenceInDays","dateLongFormatter","timeLongFormatter","dateTimeFormat","datePattern","timePattern","fourthOfJanuaryOfNextYear","setUTCFullYear","startOfNextYear","fourthOfJanuaryOfThisYear","startOfThisYear","MILLISECONDS_IN_WEEK","diff","startOfUTCWeek","firstWeek","startOfUTCWeekYear","round","startOfUTCISOWeek","fourthOfJanuary","startOfUTCISOWeekYear","devtoolHook","devtoolPlugin","store","_devtoolHook","targetState","replaceState","subscribe","mutation","applyMixin","usesInit","vuexInit","$store","mapState","normalizeNamespace","namespace","states","res","normalizeMap","getModuleByNamespace","mapMutations","commit","mapActions","dispatch","helper","_modulesNamespaceMap","forEachValue","isPromise","assert","condition","msg","Module","rawModule","runtime","_children","_rawModule","prototypeAccessors$1","addChild","getChild","forEachChild","forEachGetter","forEachAction","forEachMutation","ModuleCollection","rawRootModule","this$1","register","targetModule","newModule","getNamespace","rawChildModule","unregister","Store","plugins","strict","_committing","_actions","_mutations","_wrappedGetters","_modules","_subscribers","_watcherVM","payload","installModule","resetStoreVM","plugin","prototypeAccessors","resetStore","hot","oldVm","wrappedGetters","enableStrictMode","_withCommit","rootState","isRoot","parentState","getNestedState","moduleName","local","makeLocalContext","registerMutation","action","registerAction","registerGetter","noNamespace","_type","_payload","unifyObjectStyle","makeLocalGetters","gettersProxy","splitPos","localType","rootGetters","rawGetter","_Vue","$data","entry","sub","registerModule","unregisterModule","hotUpdate","newOptions","committing","factory","SET_USER_ERROR","popoutChatWindow","windowUrl","open","focus","log","MILLISECONDS_IN_HOUR","addHours","SDK_SET_BUBBLE_VISIBILITY","_setTarget","paramsOrClosure","maybeValidator","validator","withParamsClosure","lastTarget","newTarget","addParams","closure","_len2","_key2","disableBranding","brandRedirectURL","isObjectObject","ctor","prot","substr","accepted","alpha","alphanumeric","between","confirm","email","in","mime","min","not","required","startsWith","locales","classification","range","textarea","checkbox","radio","submit","button","select","file","image","group","input","fileList","files","mimes","results","dataTransferCheck","uploadUrl","uploadPromise","rehydrateFileList","addFileList","fileUrlKey","previewData","mapUUID","progress","complete","justFinished","uuid","removeFile","hasUploader","uploader","uploaderIsAxios","getUploader","headers","onUploadProgress","loaded","total","upload","__performUpload","rootEmit","uploadJustCompleteDuration","__id","performValidation","FileList","supportsDataTransfers","DataTransfer","items","mergeFileList","File","loadPreviews","uploadBehavior","FileReader","readAsDataURL","getFiles","parse","latin","getGroupValues","MM","DD","YYYY","YY","find","bail","optional","csv","gif","jpg","jpeg","png","pdf","hasErrors","hasValue","labelPosition","helpPosition","fauxUploaderDuration","forceWrap","depth","imul","schema","registry","Map","dataProps","hasInitialValue","formulateValue","isGrouping","isVmodeled","initialValues","mergedGroupErrors","mergedFieldErrors","applyInitialValues","setFieldValue","valueDeps","validateDeps","hasValidationErrors","getValidationErrors","showErrors","childrenShouldShowErrors","formShouldShowErrors","hideErrors","behavioralErrorVisibility","setValues","updateValidation","addErrorObserver","errorObservers","mergedFormErrors","field","removeErrorObserver","formulateSetter","formulateRegister","formulateDeregister","deregister","formulateFieldValidation","getFormValues","validateDependents","observeErrors","getErrorObject","keepModelData","preventCleanup","debounce","debounceDelay","form","__VUE_SSR_CONTEXT__","_registeredComponents","_ssrRegister","shadowRoot","observeContext","addContextObserver","removeContextObserver","formErrors","invalidMessage","contextObservers","namedErrors","namedFieldErrors","isLoading","hasFailedSubmit","schemaListeners","pseudoProps","attributes","formContext","classes","$formulate","$props","invalidErrors","failingFields","hasFormErrorObservers","applyErrors","inputErrors","registerErrorComponent","errorComponents","formSubmitted","submitRaw","onFailedValidation","finally","failedValidation","preventDefault","_withStripped","addLabel","logicalAddLabel","removeLabel","logicalRemoveLabel","elementAttributes","blurHandler","disableErrors","explicitErrors","groupErrors","hasGivenName","hasLabel","help","logicalHelpPosition","defaultId","ignored","imageBehavior","logicalLabelPosition","limit","nameOrFallback","minimum","preventWindowDrops","removePosition","mergedRemovePosition","repeatable","rules","ruleDetails","setErrors","showValidationErrors","slotComponents","slotProps","mergedUploadUrl","validationErrors","visibleValidationErrors","isSubField","typeContext","optionGroups","showValue","filteredAttributes","getUploadUrl","localGroupErrors","isGrouped","slotComponent","addMore","buttonContent","prefix","suffix","uploadAreaMask","hasVisibleErrors","typeProps","localAttributes","parsedValidation","ruleName","mergedValidationName","validationNameStrategy","localErrors","allErrors","errorBehavior","mntd","dSet","formulateRegisterRule","registerRule","formulateRemoveRule","removeRule","validation","validationName","validationMessages","validationRules","checked","preventDeregister","nextId","getInitialValue","pendingValidation","ruleRegistry","messageRegistry","touched","classify","parsedValidationRules","messages","updateLocalAttributes","applyInitialValue","applyDefaultValue","setGroupErrors","runRules","didValidate","getMessage","getMessageFunc","formValues","validationMessage","outer","wrapper","boundSetErrors","boundSetFormContext","setFormContext","formError","mergedErrors","visibleErrors","outerClass","itemClass","role","ariaLive","imagePreview","fileImagePreview","fileImagePreviewImage","fileName","title","fileProgress","fileProgressInner","fileRemove","click","registerProvider","deregisterProvider","providers","fill","setId","validateGroup","setItem","__init","removeItem","grouping","groupAddMore","usesDecorator","useInputDecorators","element","blur","decorator","Vt","fileUploads","isMultiple","appendFiles","addFiles","fileUploadError","fileAdd","fileAddInput","FormulateFiles","isOver","hasFiles","getFileUrlKey","createUpload","handleFile","attemptImmediateUpload","handleDragOver","handleDragLeave","uploadArea","dragover","dragleave","groupRepeatable","subType","optionsWithContext","groupItemContext","totalItems","canAddMore","labelledBy","addItem","placeholderSelected","hidden","disabled","Kt","rangeValue","re","setGroupValue","groupRepeatableRemove","keypress","keyCode","defaults","FormulateSlot","FormulateForm","FormulateFile","FormulateHelp","FormulateLabel","FormulateInput","FormulateErrors","FormulateSchema","FormulateAddMore","FormulateGrouping","FormulateInputBox","FormulateInputText","FormulateInputFile","FormulateErrorList","FormulateRepeatable","FormulateInputGroup","FormulateInputButton","FormulateInputSelect","FormulateInputSlider","FormulateButtonContent","FormulateInputTextArea","FormulateRepeatableRemove","FormulateRepeatableProvider","errorList","library","idPrefix","baseClasses","coreClasses","idRegistry","$route","i18n","selectedLocale","setLocale","reset","resetValidation","setHours","ON_AGENT_MESSAGE_RECEIVED","ON_UNREAD_MESSAGE_CLICK","ON_CAMPAIGN_MESSAGE_CLICK","ON_CONVERSATION_CREATED","setUTCDay","dirtyDay","setUTCDate","numericPatterns","timezonePatterns","parseNumericPattern","parseTimezonePattern","parseAnyDigitsSigned","parseNDigits","parseNDigitsSigned","dayPeriodEnumToHours","enumValue","normalizeTwoDigitYear","twoDigitYear","currentYear","isCommonEra","absCurrentYear","rangeEnd","DAYS_IN_MONTH","DAYS_IN_MONTH_LEAP_YEAR","isLeapYearIndex","parsers","priority","flags","incompatibleTokens","isTwoDigitYear","validate","normalizedTwoDigitYear","_match","_flags","firstWeekOfYear","dirtyWeek","setUTCWeek","dirtyISOWeek","setUTCISOWeek","subPriority","isLeapYear","wholeWeekDays","setUTCISODay","isPM","setUTCMinutes","setUTCSeconds","setUTCMilliseconds","timestampIsSet","_token","TIMEZONE_UNIT_PRIORITY","notWhitespaceRegExp","dirtyDateString","dirtyFormatString","dirtyReferenceDate","dateString","formatString","subFnOptions","setters","dateToSystemTimezone","usedTokens","parser","incompatibleToken","usedToken","fullToken","uniquePrioritySetters","setter","setterArray","convertedDate","setFullYear","dayNames","timeSlots","defaultTimeSlot","timeSlot","channelConfig","ruutWebChannel","workingHours","newDateWithTimeZone","utcToZonedTime","timeZoneValue","presentHour","getHours","presentMinute","getMinutes","currentDay","getDay","timezone","currentDayWorkingHours","day_of_week","nextDayWorkingHours","nextDay","getNextDay","nextWorkingHour","getNextWorkingHour","currentDayTimings","_this$currentDayWorki","open_hour","openHour","open_minutes","openMinute","close_hour","closeHour","nextDayTimings","_this$nextDayWorkingH","dayDiff","dayNameOfNextWorkingDay","hoursAndMinutesBackInOnline","getHoursAndMinutesUntilNextDayOpen","open_all_day","exactTimeInAmPm","hoursAndMinutesLeft","hoursLeft","minutesLeft","timeLeftChars","roundedUpHoursLeft","hourRelative","roundedUpMinLeft","minRelative","hoursAndMinutesToBack","timeLeftToBackInOnline","setTimeSlot","workingHour","closed_all_day","openMinutes","diffMinutes","currentSlot","timeSlotParse","generateEventParams","initiated_at","referer","referrerURL","event_info","tzTokenizeDate","timeZone","dtf","dtfCache","testDateFormatted","DateTimeFormat","hour12","hour","minute","second","hourCycleSupported","hourCycle","getDateTimeFormat","formatToParts","formatted","filled","typeToPos","partsOffset","parsed","hackyOffset","newDateUTC","fullYear","millisecond","MILLISECONDS_IN_MINUTE","patterns","timezoneZ","timezoneHH","timezoneHHMM","tzParseTimezone","timezoneString","isUtcDate","absoluteOffset","validateTimezone","timeZoneString","validIANATimezoneCache","isValidTimezoneIANAString","getFullYear","getMonth","getDate","getSeconds","getMilliseconds","toUtcDate","calcOffset","fixedOffset","localTS","utcGuess","o2","o3","fixOffset","asUTC","asTS","over","DEFAULT_ADDITIONAL_DIGITS","dateTimePattern","plainTime","YYY","YYYYY","DDD","MMDD","Www","WwwD","HH","HHMM","HHMMSS","additionalDigits","dateStrings","timeString","parts","splitDateString","parseYearResult","patternYYY","patternYYYYY","yearString","restDateString","centuryString","parseYear","validateDate","validateDayOfYearDate","validateWeekDate","dayOfISOWeekYear","parseDate","validateTime","seconds","parseTime","isoWeekYear","offsetMilliseconds","resultDate","domPurifyConfig","afterSanitizeAttributes","currentNode","isASubmittedFormMessage","_message$content_attr","content_type","isAFormMessage","content_attributes","submitted_values","MESSAGE_MAX_LENGTH","GENERAL","FACEBOOK","TWILIO_SMS","TWILIO_WHATSAPP","icon","icons","base64","ieee754","kMaxLength","Buffer","TYPED_ARRAY_SUPPORT","createBuffer","that","encodingOrOffset","allocUnsafe","byteOffset","byteLength","fromArrayLike","fromArrayBuffer","encoding","isEncoding","actual","write","fromString","copy","fromObject","assertSize","loweredCase","utf8ToBytes","base64ToBytes","slowToString","hexSlice","utf8Slice","asciiSlice","latin1Slice","base64Slice","utf16leSlice","swap","bidirectionalIndexOf","dir","arrayIndexOf","indexSize","arrLength","valLength","read","buf","readUInt16BE","foundIndex","found","hexWrite","remaining","strLen","utf8Write","blitBuffer","asciiWrite","byteArray","asciiToBytes","latin1Write","base64Write","ucs2Write","units","utf16leToBytes","fromByteArray","secondByte","thirdByte","fourthByte","tempCodePoint","firstByte","codePoint","bytesPerSequence","codePoints","MAX_ARGUMENTS_LENGTH","fromCharCode","decodeCodePointsArray","SlowBuffer","alloc","INSPECT_MAX_BYTES","foo","subarray","typedArraySupport","poolSize","_augment","species","allocUnsafeSlow","_isBuffer","compare","list","swap16","swap32","swap64","equals","inspect","thisStart","thisEnd","thisCopy","targetCopy","toJSON","_arr","out","toHex","bytes","checkOffset","ext","checkInt","objectWriteUInt16","littleEndian","objectWriteUInt32","checkIEEE754","writeFloat","noAssert","writeDouble","newBuf","sliceLen","readUIntLE","mul","readUIntBE","readUInt8","readUInt16LE","readUInt32LE","readUInt32BE","readIntLE","readIntBE","readInt8","readInt16LE","readInt16BE","readInt32LE","readInt32BE","readFloatLE","readFloatBE","readDoubleLE","readDoubleBE","writeUIntLE","writeUIntBE","writeUInt8","writeUInt16LE","writeUInt16BE","writeUInt32LE","writeUInt32BE","writeIntLE","writeIntBE","writeInt8","writeInt16LE","writeInt16BE","writeInt32LE","writeInt32BE","writeFloatLE","writeFloatBE","writeDoubleLE","writeDoubleBE","targetStart","INVALID_BASE64_RE","Infinity","leadSurrogate","toByteArray","stringtrim","base64clean","dst","UTC","b64","lens","getLens","validLen","placeHoldersLen","tmp","Arr","_byteLength","curByte","revLookup","uint8","extraBytes","maxChunkLength","len2","encodeChunk","lookup","num","isLE","mLen","nBytes","eLen","eMax","eBias","nBits","LN2","regexIdentifierStart","regexIdentifierPart","isASCII","extended","lexer","lenient","char","ErrorOrInvalid","prefixes","defaultPattern","escapeString","nameSet","tryConsume","tryConsumeModifier","mustConsume","nextType","consumeText","result2","encodePart","finalName","modifier","name2","pattern2","ignoreCase","tokensToRegexp","encode","route","endToken","isEndDelimited","pathToRegexp","groupsRegex","execResult","regexpToRegexp","paths","arrayToRegexp","stringToRegexp","DEFAULT_OPTIONS","sensitive","HOSTNAME_OPTIONS","PATHNAME_OPTIONS","maybeStripPrefix","treatAsIPv6Hostname","SPECIAL_SCHEMES","isSpecialScheme","protocol_regexp","scheme","defaultPortForProtocol","protocol","protocolEncodeCallback","usernameEncodeCallback","username","passwordEncodeCallback","password","hostnameEncodeCallback","hostname","ipv6HostnameEncodeCallback","portEncodeCallback","standardURLPathnameEncodeCallback","pathname","pathURLPathnameEncodeCallback","searchEncodeCallback","hashEncodeCallback","hash","Parser","tokenList","internalResult","tokenIndex","tokenIncrement","componentStart","groupDepth","hostnameIPv6BracketDepth","shouldTreatAsStandardURL","rewind","isHashPrefix","changeState","isSearchPrefix","rewindAndSetState","isGroupClose","isGroupOpen","isProtocolSuffix","port","computeShouldTreatAsStandardURL","nextState","skip","nextIsAuthoritySlashes","isIdentityTerminator","isPathnameStart","isPasswordPrefix","isIPv6Open","isIPv6Close","isPortPrefix","makeComponentString","changeStateWithoutSettingComponent","safeToken","isNonSpecialPatternChar","previousToken","componentCharStart","regexp","COMPONENTS","DEFAULT_PATTERN","extractValues","baseURL","processBaseURLString","isPattern","escapePatternString","applyInit","canonicalizeProtocol","canonicalizeUsername","canonicalizePassword","canonicalizeHostname","canonicalizePort","isAbsolutePathname","slashIndex","leadingSlash","canonicalizePathname","canonicalizeSearch","canonicalizeHash","tokensToPattern","segmentWildcardPattern","regexIdentifierPart2","lastToken","nextToken","customName","optionsPrefixes","needsGrouping","URLPattern","baseURLOrOptions","component_pattern","ignoreCaseOptions","options2","inputs","groups","hu","ja","lv","ml","nl","pl","pt_BR","ru","sk","sv","th","uk","zh_CN","zh_TW","_setPrototypeOf","setPrototypeOf","_isNativeReflectConstruct","construct","sham","Proxy","valueOf","_construct","Parent","Class","instance","seal","fun","thisValue","Func","arrayForEach","unapply","arrayPop","arrayPush","stringToLowerCase","stringToString","stringMatch","stringReplace","stringIndexOf","stringTrim","regExpTest","typeErrorCreate","unconstruct","func","addToSet","transformCaseFunc","_transformCaseFunc","lcElement","clone","newObject","lookupGetter","desc","fallbackValue","html$1","svg$1","svgFilters","svgDisallowed","mathMl$1","mathMlDisallowed","mathMl","xml","MUSTACHE_EXPR","ERB_EXPR","TMPLIT_EXPR","DATA_ATTR","ARIA_ATTR","IS_ALLOWED_URI","IS_SCRIPT_OR_DATA","ATTR_WHITESPACE","DOCTYPE_NAME","CUSTOM_ELEMENT","getGlobal","_createTrustedTypesPolicy","trustedTypes","createPolicy","ATTR_NAME","currentScript","policyName","createHTML","createScriptURL","scriptUrl","createDOMPurify","DOMPurify","isSupported","originalDocument","DocumentFragment","HTMLTemplateElement","Node","Element","NodeFilter","_window$NamedNodeMap","NamedNodeMap","MozNamedAttrMap","HTMLFormElement","DOMParser","ElementPrototype","getNextSibling","getChildNodes","getParentNode","trustedTypesPolicy","emptyHTML","_document","implementation","createNodeIterator","createDocumentFragment","importNode","documentMode","createHTMLDocument","PARSER_MEDIA_TYPE","MUSTACHE_EXPR$1","ERB_EXPR$1","TMPLIT_EXPR$1","DATA_ATTR$1","ARIA_ATTR$1","IS_SCRIPT_OR_DATA$1","ATTR_WHITESPACE$1","CUSTOM_ELEMENT$1","IS_ALLOWED_URI$1","ALLOWED_TAGS","DEFAULT_ALLOWED_TAGS","ALLOWED_ATTR","DEFAULT_ALLOWED_ATTR","CUSTOM_ELEMENT_HANDLING","tagNameCheck","attributeNameCheck","allowCustomizedBuiltInElements","FORBID_TAGS","FORBID_ATTR","ALLOW_ARIA_ATTR","ALLOW_DATA_ATTR","ALLOW_UNKNOWN_PROTOCOLS","ALLOW_SELF_CLOSE_IN_ATTR","SAFE_FOR_TEMPLATES","SAFE_FOR_XML","WHOLE_DOCUMENT","SET_CONFIG","FORCE_BODY","RETURN_DOM","RETURN_DOM_FRAGMENT","RETURN_TRUSTED_TYPE","SANITIZE_DOM","SANITIZE_NAMED_PROPS","SANITIZE_NAMED_PROPS_PREFIX","KEEP_CONTENT","IN_PLACE","USE_PROFILES","FORBID_CONTENTS","DEFAULT_FORBID_CONTENTS","DATA_URI_TAGS","DEFAULT_DATA_URI_TAGS","URI_SAFE_ATTRIBUTES","DEFAULT_URI_SAFE_ATTRIBUTES","MATHML_NAMESPACE","SVG_NAMESPACE","HTML_NAMESPACE","NAMESPACE","IS_EMPTY_INPUT","ALLOWED_NAMESPACES","DEFAULT_ALLOWED_NAMESPACES","SUPPORTED_PARSER_MEDIA_TYPES","DEFAULT_PARSER_MEDIA_TYPE","CONFIG","formElement","isRegexOrFunction","testValue","_parseConfig","cfg","ADD_URI_SAFE_ATTR","ADD_DATA_URI_TAGS","ALLOWED_URI_REGEXP","ADD_TAGS","ADD_ATTR","table","tbody","MATHML_TEXT_INTEGRATION_POINTS","HTML_INTEGRATION_POINTS","COMMON_SVG_AND_HTML_ELEMENTS","ALL_SVG_TAGS","ALL_MATHML_TAGS","_checkValidNamespace","namespaceURI","parentTagName","_forceRemove","node","_removeAttribute","attribute","getAttributeNode","_initDocument","leadingWhitespace","dirtyPayload","parseFromString","createDocument","_createIterator","SHOW_ELEMENT","SHOW_COMMENT","SHOW_TEXT","SHOW_PROCESSING_INSTRUCTION","SHOW_CDATA_SECTION","_isClobbered","nodeName","_isNode","_executeHook","entryPoint","_sanitizeElements","allowedTags","firstElementChild","_basicCustomElementTest","childClone","__removalCount","_isValidAttribute","lcTag","lcName","_sanitizeAttributes","attr","hookEvent","attrName","attrValue","keepAttr","allowedAttributes","_attr","forceKeepAttr","getAttributeType","_sanitizeShadowDOM","fragment","shadowNode","shadowIterator","nextNode","importedNode","oldNode","returnNode","toStaticHTML","nodeIterator","shadowroot","shadowrootmod","serializedHTML","doctype","setConfig","clearConfig","isValidAttribute","hookFunction","removeHook","removeHooks","removeAllHooks","isUndef","isDef","sameVval","vval","createVm","Vm","createKeyToOldIdx","beginIdx","endIdx","addVvals","vvals","startIdx","removeVvals","ch","patchVval","updateVval","oldCh","newCh","oldKeyToIdx","idxInOld","elmToMove","oldStartIdx","newStartIdx","oldEndIdx","oldStartVval","oldEndVval","newEndIdx","newStartVval","newEndVval","updateChildren","dirtyObject","RUUT_ERROR","RUUT_ON_MESSAGE","RUUT_ON_START_CONVERSATION","RUUT_READY","useInboxAvatarForBot","enabledFeatures","hasAConnectedAgentBot","inboxAvatarUrl","hasEmojiPickerEnabled","hasAttachmentsEnabled","hasEndConversationEnabled","preChatFormEnabled","preChatFormOptions","preChatMessage","pre_chat_message","pre_chat_fields","preChatFields","shouldShowPreChatForm","hasEnabledFields","enabled","replaceRoute","$router","replyTime","replyTimeStatus","replyWaitMessage","workingHoursEnabled","isOnline","outOfOfficeMessage","isInBetweenTheWorkingHours","closeMinute","closedAllDay","openAllDay","currentDayAvailability","utcOffset","getDateWithOffset","currentHours","currentMinutes","isAfterStartTime","isBeforeEndTime","dayOfTheWeek","workingHourConfig","close_minutes","isInBusinessHours","toISOString","MILLISECONDS_IN_DAY","compareLocalAsc","dateLeft","dateRight","dirtyDateLeft","dirtyDateRight","startOfDayLeft","startOfDayRight","timestampLeft","timestampRight","differenceInCalendarDays","setDate","records","setSingleRecord","recordIndex","record","updateAttributes","updatePresence","availabilityStatus","updateSingleRecordPresence","selectedRecord","dateLeftStartOfDay","dateRightStartOfDay","addDays","emitter","uiFlags","isError","hasFetched","getHasFetched","availableAgents","agent","availability_status","fetchAvailableAgents","getAvailableAgents","setAgents","MutationHelpers","setError","setHasFetched","CLEAR_CONVERSATION_ATTRIBUTES","SET_CONVERSATION_ATTRIBUTES","SET_WIDGET_APP_CONFIG","SET_WIDGET_COLOR","SET_COLOR_SCHEME","UPDATE_CONVERSATION_ATTRIBUTES","TOGGLE_WIDGET_OPEN","SET_REFERRER_HOST","SET_BUBBLE_VISIBILITY","hideMessageBubble","isCampaignViewClicked","showUnreadMessagesDialog","isWebWidgetTriggered","isWidgetOpen","referrerHost","showPopoutButton","widgetColor","widgetStyle","getAppConfig","isRightAligned","getHideMessageBubble","getIsWidgetOpen","getWidgetColor","getReferrerHost","isWidgetStyleFlat","getShowUnreadMessagesDialog","setAppConfig","toggleWidgetOpen","setWidgetColor","setColorScheme","_ref5","setReferrerHost","_ref6","setBubbleVisibility","_ref7","buildUrl","endPoint","userObject","patch","setUser","identifier","SET_CURRENT_USER","ContactsAPI","avatar_url","identifier_hash","identifierHash","phone_number","company_name","city","country_code","description","social_profiles","additional_attributes","widget_auth_token","widgetAuthToken","setHeader","updateWidgetAuthToken","response","parseErrorData","currentUser","getCurrentUser","_state","createTemporaryMessage","attachments","getUuid","created_at","message_type","MESSAGE_TYPE","INCOMING","getSenderName","sender","groupConversationBySender","conversationsForADate","showAvatar","isLastMessage","shouldShowAvatar","nextMessage","getNonDeletedMessages","item","deleted","getAllMessagesLoaded","allMessagesLoaded","getIsCreating","isCreating","getIsAgentTyping","isAgentTyping","conversations","getConversationSize","getEarliestMessage","conversation","getLastMessage","getGroupedConversation","conversationGroupedByDate","groupBy","getIsFetchingList","isFetchingList","getMessageCount","getUnreadMessageCount","userLastSeenAt","chat","createdAt","messageType","isOutGoing","OUTGOING","getUnreadTextMessages","_getters","unreadCount","unreadAgentMessages","maxUnreadCount","sendMessageWithData","setLastMessageId","thumbUrl","fileType","tempMessage","thumb_url","data_url","file_type","tempId","fetchOldConversations","formattedMessages","syncLatestMessages","lastMessageId","missingMessages","updatedConversation","fromEntries","clearConversations","_ref8","addOrUpdateMessage","_ref9","toggleAgentTyping","_ref10","toggleUserTyping","setUserLastSeen","appGetters","_ref11","resolveConversation","pushMessageToConversation","messagesInbox","messageInConversation","findUndeliveredMessage","messageInbox","updateAttachmentMessageStatus","setConversationUIFlag","setConversationListLoading","setMessagesInConversation","setMissingMessagesInConversation","updateMessage","updateMessageMeta","newMeta","deleteMessage","toggleAgentTypingStatus","setMetaUserLastSeenAt","lastMessage","getConversationParams","getAttributes","clearConversationAttributes","conversationLabels","messageId","authEndPoint","contact","isUpdating","getUIFlags","submittedValues","MessageAPI","submitted_email","toggleUpdateStatus","getCampaigns","initTimers","campaigns","clearTimers","campaign","timeOnPage","campaignId","campaignTimers","timerId","filterCampaigns","currentURL","isPatternMatchingWithURL","urlPattern","updatedUrlPattern","locationObj","triggerOnlyDuringBusinessHours","resetCampaignTimers","formattedCampaigns","_item$trigger_rules","_item$trigger_rules2","trigger_only_during_business_hours","trigger_rules","time_on_page","formatCampaigns","filteredCampaigns","campaignTimer","activeCampaign","getActiveCampaign","fetchCampaigns","initCampaigns","startCampaign","appConfig","executeCampaign","triggerCampaign","resetCampaign","setCampaigns","setActiveCampaign","setCampaignExecuted","isFetching","popularArticles","fetch","slug","getMostReadArticles","setArticles","setIsFetching","Vuex","contacts","conversationAttributes","article","loadedEventConfig","authToken","getExtraSpaceToScroll","unreadMessageWrap","unreadCloseWrap","readViewWrap","extraHeight","scrollHeight","conversationSize","isMobile","isMessageInActiveConversation","conversation_id","conversationId","activeConversationId","ActionCableConnector","BaseActionCableConnector","app","pubsubToken","onDisconnected","onReconnect","onStatusChange","onMessageCreated","IFrameHelper","eventIdentifier","sender_type","onMessageUpdated","previous_changes","previousChanges","shouldTriggerMessageUpdateEvent","onConversationCreated","onPresenceUpdate","users","onContactMerge","pubsub_token","refreshConnector","onTypingOn","is_private","clearTimer","initTimer","onTypingOff","CancelTyping","bannerType","bannerMessage","canLeaveConversation","showEndConversationButton","iconClass","popoutWindow","isRNWebView","closeWindow","onBackButtonClick","textColorClass","isAvatarValid","collapsed","introHeading","introBody","isOnHomeView","$event","expanded","isHeaderCollapsed","opacityClass","isV2","welcomeTitle","welcomeTagline","websiteName","showBackButton","isOnArticleViewer","Router","routes","ViewWithHeader","VueI18n","VueDOMPurifyHTML","onClickaway","i18nConfig","VueFormulate","phoneInput","PhoneInput","startsWithPlus","isValidPhoneNumber","isPhoneNumberValidWithDialCode","$emitter","router","App","actionCable","chatwootPubsubToken","axios","APP_BASE_URL","withCredentials","common","charMap","encodeURIComponent","AxiosURLSearchParams","_pairs","toFormData","encoder","_encode","buildURL","utils","serialize","serializeFn","serializedParams","hashmarkIndex","handlers","fulfilled","rejected","synchronous","runWhen","eject","silentJSONParsing","forcedJSONParsing","clarifyTimeoutError","isBrowser","Blob","protocols","hasBrowserEnv","_navigator","hasStandardBrowserEnv","product","hasStandardBrowserWebWorkerEnv","WorkerGlobalScope","formData","buildPath","isNumericKey","isLast","arrayToObject","parsePropPath","transitional","adapter","transformRequest","contentType","getContentType","hasJSONContentType","isObjectPayload","setContentType","platform","visitor","helpers","isNode","defaultVisitor","toURLEncodedForm","formSerializer","_FormData","rawValue","stringifySafely","transformResponse","JSONRequested","responseType","strictJSONParsing","AxiosError","ERR_BAD_RESPONSE","xsrfCookieName","xsrfHeaderName","maxContentLength","maxBodyLength","validateStatus","ignoreDuplicateOf","$internals","normalizeHeader","header","normalizeValue","matchHeaderValue","isHeaderNameFilter","valueOrRewrite","rewrite","_header","_rewrite","lHeader","setHeaders","rawHeaders","line","parseHeaders","tokensRE","parseTokens","matcher","deleteHeader","normalize","normalized","formatHeader","targets","asStrings","first","accessor","accessors","defineAccessor","accessorName","methodName","arg1","arg2","arg3","buildAccessors","mapped","headerValue","transformData","isCancel","__CANCEL__","CanceledError","ERR_CANCELED","settle","ERR_BAD_REQUEST","samplesCount","timestamps","firstSampleTS","tail","chunkLength","startedAt","bytesCount","passed","freq","lastArgs","timer","threshold","invoke","progressEventReducer","listener","isDownloadStream","bytesNotified","_speedometer","lengthComputable","progressBytes","rate","estimated","progressEventDecorator","throttled","asyncDecorator","isMSIE","expires","domain","secure","cookie","toGMTString","decodeURIComponent","buildFullPath","requestedURL","relativeURL","combineURLs","headersToObject","mergeConfig","config1","config2","getMergedValue","mergeDeepProperties","valueFromConfig2","defaultToConfig2","mergeDirectKeys","mergeMap","paramsSerializer","timeoutMessage","withXSRFToken","onDownloadProgress","decompress","beforeRedirect","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding","configValue","newConfig","auth","btoa","unescape","isURLSameOrigin","xsrfValue","cookies","XMLHttpRequest","_config","resolveConfig","requestData","requestHeaders","onCanceled","uploadThrottled","downloadThrottled","flushUpload","flushDownload","unsubscribe","signal","onloadend","responseHeaders","getAllResponseHeaders","responseText","statusText","readyState","responseURL","onabort","ECONNABORTED","ERR_NETWORK","ontimeout","timeoutErrorMessage","ETIMEDOUT","setRequestHeader","cancel","abort","aborted","parseProtocol","send","signals","controller","AbortController","reason","streamChunk","chunkSize","readStream","stream","asyncIterator","reader","getReader","trackStream","onProgress","onFinish","iterable","readBytes","_onFinish","ReadableStream","pull","close","loadedBytes","enqueue","return","highWaterMark","isFetchSupported","Request","Response","isReadableStreamSupported","encodeText","TextEncoder","arrayBuffer","supportsRequestStream","duplexAccessed","hasContentType","duplex","supportsResponseStream","resolvers","ERR_NOT_SUPPORT","resolveBodyLength","getContentLength","_request","getBodyLength","fetchOptions","composedSignal","toAbortSignal","requestContentLength","contentTypeHeader","isCredentialsSupported","credentials","isStreamResponse","responseContentLength","responseData","cause","knownAdapters","http","xhr","renderReason","isResolvedHandle","adapters","nameOrAdapter","rejectedReasons","reasons","throwIfCancellationRequested","throwIfRequested","dispatchRequest","VERSION","validators","deprecatedWarnings","formatMessage","opt","opts","ERR_DEPRECATED","spelling","correctSpelling","assertOptions","allowUnknown","ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","instanceConfig","interceptors","configOrUrl","dummy","captureStackTrace","boolean","function","baseUrl","withXsrfToken","contextHeaders","requestInterceptorChain","synchronousRequestInterceptors","interceptor","responseInterceptorChain","chain","onFulfilled","onRejected","getUri","generateHTTPMethod","isForm","executor","resolvePromise","_listeners","onfulfilled","_resolve","HttpStatusCode","Continue","SwitchingProtocols","Processing","EarlyHints","Ok","Created","Accepted","NonAuthoritativeInformation","NoContent","ResetContent","PartialContent","MultiStatus","AlreadyReported","ImUsed","MultipleChoices","MovedPermanently","Found","SeeOther","NotModified","UseProxy","Unused","TemporaryRedirect","PermanentRedirect","BadRequest","Unauthorized","PaymentRequired","Forbidden","NotFound","MethodNotAllowed","NotAcceptable","ProxyAuthenticationRequired","RequestTimeout","Conflict","Gone","LengthRequired","PreconditionFailed","PayloadTooLarge","UriTooLong","UnsupportedMediaType","RangeNotSatisfiable","ExpectationFailed","ImATeapot","MisdirectedRequest","UnprocessableEntity","Locked","FailedDependency","TooEarly","UpgradeRequired","PreconditionRequired","TooManyRequests","RequestHeaderFieldsTooLarge","UnavailableForLegalReasons","InternalServerError","NotImplemented","BadGateway","ServiceUnavailable","GatewayTimeout","HttpVersionNotSupported","VariantAlsoNegotiates","InsufficientStorage","LoopDetected","NotExtended","NetworkAuthenticationRequired","createInstance","defaultConfig","Axios","CancelToken","Cancel","spread","isAxiosError","AxiosHeaders","formToJSON","getAdapter","valid","generateTimeSlots","step","toLocaleTimeString","setMinutes","modHour","closeMinutes","timeSlotTransform","closed","fromDate","timeZoneOptions","timeZoneData","isVisitable","removeBrackets","renderKey","dots","predicates","metaTokens","indexes","option","useBlob","convertValue","isFlatArray","exposedHelpers","websocketHost","clearReconnectTimer","reconnectTimer","initReconnectTimer","checkConnection","onReceived","isAValidEvent","websocketURL","consumer","createConsumer","subscription","subscriptions","account_id","getCurrentAccountId","user_id","getCurrentUserID","perform","received","disconnected","isDisconnected","triggerPresenceInterval","isConnectionActive","connection","isOpen","disconnect","logger","WebSocket","_adapters$logger","classCallCheck","Constructor","createClass","protoProps","staticProps","secondsSince","clamp","ConnectionMonitor","visibilityDidChange","reconnectAttempts","isRunning","stoppedAt","startPolling","getPollInterval","stopPolling","recordPing","pingedAt","recordConnect","disconnectedAt","recordDisconnect","poll","pollTimeout","reconnectIfStale","_constructor$pollInte","pollInterval","interval","multiplier","connectionIsStale","staleThreshold","disconnectedRecently","reopen","visibilityState","INTERNAL","message_types","welcome","ping","confirmation","rejection","disconnect_reasons","unauthorized","invalid_request","server_restart","default_mount_path","supportedProtocols","Connection","monitor","webSocket","isActive","getState","uninstallEventHandlers","installEventHandlers","allowReconnect","reopenDelay","getProtocol","isState","isProtocolSupported","eventName","_JSON$parse","reconnect","reload","notifyAll","willAttemptReconnect","properties","Subscription","command","Subscriptions","channelName","ensureActiveConnection","sendCommand","forget","findAll","callbackName","Consumer","_url","connect","createWebSocketURL","getConfig","MESSAGE_STATUS","FAILED","SENT","DELIVERED","READ","PROGRESS","ACTIVITY","TEMPLATE","CONVERSATION_STATUS","OPEN","RESOLVED","PENDING","SNOOZED","CONVERSATION_PRIORITY","URGENT","HIGH","LOW","MEDIUM","CONVERSATION_PRIORITY_ORDER","urgent","high","low","MAXIMUM_FILE_UPLOAD_SIZE","MAXIMUM_FILE_UPLOAD_SIZE_TWILIO_SMS_CHANNEL","ALLOWED_FILE_TYPES","ALLOWED_FILE_TYPES_FOR_TWILIO_WHATSAPP","ALLOWED_FILE_TYPES_FOR_LINE","CSAT_RATINGS","translationKey","emoji","color","AUDIO_FORMATS","WEBM","OGG","MP3","WAV","MESSAGE_VARIABLES","ATTACHMENT_ICONS","audio","video","isEmptyObject","isIFrame","WOOT_PREFIX","RNHelper","ReactNativeWebView","acc","_predicate","BUS_EVENTS","SHOW_ALERT","START_NEW_CONVERSATION","FOCUS_CUSTOM_ATTRIBUTE","SCROLL_TO_MESSAGE","MESSAGE_SENT","FETCH_LABEL_SUGGESTIONS","TOGGLE_SIDEMENU","ON_MESSAGE_LIST_SCROLL","WEBSOCKET_DISCONNECT","WEBSOCKET_RECONNECT","WEBSOCKET_RECONNECT_COMPLETED","TOGGLE_REPLY_TO_MESSAGE","SHOW_TOAST","NEW_CONVERSATION_MODAL","INSERT_INTO_RICH_EDITOR","cachedSetTimeout","cachedClearTimeout","defaultSetTimout","defaultClearTimeout","runTimeout","currentQueue","queue","draining","queueIndex","cleanUpNextTick","drainQueue","marker","runClearTimeout","Item","browser","argv","versions","addListener","removeListener","removeAllListeners","prependListener","prependOnceListener","cwd","chdir","umask","protectedDayOfYearTokens","protectedWeekYearTokens","isProtectedDayOfYearToken","isProtectedWeekYearToken","throwProtectedError","normalizeComponent","scriptExports","functionalTemplate","injectStyles","scopeId","moduleIdentifier","shadowMode","_injectStyles","originalRender","existing","guard","ColorError","ColorError$1","parseToRgba","normalizedColor","namedColorRegex","normalizedColorName","compressedColorMap","nameToHex","reducedHexMatch","reducedHexRegex","hexMatch","hexRegex","rgbaMatch","rgbaRegex","hslaMatch","hslaRegex","hslToRgb","colorToInt","hex","roundColor","hue","saturation","lightness","huePrime","chroma","secondComponent","red","green","blue","lightnessModification","parseToHsla","delta","hsla","toFixed","getLuminance","getContrast","color1","color2","luminance1","luminance2","rgba","mix","weight","r1","g1","b1","a1","r2","g2","b2","a2","alphaDelta","normalizedWeight","weight2","weight1","lighten","darken","numberFormatKeys","isNull","parseArgs","looseClone","hasOwn","arguments$1","looseEqual","isObjectA","isObjectB","isArrayA","isArrayB","keysA","keysB","__i18n","localeMessages","resource","mergeLocaleMessage","_i18n","_i18nWatcher","watchI18nData","rootI18n","fallbackLocale","formatFallbackMessages","silentTranslationWarn","silentFallbackWarn","pluralizationRules","preserveDirectiveContent","localeMessages$1","sharedMessages","_localeWatcher","watchLocale","onComponentInstanceCreated","subscribeDataChanging","_subscribing","__INTLIFY_META__","unsubscribeDataChanging","destroyVM","interpolationComponent","places","onlyHasDefaultPlace","assignChildIndex","createParamsFromPlaces","everyPlace","vnodeHasPlaceAttribute","assignChildPlace","useLegacyPlaces","place","vnode","numberComponent","_ntp","part","oldVNode","_locale","localeEqual","_localeMessage","getLocaleMessage","preserve","_vt","ref$1","ref$2","choice","parseValue","makeParams","installed","_getMessages","$tc","_tc","$te","_te","$d","parentVal","childVal","BaseFormatter","_caches","interpolate","isClosed","RE_TOKEN_LIST_VALUE","RE_TOKEN_NAMED_VALUE","compiled","pathStateMachine","literalValueRE","getPathCharType","formatSubPath","trimmed","I18nPath","_cache","parsePath","hit","newChar","typeMap","subPathDepth","maybeUnescapeQuote","nextChar","parse$1","getPathValue","last","availabilities","htmlTagMatcher","linkKeyMatcher","linkKeyPrefixMatcher","bracketsMatcher","defaultModifiers","toLocaleUpperCase","toLocaleLowerCase","defaultFormatter","dateTimeFormats","numberFormats","_formatter","_modifiers","_missing","missing","_root","_sync","_fallbackRoot","fallbackRoot","_formatFallbackMessages","_silentTranslationWarn","_silentFallbackWarn","_dateTimeFormatters","_numberFormatters","_path","_dataListeners","_componentInstanceCreatedListener","componentInstanceCreatedListener","_preserveDirectiveContent","_warnHtmlInMessage","warnHtmlInMessage","_postTranslation","postTranslation","_escapeParameterHtml","escapeParameterHtml","getChoiceIndex","choicesLength","thisPrototype","_choice","_choicesLength","_exist","_checkLocaleMessage","_initVM","availableLocales","level","newI18n","_getDateTimeFormats","_getNumberFormats","_localeChainCache","orgLevel","_warnDefault","interpolateMode","missingRet","parsedArgs","_isFallbackRoot","_isSilentFallbackWarn","_isSilentFallback","_isSilentTranslationWarn","_interpolate","visitedLinkStack","pathRet","_link","idx","link","linkKeyPrefixMatches","linkPrefix","formatterName","linkPlaceholder","translated","_translate","_createMessageContext","_list","_named","named","_appendItemToChain","blocks","follow","_appendLocaleToChain","_appendBlockToChain","_getLocaleChain","predefined","fetchChoice","choices","setLocaleMessage","setDateTimeFormat","_clearDateTimeFormat","mergeDateTimeFormat","_localizeDateTime","getNumberFormat","setNumberFormat","_clearNumberFormat","mergeNumberFormat","_getNumberFormatter","NumberFormat","numberFormat","intlDefined","colorSchemeClasses","dirtyUnixTime","unixTime","Timeout","clearFn","_id","_clearFn","scope","setInterval","clearInterval","enroll","msecs","_idleTimeoutId","_idleTimeout","unenroll","_unrefActive","_onTimeout","isPhoneNumberValid","dialCode","isPhoneE164OrEmpty","isPhoneE164","shouldBeUrl","isValidPassword","containsUppercase","containsLowercase","containsNumber","containsSpecialCharacter","isDomain","fullName","emailAddress","phoneNumber","referer_url","reply_to","website_token","campaign_id","lineNumber","columnNumber","customProps","axiosError","HANDLER","initialMacrotaskEnded","ev","contains","firstWeekOfNextYear","firstWeekOfThisYear","encodeReserveRE","encodeReserveReplacer","commaRE","decode","castQueryParamValue","parseQuery","param","stringifyQuery","val2","trailingSlashRE","createRoute","redirectedFrom","fullPath","getFullPath","matched","formatMatch","START","_stringifyQuery","isSameRoute","onlyPath","isObjectEqual","aKeys","bKeys","aVal","bVal","handleRouteEntered","instances","cbs","enteredCbs","i$1","View","routerView","_routerViewCache","inactive","_routerRoot","vnodeData","routerViewDepth","cachedData","cachedComponent","configProps","fillPropsinData","registerRouteInstance","current","propsToPass","resolveProps","resolvePath","relative","base","firstChar","segments","segment","cleanPath","isarray","pathToRegexp_1","parse_1","compile_1","tokensToFunction","tokensToFunction_1","tokensToRegExp_1","tokensToRegExp","PATH_REGEXP","defaultDelimiter","escaped","asterisk","partial","repeat","escapeGroup","encodeURIComponentPretty","encodeURI","pretty","attachKeys","endsWithDelimiter","regexpCompileCache","fillParams","routeMsg","filler","pathMatch","normalizeLocation","params$1","rawPath","parsedPath","hashIndex","queryIndex","basePath","extraQuery","_parseQuery","parsedQuery","resolveQuery","Link","custom","exact","exactPath","activeClass","exactActiveClass","ariaCurrentValue","globalActiveClass","linkActiveClass","globalExactActiveClass","linkExactActiveClass","activeClassFallback","exactActiveClassFallback","compareTarget","queryIncludes","isIncludedRoute","guardEvent","scopedSlot","navigate","isExactActive","findAnchor","aData","handler$1","event$1","aAttrs","metaKey","altKey","ctrlKey","shiftKey","defaultPrevented","inBrowser","createRouteMap","oldPathList","oldPathMap","oldNameMap","parentRoute","pathList","pathMap","nameMap","addRouteRecord","matchAs","pathToRegexpOptions","normalizedPath","normalizePath","caseSensitive","regex","compileRouteRegex","redirect","childMatchAs","aliases","aliasRoute","createMatcher","currentRoute","_createRoute","paramNames","record$1","matchRoute","originalRedirect","resolveRecordPath","aliasedMatch","aliasedRecord","addRoute","parentOrRoute","getRoutes","addRoutes","Time","genStateKey","getStateKey","setStateKey","positionStore","setupScroll","history","scrollRestoration","protocolAndPath","absolutePath","stateCopy","handlePopState","handleScroll","isPop","behavior","scrollBehavior","getScrollPosition","shouldScroll","scrollToPosition","saveScrollPosition","pageXOffset","pageYOffset","isValidPosition","normalizePosition","hashStartsWithNumberRE","selector","getElementById","docRect","elRect","getElementPosition","scrollTo","supportsPushState","pushState","runQueue","NavigationFailureType","redirected","duplicated","createNavigationRedirectedError","createRouterError","propertiesToLog","stringifyRoute","createNavigationCancelledError","_isRouter","isNavigationFailure","resolveAsyncComponents","hasAsync","pending","flatMapComponents","resolvedDef","hasSymbol","comp","flatten","called","History","baseEl","normalizeBase","ready","readyCbs","readyErrorCbs","errorCbs","extractGuards","reverse","guards","extractGuard","bindGuard","listen","onReady","errorCb","transitionTo","onComplete","onAbort","prev","confirmTransition","updateRoute","ensureURL","afterHooks","lastRouteIndex","lastCurrentIndex","activated","deactivated","resolveQueue","extractLeaveGuards","beforeHooks","extractUpdateHooks","createNavigationAbortedError","enterGuards","bindEnterGuard","extractEnterGuards","resolveHooks","setupListeners","cleanupListener","HTML5History","_startLocation","getLocation","expectScroll","supportsScroll","handleRoutingEvent","fromRoute","getCurrentLocation","pathLowerCase","baseLowerCase","HashHistory","checkFallback","ensureSlash","getHash","replaceHash","eventType","pushHash","getUrl","AbstractHistory","targetIndex","VueRouter","apps","registerHook","routeOrError","handleInitialScroll","_route","beforeEach","beforeResolve","afterEach","back","forward","getMatchedComponents","createHref","normalizedTo","registerInstance","callVal","_router","strats","beforeRouteEnter","beforeRouteLeave","beforeRouteUpdate","START_LOCATION"],"mappings":";aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GAKAK,EAAI,EAAGC,EAAW,GACpCD,EAAIF,EAASI,OAAQF,IACzBH,EAAUC,EAASE,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBV,IAAYU,EAAgBV,IACpFI,EAASO,KAAKD,EAAgBV,GAAS,IAExCU,EAAgBV,GAAW,EAE5B,IAAID,KAAYG,EACZI,OAAOC,UAAUC,eAAeC,KAAKP,EAAaH,KACpDa,EAAQb,GAAYG,EAAYH,IAKlC,IAFGc,GAAqBA,EAAoBf,GAEtCM,E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E,GAAeF,EAAgBG,cAChDF,IAAcC,GAAeD,EAAaE,cAEvCD,CAAW,EE8GpB,GACA,iBACA,2BACA,gBACA,eACA,GAEA,EACA,aACA,aACA,gDACA,kBACA,UACA,0BAEA,QACA,0BAIA,0BACA,IACA,0BAEA,EACA,uBACA,iBACA,2BACA,kDACA,qDAEA,wBAEA,iBACA,mEAEA,EACA,yBACA,iBACA,2BACA,mCAEA,8BACA,6BACA,qCAGA,0BAEA,+BACA,0CACA,sCACA,uEACA,iCAEA,gCACA,iCACA,sCAEA,EACA,kBACA,4CACA,EACA,gEACA,GACA,iBACA,IACA,EACA,kBACA,0CACA,yBACA,2CAGA,EACA,gBACA,iCACA,8BAGA,eACA,MACA,oBAEA,gDACA,yBACA,4CAEA,oCAVA,kCAYA,EACA,kBACA,gBACA,2CACA,yBACA,mCAEA,EACA,8BACA,iCACA,eACA,iBACA,8BACA,sBAGA,EACA,sBACA,qBACA,2BAGA,4DAIA,8CACA,EACA,oBACA,4CACA,uCACA,yBACA,OAEA,0BACA,0BACA,yBACA,sBACA,8DACA,6BACA,qBACA,qCACA,sDACA,8BACA,uCACA,2BACA,sCACA,oBACA,aACA,eACA,2CAEA,qBACA,uBACA,yCACA,8BACA,0BACA,gCACA,yBACA,+DACA,4BACA,gEACA,wBACA,gDACA,qCACA,qBACA,+BACA,yBAEA,uCACA,qBACA,iCACA,wBAEA,kDACA,qBACA,mCACA,yBAEA,oDACA,qBACA,qCACA,wBAEA,0BACA,yBACA,2BACA,gCACA,qCACA,4BACA,4DAEA,QACA,qCACA,UACA,kBACA,GACA,UACA,2DAEA,GACA,8BAEA,IACA,qDACA,uBACA,2BAEA,UACA,oBAEA,sBACA,6CACA,GAEA,EACA,kBACA,qBACA,EACA,2BACA,qBACA,EACA,uBACA,IACA,oCAEA,I,kBC5Ue,GAXC,aACd,ICTW,WAAkB,IAAIroF,EAAIzlB,KAAKyX,EAAGgO,EAAIsG,MAAMtU,GAAG,OAASgO,EAAIuoF,kBAAoBvo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AAEgqB,EAAI6/H,EAEV,EACAxrG,EAAI7jB,MAAM,CACRooB,aAAc,WACR4iD,EAAMj5F,KAAKmW,SAASq8F,SACtBxyG,KAAKiuI,YAAcjuI,KACnBA,KAAKu9I,QAAUv9I,KAAKmW,SAASq8F,OAC7BxyG,KAAKu9I,QAAQ10H,KAAK7oB,MAClB8xC,EAAIvkB,KAAKG,eAAe1tB,KAAM,SAAUA,KAAKu9I,QAAQzH,QAAQrH,UAE7DzuI,KAAKiuI,YAAcjuI,KAAKqc,SAAWrc,KAAKqc,QAAQ4xH,aAAejuI,KAEjEq9I,EAAiBr9I,KAAMA,KACzB,EACAotB,UAAW,WACTiwH,EAAiBr9I,KACnB,IAEFpM,OAAOwE,eAAe05C,EAAIj+C,UAAW,UAAW,CAC9CyE,IAAK,WACH,OAAO0H,KAAKiuI,YAAYsP,OAC1B,IAEF3pJ,OAAOwE,eAAe05C,EAAIj+C,UAAW,SAAU,CAC7CyE,IAAK,WACH,OAAO0H,KAAKiuI,YAAY2O,MAC1B,IAEF9qG,EAAIvtB,UAAU,aAAcspH,GAC5B/7F,EAAIvtB,UAAU,aAAcgtH,GAC5B,IAAIiM,EAAS1rG,EAAI5R,OAAO9zB,sBAExBoxI,EAAOC,iBAAmBD,EAAOE,iBAAmBF,EAAOG,kBAAoBH,EAAOrwH,OA1CtF,CA2CF,EAi6CAovH,GAAUt7H,QAAU,QACpBs7H,GAAUpE,oBAAsBA,GAChCoE,GAAU7E,sBAAwBA,GAClC6E,GAAUqB,eAAiB7Q,EACvBsG,GAAa75I,OAAOs4C,KACtBt4C,OAAOs4C,IAAIjkB,IAAI0uH,IAEF,M","file":"js/widget-b134fef93b056eb0e781.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t};\n\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t32: 0,\n \t\t5: 0,\n \t\t16: 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t32: 0,\n \t\t5: 0,\n \t\t16: 0\n \t};\n\n\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"js/\" + ({}[chunkId]||chunkId) + \"-\" + {\"4\":\"1b2122784a7f542b310d\",\"6\":\"859f976de72fabf01dcb\",\"7\":\"33301a79daf35a9b9a20\",\"10\":\"5453f52f2cb82cf0302b\",\"35\":\"a96d3ebc419277b82fa4\",\"36\":\"c85bcaf327f571dd837b\",\"52\":\"0d6b1c407906422ec209\",\"53\":\"87e9284fdabd18b07af2\",\"58\":\"1266ef3dee50ac75cb28\",\"71\":\"624ab4b40510718d6cd4\",\"76\":\"df6ae62d57456cd8216b\",\"89\":\"e1c9ba0e13d1e1729853\",\"101\":\"cd3c2ff25b38fd01af2a\"}[chunkId] + \".chunk.js\"\n \t}\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 \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"7\":1,\"10\":1,\"36\":1,\"52\":1,\"53\":1,\"58\":1,\"71\":1,\"76\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"css/\" + ({}[chunkId]||chunkId) + \"-\" + {\"4\":\"31d6cfe0\",\"6\":\"31d6cfe0\",\"7\":\"b084bc19\",\"10\":\"868dc120\",\"35\":\"31d6cfe0\",\"36\":\"8ce2526f\",\"52\":\"fef9a03d\",\"53\":\"fef9a03d\",\"58\":\"ddeb37d2\",\"71\":\"510141f9\",\"76\":\"7fa5440c\",\"89\":\"31d6cfe0\",\"101\":\"31d6cfe0\"}[chunkId] + \".chunk.css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\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// 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, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\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 = \"/packs/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 2369);\n","'use strict';\n\nimport bind from './helpers/bind.js';\n\n// utils is a library of generic helper functions non-specific to axios\n\nconst {\n toString\n} = Object.prototype;\nconst {\n getPrototypeOf\n} = Object;\nconst kindOf = (cache => thing => {\n const str = toString.call(thing);\n return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());\n})(Object.create(null));\nconst kindOfTest = type => {\n type = type.toLowerCase();\n return thing => kindOf(thing) === type;\n};\nconst typeOfTest = type => thing => typeof thing === type;\n\n/**\n * Determine if a value is an Array\n *\n * @param {Object} val The value to test\n *\n * @returns {boolean} True if value is an Array, otherwise false\n */\nconst {\n isArray\n} = Array;\n\n/**\n * Determine if a value is undefined\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if the value is undefined, otherwise false\n */\nconst isUndefined = typeOfTest('undefined');\n\n/**\n * Determine if a value is a Buffer\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Buffer, otherwise false\n */\nfunction isBuffer(val) {\n return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor) && isFunction(val.constructor.isBuffer) && val.constructor.isBuffer(val);\n}\n\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\nconst isArrayBuffer = kindOfTest('ArrayBuffer');\n\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\nfunction isArrayBufferView(val) {\n let result;\n if (typeof ArrayBuffer !== 'undefined' && ArrayBuffer.isView) {\n result = ArrayBuffer.isView(val);\n } else {\n result = val && val.buffer && isArrayBuffer(val.buffer);\n }\n return result;\n}\n\n/**\n * Determine if a value is a String\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a String, otherwise false\n */\nconst isString = typeOfTest('string');\n\n/**\n * Determine if a value is a Function\n *\n * @param {*} val The value to test\n * @returns {boolean} True if value is a Function, otherwise false\n */\nconst isFunction = typeOfTest('function');\n\n/**\n * Determine if a value is a Number\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Number, otherwise false\n */\nconst isNumber = typeOfTest('number');\n\n/**\n * Determine if a value is an Object\n *\n * @param {*} thing The value to test\n *\n * @returns {boolean} True if value is an Object, otherwise false\n */\nconst isObject = thing => thing !== null && typeof thing === 'object';\n\n/**\n * Determine if a value is a Boolean\n *\n * @param {*} thing The value to test\n * @returns {boolean} True if value is a Boolean, otherwise false\n */\nconst isBoolean = thing => thing === true || thing === false;\n\n/**\n * Determine if a value is a plain Object\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a plain Object, otherwise false\n */\nconst isPlainObject = val => {\n if (kindOf(val) !== 'object') {\n return false;\n }\n const prototype = getPrototypeOf(val);\n return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in val) && !(Symbol.iterator in val);\n};\n\n/**\n * Determine if a value is a Date\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Date, otherwise false\n */\nconst isDate = kindOfTest('Date');\n\n/**\n * Determine if a value is a File\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a File, otherwise false\n */\nconst isFile = kindOfTest('File');\n\n/**\n * Determine if a value is a Blob\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Blob, otherwise false\n */\nconst isBlob = kindOfTest('Blob');\n\n/**\n * Determine if a value is a FileList\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a File, otherwise false\n */\nconst isFileList = kindOfTest('FileList');\n\n/**\n * Determine if a value is a Stream\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Stream, otherwise false\n */\nconst isStream = val => isObject(val) && isFunction(val.pipe);\n\n/**\n * Determine if a value is a FormData\n *\n * @param {*} thing The value to test\n *\n * @returns {boolean} True if value is an FormData, otherwise false\n */\nconst isFormData = thing => {\n let kind;\n return thing && (typeof FormData === 'function' && thing instanceof FormData || isFunction(thing.append) && ((kind = kindOf(thing)) === 'formdata' ||\n // detect form-data instance\n kind === 'object' && isFunction(thing.toString) && thing.toString() === '[object FormData]'));\n};\n\n/**\n * Determine if a value is a URLSearchParams object\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a URLSearchParams object, otherwise false\n */\nconst isURLSearchParams = kindOfTest('URLSearchParams');\nconst [isReadableStream, isRequest, isResponse, isHeaders] = ['ReadableStream', 'Request', 'Response', 'Headers'].map(kindOfTest);\n\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n *\n * @returns {String} The String freed of excess whitespace\n */\nconst trim = str => str.trim ? str.trim() : str.replace(/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g, '');\n\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n *\n * @param {Boolean} [allOwnKeys = false]\n * @returns {any}\n */\nfunction forEach(obj, fn) {\n let {\n allOwnKeys = false\n } = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n // Don't bother if no value provided\n if (obj === null || typeof obj === 'undefined') {\n return;\n }\n let i;\n let l;\n\n // Force an array if not already something iterable\n if (typeof obj !== 'object') {\n /*eslint no-param-reassign:0*/\n obj = [obj];\n }\n if (isArray(obj)) {\n // Iterate over array values\n for (i = 0, l = obj.length; i < l; i++) {\n fn.call(null, obj[i], i, obj);\n }\n } else {\n // Iterate over object keys\n const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);\n const len = keys.length;\n let key;\n for (i = 0; i < len; i++) {\n key = keys[i];\n fn.call(null, obj[key], key, obj);\n }\n }\n}\nfunction findKey(obj, key) {\n key = key.toLowerCase();\n const keys = Object.keys(obj);\n let i = keys.length;\n let _key;\n while (i-- > 0) {\n _key = keys[i];\n if (key === _key.toLowerCase()) {\n return _key;\n }\n }\n return null;\n}\nconst _global = (() => {\n /*eslint no-undef:0*/\n if (typeof globalThis !== \"undefined\") return globalThis;\n return typeof self !== \"undefined\" ? self : typeof window !== 'undefined' ? window : global;\n})();\nconst isContextDefined = context => !isUndefined(context) && context !== _global;\n\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * var result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n *\n * @returns {Object} Result of all merge properties\n */\nfunction merge(/* obj1, obj2, obj3, ... */\n) {\n const {\n caseless\n } = isContextDefined(this) && this || {};\n const result = {};\n const assignValue = (val, key) => {\n const targetKey = caseless && findKey(result, key) || key;\n if (isPlainObject(result[targetKey]) && isPlainObject(val)) {\n result[targetKey] = merge(result[targetKey], val);\n } else if (isPlainObject(val)) {\n result[targetKey] = merge({}, val);\n } else if (isArray(val)) {\n result[targetKey] = val.slice();\n } else {\n result[targetKey] = val;\n }\n };\n for (let i = 0, l = arguments.length; i < l; i++) {\n arguments[i] && forEach(arguments[i], assignValue);\n }\n return result;\n}\n\n/**\n * Extends object a by mutably adding to it the properties of object b.\n *\n * @param {Object} a The object to be extended\n * @param {Object} b The object to copy properties from\n * @param {Object} thisArg The object to bind function to\n *\n * @param {Boolean} [allOwnKeys]\n * @returns {Object} The resulting value of object a\n */\nconst extend = function (a, b, thisArg) {\n let {\n allOwnKeys\n } = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n forEach(b, (val, key) => {\n if (thisArg && isFunction(val)) {\n a[key] = bind(val, thisArg);\n } else {\n a[key] = val;\n }\n }, {\n allOwnKeys\n });\n return a;\n};\n\n/**\n * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)\n *\n * @param {string} content with BOM\n *\n * @returns {string} content value without BOM\n */\nconst stripBOM = content => {\n if (content.charCodeAt(0) === 0xFEFF) {\n content = content.slice(1);\n }\n return content;\n};\n\n/**\n * Inherit the prototype methods from one constructor into another\n * @param {function} constructor\n * @param {function} superConstructor\n * @param {object} [props]\n * @param {object} [descriptors]\n *\n * @returns {void}\n */\nconst inherits = (constructor, superConstructor, props, descriptors) => {\n constructor.prototype = Object.create(superConstructor.prototype, descriptors);\n constructor.prototype.constructor = constructor;\n Object.defineProperty(constructor, 'super', {\n value: superConstructor.prototype\n });\n props && Object.assign(constructor.prototype, props);\n};\n\n/**\n * Resolve object with deep prototype chain to a flat object\n * @param {Object} sourceObj source object\n * @param {Object} [destObj]\n * @param {Function|Boolean} [filter]\n * @param {Function} [propFilter]\n *\n * @returns {Object}\n */\nconst toFlatObject = (sourceObj, destObj, filter, propFilter) => {\n let props;\n let i;\n let prop;\n const merged = {};\n destObj = destObj || {};\n // eslint-disable-next-line no-eq-null,eqeqeq\n if (sourceObj == null) return destObj;\n do {\n props = Object.getOwnPropertyNames(sourceObj);\n i = props.length;\n while (i-- > 0) {\n prop = props[i];\n if ((!propFilter || propFilter(prop, sourceObj, destObj)) && !merged[prop]) {\n destObj[prop] = sourceObj[prop];\n merged[prop] = true;\n }\n }\n sourceObj = filter !== false && getPrototypeOf(sourceObj);\n } while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype);\n return destObj;\n};\n\n/**\n * Determines whether a string ends with the characters of a specified string\n *\n * @param {String} str\n * @param {String} searchString\n * @param {Number} [position= 0]\n *\n * @returns {boolean}\n */\nconst endsWith = (str, searchString, position) => {\n str = String(str);\n if (position === undefined || position > str.length) {\n position = str.length;\n }\n position -= searchString.length;\n const lastIndex = str.indexOf(searchString, position);\n return lastIndex !== -1 && lastIndex === position;\n};\n\n/**\n * Returns new array from array like object or null if failed\n *\n * @param {*} [thing]\n *\n * @returns {?Array}\n */\nconst toArray = thing => {\n if (!thing) return null;\n if (isArray(thing)) return thing;\n let i = thing.length;\n if (!isNumber(i)) return null;\n const arr = new Array(i);\n while (i-- > 0) {\n arr[i] = thing[i];\n }\n return arr;\n};\n\n/**\n * Checking if the Uint8Array exists and if it does, it returns a function that checks if the\n * thing passed in is an instance of Uint8Array\n *\n * @param {TypedArray}\n *\n * @returns {Array}\n */\n// eslint-disable-next-line func-names\nconst isTypedArray = (TypedArray => {\n // eslint-disable-next-line func-names\n return thing => {\n return TypedArray && thing instanceof TypedArray;\n };\n})(typeof Uint8Array !== 'undefined' && getPrototypeOf(Uint8Array));\n\n/**\n * For each entry in the object, call the function with the key and value.\n *\n * @param {Object} obj - The object to iterate over.\n * @param {Function} fn - The function to call for each entry.\n *\n * @returns {void}\n */\nconst forEachEntry = (obj, fn) => {\n const generator = obj && obj[Symbol.iterator];\n const iterator = generator.call(obj);\n let result;\n while ((result = iterator.next()) && !result.done) {\n const pair = result.value;\n fn.call(obj, pair[0], pair[1]);\n }\n};\n\n/**\n * It takes a regular expression and a string, and returns an array of all the matches\n *\n * @param {string} regExp - The regular expression to match against.\n * @param {string} str - The string to search.\n *\n * @returns {Array}\n */\nconst matchAll = (regExp, str) => {\n let matches;\n const arr = [];\n while ((matches = regExp.exec(str)) !== null) {\n arr.push(matches);\n }\n return arr;\n};\n\n/* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */\nconst isHTMLForm = kindOfTest('HTMLFormElement');\nconst toCamelCase = str => {\n return str.toLowerCase().replace(/[-_\\s]([a-z\\d])(\\w*)/g, function replacer(m, p1, p2) {\n return p1.toUpperCase() + p2;\n });\n};\n\n/* Creating a function that will check if an object has a property. */\nconst hasOwnProperty = (_ref => {\n let {\n hasOwnProperty\n } = _ref;\n return (obj, prop) => hasOwnProperty.call(obj, prop);\n})(Object.prototype);\n\n/**\n * Determine if a value is a RegExp object\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a RegExp object, otherwise false\n */\nconst isRegExp = kindOfTest('RegExp');\nconst reduceDescriptors = (obj, reducer) => {\n const descriptors = Object.getOwnPropertyDescriptors(obj);\n const reducedDescriptors = {};\n forEach(descriptors, (descriptor, name) => {\n let ret;\n if ((ret = reducer(descriptor, name, obj)) !== false) {\n reducedDescriptors[name] = ret || descriptor;\n }\n });\n Object.defineProperties(obj, reducedDescriptors);\n};\n\n/**\n * Makes all methods read-only\n * @param {Object} obj\n */\n\nconst freezeMethods = obj => {\n reduceDescriptors(obj, (descriptor, name) => {\n // skip restricted props in strict mode\n if (isFunction(obj) && ['arguments', 'caller', 'callee'].indexOf(name) !== -1) {\n return false;\n }\n const value = obj[name];\n if (!isFunction(value)) return;\n descriptor.enumerable = false;\n if ('writable' in descriptor) {\n descriptor.writable = false;\n return;\n }\n if (!descriptor.set) {\n descriptor.set = () => {\n throw Error('Can not rewrite read-only method \\'' + name + '\\'');\n };\n }\n });\n};\nconst toObjectSet = (arrayOrString, delimiter) => {\n const obj = {};\n const define = arr => {\n arr.forEach(value => {\n obj[value] = true;\n });\n };\n isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter));\n return obj;\n};\nconst noop = () => {};\nconst toFiniteNumber = (value, defaultValue) => {\n return value != null && Number.isFinite(value = +value) ? value : defaultValue;\n};\nconst ALPHA = 'abcdefghijklmnopqrstuvwxyz';\nconst DIGIT = '0123456789';\nconst ALPHABET = {\n DIGIT,\n ALPHA,\n ALPHA_DIGIT: ALPHA + ALPHA.toUpperCase() + DIGIT\n};\nconst generateString = function () {\n let size = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 16;\n let alphabet = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ALPHABET.ALPHA_DIGIT;\n let str = '';\n const {\n length\n } = alphabet;\n while (size--) {\n str += alphabet[Math.random() * length | 0];\n }\n return str;\n};\n\n/**\n * If the thing is a FormData object, return true, otherwise return false.\n *\n * @param {unknown} thing - The thing to check.\n *\n * @returns {boolean}\n */\nfunction isSpecCompliantForm(thing) {\n return !!(thing && isFunction(thing.append) && thing[Symbol.toStringTag] === 'FormData' && thing[Symbol.iterator]);\n}\nconst toJSONObject = obj => {\n const stack = new Array(10);\n const visit = (source, i) => {\n if (isObject(source)) {\n if (stack.indexOf(source) >= 0) {\n return;\n }\n if (!('toJSON' in source)) {\n stack[i] = source;\n const target = isArray(source) ? [] : {};\n forEach(source, (value, key) => {\n const reducedValue = visit(value, i + 1);\n !isUndefined(reducedValue) && (target[key] = reducedValue);\n });\n stack[i] = undefined;\n return target;\n }\n }\n return source;\n };\n return visit(obj, 0);\n};\nconst isAsyncFn = kindOfTest('AsyncFunction');\nconst isThenable = thing => thing && (isObject(thing) || isFunction(thing)) && isFunction(thing.then) && isFunction(thing.catch);\n\n// original code\n// https://github.com/DigitalBrainJS/AxiosPromise/blob/16deab13710ec09779922131f3fa5954320f83ab/lib/utils.js#L11-L34\n\nconst _setImmediate = ((setImmediateSupported, postMessageSupported) => {\n if (setImmediateSupported) {\n return setImmediate;\n }\n return postMessageSupported ? ((token, callbacks) => {\n _global.addEventListener(\"message\", _ref2 => {\n let {\n source,\n data\n } = _ref2;\n if (source === _global && data === token) {\n callbacks.length && callbacks.shift()();\n }\n }, false);\n return cb => {\n callbacks.push(cb);\n _global.postMessage(token, \"*\");\n };\n })(`axios@${Math.random()}`, []) : cb => setTimeout(cb);\n})(typeof setImmediate === 'function', isFunction(_global.postMessage));\nconst asap = typeof queueMicrotask !== 'undefined' ? queueMicrotask.bind(_global) : typeof process !== 'undefined' && process.nextTick || _setImmediate;\n\n// *********************\n\nexport default {\n isArray,\n isArrayBuffer,\n isBuffer,\n isFormData,\n isArrayBufferView,\n isString,\n isNumber,\n isBoolean,\n isObject,\n isPlainObject,\n isReadableStream,\n isRequest,\n isResponse,\n isHeaders,\n isUndefined,\n isDate,\n isFile,\n isBlob,\n isRegExp,\n isFunction,\n isStream,\n isURLSearchParams,\n isTypedArray,\n isFileList,\n forEach,\n merge,\n extend,\n trim,\n stripBOM,\n inherits,\n toFlatObject,\n kindOf,\n kindOfTest,\n endsWith,\n toArray,\n forEachEntry,\n matchAll,\n isHTMLForm,\n hasOwnProperty,\n hasOwnProp: hasOwnProperty,\n // an alias to avoid ESLint no-prototype-builtins detection\n reduceDescriptors,\n freezeMethods,\n toObjectSet,\n toCamelCase,\n noop,\n toFiniteNumber,\n findKey,\n global: _global,\n isContextDefined,\n ALPHABET,\n generateString,\n isSpecCompliantForm,\n toJSONObject,\n isAsyncFn,\n isThenable,\n setImmediate: _setImmediate,\n asap\n};","export const frontendURL = (path, params) => {\n const stringifiedParams = params ? `?${new URLSearchParams(params)}` : '';\n return `/app/${path}${stringifiedParams}`;\n};\n\nexport const conversationUrl = ({\n accountId,\n activeInbox,\n id,\n label,\n teamId,\n conversationType = '',\n foldersId,\n}) => {\n let url = `accounts/${accountId}/conversations/${id}`;\n if (activeInbox) {\n url = `accounts/${accountId}/inbox/${activeInbox}/conversations/${id}`;\n } else if (label) {\n url = `accounts/${accountId}/label/${label}/conversations/${id}`;\n } else if (teamId) {\n url = `accounts/${accountId}/team/${teamId}/conversations/${id}`;\n } else if (foldersId && foldersId !== 0) {\n url = `accounts/${accountId}/custom_view/${foldersId}/conversations/${id}`;\n } else if (conversationType === 'mention') {\n url = `accounts/${accountId}/mentions/conversations/${id}`;\n } else if (conversationType === 'participating') {\n url = `accounts/${accountId}/participating/conversations/${id}`;\n } else if (conversationType === 'unattended') {\n url = `accounts/${accountId}/unattended/conversations/${id}`;\n }\n return url;\n};\n\nexport const conversationListPageURL = ({\n accountId,\n conversationType = '',\n inboxId,\n label,\n teamId,\n customViewId,\n}) => {\n let url = `accounts/${accountId}/dashboard`;\n if (label) {\n url = `accounts/${accountId}/label/${label}`;\n } else if (teamId) {\n url = `accounts/${accountId}/team/${teamId}`;\n } else if (inboxId) {\n url = `accounts/${accountId}/inbox/${inboxId}`;\n } else if (customViewId) {\n url = `accounts/${accountId}/custom_view/${customViewId}`;\n } else if (conversationType) {\n const urlMap = {\n mention: 'mentions/conversations',\n unattended: 'unattended/conversations',\n };\n url = `accounts/${accountId}/${urlMap[conversationType]}`;\n }\n return frontendURL(url);\n};\n\nexport const isValidURL = value => {\n /* eslint-disable no-useless-escape */\n const URL_REGEX =\n /^https?:\\/\\/(?:www\\.)?[-a-zA-Z0-9@:%._\\+~#=]{1,256}\\.[a-zA-Z0-9()]{1,6}\\b([-a-zA-Z0-9()@:%_\\+.~#?&//=]*)$/gm;\n return URL_REGEX.test(value);\n};\n\nexport const getArticleSearchURL = ({\n host,\n portalSlug,\n pageNumber,\n locale,\n status,\n authorId,\n categorySlug,\n sort,\n query,\n}) => {\n const queryParams = new URLSearchParams({});\n\n const params = {\n page: pageNumber,\n locale,\n status,\n author_id: authorId,\n category_slug: categorySlug,\n sort,\n query,\n };\n\n Object.entries(params).forEach(([key, value]) => {\n if (value !== null && value !== undefined) {\n queryParams.set(key, value);\n }\n });\n\n return `${host}/${portalSlug}/articles?${queryParams.toString()}`;\n};\n\nexport const hasValidAvatarUrl = avatarUrl => {\n try {\n const { host: avatarUrlHost } = new URL(avatarUrl);\n const isFromGravatar = ['www.gravatar.com', 'gravatar'].includes(\n avatarUrlHost\n );\n return avatarUrl && !isFromGravatar;\n } catch (error) {\n return false;\n }\n};\n","import endPoints from 'widget/api/endPoints';\nimport { API } from 'widget/helpers/axios';\n\nconst createConversationAPI = async content => {\n const urlData = endPoints.createConversation(content);\n return API.post(urlData.url, urlData.params);\n};\n\nconst sendMessageAPI = async (content, replyTo = null) => {\n const urlData = endPoints.sendMessage(content, replyTo);\n return API.post(urlData.url, urlData.params);\n};\n\nconst sendAttachmentAPI = async (attachment, replyTo = null) => {\n const urlData = endPoints.sendAttachment(attachment, replyTo);\n return API.post(urlData.url, urlData.params);\n};\n\nconst getMessagesAPI = async ({ before, after }) => {\n const urlData = endPoints.getConversation({ before, after });\n return API.get(urlData.url, { params: urlData.params });\n};\n\nconst getConversationAPI = async () => {\n return API.get(`/api/v1/widget/conversations${window.location.search}`);\n};\n\nconst toggleTyping = async ({ typingStatus }) => {\n return API.post(\n `/api/v1/widget/conversations/toggle_typing${window.location.search}`,\n { typing_status: typingStatus }\n );\n};\n\nconst setUserLastSeenAt = async ({ lastSeen }) => {\n return API.post(\n `/api/v1/widget/conversations/update_last_seen${window.location.search}`,\n { contact_last_seen_at: lastSeen }\n );\n};\nconst sendEmailTranscript = async () => {\n return API.post(\n `/api/v1/widget/conversations/transcript${window.location.search}`\n );\n};\nconst toggleStatus = async () => {\n return API.get(\n `/api/v1/widget/conversations/toggle_status${window.location.search}`\n );\n};\n\nconst setCustomAttributes = async customAttributes => {\n return API.post(\n `/api/v1/widget/conversations/set_custom_attributes${window.location.search}`,\n {\n custom_attributes: customAttributes,\n }\n );\n};\n\nconst deleteCustomAttribute = async customAttribute => {\n return API.post(\n `/api/v1/widget/conversations/destroy_custom_attributes${window.location.search}`,\n {\n custom_attribute: [customAttribute],\n }\n );\n};\n\nexport {\n createConversationAPI,\n sendMessageAPI,\n getConversationAPI,\n getMessagesAPI,\n sendAttachmentAPI,\n toggleTyping,\n setUserLastSeenAt,\n sendEmailTranscript,\n toggleStatus,\n setCustomAttributes,\n deleteCustomAttribute,\n};\n","export const buildSearchParamsWithLocale = search => {\n const locale = window.WOOT_WIDGET.$root.$i18n.locale;\n const params = new URLSearchParams(search);\n params.append('locale', locale);\n\n return `?${params}`;\n};\n\nexport const getLocale = (search = '') => {\n return new URLSearchParams(search).get('locale');\n};\n\nexport const buildPopoutURL = ({\n origin,\n conversationCookie,\n websiteToken,\n locale,\n}) => {\n const popoutUrl = new URL('/widget', origin);\n popoutUrl.searchParams.append('cw_conversation', conversationCookie);\n popoutUrl.searchParams.append('website_token', websiteToken);\n popoutUrl.searchParams.append('locale', locale);\n\n return popoutUrl.toString();\n};\n","/*!\n * Vue.js v2.7.16\n * (c) 2014-2023 Evan You\n * Released under the MIT License.\n */\n/*!\n * Vue.js v2.7.16\n * (c) 2014-2023 Evan You\n * Released under the MIT License.\n */\n\"use strict\";\n\nconst t = Object.freeze({}),\n e = Array.isArray;\nfunction n(t) {\n return null == t;\n}\nfunction o(t) {\n return null != t;\n}\nfunction r(t) {\n return !0 === t;\n}\nfunction s(t) {\n return \"string\" == typeof t || \"number\" == typeof t || \"symbol\" == typeof t || \"boolean\" == typeof t;\n}\nfunction i(t) {\n return \"function\" == typeof t;\n}\nfunction c(t) {\n return null !== t && \"object\" == typeof t;\n}\nconst a = Object.prototype.toString;\nfunction l(t) {\n return \"[object Object]\" === a.call(t);\n}\nfunction u(t) {\n const e = parseFloat(String(t));\n return e >= 0 && Math.floor(e) === e && isFinite(t);\n}\nfunction f(t) {\n return o(t) && \"function\" == typeof t.then && \"function\" == typeof t.catch;\n}\nfunction d(t) {\n return null == t ? \"\" : Array.isArray(t) || l(t) && t.toString === a ? JSON.stringify(t, p, 2) : String(t);\n}\nfunction p(t, e) {\n return e && e.__v_isRef ? e.value : e;\n}\nfunction h(t) {\n const e = parseFloat(t);\n return isNaN(e) ? t : e;\n}\nfunction m(t, e) {\n const n = Object.create(null),\n o = t.split(\",\");\n for (let t = 0; t < o.length; t++) n[o[t]] = !0;\n return e ? t => n[t.toLowerCase()] : t => n[t];\n}\nconst g = m(\"slot,component\", !0),\n v = m(\"key,ref,slot,slot-scope,is\");\nfunction y(t, e) {\n const n = t.length;\n if (n) {\n if (e === t[n - 1]) return void (t.length = n - 1);\n const o = t.indexOf(e);\n if (o > -1) return t.splice(o, 1);\n }\n}\nconst _ = Object.prototype.hasOwnProperty;\nfunction $(t, e) {\n return _.call(t, e);\n}\nfunction b(t) {\n const e = Object.create(null);\n return function (n) {\n return e[n] || (e[n] = t(n));\n };\n}\nconst w = /-(\\w)/g,\n x = b(t => t.replace(w, (t, e) => e ? e.toUpperCase() : \"\")),\n C = b(t => t.charAt(0).toUpperCase() + t.slice(1)),\n k = /\\B([A-Z])/g,\n S = b(t => t.replace(k, \"-$1\").toLowerCase());\nconst O = Function.prototype.bind ? function (t, e) {\n return t.bind(e);\n} : function (t, e) {\n function n(n) {\n const o = arguments.length;\n return o ? o > 1 ? t.apply(e, arguments) : t.call(e, n) : t.call(e);\n }\n return n._length = t.length, n;\n};\nfunction T(t, e) {\n e = e || 0;\n let n = t.length - e;\n const o = new Array(n);\n for (; n--;) o[n] = t[n + e];\n return o;\n}\nfunction A(t, e) {\n for (const n in e) t[n] = e[n];\n return t;\n}\nfunction j(t) {\n const e = {};\n for (let n = 0; n < t.length; n++) t[n] && A(e, t[n]);\n return e;\n}\nfunction E(t, e, n) {}\nconst N = (t, e, n) => !1,\n P = t => t;\nfunction D(t, e) {\n if (t === e) return !0;\n const n = c(t),\n o = c(e);\n if (!n || !o) return !n && !o && String(t) === String(e);\n try {\n const n = Array.isArray(t),\n o = Array.isArray(e);\n if (n && o) return t.length === e.length && t.every((t, n) => D(t, e[n]));\n if (t instanceof Date && e instanceof Date) return t.getTime() === e.getTime();\n if (n || o) return !1;\n {\n const n = Object.keys(t),\n o = Object.keys(e);\n return n.length === o.length && n.every(n => D(t[n], e[n]));\n }\n } catch (t) {\n return !1;\n }\n}\nfunction M(t, e) {\n for (let n = 0; n < t.length; n++) if (D(t[n], e)) return n;\n return -1;\n}\nfunction I(t) {\n let e = !1;\n return function () {\n e || (e = !0, t.apply(this, arguments));\n };\n}\nfunction L(t, e) {\n return t === e ? 0 === t && 1 / t != 1 / e : t == t || e == e;\n}\nconst R = \"data-server-rendered\",\n F = [\"component\", \"directive\", \"filter\"],\n H = [\"beforeCreate\", \"created\", \"beforeMount\", \"mounted\", \"beforeUpdate\", \"updated\", \"beforeDestroy\", \"destroyed\", \"activated\", \"deactivated\", \"errorCaptured\", \"serverPrefetch\", \"renderTracked\", \"renderTriggered\"];\nvar B = {\n optionMergeStrategies: Object.create(null),\n silent: !1,\n productionTip: !1,\n devtools: !1,\n performance: !1,\n errorHandler: null,\n warnHandler: null,\n ignoredElements: [],\n keyCodes: Object.create(null),\n isReservedTag: N,\n isReservedAttr: N,\n isUnknownElement: N,\n getTagNamespace: E,\n parsePlatformTagName: P,\n mustUseProp: N,\n async: !0,\n _lifecycleHooks: H\n};\nconst U = /a-zA-Z\\u00B7\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u203F-\\u2040\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD/;\nfunction z(t) {\n const e = (t + \"\").charCodeAt(0);\n return 36 === e || 95 === e;\n}\nfunction V(t, e, n, o) {\n Object.defineProperty(t, e, {\n value: n,\n enumerable: !!o,\n writable: !0,\n configurable: !0\n });\n}\nconst K = new RegExp(`[^${U.source}.$_\\\\d]`);\nconst J = \"__proto__\" in {},\n q = \"undefined\" != typeof window,\n W = q && window.navigator.userAgent.toLowerCase(),\n Z = W && /msie|trident/.test(W),\n G = W && W.indexOf(\"msie 9.0\") > 0,\n X = W && W.indexOf(\"edge/\") > 0;\nW && W.indexOf(\"android\");\nconst Y = W && /iphone|ipad|ipod|ios/.test(W);\nW && /chrome\\/\\d+/.test(W), W && /phantomjs/.test(W);\nconst Q = W && W.match(/firefox\\/(\\d+)/),\n tt = {}.watch;\nlet et,\n nt = !1;\nif (q) try {\n const t = {};\n Object.defineProperty(t, \"passive\", {\n get() {\n nt = !0;\n }\n }), window.addEventListener(\"test-passive\", null, t);\n} catch (t) {}\nconst ot = () => (void 0 === et && (et = !q && \"undefined\" != typeof global && global.process && \"server\" === global.process.env.VUE_ENV), et),\n rt = q && window.__VUE_DEVTOOLS_GLOBAL_HOOK__;\nfunction st(t) {\n return \"function\" == typeof t && /native code/.test(t.toString());\n}\nconst it = \"undefined\" != typeof Symbol && st(Symbol) && \"undefined\" != typeof Reflect && st(Reflect.ownKeys);\nlet ct;\nct = \"undefined\" != typeof Set && st(Set) ? Set : class {\n constructor() {\n this.set = Object.create(null);\n }\n has(t) {\n return !0 === this.set[t];\n }\n add(t) {\n this.set[t] = !0;\n }\n clear() {\n this.set = Object.create(null);\n }\n};\nlet at = null;\nfunction lt() {\n let t = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n t || at && at._scope.off(), at = t, t && t._scope.on();\n}\nclass ut {\n constructor(t, e, n, o, r, s, i, c) {\n this.tag = t, this.data = e, this.children = n, this.text = o, this.elm = r, this.ns = void 0, this.context = s, this.fnContext = void 0, this.fnOptions = void 0, this.fnScopeId = void 0, this.key = e && e.key, this.componentOptions = i, this.componentInstance = void 0, this.parent = void 0, this.raw = !1, this.isStatic = !1, this.isRootInsert = !0, this.isComment = !1, this.isCloned = !1, this.isOnce = !1, this.asyncFactory = c, this.asyncMeta = void 0, this.isAsyncPlaceholder = !1;\n }\n get child() {\n return this.componentInstance;\n }\n}\nconst ft = function () {\n let t = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : \"\";\n const e = new ut();\n return e.text = t, e.isComment = !0, e;\n};\nfunction dt(t) {\n return new ut(void 0, void 0, void 0, String(t));\n}\nfunction pt(t) {\n const e = new ut(t.tag, t.data, t.children && t.children.slice(), t.text, t.elm, t.context, t.componentOptions, t.asyncFactory);\n return e.ns = t.ns, e.isStatic = t.isStatic, e.key = t.key, e.isComment = t.isComment, e.fnContext = t.fnContext, e.fnOptions = t.fnOptions, e.fnScopeId = t.fnScopeId, e.asyncMeta = t.asyncMeta, e.isCloned = !0, e;\n}\nlet ht = 0;\nconst mt = [],\n gt = () => {\n for (let t = 0; t < mt.length; t++) {\n const e = mt[t];\n e.subs = e.subs.filter(t => t), e._pending = !1;\n }\n mt.length = 0;\n };\nclass vt {\n constructor() {\n this._pending = !1, this.id = ht++, this.subs = [];\n }\n addSub(t) {\n this.subs.push(t);\n }\n removeSub(t) {\n this.subs[this.subs.indexOf(t)] = null, this._pending || (this._pending = !0, mt.push(this));\n }\n depend(t) {\n vt.target && vt.target.addDep(this);\n }\n notify(t) {\n const e = this.subs.filter(t => t);\n for (let t = 0, n = e.length; t < n; t++) {\n e[t].update();\n }\n }\n}\nvt.target = null;\nconst yt = [];\nfunction _t(t) {\n yt.push(t), vt.target = t;\n}\nfunction $t() {\n yt.pop(), vt.target = yt[yt.length - 1];\n}\nconst bt = Array.prototype,\n wt = Object.create(bt);\n[\"push\", \"pop\", \"shift\", \"unshift\", \"splice\", \"sort\", \"reverse\"].forEach(function (t) {\n const e = bt[t];\n V(wt, t, function () {\n for (var _len = arguments.length, n = new Array(_len), _key = 0; _key < _len; _key++) {\n n[_key] = arguments[_key];\n }\n const o = e.apply(this, n),\n r = this.__ob__;\n let s;\n switch (t) {\n case \"push\":\n case \"unshift\":\n s = n;\n break;\n case \"splice\":\n s = n.slice(2);\n }\n return s && r.observeArray(s), r.dep.notify(), o;\n });\n});\nconst xt = Object.getOwnPropertyNames(wt),\n Ct = {};\nlet kt = !0;\nfunction St(t) {\n kt = t;\n}\nconst Ot = {\n notify: E,\n depend: E,\n addSub: E,\n removeSub: E\n};\nclass Tt {\n constructor(t) {\n let n = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !1;\n let o = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : !1;\n if (this.value = t, this.shallow = n, this.mock = o, this.dep = o ? Ot : new vt(), this.vmCount = 0, V(t, \"__ob__\", this), e(t)) {\n if (!o) if (J) t.__proto__ = wt;else for (let e = 0, n = xt.length; e < n; e++) {\n const n = xt[e];\n V(t, n, wt[n]);\n }\n n || this.observeArray(t);\n } else {\n const e = Object.keys(t);\n for (let r = 0; r < e.length; r++) {\n jt(t, e[r], Ct, void 0, n, o);\n }\n }\n }\n observeArray(t) {\n for (let e = 0, n = t.length; e < n; e++) At(t[e], !1, this.mock);\n }\n}\nfunction At(t, n, o) {\n return t && $(t, \"__ob__\") && t.__ob__ instanceof Tt ? t.__ob__ : !kt || !o && ot() || !e(t) && !l(t) || !Object.isExtensible(t) || t.__v_skip || Ht(t) || t instanceof ut ? void 0 : new Tt(t, n, o);\n}\nfunction jt(t, n, o, r, s, i) {\n let c = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : !1;\n const a = new vt(),\n l = Object.getOwnPropertyDescriptor(t, n);\n if (l && !1 === l.configurable) return;\n const u = l && l.get,\n f = l && l.set;\n u && !f || o !== Ct && 2 !== arguments.length || (o = t[n]);\n let d = s ? o && o.__ob__ : At(o, !1, i);\n return Object.defineProperty(t, n, {\n enumerable: !0,\n configurable: !0,\n get: function () {\n const n = u ? u.call(t) : o;\n return vt.target && (a.depend(), d && (d.dep.depend(), e(n) && Pt(n))), Ht(n) && !s ? n.value : n;\n },\n set: function (e) {\n const n = u ? u.call(t) : o;\n if (L(n, e)) {\n if (f) f.call(t, e);else {\n if (u) return;\n if (!s && Ht(n) && !Ht(e)) return void (n.value = e);\n o = e;\n }\n d = s ? e && e.__ob__ : At(e, !1, i), a.notify();\n }\n }\n }), a;\n}\nfunction Et(t, n, o) {\n if (Rt(t)) return;\n const r = t.__ob__;\n return e(t) && u(n) ? (t.length = Math.max(t.length, n), t.splice(n, 1, o), r && !r.shallow && r.mock && At(o, !1, !0), o) : n in t && !(n in Object.prototype) ? (t[n] = o, o) : t._isVue || r && r.vmCount ? o : r ? (jt(r.value, n, o, void 0, r.shallow, r.mock), r.dep.notify(), o) : (t[n] = o, o);\n}\nfunction Nt(t, n) {\n if (e(t) && u(n)) return void t.splice(n, 1);\n const o = t.__ob__;\n t._isVue || o && o.vmCount || Rt(t) || $(t, n) && (delete t[n], o && o.dep.notify());\n}\nfunction Pt(t) {\n for (let n, o = 0, r = t.length; o < r; o++) n = t[o], n && n.__ob__ && n.__ob__.dep.depend(), e(n) && Pt(n);\n}\nfunction Dt(t) {\n return Mt(t, !0), V(t, \"__v_isShallow\", !0), t;\n}\nfunction Mt(t, e) {\n Rt(t) || At(t, e, ot());\n}\nfunction It(t) {\n return Rt(t) ? It(t.__v_raw) : !(!t || !t.__ob__);\n}\nfunction Lt(t) {\n return !(!t || !t.__v_isShallow);\n}\nfunction Rt(t) {\n return !(!t || !t.__v_isReadonly);\n}\nconst Ft = \"__v_isRef\";\nfunction Ht(t) {\n return !(!t || !0 !== t.__v_isRef);\n}\nfunction Bt(t, e) {\n if (Ht(t)) return t;\n const n = {};\n return V(n, Ft, !0), V(n, \"__v_isShallow\", e), V(n, \"dep\", jt(n, \"value\", t, null, e, ot())), n;\n}\nfunction Ut(t, e, n) {\n Object.defineProperty(t, n, {\n enumerable: !0,\n configurable: !0,\n get: () => {\n const t = e[n];\n if (Ht(t)) return t.value;\n {\n const e = t && t.__ob__;\n return e && e.dep.depend(), t;\n }\n },\n set: t => {\n const o = e[n];\n Ht(o) && !Ht(t) ? o.value = t : e[n] = t;\n }\n });\n}\nfunction zt(t, e, n) {\n const o = t[e];\n if (Ht(o)) return o;\n const r = {\n get value() {\n const o = t[e];\n return void 0 === o ? n : o;\n },\n set value(n) {\n t[e] = n;\n }\n };\n return V(r, Ft, !0), r;\n}\nconst Vt = \"__v_rawToReadonly\",\n Kt = \"__v_rawToShallowReadonly\";\nfunction Jt(t) {\n return qt(t, !1);\n}\nfunction qt(t, e) {\n if (!l(t)) return t;\n if (Rt(t)) return t;\n const n = e ? Kt : Vt,\n o = t[n];\n if (o) return o;\n const r = Object.create(Object.getPrototypeOf(t));\n V(t, n, r), V(r, \"__v_isReadonly\", !0), V(r, \"__v_raw\", t), Ht(t) && V(r, Ft, !0), (e || Lt(t)) && V(r, \"__v_isShallow\", !0);\n const s = Object.keys(t);\n for (let n = 0; n < s.length; n++) Wt(r, t, s[n], e);\n return r;\n}\nfunction Wt(t, e, n, o) {\n Object.defineProperty(t, n, {\n enumerable: !0,\n configurable: !0,\n get() {\n const t = e[n];\n return o || !l(t) ? t : Jt(t);\n },\n set() {}\n });\n}\nconst Zt = b(t => {\n const e = \"&\" === t.charAt(0),\n n = \"~\" === (t = e ? t.slice(1) : t).charAt(0),\n o = \"!\" === (t = n ? t.slice(1) : t).charAt(0);\n return {\n name: t = o ? t.slice(1) : t,\n once: n,\n capture: o,\n passive: e\n };\n});\nfunction Gt(t, n) {\n function o() {\n const t = o.fns;\n if (!e(t)) return vn(t, null, arguments, n, \"v-on handler\");\n {\n const e = t.slice();\n for (let t = 0; t < e.length; t++) vn(e[t], null, arguments, n, \"v-on handler\");\n }\n }\n return o.fns = t, o;\n}\nfunction Xt(t, e, o, s, i, c) {\n let a, l, u, f;\n for (a in t) l = t[a], u = e[a], f = Zt(a), n(l) || (n(u) ? (n(l.fns) && (l = t[a] = Gt(l, c)), r(f.once) && (l = t[a] = i(f.name, l, f.capture)), o(f.name, l, f.capture, f.passive, f.params)) : l !== u && (u.fns = l, t[a] = u));\n for (a in e) n(t[a]) && (f = Zt(a), s(f.name, e[a], f.capture));\n}\nfunction Yt(t, e, s) {\n let i;\n t instanceof ut && (t = t.data.hook || (t.data.hook = {}));\n const c = t[e];\n function a() {\n s.apply(this, arguments), y(i.fns, a);\n }\n n(c) ? i = Gt([a]) : o(c.fns) && r(c.merged) ? (i = c, i.fns.push(a)) : i = Gt([c, a]), i.merged = !0, t[e] = i;\n}\nfunction Qt(t, e, n, r, s) {\n if (o(e)) {\n if ($(e, n)) return t[n] = e[n], s || delete e[n], !0;\n if ($(e, r)) return t[n] = e[r], s || delete e[r], !0;\n }\n return !1;\n}\nfunction te(t) {\n return s(t) ? [dt(t)] : e(t) ? ne(t) : void 0;\n}\nfunction ee(t) {\n return o(t) && o(t.text) && !1 === t.isComment;\n}\nfunction ne(t, i) {\n const c = [];\n let a, l, u, f;\n for (a = 0; a < t.length; a++) l = t[a], n(l) || \"boolean\" == typeof l || (u = c.length - 1, f = c[u], e(l) ? l.length > 0 && (l = ne(l, `${i || \"\"}_${a}`), ee(l[0]) && ee(f) && (c[u] = dt(f.text + l[0].text), l.shift()), c.push.apply(c, l)) : s(l) ? ee(f) ? c[u] = dt(f.text + l) : \"\" !== l && c.push(dt(l)) : ee(l) && ee(f) ? c[u] = dt(f.text + l.text) : (r(t._isVList) && o(l.tag) && n(l.key) && o(i) && (l.key = `__vlist${i}_${a}__`), c.push(l)));\n return c;\n}\nconst oe = 1,\n re = 2;\nfunction se(t, n, a, l, u, f) {\n return (e(a) || s(a)) && (u = l, l = a, a = void 0), r(f) && (u = re), function (t, n, r, s, a) {\n if (o(r) && o(r.__ob__)) return ft();\n o(r) && o(r.is) && (n = r.is);\n if (!n) return ft();\n e(s) && i(s[0]) && ((r = r || {}).scopedSlots = {\n default: s[0]\n }, s.length = 0);\n a === re ? s = te(s) : a === oe && (s = function (t) {\n for (let n = 0; n < t.length; n++) if (e(t[n])) return Array.prototype.concat.apply([], t);\n return t;\n }(s));\n let l, u;\n if (\"string\" == typeof n) {\n let e;\n u = t.$vnode && t.$vnode.ns || B.getTagNamespace(n), l = B.isReservedTag(n) ? new ut(B.parsePlatformTagName(n), r, s, void 0, void 0, t) : r && r.pre || !o(e = $o(t.$options, \"components\", n)) ? new ut(n, r, s, void 0, void 0, t) : lo(e, r, t, s, n);\n } else l = lo(n, r, t, s);\n return e(l) ? l : o(l) ? (o(u) && ie(l, u), o(r) && function (t) {\n c(t.style) && Un(t.style);\n c(t.class) && Un(t.class);\n }(r), l) : ft();\n }(t, n, a, l, u);\n}\nfunction ie(t, e, s) {\n if (t.ns = e, \"foreignObject\" === t.tag && (e = void 0, s = !0), o(t.children)) for (let i = 0, c = t.children.length; i < c; i++) {\n const c = t.children[i];\n o(c.tag) && (n(c.ns) || r(s) && \"svg\" !== c.tag) && ie(c, e, s);\n }\n}\nfunction ce(t, n) {\n let r,\n s,\n i,\n a,\n l = null;\n if (e(t) || \"string\" == typeof t) for (l = new Array(t.length), r = 0, s = t.length; r < s; r++) l[r] = n(t[r], r);else if (\"number\" == typeof t) for (l = new Array(t), r = 0; r < t; r++) l[r] = n(r + 1, r);else if (c(t)) if (it && t[Symbol.iterator]) {\n l = [];\n const e = t[Symbol.iterator]();\n let o = e.next();\n for (; !o.done;) l.push(n(o.value, l.length)), o = e.next();\n } else for (i = Object.keys(t), l = new Array(i.length), r = 0, s = i.length; r < s; r++) a = i[r], l[r] = n(t[a], a, r);\n return o(l) || (l = []), l._isVList = !0, l;\n}\nfunction ae(t, e, n, o) {\n const r = this.$scopedSlots[t];\n let s;\n r ? (n = n || {}, o && (n = A(A({}, o), n)), s = r(n) || (i(e) ? e() : e)) : s = this.$slots[t] || (i(e) ? e() : e);\n const c = n && n.slot;\n return c ? this.$createElement(\"template\", {\n slot: c\n }, s) : s;\n}\nfunction le(t) {\n return $o(this.$options, \"filters\", t) || P;\n}\nfunction ue(t, n) {\n return e(t) ? -1 === t.indexOf(n) : t !== n;\n}\nfunction fe(t, e, n, o, r) {\n const s = B.keyCodes[e] || n;\n return r && o && !B.keyCodes[e] ? ue(r, o) : s ? ue(s, t) : o ? S(o) !== e : void 0 === t;\n}\nfunction de(t, n, o, r, s) {\n if (o) if (c(o)) {\n let i;\n e(o) && (o = j(o));\n for (const e in o) {\n if (\"class\" === e || \"style\" === e || v(e)) i = t;else {\n const o = t.attrs && t.attrs.type;\n i = r || B.mustUseProp(n, o, e) ? t.domProps || (t.domProps = {}) : t.attrs || (t.attrs = {});\n }\n const c = x(e),\n a = S(e);\n if (!(c in i) && !(a in i) && (i[e] = o[e], s)) {\n (t.on || (t.on = {}))[`update:${e}`] = function (t) {\n o[e] = t;\n };\n }\n }\n } else ;\n return t;\n}\nfunction pe(t, e) {\n const n = this._staticTrees || (this._staticTrees = []);\n let o = n[t];\n return o && !e || (o = n[t] = this.$options.staticRenderFns[t].call(this._renderProxy, this._c, this), me(o, `__static__${t}`, !1)), o;\n}\nfunction he(t, e, n) {\n return me(t, `__once__${e}${n ? `_${n}` : \"\"}`, !0), t;\n}\nfunction me(t, n, o) {\n if (e(t)) for (let e = 0; e < t.length; e++) t[e] && \"string\" != typeof t[e] && ge(t[e], `${n}_${e}`, o);else ge(t, n, o);\n}\nfunction ge(t, e, n) {\n t.isStatic = !0, t.key = e, t.isOnce = n;\n}\nfunction ve(t, e) {\n if (e) if (l(e)) {\n const n = t.on = t.on ? A({}, t.on) : {};\n for (const t in e) {\n const o = n[t],\n r = e[t];\n n[t] = o ? [].concat(o, r) : r;\n }\n } else ;\n return t;\n}\nfunction ye(t, n, o, r) {\n n = n || {\n $stable: !o\n };\n for (let r = 0; r < t.length; r++) {\n const s = t[r];\n e(s) ? ye(s, n, o) : s && (s.proxy && (s.fn.proxy = !0), n[s.key] = s.fn);\n }\n return r && (n.$key = r), n;\n}\nfunction _e(t, e) {\n for (let n = 0; n < e.length; n += 2) {\n const o = e[n];\n \"string\" == typeof o && o && (t[e[n]] = e[n + 1]);\n }\n return t;\n}\nfunction $e(t, e) {\n return \"string\" == typeof t ? e + t : t;\n}\nfunction be(t) {\n t._o = he, t._n = h, t._s = d, t._l = ce, t._t = ae, t._q = D, t._i = M, t._m = pe, t._f = le, t._k = fe, t._b = de, t._v = dt, t._e = ft, t._u = ye, t._g = ve, t._d = _e, t._p = $e;\n}\nfunction we(t, e) {\n if (!t || !t.length) return {};\n const n = {};\n for (let o = 0, r = t.length; o < r; o++) {\n const r = t[o],\n s = r.data;\n if (s && s.attrs && s.attrs.slot && delete s.attrs.slot, r.context !== e && r.fnContext !== e || !s || null == s.slot) (n.default || (n.default = [])).push(r);else {\n const t = s.slot,\n e = n[t] || (n[t] = []);\n \"template\" === r.tag ? e.push.apply(e, r.children || []) : e.push(r);\n }\n }\n for (const t in n) n[t].every(xe) && delete n[t];\n return n;\n}\nfunction xe(t) {\n return t.isComment && !t.asyncFactory || \" \" === t.text;\n}\nfunction Ce(t) {\n return t.isComment && t.asyncFactory;\n}\nfunction ke(e, n, o, r) {\n let s;\n const i = Object.keys(o).length > 0,\n c = n ? !!n.$stable : !i,\n a = n && n.$key;\n if (n) {\n if (n._normalized) return n._normalized;\n if (c && r && r !== t && a === r.$key && !i && !r.$hasNormal) return r;\n s = {};\n for (const t in n) n[t] && \"$\" !== t[0] && (s[t] = Se(e, o, t, n[t]));\n } else s = {};\n for (const t in o) t in s || (s[t] = Oe(o, t));\n return n && Object.isExtensible(n) && (n._normalized = s), V(s, \"$stable\", c), V(s, \"$key\", a), V(s, \"$hasNormal\", i), s;\n}\nfunction Se(t, n, o, r) {\n const s = function () {\n const n = at;\n lt(t);\n let o = arguments.length ? r.apply(null, arguments) : r({});\n o = o && \"object\" == typeof o && !e(o) ? [o] : te(o);\n const s = o && o[0];\n return lt(n), o && (!s || 1 === o.length && s.isComment && !Ce(s)) ? void 0 : o;\n };\n return r.proxy && Object.defineProperty(n, o, {\n get: s,\n enumerable: !0,\n configurable: !0\n }), s;\n}\nfunction Oe(t, e) {\n return () => t[e];\n}\nfunction Te(e) {\n return {\n get attrs() {\n if (!e._attrsProxy) {\n const n = e._attrsProxy = {};\n V(n, \"_v_attr_proxy\", !0), Ae(n, e.$attrs, t, e, \"$attrs\");\n }\n return e._attrsProxy;\n },\n get listeners() {\n if (!e._listenersProxy) {\n Ae(e._listenersProxy = {}, e.$listeners, t, e, \"$listeners\");\n }\n return e._listenersProxy;\n },\n get slots() {\n return function (t) {\n t._slotsProxy || Ee(t._slotsProxy = {}, t.$scopedSlots);\n return t._slotsProxy;\n }(e);\n },\n emit: O(e.$emit, e),\n expose(t) {\n t && Object.keys(t).forEach(n => Ut(e, t, n));\n }\n };\n}\nfunction Ae(t, e, n, o, r) {\n let s = !1;\n for (const i in e) i in t ? e[i] !== n[i] && (s = !0) : (s = !0, je(t, i, o, r));\n for (const n in t) n in e || (s = !0, delete t[n]);\n return s;\n}\nfunction je(t, e, n, o) {\n Object.defineProperty(t, e, {\n enumerable: !0,\n configurable: !0,\n get: () => n[o][e]\n });\n}\nfunction Ee(t, e) {\n for (const n in e) t[n] = e[n];\n for (const n in t) n in e || delete t[n];\n}\nfunction Ne() {\n const t = at;\n return t._setupContext || (t._setupContext = Te(t));\n}\nlet Pe,\n De,\n Me = null;\nfunction Ie(t, e) {\n return (t.__esModule || it && \"Module\" === t[Symbol.toStringTag]) && (t = t.default), c(t) ? e.extend(t) : t;\n}\nfunction Le(t) {\n if (e(t)) for (let e = 0; e < t.length; e++) {\n const n = t[e];\n if (o(n) && (o(n.componentOptions) || Ce(n))) return n;\n }\n}\nfunction Re(t, e) {\n Pe.$on(t, e);\n}\nfunction Fe(t, e) {\n Pe.$off(t, e);\n}\nfunction He(t, e) {\n const n = Pe;\n return function o() {\n null !== e.apply(null, arguments) && n.$off(t, o);\n };\n}\nfunction Be(t, e, n) {\n Pe = t, Xt(e, n || {}, Re, Fe, He, t), Pe = void 0;\n}\nclass Ue {\n constructor() {\n let t = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : !1;\n this.detached = t, this.active = !0, this.effects = [], this.cleanups = [], this.parent = De, !t && De && (this.index = (De.scopes || (De.scopes = [])).push(this) - 1);\n }\n run(t) {\n if (this.active) {\n const e = De;\n try {\n return De = this, t();\n } finally {\n De = e;\n }\n }\n }\n on() {\n De = this;\n }\n off() {\n De = this.parent;\n }\n stop(t) {\n if (this.active) {\n let e, n;\n for (e = 0, n = this.effects.length; e < n; e++) this.effects[e].teardown();\n for (e = 0, n = this.cleanups.length; e < n; e++) this.cleanups[e]();\n if (this.scopes) for (e = 0, n = this.scopes.length; e < n; e++) this.scopes[e].stop(!0);\n if (!this.detached && this.parent && !t) {\n const t = this.parent.scopes.pop();\n t && t !== this && (this.parent.scopes[this.index] = t, t.index = this.index);\n }\n this.parent = void 0, this.active = !1;\n }\n }\n}\nfunction ze() {\n return De;\n}\nlet Ve = null;\nfunction Ke(t) {\n const e = Ve;\n return Ve = t, () => {\n Ve = e;\n };\n}\nfunction Je(t) {\n for (; t && (t = t.$parent);) if (t._inactive) return !0;\n return !1;\n}\nfunction qe(t, e) {\n if (e) {\n if (t._directInactive = !1, Je(t)) return;\n } else if (t._directInactive) return;\n if (t._inactive || null === t._inactive) {\n t._inactive = !1;\n for (let e = 0; e < t.$children.length; e++) qe(t.$children[e]);\n Ze(t, \"activated\");\n }\n}\nfunction We(t, e) {\n if (!(e && (t._directInactive = !0, Je(t)) || t._inactive)) {\n t._inactive = !0;\n for (let e = 0; e < t.$children.length; e++) We(t.$children[e]);\n Ze(t, \"deactivated\");\n }\n}\nfunction Ze(t, e, n) {\n let o = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : !0;\n _t();\n const r = at,\n s = ze();\n o && lt(t);\n const i = t.$options[e],\n c = `${e} hook`;\n if (i) for (let e = 0, o = i.length; e < o; e++) vn(i[e], t, n || null, t, c);\n t._hasHookEvent && t.$emit(\"hook:\" + e), o && (lt(r), s && s.on()), $t();\n}\nconst Ge = [],\n Xe = [];\nlet Ye = {},\n Qe = !1,\n tn = !1,\n en = 0;\nlet nn = 0,\n on = Date.now;\nif (q && !Z) {\n const t = window.performance;\n t && \"function\" == typeof t.now && on() > document.createEvent(\"Event\").timeStamp && (on = () => t.now());\n}\nconst rn = (t, e) => {\n if (t.post) {\n if (!e.post) return 1;\n } else if (e.post) return -1;\n return t.id - e.id;\n};\nfunction sn() {\n let t, e;\n for (nn = on(), tn = !0, Ge.sort(rn), en = 0; en < Ge.length; en++) t = Ge[en], t.before && t.before(), e = t.id, Ye[e] = null, t.run();\n const n = Xe.slice(),\n o = Ge.slice();\n en = Ge.length = Xe.length = 0, Ye = {}, Qe = tn = !1, function (t) {\n for (let e = 0; e < t.length; e++) t[e]._inactive = !0, qe(t[e], !0);\n }(n), function (t) {\n let e = t.length;\n for (; e--;) {\n const n = t[e],\n o = n.vm;\n o && o._watcher === n && o._isMounted && !o._isDestroyed && Ze(o, \"updated\");\n }\n }(o), gt(), rt && B.devtools && rt.emit(\"flush\");\n}\nfunction cn(t) {\n const e = t.id;\n if (null == Ye[e] && (t !== vt.target || !t.noRecurse)) {\n if (Ye[e] = !0, tn) {\n let e = Ge.length - 1;\n for (; e > en && Ge[e].id > t.id;) e--;\n Ge.splice(e + 1, 0, t);\n } else Ge.push(t);\n Qe || (Qe = !0, kn(sn));\n }\n}\nconst an = \"watcher\",\n ln = `${an} callback`,\n un = `${an} getter`,\n fn = `${an} cleanup`;\nfunction dn(t, e) {\n return hn(t, null, {\n flush: \"post\"\n });\n}\nconst pn = {};\nfunction hn(n, o) {\n let {\n immediate: r,\n deep: s,\n flush: c = \"pre\",\n onTrack: a,\n onTrigger: l\n } = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : t;\n const u = at,\n f = function (t, e) {\n let n = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n const o = vn(t, null, n, u, e);\n return s && o && o.__ob__ && o.__ob__.dep.depend(), o;\n };\n let d,\n p,\n h = !1,\n m = !1;\n if (Ht(n) ? (d = () => n.value, h = Lt(n)) : It(n) ? (d = () => (n.__ob__.dep.depend(), n), s = !0) : e(n) ? (m = !0, h = n.some(t => It(t) || Lt(t)), d = () => n.map(t => Ht(t) ? t.value : It(t) ? (t.__ob__.dep.depend(), Un(t)) : i(t) ? f(t, un) : void 0)) : d = i(n) ? o ? () => f(n, un) : () => {\n if (!u || !u._isDestroyed) return p && p(), f(n, an, [g]);\n } : E, o && s) {\n const t = d;\n d = () => Un(t());\n }\n let g = t => {\n p = v.onStop = () => {\n f(t, fn);\n };\n };\n if (ot()) return g = E, o ? r && f(o, ln, [d(), m ? [] : void 0, g]) : d(), E;\n const v = new Kn(at, d, E, {\n lazy: !0\n });\n v.noRecurse = !o;\n let y = m ? [] : pn;\n return v.run = () => {\n if (v.active) if (o) {\n const t = v.get();\n (s || h || (m ? t.some((t, e) => L(t, y[e])) : L(t, y))) && (p && p(), f(o, ln, [t, y === pn ? void 0 : y, g]), y = t);\n } else v.get();\n }, \"sync\" === c ? v.update = v.run : \"post\" === c ? (v.post = !0, v.update = () => cn(v)) : v.update = () => {\n if (u && u === at && !u._isMounted) {\n const t = u._preWatchers || (u._preWatchers = []);\n t.indexOf(v) < 0 && t.push(v);\n } else cn(v);\n }, o ? r ? v.run() : y = v.get() : \"post\" === c && u ? u.$once(\"hook:mounted\", () => v.get()) : v.get(), () => {\n v.teardown();\n };\n}\nfunction mn(t) {\n const e = t._provided,\n n = t.$parent && t.$parent._provided;\n return n === e ? t._provided = Object.create(n) : e;\n}\nfunction gn(t, e, n) {\n _t();\n try {\n if (e) {\n let o = e;\n for (; o = o.$parent;) {\n const r = o.$options.errorCaptured;\n if (r) for (let s = 0; s < r.length; s++) try {\n if (!1 === r[s].call(o, t, e, n)) return;\n } catch (t) {\n yn(t, o, \"errorCaptured hook\");\n }\n }\n }\n yn(t, e, n);\n } finally {\n $t();\n }\n}\nfunction vn(t, e, n, o, r) {\n let s;\n try {\n s = n ? t.apply(e, n) : t.call(e), s && !s._isVue && f(s) && !s._handled && (s.catch(t => gn(t, o, r + \" (Promise/async)\")), s._handled = !0);\n } catch (t) {\n gn(t, o, r);\n }\n return s;\n}\nfunction yn(t, e, n) {\n if (B.errorHandler) try {\n return B.errorHandler.call(null, t, e, n);\n } catch (e) {\n e !== t && _n(e);\n }\n _n(t);\n}\nfunction _n(t, e, n) {\n if (!q || \"undefined\" == typeof console) throw t;\n console.error(t);\n}\nlet $n = !1;\nconst bn = [];\nlet wn,\n xn = !1;\nfunction Cn() {\n xn = !1;\n const t = bn.slice(0);\n bn.length = 0;\n for (let e = 0; e < t.length; e++) t[e]();\n}\nif (\"undefined\" != typeof Promise && st(Promise)) {\n const t = Promise.resolve();\n wn = () => {\n t.then(Cn), Y && setTimeout(E);\n }, $n = !0;\n} else if (Z || \"undefined\" == typeof MutationObserver || !st(MutationObserver) && \"[object MutationObserverConstructor]\" !== MutationObserver.toString()) wn = \"undefined\" != typeof setImmediate && st(setImmediate) ? () => {\n setImmediate(Cn);\n} : () => {\n setTimeout(Cn, 0);\n};else {\n let t = 1;\n const e = new MutationObserver(Cn),\n n = document.createTextNode(String(t));\n e.observe(n, {\n characterData: !0\n }), wn = () => {\n t = (t + 1) % 2, n.data = String(t);\n }, $n = !0;\n}\nfunction kn(t, e) {\n let n;\n if (bn.push(() => {\n if (t) try {\n t.call(e);\n } catch (t) {\n gn(t, e, \"nextTick\");\n } else n && n(e);\n }), xn || (xn = !0, wn()), !t && \"undefined\" != typeof Promise) return new Promise(t => {\n n = t;\n });\n}\nfunction Sn(t) {\n return function (e) {\n let n = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : at;\n if (n) return function (t, e, n) {\n const o = t.$options;\n o[e] = go(o[e], n);\n }(n, t, e);\n };\n}\nconst On = Sn(\"beforeMount\"),\n Tn = Sn(\"mounted\"),\n An = Sn(\"beforeUpdate\"),\n jn = Sn(\"updated\"),\n En = Sn(\"beforeDestroy\"),\n Nn = Sn(\"destroyed\"),\n Pn = Sn(\"activated\"),\n Dn = Sn(\"deactivated\"),\n Mn = Sn(\"serverPrefetch\"),\n In = Sn(\"renderTracked\"),\n Ln = Sn(\"renderTriggered\"),\n Rn = Sn(\"errorCaptured\");\nconst Fn = \"2.7.16\";\nvar Hn = Object.freeze({\n __proto__: null,\n version: Fn,\n defineComponent: function (t) {\n return t;\n },\n ref: function (t) {\n return Bt(t, !1);\n },\n shallowRef: function (t) {\n return Bt(t, !0);\n },\n isRef: Ht,\n toRef: zt,\n toRefs: function (t) {\n const n = e(t) ? new Array(t.length) : {};\n for (const e in t) n[e] = zt(t, e);\n return n;\n },\n unref: function (t) {\n return Ht(t) ? t.value : t;\n },\n proxyRefs: function (t) {\n if (It(t)) return t;\n const e = {},\n n = Object.keys(t);\n for (let o = 0; o < n.length; o++) Ut(e, t, n[o]);\n return e;\n },\n customRef: function (t) {\n const e = new vt(),\n {\n get: n,\n set: o\n } = t(() => {\n e.depend();\n }, () => {\n e.notify();\n }),\n r = {\n get value() {\n return n();\n },\n set value(t) {\n o(t);\n }\n };\n return V(r, Ft, !0), r;\n },\n triggerRef: function (t) {\n t.dep && t.dep.notify();\n },\n reactive: function (t) {\n return Mt(t, !1), t;\n },\n isReactive: It,\n isReadonly: Rt,\n isShallow: Lt,\n isProxy: function (t) {\n return It(t) || Rt(t);\n },\n shallowReactive: Dt,\n markRaw: function (t) {\n return Object.isExtensible(t) && V(t, \"__v_skip\", !0), t;\n },\n toRaw: function t(e) {\n const n = e && e.__v_raw;\n return n ? t(n) : e;\n },\n readonly: Jt,\n shallowReadonly: function (t) {\n return qt(t, !0);\n },\n computed: function (t, e) {\n let n, o;\n const r = i(t);\n r ? (n = t, o = E) : (n = t.get, o = t.set);\n const s = ot() ? null : new Kn(at, n, E, {\n lazy: !0\n }),\n c = {\n effect: s,\n get value() {\n return s ? (s.dirty && s.evaluate(), vt.target && s.depend(), s.value) : n();\n },\n set value(t) {\n o(t);\n }\n };\n return V(c, Ft, !0), V(c, \"__v_isReadonly\", r), c;\n },\n watch: function (t, e, n) {\n return hn(t, e, n);\n },\n watchEffect: function (t, e) {\n return hn(t, null, e);\n },\n watchPostEffect: dn,\n watchSyncEffect: function (t, e) {\n return hn(t, null, {\n flush: \"sync\"\n });\n },\n EffectScope: Ue,\n effectScope: function (t) {\n return new Ue(t);\n },\n onScopeDispose: function (t) {\n De && De.cleanups.push(t);\n },\n getCurrentScope: ze,\n provide: function (t, e) {\n at && (mn(at)[t] = e);\n },\n inject: function (t, e) {\n let n = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : !1;\n const o = at;\n if (o) {\n const r = o.$parent && o.$parent._provided;\n if (r && t in r) return r[t];\n if (arguments.length > 1) return n && i(e) ? e.call(o) : e;\n }\n },\n h: function (t, e, n) {\n return se(at, t, e, n, 2, !0);\n },\n getCurrentInstance: function () {\n return at && {\n proxy: at\n };\n },\n useSlots: function () {\n return Ne().slots;\n },\n useAttrs: function () {\n return Ne().attrs;\n },\n useListeners: function () {\n return Ne().listeners;\n },\n mergeDefaults: function (t, n) {\n const o = e(t) ? t.reduce((t, e) => (t[e] = {}, t), {}) : t;\n for (const t in n) {\n const r = o[t];\n r ? e(r) || i(r) ? o[t] = {\n type: r,\n default: n[t]\n } : r.default = n[t] : null === r && (o[t] = {\n default: n[t]\n });\n }\n return o;\n },\n nextTick: kn,\n set: Et,\n del: Nt,\n useCssModule: function () {\n let e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : \"$style\";\n {\n if (!at) return t;\n const n = at[e];\n return n || t;\n }\n },\n useCssVars: function (t) {\n if (!q) return;\n const e = at;\n e && dn(() => {\n const n = e.$el,\n o = t(e, e._setupProxy);\n if (n && 1 === n.nodeType) {\n const t = n.style;\n for (const e in o) t.setProperty(`--${e}`, o[e]);\n }\n });\n },\n defineAsyncComponent: function (t) {\n i(t) && (t = {\n loader: t\n });\n const {\n loader: e,\n loadingComponent: n,\n errorComponent: o,\n delay: r = 200,\n timeout: s,\n suspensible: c = !1,\n onError: a\n } = t;\n let l = null,\n u = 0;\n const f = () => {\n let t;\n return l || (t = l = e().catch(t => {\n if (t = t instanceof Error ? t : new Error(String(t)), a) return new Promise((e, n) => {\n a(t, () => e((u++, l = null, f())), () => n(t), u + 1);\n });\n throw t;\n }).then(e => t !== l && l ? l : (e && (e.__esModule || \"Module\" === e[Symbol.toStringTag]) && (e = e.default), e)));\n };\n return () => ({\n component: f(),\n delay: r,\n timeout: s,\n error: o,\n loading: n\n });\n },\n onBeforeMount: On,\n onMounted: Tn,\n onBeforeUpdate: An,\n onUpdated: jn,\n onBeforeUnmount: En,\n onUnmounted: Nn,\n onActivated: Pn,\n onDeactivated: Dn,\n onServerPrefetch: Mn,\n onRenderTracked: In,\n onRenderTriggered: Ln,\n onErrorCaptured: function (t) {\n let e = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : at;\n Rn(t, e);\n }\n});\nconst Bn = new ct();\nfunction Un(t) {\n return zn(t, Bn), Bn.clear(), t;\n}\nfunction zn(t, n) {\n let o, r;\n const s = e(t);\n if (!(!s && !c(t) || t.__v_skip || Object.isFrozen(t) || t instanceof ut)) {\n if (t.__ob__) {\n const e = t.__ob__.dep.id;\n if (n.has(e)) return;\n n.add(e);\n }\n if (s) for (o = t.length; o--;) zn(t[o], n);else if (Ht(t)) zn(t.value, n);else for (r = Object.keys(t), o = r.length; o--;) zn(t[r[o]], n);\n }\n}\nlet Vn = 0;\nclass Kn {\n constructor(t, e, n, o, r) {\n !function (t) {\n let e = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : De;\n e && e.active && e.effects.push(t);\n }(this, De && !De._vm ? De : t ? t._scope : void 0), (this.vm = t) && r && (t._watcher = this), o ? (this.deep = !!o.deep, this.user = !!o.user, this.lazy = !!o.lazy, this.sync = !!o.sync, this.before = o.before) : this.deep = this.user = this.lazy = this.sync = !1, this.cb = n, this.id = ++Vn, this.active = !0, this.post = !1, this.dirty = this.lazy, this.deps = [], this.newDeps = [], this.depIds = new ct(), this.newDepIds = new ct(), this.expression = \"\", i(e) ? this.getter = e : (this.getter = function (t) {\n if (K.test(t)) return;\n const e = t.split(\".\");\n return function (t) {\n for (let n = 0; n < e.length; n++) {\n if (!t) return;\n t = t[e[n]];\n }\n return t;\n };\n }(e), this.getter || (this.getter = E)), this.value = this.lazy ? void 0 : this.get();\n }\n get() {\n let t;\n _t(this);\n const e = this.vm;\n try {\n t = this.getter.call(e, e);\n } catch (t) {\n if (!this.user) throw t;\n gn(t, e, `getter for watcher \"${this.expression}\"`);\n } finally {\n this.deep && Un(t), $t(), this.cleanupDeps();\n }\n return t;\n }\n addDep(t) {\n const e = t.id;\n this.newDepIds.has(e) || (this.newDepIds.add(e), this.newDeps.push(t), this.depIds.has(e) || t.addSub(this));\n }\n cleanupDeps() {\n let t = this.deps.length;\n for (; t--;) {\n const e = this.deps[t];\n this.newDepIds.has(e.id) || e.removeSub(this);\n }\n let e = this.depIds;\n this.depIds = this.newDepIds, this.newDepIds = e, this.newDepIds.clear(), e = this.deps, this.deps = this.newDeps, this.newDeps = e, this.newDeps.length = 0;\n }\n update() {\n this.lazy ? this.dirty = !0 : this.sync ? this.run() : cn(this);\n }\n run() {\n if (this.active) {\n const t = this.get();\n if (t !== this.value || c(t) || this.deep) {\n const e = this.value;\n if (this.value = t, this.user) {\n const n = `callback for watcher \"${this.expression}\"`;\n vn(this.cb, this.vm, [t, e], this.vm, n);\n } else this.cb.call(this.vm, t, e);\n }\n }\n }\n evaluate() {\n this.value = this.get(), this.dirty = !1;\n }\n depend() {\n let t = this.deps.length;\n for (; t--;) this.deps[t].depend();\n }\n teardown() {\n if (this.vm && !this.vm._isBeingDestroyed && y(this.vm._scope.effects, this), this.active) {\n let t = this.deps.length;\n for (; t--;) this.deps[t].removeSub(this);\n this.active = !1, this.onStop && this.onStop();\n }\n }\n}\nconst Jn = {\n enumerable: !0,\n configurable: !0,\n get: E,\n set: E\n};\nfunction qn(t, e, n) {\n Jn.get = function () {\n return this[e][n];\n }, Jn.set = function (t) {\n this[e][n] = t;\n }, Object.defineProperty(t, n, Jn);\n}\nfunction Wn(t) {\n const n = t.$options;\n if (n.props && function (t, e) {\n const n = t.$options.propsData || {},\n o = t._props = Dt({}),\n r = t.$options._propKeys = [],\n s = !t.$parent;\n s || St(!1);\n for (const s in e) {\n r.push(s);\n jt(o, s, bo(s, e, n, t), void 0, !0), s in t || qn(t, \"_props\", s);\n }\n St(!0);\n }(t, n.props), function (t) {\n const e = t.$options,\n n = e.setup;\n if (n) {\n const o = t._setupContext = Te(t);\n lt(t), _t();\n const r = vn(n, null, [t._props || Dt({}), o], t, \"setup\");\n if ($t(), lt(), i(r)) e.render = r;else if (c(r)) if (t._setupState = r, r.__sfc) {\n const e = t._setupProxy = {};\n for (const t in r) \"__sfc\" !== t && Ut(e, r, t);\n } else for (const e in r) z(e) || Ut(t, r, e);\n }\n }(t), n.methods && function (t, e) {\n t.$options.props;\n for (const n in e) t[n] = \"function\" != typeof e[n] ? E : O(e[n], t);\n }(t, n.methods), n.data) !function (t) {\n let e = t.$options.data;\n e = t._data = i(e) ? function (t, e) {\n _t();\n try {\n return t.call(e, e);\n } catch (t) {\n return gn(t, e, \"data()\"), {};\n } finally {\n $t();\n }\n }(e, t) : e || {}, l(e) || (e = {});\n const n = Object.keys(e),\n o = t.$options.props;\n t.$options.methods;\n let r = n.length;\n for (; r--;) {\n const e = n[r];\n o && $(o, e) || z(e) || qn(t, \"_data\", e);\n }\n const s = At(e);\n s && s.vmCount++;\n }(t);else {\n const e = At(t._data = {});\n e && e.vmCount++;\n }\n n.computed && function (t, e) {\n const n = t._computedWatchers = Object.create(null),\n o = ot();\n for (const r in e) {\n const s = e[r],\n c = i(s) ? s : s.get;\n o || (n[r] = new Kn(t, c || E, E, Zn)), r in t || Gn(t, r, s);\n }\n }(t, n.computed), n.watch && n.watch !== tt && function (t, n) {\n for (const o in n) {\n const r = n[o];\n if (e(r)) for (let e = 0; e < r.length; e++) Qn(t, o, r[e]);else Qn(t, o, r);\n }\n }(t, n.watch);\n}\nconst Zn = {\n lazy: !0\n};\nfunction Gn(t, e, n) {\n const o = !ot();\n i(n) ? (Jn.get = o ? Xn(e) : Yn(n), Jn.set = E) : (Jn.get = n.get ? o && !1 !== n.cache ? Xn(e) : Yn(n.get) : E, Jn.set = n.set || E), Object.defineProperty(t, e, Jn);\n}\nfunction Xn(t) {\n return function () {\n const e = this._computedWatchers && this._computedWatchers[t];\n if (e) return e.dirty && e.evaluate(), vt.target && e.depend(), e.value;\n };\n}\nfunction Yn(t) {\n return function () {\n return t.call(this, this);\n };\n}\nfunction Qn(t, e, n, o) {\n return l(n) && (o = n, n = n.handler), \"string\" == typeof n && (n = t[n]), t.$watch(e, n, o);\n}\nfunction to(t, e) {\n if (t) {\n const n = Object.create(null),\n o = it ? Reflect.ownKeys(t) : Object.keys(t);\n for (let r = 0; r < o.length; r++) {\n const s = o[r];\n if (\"__ob__\" === s) continue;\n const c = t[s].from;\n if (c in e._provided) n[s] = e._provided[c];else if (\"default\" in t[s]) {\n const o = t[s].default;\n n[s] = i(o) ? o.call(e) : o;\n }\n }\n return n;\n }\n}\nlet eo = 0;\nfunction no(t) {\n let e = t.options;\n if (t.super) {\n const n = no(t.super);\n if (n !== t.superOptions) {\n t.superOptions = n;\n const o = function (t) {\n let e;\n const n = t.options,\n o = t.sealedOptions;\n for (const t in n) n[t] !== o[t] && (e || (e = {}), e[t] = n[t]);\n return e;\n }(t);\n o && A(t.extendOptions, o), e = t.options = _o(n, t.extendOptions), e.name && (e.components[e.name] = t);\n }\n }\n return e;\n}\nfunction oo(n, o, s, i, c) {\n const a = c.options;\n let l;\n $(i, \"_uid\") ? (l = Object.create(i), l._original = i) : (l = i, i = i._original);\n const u = r(a._compiled),\n f = !u;\n this.data = n, this.props = o, this.children = s, this.parent = i, this.listeners = n.on || t, this.injections = to(a.inject, i), this.slots = () => (this.$slots || ke(i, n.scopedSlots, this.$slots = we(s, i)), this.$slots), Object.defineProperty(this, \"scopedSlots\", {\n enumerable: !0,\n get() {\n return ke(i, n.scopedSlots, this.slots());\n }\n }), u && (this.$options = a, this.$slots = this.slots(), this.$scopedSlots = ke(i, n.scopedSlots, this.$slots)), a._scopeId ? this._c = (t, n, o, r) => {\n const s = se(l, t, n, o, r, f);\n return s && !e(s) && (s.fnScopeId = a._scopeId, s.fnContext = i), s;\n } : this._c = (t, e, n, o) => se(l, t, e, n, o, f);\n}\nfunction ro(t, e, n, o, r) {\n const s = pt(t);\n return s.fnContext = n, s.fnOptions = o, e.slot && ((s.data || (s.data = {})).slot = e.slot), s;\n}\nfunction so(t, e) {\n for (const n in e) t[x(n)] = e[n];\n}\nfunction io(t) {\n return t.name || t.__name || t._componentTag;\n}\nbe(oo.prototype);\nconst co = {\n init(t, e) {\n if (t.componentInstance && !t.componentInstance._isDestroyed && t.data.keepAlive) {\n const e = t;\n co.prepatch(e, e);\n } else {\n (t.componentInstance = function (t, e) {\n const n = {\n _isComponent: !0,\n _parentVnode: t,\n parent: e\n },\n r = t.data.inlineTemplate;\n o(r) && (n.render = r.render, n.staticRenderFns = r.staticRenderFns);\n return new t.componentOptions.Ctor(n);\n }(t, Ve)).$mount(e ? t.elm : void 0, e);\n }\n },\n prepatch(e, n) {\n const o = n.componentOptions;\n !function (e, n, o, r, s) {\n const i = r.data.scopedSlots,\n c = e.$scopedSlots,\n a = !!(i && !i.$stable || c !== t && !c.$stable || i && e.$scopedSlots.$key !== i.$key || !i && e.$scopedSlots.$key);\n let l = !!(s || e.$options._renderChildren || a);\n const u = e.$vnode;\n e.$options._parentVnode = r, e.$vnode = r, e._vnode && (e._vnode.parent = r), e.$options._renderChildren = s;\n const f = r.data.attrs || t;\n e._attrsProxy && Ae(e._attrsProxy, f, u.data && u.data.attrs || t, e, \"$attrs\") && (l = !0), e.$attrs = f, o = o || t;\n const d = e.$options._parentListeners;\n if (e._listenersProxy && Ae(e._listenersProxy, o, d || t, e, \"$listeners\"), e.$listeners = e.$options._parentListeners = o, Be(e, o, d), n && e.$options.props) {\n St(!1);\n const t = e._props,\n o = e.$options._propKeys || [];\n for (let r = 0; r < o.length; r++) {\n const s = o[r],\n i = e.$options.props;\n t[s] = bo(s, i, n, e);\n }\n St(!0), e.$options.propsData = n;\n }\n l && (e.$slots = we(s, r.context), e.$forceUpdate());\n }(n.componentInstance = e.componentInstance, o.propsData, o.listeners, n, o.children);\n },\n insert(t) {\n const {\n context: e,\n componentInstance: n\n } = t;\n var o;\n n._isMounted || (n._isMounted = !0, Ze(n, \"mounted\")), t.data.keepAlive && (e._isMounted ? ((o = n)._inactive = !1, Xe.push(o)) : qe(n, !0));\n },\n destroy(t) {\n const {\n componentInstance: e\n } = t;\n e._isDestroyed || (t.data.keepAlive ? We(e, !0) : e.$destroy());\n }\n },\n ao = Object.keys(co);\nfunction lo(s, i, a, l, u) {\n if (n(s)) return;\n const d = a.$options._base;\n if (c(s) && (s = d.extend(s)), \"function\" != typeof s) return;\n let p;\n if (n(s.cid) && (p = s, s = function (t, e) {\n if (r(t.error) && o(t.errorComp)) return t.errorComp;\n if (o(t.resolved)) return t.resolved;\n const s = Me;\n if (s && o(t.owners) && -1 === t.owners.indexOf(s) && t.owners.push(s), r(t.loading) && o(t.loadingComp)) return t.loadingComp;\n if (s && !o(t.owners)) {\n const r = t.owners = [s];\n let i = !0,\n a = null,\n l = null;\n s.$on(\"hook:destroyed\", () => y(r, s));\n const u = t => {\n for (let t = 0, e = r.length; t < e; t++) r[t].$forceUpdate();\n t && (r.length = 0, null !== a && (clearTimeout(a), a = null), null !== l && (clearTimeout(l), l = null));\n },\n d = I(n => {\n t.resolved = Ie(n, e), i ? r.length = 0 : u(!0);\n }),\n p = I(e => {\n o(t.errorComp) && (t.error = !0, u(!0));\n }),\n h = t(d, p);\n return c(h) && (f(h) ? n(t.resolved) && h.then(d, p) : f(h.component) && (h.component.then(d, p), o(h.error) && (t.errorComp = Ie(h.error, e)), o(h.loading) && (t.loadingComp = Ie(h.loading, e), 0 === h.delay ? t.loading = !0 : a = setTimeout(() => {\n a = null, n(t.resolved) && n(t.error) && (t.loading = !0, u(!1));\n }, h.delay || 200)), o(h.timeout) && (l = setTimeout(() => {\n l = null, n(t.resolved) && p(null);\n }, h.timeout)))), i = !1, t.loading ? t.loadingComp : t.resolved;\n }\n }(p, d), void 0 === s)) return function (t, e, n, o, r) {\n const s = ft();\n return s.asyncFactory = t, s.asyncMeta = {\n data: e,\n context: n,\n children: o,\n tag: r\n }, s;\n }(p, i, a, l, u);\n i = i || {}, no(s), o(i.model) && function (t, n) {\n const r = t.model && t.model.prop || \"value\",\n s = t.model && t.model.event || \"input\";\n (n.attrs || (n.attrs = {}))[r] = n.model.value;\n const i = n.on || (n.on = {}),\n c = i[s],\n a = n.model.callback;\n o(c) ? (e(c) ? -1 === c.indexOf(a) : c !== a) && (i[s] = [a].concat(c)) : i[s] = a;\n }(s.options, i);\n const h = function (t, e, r) {\n const s = e.options.props;\n if (n(s)) return;\n const i = {},\n {\n attrs: c,\n props: a\n } = t;\n if (o(c) || o(a)) for (const t in s) {\n const e = S(t);\n Qt(i, a, t, e, !0) || Qt(i, c, t, e, !1);\n }\n return i;\n }(i, s);\n if (r(s.options.functional)) return function (n, r, s, i, c) {\n const a = n.options,\n l = {},\n u = a.props;\n if (o(u)) for (const e in u) l[e] = bo(e, u, r || t);else o(s.attrs) && so(l, s.attrs), o(s.props) && so(l, s.props);\n const f = new oo(s, l, c, i, n),\n d = a.render.call(null, f._c, f);\n if (d instanceof ut) return ro(d, s, f.parent, a);\n if (e(d)) {\n const t = te(d) || [],\n e = new Array(t.length);\n for (let n = 0; n < t.length; n++) e[n] = ro(t[n], s, f.parent, a);\n return e;\n }\n }(s, h, i, a, l);\n const m = i.on;\n if (i.on = i.nativeOn, r(s.options.abstract)) {\n const t = i.slot;\n i = {}, t && (i.slot = t);\n }\n !function (t) {\n const e = t.hook || (t.hook = {});\n for (let t = 0; t < ao.length; t++) {\n const n = ao[t],\n o = e[n],\n r = co[n];\n o === r || o && o._merged || (e[n] = o ? uo(r, o) : r);\n }\n }(i);\n const g = io(s.options) || u;\n return new ut(`vue-component-${s.cid}${g ? `-${g}` : \"\"}`, i, void 0, void 0, void 0, a, {\n Ctor: s,\n propsData: h,\n listeners: m,\n tag: u,\n children: l\n }, p);\n}\nfunction uo(t, e) {\n const n = (n, o) => {\n t(n, o), e(n, o);\n };\n return n._merged = !0, n;\n}\nlet fo = E;\nconst po = B.optionMergeStrategies;\nfunction ho(t, e) {\n let n = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : !0;\n if (!e) return t;\n let o, r, s;\n const i = it ? Reflect.ownKeys(e) : Object.keys(e);\n for (let c = 0; c < i.length; c++) o = i[c], \"__ob__\" !== o && (r = t[o], s = e[o], n && $(t, o) ? r !== s && l(r) && l(s) && ho(r, s) : Et(t, o, s));\n return t;\n}\nfunction mo(t, e, n) {\n return n ? function () {\n const o = i(e) ? e.call(n, n) : e,\n r = i(t) ? t.call(n, n) : t;\n return o ? ho(o, r) : r;\n } : e ? t ? function () {\n return ho(i(e) ? e.call(this, this) : e, i(t) ? t.call(this, this) : t);\n } : e : t;\n}\nfunction go(t, n) {\n const o = n ? t ? t.concat(n) : e(n) ? n : [n] : t;\n return o ? function (t) {\n const e = [];\n for (let n = 0; n < t.length; n++) -1 === e.indexOf(t[n]) && e.push(t[n]);\n return e;\n }(o) : o;\n}\nfunction vo(t, e, n, o) {\n const r = Object.create(t || null);\n return e ? A(r, e) : r;\n}\npo.data = function (t, e, n) {\n return n ? mo(t, e, n) : e && \"function\" != typeof e ? t : mo(t, e);\n}, H.forEach(t => {\n po[t] = go;\n}), F.forEach(function (t) {\n po[t + \"s\"] = vo;\n}), po.watch = function (t, n, o, r) {\n if (t === tt && (t = void 0), n === tt && (n = void 0), !n) return Object.create(t || null);\n if (!t) return n;\n const s = {};\n A(s, t);\n for (const t in n) {\n let o = s[t];\n const r = n[t];\n o && !e(o) && (o = [o]), s[t] = o ? o.concat(r) : e(r) ? r : [r];\n }\n return s;\n}, po.props = po.methods = po.inject = po.computed = function (t, e, n, o) {\n if (!t) return e;\n const r = Object.create(null);\n return A(r, t), e && A(r, e), r;\n}, po.provide = function (t, e) {\n return t ? function () {\n const n = Object.create(null);\n return ho(n, i(t) ? t.call(this) : t), e && ho(n, i(e) ? e.call(this) : e, !1), n;\n } : e;\n};\nconst yo = function (t, e) {\n return void 0 === e ? t : e;\n};\nfunction _o(t, n, o) {\n if (i(n) && (n = n.options), function (t, n) {\n const o = t.props;\n if (!o) return;\n const r = {};\n let s, i, c;\n if (e(o)) for (s = o.length; s--;) i = o[s], \"string\" == typeof i && (c = x(i), r[c] = {\n type: null\n });else if (l(o)) for (const t in o) i = o[t], c = x(t), r[c] = l(i) ? i : {\n type: i\n };\n t.props = r;\n }(n), function (t, n) {\n const o = t.inject;\n if (!o) return;\n const r = t.inject = {};\n if (e(o)) for (let t = 0; t < o.length; t++) r[o[t]] = {\n from: o[t]\n };else if (l(o)) for (const t in o) {\n const e = o[t];\n r[t] = l(e) ? A({\n from: t\n }, e) : {\n from: e\n };\n }\n }(n), function (t) {\n const e = t.directives;\n if (e) for (const t in e) {\n const n = e[t];\n i(n) && (e[t] = {\n bind: n,\n update: n\n });\n }\n }(n), !n._base && (n.extends && (t = _o(t, n.extends, o)), n.mixins)) for (let e = 0, r = n.mixins.length; e < r; e++) t = _o(t, n.mixins[e], o);\n const r = {};\n let s;\n for (s in t) c(s);\n for (s in n) $(t, s) || c(s);\n function c(e) {\n const s = po[e] || yo;\n r[e] = s(t[e], n[e], o, e);\n }\n return r;\n}\nfunction $o(t, e, n, o) {\n if (\"string\" != typeof n) return;\n const r = t[e];\n if ($(r, n)) return r[n];\n const s = x(n);\n if ($(r, s)) return r[s];\n const i = C(s);\n if ($(r, i)) return r[i];\n return r[n] || r[s] || r[i];\n}\nfunction bo(t, e, n, o) {\n const r = e[t],\n s = !$(n, t);\n let c = n[t];\n const a = ko(Boolean, r.type);\n if (a > -1) if (s && !$(r, \"default\")) c = !1;else if (\"\" === c || c === S(t)) {\n const t = ko(String, r.type);\n (t < 0 || a < t) && (c = !0);\n }\n if (void 0 === c) {\n c = function (t, e, n) {\n if (!$(e, \"default\")) return;\n const o = e.default;\n if (t && t.$options.propsData && void 0 === t.$options.propsData[n] && void 0 !== t._props[n]) return t._props[n];\n return i(o) && \"Function\" !== xo(e.type) ? o.call(t) : o;\n }(o, r, t);\n const e = kt;\n St(!0), At(c), St(e);\n }\n return c;\n}\nconst wo = /^\\s*function (\\w+)/;\nfunction xo(t) {\n const e = t && t.toString().match(wo);\n return e ? e[1] : \"\";\n}\nfunction Co(t, e) {\n return xo(t) === xo(e);\n}\nfunction ko(t, n) {\n if (!e(n)) return Co(n, t) ? 0 : -1;\n for (let e = 0, o = n.length; e < o; e++) if (Co(n[e], t)) return e;\n return -1;\n}\nfunction So(t) {\n this._init(t);\n}\nfunction Oo(t) {\n t.cid = 0;\n let e = 1;\n t.extend = function (t) {\n t = t || {};\n const n = this,\n o = n.cid,\n r = t._Ctor || (t._Ctor = {});\n if (r[o]) return r[o];\n const s = io(t) || io(n.options),\n i = function (t) {\n this._init(t);\n };\n return (i.prototype = Object.create(n.prototype)).constructor = i, i.cid = e++, i.options = _o(n.options, t), i.super = n, i.options.props && function (t) {\n const e = t.options.props;\n for (const n in e) qn(t.prototype, \"_props\", n);\n }(i), i.options.computed && function (t) {\n const e = t.options.computed;\n for (const n in e) Gn(t.prototype, n, e[n]);\n }(i), i.extend = n.extend, i.mixin = n.mixin, i.use = n.use, F.forEach(function (t) {\n i[t] = n[t];\n }), s && (i.options.components[s] = i), i.superOptions = n.options, i.extendOptions = t, i.sealedOptions = A({}, i.options), r[o] = i, i;\n };\n}\nfunction To(t) {\n return t && (io(t.Ctor.options) || t.tag);\n}\nfunction Ao(t, n) {\n return e(t) ? t.indexOf(n) > -1 : \"string\" == typeof t ? t.split(\",\").indexOf(n) > -1 : (o = t, \"[object RegExp]\" === a.call(o) && t.test(n));\n var o;\n}\nfunction jo(t, e) {\n const {\n cache: n,\n keys: o,\n _vnode: r,\n $vnode: s\n } = t;\n for (const t in n) {\n const s = n[t];\n if (s) {\n const i = s.name;\n i && !e(i) && Eo(n, t, o, r);\n }\n }\n s.componentOptions.children = void 0;\n}\nfunction Eo(t, e, n, o) {\n const r = t[e];\n !r || o && r.tag === o.tag || r.componentInstance.$destroy(), t[e] = null, y(n, e);\n}\n!function (e) {\n e.prototype._init = function (e) {\n const n = this;\n n._uid = eo++, n._isVue = !0, n.__v_skip = !0, n._scope = new Ue(!0), n._scope.parent = void 0, n._scope._vm = !0, e && e._isComponent ? function (t, e) {\n const n = t.$options = Object.create(t.constructor.options),\n o = e._parentVnode;\n n.parent = e.parent, n._parentVnode = o;\n const r = o.componentOptions;\n n.propsData = r.propsData, n._parentListeners = r.listeners, n._renderChildren = r.children, n._componentTag = r.tag, e.render && (n.render = e.render, n.staticRenderFns = e.staticRenderFns);\n }(n, e) : n.$options = _o(no(n.constructor), e || {}, n), n._renderProxy = n, n._self = n, function (t) {\n const e = t.$options;\n let n = e.parent;\n if (n && !e.abstract) {\n for (; n.$options.abstract && n.$parent;) n = n.$parent;\n n.$children.push(t);\n }\n t.$parent = n, t.$root = n ? n.$root : t, t.$children = [], t.$refs = {}, t._provided = n ? n._provided : Object.create(null), t._watcher = null, t._inactive = null, t._directInactive = !1, t._isMounted = !1, t._isDestroyed = !1, t._isBeingDestroyed = !1;\n }(n), function (t) {\n t._events = Object.create(null), t._hasHookEvent = !1;\n const e = t.$options._parentListeners;\n e && Be(t, e);\n }(n), function (e) {\n e._vnode = null, e._staticTrees = null;\n const n = e.$options,\n o = e.$vnode = n._parentVnode,\n r = o && o.context;\n e.$slots = we(n._renderChildren, r), e.$scopedSlots = o ? ke(e.$parent, o.data.scopedSlots, e.$slots) : t, e._c = (t, n, o, r) => se(e, t, n, o, r, !1), e.$createElement = (t, n, o, r) => se(e, t, n, o, r, !0);\n const s = o && o.data;\n jt(e, \"$attrs\", s && s.attrs || t, null, !0), jt(e, \"$listeners\", n._parentListeners || t, null, !0);\n }(n), Ze(n, \"beforeCreate\", void 0, !1), function (t) {\n const e = to(t.$options.inject, t);\n e && (St(!1), Object.keys(e).forEach(n => {\n jt(t, n, e[n]);\n }), St(!0));\n }(n), Wn(n), function (t) {\n const e = t.$options.provide;\n if (e) {\n const n = i(e) ? e.call(t) : e;\n if (!c(n)) return;\n const o = mn(t),\n r = it ? Reflect.ownKeys(n) : Object.keys(n);\n for (let t = 0; t < r.length; t++) {\n const e = r[t];\n Object.defineProperty(o, e, Object.getOwnPropertyDescriptor(n, e));\n }\n }\n }(n), Ze(n, \"created\"), n.$options.el && n.$mount(n.$options.el);\n };\n}(So), function (t) {\n const e = {\n get: function () {\n return this._data;\n }\n },\n n = {\n get: function () {\n return this._props;\n }\n };\n Object.defineProperty(t.prototype, \"$data\", e), Object.defineProperty(t.prototype, \"$props\", n), t.prototype.$set = Et, t.prototype.$delete = Nt, t.prototype.$watch = function (t, e, n) {\n const o = this;\n if (l(e)) return Qn(o, t, e, n);\n (n = n || {}).user = !0;\n const r = new Kn(o, t, e, n);\n if (n.immediate) {\n const t = `callback for immediate watcher \"${r.expression}\"`;\n _t(), vn(e, o, [r.value], o, t), $t();\n }\n return function () {\n r.teardown();\n };\n };\n}(So), function (t) {\n const n = /^hook:/;\n t.prototype.$on = function (t, o) {\n const r = this;\n if (e(t)) for (let e = 0, n = t.length; e < n; e++) r.$on(t[e], o);else (r._events[t] || (r._events[t] = [])).push(o), n.test(t) && (r._hasHookEvent = !0);\n return r;\n }, t.prototype.$once = function (t, e) {\n const n = this;\n function o() {\n n.$off(t, o), e.apply(n, arguments);\n }\n return o.fn = e, n.$on(t, o), n;\n }, t.prototype.$off = function (t, n) {\n const o = this;\n if (!arguments.length) return o._events = Object.create(null), o;\n if (e(t)) {\n for (let e = 0, r = t.length; e < r; e++) o.$off(t[e], n);\n return o;\n }\n const r = o._events[t];\n if (!r) return o;\n if (!n) return o._events[t] = null, o;\n let s,\n i = r.length;\n for (; i--;) if (s = r[i], s === n || s.fn === n) {\n r.splice(i, 1);\n break;\n }\n return o;\n }, t.prototype.$emit = function (t) {\n const e = this;\n let n = e._events[t];\n if (n) {\n n = n.length > 1 ? T(n) : n;\n const o = T(arguments, 1),\n r = `event handler for \"${t}\"`;\n for (let t = 0, s = n.length; t < s; t++) vn(n[t], e, o, e, r);\n }\n return e;\n };\n}(So), function (t) {\n t.prototype._update = function (t, e) {\n const n = this,\n o = n.$el,\n r = n._vnode,\n s = Ke(n);\n n._vnode = t, n.$el = r ? n.__patch__(r, t) : n.__patch__(n.$el, t, e, !1), s(), o && (o.__vue__ = null), n.$el && (n.$el.__vue__ = n);\n let i = n;\n for (; i && i.$vnode && i.$parent && i.$vnode === i.$parent._vnode;) i.$parent.$el = i.$el, i = i.$parent;\n }, t.prototype.$forceUpdate = function () {\n const t = this;\n t._watcher && t._watcher.update();\n }, t.prototype.$destroy = function () {\n const t = this;\n if (t._isBeingDestroyed) return;\n Ze(t, \"beforeDestroy\"), t._isBeingDestroyed = !0;\n const e = t.$parent;\n !e || e._isBeingDestroyed || t.$options.abstract || y(e.$children, t), t._scope.stop(), t._data.__ob__ && t._data.__ob__.vmCount--, t._isDestroyed = !0, t.__patch__(t._vnode, null), Ze(t, \"destroyed\"), t.$off(), t.$el && (t.$el.__vue__ = null), t.$vnode && (t.$vnode.parent = null);\n };\n}(So), function (t) {\n be(t.prototype), t.prototype.$nextTick = function (t) {\n return kn(t, this);\n }, t.prototype._render = function () {\n const t = this,\n {\n render: n,\n _parentVnode: o\n } = t.$options;\n o && t._isMounted && (t.$scopedSlots = ke(t.$parent, o.data.scopedSlots, t.$slots, t.$scopedSlots), t._slotsProxy && Ee(t._slotsProxy, t.$scopedSlots)), t.$vnode = o;\n const r = at,\n s = Me;\n let i;\n try {\n lt(t), Me = t, i = n.call(t._renderProxy, t.$createElement);\n } catch (e) {\n gn(e, t, \"render\"), i = t._vnode;\n } finally {\n Me = s, lt(r);\n }\n return e(i) && 1 === i.length && (i = i[0]), i instanceof ut || (i = ft()), i.parent = o, i;\n };\n}(So);\nconst No = [String, RegExp, Array];\nvar Po = {\n KeepAlive: {\n name: \"keep-alive\",\n abstract: !0,\n props: {\n include: No,\n exclude: No,\n max: [String, Number]\n },\n methods: {\n cacheVNode() {\n const {\n cache: t,\n keys: e,\n vnodeToCache: n,\n keyToCache: o\n } = this;\n if (n) {\n const {\n tag: r,\n componentInstance: s,\n componentOptions: i\n } = n;\n t[o] = {\n name: To(i),\n tag: r,\n componentInstance: s\n }, e.push(o), this.max && e.length > parseInt(this.max) && Eo(t, e[0], e, this._vnode), this.vnodeToCache = null;\n }\n }\n },\n created() {\n this.cache = Object.create(null), this.keys = [];\n },\n destroyed() {\n for (const t in this.cache) Eo(this.cache, t, this.keys);\n },\n mounted() {\n this.cacheVNode(), this.$watch(\"include\", t => {\n jo(this, e => Ao(t, e));\n }), this.$watch(\"exclude\", t => {\n jo(this, e => !Ao(t, e));\n });\n },\n updated() {\n this.cacheVNode();\n },\n render() {\n const t = this.$slots.default,\n e = Le(t),\n n = e && e.componentOptions;\n if (n) {\n const t = To(n),\n {\n include: o,\n exclude: r\n } = this;\n if (o && (!t || !Ao(o, t)) || r && t && Ao(r, t)) return e;\n const {\n cache: s,\n keys: i\n } = this,\n c = null == e.key ? n.Ctor.cid + (n.tag ? `::${n.tag}` : \"\") : e.key;\n s[c] ? (e.componentInstance = s[c].componentInstance, y(i, c), i.push(c)) : (this.vnodeToCache = e, this.keyToCache = c), e.data.keepAlive = !0;\n }\n return e || t && t[0];\n }\n }\n};\n!function (t) {\n const e = {\n get: () => B\n };\n Object.defineProperty(t, \"config\", e), t.util = {\n warn: fo,\n extend: A,\n mergeOptions: _o,\n defineReactive: jt\n }, t.set = Et, t.delete = Nt, t.nextTick = kn, t.observable = t => (At(t), t), t.options = Object.create(null), F.forEach(e => {\n t.options[e + \"s\"] = Object.create(null);\n }), t.options._base = t, A(t.options.components, Po), function (t) {\n t.use = function (t) {\n const e = this._installedPlugins || (this._installedPlugins = []);\n if (e.indexOf(t) > -1) return this;\n const n = T(arguments, 1);\n return n.unshift(this), i(t.install) ? t.install.apply(t, n) : i(t) && t.apply(null, n), e.push(t), this;\n };\n }(t), function (t) {\n t.mixin = function (t) {\n return this.options = _o(this.options, t), this;\n };\n }(t), Oo(t), function (t) {\n F.forEach(e => {\n t[e] = function (t, n) {\n return n ? (\"component\" === e && l(n) && (n.name = n.name || t, n = this.options._base.extend(n)), \"directive\" === e && i(n) && (n = {\n bind: n,\n update: n\n }), this.options[e + \"s\"][t] = n, n) : this.options[e + \"s\"][t];\n };\n });\n }(t);\n}(So), Object.defineProperty(So.prototype, \"$isServer\", {\n get: ot\n}), Object.defineProperty(So.prototype, \"$ssrContext\", {\n get() {\n return this.$vnode && this.$vnode.ssrContext;\n }\n}), Object.defineProperty(So, \"FunctionalRenderContext\", {\n value: oo\n}), So.version = Fn;\nconst Do = m(\"style,class\"),\n Mo = m(\"input,textarea,option,select,progress\"),\n Io = (t, e, n) => \"value\" === n && Mo(t) && \"button\" !== e || \"selected\" === n && \"option\" === t || \"checked\" === n && \"input\" === t || \"muted\" === n && \"video\" === t,\n Lo = m(\"contenteditable,draggable,spellcheck\"),\n Ro = m(\"events,caret,typing,plaintext-only\"),\n Fo = (t, e) => Vo(e) || \"false\" === e ? \"false\" : \"contenteditable\" === t && Ro(e) ? e : \"true\",\n Ho = m(\"allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible\"),\n Bo = \"http://www.w3.org/1999/xlink\",\n Uo = t => \":\" === t.charAt(5) && \"xlink\" === t.slice(0, 5),\n zo = t => Uo(t) ? t.slice(6, t.length) : \"\",\n Vo = t => null == t || !1 === t;\nfunction Ko(t) {\n let e = t.data,\n n = t,\n r = t;\n for (; o(r.componentInstance);) r = r.componentInstance._vnode, r && r.data && (e = Jo(r.data, e));\n for (; o(n = n.parent);) n && n.data && (e = Jo(e, n.data));\n return function (t, e) {\n if (o(t) || o(e)) return qo(t, Wo(e));\n return \"\";\n }(e.staticClass, e.class);\n}\nfunction Jo(t, e) {\n return {\n staticClass: qo(t.staticClass, e.staticClass),\n class: o(t.class) ? [t.class, e.class] : e.class\n };\n}\nfunction qo(t, e) {\n return t ? e ? t + \" \" + e : t : e || \"\";\n}\nfunction Wo(t) {\n return Array.isArray(t) ? function (t) {\n let e,\n n = \"\";\n for (let r = 0, s = t.length; r < s; r++) o(e = Wo(t[r])) && \"\" !== e && (n && (n += \" \"), n += e);\n return n;\n }(t) : c(t) ? function (t) {\n let e = \"\";\n for (const n in t) t[n] && (e && (e += \" \"), e += n);\n return e;\n }(t) : \"string\" == typeof t ? t : \"\";\n}\nconst Zo = {\n svg: \"http://www.w3.org/2000/svg\",\n math: \"http://www.w3.org/1998/Math/MathML\"\n },\n Go = m(\"html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot\"),\n Xo = m(\"svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view\", !0),\n Yo = t => Go(t) || Xo(t);\nfunction Qo(t) {\n return Xo(t) ? \"svg\" : \"math\" === t ? \"math\" : void 0;\n}\nconst tr = Object.create(null);\nconst er = m(\"text,number,password,search,email,tel,url\");\nfunction nr(t) {\n if (\"string\" == typeof t) {\n const e = document.querySelector(t);\n return e || document.createElement(\"div\");\n }\n return t;\n}\nvar or = Object.freeze({\n __proto__: null,\n createElement: function (t, e) {\n const n = document.createElement(t);\n return \"select\" !== t || e.data && e.data.attrs && void 0 !== e.data.attrs.multiple && n.setAttribute(\"multiple\", \"multiple\"), n;\n },\n createElementNS: function (t, e) {\n return document.createElementNS(Zo[t], e);\n },\n createTextNode: function (t) {\n return document.createTextNode(t);\n },\n createComment: function (t) {\n return document.createComment(t);\n },\n insertBefore: function (t, e, n) {\n t.insertBefore(e, n);\n },\n removeChild: function (t, e) {\n t.removeChild(e);\n },\n appendChild: function (t, e) {\n t.appendChild(e);\n },\n parentNode: function (t) {\n return t.parentNode;\n },\n nextSibling: function (t) {\n return t.nextSibling;\n },\n tagName: function (t) {\n return t.tagName;\n },\n setTextContent: function (t, e) {\n t.textContent = e;\n },\n setStyleScope: function (t, e) {\n t.setAttribute(e, \"\");\n }\n }),\n rr = {\n create(t, e) {\n sr(e);\n },\n update(t, e) {\n t.data.ref !== e.data.ref && (sr(t, !0), sr(e));\n },\n destroy(t) {\n sr(t, !0);\n }\n };\nfunction sr(t, n) {\n const r = t.data.ref;\n if (!o(r)) return;\n const s = t.context,\n c = t.componentInstance || t.elm,\n a = n ? null : c,\n l = n ? void 0 : c;\n if (i(r)) return void vn(r, s, [a], s, \"template ref function\");\n const u = t.data.refInFor,\n f = \"string\" == typeof r || \"number\" == typeof r,\n d = Ht(r),\n p = s.$refs;\n if (f || d) if (u) {\n const t = f ? p[r] : r.value;\n n ? e(t) && y(t, c) : e(t) ? t.includes(c) || t.push(c) : f ? (p[r] = [c], ir(s, r, p[r])) : r.value = [c];\n } else if (f) {\n if (n && p[r] !== c) return;\n p[r] = l, ir(s, r, a);\n } else if (d) {\n if (n && r.value !== c) return;\n r.value = a;\n }\n}\nfunction ir(_ref, e, n) {\n let {\n _setupState: t\n } = _ref;\n t && $(t, e) && (Ht(t[e]) ? t[e].value = n : t[e] = n);\n}\nconst cr = new ut(\"\", {}, []),\n ar = [\"create\", \"activate\", \"update\", \"remove\", \"destroy\"];\nfunction lr(t, e) {\n return t.key === e.key && t.asyncFactory === e.asyncFactory && (t.tag === e.tag && t.isComment === e.isComment && o(t.data) === o(e.data) && function (t, e) {\n if (\"input\" !== t.tag) return !0;\n let n;\n const r = o(n = t.data) && o(n = n.attrs) && n.type,\n s = o(n = e.data) && o(n = n.attrs) && n.type;\n return r === s || er(r) && er(s);\n }(t, e) || r(t.isAsyncPlaceholder) && n(e.asyncFactory.error));\n}\nfunction ur(t, e, n) {\n let r, s;\n const i = {};\n for (r = e; r <= n; ++r) s = t[r].key, o(s) && (i[s] = r);\n return i;\n}\nvar fr = {\n create: dr,\n update: dr,\n destroy: function (t) {\n dr(t, cr);\n }\n};\nfunction dr(t, e) {\n (t.data.directives || e.data.directives) && function (t, e) {\n const n = t === cr,\n o = e === cr,\n r = hr(t.data.directives, t.context),\n s = hr(e.data.directives, e.context),\n i = [],\n c = [];\n let a, l, u;\n for (a in s) l = r[a], u = s[a], l ? (u.oldValue = l.value, u.oldArg = l.arg, gr(u, \"update\", e, t), u.def && u.def.componentUpdated && c.push(u)) : (gr(u, \"bind\", e, t), u.def && u.def.inserted && i.push(u));\n if (i.length) {\n const o = () => {\n for (let n = 0; n < i.length; n++) gr(i[n], \"inserted\", e, t);\n };\n n ? Yt(e, \"insert\", o) : o();\n }\n c.length && Yt(e, \"postpatch\", () => {\n for (let n = 0; n < c.length; n++) gr(c[n], \"componentUpdated\", e, t);\n });\n if (!n) for (a in r) s[a] || gr(r[a], \"unbind\", t, t, o);\n }(t, e);\n}\nconst pr = Object.create(null);\nfunction hr(t, e) {\n const n = Object.create(null);\n if (!t) return n;\n let o, r;\n for (o = 0; o < t.length; o++) {\n if (r = t[o], r.modifiers || (r.modifiers = pr), n[mr(r)] = r, e._setupState && e._setupState.__sfc) {\n const t = r.def || $o(e, \"_setupState\", \"v-\" + r.name);\n r.def = \"function\" == typeof t ? {\n bind: t,\n update: t\n } : t;\n }\n r.def = r.def || $o(e.$options, \"directives\", r.name);\n }\n return n;\n}\nfunction mr(t) {\n return t.rawName || `${t.name}.${Object.keys(t.modifiers || {}).join(\".\")}`;\n}\nfunction gr(t, e, n, o, r) {\n const s = t.def && t.def[e];\n if (s) try {\n s(n.elm, t, n, o, r);\n } catch (o) {\n gn(o, n.context, `directive ${t.name} ${e} hook`);\n }\n}\nvar vr = [rr, fr];\nfunction yr(t, e) {\n const s = e.componentOptions;\n if (o(s) && !1 === s.Ctor.options.inheritAttrs) return;\n if (n(t.data.attrs) && n(e.data.attrs)) return;\n let i, c, a;\n const l = e.elm,\n u = t.data.attrs || {};\n let f = e.data.attrs || {};\n for (i in (o(f.__ob__) || r(f._v_attr_proxy)) && (f = e.data.attrs = A({}, f)), f) c = f[i], a = u[i], a !== c && _r(l, i, c, e.data.pre);\n for (i in (Z || X) && f.value !== u.value && _r(l, \"value\", f.value), u) n(f[i]) && (Uo(i) ? l.removeAttributeNS(Bo, zo(i)) : Lo(i) || l.removeAttribute(i));\n}\nfunction _r(t, e, n, o) {\n o || t.tagName.indexOf(\"-\") > -1 ? $r(t, e, n) : Ho(e) ? Vo(n) ? t.removeAttribute(e) : (n = \"allowfullscreen\" === e && \"EMBED\" === t.tagName ? \"true\" : e, t.setAttribute(e, n)) : Lo(e) ? t.setAttribute(e, Fo(e, n)) : Uo(e) ? Vo(n) ? t.removeAttributeNS(Bo, zo(e)) : t.setAttributeNS(Bo, e, n) : $r(t, e, n);\n}\nfunction $r(t, e, n) {\n if (Vo(n)) t.removeAttribute(e);else {\n if (Z && !G && \"TEXTAREA\" === t.tagName && \"placeholder\" === e && \"\" !== n && !t.__ieph) {\n const e = n => {\n n.stopImmediatePropagation(), t.removeEventListener(\"input\", e);\n };\n t.addEventListener(\"input\", e), t.__ieph = !0;\n }\n t.setAttribute(e, n);\n }\n}\nvar br = {\n create: yr,\n update: yr\n};\nfunction wr(t, e) {\n const r = e.elm,\n s = e.data,\n i = t.data;\n if (n(s.staticClass) && n(s.class) && (n(i) || n(i.staticClass) && n(i.class))) return;\n let c = Ko(e);\n const a = r._transitionClasses;\n o(a) && (c = qo(c, Wo(a))), c !== r._prevClass && (r.setAttribute(\"class\", c), r._prevClass = c);\n}\nvar xr = {\n create: wr,\n update: wr\n};\nconst Cr = /[\\w).+\\-_$\\]]/;\nfunction kr(t) {\n let e,\n n,\n o,\n r,\n s,\n i = !1,\n c = !1,\n a = !1,\n l = !1,\n u = 0,\n f = 0,\n d = 0,\n p = 0;\n for (o = 0; o < t.length; o++) if (n = e, e = t.charCodeAt(o), i) 39 === e && 92 !== n && (i = !1);else if (c) 34 === e && 92 !== n && (c = !1);else if (a) 96 === e && 92 !== n && (a = !1);else if (l) 47 === e && 92 !== n && (l = !1);else if (124 !== e || 124 === t.charCodeAt(o + 1) || 124 === t.charCodeAt(o - 1) || u || f || d) {\n switch (e) {\n case 34:\n c = !0;\n break;\n case 39:\n i = !0;\n break;\n case 96:\n a = !0;\n break;\n case 40:\n d++;\n break;\n case 41:\n d--;\n break;\n case 91:\n f++;\n break;\n case 93:\n f--;\n break;\n case 123:\n u++;\n break;\n case 125:\n u--;\n }\n if (47 === e) {\n let e,\n n = o - 1;\n for (; n >= 0 && (e = t.charAt(n), \" \" === e); n--);\n e && Cr.test(e) || (l = !0);\n }\n } else void 0 === r ? (p = o + 1, r = t.slice(0, o).trim()) : h();\n function h() {\n (s || (s = [])).push(t.slice(p, o).trim()), p = o + 1;\n }\n if (void 0 === r ? r = t.slice(0, o).trim() : 0 !== p && h(), s) for (o = 0; o < s.length; o++) r = Sr(r, s[o]);\n return r;\n}\nfunction Sr(t, e) {\n const n = e.indexOf(\"(\");\n if (n < 0) return `_f(\"${e}\")(${t})`;\n {\n const o = e.slice(0, n),\n r = e.slice(n + 1);\n return `_f(\"${o}\")(${t}${\")\" !== r ? \",\" + r : r}`;\n }\n}\nfunction Or(t, e) {\n console.error(`[Vue compiler]: ${t}`);\n}\nfunction Tr(t, e) {\n return t ? t.map(t => t[e]).filter(t => t) : [];\n}\nfunction Ar(t, e, n, o, r) {\n (t.props || (t.props = [])).push(Rr({\n name: e,\n value: n,\n dynamic: r\n }, o)), t.plain = !1;\n}\nfunction jr(t, e, n, o, r) {\n (r ? t.dynamicAttrs || (t.dynamicAttrs = []) : t.attrs || (t.attrs = [])).push(Rr({\n name: e,\n value: n,\n dynamic: r\n }, o)), t.plain = !1;\n}\nfunction Er(t, e, n, o) {\n t.attrsMap[e] = n, t.attrsList.push(Rr({\n name: e,\n value: n\n }, o));\n}\nfunction Nr(t, e, n, o, r, s, i, c) {\n (t.directives || (t.directives = [])).push(Rr({\n name: e,\n rawName: n,\n value: o,\n arg: r,\n isDynamicArg: s,\n modifiers: i\n }, c)), t.plain = !1;\n}\nfunction Pr(t, e, n) {\n return n ? `_p(${e},\"${t}\")` : t + e;\n}\nfunction Dr(e, n, o, r, s, i, c, a) {\n let l;\n (r = r || t).right ? a ? n = `(${n})==='click'?'contextmenu':(${n})` : \"click\" === n && (n = \"contextmenu\", delete r.right) : r.middle && (a ? n = `(${n})==='click'?'mouseup':(${n})` : \"click\" === n && (n = \"mouseup\")), r.capture && (delete r.capture, n = Pr(\"!\", n, a)), r.once && (delete r.once, n = Pr(\"~\", n, a)), r.passive && (delete r.passive, n = Pr(\"&\", n, a)), r.native ? (delete r.native, l = e.nativeEvents || (e.nativeEvents = {})) : l = e.events || (e.events = {});\n const u = Rr({\n value: o.trim(),\n dynamic: a\n }, c);\n r !== t && (u.modifiers = r);\n const f = l[n];\n Array.isArray(f) ? s ? f.unshift(u) : f.push(u) : l[n] = f ? s ? [u, f] : [f, u] : u, e.plain = !1;\n}\nfunction Mr(t, e, n) {\n const o = Ir(t, \":\" + e) || Ir(t, \"v-bind:\" + e);\n if (null != o) return kr(o);\n if (!1 !== n) {\n const n = Ir(t, e);\n if (null != n) return JSON.stringify(n);\n }\n}\nfunction Ir(t, e, n) {\n let o;\n if (null != (o = t.attrsMap[e])) {\n const n = t.attrsList;\n for (let t = 0, o = n.length; t < o; t++) if (n[t].name === e) {\n n.splice(t, 1);\n break;\n }\n }\n return n && delete t.attrsMap[e], o;\n}\nfunction Lr(t, e) {\n const n = t.attrsList;\n for (let t = 0, o = n.length; t < o; t++) {\n const o = n[t];\n if (e.test(o.name)) return n.splice(t, 1), o;\n }\n}\nfunction Rr(t, e) {\n return e && (null != e.start && (t.start = e.start), null != e.end && (t.end = e.end)), t;\n}\nfunction Fr(t, e, n) {\n const {\n number: o,\n trim: r\n } = n || {},\n s = \"$$v\";\n let i = s;\n r && (i = `(typeof ${s} === 'string'? ${s}.trim(): ${s})`), o && (i = `_n(${i})`);\n const c = Hr(e, i);\n t.model = {\n value: `(${e})`,\n expression: JSON.stringify(e),\n callback: `function (${s}) {${c}}`\n };\n}\nfunction Hr(t, e) {\n const n = function (t) {\n if (t = t.trim(), Br = t.length, t.indexOf(\"[\") < 0 || t.lastIndexOf(\"]\") < Br - 1) return Vr = t.lastIndexOf(\".\"), Vr > -1 ? {\n exp: t.slice(0, Vr),\n key: '\"' + t.slice(Vr + 1) + '\"'\n } : {\n exp: t,\n key: null\n };\n Ur = t, Vr = Kr = Jr = 0;\n for (; !Wr();) zr = qr(), Zr(zr) ? Xr(zr) : 91 === zr && Gr(zr);\n return {\n exp: t.slice(0, Kr),\n key: t.slice(Kr + 1, Jr)\n };\n }(t);\n return null === n.key ? `${t}=${e}` : `$set(${n.exp}, ${n.key}, ${e})`;\n}\nlet Br, Ur, zr, Vr, Kr, Jr;\nfunction qr() {\n return Ur.charCodeAt(++Vr);\n}\nfunction Wr() {\n return Vr >= Br;\n}\nfunction Zr(t) {\n return 34 === t || 39 === t;\n}\nfunction Gr(t) {\n let e = 1;\n for (Kr = Vr; !Wr();) if (Zr(t = qr())) Xr(t);else if (91 === t && e++, 93 === t && e--, 0 === e) {\n Jr = Vr;\n break;\n }\n}\nfunction Xr(t) {\n const e = t;\n for (; !Wr() && (t = qr()) !== e;);\n}\nconst Yr = \"__r\",\n Qr = \"__c\";\nlet ts;\nfunction es(t, e, n) {\n const o = ts;\n return function r() {\n null !== e.apply(null, arguments) && rs(t, r, n, o);\n };\n}\nconst ns = $n && !(Q && Number(Q[1]) <= 53);\nfunction os(t, e, n, o) {\n if (ns) {\n const t = nn,\n n = e;\n e = n._wrapper = function (e) {\n if (e.target === e.currentTarget || e.timeStamp >= t || e.timeStamp <= 0 || e.target.ownerDocument !== document) return n.apply(this, arguments);\n };\n }\n ts.addEventListener(t, e, nt ? {\n capture: n,\n passive: o\n } : n);\n}\nfunction rs(t, e, n, o) {\n (o || ts).removeEventListener(t, e._wrapper || e, n);\n}\nfunction ss(t, e) {\n if (n(t.data.on) && n(e.data.on)) return;\n const r = e.data.on || {},\n s = t.data.on || {};\n ts = e.elm || t.elm, function (t) {\n if (o(t[Yr])) {\n const e = Z ? \"change\" : \"input\";\n t[e] = [].concat(t[Yr], t[e] || []), delete t[Yr];\n }\n o(t[Qr]) && (t.change = [].concat(t[Qr], t.change || []), delete t[Qr]);\n }(r), Xt(r, s, os, rs, es, e.context), ts = void 0;\n}\nvar is = {\n create: ss,\n update: ss,\n destroy: t => ss(t, cr)\n};\nlet cs;\nfunction as(t, e) {\n if (n(t.data.domProps) && n(e.data.domProps)) return;\n let s, i;\n const c = e.elm,\n a = t.data.domProps || {};\n let l = e.data.domProps || {};\n for (s in (o(l.__ob__) || r(l._v_attr_proxy)) && (l = e.data.domProps = A({}, l)), a) s in l || (c[s] = \"\");\n for (s in l) {\n if (i = l[s], \"textContent\" === s || \"innerHTML\" === s) {\n if (e.children && (e.children.length = 0), i === a[s]) continue;\n 1 === c.childNodes.length && c.removeChild(c.childNodes[0]);\n }\n if (\"value\" === s && \"PROGRESS\" !== c.tagName) {\n c._value = i;\n const t = n(i) ? \"\" : String(i);\n ls(c, t) && (c.value = t);\n } else if (\"innerHTML\" === s && Xo(c.tagName) && n(c.innerHTML)) {\n cs = cs || document.createElement(\"div\"), cs.innerHTML = `${i}`;\n const t = cs.firstChild;\n for (; c.firstChild;) c.removeChild(c.firstChild);\n for (; t.firstChild;) c.appendChild(t.firstChild);\n } else if (i !== a[s]) try {\n c[s] = i;\n } catch (t) {}\n }\n}\nfunction ls(t, e) {\n return !t.composing && (\"OPTION\" === t.tagName || function (t, e) {\n let n = !0;\n try {\n n = document.activeElement !== t;\n } catch (t) {}\n return n && t.value !== e;\n }(t, e) || function (t, e) {\n const n = t.value,\n r = t._vModifiers;\n if (o(r)) {\n if (r.number) return h(n) !== h(e);\n if (r.trim) return n.trim() !== e.trim();\n }\n return n !== e;\n }(t, e));\n}\nvar us = {\n create: as,\n update: as\n};\nconst fs = b(function (t) {\n const e = {},\n n = /:(.+)/;\n return t.split(/;(?![^(]*\\))/g).forEach(function (t) {\n if (t) {\n const o = t.split(n);\n o.length > 1 && (e[o[0].trim()] = o[1].trim());\n }\n }), e;\n});\nfunction ds(t) {\n const e = ps(t.style);\n return t.staticStyle ? A(t.staticStyle, e) : e;\n}\nfunction ps(t) {\n return Array.isArray(t) ? j(t) : \"string\" == typeof t ? fs(t) : t;\n}\nconst hs = /^--/,\n ms = /\\s*!important$/,\n gs = (t, e, n) => {\n if (hs.test(e)) t.style.setProperty(e, n);else if (ms.test(n)) t.style.setProperty(S(e), n.replace(ms, \"\"), \"important\");else {\n const o = _s(e);\n if (Array.isArray(n)) for (let e = 0, r = n.length; e < r; e++) t.style[o] = n[e];else t.style[o] = n;\n }\n },\n vs = [\"Webkit\", \"Moz\", \"ms\"];\nlet ys;\nconst _s = b(function (t) {\n if (ys = ys || document.createElement(\"div\").style, \"filter\" !== (t = x(t)) && t in ys) return t;\n const e = t.charAt(0).toUpperCase() + t.slice(1);\n for (let t = 0; t < vs.length; t++) {\n const n = vs[t] + e;\n if (n in ys) return n;\n }\n});\nfunction $s(t, e) {\n const r = e.data,\n s = t.data;\n if (n(r.staticStyle) && n(r.style) && n(s.staticStyle) && n(s.style)) return;\n let i, c;\n const a = e.elm,\n l = s.staticStyle,\n u = s.normalizedStyle || s.style || {},\n f = l || u,\n d = ps(e.data.style) || {};\n e.data.normalizedStyle = o(d.__ob__) ? A({}, d) : d;\n const p = function (t, e) {\n const n = {};\n let o;\n if (e) {\n let e = t;\n for (; e.componentInstance;) e = e.componentInstance._vnode, e && e.data && (o = ds(e.data)) && A(n, o);\n }\n (o = ds(t.data)) && A(n, o);\n let r = t;\n for (; r = r.parent;) r.data && (o = ds(r.data)) && A(n, o);\n return n;\n }(e, !0);\n for (c in f) n(p[c]) && gs(a, c, \"\");\n for (c in p) i = p[c], gs(a, c, null == i ? \"\" : i);\n}\nvar bs = {\n create: $s,\n update: $s\n};\nconst ws = /\\s+/;\nfunction xs(t, e) {\n if (e && (e = e.trim())) if (t.classList) e.indexOf(\" \") > -1 ? e.split(ws).forEach(e => t.classList.add(e)) : t.classList.add(e);else {\n const n = ` ${t.getAttribute(\"class\") || \"\"} `;\n n.indexOf(\" \" + e + \" \") < 0 && t.setAttribute(\"class\", (n + e).trim());\n }\n}\nfunction Cs(t, e) {\n if (e && (e = e.trim())) if (t.classList) e.indexOf(\" \") > -1 ? e.split(ws).forEach(e => t.classList.remove(e)) : t.classList.remove(e), t.classList.length || t.removeAttribute(\"class\");else {\n let n = ` ${t.getAttribute(\"class\") || \"\"} `;\n const o = \" \" + e + \" \";\n for (; n.indexOf(o) >= 0;) n = n.replace(o, \" \");\n n = n.trim(), n ? t.setAttribute(\"class\", n) : t.removeAttribute(\"class\");\n }\n}\nfunction ks(t) {\n if (t) {\n if (\"object\" == typeof t) {\n const e = {};\n return !1 !== t.css && A(e, Ss(t.name || \"v\")), A(e, t), e;\n }\n return \"string\" == typeof t ? Ss(t) : void 0;\n }\n}\nconst Ss = b(t => ({\n enterClass: `${t}-enter`,\n enterToClass: `${t}-enter-to`,\n enterActiveClass: `${t}-enter-active`,\n leaveClass: `${t}-leave`,\n leaveToClass: `${t}-leave-to`,\n leaveActiveClass: `${t}-leave-active`\n })),\n Os = q && !G,\n Ts = \"transition\",\n As = \"animation\";\nlet js = \"transition\",\n Es = \"transitionend\",\n Ns = \"animation\",\n Ps = \"animationend\";\nOs && (void 0 === window.ontransitionend && void 0 !== window.onwebkittransitionend && (js = \"WebkitTransition\", Es = \"webkitTransitionEnd\"), void 0 === window.onanimationend && void 0 !== window.onwebkitanimationend && (Ns = \"WebkitAnimation\", Ps = \"webkitAnimationEnd\"));\nconst Ds = q ? window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : setTimeout : t => t();\nfunction Ms(t) {\n Ds(() => {\n Ds(t);\n });\n}\nfunction Is(t, e) {\n const n = t._transitionClasses || (t._transitionClasses = []);\n n.indexOf(e) < 0 && (n.push(e), xs(t, e));\n}\nfunction Ls(t, e) {\n t._transitionClasses && y(t._transitionClasses, e), Cs(t, e);\n}\nfunction Rs(t, e, n) {\n const {\n type: o,\n timeout: r,\n propCount: s\n } = Hs(t, e);\n if (!o) return n();\n const i = o === Ts ? Es : Ps;\n let c = 0;\n const a = () => {\n t.removeEventListener(i, l), n();\n },\n l = e => {\n e.target === t && ++c >= s && a();\n };\n setTimeout(() => {\n c < s && a();\n }, r + 1), t.addEventListener(i, l);\n}\nconst Fs = /\\b(transform|all)(,|$)/;\nfunction Hs(t, e) {\n const n = window.getComputedStyle(t),\n o = (n[js + \"Delay\"] || \"\").split(\", \"),\n r = (n[js + \"Duration\"] || \"\").split(\", \"),\n s = Bs(o, r),\n i = (n[Ns + \"Delay\"] || \"\").split(\", \"),\n c = (n[Ns + \"Duration\"] || \"\").split(\", \"),\n a = Bs(i, c);\n let l,\n u = 0,\n f = 0;\n e === Ts ? s > 0 && (l = Ts, u = s, f = r.length) : e === As ? a > 0 && (l = As, u = a, f = c.length) : (u = Math.max(s, a), l = u > 0 ? s > a ? Ts : As : null, f = l ? l === Ts ? r.length : c.length : 0);\n return {\n type: l,\n timeout: u,\n propCount: f,\n hasTransform: l === Ts && Fs.test(n[js + \"Property\"])\n };\n}\nfunction Bs(t, e) {\n for (; t.length < e.length;) t = t.concat(t);\n return Math.max.apply(null, e.map((e, n) => Us(e) + Us(t[n])));\n}\nfunction Us(t) {\n return 1e3 * Number(t.slice(0, -1).replace(\",\", \".\"));\n}\nfunction zs(t, e) {\n const r = t.elm;\n o(r._leaveCb) && (r._leaveCb.cancelled = !0, r._leaveCb());\n const s = ks(t.data.transition);\n if (n(s)) return;\n if (o(r._enterCb) || 1 !== r.nodeType) return;\n const {\n css: a,\n type: l,\n enterClass: u,\n enterToClass: f,\n enterActiveClass: d,\n appearClass: p,\n appearToClass: m,\n appearActiveClass: g,\n beforeEnter: v,\n enter: y,\n afterEnter: _,\n enterCancelled: $,\n beforeAppear: b,\n appear: w,\n afterAppear: x,\n appearCancelled: C,\n duration: k\n } = s;\n let S = Ve,\n O = Ve.$vnode;\n for (; O && O.parent;) S = O.context, O = O.parent;\n const T = !S._isMounted || !t.isRootInsert;\n if (T && !w && \"\" !== w) return;\n const A = T && p ? p : u,\n j = T && g ? g : d,\n E = T && m ? m : f,\n N = T && b || v,\n P = T && i(w) ? w : y,\n D = T && x || _,\n M = T && C || $,\n L = h(c(k) ? k.enter : k),\n R = !1 !== a && !G,\n F = Js(P),\n H = r._enterCb = I(() => {\n R && (Ls(r, E), Ls(r, j)), H.cancelled ? (R && Ls(r, A), M && M(r)) : D && D(r), r._enterCb = null;\n });\n t.data.show || Yt(t, \"insert\", () => {\n const e = r.parentNode,\n n = e && e._pending && e._pending[t.key];\n n && n.tag === t.tag && n.elm._leaveCb && n.elm._leaveCb(), P && P(r, H);\n }), N && N(r), R && (Is(r, A), Is(r, j), Ms(() => {\n Ls(r, A), H.cancelled || (Is(r, E), F || (Ks(L) ? setTimeout(H, L) : Rs(r, l, H)));\n })), t.data.show && (e && e(), P && P(r, H)), R || F || H();\n}\nfunction Vs(t, e) {\n const r = t.elm;\n o(r._enterCb) && (r._enterCb.cancelled = !0, r._enterCb());\n const s = ks(t.data.transition);\n if (n(s) || 1 !== r.nodeType) return e();\n if (o(r._leaveCb)) return;\n const {\n css: i,\n type: a,\n leaveClass: l,\n leaveToClass: u,\n leaveActiveClass: f,\n beforeLeave: d,\n leave: p,\n afterLeave: m,\n leaveCancelled: g,\n delayLeave: v,\n duration: y\n } = s,\n _ = !1 !== i && !G,\n $ = Js(p),\n b = h(c(y) ? y.leave : y),\n w = r._leaveCb = I(() => {\n r.parentNode && r.parentNode._pending && (r.parentNode._pending[t.key] = null), _ && (Ls(r, u), Ls(r, f)), w.cancelled ? (_ && Ls(r, l), g && g(r)) : (e(), m && m(r)), r._leaveCb = null;\n });\n function x() {\n w.cancelled || (!t.data.show && r.parentNode && ((r.parentNode._pending || (r.parentNode._pending = {}))[t.key] = t), d && d(r), _ && (Is(r, l), Is(r, f), Ms(() => {\n Ls(r, l), w.cancelled || (Is(r, u), $ || (Ks(b) ? setTimeout(w, b) : Rs(r, a, w)));\n })), p && p(r, w), _ || $ || w());\n }\n v ? v(x) : x();\n}\nfunction Ks(t) {\n return \"number\" == typeof t && !isNaN(t);\n}\nfunction Js(t) {\n if (n(t)) return !1;\n const e = t.fns;\n return o(e) ? Js(Array.isArray(e) ? e[0] : e) : (t._length || t.length) > 1;\n}\nfunction qs(t, e) {\n !0 !== e.data.show && zs(e);\n}\nconst Ws = function (t) {\n let i, c;\n const a = {},\n {\n modules: l,\n nodeOps: u\n } = t;\n for (i = 0; i < ar.length; ++i) for (a[ar[i]] = [], c = 0; c < l.length; ++c) o(l[c][ar[i]]) && a[ar[i]].push(l[c][ar[i]]);\n function f(t) {\n const e = u.parentNode(t);\n o(e) && u.removeChild(e, t);\n }\n function d(t, e, n, s, i, c, l) {\n if (o(t.elm) && o(c) && (t = c[l] = pt(t)), t.isRootInsert = !i, function (t, e, n, s) {\n let i = t.data;\n if (o(i)) {\n const c = o(t.componentInstance) && i.keepAlive;\n if (o(i = i.hook) && o(i = i.init) && i(t, !1), o(t.componentInstance)) return p(t, e), h(n, t.elm, s), r(c) && function (t, e, n, r) {\n let s,\n i = t;\n for (; i.componentInstance;) if (i = i.componentInstance._vnode, o(s = i.data) && o(s = s.transition)) {\n for (s = 0; s < a.activate.length; ++s) a.activate[s](cr, i);\n e.push(i);\n break;\n }\n h(n, t.elm, r);\n }(t, e, n, s), !0;\n }\n }(t, e, n, s)) return;\n const f = t.data,\n d = t.children,\n m = t.tag;\n o(m) ? (t.elm = t.ns ? u.createElementNS(t.ns, m) : u.createElement(m, t), _(t), g(t, d, e), o(f) && y(t, e), h(n, t.elm, s)) : r(t.isComment) ? (t.elm = u.createComment(t.text), h(n, t.elm, s)) : (t.elm = u.createTextNode(t.text), h(n, t.elm, s));\n }\n function p(t, e) {\n o(t.data.pendingInsert) && (e.push.apply(e, t.data.pendingInsert), t.data.pendingInsert = null), t.elm = t.componentInstance.$el, v(t) ? (y(t, e), _(t)) : (sr(t), e.push(t));\n }\n function h(t, e, n) {\n o(t) && (o(n) ? u.parentNode(n) === t && u.insertBefore(t, e, n) : u.appendChild(t, e));\n }\n function g(t, n, o) {\n if (e(n)) for (let e = 0; e < n.length; ++e) d(n[e], o, t.elm, null, !0, n, e);else s(t.text) && u.appendChild(t.elm, u.createTextNode(String(t.text)));\n }\n function v(t) {\n for (; t.componentInstance;) t = t.componentInstance._vnode;\n return o(t.tag);\n }\n function y(t, e) {\n for (let e = 0; e < a.create.length; ++e) a.create[e](cr, t);\n i = t.data.hook, o(i) && (o(i.create) && i.create(cr, t), o(i.insert) && e.push(t));\n }\n function _(t) {\n let e;\n if (o(e = t.fnScopeId)) u.setStyleScope(t.elm, e);else {\n let n = t;\n for (; n;) o(e = n.context) && o(e = e.$options._scopeId) && u.setStyleScope(t.elm, e), n = n.parent;\n }\n o(e = Ve) && e !== t.context && e !== t.fnContext && o(e = e.$options._scopeId) && u.setStyleScope(t.elm, e);\n }\n function $(t, e, n, o, r, s) {\n for (; o <= r; ++o) d(n[o], s, t, e, !1, n, o);\n }\n function b(t) {\n let e, n;\n const r = t.data;\n if (o(r)) for (o(e = r.hook) && o(e = e.destroy) && e(t), e = 0; e < a.destroy.length; ++e) a.destroy[e](t);\n if (o(e = t.children)) for (n = 0; n < t.children.length; ++n) b(t.children[n]);\n }\n function w(t, e, n) {\n for (; e <= n; ++e) {\n const n = t[e];\n o(n) && (o(n.tag) ? (x(n), b(n)) : f(n.elm));\n }\n }\n function x(t, e) {\n if (o(e) || o(t.data)) {\n let n;\n const r = a.remove.length + 1;\n for (o(e) ? e.listeners += r : e = function (t, e) {\n function n() {\n 0 == --n.listeners && f(t);\n }\n return n.listeners = e, n;\n }(t.elm, r), o(n = t.componentInstance) && o(n = n._vnode) && o(n.data) && x(n, e), n = 0; n < a.remove.length; ++n) a.remove[n](t, e);\n o(n = t.data.hook) && o(n = n.remove) ? n(t, e) : e();\n } else f(t.elm);\n }\n function C(t, e, n, r) {\n for (let s = n; s < r; s++) {\n const n = e[s];\n if (o(n) && lr(t, n)) return s;\n }\n }\n function k(t, e, s, i, c, l) {\n if (t === e) return;\n o(e.elm) && o(i) && (e = i[c] = pt(e));\n const f = e.elm = t.elm;\n if (r(t.isAsyncPlaceholder)) return void (o(e.asyncFactory.resolved) ? T(t.elm, e, s) : e.isAsyncPlaceholder = !0);\n if (r(e.isStatic) && r(t.isStatic) && e.key === t.key && (r(e.isCloned) || r(e.isOnce))) return void (e.componentInstance = t.componentInstance);\n let p;\n const h = e.data;\n o(h) && o(p = h.hook) && o(p = p.prepatch) && p(t, e);\n const m = t.children,\n g = e.children;\n if (o(h) && v(e)) {\n for (p = 0; p < a.update.length; ++p) a.update[p](t, e);\n o(p = h.hook) && o(p = p.update) && p(t, e);\n }\n n(e.text) ? o(m) && o(g) ? m !== g && function (t, e, r, s, i) {\n let c,\n a,\n l,\n f,\n p = 0,\n h = 0,\n m = e.length - 1,\n g = e[0],\n v = e[m],\n y = r.length - 1,\n _ = r[0],\n b = r[y];\n const x = !i;\n for (; p <= m && h <= y;) n(g) ? g = e[++p] : n(v) ? v = e[--m] : lr(g, _) ? (k(g, _, s, r, h), g = e[++p], _ = r[++h]) : lr(v, b) ? (k(v, b, s, r, y), v = e[--m], b = r[--y]) : lr(g, b) ? (k(g, b, s, r, y), x && u.insertBefore(t, g.elm, u.nextSibling(v.elm)), g = e[++p], b = r[--y]) : lr(v, _) ? (k(v, _, s, r, h), x && u.insertBefore(t, v.elm, g.elm), v = e[--m], _ = r[++h]) : (n(c) && (c = ur(e, p, m)), a = o(_.key) ? c[_.key] : C(_, e, p, m), n(a) ? d(_, s, t, g.elm, !1, r, h) : (l = e[a], lr(l, _) ? (k(l, _, s, r, h), e[a] = void 0, x && u.insertBefore(t, l.elm, g.elm)) : d(_, s, t, g.elm, !1, r, h)), _ = r[++h]);\n p > m ? (f = n(r[y + 1]) ? null : r[y + 1].elm, $(t, f, r, h, y, s)) : h > y && w(e, p, m);\n }(f, m, g, s, l) : o(g) ? (o(t.text) && u.setTextContent(f, \"\"), $(f, null, g, 0, g.length - 1, s)) : o(m) ? w(m, 0, m.length - 1) : o(t.text) && u.setTextContent(f, \"\") : t.text !== e.text && u.setTextContent(f, e.text), o(h) && o(p = h.hook) && o(p = p.postpatch) && p(t, e);\n }\n function S(t, e, n) {\n if (r(n) && o(t.parent)) t.parent.data.pendingInsert = e;else for (let t = 0; t < e.length; ++t) e[t].data.hook.insert(e[t]);\n }\n const O = m(\"attrs,class,staticClass,staticStyle,key\");\n function T(t, e, n, s) {\n let i;\n const {\n tag: c,\n data: a,\n children: l\n } = e;\n if (s = s || a && a.pre, e.elm = t, r(e.isComment) && o(e.asyncFactory)) return e.isAsyncPlaceholder = !0, !0;\n if (o(a) && (o(i = a.hook) && o(i = i.init) && i(e, !0), o(i = e.componentInstance))) return p(e, n), !0;\n if (o(c)) {\n if (o(l)) if (t.hasChildNodes()) {\n if (o(i = a) && o(i = i.domProps) && o(i = i.innerHTML)) {\n if (i !== t.innerHTML) return !1;\n } else {\n let e = !0,\n o = t.firstChild;\n for (let t = 0; t < l.length; t++) {\n if (!o || !T(o, l[t], n, s)) {\n e = !1;\n break;\n }\n o = o.nextSibling;\n }\n if (!e || o) return !1;\n }\n } else g(e, l, n);\n if (o(a)) {\n let t = !1;\n for (const o in a) if (!O(o)) {\n t = !0, y(e, n);\n break;\n }\n !t && a.class && Un(a.class);\n }\n } else t.data !== e.text && (t.data = e.text);\n return !0;\n }\n return function (t, e, s, i) {\n if (n(e)) return void (o(t) && b(t));\n let c = !1;\n const l = [];\n if (n(t)) c = !0, d(e, l);else {\n const n = o(t.nodeType);\n if (!n && lr(t, e)) k(t, e, l, null, null, i);else {\n if (n) {\n if (1 === t.nodeType && t.hasAttribute(R) && (t.removeAttribute(R), s = !0), r(s) && T(t, e, l)) return S(e, l, !0), t;\n f = t, t = new ut(u.tagName(f).toLowerCase(), {}, [], void 0, f);\n }\n const i = t.elm,\n c = u.parentNode(i);\n if (d(e, l, i._leaveCb ? null : c, u.nextSibling(i)), o(e.parent)) {\n let t = e.parent;\n const n = v(e);\n for (; t;) {\n for (let e = 0; e < a.destroy.length; ++e) a.destroy[e](t);\n if (t.elm = e.elm, n) {\n for (let e = 0; e < a.create.length; ++e) a.create[e](cr, t);\n const e = t.data.hook.insert;\n if (e.merged) {\n const t = e.fns.slice(1);\n for (let e = 0; e < t.length; e++) t[e]();\n }\n } else sr(t);\n t = t.parent;\n }\n }\n o(c) ? w([t], 0, 0) : o(t.tag) && b(t);\n }\n }\n var f;\n return S(e, l, c), e.elm;\n };\n}({\n nodeOps: or,\n modules: [br, xr, is, us, bs, q ? {\n create: qs,\n activate: qs,\n remove(t, e) {\n !0 !== t.data.show ? Vs(t, e) : e();\n }\n } : {}].concat(vr)\n});\nG && document.addEventListener(\"selectionchange\", () => {\n const t = document.activeElement;\n t && t.vmodel && ni(t, \"input\");\n});\nconst Zs = {\n inserted(t, e, n, o) {\n \"select\" === n.tag ? (o.elm && !o.elm._vOptions ? Yt(n, \"postpatch\", () => {\n Zs.componentUpdated(t, e, n);\n }) : Gs(t, e, n.context), t._vOptions = [].map.call(t.options, Qs)) : (\"textarea\" === n.tag || er(t.type)) && (t._vModifiers = e.modifiers, e.modifiers.lazy || (t.addEventListener(\"compositionstart\", ti), t.addEventListener(\"compositionend\", ei), t.addEventListener(\"change\", ei), G && (t.vmodel = !0)));\n },\n componentUpdated(t, e, n) {\n if (\"select\" === n.tag) {\n Gs(t, e, n.context);\n const o = t._vOptions,\n r = t._vOptions = [].map.call(t.options, Qs);\n if (r.some((t, e) => !D(t, o[e]))) {\n (t.multiple ? e.value.some(t => Ys(t, r)) : e.value !== e.oldValue && Ys(e.value, r)) && ni(t, \"change\");\n }\n }\n }\n};\nfunction Gs(t, e, n) {\n Xs(t, e), (Z || X) && setTimeout(() => {\n Xs(t, e);\n }, 0);\n}\nfunction Xs(t, e, n) {\n const o = e.value,\n r = t.multiple;\n if (r && !Array.isArray(o)) return;\n let s, i;\n for (let e = 0, n = t.options.length; e < n; e++) if (i = t.options[e], r) s = M(o, Qs(i)) > -1, i.selected !== s && (i.selected = s);else if (D(Qs(i), o)) return void (t.selectedIndex !== e && (t.selectedIndex = e));\n r || (t.selectedIndex = -1);\n}\nfunction Ys(t, e) {\n return e.every(e => !D(e, t));\n}\nfunction Qs(t) {\n return \"_value\" in t ? t._value : t.value;\n}\nfunction ti(t) {\n t.target.composing = !0;\n}\nfunction ei(t) {\n t.target.composing && (t.target.composing = !1, ni(t.target, \"input\"));\n}\nfunction ni(t, e) {\n const n = document.createEvent(\"HTMLEvents\");\n n.initEvent(e, !0, !0), t.dispatchEvent(n);\n}\nfunction oi(t) {\n return !t.componentInstance || t.data && t.data.transition ? t : oi(t.componentInstance._vnode);\n}\nvar ri = {\n bind(t, _ref2, n) {\n let {\n value: e\n } = _ref2;\n const o = (n = oi(n)).data && n.data.transition,\n r = t.__vOriginalDisplay = \"none\" === t.style.display ? \"\" : t.style.display;\n e && o ? (n.data.show = !0, zs(n, () => {\n t.style.display = r;\n })) : t.style.display = e ? r : \"none\";\n },\n update(t, _ref3, o) {\n let {\n value: e,\n oldValue: n\n } = _ref3;\n if (!e == !n) return;\n (o = oi(o)).data && o.data.transition ? (o.data.show = !0, e ? zs(o, () => {\n t.style.display = t.__vOriginalDisplay;\n }) : Vs(o, () => {\n t.style.display = \"none\";\n })) : t.style.display = e ? t.__vOriginalDisplay : \"none\";\n },\n unbind(t, e, n, o, r) {\n r || (t.style.display = t.__vOriginalDisplay);\n }\n },\n si = {\n model: Zs,\n show: ri\n };\nconst ii = {\n name: String,\n appear: Boolean,\n css: Boolean,\n mode: String,\n type: String,\n enterClass: String,\n leaveClass: String,\n enterToClass: String,\n leaveToClass: String,\n enterActiveClass: String,\n leaveActiveClass: String,\n appearClass: String,\n appearActiveClass: String,\n appearToClass: String,\n duration: [Number, String, Object]\n};\nfunction ci(t) {\n const e = t && t.componentOptions;\n return e && e.Ctor.options.abstract ? ci(Le(e.children)) : t;\n}\nfunction ai(t) {\n const e = {},\n n = t.$options;\n for (const o in n.propsData) e[o] = t[o];\n const o = n._parentListeners;\n for (const t in o) e[x(t)] = o[t];\n return e;\n}\nfunction li(t, e) {\n if (/\\d-keep-alive$/.test(e.tag)) return t(\"keep-alive\", {\n props: e.componentOptions.propsData\n });\n}\nconst ui = t => t.tag || Ce(t),\n fi = t => \"show\" === t.name;\nvar di = {\n name: \"transition\",\n props: ii,\n abstract: !0,\n render(t) {\n let e = this.$slots.default;\n if (!e) return;\n if (e = e.filter(ui), !e.length) return;\n const n = this.mode,\n o = e[0];\n if (function (t) {\n for (; t = t.parent;) if (t.data.transition) return !0;\n }(this.$vnode)) return o;\n const r = ci(o);\n if (!r) return o;\n if (this._leaving) return li(t, o);\n const i = `__transition-${this._uid}-`;\n r.key = null == r.key ? r.isComment ? i + \"comment\" : i + r.tag : s(r.key) ? 0 === String(r.key).indexOf(i) ? r.key : i + r.key : r.key;\n const c = (r.data || (r.data = {})).transition = ai(this),\n a = this._vnode,\n l = ci(a);\n if (r.data.directives && r.data.directives.some(fi) && (r.data.show = !0), l && l.data && !function (t, e) {\n return e.key === t.key && e.tag === t.tag;\n }(r, l) && !Ce(l) && (!l.componentInstance || !l.componentInstance._vnode.isComment)) {\n const e = l.data.transition = A({}, c);\n if (\"out-in\" === n) return this._leaving = !0, Yt(e, \"afterLeave\", () => {\n this._leaving = !1, this.$forceUpdate();\n }), li(t, o);\n if (\"in-out\" === n) {\n if (Ce(r)) return a;\n let t;\n const n = () => {\n t();\n };\n Yt(c, \"afterEnter\", n), Yt(c, \"enterCancelled\", n), Yt(e, \"delayLeave\", e => {\n t = e;\n });\n }\n }\n return o;\n }\n};\nconst pi = A({\n tag: String,\n moveClass: String\n}, ii);\ndelete pi.mode;\nvar hi = {\n props: pi,\n beforeMount() {\n const t = this._update;\n this._update = (e, n) => {\n const o = Ke(this);\n this.__patch__(this._vnode, this.kept, !1, !0), this._vnode = this.kept, o(), t.call(this, e, n);\n };\n },\n render(t) {\n const e = this.tag || this.$vnode.data.tag || \"span\",\n n = Object.create(null),\n o = this.prevChildren = this.children,\n r = this.$slots.default || [],\n s = this.children = [],\n i = ai(this);\n for (let t = 0; t < r.length; t++) {\n const e = r[t];\n e.tag && null != e.key && 0 !== String(e.key).indexOf(\"__vlist\") && (s.push(e), n[e.key] = e, (e.data || (e.data = {})).transition = i);\n }\n if (o) {\n const r = [],\n s = [];\n for (let t = 0; t < o.length; t++) {\n const e = o[t];\n e.data.transition = i, e.data.pos = e.elm.getBoundingClientRect(), n[e.key] ? r.push(e) : s.push(e);\n }\n this.kept = t(e, null, r), this.removed = s;\n }\n return t(e, null, s);\n },\n updated() {\n const t = this.prevChildren,\n e = this.moveClass || (this.name || \"v\") + \"-move\";\n t.length && this.hasMove(t[0].elm, e) && (t.forEach(mi), t.forEach(gi), t.forEach(vi), this._reflow = document.body.offsetHeight, t.forEach(t => {\n if (t.data.moved) {\n const n = t.elm,\n o = n.style;\n Is(n, e), o.transform = o.WebkitTransform = o.transitionDuration = \"\", n.addEventListener(Es, n._moveCb = function t(o) {\n o && o.target !== n || o && !/transform$/.test(o.propertyName) || (n.removeEventListener(Es, t), n._moveCb = null, Ls(n, e));\n });\n }\n }));\n },\n methods: {\n hasMove(t, e) {\n if (!Os) return !1;\n if (this._hasMove) return this._hasMove;\n const n = t.cloneNode();\n t._transitionClasses && t._transitionClasses.forEach(t => {\n Cs(n, t);\n }), xs(n, e), n.style.display = \"none\", this.$el.appendChild(n);\n const o = Hs(n);\n return this.$el.removeChild(n), this._hasMove = o.hasTransform;\n }\n }\n};\nfunction mi(t) {\n t.elm._moveCb && t.elm._moveCb(), t.elm._enterCb && t.elm._enterCb();\n}\nfunction gi(t) {\n t.data.newPos = t.elm.getBoundingClientRect();\n}\nfunction vi(t) {\n const e = t.data.pos,\n n = t.data.newPos,\n o = e.left - n.left,\n r = e.top - n.top;\n if (o || r) {\n t.data.moved = !0;\n const e = t.elm.style;\n e.transform = e.WebkitTransform = `translate(${o}px,${r}px)`, e.transitionDuration = \"0s\";\n }\n}\nvar yi = {\n Transition: di,\n TransitionGroup: hi\n};\nSo.config.mustUseProp = Io, So.config.isReservedTag = Yo, So.config.isReservedAttr = Do, So.config.getTagNamespace = Qo, So.config.isUnknownElement = function (t) {\n if (!q) return !0;\n if (Yo(t)) return !1;\n if (t = t.toLowerCase(), null != tr[t]) return tr[t];\n const e = document.createElement(t);\n return t.indexOf(\"-\") > -1 ? tr[t] = e.constructor === window.HTMLUnknownElement || e.constructor === window.HTMLElement : tr[t] = /HTMLUnknownElement/.test(e.toString());\n}, A(So.options.directives, si), A(So.options.components, yi), So.prototype.__patch__ = q ? Ws : E, So.prototype.$mount = function (t, e) {\n return function (t, e, n) {\n let o;\n t.$el = e, t.$options.render || (t.$options.render = ft), Ze(t, \"beforeMount\"), o = () => {\n t._update(t._render(), n);\n }, new Kn(t, o, E, {\n before() {\n t._isMounted && !t._isDestroyed && Ze(t, \"beforeUpdate\");\n }\n }, !0), n = !1;\n const r = t._preWatchers;\n if (r) for (let t = 0; t < r.length; t++) r[t].run();\n return null == t.$vnode && (t._isMounted = !0, Ze(t, \"mounted\")), t;\n }(this, t = t && q ? nr(t) : void 0, e);\n}, q && setTimeout(() => {\n B.devtools && rt && rt.emit(\"init\", So);\n}, 0);\nconst _i = /\\{\\{((?:.|\\r?\\n)+?)\\}\\}/g,\n $i = /[-.*+?^${}()|[\\]\\/\\\\]/g,\n bi = b(t => {\n const e = t[0].replace($i, \"\\\\$&\"),\n n = t[1].replace($i, \"\\\\$&\");\n return new RegExp(e + \"((?:.|\\\\n)+?)\" + n, \"g\");\n });\nvar wi = {\n staticKeys: [\"staticClass\"],\n transformNode: function (t, e) {\n e.warn;\n const n = Ir(t, \"class\");\n n && (t.staticClass = JSON.stringify(n.replace(/\\s+/g, \" \").trim()));\n const o = Mr(t, \"class\", !1);\n o && (t.classBinding = o);\n },\n genData: function (t) {\n let e = \"\";\n return t.staticClass && (e += `staticClass:${t.staticClass},`), t.classBinding && (e += `class:${t.classBinding},`), e;\n }\n};\nvar xi = {\n staticKeys: [\"staticStyle\"],\n transformNode: function (t, e) {\n e.warn;\n const n = Ir(t, \"style\");\n n && (t.staticStyle = JSON.stringify(fs(n)));\n const o = Mr(t, \"style\", !1);\n o && (t.styleBinding = o);\n },\n genData: function (t) {\n let e = \"\";\n return t.staticStyle && (e += `staticStyle:${t.staticStyle},`), t.styleBinding && (e += `style:(${t.styleBinding}),`), e;\n }\n};\nlet Ci;\nvar ki = {\n decode: t => (Ci = Ci || document.createElement(\"div\"), Ci.innerHTML = t, Ci.textContent)\n};\nconst Si = m(\"area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr\"),\n Oi = m(\"colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source\"),\n Ti = m(\"address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track\"),\n Ai = /^\\s*([^\\s\"'<>\\/=]+)(?:\\s*(=)\\s*(?:\"([^\"]*)\"+|'([^']*)'+|([^\\s\"'=<>`]+)))?/,\n ji = /^\\s*((?:v-[\\w-]+:|@|:|#)\\[[^=]+?\\][^\\s\"'<>\\/=]*)(?:\\s*(=)\\s*(?:\"([^\"]*)\"+|'([^']*)'+|([^\\s\"'=<>`]+)))?/,\n Ei = `[a-zA-Z_][\\\\-\\\\.0-9_a-zA-Z${U.source}]*`,\n Ni = `((?:${Ei}\\\\:)?${Ei})`,\n Pi = new RegExp(`^<${Ni}`),\n Di = /^\\s*(\\/?)>/,\n Mi = new RegExp(`^<\\\\/${Ni}[^>]*>`),\n Ii = /^]+>/i,\n Li = /^\",\n \""\": '\"',\n \"&\": \"&\",\n \" \": \"\\n\",\n \" \": \"\\t\",\n \"'\": \"'\"\n },\n Ui = /&(?:lt|gt|quot|amp|#39);/g,\n zi = /&(?:lt|gt|quot|amp|#39|#10|#9);/g,\n Vi = m(\"pre,textarea\", !0),\n Ki = (t, e) => t && Vi(t) && \"\\n\" === e[0];\nfunction Ji(t, e) {\n const n = e ? zi : Ui;\n return t.replace(n, t => Bi[t]);\n}\nconst qi = /^@|^v-on:/,\n Wi = /^v-|^@|^:|^#/,\n Zi = /([\\s\\S]*?)\\s+(?:in|of)\\s+([\\s\\S]*)/,\n Gi = /,([^,\\}\\]]*)(?:,([^,\\}\\]]*))?$/,\n Xi = /^\\(|\\)$/g,\n Yi = /^\\[.*\\]$/,\n Qi = /:(.*)$/,\n tc = /^:|^\\.|^v-bind:/,\n ec = /\\.[^.\\]]+(?=[^\\]]*$)/g,\n nc = /^v-slot(:|$)|^#/,\n oc = /[\\r\\n]/,\n rc = /[ \\f\\t\\r\\n]+/g,\n sc = b(ki.decode),\n ic = \"_empty_\";\nlet cc, ac, lc, uc, fc, dc, pc, hc;\nfunction mc(t, e, n) {\n return {\n type: 1,\n tag: t,\n attrsList: e,\n attrsMap: wc(e),\n rawAttrsMap: {},\n parent: n,\n children: []\n };\n}\nfunction gc(t, e) {\n cc = e.warn || Or, dc = e.isPreTag || N, pc = e.mustUseProp || N, hc = e.getTagNamespace || N, e.isReservedTag, lc = Tr(e.modules, \"transformNode\"), uc = Tr(e.modules, \"preTransformNode\"), fc = Tr(e.modules, \"postTransformNode\"), ac = e.delimiters;\n const n = [],\n o = !1 !== e.preserveWhitespace,\n r = e.whitespace;\n let s,\n i,\n c = !1,\n a = !1;\n function l(t) {\n if (u(t), c || t.processed || (t = vc(t, e)), n.length || t === s || s.if && (t.elseif || t.else) && _c(s, {\n exp: t.elseif,\n block: t\n }), i && !t.forbidden) if (t.elseif || t.else) !function (t, e) {\n const n = function (t) {\n let e = t.length;\n for (; e--;) {\n if (1 === t[e].type) return t[e];\n t.pop();\n }\n }(e.children);\n n && n.if && _c(n, {\n exp: t.elseif,\n block: t\n });\n }(t, i);else {\n if (t.slotScope) {\n const e = t.slotTarget || '\"default\"';\n (i.scopedSlots || (i.scopedSlots = {}))[e] = t;\n }\n i.children.push(t), t.parent = i;\n }\n t.children = t.children.filter(t => !t.slotScope), u(t), t.pre && (c = !1), dc(t.tag) && (a = !1);\n for (let n = 0; n < fc.length; n++) fc[n](t, e);\n }\n function u(t) {\n if (!a) {\n let e;\n for (; (e = t.children[t.children.length - 1]) && 3 === e.type && \" \" === e.text;) t.children.pop();\n }\n }\n return function (t, e) {\n const n = [],\n o = e.expectHTML,\n r = e.isUnaryTag || N,\n s = e.canBeLeftOpenTag || N;\n let i,\n c,\n a = 0;\n for (; t;) {\n if (i = t, c && Fi(c)) {\n let n = 0;\n const o = c.toLowerCase(),\n r = Hi[o] || (Hi[o] = new RegExp(\"([\\\\s\\\\S]*?)(]*>)\", \"i\")),\n s = t.replace(r, function (t, r, s) {\n return n = s.length, Fi(o) || \"noscript\" === o || (r = r.replace(//g, \"$1\").replace(//g, \"$1\")), Ki(o, r) && (r = r.slice(1)), e.chars && e.chars(r), \"\";\n });\n a += t.length - s.length, t = s, d(o, a - n, a);\n } else {\n let n,\n o,\n r,\n s = t.indexOf(\"<\");\n if (0 === s) {\n if (Li.test(t)) {\n const n = t.indexOf(\"--\\x3e\");\n if (n >= 0) {\n e.shouldKeepComment && e.comment && e.comment(t.substring(4, n), a, a + n + 3), l(n + 3);\n continue;\n }\n }\n if (Ri.test(t)) {\n const e = t.indexOf(\"]>\");\n if (e >= 0) {\n l(e + 2);\n continue;\n }\n }\n const n = t.match(Ii);\n if (n) {\n l(n[0].length);\n continue;\n }\n const o = t.match(Mi);\n if (o) {\n const t = a;\n l(o[0].length), d(o[1], t, a);\n continue;\n }\n const r = u();\n if (r) {\n f(r), Ki(r.tagName, t) && l(1);\n continue;\n }\n }\n if (s >= 0) {\n for (o = t.slice(s); !(Mi.test(o) || Pi.test(o) || Li.test(o) || Ri.test(o) || (r = o.indexOf(\"<\", 1), r < 0));) s += r, o = t.slice(s);\n n = t.substring(0, s);\n }\n s < 0 && (n = t), n && l(n.length), e.chars && n && e.chars(n, a - n.length, a);\n }\n if (t === i) {\n e.chars && e.chars(t);\n break;\n }\n }\n function l(e) {\n a += e, t = t.substring(e);\n }\n function u() {\n const e = t.match(Pi);\n if (e) {\n const n = {\n tagName: e[1],\n attrs: [],\n start: a\n };\n let o, r;\n for (l(e[0].length); !(o = t.match(Di)) && (r = t.match(ji) || t.match(Ai));) r.start = a, l(r[0].length), r.end = a, n.attrs.push(r);\n if (o) return n.unarySlash = o[1], l(o[0].length), n.end = a, n;\n }\n }\n function f(t) {\n const i = t.tagName,\n a = t.unarySlash;\n o && (\"p\" === c && Ti(i) && d(c), s(i) && c === i && d(i));\n const l = r(i) || !!a,\n u = t.attrs.length,\n f = new Array(u);\n for (let n = 0; n < u; n++) {\n const o = t.attrs[n],\n r = o[3] || o[4] || o[5] || \"\",\n s = \"a\" === i && \"href\" === o[1] ? e.shouldDecodeNewlinesForHref : e.shouldDecodeNewlines;\n f[n] = {\n name: o[1],\n value: Ji(r, s)\n };\n }\n l || (n.push({\n tag: i,\n lowerCasedTag: i.toLowerCase(),\n attrs: f,\n start: t.start,\n end: t.end\n }), c = i), e.start && e.start(i, f, l, t.start, t.end);\n }\n function d(t, o, r) {\n let s, i;\n if (null == o && (o = a), null == r && (r = a), t) for (i = t.toLowerCase(), s = n.length - 1; s >= 0 && n[s].lowerCasedTag !== i; s--);else s = 0;\n if (s >= 0) {\n for (let t = n.length - 1; t >= s; t--) e.end && e.end(n[t].tag, o, r);\n n.length = s, c = s && n[s - 1].tag;\n } else \"br\" === i ? e.start && e.start(t, [], !0, o, r) : \"p\" === i && (e.start && e.start(t, [], !1, o, r), e.end && e.end(t, o, r));\n }\n d();\n }(t, {\n warn: cc,\n expectHTML: e.expectHTML,\n isUnaryTag: e.isUnaryTag,\n canBeLeftOpenTag: e.canBeLeftOpenTag,\n shouldDecodeNewlines: e.shouldDecodeNewlines,\n shouldDecodeNewlinesForHref: e.shouldDecodeNewlinesForHref,\n shouldKeepComment: e.comments,\n outputSourceRange: e.outputSourceRange,\n start(t, o, r, u, f) {\n const d = i && i.ns || hc(t);\n Z && \"svg\" === d && (o = function (t) {\n const e = [];\n for (let n = 0; n < t.length; n++) {\n const o = t[n];\n xc.test(o.name) || (o.name = o.name.replace(Cc, \"\"), e.push(o));\n }\n return e;\n }(o));\n let p = mc(t, o, i);\n var h;\n d && (p.ns = d), \"style\" !== (h = p).tag && (\"script\" !== h.tag || h.attrsMap.type && \"text/javascript\" !== h.attrsMap.type) || ot() || (p.forbidden = !0);\n for (let t = 0; t < uc.length; t++) p = uc[t](p, e) || p;\n c || (!function (t) {\n null != Ir(t, \"v-pre\") && (t.pre = !0);\n }(p), p.pre && (c = !0)), dc(p.tag) && (a = !0), c ? function (t) {\n const e = t.attrsList,\n n = e.length;\n if (n) {\n const o = t.attrs = new Array(n);\n for (let t = 0; t < n; t++) o[t] = {\n name: e[t].name,\n value: JSON.stringify(e[t].value)\n }, null != e[t].start && (o[t].start = e[t].start, o[t].end = e[t].end);\n } else t.pre || (t.plain = !0);\n }(p) : p.processed || (yc(p), function (t) {\n const e = Ir(t, \"v-if\");\n if (e) t.if = e, _c(t, {\n exp: e,\n block: t\n });else {\n null != Ir(t, \"v-else\") && (t.else = !0);\n const e = Ir(t, \"v-else-if\");\n e && (t.elseif = e);\n }\n }(p), function (t) {\n const e = Ir(t, \"v-once\");\n null != e && (t.once = !0);\n }(p)), s || (s = p), r ? l(p) : (i = p, n.push(p));\n },\n end(t, e, o) {\n const r = n[n.length - 1];\n n.length -= 1, i = n[n.length - 1], l(r);\n },\n chars(t, e, n) {\n if (!i) return;\n if (Z && \"textarea\" === i.tag && i.attrsMap.placeholder === t) return;\n const s = i.children;\n var l;\n if (t = a || t.trim() ? \"script\" === (l = i).tag || \"style\" === l.tag ? t : sc(t) : s.length ? r ? \"condense\" === r && oc.test(t) ? \"\" : \" \" : o ? \" \" : \"\" : \"\") {\n let e, n;\n a || \"condense\" !== r || (t = t.replace(rc, \" \")), !c && \" \" !== t && (e = function (t, e) {\n const n = e ? bi(e) : _i;\n if (!n.test(t)) return;\n const o = [],\n r = [];\n let s,\n i,\n c,\n a = n.lastIndex = 0;\n for (; s = n.exec(t);) {\n i = s.index, i > a && (r.push(c = t.slice(a, i)), o.push(JSON.stringify(c)));\n const e = kr(s[1].trim());\n o.push(`_s(${e})`), r.push({\n \"@binding\": e\n }), a = i + s[0].length;\n }\n return a < t.length && (r.push(c = t.slice(a)), o.push(JSON.stringify(c))), {\n expression: o.join(\"+\"),\n tokens: r\n };\n }(t, ac)) ? n = {\n type: 2,\n expression: e.expression,\n tokens: e.tokens,\n text: t\n } : \" \" === t && s.length && \" \" === s[s.length - 1].text || (n = {\n type: 3,\n text: t\n }), n && s.push(n);\n }\n },\n comment(t, e, n) {\n if (i) {\n const e = {\n type: 3,\n text: t,\n isComment: !0\n };\n i.children.push(e);\n }\n }\n }), s;\n}\nfunction vc(t, e) {\n var n;\n !function (t) {\n const e = Mr(t, \"key\");\n e && (t.key = e);\n }(t), t.plain = !t.key && !t.scopedSlots && !t.attrsList.length, function (t) {\n const e = Mr(t, \"ref\");\n e && (t.ref = e, t.refInFor = function (t) {\n let e = t;\n for (; e;) {\n if (void 0 !== e.for) return !0;\n e = e.parent;\n }\n return !1;\n }(t));\n }(t), function (t) {\n let e;\n \"template\" === t.tag ? (e = Ir(t, \"scope\"), t.slotScope = e || Ir(t, \"slot-scope\")) : (e = Ir(t, \"slot-scope\")) && (t.slotScope = e);\n const n = Mr(t, \"slot\");\n n && (t.slotTarget = '\"\"' === n ? '\"default\"' : n, t.slotTargetDynamic = !(!t.attrsMap[\":slot\"] && !t.attrsMap[\"v-bind:slot\"]), \"template\" === t.tag || t.slotScope || jr(t, \"slot\", n, function (t, e) {\n return t.rawAttrsMap[\":\" + e] || t.rawAttrsMap[\"v-bind:\" + e] || t.rawAttrsMap[e];\n }(t, \"slot\")));\n if (\"template\" === t.tag) {\n const e = Lr(t, nc);\n if (e) {\n const {\n name: n,\n dynamic: o\n } = $c(e);\n t.slotTarget = n, t.slotTargetDynamic = o, t.slotScope = e.value || ic;\n }\n } else {\n const e = Lr(t, nc);\n if (e) {\n const n = t.scopedSlots || (t.scopedSlots = {}),\n {\n name: o,\n dynamic: r\n } = $c(e),\n s = n[o] = mc(\"template\", [], t);\n s.slotTarget = o, s.slotTargetDynamic = r, s.children = t.children.filter(t => {\n if (!t.slotScope) return t.parent = s, !0;\n }), s.slotScope = e.value || ic, t.children = [], t.plain = !1;\n }\n }\n }(t), \"slot\" === (n = t).tag && (n.slotName = Mr(n, \"name\")), function (t) {\n let e;\n (e = Mr(t, \"is\")) && (t.component = e);\n null != Ir(t, \"inline-template\") && (t.inlineTemplate = !0);\n }(t);\n for (let n = 0; n < lc.length; n++) t = lc[n](t, e) || t;\n return function (t) {\n const e = t.attrsList;\n let n, o, r, s, i, c, a, l;\n for (n = 0, o = e.length; n < o; n++) if (r = s = e[n].name, i = e[n].value, Wi.test(r)) {\n if (t.hasBindings = !0, c = bc(r.replace(Wi, \"\")), c && (r = r.replace(ec, \"\")), tc.test(r)) r = r.replace(tc, \"\"), i = kr(i), l = Yi.test(r), l && (r = r.slice(1, -1)), c && (c.prop && !l && (r = x(r), \"innerHtml\" === r && (r = \"innerHTML\")), c.camel && !l && (r = x(r)), c.sync && (a = Hr(i, \"$event\"), l ? Dr(t, `\"update:\"+(${r})`, a, null, !1, 0, e[n], !0) : (Dr(t, `update:${x(r)}`, a, null, !1, 0, e[n]), S(r) !== x(r) && Dr(t, `update:${S(r)}`, a, null, !1, 0, e[n])))), c && c.prop || !t.component && pc(t.tag, t.attrsMap.type, r) ? Ar(t, r, i, e[n], l) : jr(t, r, i, e[n], l);else if (qi.test(r)) r = r.replace(qi, \"\"), l = Yi.test(r), l && (r = r.slice(1, -1)), Dr(t, r, i, c, !1, 0, e[n], l);else {\n r = r.replace(Wi, \"\");\n const o = r.match(Qi);\n let a = o && o[1];\n l = !1, a && (r = r.slice(0, -(a.length + 1)), Yi.test(a) && (a = a.slice(1, -1), l = !0)), Nr(t, r, s, i, a, l, c, e[n]);\n }\n } else jr(t, r, JSON.stringify(i), e[n]), !t.component && \"muted\" === r && pc(t.tag, t.attrsMap.type, r) && Ar(t, r, \"true\", e[n]);\n }(t), t;\n}\nfunction yc(t) {\n let e;\n if (e = Ir(t, \"v-for\")) {\n const n = function (t) {\n const e = t.match(Zi);\n if (!e) return;\n const n = {};\n n.for = e[2].trim();\n const o = e[1].trim().replace(Xi, \"\"),\n r = o.match(Gi);\n r ? (n.alias = o.replace(Gi, \"\").trim(), n.iterator1 = r[1].trim(), r[2] && (n.iterator2 = r[2].trim())) : n.alias = o;\n return n;\n }(e);\n n && A(t, n);\n }\n}\nfunction _c(t, e) {\n t.ifConditions || (t.ifConditions = []), t.ifConditions.push(e);\n}\nfunction $c(t) {\n let e = t.name.replace(nc, \"\");\n return e || \"#\" !== t.name[0] && (e = \"default\"), Yi.test(e) ? {\n name: e.slice(1, -1),\n dynamic: !0\n } : {\n name: `\"${e}\"`,\n dynamic: !1\n };\n}\nfunction bc(t) {\n const e = t.match(ec);\n if (e) {\n const t = {};\n return e.forEach(e => {\n t[e.slice(1)] = !0;\n }), t;\n }\n}\nfunction wc(t) {\n const e = {};\n for (let n = 0, o = t.length; n < o; n++) e[t[n].name] = t[n].value;\n return e;\n}\nconst xc = /^xmlns:NS\\d+/,\n Cc = /^NS\\d+:/;\nfunction kc(t) {\n return mc(t.tag, t.attrsList.slice(), t.parent);\n}\nvar Sc = [wi, xi, {\n preTransformNode: function (t, e) {\n if (\"input\" === t.tag) {\n const n = t.attrsMap;\n if (!n[\"v-model\"]) return;\n let o;\n if ((n[\":type\"] || n[\"v-bind:type\"]) && (o = Mr(t, \"type\")), n.type || o || !n[\"v-bind\"] || (o = `(${n[\"v-bind\"]}).type`), o) {\n const n = Ir(t, \"v-if\", !0),\n r = n ? `&&(${n})` : \"\",\n s = null != Ir(t, \"v-else\", !0),\n i = Ir(t, \"v-else-if\", !0),\n c = kc(t);\n yc(c), Er(c, \"type\", \"checkbox\"), vc(c, e), c.processed = !0, c.if = `(${o})==='checkbox'` + r, _c(c, {\n exp: c.if,\n block: c\n });\n const a = kc(t);\n Ir(a, \"v-for\", !0), Er(a, \"type\", \"radio\"), vc(a, e), _c(c, {\n exp: `(${o})==='radio'` + r,\n block: a\n });\n const l = kc(t);\n return Ir(l, \"v-for\", !0), Er(l, \":type\", o), vc(l, e), _c(c, {\n exp: n,\n block: l\n }), s ? c.else = !0 : i && (c.elseif = i), c;\n }\n }\n }\n}];\nconst Oc = {\n expectHTML: !0,\n modules: Sc,\n directives: {\n model: function (t, e, n) {\n const o = e.value,\n r = e.modifiers,\n s = t.tag,\n i = t.attrsMap.type;\n if (t.component) return Fr(t, o, r), !1;\n if (\"select\" === s) !function (t, e, n) {\n const o = n && n.number;\n let r = `var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return ${o ? \"_n(val)\" : \"val\"}});`;\n r = `${r} ${Hr(e, \"$event.target.multiple ? $$selectedVal : $$selectedVal[0]\")}`, Dr(t, \"change\", r, null, !0);\n }(t, o, r);else if (\"input\" === s && \"checkbox\" === i) !function (t, e, n) {\n const o = n && n.number,\n r = Mr(t, \"value\") || \"null\",\n s = Mr(t, \"true-value\") || \"true\",\n i = Mr(t, \"false-value\") || \"false\";\n Ar(t, \"checked\", `Array.isArray(${e})?_i(${e},${r})>-1` + (\"true\" === s ? `:(${e})` : `:_q(${e},${s})`)), Dr(t, \"change\", `var $$a=${e},$$el=$event.target,$$c=$$el.checked?(${s}):(${i});if(Array.isArray($$a)){var $$v=${o ? \"_n(\" + r + \")\" : r},$$i=_i($$a,$$v);if($$el.checked){$$i<0&&(${Hr(e, \"$$a.concat([$$v])\")})}else{$$i>-1&&(${Hr(e, \"$$a.slice(0,$$i).concat($$a.slice($$i+1))\")})}}else{${Hr(e, \"$$c\")}}`, null, !0);\n }(t, o, r);else if (\"input\" === s && \"radio\" === i) !function (t, e, n) {\n const o = n && n.number;\n let r = Mr(t, \"value\") || \"null\";\n r = o ? `_n(${r})` : r, Ar(t, \"checked\", `_q(${e},${r})`), Dr(t, \"change\", Hr(e, r), null, !0);\n }(t, o, r);else if (\"input\" === s || \"textarea\" === s) !function (t, e, n) {\n const o = t.attrsMap.type,\n {\n lazy: r,\n number: s,\n trim: i\n } = n || {},\n c = !r && \"range\" !== o,\n a = r ? \"change\" : \"range\" === o ? Yr : \"input\";\n let l = \"$event.target.value\";\n i && (l = \"$event.target.value.trim()\");\n s && (l = `_n(${l})`);\n let u = Hr(e, l);\n c && (u = `if($event.target.composing)return;${u}`);\n Ar(t, \"value\", `(${e})`), Dr(t, a, u, null, !0), (i || s) && Dr(t, \"blur\", \"$forceUpdate()\");\n }(t, o, r);else if (!B.isReservedTag(s)) return Fr(t, o, r), !1;\n return !0;\n },\n text: function (t, e) {\n e.value && Ar(t, \"textContent\", `_s(${e.value})`, e);\n },\n html: function (t, e) {\n e.value && Ar(t, \"innerHTML\", `_s(${e.value})`, e);\n }\n },\n isPreTag: t => \"pre\" === t,\n isUnaryTag: Si,\n mustUseProp: Io,\n canBeLeftOpenTag: Oi,\n isReservedTag: Yo,\n getTagNamespace: Qo,\n staticKeys: function (t) {\n return t.reduce((t, e) => t.concat(e.staticKeys || []), []).join(\",\");\n }(Sc)\n};\nlet Tc, Ac;\nconst jc = b(function (t) {\n return m(\"type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap\" + (t ? \",\" + t : \"\"));\n});\nfunction Ec(t, e) {\n t && (Tc = jc(e.staticKeys || \"\"), Ac = e.isReservedTag || N, Nc(t), Pc(t, !1));\n}\nfunction Nc(t) {\n if (t.static = function (t) {\n if (2 === t.type) return !1;\n if (3 === t.type) return !0;\n return !(!t.pre && (t.hasBindings || t.if || t.for || g(t.tag) || !Ac(t.tag) || function (t) {\n for (; t.parent;) {\n if (\"template\" !== (t = t.parent).tag) return !1;\n if (t.for) return !0;\n }\n return !1;\n }(t) || !Object.keys(t).every(Tc)));\n }(t), 1 === t.type) {\n if (!Ac(t.tag) && \"slot\" !== t.tag && null == t.attrsMap[\"inline-template\"]) return;\n for (let e = 0, n = t.children.length; e < n; e++) {\n const n = t.children[e];\n Nc(n), n.static || (t.static = !1);\n }\n if (t.ifConditions) for (let e = 1, n = t.ifConditions.length; e < n; e++) {\n const n = t.ifConditions[e].block;\n Nc(n), n.static || (t.static = !1);\n }\n }\n}\nfunction Pc(t, e) {\n if (1 === t.type) {\n if ((t.static || t.once) && (t.staticInFor = e), t.static && t.children.length && (1 !== t.children.length || 3 !== t.children[0].type)) return void (t.staticRoot = !0);\n if (t.staticRoot = !1, t.children) for (let n = 0, o = t.children.length; n < o; n++) Pc(t.children[n], e || !!t.for);\n if (t.ifConditions) for (let n = 1, o = t.ifConditions.length; n < o; n++) Pc(t.ifConditions[n].block, e);\n }\n}\nconst Dc = /^([\\w$_]+|\\([^)]*?\\))\\s*=>|^function(?:\\s+[\\w$]+)?\\s*\\(/,\n Mc = /\\([^)]*?\\);*$/,\n Ic = /^[A-Za-z_$][\\w$]*(?:\\.[A-Za-z_$][\\w$]*|\\['[^']*?']|\\[\"[^\"]*?\"]|\\[\\d+]|\\[[A-Za-z_$][\\w$]*])*$/,\n Lc = {\n esc: 27,\n tab: 9,\n enter: 13,\n space: 32,\n up: 38,\n left: 37,\n right: 39,\n down: 40,\n delete: [8, 46]\n },\n Rc = {\n esc: [\"Esc\", \"Escape\"],\n tab: \"Tab\",\n enter: \"Enter\",\n space: [\" \", \"Spacebar\"],\n up: [\"Up\", \"ArrowUp\"],\n left: [\"Left\", \"ArrowLeft\"],\n right: [\"Right\", \"ArrowRight\"],\n down: [\"Down\", \"ArrowDown\"],\n delete: [\"Backspace\", \"Delete\", \"Del\"]\n },\n Fc = t => `if(${t})return null;`,\n Hc = {\n stop: \"$event.stopPropagation();\",\n prevent: \"$event.preventDefault();\",\n self: Fc(\"$event.target !== $event.currentTarget\"),\n ctrl: Fc(\"!$event.ctrlKey\"),\n shift: Fc(\"!$event.shiftKey\"),\n alt: Fc(\"!$event.altKey\"),\n meta: Fc(\"!$event.metaKey\"),\n left: Fc(\"'button' in $event && $event.button !== 0\"),\n middle: Fc(\"'button' in $event && $event.button !== 1\"),\n right: Fc(\"'button' in $event && $event.button !== 2\")\n };\nfunction Bc(t, e) {\n const n = e ? \"nativeOn:\" : \"on:\";\n let o = \"\",\n r = \"\";\n for (const e in t) {\n const n = Uc(t[e]);\n t[e] && t[e].dynamic ? r += `${e},${n},` : o += `\"${e}\":${n},`;\n }\n return o = `{${o.slice(0, -1)}}`, r ? n + `_d(${o},[${r.slice(0, -1)}])` : n + o;\n}\nfunction Uc(t) {\n if (!t) return \"function(){}\";\n if (Array.isArray(t)) return `[${t.map(t => Uc(t)).join(\",\")}]`;\n const e = Ic.test(t.value),\n n = Dc.test(t.value),\n o = Ic.test(t.value.replace(Mc, \"\"));\n if (t.modifiers) {\n let r = \"\",\n s = \"\";\n const i = [];\n for (const e in t.modifiers) if (Hc[e]) s += Hc[e], Lc[e] && i.push(e);else if (\"exact\" === e) {\n const e = t.modifiers;\n s += Fc([\"ctrl\", \"shift\", \"alt\", \"meta\"].filter(t => !e[t]).map(t => `$event.${t}Key`).join(\"||\"));\n } else i.push(e);\n i.length && (r += function (t) {\n return `if(!$event.type.indexOf('key')&&${t.map(zc).join(\"&&\")})return null;`;\n }(i)), s && (r += s);\n return `function($event){${r}${e ? `return ${t.value}.apply(null, arguments)` : n ? `return (${t.value}).apply(null, arguments)` : o ? `return ${t.value}` : t.value}}`;\n }\n return e || n ? t.value : `function($event){${o ? `return ${t.value}` : t.value}}`;\n}\nfunction zc(t) {\n const e = parseInt(t, 10);\n if (e) return `$event.keyCode!==${e}`;\n const n = Lc[t],\n o = Rc[t];\n return `_k($event.keyCode,${JSON.stringify(t)},${JSON.stringify(n)},$event.key,${JSON.stringify(o)})`;\n}\nvar Vc = {\n on: function (t, e) {\n t.wrapListeners = t => `_g(${t},${e.value})`;\n },\n bind: function (t, e) {\n t.wrapData = n => `_b(${n},'${t.tag}',${e.value},${e.modifiers && e.modifiers.prop ? \"true\" : \"false\"}${e.modifiers && e.modifiers.sync ? \",true\" : \"\"})`;\n },\n cloak: E\n};\nclass Kc {\n constructor(t) {\n this.options = t, this.warn = t.warn || Or, this.transforms = Tr(t.modules, \"transformCode\"), this.dataGenFns = Tr(t.modules, \"genData\"), this.directives = A(A({}, Vc), t.directives);\n const e = t.isReservedTag || N;\n this.maybeComponent = t => !!t.component || !e(t.tag), this.onceId = 0, this.staticRenderFns = [], this.pre = !1;\n }\n}\nfunction Jc(t, e) {\n const n = new Kc(e);\n return {\n render: `with(this){return ${t ? \"script\" === t.tag ? \"null\" : qc(t, n) : '_c(\"div\")'}}`,\n staticRenderFns: n.staticRenderFns\n };\n}\nfunction qc(t, e) {\n if (t.parent && (t.pre = t.pre || t.parent.pre), t.staticRoot && !t.staticProcessed) return Wc(t, e);\n if (t.once && !t.onceProcessed) return Zc(t, e);\n if (t.for && !t.forProcessed) return Yc(t, e);\n if (t.if && !t.ifProcessed) return Gc(t, e);\n if (\"template\" !== t.tag || t.slotTarget || e.pre) {\n if (\"slot\" === t.tag) return function (t, e) {\n const n = t.slotName || '\"default\"',\n o = na(t, e);\n let r = `_t(${n}${o ? `,function(){return ${o}}` : \"\"}`;\n const s = t.attrs || t.dynamicAttrs ? sa((t.attrs || []).concat(t.dynamicAttrs || []).map(t => ({\n name: x(t.name),\n value: t.value,\n dynamic: t.dynamic\n }))) : null,\n i = t.attrsMap[\"v-bind\"];\n !s && !i || o || (r += \",null\");\n s && (r += `,${s}`);\n i && (r += `${s ? \"\" : \",null\"},${i}`);\n return r + \")\";\n }(t, e);\n {\n let n;\n if (t.component) n = function (t, e, n) {\n const o = e.inlineTemplate ? null : na(e, n, !0);\n return `_c(${t},${Qc(e, n)}${o ? `,${o}` : \"\"})`;\n }(t.component, t, e);else {\n let o;\n const r = e.maybeComponent(t);\n let s;\n (!t.plain || t.pre && r) && (o = Qc(t, e));\n const i = e.options.bindings;\n r && i && !1 !== i.__isScriptSetup && (s = function (t, e) {\n const n = x(e),\n o = C(n),\n r = r => t[e] === r ? e : t[n] === r ? n : t[o] === r ? o : void 0,\n s = r(\"setup-const\") || r(\"setup-reactive-const\");\n if (s) return s;\n const i = r(\"setup-let\") || r(\"setup-ref\") || r(\"setup-maybe-ref\");\n if (i) return i;\n }(i, t.tag)), s || (s = `'${t.tag}'`);\n const c = t.inlineTemplate ? null : na(t, e, !0);\n n = `_c(${s}${o ? `,${o}` : \"\"}${c ? `,${c}` : \"\"})`;\n }\n for (let o = 0; o < e.transforms.length; o++) n = e.transforms[o](t, n);\n return n;\n }\n }\n return na(t, e) || \"void 0\";\n}\nfunction Wc(t, e) {\n t.staticProcessed = !0;\n const n = e.pre;\n return t.pre && (e.pre = t.pre), e.staticRenderFns.push(`with(this){return ${qc(t, e)}}`), e.pre = n, `_m(${e.staticRenderFns.length - 1}${t.staticInFor ? \",true\" : \"\"})`;\n}\nfunction Zc(t, e) {\n if (t.onceProcessed = !0, t.if && !t.ifProcessed) return Gc(t, e);\n if (t.staticInFor) {\n let n = \"\",\n o = t.parent;\n for (; o;) {\n if (o.for) {\n n = o.key;\n break;\n }\n o = o.parent;\n }\n return n ? `_o(${qc(t, e)},${e.onceId++},${n})` : qc(t, e);\n }\n return Wc(t, e);\n}\nfunction Gc(t, e, n, o) {\n return t.ifProcessed = !0, Xc(t.ifConditions.slice(), e, n, o);\n}\nfunction Xc(t, e, n, o) {\n if (!t.length) return o || \"_e()\";\n const r = t.shift();\n return r.exp ? `(${r.exp})?${s(r.block)}:${Xc(t, e, n, o)}` : `${s(r.block)}`;\n function s(t) {\n return n ? n(t, e) : t.once ? Zc(t, e) : qc(t, e);\n }\n}\nfunction Yc(t, e, n, o) {\n const r = t.for,\n s = t.alias,\n i = t.iterator1 ? `,${t.iterator1}` : \"\",\n c = t.iterator2 ? `,${t.iterator2}` : \"\";\n return t.forProcessed = !0, `${o || \"_l\"}((${r}),function(${s}${i}${c}){return ${(n || qc)(t, e)}})`;\n}\nfunction Qc(t, e) {\n let n = \"{\";\n const o = function (t, e) {\n const n = t.directives;\n if (!n) return;\n let o,\n r,\n s,\n i,\n c = \"directives:[\",\n a = !1;\n for (o = 0, r = n.length; o < r; o++) {\n s = n[o], i = !0;\n const r = e.directives[s.name];\n r && (i = !!r(t, s, e.warn)), i && (a = !0, c += `{name:\"${s.name}\",rawName:\"${s.rawName}\"${s.value ? `,value:(${s.value}),expression:${JSON.stringify(s.value)}` : \"\"}${s.arg ? `,arg:${s.isDynamicArg ? s.arg : `\"${s.arg}\"`}` : \"\"}${s.modifiers ? `,modifiers:${JSON.stringify(s.modifiers)}` : \"\"}},`);\n }\n if (a) return c.slice(0, -1) + \"]\";\n }(t, e);\n o && (n += o + \",\"), t.key && (n += `key:${t.key},`), t.ref && (n += `ref:${t.ref},`), t.refInFor && (n += \"refInFor:true,\"), t.pre && (n += \"pre:true,\"), t.component && (n += `tag:\"${t.tag}\",`);\n for (let o = 0; o < e.dataGenFns.length; o++) n += e.dataGenFns[o](t);\n if (t.attrs && (n += `attrs:${sa(t.attrs)},`), t.props && (n += `domProps:${sa(t.props)},`), t.events && (n += `${Bc(t.events, !1)},`), t.nativeEvents && (n += `${Bc(t.nativeEvents, !0)},`), t.slotTarget && !t.slotScope && (n += `slot:${t.slotTarget},`), t.scopedSlots && (n += `${function (t, e, n) {\n let o = t.for || Object.keys(e).some(t => {\n const n = e[t];\n return n.slotTargetDynamic || n.if || n.for || ta(n);\n }),\n r = !!t.if;\n if (!o) {\n let e = t.parent;\n for (; e;) {\n if (e.slotScope && e.slotScope !== ic || e.for) {\n o = !0;\n break;\n }\n e.if && (r = !0), e = e.parent;\n }\n }\n const s = Object.keys(e).map(t => ea(e[t], n)).join(\",\");\n return `scopedSlots:_u([${s}]${o ? \",null,true\" : \"\"}${!o && r ? `,null,false,${function (t) {\n let e = 5381,\n n = t.length;\n for (; n;) e = 33 * e ^ t.charCodeAt(--n);\n return e >>> 0;\n }(s)}` : \"\"})`;\n }(t, t.scopedSlots, e)},`), t.model && (n += `model:{value:${t.model.value},callback:${t.model.callback},expression:${t.model.expression}},`), t.inlineTemplate) {\n const o = function (t, e) {\n const n = t.children[0];\n if (n && 1 === n.type) {\n const t = Jc(n, e.options);\n return `inlineTemplate:{render:function(){${t.render}},staticRenderFns:[${t.staticRenderFns.map(t => `function(){${t}}`).join(\",\")}]}`;\n }\n }(t, e);\n o && (n += `${o},`);\n }\n return n = n.replace(/,$/, \"\") + \"}\", t.dynamicAttrs && (n = `_b(${n},\"${t.tag}\",${sa(t.dynamicAttrs)})`), t.wrapData && (n = t.wrapData(n)), t.wrapListeners && (n = t.wrapListeners(n)), n;\n}\nfunction ta(t) {\n return 1 === t.type && (\"slot\" === t.tag || t.children.some(ta));\n}\nfunction ea(t, e) {\n const n = t.attrsMap[\"slot-scope\"];\n if (t.if && !t.ifProcessed && !n) return Gc(t, e, ea, \"null\");\n if (t.for && !t.forProcessed) return Yc(t, e, ea);\n const o = t.slotScope === ic ? \"\" : String(t.slotScope),\n r = `function(${o}){return ${\"template\" === t.tag ? t.if && n ? `(${t.if})?${na(t, e) || \"undefined\"}:undefined` : na(t, e) || \"undefined\" : qc(t, e)}}`,\n s = o ? \"\" : \",proxy:true\";\n return `{key:${t.slotTarget || '\"default\"'},fn:${r}${s}}`;\n}\nfunction na(t, e, n, o, r) {\n const s = t.children;\n if (s.length) {\n const t = s[0];\n if (1 === s.length && t.for && \"template\" !== t.tag && \"slot\" !== t.tag) {\n const r = n ? e.maybeComponent(t) ? \",1\" : \",0\" : \"\";\n return `${(o || qc)(t, e)}${r}`;\n }\n const i = n ? function (t, e) {\n let n = 0;\n for (let o = 0; o < t.length; o++) {\n const r = t[o];\n if (1 === r.type) {\n if (oa(r) || r.ifConditions && r.ifConditions.some(t => oa(t.block))) {\n n = 2;\n break;\n }\n (e(r) || r.ifConditions && r.ifConditions.some(t => e(t.block))) && (n = 1);\n }\n }\n return n;\n }(s, e.maybeComponent) : 0,\n c = r || ra;\n return `[${s.map(t => c(t, e)).join(\",\")}]${i ? `,${i}` : \"\"}`;\n }\n}\nfunction oa(t) {\n return void 0 !== t.for || \"template\" === t.tag || \"slot\" === t.tag;\n}\nfunction ra(t, e) {\n return 1 === t.type ? qc(t, e) : 3 === t.type && t.isComment ? function (t) {\n return `_e(${JSON.stringify(t.text)})`;\n }(t) : function (t) {\n return `_v(${2 === t.type ? t.expression : ia(JSON.stringify(t.text))})`;\n }(t);\n}\nfunction sa(t) {\n let e = \"\",\n n = \"\";\n for (let o = 0; o < t.length; o++) {\n const r = t[o],\n s = ia(r.value);\n r.dynamic ? n += `${r.name},${s},` : e += `\"${r.name}\":${s},`;\n }\n return e = `{${e.slice(0, -1)}}`, n ? `_d(${e},[${n.slice(0, -1)}])` : e;\n}\nfunction ia(t) {\n return t.replace(/\\u2028/g, \"\\\\u2028\").replace(/\\u2029/g, \"\\\\u2029\");\n}\nfunction ca(t, e) {\n try {\n return new Function(t);\n } catch (n) {\n return e.push({\n err: n,\n code: t\n }), E;\n }\n}\nfunction aa(t) {\n const e = Object.create(null);\n return function (n, o, r) {\n (o = A({}, o)).warn, delete o.warn;\n const s = o.delimiters ? String(o.delimiters) + n : n;\n if (e[s]) return e[s];\n const i = t(n, o),\n c = {},\n a = [];\n return c.render = ca(i.render, a), c.staticRenderFns = i.staticRenderFns.map(t => ca(t, a)), e[s] = c;\n };\n}\nnew RegExp(\"\\\\b\" + \"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments\".split(\",\").join(\"\\\\b|\\\\b\") + \"\\\\b\"), new RegExp(\"\\\\b\" + \"delete,typeof,void\".split(\",\").join(\"\\\\s*\\\\([^\\\\)]*\\\\)|\\\\b\") + \"\\\\s*\\\\([^\\\\)]*\\\\)\");\nconst la = (ua = function (t, e) {\n const n = gc(t.trim(), e);\n !1 !== e.optimize && Ec(n, e);\n const o = Jc(n, e);\n return {\n ast: n,\n render: o.render,\n staticRenderFns: o.staticRenderFns\n };\n}, function (t) {\n function e(e, n) {\n const o = Object.create(t),\n r = [],\n s = [];\n if (n) {\n n.modules && (o.modules = (t.modules || []).concat(n.modules)), n.directives && (o.directives = A(Object.create(t.directives || null), n.directives));\n for (const t in n) \"modules\" !== t && \"directives\" !== t && (o[t] = n[t]);\n }\n o.warn = (t, e, n) => {\n (n ? s : r).push(t);\n };\n const i = ua(e.trim(), o);\n return i.errors = r, i.tips = s, i;\n }\n return {\n compile: e,\n compileToFunctions: aa(e)\n };\n});\nvar ua;\nconst {\n compile: fa,\n compileToFunctions: da\n} = la(Oc);\nlet pa;\nfunction ha(t) {\n return pa = pa || document.createElement(\"div\"), pa.innerHTML = t ? '' : '
', pa.innerHTML.indexOf(\" \") > 0;\n}\nconst ma = !!q && ha(!1),\n ga = !!q && ha(!0),\n va = b(t => {\n const e = nr(t);\n return e && e.innerHTML;\n }),\n ya = So.prototype.$mount;\nSo.prototype.$mount = function (t, e) {\n if ((t = t && nr(t)) === document.body || t === document.documentElement) return this;\n const n = this.$options;\n if (!n.render) {\n let e = n.template;\n if (e) {\n if (\"string\" == typeof e) \"#\" === e.charAt(0) && (e = va(e));else {\n if (!e.nodeType) return this;\n e = e.innerHTML;\n }\n } else t && (e = function (t) {\n if (t.outerHTML) return t.outerHTML;\n {\n const e = document.createElement(\"div\");\n return e.appendChild(t.cloneNode(!0)), e.innerHTML;\n }\n }(t));\n if (e) {\n const {\n render: t,\n staticRenderFns: o\n } = da(e, {\n outputSourceRange: !1,\n shouldDecodeNewlines: ma,\n shouldDecodeNewlinesForHref: ga,\n delimiters: n.delimiters,\n comments: n.comments\n }, this);\n n.render = t, n.staticRenderFns = o;\n }\n }\n return ya.call(this, t, e);\n}, So.compile = da, A(So, Hn), So.effect = function (t, e) {\n const n = new Kn(at, t, E, {\n sync: !0\n });\n e && (n.update = () => {\n e(() => n.run());\n });\n}, module.exports = So;","(function (global, undefined) {\n \"use strict\";\n\n if (global.setImmediate) {\n return;\n }\n var nextHandle = 1; // Spec says greater than zero\n var tasksByHandle = {};\n var currentlyRunningATask = false;\n var doc = global.document;\n var registerImmediate;\n function setImmediate(callback) {\n // Callback can either be a function or a string\n if (typeof callback !== \"function\") {\n callback = new Function(\"\" + callback);\n }\n // Copy function arguments\n var args = new Array(arguments.length - 1);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i + 1];\n }\n // Store and register the task\n var task = {\n callback: callback,\n args: args\n };\n tasksByHandle[nextHandle] = task;\n registerImmediate(nextHandle);\n return nextHandle++;\n }\n function clearImmediate(handle) {\n delete tasksByHandle[handle];\n }\n function run(task) {\n var callback = task.callback;\n var args = task.args;\n switch (args.length) {\n case 0:\n callback();\n break;\n case 1:\n callback(args[0]);\n break;\n case 2:\n callback(args[0], args[1]);\n break;\n case 3:\n callback(args[0], args[1], args[2]);\n break;\n default:\n callback.apply(undefined, args);\n break;\n }\n }\n function runIfPresent(handle) {\n // From the spec: \"Wait until any invocations of this algorithm started before this one have completed.\"\n // So if we're currently running a task, we'll need to delay this invocation.\n if (currentlyRunningATask) {\n // Delay by doing a setTimeout. setImmediate was tried instead, but in Firefox 7 it generated a\n // \"too much recursion\" error.\n setTimeout(runIfPresent, 0, handle);\n } else {\n var task = tasksByHandle[handle];\n if (task) {\n currentlyRunningATask = true;\n try {\n run(task);\n } finally {\n clearImmediate(handle);\n currentlyRunningATask = false;\n }\n }\n }\n }\n function installNextTickImplementation() {\n registerImmediate = function (handle) {\n process.nextTick(function () {\n runIfPresent(handle);\n });\n };\n }\n function canUsePostMessage() {\n // The test against `importScripts` prevents this implementation from being installed inside a web worker,\n // where `global.postMessage` means something completely different and can't be used for this purpose.\n if (global.postMessage && !global.importScripts) {\n var postMessageIsAsynchronous = true;\n var oldOnMessage = global.onmessage;\n global.onmessage = function () {\n postMessageIsAsynchronous = false;\n };\n global.postMessage(\"\", \"*\");\n global.onmessage = oldOnMessage;\n return postMessageIsAsynchronous;\n }\n }\n function installPostMessageImplementation() {\n // Installs an event handler on `global` for the `message` event: see\n // * https://developer.mozilla.org/en/DOM/window.postMessage\n // * http://www.whatwg.org/specs/web-apps/current-work/multipage/comms.html#crossDocumentMessages\n\n var messagePrefix = \"setImmediate$\" + Math.random() + \"$\";\n var onGlobalMessage = function (event) {\n if (event.source === global && typeof event.data === \"string\" && event.data.indexOf(messagePrefix) === 0) {\n runIfPresent(+event.data.slice(messagePrefix.length));\n }\n };\n if (global.addEventListener) {\n global.addEventListener(\"message\", onGlobalMessage, false);\n } else {\n global.attachEvent(\"onmessage\", onGlobalMessage);\n }\n registerImmediate = function (handle) {\n global.postMessage(messagePrefix + handle, \"*\");\n };\n }\n function installMessageChannelImplementation() {\n var channel = new MessageChannel();\n channel.port1.onmessage = function (event) {\n var handle = event.data;\n runIfPresent(handle);\n };\n registerImmediate = function (handle) {\n channel.port2.postMessage(handle);\n };\n }\n function installReadyStateChangeImplementation() {\n var html = doc.documentElement;\n registerImmediate = function (handle) {\n // Create a \n","import { render, staticRenderFns } from \"./Icon.vue?vue&type=template&id=b3f43d06\"\nimport script from \"./Icon.vue?vue&type=script&lang=js\"\nexport * from \"./Icon.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","const {\n API_CHANNEL_NAME: apiChannelName,\n API_CHANNEL_THUMBNAIL: apiChannelThumbnail,\n APP_VERSION: appVersion,\n AZURE_APP_ID: azureAppId,\n BRAND_NAME: brandName,\n CHATWOOT_INBOX_TOKEN: chatwootInboxToken,\n CSML_EDITOR_HOST: csmlEditorHost,\n CREATE_NEW_ACCOUNT_FROM_DASHBOARD: createNewAccountFromDashboard,\n DIRECT_UPLOADS_ENABLED: directUploadsEnabled,\n DISPLAY_MANIFEST: displayManifest,\n GIT_SHA: gitSha,\n HCAPTCHA_SITE_KEY: hCaptchaSiteKey,\n INSTALLATION_NAME: installationName,\n LOGO_THUMBNAIL: logoThumbnail,\n LOGO: logo,\n LOGO_DARK: logoDark,\n PRIVACY_URL: privacyURL,\n TERMS_URL: termsURL,\n WIDGET_BRAND_URL: widgetBrandURL,\n DISABLE_USER_PROFILE_UPDATE: disableUserProfileUpdate,\n DEPLOYMENT_ENV: deploymentEnv,\n} = window.globalConfig || {};\n\nconst state = {\n apiChannelName,\n apiChannelThumbnail,\n appVersion,\n azureAppId,\n brandName,\n chatwootInboxToken,\n csmlEditorHost,\n deploymentEnv,\n createNewAccountFromDashboard,\n directUploadsEnabled: directUploadsEnabled === 'true',\n disableUserProfileUpdate: disableUserProfileUpdate === 'true',\n displayManifest,\n gitSha,\n hCaptchaSiteKey,\n installationName,\n logo,\n logoDark,\n logoThumbnail,\n privacyURL,\n termsURL,\n widgetBrandURL,\n};\n\nexport const getters = {\n get: $state => $state,\n isOnChatwootCloud: $state => $state.deploymentEnv === 'cloud',\n isACustomBrandedInstance: $state => $state.installationName !== 'Chatwoot',\n isAChatwootInstance: $state => $state.installationName === 'Chatwoot',\n};\n\nexport const actions = {};\n\nexport const mutations = {};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n};\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.buildVueDompurifyHTMLDirective = void 0;\nvar dompurify_html_1 = require(\"./dompurify-html\");\nvar dompurify_html_2 = require(\"./dompurify-html\");\nObject.defineProperty(exports, \"buildVueDompurifyHTMLDirective\", {\n enumerable: true,\n get: function () {\n return dompurify_html_2.buildDirective;\n }\n});\nexports.default = {\n install: function (Vue, config, buildDOMPurifyInstance) {\n if (config === void 0) {\n config = {};\n }\n if (buildDOMPurifyInstance === void 0) {\n buildDOMPurifyInstance = dompurify_html_1.defaultDOMPurifyInstanceBuilder;\n }\n Vue.directive('dompurify-html', (0, dompurify_html_1.buildDirective)(config, buildDOMPurifyInstance));\n }\n};","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Vuelidate = Vuelidate;\nexports.validationMixin = exports.default = void 0;\nObject.defineProperty(exports, \"withParams\", {\n enumerable: true,\n get: function get() {\n return _params.withParams;\n }\n});\nvar _vval = require(\"./vval\");\nvar _params = require(\"./params\");\nfunction _toConsumableArray(arr) {\n return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();\n}\nfunction _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n}\nfunction _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}\nfunction _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return _arrayLikeToArray(arr);\n}\nfunction _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n return arr2;\n}\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n if (enumerableOnly) {\n symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n keys.push.apply(keys, symbols);\n }\n return keys;\n}\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n }\n return target;\n}\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function _typeof(obj) {\n return typeof obj;\n };\n } else {\n _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n return _typeof(obj);\n}\nvar NIL = function NIL() {\n return null;\n};\nvar buildFromKeys = function buildFromKeys(keys, fn, keyFn) {\n return keys.reduce(function (build, key) {\n build[keyFn ? keyFn(key) : key] = fn(key);\n return build;\n }, {});\n};\nfunction isFunction(val) {\n return typeof val === 'function';\n}\nfunction isObject(val) {\n return val !== null && (_typeof(val) === 'object' || isFunction(val));\n}\nfunction isPromise(object) {\n return isObject(object) && isFunction(object.then);\n}\nvar getPath = function getPath(ctx, obj, path, fallback) {\n if (typeof path === 'function') {\n return path.call(ctx, obj, fallback);\n }\n path = Array.isArray(path) ? path : path.split('.');\n for (var i = 0; i < path.length; i++) {\n if (obj && _typeof(obj) === 'object') {\n obj = obj[path[i]];\n } else {\n return fallback;\n }\n }\n return typeof obj === 'undefined' ? fallback : obj;\n};\nvar __isVuelidateAsyncVm = '__isVuelidateAsyncVm';\nfunction makePendingAsyncVm(Vue, promise) {\n var asyncVm = new Vue({\n data: {\n p: true,\n v: false\n }\n });\n promise.then(function (value) {\n asyncVm.p = false;\n asyncVm.v = value;\n }, function (error) {\n asyncVm.p = false;\n asyncVm.v = false;\n throw error;\n });\n asyncVm[__isVuelidateAsyncVm] = true;\n return asyncVm;\n}\nvar validationGetters = {\n $invalid: function $invalid() {\n var _this = this;\n var proxy = this.proxy;\n return this.nestedKeys.some(function (nested) {\n return _this.refProxy(nested).$invalid;\n }) || this.ruleKeys.some(function (rule) {\n return !proxy[rule];\n });\n },\n $dirty: function $dirty() {\n var _this2 = this;\n if (this.dirty) {\n return true;\n }\n if (this.nestedKeys.length === 0) {\n return false;\n }\n return this.nestedKeys.every(function (key) {\n return _this2.refProxy(key).$dirty;\n });\n },\n $anyDirty: function $anyDirty() {\n var _this3 = this;\n if (this.dirty) {\n return true;\n }\n if (this.nestedKeys.length === 0) {\n return false;\n }\n return this.nestedKeys.some(function (key) {\n return _this3.refProxy(key).$anyDirty;\n });\n },\n $error: function $error() {\n return this.$dirty && !this.$pending && this.$invalid;\n },\n $anyError: function $anyError() {\n var _this4 = this;\n if (this.$error) return true;\n return this.nestedKeys.some(function (key) {\n return _this4.refProxy(key).$anyError;\n });\n },\n $pending: function $pending() {\n var _this5 = this;\n return this.ruleKeys.some(function (key) {\n return _this5.getRef(key).$pending;\n }) || this.nestedKeys.some(function (key) {\n return _this5.refProxy(key).$pending;\n });\n },\n $params: function $params() {\n var _this6 = this;\n var vals = this.validations;\n return _objectSpread(_objectSpread({}, buildFromKeys(this.nestedKeys, function (key) {\n return vals[key] && vals[key].$params || null;\n })), buildFromKeys(this.ruleKeys, function (key) {\n return _this6.getRef(key).$params;\n }));\n }\n};\nfunction setDirtyRecursive(newState) {\n this.dirty = newState;\n var proxy = this.proxy;\n var method = newState ? '$touch' : '$reset';\n this.nestedKeys.forEach(function (key) {\n proxy[key][method]();\n });\n}\nvar validationMethods = {\n $touch: function $touch() {\n setDirtyRecursive.call(this, true);\n },\n $reset: function $reset() {\n setDirtyRecursive.call(this, false);\n },\n $flattenParams: function $flattenParams() {\n var proxy = this.proxy;\n var params = [];\n for (var key in this.$params) {\n if (this.isNested(key)) {\n var childParams = proxy[key].$flattenParams();\n for (var j = 0; j < childParams.length; j++) {\n childParams[j].path.unshift(key);\n }\n params = params.concat(childParams);\n } else {\n params.push({\n path: [],\n name: key,\n params: this.$params[key]\n });\n }\n }\n return params;\n }\n};\nvar getterNames = Object.keys(validationGetters);\nvar methodNames = Object.keys(validationMethods);\nvar _cachedComponent = null;\nvar getComponent = function getComponent(Vue) {\n if (_cachedComponent) {\n return _cachedComponent;\n }\n var VBase = Vue.extend({\n computed: {\n refs: function refs() {\n var oldVval = this._vval;\n this._vval = this.children;\n (0, _vval.patchChildren)(oldVval, this._vval);\n var refs = {};\n this._vval.forEach(function (c) {\n refs[c.key] = c.vm;\n });\n return refs;\n }\n },\n beforeCreate: function beforeCreate() {\n this._vval = null;\n },\n beforeDestroy: function beforeDestroy() {\n if (this._vval) {\n (0, _vval.patchChildren)(this._vval);\n this._vval = null;\n }\n },\n methods: {\n getModel: function getModel() {\n return this.lazyModel ? this.lazyModel(this.prop) : this.model;\n },\n getModelKey: function getModelKey(key) {\n var model = this.getModel();\n if (model) {\n return model[key];\n }\n },\n hasIter: function hasIter() {\n return false;\n }\n }\n });\n var ValidationRule = VBase.extend({\n data: function data() {\n return {\n rule: null,\n lazyModel: null,\n model: null,\n lazyParentModel: null,\n rootModel: null\n };\n },\n methods: {\n runRule: function runRule(parent) {\n var model = this.getModel();\n (0, _params.pushParams)();\n var rawOutput = this.rule.call(this.rootModel, model, parent);\n var output = isPromise(rawOutput) ? makePendingAsyncVm(Vue, rawOutput) : rawOutput;\n var rawParams = (0, _params.popParams)();\n var params = rawParams && rawParams.$sub ? rawParams.$sub.length > 1 ? rawParams : rawParams.$sub[0] : null;\n return {\n output: output,\n params: params\n };\n }\n },\n computed: {\n run: function run() {\n var _this7 = this;\n var parent = this.lazyParentModel();\n var isArrayDependant = Array.isArray(parent) && parent.__ob__;\n if (isArrayDependant) {\n var arrayDep = parent.__ob__.dep;\n arrayDep.depend();\n var target = arrayDep.constructor.target;\n if (!this._indirectWatcher) {\n var Watcher = target.constructor;\n this._indirectWatcher = new Watcher(this, function () {\n return _this7.runRule(parent);\n }, null, {\n lazy: true\n });\n }\n var model = this.getModel();\n if (!this._indirectWatcher.dirty && this._lastModel === model) {\n this._indirectWatcher.depend();\n return target.value;\n }\n this._lastModel = model;\n this._indirectWatcher.evaluate();\n this._indirectWatcher.depend();\n } else if (this._indirectWatcher) {\n this._indirectWatcher.teardown();\n this._indirectWatcher = null;\n }\n return this._indirectWatcher ? this._indirectWatcher.value : this.runRule(parent);\n },\n $params: function $params() {\n return this.run.params;\n },\n proxy: function proxy() {\n var output = this.run.output;\n if (output[__isVuelidateAsyncVm]) {\n return !!output.v;\n }\n return !!output;\n },\n $pending: function $pending() {\n var output = this.run.output;\n if (output[__isVuelidateAsyncVm]) {\n return output.p;\n }\n return false;\n }\n },\n destroyed: function destroyed() {\n if (this._indirectWatcher) {\n this._indirectWatcher.teardown();\n this._indirectWatcher = null;\n }\n }\n });\n var Validation = VBase.extend({\n data: function data() {\n return {\n dirty: false,\n validations: null,\n lazyModel: null,\n model: null,\n prop: null,\n lazyParentModel: null,\n rootModel: null\n };\n },\n methods: _objectSpread(_objectSpread({}, validationMethods), {}, {\n refProxy: function refProxy(key) {\n return this.getRef(key).proxy;\n },\n getRef: function getRef(key) {\n return this.refs[key];\n },\n isNested: function isNested(key) {\n return typeof this.validations[key] !== 'function';\n }\n }),\n computed: _objectSpread(_objectSpread({}, validationGetters), {}, {\n nestedKeys: function nestedKeys() {\n return this.keys.filter(this.isNested);\n },\n ruleKeys: function ruleKeys() {\n var _this8 = this;\n return this.keys.filter(function (k) {\n return !_this8.isNested(k);\n });\n },\n keys: function keys() {\n return Object.keys(this.validations).filter(function (k) {\n return k !== '$params';\n });\n },\n proxy: function proxy() {\n var _this9 = this;\n var keyDefs = buildFromKeys(this.keys, function (key) {\n return {\n enumerable: true,\n configurable: true,\n get: function get() {\n return _this9.refProxy(key);\n }\n };\n });\n var getterDefs = buildFromKeys(getterNames, function (key) {\n return {\n enumerable: true,\n configurable: true,\n get: function get() {\n return _this9[key];\n }\n };\n });\n var methodDefs = buildFromKeys(methodNames, function (key) {\n return {\n enumerable: false,\n configurable: true,\n get: function get() {\n return _this9[key];\n }\n };\n });\n var iterDefs = this.hasIter() ? {\n $iter: {\n enumerable: true,\n value: Object.defineProperties({}, _objectSpread({}, keyDefs))\n }\n } : {};\n return Object.defineProperties({}, _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, keyDefs), iterDefs), {}, {\n $model: {\n enumerable: true,\n get: function get() {\n var parent = _this9.lazyParentModel();\n if (parent != null) {\n return parent[_this9.prop];\n } else {\n return null;\n }\n },\n set: function set(value) {\n var parent = _this9.lazyParentModel();\n if (parent != null) {\n parent[_this9.prop] = value;\n _this9.$touch();\n }\n }\n }\n }, getterDefs), methodDefs));\n },\n children: function children() {\n var _this10 = this;\n return [].concat(_toConsumableArray(this.nestedKeys.map(function (key) {\n return renderNested(_this10, key);\n })), _toConsumableArray(this.ruleKeys.map(function (key) {\n return renderRule(_this10, key);\n }))).filter(Boolean);\n }\n })\n });\n var GroupValidation = Validation.extend({\n methods: {\n isNested: function isNested(key) {\n return typeof this.validations[key]() !== 'undefined';\n },\n getRef: function getRef(key) {\n var vm = this;\n return {\n get proxy() {\n return vm.validations[key]() || false;\n }\n };\n }\n }\n });\n var EachValidation = Validation.extend({\n computed: {\n keys: function keys() {\n var model = this.getModel();\n if (isObject(model)) {\n return Object.keys(model);\n } else {\n return [];\n }\n },\n tracker: function tracker() {\n var _this11 = this;\n var trackBy = this.validations.$trackBy;\n return trackBy ? function (key) {\n return \"\".concat(getPath(_this11.rootModel, _this11.getModelKey(key), trackBy));\n } : function (x) {\n return \"\".concat(x);\n };\n },\n getModelLazy: function getModelLazy() {\n var _this12 = this;\n return function () {\n return _this12.getModel();\n };\n },\n children: function children() {\n var _this13 = this;\n var def = this.validations;\n var model = this.getModel();\n var validations = _objectSpread({}, def);\n delete validations['$trackBy'];\n var usedTracks = {};\n return this.keys.map(function (key) {\n var track = _this13.tracker(key);\n if (usedTracks.hasOwnProperty(track)) {\n return null;\n }\n usedTracks[track] = true;\n return (0, _vval.h)(Validation, track, {\n validations: validations,\n prop: key,\n lazyParentModel: _this13.getModelLazy,\n model: model[key],\n rootModel: _this13.rootModel\n });\n }).filter(Boolean);\n }\n },\n methods: {\n isNested: function isNested() {\n return true;\n },\n getRef: function getRef(key) {\n return this.refs[this.tracker(key)];\n },\n hasIter: function hasIter() {\n return true;\n }\n }\n });\n var renderNested = function renderNested(vm, key) {\n if (key === '$each') {\n return (0, _vval.h)(EachValidation, key, {\n validations: vm.validations[key],\n lazyParentModel: vm.lazyParentModel,\n prop: key,\n lazyModel: vm.getModel,\n rootModel: vm.rootModel\n });\n }\n var validations = vm.validations[key];\n if (Array.isArray(validations)) {\n var root = vm.rootModel;\n var refVals = buildFromKeys(validations, function (path) {\n return function () {\n return getPath(root, root.$v, path);\n };\n }, function (v) {\n return Array.isArray(v) ? v.join('.') : v;\n });\n return (0, _vval.h)(GroupValidation, key, {\n validations: refVals,\n lazyParentModel: NIL,\n prop: key,\n lazyModel: NIL,\n rootModel: root\n });\n }\n return (0, _vval.h)(Validation, key, {\n validations: validations,\n lazyParentModel: vm.getModel,\n prop: key,\n lazyModel: vm.getModelKey,\n rootModel: vm.rootModel\n });\n };\n var renderRule = function renderRule(vm, key) {\n return (0, _vval.h)(ValidationRule, key, {\n rule: vm.validations[key],\n lazyParentModel: vm.lazyParentModel,\n lazyModel: vm.getModel,\n rootModel: vm.rootModel\n });\n };\n _cachedComponent = {\n VBase: VBase,\n Validation: Validation\n };\n return _cachedComponent;\n};\nvar _cachedVue = null;\nfunction getVue(rootVm) {\n if (_cachedVue) return _cachedVue;\n var Vue = rootVm.constructor;\n while (Vue.super) {\n Vue = Vue.super;\n }\n _cachedVue = Vue;\n return Vue;\n}\nvar validateModel = function validateModel(model, validations) {\n var Vue = getVue(model);\n var _getComponent = getComponent(Vue),\n Validation = _getComponent.Validation,\n VBase = _getComponent.VBase;\n var root = new VBase({\n computed: {\n children: function children() {\n var vals = typeof validations === 'function' ? validations.call(model) : validations;\n return [(0, _vval.h)(Validation, '$v', {\n validations: vals,\n lazyParentModel: NIL,\n prop: '$v',\n model: model,\n rootModel: model\n })];\n }\n }\n });\n return root;\n};\nvar validationMixin = {\n data: function data() {\n var vals = this.$options.validations;\n if (vals) {\n this._vuelidate = validateModel(this, vals);\n }\n return {};\n },\n beforeCreate: function beforeCreate() {\n var options = this.$options;\n var vals = options.validations;\n if (!vals) return;\n if (!options.computed) options.computed = {};\n if (options.computed.$v) return;\n options.computed.$v = function () {\n return this._vuelidate ? this._vuelidate.refs.$v.proxy : null;\n };\n },\n beforeDestroy: function beforeDestroy() {\n if (this._vuelidate) {\n this._vuelidate.$destroy();\n this._vuelidate = null;\n }\n }\n};\nexports.validationMixin = validationMixin;\nfunction Vuelidate(Vue) {\n Vue.mixin(validationMixin);\n}\nvar _default = Vuelidate;\nexports.default = _default;","var 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 aboutXWeeks: {\n one: 'about 1 week',\n other: 'about {{count}} weeks'\n },\n xWeeks: {\n one: '1 week',\n other: '{{count}} weeks'\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};\nexport default function 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}","export default function buildFormatLongFn(args) {\n return function (dirtyOptions) {\n var options = dirtyOptions || {};\n var width = options.width ? String(options.width) : args.defaultWidth;\n var format = args.formats[width] || args.formats[args.defaultWidth];\n return format;\n };\n}","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, MMMM do, y',\n long: 'MMMM do, y',\n medium: 'MMM d, y',\n short: 'MM/dd/yyyy'\n};\nvar timeFormats = {\n full: 'h:mm:ss a zzzz',\n long: 'h:mm:ss a z',\n medium: 'h:mm:ss a',\n short: 'h:mm a'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'at' {{time}}\",\n long: \"{{date}} 'at' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'last' eeee 'at' p\",\n yesterday: \"'yesterday at' p\",\n today: \"'today at' p\",\n tomorrow: \"'tomorrow at' p\",\n nextWeek: \"eeee 'at' p\",\n other: 'P'\n};\nexport default function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n}","export default function buildLocalizeFn(args) {\n return function (dirtyIndex, dirtyOptions) {\n var options = dirtyOptions || {};\n var context = options.context ? String(options.context) : 'standalone';\n var valuesArray;\n if (context === 'formatting' && args.formattingValues) {\n var defaultWidth = args.defaultFormattingWidth || args.defaultWidth;\n var width = options.width ? String(options.width) : defaultWidth;\n valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];\n } else {\n var _defaultWidth = args.defaultWidth;\n var _width = options.width ? String(options.width) : args.defaultWidth;\n valuesArray = args.values[_width] || args.values[_defaultWidth];\n }\n var index = args.argumentCallback ? args.argumentCallback(dirtyIndex) : dirtyIndex;\n return valuesArray[index];\n };\n}","export default function buildMatchFn(args) {\n return function (dirtyString, dirtyOptions) {\n var string = String(dirtyString);\n var options = dirtyOptions || {};\n var width = options.width;\n var matchPattern = width && args.matchPatterns[width] || args.matchPatterns[args.defaultMatchWidth];\n var matchResult = string.match(matchPattern);\n if (!matchResult) {\n return null;\n }\n var matchedString = matchResult[0];\n var parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth];\n var value;\n if (Object.prototype.toString.call(parsePatterns) === '[object Array]') {\n value = findIndex(parsePatterns, function (pattern) {\n return pattern.test(matchedString);\n });\n } else {\n value = findKey(parsePatterns, function (pattern) {\n return pattern.test(matchedString);\n });\n }\n value = args.valueCallback ? args.valueCallback(value) : value;\n value = options.valueCallback ? options.valueCallback(value) : value;\n return {\n value: value,\n rest: string.slice(matchedString.length)\n };\n };\n}\nfunction findKey(object, predicate) {\n for (var key in object) {\n if (object.hasOwnProperty(key) && predicate(object[key])) {\n return key;\n }\n }\n}\nfunction findIndex(array, predicate) {\n for (var key = 0; key < array.length; key++) {\n if (predicate(array[key])) {\n return key;\n }\n }\n}","import buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nimport buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(th|st|nd|rd)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(b|a)/i,\n abbreviated: /^(b\\.?\\s?c\\.?|b\\.?\\s?c\\.?\\s?e\\.?|a\\.?\\s?d\\.?|c\\.?\\s?e\\.?)/i,\n wide: /^(before christ|before common era|anno domini|common era)/i\n};\nvar parseEraPatterns = {\n any: [/^b/i, /^(a|c)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^q[1234]/i,\n wide: /^[1234](th|st|nd|rd)? quarter/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[jfmasond]/i,\n abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,\n wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],\n any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^may/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]\n};\nvar matchDayPatterns = {\n narrow: /^[smtwf]/i,\n short: /^(su|mo|tu|we|th|fr|sa)/i,\n abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,\n wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i\n};\nvar parseDayPatterns = {\n narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],\n any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,\n any: /^([ap]\\.?\\s?m\\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /^mi/i,\n noon: /^no/i,\n morning: /morning/i,\n afternoon: /afternoon/i,\n evening: /evening/i,\n night: /night/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function (value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function (index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","export default function buildMatchPatternFn(args) {\n return function (dirtyString, dirtyOptions) {\n var string = String(dirtyString);\n var options = dirtyOptions || {};\n var matchResult = string.match(args.matchPattern);\n if (!matchResult) {\n return null;\n }\n var matchedString = matchResult[0];\n var parseResult = string.match(args.parsePattern);\n if (!parseResult) {\n return null;\n }\n var value = args.valueCallback ? args.valueCallback(parseResult[0]) : parseResult[0];\n value = options.valueCallback ? options.valueCallback(value) : value;\n return {\n value: value,\n rest: string.slice(matchedString.length)\n };\n };\n}","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary English locale (United States).\n * @language English\n * @iso-639-2 eng\n * @author Sasha Koss [@kossnocorp]{@link https://github.com/kossnocorp}\n * @author Lesha Koss [@leshakoss]{@link https://github.com/leshakoss}\n */\n\nvar locale = {\n code: 'en-US',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 0\n /* Sunday */,\n\n firstWeekContainsDate: 1\n }\n};\nexport default locale;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['B', 'A'],\n abbreviated: ['BC', 'AD'],\n wide: ['Before Christ', 'Anno Domini']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'],\n wide: ['1st quarter', '2nd quarter', '3rd quarter', '4th quarter'] // Note: in English, the names of days of the week and months are capitalized.\n // If you are making a new locale based on this one, check if the same is true for the language you're working on.\n // Generally, formatted dates should look like they are in the middle of a sentence,\n // e.g. in Spanish language the weekdays and months should be in the lowercase.\n};\nvar monthValues = {\n narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],\n abbreviated: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],\n wide: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']\n};\nvar dayValues = {\n narrow: ['S', 'M', 'T', 'W', 'T', 'F', 'S'],\n short: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],\n abbreviated: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],\n wide: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'mi',\n noon: 'n',\n morning: 'morning',\n afternoon: 'afternoon',\n evening: 'evening',\n night: 'night'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'morning',\n afternoon: 'afternoon',\n evening: 'evening',\n night: 'night'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'morning',\n afternoon: 'afternoon',\n evening: 'evening',\n night: 'night'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'mi',\n noon: 'n',\n morning: 'in the morning',\n afternoon: 'in the afternoon',\n evening: 'in the evening',\n night: 'at night'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'in the morning',\n afternoon: 'in the afternoon',\n evening: 'in the evening',\n night: 'at night'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'in the morning',\n afternoon: 'in the afternoon',\n evening: 'in the evening',\n night: 'at night'\n }\n};\nfunction ordinalNumber(dirtyNumber, _dirtyOptions) {\n var number = Number(dirtyNumber); // If ordinal numbers depend on context, for example,\n // if they are different for different grammatical genders,\n // use `options.unit`:\n //\n // var options = dirtyOptions || {}\n // var unit = String(options.unit)\n //\n // where `unit` can be 'year', 'quarter', 'month', 'week', 'date', 'dayOfYear',\n // 'day', 'hour', 'minute', 'second'\n\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}\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function (quarter) {\n return Number(quarter) - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name toDate\n * @category Common Helpers\n * @summary Convert the given argument to an instance of Date.\n *\n * @description\n * Convert the given argument to an instance of Date.\n *\n * If the argument is an instance of Date, the function returns its clone.\n *\n * If the argument is a number, it is treated as a timestamp.\n *\n * If the argument is none of the above, the function returns Invalid Date.\n *\n * **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`.\n *\n * @param {Date|Number} argument - the value to convert\n * @returns {Date} the parsed date in the local time zone\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // Clone the date:\n * const result = toDate(new Date(2014, 1, 11, 11, 30, 30))\n * //=> Tue Feb 11 2014 11:30:30\n *\n * @example\n * // Convert the timestamp to date:\n * const result = toDate(1392098430000)\n * //=> Tue Feb 11 2014 11:30:30\n */\n\nexport default function toDate(argument) {\n requiredArgs(1, arguments);\n var argStr = Object.prototype.toString.call(argument); // Clone the date\n\n if (argument instanceof Date || typeof argument === 'object' && argStr === '[object Date]') {\n // Prevent the date to lose the milliseconds when passed to new Date() in IE10\n return new Date(argument.getTime());\n } else if (typeof argument === 'number' || argStr === '[object Number]') {\n return new Date(argument);\n } else {\n if ((typeof argument === 'string' || argStr === '[object String]') && typeof console !== 'undefined') {\n // eslint-disable-next-line no-console\n console.warn(\"Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule\"); // eslint-disable-next-line no-console\n\n console.warn(new Error().stack);\n }\n return new Date(NaN);\n }\n}","export default {\n methods: {\n // eslint-disable-next-line default-param-last\n useInstallationName(str = '', installationName) {\n return str.replace(/Chatwoot/g, installationName);\n },\n },\n};\n","import { mapGetters } from 'vuex';\n\nexport default {\n computed: {\n ...mapGetters({ darkMode: 'appConfig/darkMode' }),\n prefersDarkMode() {\n const isOSOnDarkMode =\n this.darkMode === 'auto' &&\n window.matchMedia('(prefers-color-scheme: dark)').matches;\n return isOSOnDarkMode || this.darkMode === 'dark';\n },\n },\n methods: {\n $dm(light, dark) {\n if (this.darkMode === 'light') {\n return light;\n }\n if (this.darkMode === 'dark') {\n return dark;\n }\n return light + ' ' + dark;\n },\n },\n};\n","import toInteger from \"../_lib/toInteger/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name addMilliseconds\n * @category Millisecond Helpers\n * @summary Add the specified number of milliseconds to the given date.\n *\n * @description\n * Add the specified number of milliseconds to the given date.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of milliseconds to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} the new date with the milliseconds added\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Add 750 milliseconds to 10 July 2014 12:45:30.000:\n * const result = addMilliseconds(new Date(2014, 6, 10, 12, 45, 30, 0), 750)\n * //=> Thu Jul 10 2014 12:45:30.750\n */\n\nexport default function addMilliseconds(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var timestamp = toDate(dirtyDate).getTime();\n var amount = toInteger(dirtyAmount);\n return new Date(timestamp + amount);\n}","export default function addLeadingZeros(number, targetLength) {\n var sign = number < 0 ? '-' : '';\n var output = Math.abs(number).toString();\n while (output.length < targetLength) {\n output = '0' + output;\n }\n return sign + output;\n}","import addLeadingZeros from \"../../addLeadingZeros/index.js\";\n/*\n * | | Unit | | Unit |\n * |-----|--------------------------------|-----|--------------------------------|\n * | a | AM, PM | A* | |\n * | d | Day of month | D | |\n * | h | Hour [1-12] | H | Hour [0-23] |\n * | m | Minute | M | Month |\n * | s | Second | S | Fraction of second |\n * | y | Year (abs) | Y | |\n *\n * Letters marked by * are not implemented but reserved by Unicode standard.\n */\n\nvar formatters = {\n // Year\n y: function (date, token) {\n // From http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_tokens\n // | Year | y | yy | yyy | yyyy | yyyyy |\n // |----------|-------|----|-------|-------|-------|\n // | AD 1 | 1 | 01 | 001 | 0001 | 00001 |\n // | AD 12 | 12 | 12 | 012 | 0012 | 00012 |\n // | AD 123 | 123 | 23 | 123 | 0123 | 00123 |\n // | AD 1234 | 1234 | 34 | 1234 | 1234 | 01234 |\n // | AD 12345 | 12345 | 45 | 12345 | 12345 | 12345 |\n var signedYear = date.getUTCFullYear(); // Returns 1 for 1 BC (which is year 0 in JavaScript)\n\n var year = signedYear > 0 ? signedYear : 1 - signedYear;\n return addLeadingZeros(token === 'yy' ? year % 100 : year, token.length);\n },\n // Month\n M: function (date, token) {\n var month = date.getUTCMonth();\n return token === 'M' ? String(month + 1) : addLeadingZeros(month + 1, 2);\n },\n // Day of the month\n d: function (date, token) {\n return addLeadingZeros(date.getUTCDate(), token.length);\n },\n // AM or PM\n a: function (date, token) {\n var dayPeriodEnumValue = date.getUTCHours() / 12 >= 1 ? 'pm' : 'am';\n switch (token) {\n case 'a':\n case 'aa':\n return dayPeriodEnumValue.toUpperCase();\n case 'aaa':\n return dayPeriodEnumValue;\n case 'aaaaa':\n return dayPeriodEnumValue[0];\n case 'aaaa':\n default:\n return dayPeriodEnumValue === 'am' ? 'a.m.' : 'p.m.';\n }\n },\n // Hour [1-12]\n h: function (date, token) {\n return addLeadingZeros(date.getUTCHours() % 12 || 12, token.length);\n },\n // Hour [0-23]\n H: function (date, token) {\n return addLeadingZeros(date.getUTCHours(), token.length);\n },\n // Minute\n m: function (date, token) {\n return addLeadingZeros(date.getUTCMinutes(), token.length);\n },\n // Second\n s: function (date, token) {\n return addLeadingZeros(date.getUTCSeconds(), token.length);\n },\n // Fraction of second\n S: function (date, token) {\n var numberOfDigits = token.length;\n var milliseconds = date.getUTCMilliseconds();\n var fractionalSeconds = Math.floor(milliseconds * Math.pow(10, numberOfDigits - 3));\n return addLeadingZeros(fractionalSeconds, token.length);\n }\n};\nexport default formatters;","import lightFormatters from \"../lightFormatters/index.js\";\nimport getUTCDayOfYear from \"../../../_lib/getUTCDayOfYear/index.js\";\nimport getUTCISOWeek from \"../../../_lib/getUTCISOWeek/index.js\";\nimport getUTCISOWeekYear from \"../../../_lib/getUTCISOWeekYear/index.js\";\nimport getUTCWeek from \"../../../_lib/getUTCWeek/index.js\";\nimport getUTCWeekYear from \"../../../_lib/getUTCWeekYear/index.js\";\nimport addLeadingZeros from \"../../addLeadingZeros/index.js\";\nvar dayPeriodEnum = {\n am: 'am',\n pm: 'pm',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'morning',\n afternoon: 'afternoon',\n evening: 'evening',\n night: 'night'\n /*\n * | | Unit | | Unit |\n * |-----|--------------------------------|-----|--------------------------------|\n * | a | AM, PM | A* | Milliseconds in day |\n * | b | AM, PM, noon, midnight | B | Flexible day period |\n * | c | Stand-alone local day of week | C* | Localized hour w/ day period |\n * | d | Day of month | D | Day of year |\n * | e | Local day of week | E | Day of week |\n * | f | | F* | Day of week in month |\n * | g* | Modified Julian day | G | Era |\n * | h | Hour [1-12] | H | Hour [0-23] |\n * | i! | ISO day of week | I! | ISO week of year |\n * | j* | Localized hour w/ day period | J* | Localized hour w/o day period |\n * | k | Hour [1-24] | K | Hour [0-11] |\n * | l* | (deprecated) | L | Stand-alone month |\n * | m | Minute | M | Month |\n * | n | | N | |\n * | o! | Ordinal number modifier | O | Timezone (GMT) |\n * | p! | Long localized time | P! | Long localized date |\n * | q | Stand-alone quarter | Q | Quarter |\n * | r* | Related Gregorian year | R! | ISO week-numbering year |\n * | s | Second | S | Fraction of second |\n * | t! | Seconds timestamp | T! | Milliseconds timestamp |\n * | u | Extended year | U* | Cyclic year |\n * | v* | Timezone (generic non-locat.) | V* | Timezone (location) |\n * | w | Local week of year | W* | Week of month |\n * | x | Timezone (ISO-8601 w/o Z) | X | Timezone (ISO-8601) |\n * | y | Year (abs) | Y | Local week-numbering year |\n * | z | Timezone (specific non-locat.) | Z* | Timezone (aliases) |\n *\n * Letters marked by * are not implemented but reserved by Unicode standard.\n *\n * Letters marked by ! are non-standard, but implemented by date-fns:\n * - `o` modifies the previous token to turn it into an ordinal (see `format` docs)\n * - `i` is ISO day of week. For `i` and `ii` is returns numeric ISO week days,\n * i.e. 7 for Sunday, 1 for Monday, etc.\n * - `I` is ISO week of year, as opposed to `w` which is local week of year.\n * - `R` is ISO week-numbering year, as opposed to `Y` which is local week-numbering year.\n * `R` is supposed to be used in conjunction with `I` and `i`\n * for universal ISO week-numbering date, whereas\n * `Y` is supposed to be used in conjunction with `w` and `e`\n * for week-numbering date specific to the locale.\n * - `P` is long localized date format\n * - `p` is long localized time format\n */\n};\nvar formatters = {\n // Era\n G: function (date, token, localize) {\n var era = date.getUTCFullYear() > 0 ? 1 : 0;\n switch (token) {\n // AD, BC\n case 'G':\n case 'GG':\n case 'GGG':\n return localize.era(era, {\n width: 'abbreviated'\n });\n // A, B\n\n case 'GGGGG':\n return localize.era(era, {\n width: 'narrow'\n });\n // Anno Domini, Before Christ\n\n case 'GGGG':\n default:\n return localize.era(era, {\n width: 'wide'\n });\n }\n },\n // Year\n y: function (date, token, localize) {\n // Ordinal number\n if (token === 'yo') {\n var signedYear = date.getUTCFullYear(); // Returns 1 for 1 BC (which is year 0 in JavaScript)\n\n var year = signedYear > 0 ? signedYear : 1 - signedYear;\n return localize.ordinalNumber(year, {\n unit: 'year'\n });\n }\n return lightFormatters.y(date, token);\n },\n // Local week-numbering year\n Y: function (date, token, localize, options) {\n var signedWeekYear = getUTCWeekYear(date, options); // Returns 1 for 1 BC (which is year 0 in JavaScript)\n\n var weekYear = signedWeekYear > 0 ? signedWeekYear : 1 - signedWeekYear; // Two digit year\n\n if (token === 'YY') {\n var twoDigitYear = weekYear % 100;\n return addLeadingZeros(twoDigitYear, 2);\n } // Ordinal number\n\n if (token === 'Yo') {\n return localize.ordinalNumber(weekYear, {\n unit: 'year'\n });\n } // Padding\n\n return addLeadingZeros(weekYear, token.length);\n },\n // ISO week-numbering year\n R: function (date, token) {\n var isoWeekYear = getUTCISOWeekYear(date); // Padding\n\n return addLeadingZeros(isoWeekYear, token.length);\n },\n // Extended year. This is a single number designating the year of this calendar system.\n // The main difference between `y` and `u` localizers are B.C. years:\n // | Year | `y` | `u` |\n // |------|-----|-----|\n // | AC 1 | 1 | 1 |\n // | BC 1 | 1 | 0 |\n // | BC 2 | 2 | -1 |\n // Also `yy` always returns the last two digits of a year,\n // while `uu` pads single digit years to 2 characters and returns other years unchanged.\n u: function (date, token) {\n var year = date.getUTCFullYear();\n return addLeadingZeros(year, token.length);\n },\n // Quarter\n Q: function (date, token, localize) {\n var quarter = Math.ceil((date.getUTCMonth() + 1) / 3);\n switch (token) {\n // 1, 2, 3, 4\n case 'Q':\n return String(quarter);\n // 01, 02, 03, 04\n\n case 'QQ':\n return addLeadingZeros(quarter, 2);\n // 1st, 2nd, 3rd, 4th\n\n case 'Qo':\n return localize.ordinalNumber(quarter, {\n unit: 'quarter'\n });\n // Q1, Q2, Q3, Q4\n\n case 'QQQ':\n return localize.quarter(quarter, {\n width: 'abbreviated',\n context: 'formatting'\n });\n // 1, 2, 3, 4 (narrow quarter; could be not numerical)\n\n case 'QQQQQ':\n return localize.quarter(quarter, {\n width: 'narrow',\n context: 'formatting'\n });\n // 1st quarter, 2nd quarter, ...\n\n case 'QQQQ':\n default:\n return localize.quarter(quarter, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // Stand-alone quarter\n q: function (date, token, localize) {\n var quarter = Math.ceil((date.getUTCMonth() + 1) / 3);\n switch (token) {\n // 1, 2, 3, 4\n case 'q':\n return String(quarter);\n // 01, 02, 03, 04\n\n case 'qq':\n return addLeadingZeros(quarter, 2);\n // 1st, 2nd, 3rd, 4th\n\n case 'qo':\n return localize.ordinalNumber(quarter, {\n unit: 'quarter'\n });\n // Q1, Q2, Q3, Q4\n\n case 'qqq':\n return localize.quarter(quarter, {\n width: 'abbreviated',\n context: 'standalone'\n });\n // 1, 2, 3, 4 (narrow quarter; could be not numerical)\n\n case 'qqqqq':\n return localize.quarter(quarter, {\n width: 'narrow',\n context: 'standalone'\n });\n // 1st quarter, 2nd quarter, ...\n\n case 'qqqq':\n default:\n return localize.quarter(quarter, {\n width: 'wide',\n context: 'standalone'\n });\n }\n },\n // Month\n M: function (date, token, localize) {\n var month = date.getUTCMonth();\n switch (token) {\n case 'M':\n case 'MM':\n return lightFormatters.M(date, token);\n // 1st, 2nd, ..., 12th\n\n case 'Mo':\n return localize.ordinalNumber(month + 1, {\n unit: 'month'\n });\n // Jan, Feb, ..., Dec\n\n case 'MMM':\n return localize.month(month, {\n width: 'abbreviated',\n context: 'formatting'\n });\n // J, F, ..., D\n\n case 'MMMMM':\n return localize.month(month, {\n width: 'narrow',\n context: 'formatting'\n });\n // January, February, ..., December\n\n case 'MMMM':\n default:\n return localize.month(month, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // Stand-alone month\n L: function (date, token, localize) {\n var month = date.getUTCMonth();\n switch (token) {\n // 1, 2, ..., 12\n case 'L':\n return String(month + 1);\n // 01, 02, ..., 12\n\n case 'LL':\n return addLeadingZeros(month + 1, 2);\n // 1st, 2nd, ..., 12th\n\n case 'Lo':\n return localize.ordinalNumber(month + 1, {\n unit: 'month'\n });\n // Jan, Feb, ..., Dec\n\n case 'LLL':\n return localize.month(month, {\n width: 'abbreviated',\n context: 'standalone'\n });\n // J, F, ..., D\n\n case 'LLLLL':\n return localize.month(month, {\n width: 'narrow',\n context: 'standalone'\n });\n // January, February, ..., December\n\n case 'LLLL':\n default:\n return localize.month(month, {\n width: 'wide',\n context: 'standalone'\n });\n }\n },\n // Local week of year\n w: function (date, token, localize, options) {\n var week = getUTCWeek(date, options);\n if (token === 'wo') {\n return localize.ordinalNumber(week, {\n unit: 'week'\n });\n }\n return addLeadingZeros(week, token.length);\n },\n // ISO week of year\n I: function (date, token, localize) {\n var isoWeek = getUTCISOWeek(date);\n if (token === 'Io') {\n return localize.ordinalNumber(isoWeek, {\n unit: 'week'\n });\n }\n return addLeadingZeros(isoWeek, token.length);\n },\n // Day of the month\n d: function (date, token, localize) {\n if (token === 'do') {\n return localize.ordinalNumber(date.getUTCDate(), {\n unit: 'date'\n });\n }\n return lightFormatters.d(date, token);\n },\n // Day of year\n D: function (date, token, localize) {\n var dayOfYear = getUTCDayOfYear(date);\n if (token === 'Do') {\n return localize.ordinalNumber(dayOfYear, {\n unit: 'dayOfYear'\n });\n }\n return addLeadingZeros(dayOfYear, token.length);\n },\n // Day of week\n E: function (date, token, localize) {\n var dayOfWeek = date.getUTCDay();\n switch (token) {\n // Tue\n case 'E':\n case 'EE':\n case 'EEE':\n return localize.day(dayOfWeek, {\n width: 'abbreviated',\n context: 'formatting'\n });\n // T\n\n case 'EEEEE':\n return localize.day(dayOfWeek, {\n width: 'narrow',\n context: 'formatting'\n });\n // Tu\n\n case 'EEEEEE':\n return localize.day(dayOfWeek, {\n width: 'short',\n context: 'formatting'\n });\n // Tuesday\n\n case 'EEEE':\n default:\n return localize.day(dayOfWeek, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // Local day of week\n e: function (date, token, localize, options) {\n var dayOfWeek = date.getUTCDay();\n var localDayOfWeek = (dayOfWeek - options.weekStartsOn + 8) % 7 || 7;\n switch (token) {\n // Numerical value (Nth day of week with current locale or weekStartsOn)\n case 'e':\n return String(localDayOfWeek);\n // Padded numerical value\n\n case 'ee':\n return addLeadingZeros(localDayOfWeek, 2);\n // 1st, 2nd, ..., 7th\n\n case 'eo':\n return localize.ordinalNumber(localDayOfWeek, {\n unit: 'day'\n });\n case 'eee':\n return localize.day(dayOfWeek, {\n width: 'abbreviated',\n context: 'formatting'\n });\n // T\n\n case 'eeeee':\n return localize.day(dayOfWeek, {\n width: 'narrow',\n context: 'formatting'\n });\n // Tu\n\n case 'eeeeee':\n return localize.day(dayOfWeek, {\n width: 'short',\n context: 'formatting'\n });\n // Tuesday\n\n case 'eeee':\n default:\n return localize.day(dayOfWeek, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // Stand-alone local day of week\n c: function (date, token, localize, options) {\n var dayOfWeek = date.getUTCDay();\n var localDayOfWeek = (dayOfWeek - options.weekStartsOn + 8) % 7 || 7;\n switch (token) {\n // Numerical value (same as in `e`)\n case 'c':\n return String(localDayOfWeek);\n // Padded numerical value\n\n case 'cc':\n return addLeadingZeros(localDayOfWeek, token.length);\n // 1st, 2nd, ..., 7th\n\n case 'co':\n return localize.ordinalNumber(localDayOfWeek, {\n unit: 'day'\n });\n case 'ccc':\n return localize.day(dayOfWeek, {\n width: 'abbreviated',\n context: 'standalone'\n });\n // T\n\n case 'ccccc':\n return localize.day(dayOfWeek, {\n width: 'narrow',\n context: 'standalone'\n });\n // Tu\n\n case 'cccccc':\n return localize.day(dayOfWeek, {\n width: 'short',\n context: 'standalone'\n });\n // Tuesday\n\n case 'cccc':\n default:\n return localize.day(dayOfWeek, {\n width: 'wide',\n context: 'standalone'\n });\n }\n },\n // ISO day of week\n i: function (date, token, localize) {\n var dayOfWeek = date.getUTCDay();\n var isoDayOfWeek = dayOfWeek === 0 ? 7 : dayOfWeek;\n switch (token) {\n // 2\n case 'i':\n return String(isoDayOfWeek);\n // 02\n\n case 'ii':\n return addLeadingZeros(isoDayOfWeek, token.length);\n // 2nd\n\n case 'io':\n return localize.ordinalNumber(isoDayOfWeek, {\n unit: 'day'\n });\n // Tue\n\n case 'iii':\n return localize.day(dayOfWeek, {\n width: 'abbreviated',\n context: 'formatting'\n });\n // T\n\n case 'iiiii':\n return localize.day(dayOfWeek, {\n width: 'narrow',\n context: 'formatting'\n });\n // Tu\n\n case 'iiiiii':\n return localize.day(dayOfWeek, {\n width: 'short',\n context: 'formatting'\n });\n // Tuesday\n\n case 'iiii':\n default:\n return localize.day(dayOfWeek, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // AM or PM\n a: function (date, token, localize) {\n var hours = date.getUTCHours();\n var dayPeriodEnumValue = hours / 12 >= 1 ? 'pm' : 'am';\n switch (token) {\n case 'a':\n case 'aa':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'abbreviated',\n context: 'formatting'\n });\n case 'aaa':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'abbreviated',\n context: 'formatting'\n }).toLowerCase();\n case 'aaaaa':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'narrow',\n context: 'formatting'\n });\n case 'aaaa':\n default:\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // AM, PM, midnight, noon\n b: function (date, token, localize) {\n var hours = date.getUTCHours();\n var dayPeriodEnumValue;\n if (hours === 12) {\n dayPeriodEnumValue = dayPeriodEnum.noon;\n } else if (hours === 0) {\n dayPeriodEnumValue = dayPeriodEnum.midnight;\n } else {\n dayPeriodEnumValue = hours / 12 >= 1 ? 'pm' : 'am';\n }\n switch (token) {\n case 'b':\n case 'bb':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'abbreviated',\n context: 'formatting'\n });\n case 'bbb':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'abbreviated',\n context: 'formatting'\n }).toLowerCase();\n case 'bbbbb':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'narrow',\n context: 'formatting'\n });\n case 'bbbb':\n default:\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // in the morning, in the afternoon, in the evening, at night\n B: function (date, token, localize) {\n var hours = date.getUTCHours();\n var dayPeriodEnumValue;\n if (hours >= 17) {\n dayPeriodEnumValue = dayPeriodEnum.evening;\n } else if (hours >= 12) {\n dayPeriodEnumValue = dayPeriodEnum.afternoon;\n } else if (hours >= 4) {\n dayPeriodEnumValue = dayPeriodEnum.morning;\n } else {\n dayPeriodEnumValue = dayPeriodEnum.night;\n }\n switch (token) {\n case 'B':\n case 'BB':\n case 'BBB':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'abbreviated',\n context: 'formatting'\n });\n case 'BBBBB':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'narrow',\n context: 'formatting'\n });\n case 'BBBB':\n default:\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // Hour [1-12]\n h: function (date, token, localize) {\n if (token === 'ho') {\n var hours = date.getUTCHours() % 12;\n if (hours === 0) hours = 12;\n return localize.ordinalNumber(hours, {\n unit: 'hour'\n });\n }\n return lightFormatters.h(date, token);\n },\n // Hour [0-23]\n H: function (date, token, localize) {\n if (token === 'Ho') {\n return localize.ordinalNumber(date.getUTCHours(), {\n unit: 'hour'\n });\n }\n return lightFormatters.H(date, token);\n },\n // Hour [0-11]\n K: function (date, token, localize) {\n var hours = date.getUTCHours() % 12;\n if (token === 'Ko') {\n return localize.ordinalNumber(hours, {\n unit: 'hour'\n });\n }\n return addLeadingZeros(hours, token.length);\n },\n // Hour [1-24]\n k: function (date, token, localize) {\n var hours = date.getUTCHours();\n if (hours === 0) hours = 24;\n if (token === 'ko') {\n return localize.ordinalNumber(hours, {\n unit: 'hour'\n });\n }\n return addLeadingZeros(hours, token.length);\n },\n // Minute\n m: function (date, token, localize) {\n if (token === 'mo') {\n return localize.ordinalNumber(date.getUTCMinutes(), {\n unit: 'minute'\n });\n }\n return lightFormatters.m(date, token);\n },\n // Second\n s: function (date, token, localize) {\n if (token === 'so') {\n return localize.ordinalNumber(date.getUTCSeconds(), {\n unit: 'second'\n });\n }\n return lightFormatters.s(date, token);\n },\n // Fraction of second\n S: function (date, token) {\n return lightFormatters.S(date, token);\n },\n // Timezone (ISO-8601. If offset is 0, output is always `'Z'`)\n X: function (date, token, _localize, options) {\n var originalDate = options._originalDate || date;\n var timezoneOffset = originalDate.getTimezoneOffset();\n if (timezoneOffset === 0) {\n return 'Z';\n }\n switch (token) {\n // Hours and optional minutes\n case 'X':\n return formatTimezoneWithOptionalMinutes(timezoneOffset);\n // Hours, minutes and optional seconds without `:` delimiter\n // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets\n // so this token always has the same output as `XX`\n\n case 'XXXX':\n case 'XX':\n // Hours and minutes without `:` delimiter\n return formatTimezone(timezoneOffset);\n // Hours, minutes and optional seconds with `:` delimiter\n // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets\n // so this token always has the same output as `XXX`\n\n case 'XXXXX':\n case 'XXX': // Hours and minutes with `:` delimiter\n\n default:\n return formatTimezone(timezoneOffset, ':');\n }\n },\n // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)\n x: function (date, token, _localize, options) {\n var originalDate = options._originalDate || date;\n var timezoneOffset = originalDate.getTimezoneOffset();\n switch (token) {\n // Hours and optional minutes\n case 'x':\n return formatTimezoneWithOptionalMinutes(timezoneOffset);\n // Hours, minutes and optional seconds without `:` delimiter\n // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets\n // so this token always has the same output as `xx`\n\n case 'xxxx':\n case 'xx':\n // Hours and minutes without `:` delimiter\n return formatTimezone(timezoneOffset);\n // Hours, minutes and optional seconds with `:` delimiter\n // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets\n // so this token always has the same output as `xxx`\n\n case 'xxxxx':\n case 'xxx': // Hours and minutes with `:` delimiter\n\n default:\n return formatTimezone(timezoneOffset, ':');\n }\n },\n // Timezone (GMT)\n O: function (date, token, _localize, options) {\n var originalDate = options._originalDate || date;\n var timezoneOffset = originalDate.getTimezoneOffset();\n switch (token) {\n // Short\n case 'O':\n case 'OO':\n case 'OOO':\n return 'GMT' + formatTimezoneShort(timezoneOffset, ':');\n // Long\n\n case 'OOOO':\n default:\n return 'GMT' + formatTimezone(timezoneOffset, ':');\n }\n },\n // Timezone (specific non-location)\n z: function (date, token, _localize, options) {\n var originalDate = options._originalDate || date;\n var timezoneOffset = originalDate.getTimezoneOffset();\n switch (token) {\n // Short\n case 'z':\n case 'zz':\n case 'zzz':\n return 'GMT' + formatTimezoneShort(timezoneOffset, ':');\n // Long\n\n case 'zzzz':\n default:\n return 'GMT' + formatTimezone(timezoneOffset, ':');\n }\n },\n // Seconds timestamp\n t: function (date, token, _localize, options) {\n var originalDate = options._originalDate || date;\n var timestamp = Math.floor(originalDate.getTime() / 1000);\n return addLeadingZeros(timestamp, token.length);\n },\n // Milliseconds timestamp\n T: function (date, token, _localize, options) {\n var originalDate = options._originalDate || date;\n var timestamp = originalDate.getTime();\n return addLeadingZeros(timestamp, token.length);\n }\n};\nfunction formatTimezoneShort(offset, dirtyDelimiter) {\n var sign = offset > 0 ? '-' : '+';\n var absOffset = Math.abs(offset);\n var hours = Math.floor(absOffset / 60);\n var minutes = absOffset % 60;\n if (minutes === 0) {\n return sign + String(hours);\n }\n var delimiter = dirtyDelimiter || '';\n return sign + String(hours) + delimiter + addLeadingZeros(minutes, 2);\n}\nfunction formatTimezoneWithOptionalMinutes(offset, dirtyDelimiter) {\n if (offset % 60 === 0) {\n var sign = offset > 0 ? '-' : '+';\n return sign + addLeadingZeros(Math.abs(offset) / 60, 2);\n }\n return formatTimezone(offset, dirtyDelimiter);\n}\nfunction formatTimezone(offset, dirtyDelimiter) {\n var delimiter = dirtyDelimiter || '';\n var sign = offset > 0 ? '-' : '+';\n var absOffset = Math.abs(offset);\n var hours = addLeadingZeros(Math.floor(absOffset / 60), 2);\n var minutes = addLeadingZeros(absOffset % 60, 2);\n return sign + hours + delimiter + minutes;\n}\nexport default formatters;","import toDate from \"../../toDate/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\";\nvar MILLISECONDS_IN_DAY = 86400000; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function getUTCDayOfYear(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\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;\n}","import isValid from \"../isValid/index.js\";\nimport defaultLocale from \"../locale/en-US/index.js\";\nimport subMilliseconds from \"../subMilliseconds/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport formatters from \"../_lib/format/formatters/index.js\";\nimport longFormatters from \"../_lib/format/longFormatters/index.js\";\nimport getTimezoneOffsetInMilliseconds from \"../_lib/getTimezoneOffsetInMilliseconds/index.js\";\nimport { isProtectedDayOfYearToken, isProtectedWeekYearToken, throwProtectedError } from \"../_lib/protectedTokens/index.js\";\nimport toInteger from \"../_lib/toInteger/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\"; // This RegExp consists of three parts separated by `|`:\n// - [yYQqMLwIdDecihHKkms]o matches any available ordinal number token\n// (one of the certain letters followed by `o`)\n// - (\\w)\\1* matches any sequences of the same letter\n// - '' matches two quote characters in a row\n// - '(''|[^'])+('|$) matches anything surrounded by two quote characters ('),\n// except a single quote symbol, which ends the sequence.\n// Two quote characters do not end the sequence.\n// If there is no matching single quote\n// then the sequence will continue until the end of the string.\n// - . matches any single character unmatched by previous parts of the RegExps\n\nvar formattingTokensRegExp = /[yYQqMLwIdDecihHKkms]o|(\\w)\\1*|''|'(''|[^'])+('|$)|./g; // This RegExp catches symbols escaped by quotes, and also\n// sequences of symbols P, p, and the combinations like `PPPPPPPppppp`\n\nvar longFormattingTokensRegExp = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;\nvar escapedStringRegExp = /^'([^]*?)'?$/;\nvar doubleQuoteRegExp = /''/g;\nvar unescapedLatinCharacterRegExp = /[a-zA-Z]/;\n/**\n * @name format\n * @category Common Helpers\n * @summary Format the date.\n *\n * @description\n * Return the formatted date string in the given format. The result may vary by locale.\n *\n * > ⚠️ Please note that the `format` tokens differ from Moment.js and other libraries.\n * > See: https://git.io/fxCyr\n *\n * The characters wrapped between two single quotes characters (') are escaped.\n * Two single quotes in a row, whether inside or outside a quoted sequence, represent a 'real' single quote.\n * (see the last example)\n *\n * Format of the string is based on Unicode Technical Standard #35:\n * https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table\n * with a few additions (see note 7 below the table).\n *\n * Accepted patterns:\n * | Unit | Pattern | Result examples | Notes |\n * |---------------------------------|---------|-----------------------------------|-------|\n * | Era | G..GGG | AD, BC | |\n * | | GGGG | Anno Domini, Before Christ | 2 |\n * | | GGGGG | A, B | |\n * | Calendar year | y | 44, 1, 1900, 2017 | 5 |\n * | | yo | 44th, 1st, 0th, 17th | 5,7 |\n * | | yy | 44, 01, 00, 17 | 5 |\n * | | yyy | 044, 001, 1900, 2017 | 5 |\n * | | yyyy | 0044, 0001, 1900, 2017 | 5 |\n * | | yyyyy | ... | 3,5 |\n * | Local week-numbering year | Y | 44, 1, 1900, 2017 | 5 |\n * | | Yo | 44th, 1st, 1900th, 2017th | 5,7 |\n * | | YY | 44, 01, 00, 17 | 5,8 |\n * | | YYY | 044, 001, 1900, 2017 | 5 |\n * | | YYYY | 0044, 0001, 1900, 2017 | 5,8 |\n * | | YYYYY | ... | 3,5 |\n * | ISO week-numbering year | R | -43, 0, 1, 1900, 2017 | 5,7 |\n * | | RR | -43, 00, 01, 1900, 2017 | 5,7 |\n * | | RRR | -043, 000, 001, 1900, 2017 | 5,7 |\n * | | RRRR | -0043, 0000, 0001, 1900, 2017 | 5,7 |\n * | | RRRRR | ... | 3,5,7 |\n * | Extended year | u | -43, 0, 1, 1900, 2017 | 5 |\n * | | uu | -43, 01, 1900, 2017 | 5 |\n * | | uuu | -043, 001, 1900, 2017 | 5 |\n * | | uuuu | -0043, 0001, 1900, 2017 | 5 |\n * | | uuuuu | ... | 3,5 |\n * | Quarter (formatting) | Q | 1, 2, 3, 4 | |\n * | | Qo | 1st, 2nd, 3rd, 4th | 7 |\n * | | QQ | 01, 02, 03, 04 | |\n * | | QQQ | Q1, Q2, Q3, Q4 | |\n * | | QQQQ | 1st quarter, 2nd quarter, ... | 2 |\n * | | QQQQQ | 1, 2, 3, 4 | 4 |\n * | Quarter (stand-alone) | q | 1, 2, 3, 4 | |\n * | | qo | 1st, 2nd, 3rd, 4th | 7 |\n * | | qq | 01, 02, 03, 04 | |\n * | | qqq | Q1, Q2, Q3, Q4 | |\n * | | qqqq | 1st quarter, 2nd quarter, ... | 2 |\n * | | qqqqq | 1, 2, 3, 4 | 4 |\n * | Month (formatting) | M | 1, 2, ..., 12 | |\n * | | Mo | 1st, 2nd, ..., 12th | 7 |\n * | | MM | 01, 02, ..., 12 | |\n * | | MMM | Jan, Feb, ..., Dec | |\n * | | MMMM | January, February, ..., December | 2 |\n * | | MMMMM | J, F, ..., D | |\n * | Month (stand-alone) | L | 1, 2, ..., 12 | |\n * | | Lo | 1st, 2nd, ..., 12th | 7 |\n * | | LL | 01, 02, ..., 12 | |\n * | | LLL | Jan, Feb, ..., Dec | |\n * | | LLLL | January, February, ..., December | 2 |\n * | | LLLLL | J, F, ..., D | |\n * | Local week of year | w | 1, 2, ..., 53 | |\n * | | wo | 1st, 2nd, ..., 53th | 7 |\n * | | ww | 01, 02, ..., 53 | |\n * | ISO week of year | I | 1, 2, ..., 53 | 7 |\n * | | Io | 1st, 2nd, ..., 53th | 7 |\n * | | II | 01, 02, ..., 53 | 7 |\n * | Day of month | d | 1, 2, ..., 31 | |\n * | | do | 1st, 2nd, ..., 31st | 7 |\n * | | dd | 01, 02, ..., 31 | |\n * | Day of year | D | 1, 2, ..., 365, 366 | 9 |\n * | | Do | 1st, 2nd, ..., 365th, 366th | 7 |\n * | | DD | 01, 02, ..., 365, 366 | 9 |\n * | | DDD | 001, 002, ..., 365, 366 | |\n * | | DDDD | ... | 3 |\n * | Day of week (formatting) | E..EEE | Mon, Tue, Wed, ..., Sun | |\n * | | EEEE | Monday, Tuesday, ..., Sunday | 2 |\n * | | EEEEE | M, T, W, T, F, S, S | |\n * | | EEEEEE | Mo, Tu, We, Th, Fr, Su, Sa | |\n * | ISO day of week (formatting) | i | 1, 2, 3, ..., 7 | 7 |\n * | | io | 1st, 2nd, ..., 7th | 7 |\n * | | ii | 01, 02, ..., 07 | 7 |\n * | | iii | Mon, Tue, Wed, ..., Sun | 7 |\n * | | iiii | Monday, Tuesday, ..., Sunday | 2,7 |\n * | | iiiii | M, T, W, T, F, S, S | 7 |\n * | | iiiiii | Mo, Tu, We, Th, Fr, Su, Sa | 7 |\n * | Local day of week (formatting) | e | 2, 3, 4, ..., 1 | |\n * | | eo | 2nd, 3rd, ..., 1st | 7 |\n * | | ee | 02, 03, ..., 01 | |\n * | | eee | Mon, Tue, Wed, ..., Sun | |\n * | | eeee | Monday, Tuesday, ..., Sunday | 2 |\n * | | eeeee | M, T, W, T, F, S, S | |\n * | | eeeeee | Mo, Tu, We, Th, Fr, Su, Sa | |\n * | Local day of week (stand-alone) | c | 2, 3, 4, ..., 1 | |\n * | | co | 2nd, 3rd, ..., 1st | 7 |\n * | | cc | 02, 03, ..., 01 | |\n * | | ccc | Mon, Tue, Wed, ..., Sun | |\n * | | cccc | Monday, Tuesday, ..., Sunday | 2 |\n * | | ccccc | M, T, W, T, F, S, S | |\n * | | cccccc | Mo, Tu, We, Th, Fr, Su, Sa | |\n * | AM, PM | a..aa | AM, PM | |\n * | | aaa | am, pm | |\n * | | aaaa | a.m., p.m. | 2 |\n * | | aaaaa | a, p | |\n * | AM, PM, noon, midnight | b..bb | AM, PM, noon, midnight | |\n * | | bbb | am, pm, noon, midnight | |\n * | | bbbb | a.m., p.m., noon, midnight | 2 |\n * | | bbbbb | a, p, n, mi | |\n * | Flexible day period | B..BBB | at night, in the morning, ... | |\n * | | BBBB | at night, in the morning, ... | 2 |\n * | | BBBBB | at night, in the morning, ... | |\n * | Hour [1-12] | h | 1, 2, ..., 11, 12 | |\n * | | ho | 1st, 2nd, ..., 11th, 12th | 7 |\n * | | hh | 01, 02, ..., 11, 12 | |\n * | Hour [0-23] | H | 0, 1, 2, ..., 23 | |\n * | | Ho | 0th, 1st, 2nd, ..., 23rd | 7 |\n * | | HH | 00, 01, 02, ..., 23 | |\n * | Hour [0-11] | K | 1, 2, ..., 11, 0 | |\n * | | Ko | 1st, 2nd, ..., 11th, 0th | 7 |\n * | | KK | 01, 02, ..., 11, 00 | |\n * | Hour [1-24] | k | 24, 1, 2, ..., 23 | |\n * | | ko | 24th, 1st, 2nd, ..., 23rd | 7 |\n * | | kk | 24, 01, 02, ..., 23 | |\n * | Minute | m | 0, 1, ..., 59 | |\n * | | mo | 0th, 1st, ..., 59th | 7 |\n * | | mm | 00, 01, ..., 59 | |\n * | Second | s | 0, 1, ..., 59 | |\n * | | so | 0th, 1st, ..., 59th | 7 |\n * | | ss | 00, 01, ..., 59 | |\n * | Fraction of second | S | 0, 1, ..., 9 | |\n * | | SS | 00, 01, ..., 99 | |\n * | | SSS | 000, 001, ..., 999 | |\n * | | SSSS | ... | 3 |\n * | Timezone (ISO-8601 w/ Z) | X | -08, +0530, Z | |\n * | | XX | -0800, +0530, Z | |\n * | | XXX | -08:00, +05:30, Z | |\n * | | XXXX | -0800, +0530, Z, +123456 | 2 |\n * | | XXXXX | -08:00, +05:30, Z, +12:34:56 | |\n * | Timezone (ISO-8601 w/o Z) | x | -08, +0530, +00 | |\n * | | xx | -0800, +0530, +0000 | |\n * | | xxx | -08:00, +05:30, +00:00 | 2 |\n * | | xxxx | -0800, +0530, +0000, +123456 | |\n * | | xxxxx | -08:00, +05:30, +00:00, +12:34:56 | |\n * | Timezone (GMT) | O...OOO | GMT-8, GMT+5:30, GMT+0 | |\n * | | OOOO | GMT-08:00, GMT+05:30, GMT+00:00 | 2 |\n * | Timezone (specific non-locat.) | z...zzz | GMT-8, GMT+5:30, GMT+0 | 6 |\n * | | zzzz | GMT-08:00, GMT+05:30, GMT+00:00 | 2,6 |\n * | Seconds timestamp | t | 512969520 | 7 |\n * | | tt | ... | 3,7 |\n * | Milliseconds timestamp | T | 512969520900 | 7 |\n * | | TT | ... | 3,7 |\n * | Long localized date | P | 04/29/1453 | 7 |\n * | | PP | Apr 29, 1453 | 7 |\n * | | PPP | April 29th, 1453 | 7 |\n * | | PPPP | Friday, April 29th, 1453 | 2,7 |\n * | Long localized time | p | 12:00 AM | 7 |\n * | | pp | 12:00:00 AM | 7 |\n * | | ppp | 12:00:00 AM GMT+2 | 7 |\n * | | pppp | 12:00:00 AM GMT+02:00 | 2,7 |\n * | Combination of date and time | Pp | 04/29/1453, 12:00 AM | 7 |\n * | | PPpp | Apr 29, 1453, 12:00:00 AM | 7 |\n * | | PPPppp | April 29th, 1453 at ... | 7 |\n * | | PPPPpppp| Friday, April 29th, 1453 at ... | 2,7 |\n * Notes:\n * 1. \"Formatting\" units (e.g. formatting quarter) in the default en-US locale\n * are the same as \"stand-alone\" units, but are different in some languages.\n * \"Formatting\" units are declined according to the rules of the language\n * in the context of a date. \"Stand-alone\" units are always nominative singular:\n *\n * `format(new Date(2017, 10, 6), 'do LLLL', {locale: cs}) //=> '6. listopad'`\n *\n * `format(new Date(2017, 10, 6), 'do MMMM', {locale: cs}) //=> '6. listopadu'`\n *\n * 2. Any sequence of the identical letters is a pattern, unless it is escaped by\n * the single quote characters (see below).\n * If the sequence is longer than listed in table (e.g. `EEEEEEEEEEE`)\n * the output will be the same as default pattern for this unit, usually\n * the longest one (in case of ISO weekdays, `EEEE`). Default patterns for units\n * are marked with \"2\" in the last column of the table.\n *\n * `format(new Date(2017, 10, 6), 'MMM') //=> 'Nov'`\n *\n * `format(new Date(2017, 10, 6), 'MMMM') //=> 'November'`\n *\n * `format(new Date(2017, 10, 6), 'MMMMM') //=> 'N'`\n *\n * `format(new Date(2017, 10, 6), 'MMMMMM') //=> 'November'`\n *\n * `format(new Date(2017, 10, 6), 'MMMMMMM') //=> 'November'`\n *\n * 3. Some patterns could be unlimited length (such as `yyyyyyyy`).\n * The output will be padded with zeros to match the length of the pattern.\n *\n * `format(new Date(2017, 10, 6), 'yyyyyyyy') //=> '00002017'`\n *\n * 4. `QQQQQ` and `qqqqq` could be not strictly numerical in some locales.\n * These tokens represent the shortest form of the quarter.\n *\n * 5. The main difference between `y` and `u` patterns are B.C. years:\n *\n * | Year | `y` | `u` |\n * |------|-----|-----|\n * | AC 1 | 1 | 1 |\n * | BC 1 | 1 | 0 |\n * | BC 2 | 2 | -1 |\n *\n * Also `yy` always returns the last two digits of a year,\n * while `uu` pads single digit years to 2 characters and returns other years unchanged:\n *\n * | Year | `yy` | `uu` |\n * |------|------|------|\n * | 1 | 01 | 01 |\n * | 14 | 14 | 14 |\n * | 376 | 76 | 376 |\n * | 1453 | 53 | 1453 |\n *\n * The same difference is true for local and ISO week-numbering years (`Y` and `R`),\n * except local week-numbering years are dependent on `options.weekStartsOn`\n * and `options.firstWeekContainsDate` (compare [getISOWeekYear]{@link https://date-fns.org/docs/getISOWeekYear}\n * and [getWeekYear]{@link https://date-fns.org/docs/getWeekYear}).\n *\n * 6. Specific non-location timezones are currently unavailable in `date-fns`,\n * so right now these tokens fall back to GMT timezones.\n *\n * 7. These patterns are not in the Unicode Technical Standard #35:\n * - `i`: ISO day of week\n * - `I`: ISO week of year\n * - `R`: ISO week-numbering year\n * - `t`: seconds timestamp\n * - `T`: milliseconds timestamp\n * - `o`: ordinal number modifier\n * - `P`: long localized date\n * - `p`: long localized time\n *\n * 8. `YY` and `YYYY` tokens represent week-numbering years but they are often confused with years.\n * You should enable `options.useAdditionalWeekYearTokens` to use them. See: https://git.io/fxCyr\n *\n * 9. `D` and `DD` tokens represent days of the year but they are ofthen confused with days of the month.\n * You should enable `options.useAdditionalDayOfYearTokens` to use them. See: https://git.io/fxCyr\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * - The second argument is now required for the sake of explicitness.\n *\n * ```javascript\n * // Before v2.0.0\n * format(new Date(2016, 0, 1))\n *\n * // v2.0.0 onward\n * format(new Date(2016, 0, 1), \"yyyy-MM-dd'T'HH:mm:ss.SSSxxx\")\n * ```\n *\n * - New format string API for `format` function\n * which is based on [Unicode Technical Standard #35](https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table).\n * See [this post](https://blog.date-fns.org/post/unicode-tokens-in-date-fns-v2-sreatyki91jg) for more details.\n *\n * - Characters are now escaped using single quote symbols (`'`) instead of square brackets.\n *\n * @param {Date|Number} date - the original date\n * @param {String} format - the string of tokens\n * @param {Object} [options] - an object with options.\n * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale}\n * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday)\n * @param {Number} [options.firstWeekContainsDate=1] - the day of January, which is\n * @param {Boolean} [options.useAdditionalWeekYearTokens=false] - if true, allows usage of the week-numbering year tokens `YY` and `YYYY`;\n * see: https://git.io/fxCyr\n * @param {Boolean} [options.useAdditionalDayOfYearTokens=false] - if true, allows usage of the day of year tokens `D` and `DD`;\n * see: https://git.io/fxCyr\n * @returns {String} the formatted date string\n * @throws {TypeError} 2 arguments required\n * @throws {RangeError} `date` must not be Invalid Date\n * @throws {RangeError} `options.locale` must contain `localize` property\n * @throws {RangeError} `options.locale` must contain `formatLong` property\n * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6\n * @throws {RangeError} `options.firstWeekContainsDate` must be between 1 and 7\n * @throws {RangeError} use `yyyy` instead of `YYYY` for formatting years using [format provided] to the input [input provided]; see: https://git.io/fxCyr\n * @throws {RangeError} use `yy` instead of `YY` for formatting years using [format provided] to the input [input provided]; see: https://git.io/fxCyr\n * @throws {RangeError} use `d` instead of `D` for formatting days of the month using [format provided] to the input [input provided]; see: https://git.io/fxCyr\n * @throws {RangeError} use `dd` instead of `DD` for formatting days of the month using [format provided] to the input [input provided]; see: https://git.io/fxCyr\n * @throws {RangeError} format string contains an unescaped latin alphabet character\n *\n * @example\n * // Represent 11 February 2014 in middle-endian format:\n * var result = format(new Date(2014, 1, 11), 'MM/dd/yyyy')\n * //=> '02/11/2014'\n *\n * @example\n * // Represent 2 July 2014 in Esperanto:\n * import { eoLocale } from 'date-fns/locale/eo'\n * var result = format(new Date(2014, 6, 2), \"do 'de' MMMM yyyy\", {\n * locale: eoLocale\n * })\n * //=> '2-a de julio 2014'\n *\n * @example\n * // Escape string by single quote characters:\n * var result = format(new Date(2014, 6, 2, 15), \"h 'o''clock'\")\n * //=> \"3 o'clock\"\n */\n\nexport default function format(dirtyDate, dirtyFormatStr, dirtyOptions) {\n requiredArgs(2, arguments);\n var formatStr = String(dirtyFormatStr);\n var options = dirtyOptions || {};\n var locale = options.locale || defaultLocale;\n var localeFirstWeekContainsDate = locale.options && locale.options.firstWeekContainsDate;\n var defaultFirstWeekContainsDate = localeFirstWeekContainsDate == null ? 1 : toInteger(localeFirstWeekContainsDate);\n var firstWeekContainsDate = options.firstWeekContainsDate == null ? defaultFirstWeekContainsDate : toInteger(options.firstWeekContainsDate); // Test if weekStartsOn is between 1 and 7 _and_ is not NaN\n\n if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) {\n throw new RangeError('firstWeekContainsDate must be between 1 and 7 inclusively');\n }\n var localeWeekStartsOn = locale.options && locale.options.weekStartsOn;\n var defaultWeekStartsOn = localeWeekStartsOn == null ? 0 : toInteger(localeWeekStartsOn);\n var weekStartsOn = options.weekStartsOn == null ? defaultWeekStartsOn : toInteger(options.weekStartsOn); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN\n\n if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {\n throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');\n }\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 originalDate = toDate(dirtyDate);\n if (!isValid(originalDate)) {\n throw new RangeError('Invalid time value');\n } // Convert the date in system timezone to the same date in UTC+00:00 timezone.\n // This ensures that when UTC functions will be implemented, locales will be compatible with them.\n // See an issue about UTC functions: https://github.com/date-fns/date-fns/issues/376\n\n var timezoneOffset = getTimezoneOffsetInMilliseconds(originalDate);\n var utcDate = subMilliseconds(originalDate, timezoneOffset);\n var formatterOptions = {\n firstWeekContainsDate: firstWeekContainsDate,\n weekStartsOn: weekStartsOn,\n locale: locale,\n _originalDate: originalDate\n };\n var result = formatStr.match(longFormattingTokensRegExp).map(function (substring) {\n var firstCharacter = substring[0];\n if (firstCharacter === 'p' || firstCharacter === 'P') {\n var longFormatter = longFormatters[firstCharacter];\n return longFormatter(substring, locale.formatLong, formatterOptions);\n }\n return substring;\n }).join('').match(formattingTokensRegExp).map(function (substring) {\n // Replace two single quote characters with one single quote character\n if (substring === \"''\") {\n return \"'\";\n }\n var firstCharacter = substring[0];\n if (firstCharacter === \"'\") {\n return cleanEscapedString(substring);\n }\n var formatter = formatters[firstCharacter];\n if (formatter) {\n if (!options.useAdditionalWeekYearTokens && isProtectedWeekYearToken(substring)) {\n throwProtectedError(substring, dirtyFormatStr, dirtyDate);\n }\n if (!options.useAdditionalDayOfYearTokens && isProtectedDayOfYearToken(substring)) {\n throwProtectedError(substring, dirtyFormatStr, dirtyDate);\n }\n return formatter(utcDate, substring, locale.localize, formatterOptions);\n }\n if (firstCharacter.match(unescapedLatinCharacterRegExp)) {\n throw new RangeError('Format string contains an unescaped latin alphabet character `' + firstCharacter + '`');\n }\n return substring;\n }).join('');\n return result;\n}\nfunction cleanEscapedString(input) {\n return input.match(escapedStringRegExp)[1].replace(doubleQuoteRegExp, \"'\");\n}","import fromUnixTime from 'date-fns/fromUnixTime';\nimport format from 'date-fns/format';\nimport isToday from 'date-fns/isToday';\nimport isYesterday from 'date-fns/isYesterday';\nimport { endOfDay, getUnixTime, startOfDay, differenceInDays } from 'date-fns';\n\nexport const formatUnixDate = (date, dateFormat = 'MMM dd, yyyy') => {\n const unixDate = fromUnixTime(date);\n return format(unixDate, dateFormat);\n};\n\nexport const formatDate = ({ date, todayText, yesterdayText }) => {\n const dateValue = new Date(date);\n if (isToday(dateValue)) return todayText;\n if (isYesterday(dateValue)) return yesterdayText;\n return date;\n};\n\nexport const formatDigitToString = val => {\n return val > 9 ? `${val}` : `0${val}`;\n};\n\nexport const isTimeAfter = (h1, m1, h2, m2) => {\n if (h1 < h2) {\n return false;\n }\n\n if (h1 === h2) {\n return m1 >= m2;\n }\n\n return true;\n};\n\n/** Get start of day as a UNIX timestamp */\nexport const getUnixStartOfDay = date => getUnixTime(startOfDay(date));\n\n/** Get end of day as a UNIX timestamp */\nexport const getUnixEndOfDay = date => getUnixTime(endOfDay(date));\n\nexport const generateRelativeTime = (value, unit, languageCode) => {\n const code = languageCode?.replace(/_/g, '-'); // Hacky fix we need to handle it from source\n const rtf = new Intl.RelativeTimeFormat(code, {\n numeric: 'auto',\n });\n return rtf.format(value, unit);\n};\n\nexport const getDayDifferenceFromNow = (now, timestampInSeconds) => {\n const date = new Date(timestampInSeconds * 1000);\n return differenceInDays(now, date);\n};\n","import isSameDay from \"../isSameDay/index.js\";\nimport subDays from \"../subDays/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name isYesterday\n * @category Day Helpers\n * @summary Is the given date yesterday?\n * @pure false\n *\n * @description\n * Is the given date yesterday?\n *\n * > ⚠️ Please note that this function is not present in the FP submodule as\n * > it uses `Date.now()` internally hence impure and can't be safely curried.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the date to check\n * @returns {Boolean} the date is yesterday\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // If today is 6 October 2014, is 5 October 14:00:00 yesterday?\n * var result = isYesterday(new Date(2014, 9, 5, 14, 0))\n * //=> true\n */\n\nexport default function isYesterday(dirtyDate) {\n requiredArgs(1, arguments);\n return isSameDay(dirtyDate, subDays(Date.now(), 1));\n}","import toInteger from \"../_lib/toInteger/index.js\";\nimport addMilliseconds from \"../addMilliseconds/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name subMilliseconds\n * @category Millisecond Helpers\n * @summary Subtract the specified number of milliseconds from the given date.\n *\n * @description\n * Subtract the specified number of milliseconds from the given date.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of milliseconds to be subtracted. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} the new date with the milliseconds subtracted\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Subtract 750 milliseconds from 10 July 2014 12:45:30.000:\n * const result = subMilliseconds(new Date(2014, 6, 10, 12, 45, 30, 0), 750)\n * //=> Thu Jul 10 2014 12:45:29.250\n */\n\nexport default function subMilliseconds(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var amount = toInteger(dirtyAmount);\n return addMilliseconds(dirtyDate, -amount);\n}","function dateLongFormatter(pattern, formatLong) {\n switch (pattern) {\n case 'P':\n return formatLong.date({\n width: 'short'\n });\n case 'PP':\n return formatLong.date({\n width: 'medium'\n });\n case 'PPP':\n return formatLong.date({\n width: 'long'\n });\n case 'PPPP':\n default:\n return formatLong.date({\n width: 'full'\n });\n }\n}\nfunction timeLongFormatter(pattern, formatLong) {\n switch (pattern) {\n case 'p':\n return formatLong.time({\n width: 'short'\n });\n case 'pp':\n return formatLong.time({\n width: 'medium'\n });\n case 'ppp':\n return formatLong.time({\n width: 'long'\n });\n case 'pppp':\n default:\n return formatLong.time({\n width: 'full'\n });\n }\n}\nfunction dateTimeLongFormatter(pattern, formatLong) {\n var matchResult = pattern.match(/(P+)(p+)?/);\n var datePattern = matchResult[1];\n var timePattern = matchResult[2];\n if (!timePattern) {\n return dateLongFormatter(pattern, formatLong);\n }\n var dateTimeFormat;\n switch (datePattern) {\n case 'P':\n dateTimeFormat = formatLong.dateTime({\n width: 'short'\n });\n break;\n case 'PP':\n dateTimeFormat = formatLong.dateTime({\n width: 'medium'\n });\n break;\n case 'PPP':\n dateTimeFormat = formatLong.dateTime({\n width: 'long'\n });\n break;\n case 'PPPP':\n default:\n dateTimeFormat = formatLong.dateTime({\n width: 'full'\n });\n break;\n }\n return dateTimeFormat.replace('{{date}}', dateLongFormatter(datePattern, formatLong)).replace('{{time}}', timeLongFormatter(timePattern, formatLong));\n}\nvar longFormatters = {\n p: timeLongFormatter,\n P: dateTimeLongFormatter\n};\nexport default longFormatters;","import toDate from \"../../toDate/index.js\";\nimport startOfUTCISOWeek from \"../startOfUTCISOWeek/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\"; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function getUTCISOWeekYear(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\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);\n var fourthOfJanuaryOfThisYear = new Date(0);\n fourthOfJanuaryOfThisYear.setUTCFullYear(year, 0, 4);\n fourthOfJanuaryOfThisYear.setUTCHours(0, 0, 0, 0);\n var startOfThisYear = startOfUTCISOWeek(fourthOfJanuaryOfThisYear);\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}","import toDate from \"../../toDate/index.js\";\nimport startOfUTCWeek from \"../startOfUTCWeek/index.js\";\nimport startOfUTCWeekYear from \"../startOfUTCWeekYear/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\";\nvar MILLISECONDS_IN_WEEK = 604800000; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function getUTCWeek(dirtyDate, options) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n var diff = startOfUTCWeek(date, options).getTime() - startOfUTCWeekYear(date, options).getTime(); // Round the number of days to the nearest integer\n // because the number of milliseconds in a week is not constant\n // (e.g. it's different in the week of the daylight saving time clock shift)\n\n return Math.round(diff / MILLISECONDS_IN_WEEK) + 1;\n}","import toInteger from \"../toInteger/index.js\";\nimport getUTCWeekYear from \"../getUTCWeekYear/index.js\";\nimport startOfUTCWeek from \"../startOfUTCWeek/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\"; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function startOfUTCWeekYear(dirtyDate, dirtyOptions) {\n requiredArgs(1, arguments);\n var options = dirtyOptions || {};\n var locale = options.locale;\n var localeFirstWeekContainsDate = locale && locale.options && locale.options.firstWeekContainsDate;\n var defaultFirstWeekContainsDate = localeFirstWeekContainsDate == null ? 1 : toInteger(localeFirstWeekContainsDate);\n var firstWeekContainsDate = options.firstWeekContainsDate == null ? defaultFirstWeekContainsDate : toInteger(options.firstWeekContainsDate);\n var year = getUTCWeekYear(dirtyDate, dirtyOptions);\n var firstWeek = new Date(0);\n firstWeek.setUTCFullYear(year, 0, firstWeekContainsDate);\n firstWeek.setUTCHours(0, 0, 0, 0);\n var date = startOfUTCWeek(firstWeek, dirtyOptions);\n return date;\n}","import toDate from \"../../toDate/index.js\";\nimport startOfUTCISOWeek from \"../startOfUTCISOWeek/index.js\";\nimport startOfUTCISOWeekYear from \"../startOfUTCISOWeekYear/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\";\nvar MILLISECONDS_IN_WEEK = 604800000; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function getUTCISOWeek(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n var diff = startOfUTCISOWeek(date).getTime() - startOfUTCISOWeekYear(date).getTime(); // Round the number of days to the nearest integer\n // because the number of milliseconds in a week is not constant\n // (e.g. it's different in the week of the daylight saving time clock shift)\n\n return Math.round(diff / MILLISECONDS_IN_WEEK) + 1;\n}","import getUTCISOWeekYear from \"../getUTCISOWeekYear/index.js\";\nimport startOfUTCISOWeek from \"../startOfUTCISOWeek/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\"; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function startOfUTCISOWeekYear(dirtyDate) {\n requiredArgs(1, arguments);\n var year = getUTCISOWeekYear(dirtyDate);\n var fourthOfJanuary = new Date(0);\n fourthOfJanuary.setUTCFullYear(year, 0, 4);\n fourthOfJanuary.setUTCHours(0, 0, 0, 0);\n var date = startOfUTCISOWeek(fourthOfJanuary);\n return date;\n}","/**\n * vuex v2.1.2\n * (c) 2017 Evan You\n * @license MIT\n */\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : global.Vuex = factory();\n})(this, function () {\n 'use strict';\n\n var devtoolHook = typeof window !== 'undefined' && window.__VUE_DEVTOOLS_GLOBAL_HOOK__;\n function devtoolPlugin(store) {\n if (!devtoolHook) {\n return;\n }\n store._devtoolHook = devtoolHook;\n devtoolHook.emit('vuex:init', store);\n devtoolHook.on('vuex:travel-to-state', function (targetState) {\n store.replaceState(targetState);\n });\n store.subscribe(function (mutation, state) {\n devtoolHook.emit('vuex:mutation', mutation, state);\n });\n }\n var applyMixin = function (Vue) {\n var version = Number(Vue.version.split('.')[0]);\n if (version >= 2) {\n var usesInit = Vue.config._lifecycleHooks.indexOf('init') > -1;\n Vue.mixin(usesInit ? {\n init: vuexInit\n } : {\n beforeCreate: vuexInit\n });\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 options.init = options.init ? [vuexInit].concat(options.init) : 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 = options.store;\n } else if (options.parent && options.parent.$store) {\n this.$store = options.parent.$store;\n }\n }\n };\n var mapState = normalizeNamespace(function (namespace, states) {\n var res = {};\n normalizeMap(states).forEach(function (ref) {\n var key = ref.key;\n var val = ref.val;\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' ? val.call(this, state, getters) : state[val];\n };\n });\n return res;\n });\n var mapMutations = normalizeNamespace(function (namespace, mutations) {\n var res = {};\n normalizeMap(mutations).forEach(function (ref) {\n var key = ref.key;\n var val = ref.val;\n val = namespace + val;\n res[key] = function mappedMutation() {\n var args = [],\n len = arguments.length;\n while (len--) args[len] = arguments[len];\n if (namespace && !getModuleByNamespace(this.$store, 'mapMutations', namespace)) {\n return;\n }\n return this.$store.commit.apply(this.$store, [val].concat(args));\n };\n });\n return res;\n });\n var mapGetters = normalizeNamespace(function (namespace, getters) {\n var res = {};\n normalizeMap(getters).forEach(function (ref) {\n var key = ref.key;\n var val = ref.val;\n val = namespace + val;\n res[key] = function mappedGetter() {\n if (namespace && !getModuleByNamespace(this.$store, 'mapGetters', namespace)) {\n return;\n }\n if (!(val in this.$store.getters)) {\n console.error(\"[vuex] unknown getter: \" + val);\n return;\n }\n return this.$store.getters[val];\n };\n });\n return res;\n });\n var mapActions = normalizeNamespace(function (namespace, actions) {\n var res = {};\n normalizeMap(actions).forEach(function (ref) {\n var key = ref.key;\n var val = ref.val;\n val = namespace + val;\n res[key] = function mappedAction() {\n var args = [],\n len = arguments.length;\n while (len--) args[len] = arguments[len];\n if (namespace && !getModuleByNamespace(this.$store, 'mapActions', namespace)) {\n return;\n }\n return this.$store.dispatch.apply(this.$store, [val].concat(args));\n };\n });\n return res;\n });\n function normalizeMap(map) {\n return Array.isArray(map) ? map.map(function (key) {\n return {\n key: key,\n val: key\n };\n }) : Object.keys(map).map(function (key) {\n return {\n key: key,\n val: map[key]\n };\n });\n }\n function 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 function getModuleByNamespace(store, helper, namespace) {\n var module = store._modulesNamespaceMap[namespace];\n if (!module) {\n console.error(\"[vuex] module namespace not found in \" + helper + \"(): \" + namespace);\n }\n return module;\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 */\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 */\n\n /**\n * forEach for object\n */\n function forEachValue(obj, fn) {\n Object.keys(obj).forEach(function (key) {\n return fn(obj[key], key);\n });\n }\n function isObject(obj) {\n return obj !== null && typeof obj === 'object';\n }\n function isPromise(val) {\n return val && typeof val.then === 'function';\n }\n function assert(condition, msg) {\n if (!condition) {\n throw new Error(\"[vuex] \" + msg);\n }\n }\n var Module = function Module(rawModule, runtime) {\n this.runtime = runtime;\n this._children = Object.create(null);\n this._rawModule = rawModule;\n };\n var prototypeAccessors$1 = {\n state: {},\n namespaced: {}\n };\n prototypeAccessors$1.state.get = function () {\n return this._rawModule.state || {};\n };\n prototypeAccessors$1.namespaced.get = function () {\n return !!this._rawModule.namespaced;\n };\n Module.prototype.addChild = function addChild(key, module) {\n this._children[key] = module;\n };\n Module.prototype.removeChild = function removeChild(key) {\n delete this._children[key];\n };\n Module.prototype.getChild = function getChild(key) {\n return this._children[key];\n };\n Module.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 Module.prototype.forEachChild = function forEachChild(fn) {\n forEachValue(this._children, fn);\n };\n Module.prototype.forEachGetter = function forEachGetter(fn) {\n if (this._rawModule.getters) {\n forEachValue(this._rawModule.getters, fn);\n }\n };\n Module.prototype.forEachAction = function forEachAction(fn) {\n if (this._rawModule.actions) {\n forEachValue(this._rawModule.actions, fn);\n }\n };\n Module.prototype.forEachMutation = function forEachMutation(fn) {\n if (this._rawModule.mutations) {\n forEachValue(this._rawModule.mutations, fn);\n }\n };\n Object.defineProperties(Module.prototype, prototypeAccessors$1);\n var ModuleCollection = function ModuleCollection(rawRootModule) {\n var this$1 = this;\n\n // register root module (Vuex.Store options)\n this.root = new Module(rawRootModule, false);\n\n // register all nested modules\n if (rawRootModule.modules) {\n forEachValue(rawRootModule.modules, function (rawModule, key) {\n this$1.register([key], rawModule, false);\n });\n }\n };\n ModuleCollection.prototype.get = function get(path) {\n return path.reduce(function (module, key) {\n return module.getChild(key);\n }, this.root);\n };\n ModuleCollection.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 ModuleCollection.prototype.update = function update$1(rawRootModule) {\n update(this.root, rawRootModule);\n };\n ModuleCollection.prototype.register = function register(path, rawModule, runtime) {\n var this$1 = this;\n if (runtime === void 0) runtime = true;\n var parent = this.get(path.slice(0, -1));\n var newModule = new Module(rawModule, runtime);\n parent.addChild(path[path.length - 1], newModule);\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 ModuleCollection.prototype.unregister = function unregister(path) {\n var parent = this.get(path.slice(0, -1));\n var key = path[path.length - 1];\n if (!parent.getChild(key).runtime) {\n return;\n }\n parent.removeChild(key);\n };\n function update(targetModule, newModule) {\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 console.warn(\"[vuex] trying to add a new module '\" + key + \"' on hot reloading, \" + 'manual reload is needed');\n return;\n }\n update(targetModule.getChild(key), newModule.modules[key]);\n }\n }\n }\n var Vue; // bind on install\n\n var Store = function Store(options) {\n var this$1 = this;\n if (options === void 0) options = {};\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 var state = options.state;\n if (state === void 0) state = {};\n var plugins = options.plugins;\n if (plugins === void 0) plugins = [];\n var strict = options.strict;\n if (strict === void 0) strict = false;\n\n // store internal state\n this._committing = false;\n this._actions = Object.create(null);\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\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 // 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.concat(devtoolPlugin).forEach(function (plugin) {\n return plugin(this$1);\n });\n };\n var prototypeAccessors = {\n state: {}\n };\n prototypeAccessors.state.get = function () {\n return this._vm.$data.state;\n };\n prototypeAccessors.state.set = function (v) {\n assert(false, \"Use store.replaceState() to explicit replace store state.\");\n };\n Store.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 var mutation = {\n type: type,\n payload: payload\n };\n var entry = this._mutations[type];\n if (!entry) {\n console.error(\"[vuex] unknown mutation type: \" + type);\n return;\n }\n this._withCommit(function () {\n entry.forEach(function commitIterator(handler) {\n handler(payload);\n });\n });\n this._subscribers.forEach(function (sub) {\n return sub(mutation, this$1.state);\n });\n if (options && options.silent) {\n console.warn(\"[vuex] mutation type: \" + type + \". Silent option has been removed. \" + 'Use the filter functionality in the vue-devtools');\n }\n };\n Store.prototype.dispatch = function dispatch(_type, _payload) {\n // check object-style dispatch\n var ref = unifyObjectStyle(_type, _payload);\n var type = ref.type;\n var payload = ref.payload;\n var entry = this._actions[type];\n if (!entry) {\n console.error(\"[vuex] unknown action type: \" + type);\n return;\n }\n return entry.length > 1 ? Promise.all(entry.map(function (handler) {\n return handler(payload);\n })) : entry[0](payload);\n };\n Store.prototype.subscribe = function subscribe(fn) {\n var subs = this._subscribers;\n if (subs.indexOf(fn) < 0) {\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 Store.prototype.watch = function watch(getter, cb, options) {\n var this$1 = this;\n assert(typeof getter === 'function', \"store.watch only accepts a function.\");\n return this._watcherVM.$watch(function () {\n return getter(this$1.state, this$1.getters);\n }, cb, options);\n };\n Store.prototype.replaceState = function replaceState(state) {\n var this$1 = this;\n this._withCommit(function () {\n this$1._vm.state = state;\n });\n };\n Store.prototype.registerModule = function registerModule(path, rawModule) {\n if (typeof path === 'string') {\n path = [path];\n }\n assert(Array.isArray(path), \"module path must be a string or an Array.\");\n this._modules.register(path, rawModule);\n installModule(this, this.state, path, this._modules.get(path));\n // reset store to update getters...\n resetStoreVM(this, this.state);\n };\n Store.prototype.unregisterModule = function unregisterModule(path) {\n var this$1 = this;\n if (typeof path === 'string') {\n path = [path];\n }\n assert(Array.isArray(path), \"module path must be a string or an Array.\");\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 Store.prototype.hotUpdate = function hotUpdate(newOptions) {\n this._modules.update(newOptions);\n resetStore(this, true);\n };\n Store.prototype._withCommit = function _withCommit(fn) {\n var committing = this._committing;\n this._committing = true;\n fn();\n this._committing = committing;\n };\n Object.defineProperties(Store.prototype, prototypeAccessors);\n function 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 function resetStoreVM(store, state, hot) {\n var oldVm = store._vm;\n\n // bind store public getters\n store.getters = {};\n var wrappedGetters = store._wrappedGetters;\n var computed = {};\n forEachValue(wrappedGetters, function (fn, key) {\n // use computed to leverage its lazy-caching mechanism\n computed[key] = function () {\n return fn(store);\n };\n Object.defineProperty(store.getters, key, {\n get: function () {\n return store._vm[key];\n },\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 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.state = null;\n });\n }\n Vue.nextTick(function () {\n return oldVm.$destroy();\n });\n }\n }\n function 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 (namespace) {\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 Vue.set(parentState, moduleName, module.state);\n });\n }\n var local = module.context = makeLocalContext(store, namespace, path);\n module.forEachMutation(function (mutation, key) {\n var namespacedType = namespace + key;\n registerMutation(store, namespacedType, mutation, local);\n });\n module.forEachAction(function (action, key) {\n var namespacedType = namespace + key;\n registerAction(store, namespacedType, action, local);\n });\n module.forEachGetter(function (getter, key) {\n var namespacedType = namespace + key;\n registerGetter(store, namespacedType, getter, local);\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 */\n function makeLocalContext(store, namespace, path) {\n var noNamespace = namespace === '';\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 if (!options || !options.root) {\n type = namespace + type;\n if (!store._actions[type]) {\n console.error(\"[vuex] unknown local action type: \" + args.type + \", global type: \" + type);\n return;\n }\n }\n return store.dispatch(type, payload);\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 if (!options || !options.root) {\n type = namespace + type;\n if (!store._mutations[type]) {\n console.error(\"[vuex] unknown local mutation type: \" + args.type + \", global type: \" + type);\n return;\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 ? function () {\n return store.getters;\n } : function () {\n return makeLocalGetters(store, namespace);\n }\n },\n state: {\n get: function () {\n return getNestedState(store.state, path);\n }\n }\n });\n return local;\n }\n function makeLocalGetters(store, 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) {\n return;\n }\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 () {\n return store.getters[type];\n },\n enumerable: true\n });\n });\n return gettersProxy;\n }\n function registerMutation(store, type, handler, local) {\n var entry = store._mutations[type] || (store._mutations[type] = []);\n entry.push(function wrappedMutationHandler(payload) {\n handler(local.state, payload);\n });\n }\n function registerAction(store, type, handler, local) {\n var entry = store._actions[type] || (store._actions[type] = []);\n entry.push(function wrappedActionHandler(payload, cb) {\n var res = handler({\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, cb);\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 function registerGetter(store, type, rawGetter, local) {\n if (store._wrappedGetters[type]) {\n console.error(\"[vuex] duplicate getter key: \" + type);\n return;\n }\n store._wrappedGetters[type] = function wrappedGetter(store) {\n return rawGetter(local.state,\n // local state\n local.getters,\n // local getters\n store.state,\n // root state\n store.getters // root getters\n );\n };\n }\n function enableStrictMode(store) {\n store._vm.$watch('state', function () {\n assert(store._committing, \"Do not mutate vuex store state outside mutation handlers.\");\n }, {\n deep: true,\n sync: true\n });\n }\n function getNestedState(state, path) {\n return path.length ? path.reduce(function (state, key) {\n return state[key];\n }, state) : state;\n }\n function unifyObjectStyle(type, payload, options) {\n if (isObject(type) && type.type) {\n options = payload;\n payload = type;\n type = type.type;\n }\n assert(typeof type === 'string', \"Expects string as the type, but found \" + typeof type + \".\");\n return {\n type: type,\n payload: payload,\n options: options\n };\n }\n function install(_Vue) {\n if (Vue) {\n console.error('[vuex] already installed. Vue.use(Vuex) should be called only once.');\n return;\n }\n Vue = _Vue;\n applyMixin(Vue);\n }\n\n // auto install in dist mode\n if (typeof window !== 'undefined' && window.Vue) {\n install(window.Vue);\n }\n var index = {\n Store: Store,\n install: install,\n version: '2.1.2',\n mapState: mapState,\n mapMutations: mapMutations,\n mapGetters: mapGetters,\n mapActions: mapActions\n };\n return index;\n});","export const SET_USER_ERROR = 'SET_USER_ERROR';\n","import { buildPopoutURL } from './urlParamsHelper';\n\nexport const popoutChatWindow = (\n origin,\n websiteToken,\n locale,\n conversationCookie\n) => {\n try {\n const windowUrl = buildPopoutURL({\n origin,\n websiteToken,\n locale,\n conversationCookie,\n });\n const popoutWindow = window.open(\n windowUrl,\n `webwidget_session_${websiteToken}`,\n 'resizable=off,width=400,height=600'\n );\n popoutWindow.focus();\n } catch (err) {\n // eslint-disable-next-line no-console\n console.log(err);\n }\n};\n","import toInteger from \"../_lib/toInteger/index.js\";\nimport addMilliseconds from \"../addMilliseconds/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\nvar MILLISECONDS_IN_HOUR = 3600000;\n/**\n * @name addHours\n * @category Hour Helpers\n * @summary Add the specified number of hours to the given date.\n *\n * @description\n * Add the specified number of hours to the given date.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of hours to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} the new date with the hours added\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Add 2 hours to 10 July 2014 23:00:00:\n * const result = addHours(new Date(2014, 6, 10, 23, 0), 2)\n * //=> Fri Jul 11 2014 01:00:00\n */\n\nexport default function addHours(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var amount = toInteger(dirtyAmount);\n return addMilliseconds(dirtyDate, amount * MILLISECONDS_IN_HOUR);\n}","export const SDK_SET_BUBBLE_VISIBILITY = 'sdk-set-bubble-visibility';\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports._setTarget = void 0;\nexports.popParams = popParams;\nexports.pushParams = pushParams;\nexports.target = void 0;\nexports.withParams = withParams;\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n if (enumerableOnly) {\n symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n keys.push.apply(keys, symbols);\n }\n return keys;\n}\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n }\n return target;\n}\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function _typeof(obj) {\n return typeof obj;\n };\n } else {\n _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n return _typeof(obj);\n}\nvar stack = [];\nvar target = null;\nexports.target = target;\nvar _setTarget = function _setTarget(x) {\n exports.target = target = x;\n};\nexports._setTarget = _setTarget;\nfunction pushParams() {\n if (target !== null) {\n stack.push(target);\n }\n exports.target = target = {};\n}\nfunction popParams() {\n var lastTarget = target;\n var newTarget = exports.target = target = stack.pop() || null;\n if (newTarget) {\n if (!Array.isArray(newTarget.$sub)) {\n newTarget.$sub = [];\n }\n newTarget.$sub.push(lastTarget);\n }\n return lastTarget;\n}\nfunction addParams(params) {\n if (_typeof(params) === 'object' && !Array.isArray(params)) {\n exports.target = target = _objectSpread(_objectSpread({}, target), params);\n } else {\n throw new Error('params must be an object');\n }\n}\nfunction withParamsDirect(params, validator) {\n return withParamsClosure(function (add) {\n return function () {\n add(params);\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n return validator.apply(this, args);\n };\n });\n}\nfunction withParamsClosure(closure) {\n var validator = closure(addParams);\n return function () {\n pushParams();\n try {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n return validator.apply(this, args);\n } finally {\n popParams();\n }\n };\n}\nfunction withParams(paramsOrClosure, maybeValidator) {\n if (_typeof(paramsOrClosure) === 'object' && maybeValidator !== undefined) {\n return withParamsDirect(paramsOrClosure, maybeValidator);\n }\n return withParamsClosure(paramsOrClosure);\n}","var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.globalConfig.brandName && !_vm.disableBranding)?_c('div',{staticClass:\"px-0 py-3 flex justify-center\"},[_c('a',{staticClass:\"branding--link justify-center items-center leading-3\",attrs:{\"href\":_vm.brandRedirectURL,\"rel\":\"noreferrer noopener nofollow\",\"target\":\"_blank\"}},[_c('img',{staticClass:\"branding--image\",attrs:{\"alt\":_vm.globalConfig.brandName,\"src\":_vm.globalConfig.logoThumbnail}}),_vm._v(\" \"),_c('span',[_vm._v(\"\\n \"+_vm._s(_vm.useInstallationName(_vm.$t('POWERED_BY'), _vm.globalConfig.brandName))+\"\\n \")])])]):_c('div',{staticClass:\"p-3\"})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Branding.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Branding.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Branding.vue?vue&type=template&id=448a7326&scoped=true\"\nimport script from \"./Branding.vue?vue&type=script&lang=js\"\nexport * from \"./Branding.vue?vue&type=script&lang=js\"\nimport style0 from \"./Branding.vue?vue&type=style&index=0&id=448a7326&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"448a7326\",\n null\n \n)\n\nexport default component.exports","/*!\n * isobject \n *\n * Copyright (c) 2014-2017, Jon Schlinkert.\n * Released under the MIT License.\n */\n\nfunction isObject(val) {\n return val != null && typeof val === 'object' && Array.isArray(val) === false;\n}\n\n/*!\n * is-plain-object \n *\n * Copyright (c) 2014-2017, Jon Schlinkert.\n * Released under the MIT License.\n */\n\nfunction isObjectObject(o) {\n return isObject(o) === true && Object.prototype.toString.call(o) === '[object Object]';\n}\nfunction isPlainObject(o) {\n var ctor, prot;\n if (isObjectObject(o) === false) return false;\n\n // If has modified constructor\n ctor = o.constructor;\n if (typeof ctor !== 'function') return false;\n\n // If has modified prototype\n prot = ctor.prototype;\n if (isObjectObject(prot) === false) return false;\n\n // If constructor does not have an Object-specific method\n if (prot.hasOwnProperty('isPrototypeOf') === false) {\n return false;\n }\n\n // Most likely a plain Object\n return true;\n}\nexport default isPlainObject;","function e(e) {\n return \"string\" == typeof e ? e[0].toUpperCase() + e.substr(1) : e;\n}\nvar r = {\n accepted: function (e) {\n return \"من فضلك اقبل ال \" + e.name;\n },\n after: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" يجب أن يأتي بعد \" + a[0] + \".\" : e(n) + \" يجب أن يكون تاريخ أحدث\";\n },\n alpha: function (r) {\n return e(r.name) + \" يجب أن يحتوى على حروف أبجدية فقط.\";\n },\n alphanumeric: function (r) {\n return e(r.name) + \" يمكن أن يحتوي على حروف أبجدية أو أرقام فقط.\";\n },\n before: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" يجب أن يكون قبل \" + a[0] + \".\" : e(n) + \" يجب أن يكون تاريخ أقدم\";\n },\n between: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" يجب أن يقع بين \" + t[0] + \" و \" + t[1] + \".\" : e(n) + \" يجب ان يكون طوله بين \" + t[0] + \" و \" + t[1] + \" حرف.\";\n },\n confirm: function (r) {\n var n = r.name;\n r.args;\n return e(n) + \" غير متطابق.\";\n },\n date: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" ليس على الصيغة الصحيحة, من فضلك استخدم هذه الصيغة \" + a[0] : e(n) + \" ليس على الصيغة الصحيحة.\";\n },\n default: function (e) {\n e.name;\n return \"هذه القيمة غير مناسبة.\";\n },\n email: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” ليس عنوان بريد الكتروني.\" : \"من فضلك أدخل عنوان بريد الكتروني مناسب.\";\n },\n endsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” لا تنتهي بنهاية صحيحة.\" : \"نهاية هذه القيمة ليست صحيحة.\";\n },\n in: function (r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” ليس \" + n + \" صحيح.\" : \"هذه القيمة ليست \" + n + \" صحيح.\";\n },\n matches: function (r) {\n return e(r.name) + \" ليست قيمة مسموح بها.\";\n },\n max: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"يمكنك فقط ان تختار \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" لا يمكن أن يتجاوز \" + t[0] + \".\" : e(n) + \" لا يجب ان يزيد طوله عن \" + t[0] + \" حرف.\";\n },\n mime: function (r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" يجب ان يكون من نوع \" + (a[0] || \"لا يسمح بأي نوع.\");\n },\n min: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"يجب أن تختار على الأقل \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" يجب أن يكون أكبر من \" + t[0] + \".\" : e(n) + \" يجب أن يكون طوله أكبر من \" + t[0] + \" حرف.\";\n },\n not: function (e) {\n var r = e.name;\n return \"“\" + e.value + \"” ليست قيمة مسموح بها ك\" + r + \".\";\n },\n number: function (r) {\n return e(r.name) + \" يجب أن يكون رقم.\";\n },\n required: function (r) {\n return e(r.name) + \" ضروري.\";\n },\n startsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” لا تبدأ بقيمة صحيحة.\" : \"هذه القيمة لا تبدأ بقيمة صحيحة.\";\n },\n url: function (e) {\n e.name;\n return \"من فضلك أدخل رابط صحيح.\";\n }\n};\nfunction n(e) {\n var n;\n e.extend({\n locales: (n = {}, n.ar = r, n)\n });\n}\nvar a = {\n accepted: function (e) {\n return \"Si us plau accepta els \" + e.name + \".\";\n },\n after: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" ha de ser després de \" + a[0] + \".\" : e(n) + \" ha de ser una data posterior.\";\n },\n alpha: function (r) {\n return e(r.name) + \" només pot contenir lletres.\";\n },\n alphanumeric: function (r) {\n return e(r.name) + \" només pot contenir lletres i números.\";\n },\n before: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" ha de ser abans de \" + a[0] + \".\" : e(n) + \" ha de ser una data anterior\";\n },\n between: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" ha d'estar entre \" + t[0] + \" i \" + t[1] + \".\" : e(n) + \" ha de tenir entre \" + t[0] + \" i \" + t[1] + \" caràcters.\";\n },\n confirm: function (r) {\n var n = r.name;\n r.args;\n return e(n) + \" no coincideix.\";\n },\n date: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" no és una data vàlida, si us plau usi el format \" + a[0] : e(n) + \" no és una data vàlida.\";\n },\n default: function (e) {\n e.name;\n return \"Aquest camp no és vàlid.\";\n },\n email: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” no és un correu electrònic vàlid.\" : \"Si us plau introdueixi un correu electrònic vàlid.\";\n },\n endsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” no acaba en un valor vàlid.\" : \"Aquest camp no acaba en un valor vàlid.\";\n },\n in: function (r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” no és un \" + n + \" permès.\" : \"Això no és un \" + n + \" permès.\";\n },\n matches: function (r) {\n return e(r.name) + \" no és un valor permès.\";\n },\n max: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Només pots seleccionar \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" ha de ser menor o igual que \" + t[0] + \".\" : e(n) + \" ha de ser menor o igual que \" + t[0] + \" caràcters.\";\n },\n mime: function (r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" ha de ser de tipus: \" + (a[0] || \"No es permet el format d'arxius.\");\n },\n min: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Necessites almenys \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" ha de contenir almenys \" + t[0] + \".\" : e(n) + \" ha de contenir almenys \" + t[0] + \" caràcters.\";\n },\n not: function (e) {\n var r = e.name;\n return \"“\" + e.value + \"” no és un \" + r + \" permès.\";\n },\n number: function (r) {\n return e(r.name) + \" ha de ser un número.\";\n },\n required: function (r) {\n return e(r.name) + \" és requerit.\";\n },\n startsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” no comença amb un valor vàlid.\" : \"Aquest camp no comença amb un valor vàlid.\";\n },\n url: function (e) {\n e.name;\n return \"Si us plau introdueixi una url vàlida.\";\n }\n};\nfunction t(e) {\n var r;\n e.extend({\n locales: (r = {}, r.ca = a, r)\n });\n}\nvar i = {\n accepted: function (e) {\n return \"Prosím potvrďte \" + e.name + \".\";\n },\n after: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" musí bý po \" + a[0] + \".\" : e(n) + \" musí být pozdější datum.\";\n },\n alpha: function (r) {\n return e(r.name) + \" může obsahovat pouze písmena.\";\n },\n alphanumeric: function (r) {\n return e(r.name) + \" může obsahovat pouze písmena a čísla.\";\n },\n before: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" musí být před \" + a[0] + \".\" : e(n) + \" musí být dřívější datum.\";\n },\n between: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" musí být mezi \" + t[0] + \" a \" + t[1] + \".\" : e(n) + \" délka musí být mezi \" + t[0] + \" a \" + t[1] + \" znaky.\";\n },\n confirm: function (r) {\n var n = r.name;\n r.args;\n return e(n) + \" se neshoduje.\";\n },\n date: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" není platné datum, použijte formát \" + a[0] : e(n) + \" není platné datum.\";\n },\n default: function (e) {\n e.name;\n return \"Toto pole není vyplěno správně.\";\n },\n email: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” není platná e-mailová adresa.\" : \"Zadejte platnou e-mailovou adresu.\";\n },\n endsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” nekončí správnou hodnotou.\" : \"Toto pole nekončí správnou hodnotou.\";\n },\n in: function (r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” není povolená hodnota \" + n + \".\" : \"Toto není povolená hodnota \" + n + \".\";\n },\n matches: function (r) {\n return e(r.name) + \" není povolená hodnota.\";\n },\n max: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Můžete vybrat pouze \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" musí být menší nebo rovno \" + t[0] + \".\" : e(n) + \" musí být menší nebo rovno \" + t[0] + \" znaků.\";\n },\n mime: function (r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" musí být typ: \" + (a[0] || \"Žádné typy souborů nejsou povolené.\");\n },\n min: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Je potřeba nejméně \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" musí být nejméně \" + t[0] + \".\" : e(n) + \" musí být nejméně \" + t[0] + \" znaků.\";\n },\n not: function (e) {\n var r = e.name;\n return \"“\" + e.value + \"” není povolená hodnota \" + r + \".\";\n },\n number: function (r) {\n return e(r.name) + \" musí být číslo.\";\n },\n required: function (r) {\n return \"Pole \" + e(r.name) + \" je povinné.\";\n },\n startsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” nezačíná platnou hodnotou.\" : \"Toto pole nezačíná platnou hodnotou.\";\n },\n url: function (e) {\n e.name;\n return \"Zadejte platnou URL adresu.\";\n }\n};\nfunction u(e) {\n var r;\n e.extend({\n locales: (r = {}, r.cs = i, r)\n });\n}\nvar o = {\n accepted: function (e) {\n return \"Accepter venligst \" + e.name + \".\";\n },\n after: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" skal være efter \" + a[0] + \".\" : e(n) + \" skal være en senere dato.\";\n },\n alpha: function (r) {\n return e(r.name) + \" kan kun indeholde bogstaver.\";\n },\n alphanumeric: function (r) {\n return e(r.name) + \" kan kun indeholde bogstaver og tal.\";\n },\n before: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" skal være før \" + a[0] + \".\" : e(n) + \" skal være en tidligere dato.\";\n },\n between: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" skal være mellem \" + t[0] + \" og \" + t[1] + \".\" : e(n) + \" skal være mellem \" + t[0] + \" og \" + t[1] + \" tegn.\";\n },\n confirm: function (r) {\n var n = r.name;\n r.args;\n return e(n) + \" matcher ikke.\";\n },\n date: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" er ikke gyldig, brug venligst formatet \" + a[0] : e(n) + \" er ikke en gyldig dato.\";\n },\n default: function (e) {\n e.name;\n return \"Dette felt er ikke gyldigt.\";\n },\n email: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” er ikke en gyldig email-adresse.\" : \"Indtast venligst en gyldig email-adresse.\";\n },\n endsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” slutter ikke med en gyldig værdi.\" : \"Dette felt slutter ikke med en gyldig værdi.\";\n },\n in: function (r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” er ikke en tilladt \" + n + \".\" : \"Dette er ikke en tilladt \" + n + \".\";\n },\n matches: function (r) {\n return e(r.name) + \" er ikke en gyldig værdi.\";\n },\n max: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Du kan kun vælge \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" skal være mindre end eller lig \" + t[0] + \".\" : e(n) + \" skal være mindre end eller lig \" + t[0] + \" tegn.\";\n },\n mime: function (r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" skal være af typen: \" + (a[0] || \"Ingen tilladte filformater.\");\n },\n min: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Du skal vælge mindst \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" skal være mere end \" + t[0] + \".\" : e(n) + \" skal være mere end \" + t[0] + \" tegn.\";\n },\n not: function (e) {\n var r = e.name;\n return \"“\" + e.value + \"” er ikke en gyldig \" + r + \".\";\n },\n number: function (r) {\n return e(r.name) + \" skal være et tal.\";\n },\n required: function (r) {\n return e(r.name) + \" er påkrævet.\";\n },\n startsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” starter ikke med en gyldig værdi.\" : \"Dette felt starter ikke med en gyldig værdi.\";\n },\n url: function (e) {\n e.name;\n return \"Indtast venligst en gyldig URL.\";\n }\n};\nfunction s(e) {\n var r;\n e.extend({\n locales: (r = {}, r.da = o, r)\n });\n}\nvar l = {\n accepted: function (e) {\n return e.name + \" erfordert Zustimmung.\";\n },\n after: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" muss auf \" + a[0] + \" folgen.\" : e(n) + \" muss ein späteres Datum sein.\";\n },\n alpha: function (r) {\n return e(r.name) + \" darf nur Buchstaben enthalten.\";\n },\n alphanumeric: function (r) {\n return e(r.name) + \" darf nur Buchstaben und Zahlen enthalten.\";\n },\n before: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" muss vor \" + a[0] + \" sein.\" : e(n) + \" muss ein früheres Datum sein.\";\n },\n between: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" muss zwischen \" + t[0] + \" und \" + t[1] + \".\" : e(n) + \" muss zwischen \" + t[0] + \" und \" + t[1] + \" Zeichen lang sein.\";\n },\n confirm: function (r) {\n var n = r.name;\n r.args;\n return e(n) + \" stimmt nicht überein.\";\n },\n date: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" ist nicht korrekt, bitte das Format \" + a[0] + \" benutzen.\" : e(n) + \" ist kein gültiges Datum.\";\n },\n default: function (e) {\n e.name;\n return \"Das Feld hat einen Fehler.\";\n },\n email: function (e) {\n e.name;\n var r = e.value;\n return r ? \"„\" + r + \"“ ist keine gültige E-Mail-Adresse.\" : \"Bitte eine gültige E-Mail-Adresse eingeben.\";\n },\n endsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"„\" + r + \"” endet nicht mit einem gültigen Wert.\" : \"Dieses Feld endet nicht mit einem gültigen Wert\";\n },\n in: function (r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"„\" + e(a) + \"“ ist kein gültiger Wert für \" + n + \".\" : \"Dies ist kein gültiger Wert für \" + n + \".\";\n },\n matches: function (r) {\n return e(r.name) + \" ist kein gültiger Wert.\";\n },\n max: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Es dürfen nur \" + t[0] + \" \" + n + \" ausgewählt werden.\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" muss kleiner oder gleich \" + t[0] + \" sein.\" : e(n) + \" muss \" + t[0] + \" oder weniger Zeichen lang sein.\";\n },\n mime: function (r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" muss den Typ \" + (a[0] || \"Keine Dateien erlaubt\") + \" haben.\";\n },\n min: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Es müssen mindestens \" + t[0] + \" \" + n + \" ausgewählt werden.\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" muss größer als \" + t[0] + \" sein.\" : e(n) + \" muss \" + t[0] + \" oder mehr Zeichen lang sein.\";\n },\n not: function (e) {\n var r = e.name;\n return \"„\" + e.value + \"“ ist kein erlaubter Wert für \" + r + \".\";\n },\n number: function (r) {\n return e(r.name) + \" muss eine Zahl sein.\";\n },\n required: function (r) {\n return e(r.name) + \" ist ein Pflichtfeld.\";\n },\n startsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"„\" + r + \"” beginnt nicht mit einem gültigen Wert\" : \"Dieses Feld beginnt nicht mit einem gültigen Wert\";\n },\n url: function (r) {\n return e(r.name) + \" muss eine gültige URL sein.\";\n }\n};\nfunction m(e) {\n var r;\n e.extend({\n locales: (r = {}, r.de = l, r)\n });\n}\nvar v = {\n accepted: function (e) {\n return \"Please accept the \" + e.name + \".\";\n },\n after: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" must be after \" + a[0] + \".\" : e(n) + \" must be a later date.\";\n },\n alpha: function (r) {\n return e(r.name) + \" can only contain alphabetical characters.\";\n },\n alphanumeric: function (r) {\n return e(r.name) + \" can only contain letters and numbers.\";\n },\n before: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" must be before \" + a[0] + \".\" : e(n) + \" must be an earlier date.\";\n },\n between: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" must be between \" + t[0] + \" and \" + t[1] + \".\" : e(n) + \" must be between \" + t[0] + \" and \" + t[1] + \" characters long.\";\n },\n confirm: function (r) {\n var n = r.name;\n r.args;\n return e(n) + \" does not match.\";\n },\n date: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" is not a valid date, please use the format \" + a[0] : e(n) + \" is not a valid date.\";\n },\n default: function (e) {\n e.name;\n return \"This field isn’t valid.\";\n },\n email: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” is not a valid email address.\" : \"Please enter a valid email address.\";\n },\n endsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” doesn’t end with a valid value.\" : \"This field doesn’t end with a valid value.\";\n },\n in: function (r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” is not an allowed \" + n + \".\" : \"This is not an allowed \" + n + \".\";\n },\n matches: function (r) {\n return e(r.name) + \" is not an allowed value.\";\n },\n max: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"You may only select \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" must be less than or equal to \" + t[0] + \".\" : e(n) + \" must be less than or equal to \" + t[0] + \" characters long.\";\n },\n mime: function (r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" must be of the type: \" + (a[0] || \"No file formats allowed.\");\n },\n min: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"You need at least \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" must be at least \" + t[0] + \".\" : e(n) + \" must be at least \" + t[0] + \" characters long.\";\n },\n not: function (e) {\n var r = e.name;\n return \"“\" + e.value + \"” is not an allowed \" + r + \".\";\n },\n number: function (r) {\n return e(r.name) + \" must be a number.\";\n },\n required: function (r) {\n return e(r.name) + \" is required.\";\n },\n startsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” doesn’t start with a valid value.\" : \"This field doesn’t start with a valid value.\";\n },\n url: function (e) {\n e.name;\n return \"Please include a valid url.\";\n }\n};\nfunction c(e) {\n var r;\n e.extend({\n locales: (r = {}, r.en = v, r)\n });\n}\nvar f = {\n accepted: function (e) {\n return \"Por favor acepta los \" + e.name + \".\";\n },\n after: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" debe ser luego de \" + a[0] + \".\" : e(n) + \" debe ser una fecha posterior.\";\n },\n alpha: function (r) {\n return e(r.name) + \" solo puede contener letras.\";\n },\n alphanumeric: function (r) {\n return e(r.name) + \" solo puede contener letras y números.\";\n },\n before: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" debe ser antes de \" + a[0] + \".\" : e(n) + \" debe ser una fecha anterior.\";\n },\n between: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" debe estar entre \" + t[0] + \" y \" + t[1] + \".\" : e(n) + \" debe tener entre \" + t[0] + \" y \" + t[1] + \" caracteres.\";\n },\n confirm: function (r) {\n var n = r.name;\n r.args;\n return e(n) + \" no coincide.\";\n },\n date: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" no es una fecha válida, por favor use el formato \" + a[0] : e(n) + \" no es una fecha válida.\";\n },\n default: function (e) {\n e.name;\n return \"Este campo no es válido.\";\n },\n email: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” no es un correo electrónico válido.\" : \"Por favor introduzca un correo electrónico válido.\";\n },\n endsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” no termina en un valor válido.\" : \"Este campo no termina en un valor válido.\";\n },\n in: function (r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” no es un \" + n + \" permitido.\" : \"Esto no es un \" + n + \" permitido.\";\n },\n matches: function (r) {\n return e(r.name) + \" no es un valor permitido.\";\n },\n max: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Solo puedes seleccionar \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" debe ser menor o igual que \" + t[0] + \".\" : e(n) + \" debe ser menor o igual que \" + t[0] + \" caracteres.\";\n },\n mime: function (r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" debe ser de tipo: \" + (a[0] || \"No se permite el formato de archivos.\");\n },\n min: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Necesitas al menos \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" debe contener al menos \" + t[0] + \".\" : e(n) + \" debe contener al menos \" + t[0] + \" caracteres.\";\n },\n not: function (e) {\n var r = e.name;\n return \"“\" + e.value + \"” no es un \" + r + \" permitido.\";\n },\n number: function (r) {\n return e(r.name) + \" debe ser un número.\";\n },\n required: function (r) {\n return e(r.name) + \" es requerido.\";\n },\n startsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” no comienza con un valor válido.\" : \"Este campo no comienza con un valor válido.\";\n },\n url: function (e) {\n e.name;\n return \"Por favor introduzca una url válida.\";\n }\n};\nfunction d(e) {\n var r;\n e.extend({\n locales: (r = {}, r.es = f, r)\n });\n}\nvar g = {\n accepted: function (e) {\n return \"Merci d'accepter les \" + e.name + \".\";\n },\n after: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" doit être postérieur à \" + a[0] + \".\" : e(n) + \" doit être une date ultérieure.\";\n },\n alpha: function (r) {\n return e(r.name) + \" peut uniquement contenir des lettres.\";\n },\n alphanumeric: function (r) {\n return e(r.name) + \" peut uniquement contenir des lettres ou des chiffres\";\n },\n before: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" doit être antérieur à \" + a[0] + \".\" : e(n) + \" doit être une date antérieure.\";\n },\n between: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" doit être compris entre \" + t[0] + \" et \" + t[1] + \".\" : e(n) + \" doit être compris entre \" + t[0] + \" et \" + t[1] + \" caractères.\";\n },\n confirm: function (r) {\n var n = r.name;\n r.args;\n return e(n) + \" ne correspond pas.\";\n },\n date: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" n'est pas valide. Merci d'utiliser le format \" + a[0] : e(n) + \" n'est pas une date valide.\";\n },\n default: function (e) {\n e.name;\n return \"Ce champ n'est pas valide.\";\n },\n email: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” n'est pas une adresse email valide.\" : \"Merci d'entrer une adresse email valide.\";\n },\n endsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” ne termine pas par une valeur correcte.\" : \"Ce champ ne termine pas par une valeur correcte.\";\n },\n in: function (r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” n'est pas un(e) \" + n + \" autorisé(e).\" : \"Cette valeur n'est pas un(e) \" + n + \" autorisé(e).\";\n },\n matches: function (r) {\n return e(r.name) + \" n'est pas une valeur autorisée.\";\n },\n max: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Vous pouvez uniquement sélectionner \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" doit être inférieur ou égal à \" + t[0] + \".\" : e(n) + \" doit être inférieur ou égal à \" + t[0] + \" caractères.\";\n },\n mime: function (r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" doit être de type: \" + (a[0] || \"Aucun format autorisé.\");\n },\n min: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Vous devez sélectionner au moins \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" doit être supérieur à \" + t[0] + \".\" : e(n) + \" doit être plus long que \" + t[0] + \" caractères.\";\n },\n not: function (e) {\n var r = e.name;\n return \"“\" + e.value + \"” n'est pas un(e) \" + r + \" autorisé(e).\";\n },\n number: function (r) {\n return e(r.name) + \" doit être un nombre.\";\n },\n required: function (r) {\n return e(r.name) + \" est obligatoire.\";\n },\n startsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” ne commence pas par une valeur correcte.\" : \"Ce champ ne commence pas par une valeur correcte.\";\n },\n url: function (e) {\n e.name;\n return \"Merci d'entrer une URL valide.\";\n }\n};\nfunction y(e) {\n var r;\n e.extend({\n locales: (r = {}, r.fr = g, r)\n });\n}\nvar h = {\n accepted: function (e) {\n return \"אנא קבל את ה\" + e.name + \".\";\n },\n after: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" חייב להיות אחרי \" + a[0] + \".\" : e(n) + \" חייב להיות תאריך יותר מאוחר.\";\n },\n alpha: function (r) {\n return e(r.name) + \" יכול להכיל אותיות בלבד.\";\n },\n alphanumeric: function (r) {\n return e(r.name) + \" יכול להכיל אותיות ומספרים בלבד.\";\n },\n before: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" חייב להיות לפני \" + a[0] + \".\" : e(n) + \" חייב להיות תאריך יותר מוקדם.\";\n },\n between: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" חייב להיות בין \" + t[0] + \" ו-\" + t[1] + \".\" : e(n) + \" חייב להיות בין \" + t[0] + \" ו-\" + t[1] + \" אותיות.\";\n },\n confirm: function (r) {\n var n = r.name;\n r.args;\n return e(n) + \" אינו תואם.\";\n },\n date: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" אינו תאריך תקין, אנא השתמש בפורמט \" + a[0] : e(n) + \" אינו תאריך תקין.\";\n },\n default: function (e) {\n e.name;\n return \"השדה אינו תקין.\";\n },\n email: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” אינו כתובת אימייל תקין.\" : \"אנא הכנס כתובת אימייל תקין.\";\n },\n endsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” אינו מסתיים בערך תקין.\" : \"שדה זו אינו מסתיים בערך תקין.\";\n },\n in: function (r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” אינו \" + n + \" מורשה.\" : \"ערך זו איננו \" + n + \" מורשה.\";\n },\n matches: function (r) {\n return e(r.name) + \" אינו ערך מורשה.\";\n },\n max: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"אתה יכול לבחור רק \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" חייב להיות פחות או שוה ל-\" + t[0] + \".\" : e(n) + \" חייב להיות פחות או שוה ל-\" + t[0] + \" אותיות.\";\n },\n mime: function (r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" חייב להיות מסוג של: \" + (a[0] || \"סוגי קבצים לא מורשים.\");\n },\n min: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"אתה צריך לפחות \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" חייב להיות לפחות \" + t[0] + \".\" : e(n) + \" חייב להיות לפחות \" + t[0] + \" אותיות.\";\n },\n not: function (e) {\n var r = e.name;\n return \"“\" + e.value + \"” אינו \" + r + \" מורשה.\";\n },\n number: function (r) {\n return e(r.name) + \" חייב להיות מספר.\";\n },\n required: function (r) {\n return e(r.name) + \" נדרש.\";\n },\n startsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” אינו מתחיל בערך תקף.\" : \"שדה זה אינו מתחיל בערך תקף.\";\n },\n url: function (e) {\n e.name;\n return \"אנא כלול כתובת אתר חוקית.\";\n }\n};\nfunction A(e) {\n var r;\n e.extend({\n locales: (r = {}, r.he = h, r)\n });\n}\nvar p = {\n accepted: function (e) {\n return \"Kérlek fogadd el a(z) \" + e.name + \" mezőt.\";\n },\n after: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" után kell lennie \" + a[0] + \".\" : e(n) + \" későbbi dátumnak kell lennie.\";\n },\n alpha: function (r) {\n return e(r.name) + \" csak ábécé szerinti karaktereket tartalmazhat.\";\n },\n alphanumeric: function (r) {\n return e(r.name) + \" csak betűket és számokat tartalmazhat.\";\n },\n before: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" előtt kell lennie \" + a[0] + \".\" : e(n) + \" korábbi dátumnak kell lennie.\";\n },\n between: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" között kell lennie \" + t[0] + \" és \" + t[1] + \".\" : e(n) + \" között kell lennie \" + t[0] + \" és \" + t[1] + \" karakter hosszú.\";\n },\n confirm: function (r) {\n var n = r.name;\n r.args;\n return e(n) + \" nem egyezik.\";\n },\n date: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" nem érvényes dátum, kérlek használd a \" + a[0] + \" formátumot.\" : e(n) + \" nem érvényes dátum.\";\n },\n default: function (e) {\n e.name;\n return \"Ez a mező érvénytelen.\";\n },\n email: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” nem érvényes e-mail cím.\" : \"Kérlek valós e-mail címet adj meg.\";\n },\n endsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” nem ér véget érvényes értékkel.\" : \"Ez a mező nem ér véget érvényes értékkel.\";\n },\n in: function (r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” nem megengedett \" + n + \".\" : \"Ez nem megengedett \" + n + \".\";\n },\n matches: function (r) {\n return e(r.name) + \" nem megengedett érték.\";\n },\n max: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Csak választható \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" kisebbnek vagy egyenlőnek kell lennie \" + t[0] + \".\" : e(n) + \" kisebbnek vagy egyenlőnek kell lennie \" + t[0] + \" karakter hosszú.\";\n },\n mime: function (r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" típusúnak kell lennie: \" + (a[0] || \"Nem engedélyezett fájlformátumok.\");\n },\n min: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Legalább szükséges \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" legalább \" + t[0] + \".\" : e(n) + \" legalább \" + t[0] + \" karakter hosszú.\";\n },\n not: function (e) {\n var r = e.name;\n return \"“\" + e.value + \"” nem megengedett \" + r + \".\";\n },\n number: function (r) {\n return e(r.name) + \" számnak kell lennie.\";\n },\n required: function (r) {\n return e(r.name) + \" kötelező.\";\n },\n startsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” nem érvényes értékkel kezdődik.\" : \"Ez a mező nem érvényes értékkel kezdődik.\";\n },\n url: function (e) {\n e.name;\n return \"Kérlek érvényes ulr-t adj meg.\";\n }\n};\nfunction b(e) {\n var r;\n e.extend({\n locales: (r = {}, r.hu = p, r)\n });\n}\nvar k = {\n accepted: function (e) {\n return \"Per favore, accetta il campo \" + e.name + \".\";\n },\n after: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" deve essere una data successiva al \" + a[0] + \".\" : e(n) + \" deve essere una data successiva a quella attuale.\";\n },\n alpha: function (r) {\n return e(r.name) + \" può contenere solo lettere.\";\n },\n alphanumeric: function (r) {\n return e(r.name) + \" può contenere solo lettere e numeri.\";\n },\n before: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" deve essere una data precedente al \" + a[0] + \".\" : e(n) + \" deve essere una data precedente a quella attuale.\";\n },\n between: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" deve essere tra \" + t[0] + \" e \" + t[1] + \".\" : e(n) + \" deve avere una lunghezza compresa tra \" + t[0] + \" e \" + t[1] + \" caratteri.\";\n },\n confirm: function (r) {\n var n = r.name;\n r.args;\n return e(n) + \" non corrisponde.\";\n },\n date: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" non è una data valida. Per favore usa il formato \" + a[0] : e(n) + \" non è una data valida.\";\n },\n default: function (e) {\n e.name;\n return \"Questo campo non è valido.\";\n },\n email: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” non è un indirizzo email valido.\" : \"Per favore, inserisci un indirizzo email valido.\";\n },\n endsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” non termina con un valore valido.\" : \"Questo campo non termina con un valore valido.\";\n },\n in: function (r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” non è un valore valido per il campo \" + n + \".\" : n + \" invalido.\";\n },\n matches: function (r) {\n return e(r.name) + \" invalido.\";\n },\n max: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Puoi selezionare al massimo \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" deve essere inferiore o uguale a \" + t[0] + \".\" : e(n) + \" deve essere inferiore o uguale a \" + t[0] + \" caratteri.\";\n },\n mime: function (r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" deve essere del tipo: \" + (a[0] || \"Nessun formato file autorizzato.\");\n },\n min: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Devi selezionare almeno \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" deve essere maggiore di \" + t[0] + \".\" : e(n) + \" deve essere più lungo di \" + t[0] + \" caratteri.\";\n },\n not: function (e) {\n var r = e.name;\n return \"“\" + e.value + \"” non è un valore valido per il campo \" + r + \".\";\n },\n number: function (r) {\n return e(r.name) + \" deve essere un numero.\";\n },\n required: function (r) {\n return e(r.name) + \" è un campo obbligatorio.\";\n },\n startsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” non inizia con un valore valido.\" : \"Questo campo non inizia con un valore valido.\";\n },\n url: function (e) {\n e.name;\n return \"Per favore inserisci un URL valido.\";\n }\n};\nfunction N(e) {\n var r;\n e.extend({\n locales: (r = {}, r.it = k, r)\n });\n}\nvar z = {\n accepted: function (e) {\n return e.name + \"を承認してください。\";\n },\n after: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \"は \" + a[0] + \" 以降にしてください。\" : e(n) + \"はより後にしてください。\";\n },\n alpha: function (r) {\n return e(r.name) + \"にはアルファベットのみ使用できます。\";\n },\n alphanumeric: function (r) {\n return e(r.name) + \"には英数字のみ使用できます。\";\n },\n before: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \"は \" + a[0] + \" 以前にしてください。\" : e(n) + \"はより前にしてください。\";\n },\n between: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \"は\" + t[0] + \"から\" + t[1] + \"の間でなければなりません。\" : e(n) + \"は\" + t[0] + \"文字から\" + t[1] + \"文字でなければなりません。\";\n },\n confirm: function (r) {\n var n = r.name;\n r.args;\n return e(n) + \"が一致しません。\";\n },\n date: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \"は有効な形式ではありません。次のフォーマットで入力してください: \" + a[0] : e(n) + \"は有効な形式ではありません。\";\n },\n default: function (e) {\n e.name;\n return \"有効な値ではありません。\";\n },\n email: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” は有効なメールアドレスではありません。\" : \"有効なメールアドレスを入力してください。\";\n },\n endsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” は有効な値で終わっていません。\" : \"有効な値で終わっていません。\";\n },\n in: function (r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” は許可された\" + n + \"ではありません。\" : \"許可された\" + n + \"ではありません。\";\n },\n matches: function (r) {\n return e(r.name) + \"は許可された値ではありません。\";\n },\n max: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return n + \"は\" + t[0] + \"項目しか選択できません。\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \"は\" + t[0] + \"以下でなければなりません。\" : e(n) + \"は\" + t[0] + \"文字以下でなければなりません。\";\n },\n mime: function (r) {\n var n = r.name,\n a = r.args;\n return e(n) + \"は次のファイル形式でなければなりません: \" + (a[0] || \"許可されたファイル形式がありません\");\n },\n min: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return n + \"は\" + t[0] + \"項目以上選択してください。\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \"は\" + t[0] + \"以上でなければなりません。\" : e(n) + \"は\" + t[0] + \"文字以上でなければなりません。\";\n },\n not: function (e) {\n var r = e.name;\n return \"“\" + e.value + \"” は許可された\" + r + \"ではありません。\";\n },\n number: function (r) {\n return e(r.name) + \"には数字のみ使用できます。\";\n },\n required: function (r) {\n return e(r.name) + \"は必須項目です。\";\n },\n startsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” は有効な値で始まっていません。\" : \"有効な値で始まっていません。\";\n },\n url: function (e) {\n e.name;\n return \"有効なURLを入力してください。\";\n }\n};\nfunction j(e) {\n var r;\n e.extend({\n locales: (r = {}, r.ja = z, r)\n });\n}\nvar w = {\n accepted: function (e) {\n return e.name + \" 승인해 주세요.\";\n },\n after: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" \" + a[0] + \" 이후이어야 합니다.\" : e(n) + \" 미래의 날짜이어야 합니다.\";\n },\n alpha: function (r) {\n return e(r.name) + \" 알파벳만 사용할 수 있습니다.\";\n },\n alphanumeric: function (r) {\n return e(r.name) + \" 문자와 숫자만 사용할 수 있습니다.\";\n },\n before: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" \" + a[0] + \" 이전이어야 합니다.\" : e(n) + \"이전이어야 합니다.\";\n },\n between: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" \" + t[0] + \"와 \" + t[1] + \"사이이어야 합니다.\" : e(n) + \" \" + t[0] + \"자애서 \" + t[1] + \"자 사이이어야 합니다.\";\n },\n confirm: function (r) {\n var n = r.name;\n r.args;\n return e(n) + \" 일치하지 않습니다.\";\n },\n date: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" 유효한 날짜 형식이 아닙니다. 다음과 같은 형식으로 입력해 주세요: \" + a[0] : e(n) + \"올바른 날짜 형식이 아닙니다.\";\n },\n default: function (e) {\n e.name;\n return \"유효하지 않은 값입니다.\";\n },\n email: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” 유효한 이메일 주소가 아닙니다.\" : \"유효한 이메일 주소를 입력해 주세요.\";\n },\n endsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"”으로 끝내야합니다.\" : \"유효한 값으로 끝나지 않습니다.\";\n },\n in: function (r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” 허용된 \" + n + \" 아닙니다.\" : n + \" 허용된 값이 아닙니다.\";\n },\n matches: function (r) {\n return e(r.name) + \" 허용 된 값이 아닙니다.\";\n },\n max: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return n + \" \" + t[0] + \"개의 항목만 선택 가능합니다.\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" \" + t[0] + \"이하이어야 합니다.\" : e(n) + \" \" + t[0] + \"자 이하이어야 합니다.\";\n },\n mime: function (r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" 다음과 같은 파일 형식이어야 합니다: \" + (a[0] || \"허용되는 파일 형식이 아닙니다.\");\n },\n min: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return n + \" \" + t[0] + \" 이상 선택해 주세요.\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" \" + t[0] + \"이상이어야 합니다.\" : e(n) + \" \" + t[0] + \"자 이상이어야 합니다.\";\n },\n not: function (e) {\n var r = e.name;\n return \"“\" + e.value + \"” 허용된 \" + r + \" 아닙니다.\";\n },\n number: function (r) {\n return e(r.name) + \" 숫자만 사용 가능합니다.\";\n },\n required: function (r) {\n return e(r.name) + \" 필수 항목입니다.\";\n },\n startsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” 유효한 값으로 시작하지 않습니다.\" : \"유효한 값으로 시작하지 않습니다.\";\n },\n url: function (e) {\n e.name;\n return \"유효한 URL을 입력해 주세요.\";\n }\n};\nfunction x(e) {\n var r;\n e.extend({\n locales: (r = {}, r.ko = w, r)\n });\n}\nvar W = {\n accepted: function (e) {\n return \"Vennligst aksepter \" + e.name + \".\";\n },\n after: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" må være etter \" + a[0] + \".\" : e(n) + \" må være på en senere dato.\";\n },\n alpha: function (r) {\n return e(r.name) + \" kan kun inneholde bokstaver.\";\n },\n alphanumeric: function (r) {\n return e(r.name) + \" kan kun inneholde bokstaver og tall.\";\n },\n before: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" må være før \" + a[0] + \".\" : e(n) + \" må være en tidligere dato.\";\n },\n between: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" må være mellom \" + t[0] + \" og \" + t[1] + \".\" : e(n) + \" må være mellom \" + t[0] + \" og \" + t[1] + \" tegn.\";\n },\n confirm: function (r) {\n var n = r.name;\n r.args;\n return e(n) + \" matcher ikke.\";\n },\n date: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" er ikke gyldig. Vennligst bruk formatet \" + a[0] : e(n) + \" er ikke en gyldig dato.\";\n },\n default: function (e) {\n e.name;\n return \"Dette feltet er ikke gyldig.\";\n },\n email: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” er ikke en gyldig e-postadresse.\" : \"Vennligst skriv inn en gyldig e-postadresse.\";\n },\n endsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” slutter ikke med en gyldig verdi.\" : \"Dette feltet slutter ikke med en gyldig verdi.\";\n },\n in: function (r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” er ikke et tillatt \" + n + \".\" : \"Dette er ikke et tillatt \" + n + \".\";\n },\n matches: function (r) {\n return e(r.name) + \" er ikke en gyldig verdi.\";\n },\n max: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Du kan kun velge \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" må være mindre eller lik \" + t[0] + \".\" : e(n) + \" må være mindre eller lik \" + t[0] + \" tegn.\";\n },\n mime: function (r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" må være av typen: \" + (a[0] || \"Ingen tillatte filformater.\");\n },\n min: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Du skal velge minst \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" må være større enn \" + t[0] + \".\" : e(n) + \" må være minst \" + t[0] + \" tegn.\";\n },\n not: function (e) {\n var r = e.name;\n return \"“\" + e.value + \"” er ikke et tillatt \" + r + \".\";\n },\n number: function (r) {\n return e(r.name) + \" må være et tall.\";\n },\n required: function (r) {\n return e(r.name) + \" er påkrevd.\";\n },\n startsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” starter ikke med en gyldig verdi.\" : \"Dette feltet starter ikke med en gyldig verdi.\";\n },\n url: function (e) {\n e.name;\n return \"Vennligst skriv inn en gyldig URL.\";\n }\n};\nfunction q(e) {\n var r;\n e.extend({\n locales: (r = {}, r.nb = W, r)\n });\n}\nvar P = {\n accepted: function (e) {\n return \"Sta \" + e.name + \" toe.\";\n },\n after: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" moet na \" + a[0] + \" zijn.\" : e(n) + \" moet een latere datum zijn.\";\n },\n alpha: function (r) {\n return e(r.name) + \" mag enkel letters bevatten.\";\n },\n alphanumeric: function (r) {\n return e(r.name) + \" mag enkel letters en cijfers bevatten.\";\n },\n before: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" moet voor \" + a[0] + \" zijn.\" : e(n) + \" moet een eerdere datum zijn.\";\n },\n between: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" moet tussen \" + t[0] + \" en \" + t[1] + \" zitten.\" : e(n) + \" moet tussen \" + t[0] + \" en \" + t[1] + \" lang zijn.\";\n },\n confirm: function (r) {\n var n = r.name;\n r.args;\n return e(n) + \" komt niet overeen.\";\n },\n date: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" is geen geldige datum, het juiste format is \" + a[0] : e(n) + \" is geen geldige datum.\";\n },\n default: function (e) {\n e.name;\n return \"De invoer voor dit veld is niet geldig\";\n },\n email: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” is geen geldig e-mailadres.\" : \"Voer een geldig e-mailadres in.\";\n },\n endsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” eindigt niet op een geldige waarde.\" : \"Dit veld eindigt niet op een geldige waarde.\";\n },\n in: function (r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” is niet toegestaan als \" + n + \".\" : \"Deze \" + n + \" is niet toegestaan.\";\n },\n matches: function (r) {\n return e(r.name) + \" is niet toegestaan.\";\n },\n max: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Je kunt maximaal \" + t[0] + \" selecteren als \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" moet kleiner of gelijk zijn aan \" + t[0] + \".\" : e(n) + \" mag maximaal \" + t[0] + \" karakters bevatten.\";\n },\n mime: function (r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" moet van dit type zijn: \" + (a[0] || \"Bestanden zijn niet toegestaan\");\n },\n min: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Je moet tenminste \" + t[0] + \" selecteren als \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" moet groter zijn dan \" + t[0] + \".\" : e(n) + \" moet tenminste \" + t[0] + \" karakters bevatten.\";\n },\n not: function (e) {\n var r = e.name;\n return \"“\" + e.value + \"” is geen geldige \" + r + \".\";\n },\n number: function (r) {\n return e(r.name) + \" moet een getal zijn.\";\n },\n required: function (r) {\n return e(r.name) + \" is verplicht.\";\n },\n startsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” begint niet met een geldige waarde.\" : \"Dit veld begint niet met een geldige waarde.\";\n },\n url: function (e) {\n e.name;\n return \"Voer een geldige URL in.\";\n }\n};\nfunction D(e) {\n var r;\n e.extend({\n locales: (r = {}, r.nl = P, r)\n });\n}\nvar T = {\n accepted: function (e) {\n return \"Prašome priimti \" + e.name + \".\";\n },\n after: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" turi būti po \" + a[0] + \".\" : e(n) + \" turi būti vėlesnė data.\";\n },\n alpha: function (r) {\n return e(r.name) + \" gali būti tik abėcėlės raidės.\";\n },\n alphanumeric: function (r) {\n return e(r.name) + \" gali būti tik raidės ir skaičiai.\";\n },\n before: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" turi būti prieš \" + a[0] + \".\" : e(n) + \" turi būti ankstesnė data.\";\n },\n between: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" turi būti tarp \" + t[0] + \" ir \" + t[1] + \".\" : e(n) + \" turi būti tarp \" + t[0] + \" ir \" + t[1] + \" simbolių ilgio.\";\n },\n confirm: function (r) {\n var n = r.name;\n r.args;\n return e(n) + \" nesutampa.\";\n },\n date: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" neteisinga data, naudokite formatą \" + a[0] : e(n) + \" neteisinga data.\";\n },\n default: function (e) {\n e.name;\n return \"Šis laukas nėra validus.\";\n },\n email: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” nėra teisingas el. pašto adresas.\" : \"Prašome įvesti galiojantį el. pašto adresą.\";\n },\n endsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” nesibaigia galiojančia reikšme.\" : \"Šis laukas nesibaigia galiojančia reikšme.\";\n },\n in: function (r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” nėra tinkamas \" + n + \".\" : \"Tai netinkamas \" + n + \".\";\n },\n matches: function (r) {\n return e(r.name) + \" nėra leistina reikšmė.\";\n },\n max: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Galite pasirinkti tik \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" turi būti mažesnis arba lygus \" + t[0] + \".\" : e(n) + \" turi turėti mažiau arba lygiai \" + t[0] + \" simbolių.\";\n },\n mime: function (r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" turi būti tokio tipo: \" + (a[0] || \"Neleidžiami jokie failų formatai.\");\n },\n min: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Turi būti ne mažiau nei \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" turi būti ne mažiau nei \" + t[0] + \".\" : e(n) + \" turi būti ne mažiau \" + t[0] + \" simbolių.\";\n },\n not: function (e) {\n var r = e.name;\n return \"“\" + e.value + \"” nėra leistinas \" + r + \".\";\n },\n number: function (r) {\n return e(r.name) + \" turi būti skaičius.\";\n },\n required: function (r) {\n return e(r.name) + \" yra privalomas.\";\n },\n startsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” neprasideda galiojančia reikšme.\" : \"Šis laukas neprasideda galiojančia reikšme.\";\n },\n url: function (e) {\n e.name;\n return \"Įveskite galiojantį URL.\";\n }\n};\nfunction L(e) {\n var r;\n e.extend({\n locales: (r = {}, r.lt = T, r)\n });\n}\nvar U = {\n accepted: function (e) {\n return \"Proszę zaakceptować \" + e.name + \".\";\n },\n after: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" musi być po \" + a[0] + \".\" : e(n) + \" musi być przyszłą datą.\";\n },\n alpha: function (r) {\n return e(r.name) + \" może zawierać wyłącznie znaki alfabetyczne.\";\n },\n alphanumeric: function (r) {\n return e(r.name) + \" może zawierać wyłącznie liczby i litery.\";\n },\n before: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" musi być przed \" + a[0] + \".\" : e(n) + \" musi być wczesniejszą datą.\";\n },\n between: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" musi być pomiędzy \" + t[0] + \" oraz \" + t[1] + \".\" : e(n) + \" musi być pomiędzy \" + t[0] + \" oraz \" + t[1] + \" znaków.\";\n },\n confirm: function (r) {\n var n = r.name;\n r.args;\n return e(n) + \" nie pasuje.\";\n },\n date: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" nie jest poprawną datą, proszę użyć formatu \" + a[0] : e(n) + \" nie jest poprawną datą.\";\n },\n default: function (e) {\n e.name;\n return \"Pole nie jest poprawne.\";\n },\n email: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” nie jest poprawnym adresem email.\" : \"Proszę podać poprawny adres email.\";\n },\n endsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” nie kończy się z poprawną wartością.\" : \"Pole nie kończy się z poprawną wartością.\";\n },\n in: function (r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” jest niedozwoloną wartością pola \" + n + \".\" : \"Wartość jest niedozwolona w polu \" + n + \".\";\n },\n matches: function (r) {\n return e(r.name) + \" nie jest dozwoloną wartością.\";\n },\n max: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Możesz wybrać maksymalnie \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" musi być mniejszy lub równy \" + t[0] + \".\" : e(n) + \" musi być mniejszy lub równy \" + t[0] + \" znaków.\";\n },\n mime: function (r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" musi być typem: \" + (a[0] || \"Niedozwolone formaty plików.\");\n },\n min: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Potrzeba przynajmniej \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" musi mieć przynajmniej \" + t[0] + \".\" : e(n) + \" musi mieć przynajmniej \" + t[0] + \" znaków.\";\n },\n not: function (e) {\n var r = e.name;\n return \"“\" + e.value + \"” jest niedozwoloną wartością \" + r + \".\";\n },\n number: function (r) {\n return e(r.name) + \" musi być liczbą.\";\n },\n required: function (r) {\n return e(r.name) + \" jest wymagane.\";\n },\n startsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” nie zaczyna się z poprawną wartością.\" : \"Pole nie zaczyna się z poprawną wartością.\";\n },\n url: function (e) {\n e.name;\n return \"Proszę wprowadzić poprawny adres URL.\";\n }\n};\nfunction V(e) {\n var r;\n e.extend({\n locales: (r = {}, r.pl = U, r)\n });\n}\nvar E = {\n accepted: function (e) {\n return \"Por favor aceite o \" + e.name + \".\";\n },\n after: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" deve ser posterior a \" + a[0] + \".\" : e(n) + \" deve ser uma data posterior.\";\n },\n alpha: function (r) {\n return e(r.name) + \" pode conter apenas letras.\";\n },\n alphanumeric: function (r) {\n return e(r.name) + \" pode conter apenas letras e números.\";\n },\n before: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" deve ser antes de \" + a[0] + \".\" : e(n) + \" deve ser uma data anterior.\";\n },\n between: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" deve ser entre \" + t[0] + \" e \" + t[1] + \".\" : e(n) + \" deve ter entre \" + t[0] + \" e \" + t[1] + \" caracteres.\";\n },\n confirm: function (r) {\n var n = r.name;\n r.args;\n return e(n) + \" não corresponde.\";\n },\n date: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" não é válido, por favor use o formato \" + a[0] : e(n) + \" não é uma data válida.\";\n },\n default: function (e) {\n e.name;\n return \"Este campo não é válido.\";\n },\n email: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” não é um e-mail válido.\" : \"Por favor informe um e-mail válido.\";\n },\n endsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” não termina com um valor válido.\" : \"Este campo não termina com um valor válido.\";\n },\n in: function (r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” não é um \" + n + \" permitido.\" : \"Isso não é um \" + n + \" permitido.\";\n },\n matches: function (r) {\n return e(r.name) + \" não é um valor válido.\";\n },\n max: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Você deve selecionar apenas \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" deve ser menor ou igual a \" + t[0] + \".\" : e(n) + \" deve ter no máximo \" + t[0] + \" caracteres.\";\n },\n mime: function (r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" deve ser no formato: \" + (a[0] || \"Formato de arquivo não permitido.\");\n },\n min: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Você deve selecionar pelo menos \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" deve ser maior que \" + t[0] + \".\" : e(n) + \" deve ter mais de \" + t[0] + \" caracteres.\";\n },\n not: function (e) {\n var r = e.name;\n return \"“\" + e.value + \"” não é um \" + r + \" válido.\";\n },\n number: function (r) {\n return e(r.name) + \" deve ser um número.\";\n },\n required: function (r) {\n return e(r.name) + \" é obrigatório.\";\n },\n startsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” não começa com um valor válido.\" : \"Este campo não começa com um valor válido.\";\n },\n url: function (e) {\n e.name;\n return \"Por favor informe uma URL válida.\";\n }\n};\nfunction R(e) {\n var r;\n e.extend({\n locales: (r = {}, r.pt = E, r)\n });\n}\nvar M = {\n accepted: function (e) {\n return \"Пожалуйста, подтвердите \" + e.name + \".\";\n },\n after: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" должна быть после \" + a[0] + \".\" : e(n) + \" должна быть дата после.\";\n },\n alpha: function (r) {\n return e(r.name) + \" может содержать только буквы.\";\n },\n alphanumeric: function (r) {\n return e(r.name) + \" может содержать только буквы и цифры.\";\n },\n before: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" должно быть раньше \" + a[0] + \".\" : e(n) + \" должно быть раньше.\";\n },\n between: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n !(!Array.isArray(t) || !t[2]) && t[2];\n return isNaN(a), e(n) + \" должно быть между \" + t[0] + \" и \" + t[1] + \".\";\n },\n confirm: function (r) {\n var n = r.name;\n r.args;\n return e(n) + \" не совпадает.\";\n },\n date: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" не является допустимой датой, пожалуйста, используйте формат \" + a[0] : e(n) + \" не является допустимой датой.\";\n },\n default: function (e) {\n e.name;\n return \"Это поле не является допустимым.\";\n },\n email: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” недействительный адрес электронной почты.\" : \"Пожалуйста, введите действительный адрес электронной почты.\";\n },\n endsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” не заканчивается допустимым значением.\" : \"Это поле не заканчивается допустимым значением.\";\n },\n in: function (r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” является ошибочным для \" + n + \".\" : \"Выбранное значение для \" + n + \" ошибочно.\";\n },\n matches: function (r) {\n return e(r.name) + \" не совпадает.\";\n },\n max: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Вы можете выбрать только \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" должно быть меньше или равно \" + t[0] + \".\" : \"Количество символов \" + e(n) + \" должно быть меньше или равно \" + t[0] + \".\";\n },\n mime: function (r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" должно быть файлом одного из следующих типов: \" + (a[0] || \"Не допустимые форматы файлов.\");\n },\n min: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Должно быть не менее \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" должно быть не менее \" + t[0] + \".\" : \"Количество символов \" + e(n) + \" должно быть не менее \" + t[0] + \".\";\n },\n not: function (e) {\n var r = e.name;\n return \"“\" + e.value + \"” не является допустимым \" + r + \".\";\n },\n number: function (r) {\n return e(r.name) + \" должны быть числом.\";\n },\n required: function (r) {\n return e(r.name) + \" обязательное поле.\";\n },\n startsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” должно начинаться действительным значением.\" : \"Поле должно начинаться действительным значением.\";\n },\n url: function (e) {\n e.name;\n return \"Пожалуйста, укажите действительный URL.\";\n }\n};\nfunction B(e) {\n var r;\n e.extend({\n locales: (r = {}, r.ru = M, r)\n });\n}\nvar F = {\n accepted: function (e) {\n return \"Prosím príjmi \" + e.name + \".\";\n },\n after: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" musí byť neskôr ako \" + a[0] + \".\" : \"Pre \" + e(n) + \" je potrebné zvoliť neskorší dátum.\";\n },\n alpha: function (r) {\n return e(r.name) + \" môže obsahovať len písmená.\";\n },\n alphanumeric: function (r) {\n return e(r.name) + \" môže obsahovať len písmená a čísla.\";\n },\n before: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" musí byť skôr než \" + a[0] + \".\" : \"Pre \" + e(n) + \" je potrebné zvoliť skorší dátum.\";\n },\n between: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" musí byť medzi \" + t[0] + \" a \" + t[1] + \".\" : e(n) + \" musí mať od \" + t[0] + \" do \" + t[1] + \" znakov.\";\n },\n confirm: function (r) {\n var n = r.name;\n r.args;\n return e(n) + \" sa nezhoduje.\";\n },\n date: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" neobsahuje korektný dátum. Je potrebné použiť formát \" + a[0] : e(n) + \" neobsahuje korektný dátum.\";\n },\n default: function (e) {\n e.name;\n return \"Toto pole obsahuje chybu.\";\n },\n email: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” nie je platná emailová adresa.\" : \"Prosím, uveď platnú emailovú adresu..\";\n },\n endsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” nekončí povolenou hodnotou.\" : \"Toto pole nekončí povolenou hodnotou.\";\n },\n in: function (r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” nie je povolená hodnota pre \" + n + \".\" : \"Toto nie je povolená hodnota pre \" + n + \".\";\n },\n matches: function (r) {\n return e(r.name) + \" nie je povolená hodnota.\";\n },\n max: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Je možné vybrať najviac \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" musí byť nanajvýš \" + t[0] + \".\" : e(n) + \" musí obsahovať nanajvýš \" + t[0] + \" znakov.\";\n },\n mime: function (r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" musí byť typu: \" + (a[0] || \"Žiadne formáty nie sú povolené.\");\n },\n min: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Je potrebné vybrať aspoň \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" musí byť aspoň \" + t[0] + \".\" : e(n) + \" musí obsahovať aspoň \" + t[0] + \" znakov.\";\n },\n not: function (e) {\n var r = e.name;\n return \"“\" + e.value + \"” nie je povolená hodnota pre \" + r + \".\";\n },\n number: function (r) {\n return e(r.name) + \" musí byť číslo.\";\n },\n required: function (r) {\n return e(r.name) + \" je povinné pole.\";\n },\n startsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” nezačína povolenou hodnotou.\" : \"Toto pole nezačína povolenou hodnotou.\";\n },\n url: function (e) {\n e.name;\n return \"Prosím, uveď platnú URL adresu.\";\n }\n};\nfunction Z(e) {\n var r;\n e.extend({\n locales: (r = {}, r.sk = F, r)\n });\n}\nvar C = {\n accepted: function (e) {\n return \"Molimo Vas da prihvatite \" + e.name + \".\";\n },\n after: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" mora biti posle \" + a[0] + \".\" : e(n) + \" mora biti kasniji datum.\";\n },\n alpha: function (r) {\n return e(r.name) + \" može sadržati samo abecedne karaktere.\";\n },\n alphanumeric: function (r) {\n return e(r.name) + \" može sadržati samo slova i brojeve.\";\n },\n before: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" mora biti pre \" + a[0] + \".\" : e(n) + \" mora biti raniji datum.\";\n },\n between: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" mora biti između \" + t[0] + \" i \" + t[1] + \".\" : e(n) + \" mora biti između \" + t[0] + \" i \" + t[1] + \" karaktera.\";\n },\n confirm: function (r) {\n var n = r.name;\n r.args;\n return e(n) + \" se ne podudara.\";\n },\n date: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" nije važeći datum, koristite format \" + a[0] : e(n) + \" nije važeći datum.\";\n },\n default: function (e) {\n e.name;\n return \"Ovo polje nije važeće.\";\n },\n email: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” nije važeća e-mail adresa.\" : \"Unesite ispravnu e-mail adresu.\";\n },\n endsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” se ne završava važećom vrednošću.\" : \"Ovo polje se ne završava važećom vrednošću.\";\n },\n in: function (r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” nije dozvoljeno \" + n + \".\" : \"Ovo nije dozvoljeno \" + n + \".\";\n },\n matches: function (r) {\n return e(r.name) + \" nije dozvoljena vrednost za ovo polje.\";\n },\n max: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Možete odabrati samo \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" mora biti manje ili jednako \" + t[0] + \".\" : e(n) + \" mora biti manje ili jednako \" + t[0] + \" karaktera.\";\n },\n mime: function (r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" mora biti jedan sledecih formata: \" + (a[0] || \"Format datoteke nije dozvoljen.\");\n },\n min: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Treba Vam bar \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" treba da ima najmanje \" + t[0] + \".\" : e(n) + \" treba da ima najmanje \" + t[0] + \" karaktera.\";\n },\n not: function (e) {\n var r = e.name;\n return \"“\" + e.value + \"” nije dozvoljena vrednost za polje \" + r + \".\";\n },\n number: function (r) {\n return e(r.name) + \" mora biti broj.\";\n },\n required: function (r) {\n return e(r.name) + \" je obavezno polje.\";\n },\n startsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” ne počinje sa važećom vrednošću.\" : \"Ovo polje ne počinje sa važećom vrednošću.\";\n },\n url: function (e) {\n e.name;\n return \"Unesite važeći url.\";\n }\n};\nfunction I(e) {\n var r;\n e.extend({\n locales: (r = {}, r.sr = C, r)\n });\n}\nvar J = {\n accepted: function (e) {\n return \"Var vänlig acceptera \" + e.name + \".\";\n },\n after: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" måste vara efter \" + a[0] + \".\" : e(n) + \" måste vara ett senare datum.\";\n },\n alpha: function (r) {\n return e(r.name) + \" får bara innehålla bokstäver.\";\n },\n alphanumeric: function (r) {\n return e(r.name) + \" får bara innehålla bokstäver och nummer.\";\n },\n before: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" måste vara innan \" + a[0] + \".\" : e(n) + \" måste vara ett tidigare datum.\";\n },\n between: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" måste vara mellan \" + t[0] + \" och \" + t[1] + \".\" : e(n) + \" måste vara mellan \" + t[0] + \" och \" + t[1] + \" tecken .\";\n },\n confirm: function (r) {\n var n = r.name;\n r.args;\n return e(n) + \" matchar inte.\";\n },\n date: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" är inte ett giltigt datum, var vänlig och använd formatet \" + a[0] : e(n) + \" är inte ett giltigt datum.\";\n },\n default: function (e) {\n e.name;\n return \"Fältet är inte giltigt.\";\n },\n email: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” är inte en giltigt e-postadress.\" : \"Var vänlig och ange en giltig e-postadress.\";\n },\n endsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” slutar inte med ett giltigt värde.\" : \"Detta fält slutar inte med ett giltigt värde.\";\n },\n in: function (r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” är inte ett tillåtet \" + n + \".\" : \"Detta är inte ett tillåtet \" + n + \".\";\n },\n matches: function (r) {\n return e(r.name) + \" är inte ett tillåtet värde.\";\n },\n max: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Du får bara välja \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" måste vara mer än eller lika med \" + t[0] + \".\" : e(n) + \" måste vara mindre än eller lika med \" + t[0] + \" tecken.\";\n },\n mime: function (r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" måste vara av typen: \" + (a[0] || \"Inga filformat tillåtna.\");\n },\n min: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Du måste välja minst \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" måste vara minst \" + t[0] + \".\" : e(n) + \" måste åtminstone vara \" + t[0] + \" tecken långt.\";\n },\n not: function (e) {\n var r = e.name;\n return \"“\" + e.value + \"” är inte tillåtet \" + r + \".\";\n },\n number: function (r) {\n return e(r.name) + \" måste vara ett nummer.\";\n },\n required: function (r) {\n return e(r.name) + \" är obligatoriskt.\";\n },\n startsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” börjar inte med ett giltigt värde.\" : \"Detta fält börjar inte med ett giltigt värde.\";\n },\n url: function (e) {\n e.name;\n return \"Vänligen ange en giltig url.\";\n }\n};\nfunction K(e) {\n var r;\n e.extend({\n locales: (r = {}, r.sv = J, r)\n });\n}\nvar S = {\n accepted: function (r) {\n return \"กรุณายอมรับ \" + e(r.name);\n },\n after: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" ต้องเป็นวันที่หลังจาก \" + a[0] : e(n) + \" ต้องเป็นวันที่ยังไม่มาถึง\";\n },\n alpha: function (r) {\n return e(r.name) + \" มีได้เฉพาะตัวอักษรเท่านั้น\";\n },\n alphanumeric: function (r) {\n return e(r.name) + \" มีได้เฉพาะตัวอักษรและตัวเลขเท่านั้น\";\n },\n before: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" ต้องเป็นวันที่ก่อนหน้า \" + a[0] : e(n) + \" ต้องเป็นวันที่ผ่านมาแล้ว\";\n },\n between: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" ต้องมีค่าระหว่าง \" + t[0] + \" ถึง \" + t[1] : e(n) + \" ต้องมีความยาว \" + t[0] + \" ถึง \" + t[1] + \" ตัว\";\n },\n confirm: function (r) {\n var n = r.name;\n r.args;\n return e(n) + \" ไม่ตรงกัน\";\n },\n date: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" ไม่ใช่วันที่ที่ถูกต้อง กรุณาใช้ตามรูปแบบ \" + a[0] : e(n) + \" ไม่ใช่วันที่ที่ถูกต้อง\";\n },\n default: function (e) {\n e.name;\n return \"ข้อมูลช่องนี้ไม่ถูกต้อง\";\n },\n email: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” ไม่ใช่ที่อยู่อีเมลที่ถูกต้อง\" : \"กรุณากรอกที่อยู่อีเมลให้ถูกต้อง\";\n },\n endsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” ไม่ได้ลงท้ายด้วยค่าที่ถูกต้อง\" : \"ข้อมูลช่องนี้ไม่ได้ลงท้ายด้วยค่าที่ถูกต้อง\";\n },\n in: function (r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” ไม่ใช่ \" + n + \" ที่อนุญาตให้กรอก\" : \"นี่ไม่ใช่ \" + n + \" ที่อนุญาตให้กรอก\";\n },\n matches: function (r) {\n return e(r.name) + \" ไม่ใช่ค่าที่อนุญาตให้กรอก\";\n },\n max: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"คุณเลือกได้เพียง \" + t[0] + \" \" + n + \" เท่านั้น\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" ต้องมีไม่เกิน \" + t[0] : e(n) + \" ต้องยาวไม่เกิน \" + t[0] + \" ตัว\";\n },\n mime: function (r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" ต้องเป็นประเภท: \" + (a[0] || \"ไม่มีประเภทไฟล์ที่อนุญาต\");\n },\n min: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"คุณต้องเลือกอย่างน้อย \" + t[0] + \" \" + n;\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" ต้องมีค่าอย่างน้อย \" + t[0] : e(n) + \" ต้องยาวอย่างน้อย \" + t[0] + \" ตัว\";\n },\n not: function (e) {\n var r = e.name;\n return \"“\" + e.value + \"” ไม่ใช่ค่า \" + r + \" ที่อนุญาตให้กรอก\";\n },\n number: function (r) {\n return e(r.name) + \" ต้องเป็นตัวเลข\";\n },\n required: function (r) {\n return e(r.name) + \" จำเป็นต้องกรอก\";\n },\n startsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” ไม่ได้ขึ้นต้นด้วยค่าที่ถูกต้อง\" : \"ข้อมูลช่องนี้ไม่ได้ขึ้นต้นด้วยค่าที่ถูกต้อง\";\n },\n url: function (e) {\n e.name;\n return \"กรุณาแนบลิงก์ให้ถูกต้อง\";\n }\n};\nfunction O(e) {\n var r;\n e.extend({\n locales: (r = {}, r.th = S, r)\n });\n}\nvar Q = {\n accepted: function (e) {\n return \"Lütfen \" + e.name + \"'i kabul edin..\";\n },\n after: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \", \" + a[0] + \" sonrasında olmalıdır.\" : e(n) + \" daha sonraki bir tarih olmalıdır.\";\n },\n alpha: function (r) {\n return e(r.name) + \" yalnızca alfabetik karakterler içerebilir.\";\n },\n alphanumeric: function (r) {\n return e(r.name) + \" yalnızca harf ve rakam içerebilir.\";\n },\n before: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \", \" + a[0] + \" tarihinden önce olmalıdır.\" : e(n) + \" daha erken bir tarih olmalıdır.\";\n },\n between: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \", \" + t[0] + \" ile \" + t[1] + \" arasında olmalıdır.\" : e(n) + \", \" + t[0] + \" ile \" + t[1] + \" karakter uzunluğunda olmalıdır.\";\n },\n confirm: function (r) {\n var n = r.name;\n r.args;\n return e(n) + \" eşleşmiyor.\";\n },\n date: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" geçerli bir tarih değil, lütfen \" + a[0] + \" biçimini kullanın\" : e(n) + \" geçerli bir tarih değil.\";\n },\n default: function (e) {\n e.name;\n return \"Bu alan geçerli değil.\";\n },\n email: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” geçerli bir e-posta adresi değil.\" : \"Lütfen geçerli bir e-posta adresi giriniz.\";\n },\n endsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” geçerli bir değerle bitmiyor.\" : \"Bu alan geçerli bir değerle bitmiyor.\";\n },\n in: function (r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” izin verilen bir \" + n + \" değil.\" : \"Bu izin verilen bir \" + n + \" değil.\";\n },\n matches: function (r) {\n return e(r.name) + \" izin verilen bir değer değil.\";\n },\n max: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Yalnızca \" + t[0] + \" \" + n + \" seçebilirsiniz.\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \", \" + t[0] + \" değerinden küçük veya ona eşit olmalıdır.\" : e(n) + \", \" + t[0] + \" karakterden küçük veya ona eşit olmalıdır.\";\n },\n mime: function (r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" şu türde olmalıdır: \" + (a[0] || \"Dosya formatına izin verilmez.\");\n },\n min: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"En az \" + t[0] + \" \" + n + \" gerekiyor.\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" en az \" + t[0] + \" olmalıdır.\" : e(n) + \" en az \" + t[0] + \" karakter uzunluğunda olmalıdır.\";\n },\n not: function (e) {\n var r = e.name;\n return \"“\" + e.value + \"” izin verilen bir \" + r + \" değil.\";\n },\n number: function (r) {\n return e(r.name) + \" bir sayı olmalıdır.\";\n },\n required: function (r) {\n return e(r.name) + \" gerekli.\";\n },\n startsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” geçerli bir değerle başlamıyor.\" : \"Bu alan geçerli bir değerle başlamıyor.\";\n },\n url: function (e) {\n e.name;\n return \"Lütfen geçerli bir url ekleyin.\";\n }\n};\nfunction Y(e) {\n var r;\n e.extend({\n locales: (r = {}, r.tr = Q, r)\n });\n}\nvar G = {\n accepted: function (e) {\n return e.name + \" phải được chấp nhận.\";\n },\n after: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" phải sau ngày \" + a[0] + \".\" : e(n) + \" phải sau ngày hôm nay.\";\n },\n alpha: function (r) {\n return e(r.name) + \" chỉ có thể chứa các kí tự chữ.\";\n },\n alphanumeric: function (r) {\n return e(r.name) + \" chỉ có thể chứa các kí tự chữ và số.\";\n },\n before: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" phải trước ngày ngày \" + a[0] + \".\" : e(n) + \" phải trước ngày hôm nay.\";\n },\n between: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" phải có giá trị nằm trong khoảng giữa \" + t[0] + \" and \" + t[1] + \".\" : e(n) + \" phải có giá trị dài từ \" + t[0] + \" đến \" + t[1] + \" ký tự.\";\n },\n confirm: function (r) {\n var n = r.name;\n r.args;\n return e(n) + \" không khớp.\";\n },\n date: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" không phải là định dạng của ngày, vui lòng sử dụng định dạng \" + a[0] : e(n) + \" không phải là định dạng của ngày.\";\n },\n default: function (e) {\n e.name;\n return \"Trường này không hợp lệ.\";\n },\n email: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” phải là một địa chỉ email hợp lệ.\" : \"Vui lòng nhập địa chỉ email hợp lệ.\";\n },\n endsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” phải kết thúc bằng giá trị hợp lệ.\" : \"Trường này phải kết thúc bằng giá trị hợp lệ.\";\n },\n in: function (r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” phải khớp với \" + n + \".\" : n + \" phải khớp với giá trị cho phép.\";\n },\n matches: function (r) {\n return e(r.name) + \" phải khớp với giá trị cho phép.\";\n },\n max: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Bạn chỉ có thể chọn \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" phải nhỏ hơn hoặc bằng \" + t[0] + \".\" : e(n) + \" phải nhỏ hơn hoặc bằng \" + t[0] + \" ký tự.\";\n },\n mime: function (r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" phải chứa kiểu tệp phù hợp: \" + (a[0] || \"Không có định dạng tệp nào được cho phép.\");\n },\n min: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"Phải chứa ít nhất \" + t[0] + \" \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" phải chứa ít nhất \" + t[0] + \".\" : e(n) + \" phải chứa ít nhất \" + t[0] + \" ký tự.\";\n },\n not: function (e) {\n var r = e.name;\n return \"“\" + e.value + \"” phải là \" + r + \" hợp lệ.\";\n },\n number: function (r) {\n return e(r.name) + \" phải là số.\";\n },\n required: function (r) {\n return e(r.name) + \" là bắt buộc.\";\n },\n startsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” phải bắt đầu bằng giá trị hợp lệ.\" : \"Trường này phải bắt đầu bằng giá trị hợp lệ.\";\n },\n url: function (e) {\n e.name;\n return \"Vui lòng nhập đúng định dạng url.\";\n }\n};\nfunction H(e) {\n var r;\n e.extend({\n locales: (r = {}, r.vi = G, r)\n });\n}\nvar X = {\n accepted: function (e) {\n return \"请同意\" + e.name + \"。\";\n },\n after: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" 必须在 \" + a[0] + \" 之后。\" : e(n) + \" 必须是以后的日期。\";\n },\n alpha: function (r) {\n return e(r.name) + \" 只能包含字母。\";\n },\n alphanumeric: function (r) {\n return e(r.name) + \" 只能包含字母或数字。\";\n },\n before: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" 必须在 \" + a[0] + \" 之前\" : e(n) + \" 必须是以前的日期。\";\n },\n between: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args,\n i = !(!Array.isArray(t) || !t[2]) && t[2];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" 必须在 \" + t[0] + \" 和 \" + t[1] + \" 之间。\" : e(n) + \" 必须在 \" + t[0] + \" 和 \" + t[1] + \" 字符长度之间。\";\n },\n confirm: function (r) {\n var n = r.name;\n r.args;\n return e(n) + \" 不匹配。\";\n },\n date: function (r) {\n var n = r.name,\n a = r.args;\n return Array.isArray(a) && a.length ? e(n) + \" 日期无效,请使用 \" + a[0] + \" 格式。\" : e(n) + \" 日期无效。\";\n },\n default: function (e) {\n e.name;\n return \"此输入无效。\";\n },\n email: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” 不是一个有效的电子邮箱地址。\" : \"请输入有效的电子邮箱地址。\";\n },\n endsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” 包含无效的结尾值。\" : \"无效的结尾值。\";\n },\n in: function (r) {\n var n = r.name,\n a = r.value;\n return \"string\" == typeof a && a ? \"“\" + e(a) + \"” 是 \" + n + \" 不允许的值。\" : n + \" 包含不允许的值。\";\n },\n matches: function (r) {\n return e(r.name) + \" 包含不允许的值。\";\n },\n max: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"您最多可有 \" + t[0] + \" 个 \" + n + \"。\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" 必须小于或等于 \" + t[0] + \".\" : e(n) + \" 必须小于或等于 \" + t[0] + \" 字符长度.\";\n },\n mime: function (r) {\n var n = r.name,\n a = r.args;\n return e(n) + \" 格式必须是: \" + (a[0] || \"无允许文件格式\");\n },\n min: function (r) {\n var n = r.name,\n a = r.value,\n t = r.args;\n if (Array.isArray(a)) return \"您需要最少 \" + t[0] + \" 个 \" + n + \".\";\n var i = !(!Array.isArray(t) || !t[1]) && t[1];\n return !isNaN(a) && \"length\" !== i || \"value\" === i ? e(n) + \" 最少是 \" + t[0] + \".\" : e(n) + \" 最少 \" + t[0] + \" 字符长度。\";\n },\n not: function (e) {\n var r = e.name;\n return \"“\" + e.value + \"” 是 \" + r + \" 不被允许的值。\";\n },\n number: function (r) {\n return e(r.name) + \" 必须是数字。\";\n },\n required: function (r) {\n return e(r.name) + \" 是必填项。\";\n },\n startsWith: function (e) {\n e.name;\n var r = e.value;\n return r ? \"“\" + r + \"” 包含无效的起始值\" : \"无效的起始值\";\n },\n url: function (e) {\n e.name;\n return \"请输入正确的网址。\";\n }\n};\nfunction $(e) {\n var r;\n e.extend({\n locales: (r = {}, r.zh = X, r)\n });\n}\nexport { n as ar, t as ca, u as cs, s as da, m as de, c as en, d as es, y as fr, A as he, b as hu, N as it, j as ja, x as ko, L as lt, q as nb, D as nl, V as pl, R as pt, B as ru, Z as sk, I as sr, K as sv, O as th, Y as tr, H as vi, $ as zh };","import t from \"is-plain-object\";\nimport { en as e } from \"@braid/vue-formulate-i18n\";\nvar r = function (t, e) {\n return {\n classification: t,\n component: \"FormulateInput\" + (e || t[0].toUpperCase() + t.substr(1))\n };\n },\n o = Object.assign({}, [\"text\", \"email\", \"number\", \"color\", \"date\", \"hidden\", \"month\", \"password\", \"search\", \"tel\", \"time\", \"url\", \"week\", \"datetime-local\"].reduce(function (t, e) {\n var o;\n return Object.assign({}, t, ((o = {})[e] = r(\"text\"), o));\n }, {}), {\n range: r(\"slider\"),\n textarea: r(\"textarea\", \"TextArea\"),\n checkbox: r(\"box\"),\n radio: r(\"box\"),\n submit: r(\"button\"),\n button: r(\"button\"),\n select: r(\"select\"),\n file: r(\"file\"),\n image: r(\"file\"),\n group: r(\"group\")\n });\nfunction i(t, e) {\n var r = {};\n for (var o in t) r[o] = e(o, t[o]);\n return r;\n}\nfunction n(t, e, r) {\n if (void 0 === r && (r = !1), t === e) return !0;\n if (!t || !e) return !1;\n if (\"object\" != typeof t && \"object\" != typeof e) return t === e;\n var o = Object.keys(t),\n i = Object.keys(e),\n s = o.length;\n if (i.length !== s) return !1;\n for (var a = 0; a < s; a++) {\n var l = o[a];\n if (!r && t[l] !== e[l] || r && !n(t[l], e[l], r)) return !1;\n }\n return !0;\n}\nfunction s(t) {\n return \"string\" == typeof t ? t.replace(/([_-][a-z0-9])/gi, function (e) {\n return 0 === t.indexOf(e) || /[_-]/.test(t[t.indexOf(e) - 1]) ? e : e.toUpperCase().replace(/[_-]/, \"\");\n }) : t;\n}\nfunction a(t) {\n return \"string\" == typeof t ? t[0].toUpperCase() + t.substr(1) : t;\n}\nfunction l(t) {\n return t ? \"string\" == typeof t ? [t] : Array.isArray(t) ? t : \"object\" == typeof t ? Object.values(t) : [] : [];\n}\nfunction u(t, e) {\n return \"string\" == typeof t ? u(t.split(\"|\"), e) : Array.isArray(t) ? t.map(function (t) {\n return function (t, e) {\n if (\"function\" == typeof t) return [t, []];\n if (Array.isArray(t) && t.length) {\n var r = c((t = t.map(function (t) {\n return t;\n })).shift()),\n o = r[0],\n i = r[1];\n if (\"string\" == typeof o && e.hasOwnProperty(o)) return [e[o], t, o, i];\n if (\"function\" == typeof o) return [o, t, o, i];\n }\n if (\"string\" == typeof t && t) {\n var n = t.split(\":\"),\n s = c(n.shift()),\n a = s[0],\n l = s[1];\n if (e.hasOwnProperty(a)) return [e[a], n.length ? n.join(\":\").split(\",\") : [], a, l];\n throw new Error(\"Unknown validation rule \" + t);\n }\n return !1;\n }(t, e);\n }).filter(function (t) {\n return !!t;\n }) : [];\n}\nfunction c(t) {\n return /^[\\^]/.test(t.charAt(0)) ? [s(t.substr(1)), t.charAt(0)] : [s(t), null];\n}\nfunction d(t) {\n switch (typeof t) {\n case \"symbol\":\n case \"number\":\n case \"string\":\n case \"boolean\":\n case \"undefined\":\n return !0;\n default:\n return null === t;\n }\n}\nfunction p(t, e) {\n return Object.prototype.hasOwnProperty.call(t, e);\n}\nfunction h(t, e) {\n return !p(t, \"__id\") || e ? Object.defineProperty(t, \"__id\", Object.assign(Object.create(null), {\n value: e || v(9)\n })) : t;\n}\nfunction f(t) {\n return \"number\" != typeof t && (void 0 === t || \"\" === t || null === t || !1 === t || Array.isArray(t) && !t.some(function (t) {\n return !f(t);\n }) || t && !Array.isArray(t) && \"object\" == typeof t && f(Object.values(t)));\n}\nfunction m(t, e) {\n return Object.keys(t).reduce(function (r, o) {\n var i = s(o);\n return e.includes(i) && (r[i] = t[o]), r;\n }, {});\n}\nfunction v(t) {\n return void 0 === t && (t = 13), Math.random().toString(36).substring(2, t + 2);\n}\nvar x = /^(?:\\w+:)?\\/\\/(\\S+)$/,\n y = /^localhost[:?\\d]*(?:[^:?\\d]\\S*)?$/,\n g = /^[^\\s.]+\\.\\S{2,}$/;\nvar b = function (t, e, r) {\n void 0 === r && (r = {}), this.input = t, this.fileList = t.files, this.files = [], this.options = Object.assign({}, {\n mimes: {}\n }, r), this.results = !1, this.context = e, this.dataTransferCheck(), e && e.uploadUrl && (this.options.uploadUrl = e.uploadUrl), this.uploadPromise = null, Array.isArray(this.fileList) ? this.rehydrateFileList(this.fileList) : this.addFileList(this.fileList);\n};\nb.prototype.rehydrateFileList = function (t) {\n var e = this,\n r = t.reduce(function (t, r) {\n var o = r[e.options ? e.options.fileUrlKey : \"url\"],\n i = !(!o || -1 === o.lastIndexOf(\".\")) && o.substr(o.lastIndexOf(\".\") + 1),\n n = e.options.mimes[i] || !1;\n return t.push(Object.assign({}, r, o ? {\n name: r.name || o.substr(o.lastIndexOf(\"/\") + 1 || 0),\n type: r.type ? r.type : n,\n previewData: o\n } : {})), t;\n }, []);\n this.addFileList(r), this.results = this.mapUUID(t);\n}, b.prototype.addFileList = function (t) {\n for (var e = this, r = function (r) {\n var o = t[r],\n i = v();\n e.files.push({\n progress: !1,\n error: !1,\n complete: !1,\n justFinished: !1,\n name: o.name || \"file-upload\",\n file: o,\n uuid: i,\n path: !1,\n removeFile: function () {\n this.removeFile(i);\n }.bind(e),\n previewData: o.previewData || !1\n });\n }, o = 0; o < t.length; o++) r(o);\n}, b.prototype.hasUploader = function () {\n return !!this.context.uploader;\n}, b.prototype.uploaderIsAxios = function () {\n return !(!this.hasUploader() || \"function\" != typeof this.context.uploader.request || \"function\" != typeof this.context.uploader.get || \"function\" != typeof this.context.uploader.delete || \"function\" != typeof this.context.uploader.post);\n}, b.prototype.getUploader = function () {\n for (var t, e = [], r = arguments.length; r--;) e[r] = arguments[r];\n if (this.uploaderIsAxios()) {\n var o = new FormData();\n if (o.append(this.context.name || \"file\", e[0]), !1 === this.context.uploadUrl) throw new Error(\"No uploadURL specified: https://vueformulate.com/guide/inputs/file/#props\");\n return this.context.uploader.post(this.context.uploadUrl, o, {\n headers: {\n \"Content-Type\": \"multipart/form-data\"\n },\n onUploadProgress: function (t) {\n e[1](Math.round(100 * t.loaded / t.total));\n }\n }).then(function (t) {\n return t.data;\n }).catch(function (t) {\n return e[2](t);\n });\n }\n return (t = this.context).uploader.apply(t, e);\n}, b.prototype.upload = function () {\n var t = this;\n return this.uploadPromise = this.uploadPromise ? this.uploadPromise.then(function () {\n return t.__performUpload();\n }) : this.__performUpload(), this.uploadPromise;\n}, b.prototype.__performUpload = function () {\n var t = this;\n return new Promise(function (e, r) {\n if (!t.hasUploader()) return r(new Error(\"No uploader has been defined\"));\n Promise.all(t.files.map(function (e) {\n return e.error = !1, e.complete = !!e.path, e.path ? Promise.resolve(e.path) : t.getUploader(e.file, function (r) {\n e.progress = r, t.context.rootEmit(\"file-upload-progress\", r), r >= 100 && (e.complete || (e.justFinished = !0, setTimeout(function () {\n e.justFinished = !1;\n }, t.options.uploadJustCompleteDuration)), e.complete = !0, t.context.rootEmit(\"file-upload-complete\", e));\n }, function (o) {\n e.progress = 0, e.error = o, e.complete = !0, t.context.rootEmit(\"file-upload-error\", o), r(o);\n }, t.options);\n })).then(function (r) {\n t.results = t.mapUUID(r), e(r);\n }).catch(function (t) {\n throw new Error(t);\n });\n });\n}, b.prototype.removeFile = function (t) {\n var e = this.files.length;\n if (this.files = this.files.filter(function (e) {\n return e && e.uuid !== t;\n }), Array.isArray(this.results) && (this.results = this.results.filter(function (e) {\n return e && e.__id !== t;\n })), this.context.performValidation(), window && this.fileList instanceof FileList && this.supportsDataTransfers) {\n var r = new DataTransfer();\n this.files.forEach(function (t) {\n return r.items.add(t.file);\n }), this.fileList = r.files, this.input.files = this.fileList;\n } else this.fileList = this.fileList.filter(function (e) {\n return e && e.__id !== t;\n });\n e > this.files.length && this.context.rootEmit(\"file-removed\", this.files);\n}, b.prototype.mergeFileList = function (t) {\n if (this.addFileList(t.files), this.supportsDataTransfers) {\n var e = new DataTransfer();\n this.files.forEach(function (t) {\n t.file instanceof File && e.items.add(t.file);\n }), this.fileList = e.files, this.input.files = this.fileList, t.files = new DataTransfer().files;\n }\n this.context.performValidation(), this.loadPreviews(), \"delayed\" !== this.context.uploadBehavior && this.upload();\n}, b.prototype.loadPreviews = function () {\n this.files.map(function (t) {\n if (!t.previewData && window && window.FileReader && /^image\\//.test(t.file.type)) {\n var e = new FileReader();\n e.onload = function (e) {\n return Object.assign(t, {\n previewData: e.target.result\n });\n }, e.readAsDataURL(t.file);\n }\n });\n}, b.prototype.dataTransferCheck = function () {\n try {\n new DataTransfer(), this.supportsDataTransfers = !0;\n } catch (t) {\n this.supportsDataTransfers = !1;\n }\n}, b.prototype.getFiles = function () {\n return this.files;\n}, b.prototype.mapUUID = function (t) {\n var e = this;\n return t.map(function (t, r) {\n return e.files[r].path = void 0 !== t && t, t && h(t, e.files[r].uuid);\n });\n}, b.prototype.toString = function () {\n var t = this.files.length ? this.files.length + \" files\" : \"empty\";\n return this.results ? JSON.stringify(this.results, null, \" \") : \"FileUpload(\" + t + \")\";\n};\nvar E,\n _ = {\n accepted: function (t) {\n var e = t.value;\n return Promise.resolve([\"yes\", \"on\", \"1\", 1, !0, \"true\"].includes(e));\n },\n after: function (t, e) {\n var r = t.value;\n void 0 === e && (e = !1);\n var o = Date.parse(e || new Date()),\n i = Date.parse(r);\n return Promise.resolve(!isNaN(i) && i > o);\n },\n alpha: function (t, e) {\n var r = t.value;\n void 0 === e && (e = \"default\");\n var o = {\n default: /^[a-zA-ZÀ-ÖØ-öø-ÿĄąĆćĘꣳŃńŚśŹźŻż]+$/,\n latin: /^[a-zA-Z]+$/\n },\n i = o.hasOwnProperty(e) ? e : \"default\";\n return Promise.resolve(o[i].test(r));\n },\n alphanumeric: function (t, e) {\n var r = t.value;\n void 0 === e && (e = \"default\");\n var o = {\n default: /^[a-zA-Z0-9À-ÖØ-öø-ÿĄąĆćĘꣳŃńŚśŹźŻż]+$/,\n latin: /^[a-zA-Z0-9]+$/\n },\n i = o.hasOwnProperty(e) ? e : \"default\";\n return Promise.resolve(o[i].test(r));\n },\n before: function (t, e) {\n var r = t.value;\n void 0 === e && (e = !1);\n var o = Date.parse(e || new Date()),\n i = Date.parse(r);\n return Promise.resolve(!isNaN(i) && i < o);\n },\n between: function (t, e, r, o) {\n var i = t.value;\n return void 0 === e && (e = 0), void 0 === r && (r = 10), Promise.resolve(null !== e && null !== r && !isNaN(e) && !isNaN(r) && (!isNaN(i) && \"length\" !== o || \"value\" === o ? (i = Number(i), e = Number(e), r = Number(r), i > e && i < r) : (\"string\" == typeof i || \"length\" === o) && (i = isNaN(i) ? i : i.toString()).length > e && i.length < r));\n },\n confirm: function (t, e) {\n var r,\n o,\n i = t.value,\n n = t.getGroupValues,\n s = t.name;\n return Promise.resolve((r = n(), (o = e) || (o = /_confirm$/.test(s) ? s.substr(0, s.length - 8) : s + \"_confirm\"), r[o] === i));\n },\n date: function (t, e) {\n var r = t.value;\n return void 0 === e && (e = !1), Promise.resolve(e && \"string\" == typeof e ? function (t) {\n var e = \"^\" + t.replace(/[.*+?^${}()|[\\]\\\\]/g, \"\\\\$&\") + \"$\",\n r = {\n MM: \"(0[1-9]|1[012])\",\n M: \"([1-9]|1[012])\",\n DD: \"([012][0-9]|3[01])\",\n D: \"([012]?[0-9]|3[01])\",\n YYYY: \"\\\\d{4}\",\n YY: \"\\\\d{2}\"\n };\n return new RegExp(Object.keys(r).reduce(function (t, e) {\n return t.replace(e, r[e]);\n }, e));\n }(e).test(r) : !isNaN(Date.parse(r)));\n },\n email: function (t) {\n var e = t.value;\n return Promise.resolve(/^(([^<>()\\[\\]\\.,;:\\s@\\\"]+(\\.[^<>()\\[\\]\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@(([^<>()[\\]\\.,;:\\s@\\\"]+\\.)+[^<>()[\\]\\.,;:\\s@\\\"]{2,})$/i.test(e));\n },\n endsWith: function (t) {\n for (var e = t.value, r = [], o = arguments.length - 1; o-- > 0;) r[o] = arguments[o + 1];\n return Promise.resolve(\"string\" == typeof e && r.length ? void 0 !== r.find(function (t) {\n return e.endsWith(t);\n }) : \"string\" == typeof e && 0 === r.length);\n },\n in: function (t) {\n for (var e = t.value, r = [], o = arguments.length - 1; o-- > 0;) r[o] = arguments[o + 1];\n return Promise.resolve(void 0 !== r.find(function (t) {\n return \"object\" == typeof t ? n(t, e) : t === e;\n }));\n },\n matches: function (t) {\n for (var e = t.value, r = [], o = arguments.length - 1; o-- > 0;) r[o] = arguments[o + 1];\n return Promise.resolve(!!r.find(function (t) {\n return \"string\" == typeof t && \"/\" === t.substr(0, 1) && \"/\" === t.substr(-1) && (t = new RegExp(t.substr(1, t.length - 2))), t instanceof RegExp ? t.test(e) : t === e;\n }));\n },\n mime: function (t) {\n for (var e = t.value, r = [], o = arguments.length - 1; o-- > 0;) r[o] = arguments[o + 1];\n return Promise.resolve(function () {\n if (e instanceof b) for (var t = e.getFiles(), o = 0; o < t.length; o++) {\n var i = t[o].file;\n if (!r.includes(i.type)) return !1;\n }\n return !0;\n }());\n },\n min: function (t, e, r) {\n var o = t.value;\n return void 0 === e && (e = 1), Promise.resolve(Array.isArray(o) ? (e = isNaN(e) ? e : Number(e), o.length >= e) : !isNaN(o) && \"length\" !== r || \"value\" === r ? (o = isNaN(o) ? o : Number(o)) >= e : (\"string\" == typeof o || \"length\" === r) && (o = isNaN(o) ? o : o.toString()).length >= e);\n },\n max: function (t, e, r) {\n var o = t.value;\n return void 0 === e && (e = 10), Promise.resolve(Array.isArray(o) ? (e = isNaN(e) ? e : Number(e), o.length <= e) : !isNaN(o) && \"length\" !== r || \"value\" === r ? (o = isNaN(o) ? o : Number(o)) <= e : (\"string\" == typeof o || \"length\" === r) && (o = isNaN(o) ? o : o.toString()).length <= e);\n },\n not: function (t) {\n for (var e = t.value, r = [], o = arguments.length - 1; o-- > 0;) r[o] = arguments[o + 1];\n return Promise.resolve(void 0 === r.find(function (t) {\n return \"object\" == typeof t ? n(t, e) : t === e;\n }));\n },\n number: function (t) {\n var e = t.value;\n return Promise.resolve(!isNaN(e));\n },\n required: function (t, e) {\n var r = t.value;\n return void 0 === e && (e = \"pre\"), Promise.resolve(Array.isArray(r) ? !!r.length : r instanceof b ? r.getFiles().length > 0 : \"string\" == typeof r ? \"trim\" === e ? !!r.trim() : !!r : \"object\" != typeof r || !!r && !!Object.keys(r).length);\n },\n startsWith: function (t) {\n for (var e = t.value, r = [], o = arguments.length - 1; o-- > 0;) r[o] = arguments[o + 1];\n return Promise.resolve(\"string\" == typeof e && r.length ? void 0 !== r.find(function (t) {\n return e.startsWith(t);\n }) : \"string\" == typeof e && 0 === r.length);\n },\n url: function (t) {\n var e = t.value;\n return Promise.resolve(function (t) {\n if (\"string\" != typeof t) return !1;\n var e = t.match(x);\n if (!e) return !1;\n var r = e[1];\n return !!r && !(!y.test(r) && !g.test(r));\n }(e));\n },\n bail: function () {\n return Promise.resolve(!0);\n },\n optional: function (t) {\n var e = t.value;\n return Promise.resolve(!f(e));\n }\n },\n F = \"image/\",\n w = {\n csv: \"text/csv\",\n gif: F + \"gif\",\n jpg: F + \"jpeg\",\n jpeg: F + \"jpeg\",\n png: F + \"png\",\n pdf: \"application/pdf\",\n svg: F + \"svg+xml\"\n },\n O = [\"outer\", \"wrapper\", \"label\", \"element\", \"input\", \"help\", \"errors\", \"error\", \"decorator\", \"rangeValue\", \"uploadArea\", \"uploadAreaMask\", \"files\", \"file\", \"fileName\", \"fileAdd\", \"fileAddInput\", \"fileRemove\", \"fileProgress\", \"fileUploadError\", \"fileImagePreview\", \"fileImagePreviewImage\", \"fileProgressInner\", \"grouping\", \"groupRepeatable\", \"groupRepeatableRemove\", \"groupAddMore\", \"form\", \"formErrors\", \"formError\"],\n P = {\n hasErrors: function (t) {\n return t.hasErrors;\n },\n hasValue: function (t) {\n return t.hasValue;\n },\n isValid: function (t) {\n return t.isValid;\n }\n },\n V = function (t, e, r) {\n var o = [];\n switch (e) {\n case \"label\":\n o.push(t + \"--\" + r.labelPosition);\n break;\n case \"element\":\n var i = \"group\" === r.classification ? \"group\" : r.type;\n o.push(t + \"--\" + i), \"group\" === i && o.push(\"formulate-input-group\");\n break;\n case \"help\":\n o.push(t + \"--\" + r.helpPosition);\n break;\n case \"form\":\n r.name && o.push(t + \"--\" + r.name);\n }\n return o;\n },\n A = (E = [\"\"].concat(Object.keys(P).map(function (t) {\n return a(t);\n })), O.reduce(function (t, e) {\n return t.concat(E.reduce(function (t, r) {\n return t.push(\"\" + e + r + \"Class\"), t;\n }, []));\n }, []));\nfunction S(t, e, r) {\n switch (typeof e) {\n case \"string\":\n return e;\n case \"function\":\n return e(r, l(t));\n case \"object\":\n if (Array.isArray(e)) return l(t).concat(e);\n default:\n return t;\n }\n}\nfunction j(t) {\n return O.reduce(function (e, r) {\n var o;\n return Object.assign(e, ((o = {})[r] = function (t, e) {\n var r = t.replace(/[A-Z]/g, function (t) {\n return \"-\" + t.toLowerCase();\n }),\n o = \"formulate\" + ([\"form\", \"file\"].includes(r.substr(0, 4)) ? \"\" : \"-input\") + ([\"decorator\", \"range-value\"].includes(r) ? \"-element\" : \"\") + (\"outer\" !== r ? \"-\" + r : \"\");\n return \"input\" === r ? [] : [o].concat(V(o, t, e));\n }(r, t), o));\n }, {});\n}\nfunction $(t, e, r, o) {\n return new Promise(function (r, i) {\n var n = (o.fauxUploaderDuration || 1500) * (.5 + Math.random()),\n s = performance.now(),\n a = function () {\n return setTimeout(function () {\n var o = performance.now() - s,\n i = Math.min(100, Math.round(o / n * 100));\n if (e(i), i >= 100) return r({\n url: \"http://via.placeholder.com/350x150.png\",\n name: t.name\n });\n a();\n }, 20);\n };\n a();\n });\n}\nfunction C(t, e) {\n var r = {};\n for (var o in t) Object.prototype.hasOwnProperty.call(t, o) && -1 === e.indexOf(o) && (r[o] = t[o]);\n return r;\n}\nvar k = {\n inheritAttrs: !1,\n functional: !0,\n render: function (t, e) {\n for (var r = e.props, o = e.data, i = e.parent, n = e.children, s = i, a = (r.name, r.forceWrap), l = r.context, u = C(r, [\"name\", \"forceWrap\", \"context\"]); s && \"FormulateInput\" !== s.$options.name;) s = s.$parent;\n if (!s) return null;\n if (s.$scopedSlots && s.$scopedSlots[r.name]) return s.$scopedSlots[r.name](Object.assign({}, l, u));\n if (Array.isArray(n) && (n.length > 1 || a && n.length > 0)) {\n var c = o.attrs,\n d = (c.name, c.context, C(c, [\"name\", \"context\"]));\n return t(\"div\", Object.assign({}, o, {\n attrs: d\n }), n);\n }\n return Array.isArray(n) && 1 === n.length ? n[0] : null;\n }\n};\nfunction I(t, e, r) {\n if (void 0 === e && (e = 0), void 0 === r && (r = {}), t && \"object\" == typeof t && !Array.isArray(t)) {\n var o = t.children;\n void 0 === o && (o = null);\n var i = t.component;\n void 0 === i && (i = \"FormulateInput\");\n var n = t.depth;\n void 0 === n && (n = 1);\n var s = t.key;\n void 0 === s && (s = null);\n var a = function (t, e) {\n var r = {};\n for (var o in t) Object.prototype.hasOwnProperty.call(t, o) && -1 === e.indexOf(o) && (r[o] = t[o]);\n return r;\n }(t, [\"children\", \"component\", \"depth\", \"key\"]),\n l = a.class || {};\n delete a.class;\n var u = {},\n c = Object.keys(a).reduce(function (t, e) {\n var r;\n return /^@/.test(e) ? Object.assign(t, ((r = {})[e.substr(1)] = a[e], r)) : t;\n }, {});\n Object.keys(c).forEach(function (t) {\n delete a[\"@\" + t], u[t] = function (t, e, r) {\n return function () {\n for (var o, i, n = [], s = arguments.length; s--;) n[s] = arguments[s];\n return \"function\" == typeof e ? e.call.apply(e, [this].concat(n)) : \"string\" == typeof e && p(r, e) ? (o = r[e]).call.apply(o, [this].concat(n)) : p(r, t) ? (i = r[t]).call.apply(i, [this].concat(n)) : void 0;\n };\n }(t, c[t], r);\n });\n var d = \"FormulateInput\" === i ? a.type || \"text\" : i,\n h = a.name || d || \"el\";\n s || (s = a.id ? a.id : \"FormulateInput\" !== i && \"string\" == typeof o ? d + \"-\" + function (t, e) {\n void 0 === e && (e = 0);\n for (var r = 3735928559 ^ e, o = 1103547991 ^ e, i = 0, n = void 0; i < t.length; i++) n = t.charCodeAt(i), r = Math.imul(r ^ n, 2654435761), o = Math.imul(o ^ n, 1597334677);\n return r = Math.imul(r ^ r >>> 16, 2246822507) ^ Math.imul(o ^ o >>> 13, 3266489909), 4294967296 * (2097151 & (o = Math.imul(o ^ o >>> 16, 2246822507) ^ Math.imul(r ^ r >>> 13, 3266489909))) + (r >>> 0);\n }(o) : d + \"-\" + h + \"-\" + n + (a.name ? \"\" : \"-\" + e));\n var f = Array.isArray(o) ? o.map(function (t) {\n return Object.assign(t, {\n depth: n + 1\n });\n }) : o;\n return Object.assign({\n key: s,\n depth: n,\n attrs: a,\n component: i,\n class: l,\n on: u\n }, f ? {\n children: f\n } : {});\n }\n return null;\n}\nvar R = {\n functional: !0,\n render: function (t, e) {\n var r = e.props,\n o = e.listeners;\n return function t(e, r, o) {\n return Array.isArray(r) ? r.map(function (r, i) {\n var n = I(r, i, o);\n return e(n.component, {\n attrs: n.attrs,\n class: n.class,\n key: n.key,\n on: n.on\n }, n.children ? t(e, n.children, o) : null);\n }) : r;\n }(t, r.schema, o);\n }\n};\nfunction D(t, e) {\n var r = {};\n for (var o in t) Object.prototype.hasOwnProperty.call(t, o) && -1 === e.indexOf(o) && (r[o] = t[o]);\n return r;\n}\nvar L = function (t) {\n this.registry = new Map(), this.errors = {}, this.ctx = t;\n};\nfunction N(t) {\n return new L(t).dataProps();\n}\nfunction M(t) {\n return {\n hasInitialValue: function () {\n return this.formulateValue && \"object\" == typeof this.formulateValue || this.values && \"object\" == typeof this.values || this.isGrouping && \"object\" == typeof this.context.model[this.index];\n },\n isVmodeled: function () {\n return !!(this.$options.propsData.hasOwnProperty(\"formulateValue\") && this._events && Array.isArray(this._events.input) && this._events.input.length);\n },\n initialValues: function () {\n return p(this.$options.propsData, \"formulateValue\") && \"object\" == typeof this.formulateValue ? Object.assign({}, this.formulateValue) : p(this.$options.propsData, \"values\") && \"object\" == typeof this.values ? Object.assign({}, this.values) : this.isGrouping && \"object\" == typeof this.context.model[this.index] ? this.context.model[this.index] : {};\n },\n mergedGroupErrors: function () {\n var t = this,\n e = /^([^.\\d+].*?)\\.(\\d+\\..+)$/;\n return Object.keys(this.mergedFieldErrors).filter(function (t) {\n return e.test(t);\n }).reduce(function (r, o) {\n var i,\n n = o.match(e),\n s = n[1],\n a = n[2];\n return r[s] || (r[s] = {}), Object.assign(r[s], ((i = {})[a] = t.mergedFieldErrors[o], i)), r;\n }, {});\n }\n };\n}\nfunction B(t) {\n void 0 === t && (t = []);\n var e = {\n applyInitialValues: function () {\n this.hasInitialValue && (this.proxy = Object.assign({}, this.initialValues));\n },\n setFieldValue: function (t, e) {\n var r;\n if (void 0 === e) {\n var o = this.proxy,\n i = (o[t], D(o, [String(t)]));\n this.proxy = i;\n } else Object.assign(this.proxy, ((r = {})[t] = e, r));\n this.$emit(\"input\", Object.assign({}, this.proxy));\n },\n valueDeps: function (t) {\n var e = this;\n return Object.keys(this.proxy).reduce(function (r, o) {\n return Object.defineProperty(r, o, {\n enumerable: !0,\n get: function () {\n var r = e.registry.get(o);\n return e.deps.set(t, e.deps.get(t) || new Set()), r && (e.deps.set(r, e.deps.get(r) || new Set()), e.deps.get(r).add(t.name)), e.deps.get(t).add(o), e.proxy[o];\n }\n });\n }, Object.create(null));\n },\n validateDeps: function (t) {\n var e = this;\n this.deps.has(t) && this.deps.get(t).forEach(function (t) {\n return e.registry.has(t) && e.registry.get(t).performValidation();\n });\n },\n hasValidationErrors: function () {\n return Promise.all(this.registry.reduce(function (t, e, r) {\n return t.push(e.performValidation() && e.getValidationErrors()), t;\n }, [])).then(function (t) {\n return t.some(function (t) {\n return t.hasErrors;\n });\n });\n },\n showErrors: function () {\n this.childrenShouldShowErrors = !0, this.registry.map(function (t) {\n t.formShouldShowErrors = !0;\n });\n },\n hideErrors: function () {\n this.childrenShouldShowErrors = !1, this.registry.map(function (t) {\n t.formShouldShowErrors = !1, t.behavioralErrorVisibility = !1;\n });\n },\n setValues: function (t) {\n var e = this;\n Array.from(new Set(Object.keys(t || {}).concat(Object.keys(this.proxy)))).forEach(function (r) {\n var o = e.registry.has(r) && e.registry.get(r),\n i = t ? t[r] : void 0;\n o && !n(o.proxy, i, !0) && (o.context.model = i), n(i, e.proxy[r], !0) || e.setFieldValue(r, i);\n });\n },\n updateValidation: function (t) {\n p(this.registry.errors, t.name) && (this.registry.errors[t.name] = t.hasErrors), this.$emit(\"validation\", t);\n },\n addErrorObserver: function (t) {\n this.errorObservers.find(function (e) {\n return t.callback === e.callback;\n }) || (this.errorObservers.push(t), \"form\" === t.type ? t.callback(this.mergedFormErrors) : \"group\" === t.type && p(this.mergedGroupErrors, t.field) ? t.callback(this.mergedGroupErrors[t.field]) : p(this.mergedFieldErrors, t.field) && t.callback(this.mergedFieldErrors[t.field]));\n },\n removeErrorObserver: function (t) {\n this.errorObservers = this.errorObservers.filter(function (e) {\n return e.callback !== t;\n });\n }\n };\n return Object.keys(e).reduce(function (r, o) {\n var i;\n return t.includes(o) ? r : Object.assign({}, r, ((i = {})[o] = e[o], i));\n }, {});\n}\nfunction U(t, e) {\n void 0 === e && (e = []);\n var r = {\n formulateSetter: t.setFieldValue,\n formulateRegister: t.register,\n formulateDeregister: t.deregister,\n formulateFieldValidation: t.updateValidation,\n getFormValues: t.valueDeps,\n getGroupValues: t.valueDeps,\n validateDependents: t.validateDeps,\n observeErrors: t.addErrorObserver,\n removeErrorObserver: t.removeErrorObserver\n };\n return Object.keys(r).filter(function (t) {\n return !e.includes(t);\n }).reduce(function (t, e) {\n var o;\n return Object.assign(t, ((o = {})[e] = r[e], o));\n }, {});\n}\nL.prototype.add = function (t, e) {\n var r;\n return this.registry.set(t, e), this.errors = Object.assign({}, this.errors, ((r = {})[t] = e.getErrorObject().hasErrors, r)), this;\n}, L.prototype.remove = function (t) {\n this.ctx.deps.delete(this.registry.get(t)), this.ctx.deps.forEach(function (e) {\n return e.delete(t);\n });\n var e = this.ctx.keepModelData;\n !e && this.registry.has(t) && \"inherit\" !== this.registry.get(t).keepModelData && (e = this.registry.get(t).keepModelData), this.ctx.preventCleanup && (e = !0), this.registry.delete(t);\n var r = this.errors,\n o = (r[t], D(r, [String(t)]));\n if (this.errors = o, !e) {\n var i = this.ctx.proxy,\n n = (i[t], D(i, [String(t)]));\n this.ctx.uuid && h(n, this.ctx.uuid), this.ctx.proxy = n, this.ctx.$emit(\"input\", this.ctx.proxy);\n }\n return this;\n}, L.prototype.has = function (t) {\n return this.registry.has(t);\n}, L.prototype.get = function (t) {\n return this.registry.get(t);\n}, L.prototype.map = function (t) {\n var e = {};\n return this.registry.forEach(function (r, o) {\n var i;\n return Object.assign(e, ((i = {})[o] = t(r, o), i));\n }), e;\n}, L.prototype.keys = function () {\n return Array.from(this.registry.keys());\n}, L.prototype.register = function (t, e) {\n var r = this;\n if (p(e.$options.propsData, \"ignored\")) return !1;\n if (this.registry.has(t)) return this.ctx.$nextTick(function () {\n return !r.registry.has(t) && r.register(t, e);\n }), !1;\n this.add(t, e);\n var o = p(e.$options.propsData, \"formulateValue\"),\n i = p(e.$options.propsData, \"value\"),\n s = this.ctx.debounce || this.ctx.debounceDelay || this.ctx.context && this.ctx.context.debounceDelay;\n s && !p(e.$options.propsData, \"debounce\") && (e.debounceDelay = s), o || !this.ctx.hasInitialValue || f(this.ctx.initialValues[t]) ? !o && !i || n(e.proxy, this.ctx.initialValues[t], !0) || this.ctx.setFieldValue(t, e.proxy) : e.context.model = this.ctx.initialValues[t], this.childrenShouldShowErrors && (e.formShouldShowErrors = !0);\n}, L.prototype.reduce = function (t, e) {\n return this.registry.forEach(function (r, o) {\n e = t(e, r, o);\n }), e;\n}, L.prototype.dataProps = function () {\n var t = this;\n return {\n proxy: {},\n registry: this,\n register: this.register.bind(this),\n deregister: function (e) {\n return t.remove(e);\n },\n childrenShouldShowErrors: !1,\n errorObservers: [],\n deps: new Map(),\n preventCleanup: !1\n };\n};\nvar G = function (t) {\n this.form = t;\n};\nfunction T(t, e, r, o, i, n, s, a, l, u) {\n \"boolean\" != typeof s && (l = a, a = s, s = !1);\n var c,\n d = \"function\" == typeof r ? r.options : r;\n if (t && t.render && (d.render = t.render, d.staticRenderFns = t.staticRenderFns, d._compiled = !0, i && (d.functional = !0)), o && (d._scopeId = o), n ? (c = function (t) {\n (t = t || this.$vnode && this.$vnode.ssrContext || this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) || \"undefined\" == typeof __VUE_SSR_CONTEXT__ || (t = __VUE_SSR_CONTEXT__), e && e.call(this, l(t)), t && t._registeredComponents && t._registeredComponents.add(n);\n }, d._ssrRegister = c) : e && (c = s ? function (t) {\n e.call(this, u(t, this.$root.$options.shadowRoot));\n } : function (t) {\n e.call(this, a(t));\n }), c) if (d.functional) {\n var p = d.render;\n d.render = function (t, e) {\n return c.call(e), p(t, e);\n };\n } else {\n var h = d.beforeCreate;\n d.beforeCreate = h ? [].concat(h, c) : [c];\n }\n return r;\n}\nG.prototype.hasValidationErrors = function () {\n return this.form.hasValidationErrors();\n}, G.prototype.values = function () {\n var t = this;\n return new Promise(function (e, r) {\n var o = [],\n i = function t(e) {\n if (\"object\" != typeof e) return e;\n var r = Array.isArray(e) ? [] : {};\n for (var o in e) e[o] instanceof b || d(e[o]) ? r[o] = e[o] : r[o] = t(e[o]);\n return r;\n }(t.form.proxy),\n n = function (e) {\n \"object\" == typeof t.form.proxy[e] && t.form.proxy[e] instanceof b && o.push(t.form.proxy[e].upload().then(function (t) {\n var r;\n return Object.assign(i, ((r = {})[e] = t, r));\n }));\n };\n for (var s in i) n(s);\n Promise.all(o).then(function () {\n return e(i);\n }).catch(function (t) {\n return r(t);\n });\n });\n};\nvar q = {\n name: \"FormulateForm\",\n inheritAttrs: !1,\n provide: function () {\n return Object.assign({}, U(this, [\"getGroupValues\"]), {\n observeContext: this.addContextObserver,\n removeContextObserver: this.removeContextObserver\n });\n },\n model: {\n prop: \"formulateValue\",\n event: \"input\"\n },\n props: {\n name: {\n type: [String, Boolean],\n default: !1\n },\n formulateValue: {\n type: Object,\n default: function () {\n return {};\n }\n },\n values: {\n type: [Object, Boolean],\n default: !1\n },\n errors: {\n type: [Object, Boolean],\n default: !1\n },\n formErrors: {\n type: Array,\n default: function () {\n return [];\n }\n },\n schema: {\n type: [Array, Boolean],\n default: !1\n },\n keepModelData: {\n type: [Boolean, String],\n default: !1\n },\n invalidMessage: {\n type: [Boolean, Function, String],\n default: !1\n },\n debounce: {\n type: [Boolean, Number],\n default: !1\n }\n },\n data: function () {\n return Object.assign({}, N(this), {\n formShouldShowErrors: !1,\n contextObservers: [],\n namedErrors: [],\n namedFieldErrors: {},\n isLoading: !1,\n hasFailedSubmit: !1\n });\n },\n computed: Object.assign({}, M(), {\n schemaListeners: function () {\n var t = this.$listeners;\n t.submit;\n return function (t, e) {\n var r = {};\n for (var o in t) Object.prototype.hasOwnProperty.call(t, o) && -1 === e.indexOf(o) && (r[o] = t[o]);\n return r;\n }(t, [\"submit\"]);\n },\n pseudoProps: function () {\n return m(this.$attrs, A.filter(function (t) {\n return /^form/.test(t);\n }));\n },\n attributes: function () {\n var t = this,\n e = Object.keys(this.$attrs).filter(function (e) {\n return !p(t.pseudoProps, s(e));\n }).reduce(function (e, r) {\n var o;\n return Object.assign({}, e, ((o = {})[r] = t.$attrs[r], o));\n }, {});\n return \"string\" == typeof this.name && Object.assign(e, {\n name: this.name\n }), e;\n },\n hasErrors: function () {\n return Object.values(this.registry.errors).some(function (t) {\n return t;\n });\n },\n isValid: function () {\n return !this.hasErrors;\n },\n formContext: function () {\n return {\n errors: this.mergedFormErrors,\n pseudoProps: this.pseudoProps,\n hasErrors: this.hasErrors,\n value: this.proxy,\n hasValue: !f(this.proxy),\n isValid: this.isValid,\n isLoading: this.isLoading,\n classes: this.classes\n };\n },\n classes: function () {\n return this.$formulate.classes(Object.assign({}, this.$props, this.pseudoProps, {\n value: this.proxy,\n errors: this.mergedFormErrors,\n hasErrors: this.hasErrors,\n hasValue: !f(this.proxy),\n isValid: this.isValid,\n isLoading: this.isLoading,\n type: \"form\",\n classification: \"form\",\n attrs: this.$attrs\n }));\n },\n invalidErrors: function () {\n if (this.hasFailedSubmit && this.hasErrors) switch (typeof this.invalidMessage) {\n case \"string\":\n return [this.invalidMessage];\n case \"object\":\n return Array.isArray(this.invalidMessage) ? this.invalidMessage : [];\n case \"function\":\n var t = this.invalidMessage(this.failingFields);\n return Array.isArray(t) ? t : [t];\n }\n return [];\n },\n mergedFormErrors: function () {\n return this.formErrors.concat(this.namedErrors).concat(this.invalidErrors);\n },\n mergedFieldErrors: function () {\n var t = {};\n if (this.errors) for (var e in this.errors) t[e] = l(this.errors[e]);\n for (var r in this.namedFieldErrors) t[r] = l(this.namedFieldErrors[r]);\n return t;\n },\n hasFormErrorObservers: function () {\n return !!this.errorObservers.filter(function (t) {\n return \"form\" === t.type;\n }).length;\n },\n failingFields: function () {\n var t = this;\n return Object.keys(this.registry.errors).reduce(function (e, r) {\n var o;\n return Object.assign({}, e, t.registry.errors[r] ? ((o = {})[r] = t.registry.get(r), o) : {});\n }, {});\n }\n }),\n watch: Object.assign({}, {\n mergedFieldErrors: {\n handler: function (t) {\n this.errorObservers.filter(function (t) {\n return \"input\" === t.type;\n }).forEach(function (e) {\n return e.callback(t[e.field] || []);\n });\n },\n immediate: !0\n },\n mergedGroupErrors: {\n handler: function (t) {\n this.errorObservers.filter(function (t) {\n return \"group\" === t.type;\n }).forEach(function (e) {\n return e.callback(t[e.field] || {});\n });\n },\n immediate: !0\n }\n }, {\n formulateValue: {\n handler: function (t) {\n this.isVmodeled && t && \"object\" == typeof t && this.setValues(t);\n },\n deep: !0\n },\n mergedFormErrors: function (t) {\n this.errorObservers.filter(function (t) {\n return \"form\" === t.type;\n }).forEach(function (e) {\n return e.callback(t);\n });\n }\n }),\n created: function () {\n this.$formulate.register(this), this.applyInitialValues(), this.$emit(\"created\", this);\n },\n destroyed: function () {\n this.$formulate.deregister(this);\n },\n methods: Object.assign({}, B(), {\n applyErrors: function (t) {\n var e = t.formErrors,\n r = t.inputErrors;\n this.namedErrors = e, this.namedFieldErrors = r;\n },\n addContextObserver: function (t) {\n this.contextObservers.find(function (e) {\n return e === t;\n }) || (this.contextObservers.push(t), t(this.formContext));\n },\n removeContextObserver: function (t) {\n this.contextObservers.filter(function (e) {\n return e !== t;\n });\n },\n registerErrorComponent: function (t) {\n this.errorComponents.includes(t) || this.errorComponents.push(t);\n },\n formSubmitted: function () {\n var t = this;\n if (!this.isLoading) {\n this.isLoading = !0, this.showErrors();\n var e = new G(this),\n r = this.$listeners[\"submit-raw\"] || this.$listeners.submitRaw,\n o = \"function\" == typeof r ? r(e) : Promise.resolve(e);\n return (o instanceof Promise ? o : Promise.resolve(o)).then(function (t) {\n var r = t instanceof G ? t : e;\n return r.hasValidationErrors().then(function (t) {\n return [r, t];\n });\n }).then(function (e) {\n var r = e[0];\n return e[1] || \"function\" != typeof t.$listeners.submit ? t.onFailedValidation() : r.values().then(function (e) {\n t.hasFailedSubmit = !1;\n var r = t.$listeners.submit(e);\n return (r instanceof Promise ? r : Promise.resolve()).then(function () {\n return e;\n });\n });\n }).finally(function () {\n t.isLoading = !1;\n });\n }\n },\n onFailedValidation: function () {\n return this.hasFailedSubmit = !0, this.$emit(\"failed-validation\", Object.assign({}, this.failingFields)), this.$formulate.failedValidation(this);\n }\n })\n },\n H = function () {\n var t = this,\n e = t.$createElement,\n r = t._self._c || e;\n return r(\"form\", t._b({\n class: t.classes.form,\n on: {\n submit: function (e) {\n return e.preventDefault(), t.formSubmitted(e);\n }\n }\n }, \"form\", t.attributes, !1), [t.schema ? r(\"FormulateSchema\", t._g({\n attrs: {\n schema: t.schema\n }\n }, t.schemaListeners)) : t._e(), t._v(\" \"), t.hasFormErrorObservers ? t._e() : r(\"FormulateErrors\", {\n attrs: {\n context: t.formContext\n }\n }), t._v(\" \"), t._t(\"default\", null, null, t.formContext)], 2);\n };\nH._withStripped = !0;\nvar W = T({\n render: H,\n staticRenderFns: []\n}, void 0, q, void 0, !1, void 0, !1, void 0, void 0, void 0);\nvar Y = {\n context: function () {\n return J.call(this, Object.assign({}, {\n addLabel: this.logicalAddLabel,\n removeLabel: this.logicalRemoveLabel,\n attributes: this.elementAttributes,\n blurHandler: Z.bind(this),\n classification: this.classification,\n component: this.component,\n debounceDelay: this.debounceDelay,\n disableErrors: this.disableErrors,\n errors: this.explicitErrors,\n formShouldShowErrors: this.formShouldShowErrors,\n getValidationErrors: this.getValidationErrors.bind(this),\n groupErrors: this.mergedGroupErrors,\n hasGivenName: this.hasGivenName,\n hasValue: this.hasValue,\n hasLabel: this.label && \"button\" !== this.classification,\n hasValidationErrors: this.hasValidationErrors.bind(this),\n help: this.help,\n helpPosition: this.logicalHelpPosition,\n id: this.id || this.defaultId,\n ignored: p(this.$options.propsData, \"ignored\"),\n isValid: this.isValid,\n imageBehavior: this.imageBehavior,\n label: this.label,\n labelPosition: this.logicalLabelPosition,\n limit: this.limit === 1 / 0 ? this.limit : parseInt(this.limit, 10),\n name: this.nameOrFallback,\n minimum: parseInt(this.minimum, 10),\n performValidation: this.performValidation.bind(this),\n pseudoProps: this.pseudoProps,\n preventWindowDrops: this.preventWindowDrops,\n removePosition: this.mergedRemovePosition,\n repeatable: this.repeatable,\n rootEmit: this.$emit.bind(this),\n rules: this.ruleDetails,\n setErrors: this.setErrors.bind(this),\n showValidationErrors: this.showValidationErrors,\n slotComponents: this.slotComponents,\n slotProps: this.slotProps,\n type: this.type,\n uploadBehavior: this.uploadBehavior,\n uploadUrl: this.mergedUploadUrl,\n uploader: this.uploader || this.$formulate.getUploader(),\n validationErrors: this.validationErrors,\n value: this.value,\n visibleValidationErrors: this.visibleValidationErrors,\n isSubField: this.isSubField,\n classes: this.classes\n }, this.typeContext));\n },\n nameOrFallback: function () {\n if (!0 === this.name && \"button\" !== this.classification) {\n var t = this.id || this.elementAttributes.id.replace(/[^0-9]/g, \"\");\n return this.type + \"_\" + t;\n }\n if (!1 === this.name || \"button\" === this.classification && !0 === this.name) return !1;\n return this.name;\n },\n hasGivenName: function () {\n return \"boolean\" != typeof this.name;\n },\n typeContext: function () {\n var t = this;\n switch (this.classification) {\n case \"select\":\n return {\n options: z.call(this, this.options),\n optionGroups: !!this.optionGroups && i(this.optionGroups, function (e, r) {\n return z.call(t, r);\n }),\n placeholder: this.$attrs.placeholder || !1\n };\n case \"slider\":\n return {\n showValue: !!this.showValue\n };\n default:\n return this.options ? {\n options: z.call(this, this.options)\n } : {};\n }\n },\n elementAttributes: function () {\n var t = Object.assign({}, this.filteredAttributes);\n this.id ? t.id = this.id : t.id = this.defaultId;\n this.hasGivenName && (t.name = this.name);\n this.help && !p(t, \"aria-describedby\") && (t[\"aria-describedby\"] = t.id + \"-help\");\n !this.classes.input || Array.isArray(this.classes.input) && !this.classes.input.length || (t.class = this.classes.input);\n return t;\n },\n logicalLabelPosition: function () {\n if (this.labelPosition) return this.labelPosition;\n switch (this.classification) {\n case \"box\":\n return \"after\";\n default:\n return \"before\";\n }\n },\n logicalHelpPosition: function () {\n if (this.helpPosition) return this.helpPosition;\n switch (this.classification) {\n case \"group\":\n return \"before\";\n default:\n return \"after\";\n }\n },\n mergedRemovePosition: function () {\n return \"group\" === this.type && (this.removePosition || \"before\");\n },\n mergedUploadUrl: function () {\n return this.uploadUrl || this.$formulate.getUploadUrl();\n },\n mergedGroupErrors: function () {\n var t = this,\n e = Object.keys(this.groupErrors).concat(Object.keys(this.localGroupErrors)),\n r = /^(\\d+)\\.(.*)$/;\n return Array.from(new Set(e)).filter(function (t) {\n return r.test(t);\n }).reduce(function (e, o) {\n var i,\n n = o.match(r),\n s = n[1],\n a = n[2];\n p(e, s) || (e[s] = {});\n var u = Array.from(new Set(l(t.groupErrors[o]).concat(l(t.localGroupErrors[o]))));\n return e[s] = Object.assign(e[s], ((i = {})[a] = u, i)), e;\n }, {});\n },\n hasValue: function () {\n var t = this,\n e = this.proxy;\n if (\"box\" === this.classification && this.isGrouped || \"select\" === this.classification && p(this.filteredAttributes, \"multiple\")) return Array.isArray(e) ? e.some(function (e) {\n return e === t.value;\n }) : this.value === e;\n return !f(e);\n },\n visibleValidationErrors: function () {\n return this.showValidationErrors && this.validationErrors.length ? this.validationErrors : [];\n },\n slotComponents: function () {\n var t = this.$formulate.slotComponent.bind(this.$formulate);\n return {\n addMore: t(this.type, \"addMore\"),\n buttonContent: t(this.type, \"buttonContent\"),\n errors: t(this.type, \"errors\"),\n file: t(this.type, \"file\"),\n help: t(this.type, \"help\"),\n label: t(this.type, \"label\"),\n prefix: t(this.type, \"prefix\"),\n remove: t(this.type, \"remove\"),\n repeatable: t(this.type, \"repeatable\"),\n suffix: t(this.type, \"suffix\"),\n uploadAreaMask: t(this.type, \"uploadAreaMask\")\n };\n },\n logicalAddLabel: function () {\n if (\"file\" === this.classification) return !0 === this.addLabel ? \"+ Add \" + a(this.type) : this.addLabel;\n if (\"boolean\" == typeof this.addLabel) {\n var t = this.label || this.name;\n return \"+ \" + (\"string\" == typeof t ? t + \" \" : \"\") + \" Add\";\n }\n return this.addLabel;\n },\n logicalRemoveLabel: function () {\n if (\"boolean\" == typeof this.removeLabel) return \"Remove\";\n return this.removeLabel;\n },\n classes: function () {\n return this.$formulate.classes(Object.assign({}, this.$props, this.pseudoProps, {\n attrs: this.filteredAttributes,\n classification: this.classification,\n hasErrors: this.hasVisibleErrors,\n hasValue: this.hasValue,\n helpPosition: this.logicalHelpPosition,\n isValid: this.isValid,\n labelPosition: this.logicalLabelPosition,\n type: this.type,\n value: this.proxy\n }));\n },\n showValidationErrors: function () {\n if (this.showErrors || this.formShouldShowErrors) return !0;\n if (\"file\" === this.classification && \"live\" === this.uploadBehavior && X.call(this)) return !0;\n return this.behavioralErrorVisibility;\n },\n slotProps: function () {\n var t = this.$formulate.slotProps.bind(this.$formulate);\n return {\n label: t(this.type, \"label\", this.typeProps),\n help: t(this.type, \"help\", this.typeProps),\n errors: t(this.type, \"errors\", this.typeProps),\n repeatable: t(this.type, \"repeatable\", this.typeProps),\n addMore: t(this.type, \"addMore\", this.typeProps),\n remove: t(this.type, \"remove\", this.typeProps),\n component: t(this.type, \"component\", this.typeProps)\n };\n },\n pseudoProps: function () {\n return m(this.localAttributes, A);\n },\n isValid: function () {\n return !this.hasErrors;\n },\n ruleDetails: function () {\n return this.parsedValidation.map(function (t) {\n var e = t[1];\n return {\n ruleName: t[2],\n args: e\n };\n });\n },\n isVmodeled: function () {\n return !!(this.$options.propsData.hasOwnProperty(\"formulateValue\") && this._events && Array.isArray(this._events.input) && this._events.input.length);\n },\n mergedValidationName: function () {\n var t = this,\n e = this.$formulate.options.validationNameStrategy || [\"validationName\", \"name\", \"label\", \"type\"];\n if (Array.isArray(e)) {\n return this[e.find(function (e) {\n return \"string\" == typeof t[e];\n })];\n }\n if (\"function\" == typeof e) return e.call(this, this);\n return this.type;\n },\n explicitErrors: function () {\n return l(this.errors).concat(this.localErrors).concat(l(this.error));\n },\n allErrors: function () {\n return this.explicitErrors.concat(l(this.validationErrors));\n },\n hasVisibleErrors: function () {\n return Array.isArray(this.validationErrors) && this.validationErrors.length && this.showValidationErrors || !!this.explicitErrors.length;\n },\n hasErrors: function () {\n return !!this.allErrors.length;\n },\n filteredAttributes: function () {\n var t = this,\n e = Object.keys(this.pseudoProps).concat(Object.keys(this.typeProps));\n return Object.keys(this.localAttributes).reduce(function (r, o) {\n return e.includes(s(o)) || (r[o] = t.localAttributes[o]), r;\n }, {});\n },\n typeProps: function () {\n return m(this.localAttributes, this.$formulate.typeProps(this.type));\n },\n listeners: function () {\n var t = this.$listeners;\n t.input;\n return function (t, e) {\n var r = {};\n for (var o in t) Object.prototype.hasOwnProperty.call(t, o) && -1 === e.indexOf(o) && (r[o] = t[o]);\n return r;\n }(t, [\"input\"]);\n }\n};\nfunction z(t) {\n return t ? (Array.isArray(t) ? t : Object.keys(t).map(function (e) {\n return {\n label: t[e],\n value: e\n };\n })).map(K.bind(this)) : [];\n}\nfunction K(t) {\n return \"number\" == typeof t && (t = String(t)), \"string\" == typeof t ? {\n label: t,\n value: t,\n id: this.elementAttributes.id + \"_\" + t\n } : (\"number\" == typeof t.value && (t.value = String(t.value)), Object.assign({\n value: \"\",\n label: \"\",\n id: this.elementAttributes.id + \"_\" + (t.value || t.label)\n }, t));\n}\nfunction Z() {\n var t = this;\n \"blur\" !== this.errorBehavior && \"value\" !== this.errorBehavior || (this.behavioralErrorVisibility = !0), this.$nextTick(function () {\n return t.$emit(\"blur-context\", t.context);\n });\n}\nfunction J(t) {\n var e = this;\n return Object.defineProperty(t, \"model\", {\n get: X.bind(this),\n set: function (t) {\n if (!e.mntd || !e.debounceDelay) return Q.call(e, t);\n e.dSet(Q, [t], e.debounceDelay);\n },\n enumerable: !0\n });\n}\nfunction X() {\n var t = this.isVmodeled ? \"formulateValue\" : \"proxy\";\n return \"checkbox\" === this.type && !Array.isArray(this[t]) && this.options ? [] : this[t] || 0 === this[t] ? this[t] : \"\";\n}\nfunction Q(t) {\n var e = !1;\n n(t, this.proxy, \"group\" === this.type) || (this.proxy = t, e = !0), !this.context.ignored && this.context.name && \"function\" == typeof this.formulateSetter && this.formulateSetter(this.context.name, t), e && this.$emit(\"input\", t);\n}\nvar tt = {\n name: \"FormulateInput\",\n inheritAttrs: !1,\n provide: function () {\n return {\n formulateRegisterRule: this.registerRule,\n formulateRemoveRule: this.removeRule\n };\n },\n inject: {\n formulateSetter: {\n default: void 0\n },\n formulateFieldValidation: {\n default: function () {\n return function () {\n return {};\n };\n }\n },\n formulateRegister: {\n default: void 0\n },\n formulateDeregister: {\n default: void 0\n },\n getFormValues: {\n default: function () {\n return function () {\n return {};\n };\n }\n },\n getGroupValues: {\n default: void 0\n },\n validateDependents: {\n default: function () {\n return function () {};\n }\n },\n observeErrors: {\n default: void 0\n },\n removeErrorObserver: {\n default: void 0\n },\n isSubField: {\n default: function () {\n return function () {\n return !1;\n };\n }\n }\n },\n model: {\n prop: \"formulateValue\",\n event: \"input\"\n },\n props: {\n type: {\n type: String,\n default: \"text\"\n },\n name: {\n type: [String, Boolean],\n default: !0\n },\n formulateValue: {\n default: \"\"\n },\n value: {\n default: !1\n },\n options: {\n type: [Object, Array, Boolean],\n default: !1\n },\n optionGroups: {\n type: [Object, Boolean],\n default: !1\n },\n id: {\n type: [String, Boolean, Number],\n default: !1\n },\n label: {\n type: [String, Boolean],\n default: !1\n },\n labelPosition: {\n type: [String, Boolean],\n default: !1\n },\n limit: {\n type: [String, Number],\n default: 1 / 0,\n validator: function (t) {\n return 1 / 0;\n }\n },\n minimum: {\n type: [String, Number],\n default: 0,\n validator: function (t) {\n return parseInt(t, 10) == t;\n }\n },\n help: {\n type: [String, Boolean],\n default: !1\n },\n helpPosition: {\n type: [String, Boolean],\n default: !1\n },\n isGrouped: {\n type: Boolean,\n default: !1\n },\n errors: {\n type: [String, Array, Boolean],\n default: !1\n },\n removePosition: {\n type: [String, Boolean],\n default: !1\n },\n repeatable: {\n type: Boolean,\n default: !1\n },\n validation: {\n type: [String, Boolean, Array],\n default: !1\n },\n validationName: {\n type: [String, Boolean],\n default: !1\n },\n error: {\n type: [String, Boolean],\n default: !1\n },\n errorBehavior: {\n type: String,\n default: \"blur\",\n validator: function (t) {\n return [\"blur\", \"live\", \"submit\", \"value\"].includes(t);\n }\n },\n showErrors: {\n type: Boolean,\n default: !1\n },\n groupErrors: {\n type: Object,\n default: function () {\n return {};\n },\n validator: function (t) {\n var e = /^\\d+\\./;\n return !Object.keys(t).some(function (t) {\n return !e.test(t);\n });\n }\n },\n imageBehavior: {\n type: String,\n default: \"preview\"\n },\n uploadUrl: {\n type: [String, Boolean],\n default: !1\n },\n uploader: {\n type: [Function, Object, Boolean],\n default: !1\n },\n uploadBehavior: {\n type: String,\n default: \"live\"\n },\n preventWindowDrops: {\n type: Boolean,\n default: !0\n },\n showValue: {\n type: [String, Boolean],\n default: !1\n },\n validationMessages: {\n type: Object,\n default: function () {\n return {};\n }\n },\n validationRules: {\n type: Object,\n default: function () {\n return {};\n }\n },\n checked: {\n type: [String, Boolean],\n default: !1\n },\n disableErrors: {\n type: Boolean,\n default: !1\n },\n addLabel: {\n type: [Boolean, String],\n default: !0\n },\n removeLabel: {\n type: [Boolean, String],\n default: !1\n },\n keepModelData: {\n type: [Boolean, String],\n default: \"inherit\"\n },\n ignored: {\n type: [Boolean, String],\n default: !1\n },\n debounce: {\n type: [Boolean, Number],\n default: !1\n },\n preventDeregister: {\n type: Boolean,\n default: !1\n }\n },\n data: function () {\n return {\n defaultId: this.$formulate.nextId(this),\n localAttributes: {},\n localErrors: [],\n localGroupErrors: {},\n proxy: this.getInitialValue(),\n behavioralErrorVisibility: \"live\" === this.errorBehavior,\n formShouldShowErrors: !1,\n validationErrors: [],\n pendingValidation: Promise.resolve(),\n ruleRegistry: [],\n messageRegistry: {},\n touched: !1,\n debounceDelay: this.debounce,\n dSet: function (e, r, o) {\n var i = this;\n t && clearTimeout(t), t = setTimeout(function () {\n return e.call.apply(e, [i].concat(r));\n }, o);\n },\n mntd: !1\n };\n var t;\n },\n computed: Object.assign({}, Y, {\n classification: function () {\n var t = this.$formulate.classify(this.type);\n return \"box\" === t && this.options ? \"group\" : t;\n },\n component: function () {\n return \"group\" === this.classification ? \"FormulateInputGroup\" : this.$formulate.component(this.type);\n },\n parsedValidationRules: function () {\n var t = this,\n e = {};\n return Object.keys(this.validationRules).forEach(function (r) {\n e[s(r)] = t.validationRules[r];\n }), e;\n },\n parsedValidation: function () {\n return u(this.validation, this.$formulate.rules(this.parsedValidationRules));\n },\n messages: function () {\n var t = this,\n e = {};\n return Object.keys(this.validationMessages).forEach(function (r) {\n e[s(r)] = t.validationMessages[r];\n }), Object.keys(this.messageRegistry).forEach(function (r) {\n e[s(r)] = t.messageRegistry[r];\n }), e;\n }\n }),\n watch: {\n $attrs: {\n handler: function (t) {\n this.updateLocalAttributes(t);\n },\n deep: !0\n },\n proxy: {\n handler: function (t, e) {\n this.performValidation(), this.isVmodeled || n(t, e, \"group\" === this.type) || (this.context.model = t), this.validateDependents(this), !this.touched && t && (this.touched = !0);\n },\n deep: !0\n },\n formulateValue: {\n handler: function (t, e) {\n this.isVmodeled && !n(t, e, \"group\" === this.type) && (this.context.model = t);\n },\n deep: !0\n },\n showValidationErrors: {\n handler: function (t) {\n this.$emit(\"error-visibility\", t);\n },\n immediate: !0\n },\n validation: {\n handler: function () {\n this.performValidation();\n },\n deep: !0\n },\n touched: function (t) {\n \"value\" === this.errorBehavior && t && (this.behavioralErrorVisibility = t);\n },\n debounce: function (t) {\n this.debounceDelay = t;\n }\n },\n created: function () {\n this.applyInitialValue(), this.formulateRegister && \"function\" == typeof this.formulateRegister && this.formulateRegister(this.nameOrFallback, this), this.applyDefaultValue(), this.disableErrors || \"function\" != typeof this.observeErrors || (this.observeErrors({\n callback: this.setErrors,\n type: \"input\",\n field: this.nameOrFallback\n }), \"group\" === this.type && this.observeErrors({\n callback: this.setGroupErrors,\n type: \"group\",\n field: this.nameOrFallback\n })), this.updateLocalAttributes(this.$attrs), this.performValidation(), this.hasValue && (this.touched = !0);\n },\n mounted: function () {\n this.mntd = !0;\n },\n beforeDestroy: function () {\n this.disableErrors || \"function\" != typeof this.removeErrorObserver || (this.removeErrorObserver(this.setErrors), \"group\" === this.type && this.removeErrorObserver(this.setGroupErrors)), \"function\" != typeof this.formulateDeregister || this.preventDeregister || this.formulateDeregister(this.nameOrFallback);\n },\n methods: {\n getInitialValue: function () {\n var t = this.$formulate.classify(this.type);\n return \"box\" === (t = \"box\" === t && this.options ? \"group\" : t) && this.checked ? this.value || !0 : p(this.$options.propsData, \"value\") && \"box\" !== t ? this.value : p(this.$options.propsData, \"formulateValue\") ? this.formulateValue : \"group\" === t ? Object.defineProperty(\"group\" === this.type ? [{}] : [], \"__init\", {\n value: !0\n }) : \"\";\n },\n applyInitialValue: function () {\n n(this.context.model, this.proxy) || \"box\" === this.classification && !p(this.$options.propsData, \"options\") || (this.context.model = this.proxy, this.$emit(\"input\", this.proxy));\n },\n applyDefaultValue: function () {\n \"select\" === this.type && !this.context.placeholder && f(this.proxy) && !this.isVmodeled && !1 === this.value && this.context.options.length && (p(this.$attrs, \"multiple\") ? this.context.model = [] : this.context.model = this.context.options[0].value);\n },\n updateLocalAttributes: function (t) {\n n(t, this.localAttributes) || (this.localAttributes = t);\n },\n performValidation: function () {\n var t = this,\n e = u(this.validation, this.$formulate.rules(this.parsedValidationRules));\n return e = this.ruleRegistry.length ? this.ruleRegistry.concat(e) : e, this.pendingValidation = this.runRules(e).then(function (e) {\n return t.didValidate(e);\n }), this.pendingValidation;\n },\n runRules: function (t) {\n var e = this,\n r = function (t) {\n var r = t[0],\n o = t[1],\n i = t[2],\n n = (t[3], r.apply(void 0, [{\n value: e.context.model,\n getFormValues: function () {\n for (var t, r = [], o = arguments.length; o--;) r[o] = arguments[o];\n return (t = e).getFormValues.apply(t, [e].concat(r));\n },\n getGroupValues: function () {\n for (var t, r = [], o = arguments.length; o--;) r[o] = arguments[o];\n return (t = e)[\"get\" + (e.getGroupValues ? \"Group\" : \"Form\") + \"Values\"].apply(t, [e].concat(r));\n },\n name: e.context.name\n }].concat(o)));\n return (n = n instanceof Promise ? n : Promise.resolve(n)).then(function (t) {\n return !t && e.getMessage(i, o);\n });\n };\n return new Promise(function (e) {\n var o = function (t, i) {\n void 0 === i && (i = []);\n var n = t.shift();\n Array.isArray(n) && n.length ? Promise.all(n.map(r)).then(function (t) {\n return t.filter(function (t) {\n return !!t;\n });\n }).then(function (r) {\n return (r = Array.isArray(r) ? r : []).length && n.bail || !t.length ? e(i.concat(r).filter(function (t) {\n return !f(t);\n })) : o(t, i.concat(r));\n }) : e([]);\n };\n o(function (t) {\n var e = [],\n r = t.findIndex(function (t) {\n return \"bail\" === t[2].toLowerCase();\n }),\n o = t.findIndex(function (t) {\n return \"optional\" === t[2].toLowerCase();\n });\n if (o >= 0) {\n var i = t.splice(o, 1);\n e.push(Object.defineProperty(i, \"bail\", {\n value: !0\n }));\n }\n if (r >= 0) {\n var n = t.splice(0, r + 1).slice(0, -1);\n n.length && e.push(n), t.map(function (t) {\n return e.push(Object.defineProperty([t], \"bail\", {\n value: !0\n }));\n });\n } else e.push(t);\n return e.reduce(function (t, e) {\n var r = function (t, e) {\n if (void 0 === e && (e = !1), t.length < 2) return Object.defineProperty([t], \"bail\", {\n value: e\n });\n var o = [],\n i = t.findIndex(function (t) {\n return \"^\" === t[3];\n });\n if (i >= 0) {\n var n = t.splice(0, i);\n n.length && o.push.apply(o, r(n, e)), o.push(Object.defineProperty([t.shift()], \"bail\", {\n value: !0\n })), t.length && o.push.apply(o, r(t, e));\n } else o.push(t);\n return o;\n };\n return t.concat(r(e));\n }, []);\n }(t));\n });\n },\n didValidate: function (t) {\n var e = !n(t, this.validationErrors);\n if (this.validationErrors = t, e) {\n var r = this.getErrorObject();\n this.$emit(\"validation\", r), this.formulateFieldValidation && \"function\" == typeof this.formulateFieldValidation && this.formulateFieldValidation(r);\n }\n },\n getMessage: function (t, e) {\n var r = this;\n return this.getMessageFunc(t)({\n args: e,\n name: this.mergedValidationName,\n value: this.context.model,\n vm: this,\n formValues: this.getFormValues(this),\n getFormValues: function () {\n for (var t, e = [], o = arguments.length; o--;) e[o] = arguments[o];\n return (t = r).getFormValues.apply(t, [r].concat(e));\n },\n getGroupValues: function () {\n for (var t, e = [], o = arguments.length; o--;) e[o] = arguments[o];\n return (t = r)[\"get\" + (r.getGroupValues ? \"Group\" : \"Form\") + \"Values\"].apply(t, [r].concat(e));\n }\n });\n },\n getMessageFunc: function (t) {\n var e = this;\n if (\"optional\" === (t = s(t))) return function () {\n return [];\n };\n if (this.messages && void 0 !== this.messages[t]) switch (typeof this.messages[t]) {\n case \"function\":\n return this.messages[t];\n case \"string\":\n case \"boolean\":\n return function () {\n return e.messages[t];\n };\n }\n return function (r) {\n return e.$formulate.validationMessage(t, r, e);\n };\n },\n hasValidationErrors: function () {\n var t = this;\n return new Promise(function (e) {\n t.$nextTick(function () {\n t.pendingValidation.then(function () {\n return e(!!t.validationErrors.length);\n });\n });\n });\n },\n getValidationErrors: function () {\n var t = this;\n return new Promise(function (e) {\n t.$nextTick(function () {\n return t.pendingValidation.then(function () {\n return e(t.getErrorObject());\n });\n });\n });\n },\n getErrorObject: function () {\n return {\n name: this.context.nameOrFallback || this.context.name,\n errors: this.validationErrors.filter(function (t) {\n return \"string\" == typeof t;\n }),\n hasErrors: !!this.validationErrors.length\n };\n },\n setErrors: function (t) {\n this.localErrors = l(t);\n },\n setGroupErrors: function (t) {\n this.localGroupErrors = t;\n },\n registerRule: function (t, e, r, o) {\n void 0 === o && (o = null), this.ruleRegistry.some(function (t) {\n return t[2] === r;\n }) || (this.ruleRegistry.push([t, e, r]), null !== o && (this.messageRegistry[r] = o));\n },\n removeRule: function (t) {\n var e = this.ruleRegistry.findIndex(function (e) {\n return e[2] === t;\n });\n e >= 0 && (this.ruleRegistry.splice(e, 1), delete this.messageRegistry[t]);\n }\n }\n },\n et = function () {\n var t = this,\n e = t.$createElement,\n r = t._self._c || e;\n return r(\"div\", {\n class: t.context.classes.outer,\n attrs: {\n \"data-classification\": t.classification,\n \"data-has-errors\": t.hasErrors,\n \"data-is-showing-errors\": t.hasVisibleErrors,\n \"data-has-value\": t.hasValue,\n \"data-type\": t.type\n }\n }, [r(\"div\", {\n class: t.context.classes.wrapper\n }, [\"before\" === t.context.labelPosition ? t._t(\"label\", [t.context.hasLabel ? r(t.context.slotComponents.label, t._b({\n tag: \"component\",\n attrs: {\n context: t.context\n }\n }, \"component\", t.context.slotProps.label, !1)) : t._e()], null, t.context) : t._e(), t._v(\" \"), \"before\" === t.context.helpPosition ? t._t(\"help\", [t.context.help ? r(t.context.slotComponents.help, t._b({\n tag: \"component\",\n attrs: {\n context: t.context\n }\n }, \"component\", t.context.slotProps.help, !1)) : t._e()], null, t.context) : t._e(), t._v(\" \"), t._t(\"element\", [r(t.context.component, t._g(t._b({\n tag: \"component\",\n attrs: {\n context: t.context\n }\n }, \"component\", t.context.slotProps.component, !1), t.listeners), [t._t(\"default\", null, null, t.context)], 2)], null, t.context), t._v(\" \"), \"after\" === t.context.labelPosition ? t._t(\"label\", [t.context.hasLabel ? r(t.context.slotComponents.label, t._b({\n tag: \"component\",\n attrs: {\n context: t.context\n }\n }, \"component\", t.context.slotProps.label, !1)) : t._e()], null, t.context) : t._e()], 2), t._v(\" \"), \"after\" === t.context.helpPosition ? t._t(\"help\", [t.context.help ? r(t.context.slotComponents.help, t._b({\n tag: \"component\",\n attrs: {\n context: t.context\n }\n }, \"component\", t.context.slotProps.help, !1)) : t._e()], null, t.context) : t._e(), t._v(\" \"), t._t(\"errors\", [t.context.disableErrors ? t._e() : r(t.context.slotComponents.errors, t._b({\n tag: \"component\",\n attrs: {\n type: \"FormulateErrors\" === t.context.slotComponents.errors && \"input\",\n context: t.context\n }\n }, \"component\", t.context.slotProps.errors, !1))], null, t.context)], 2);\n };\net._withStripped = !0;\nvar rt = T({\n render: et,\n staticRenderFns: []\n }, void 0, tt, void 0, !1, void 0, !1, void 0, void 0, void 0),\n ot = {\n inject: {\n observeErrors: {\n default: !1\n },\n removeErrorObserver: {\n default: !1\n },\n observeContext: {\n default: !1\n },\n removeContextObserver: {\n default: !1\n }\n },\n props: {\n context: {\n type: Object,\n default: function () {\n return {};\n }\n },\n type: {\n type: String,\n default: \"form\"\n }\n },\n data: function () {\n return {\n boundSetErrors: this.setErrors.bind(this),\n boundSetFormContext: this.setFormContext.bind(this),\n localErrors: [],\n formContext: {\n classes: {\n formErrors: \"formulate-form-errors\",\n formError: \"formulate-form-error\"\n }\n }\n };\n },\n computed: {\n visibleValidationErrors: function () {\n return Array.isArray(this.context.visibleValidationErrors) ? this.context.visibleValidationErrors : [];\n },\n errors: function () {\n return Array.isArray(this.context.errors) ? this.context.errors : [];\n },\n mergedErrors: function () {\n return this.errors.concat(this.localErrors);\n },\n visibleErrors: function () {\n return Array.from(new Set(this.mergedErrors.concat(this.visibleValidationErrors))).filter(function (t) {\n return \"string\" == typeof t;\n });\n },\n outerClass: function () {\n return \"input\" === this.type && this.context.classes ? this.context.classes.errors : this.formContext.classes.formErrors;\n },\n itemClass: function () {\n return \"input\" === this.type && this.context.classes ? this.context.classes.error : this.formContext.classes.formError;\n },\n role: function () {\n return \"form\" === this.type ? \"alert\" : \"status\";\n },\n ariaLive: function () {\n return \"form\" === this.type ? \"assertive\" : \"polite\";\n },\n slotComponent: function () {\n return this.$formulate.slotComponent(null, \"errorList\");\n }\n },\n created: function () {\n \"form\" === this.type && \"function\" == typeof this.observeErrors && (Array.isArray(this.context.errors) || this.observeErrors({\n callback: this.boundSetErrors,\n type: \"form\"\n }), this.observeContext(this.boundSetFormContext));\n },\n destroyed: function () {\n \"form\" === this.type && \"function\" == typeof this.removeErrorObserver && (Array.isArray(this.context.errors) || this.removeErrorObserver(this.boundSetErrors), this.removeContextObserver(this.boundSetFormContext));\n },\n methods: {\n setErrors: function (t) {\n this.localErrors = l(t);\n },\n setFormContext: function (t) {\n this.formContext = t;\n }\n }\n },\n it = function () {\n var t = this.$createElement;\n return (this._self._c || t)(this.slotComponent, {\n tag: \"component\",\n attrs: {\n \"visible-errors\": this.visibleErrors,\n \"item-class\": this.itemClass,\n \"outer-class\": this.outerClass,\n role: this.role,\n \"aria-live\": this.ariaLive,\n type: this.type\n }\n });\n };\nit._withStripped = !0;\nvar nt = T({\n render: it,\n staticRenderFns: []\n }, void 0, ot, void 0, !1, void 0, !1, void 0, void 0, void 0),\n st = {\n props: {\n context: {\n type: Object,\n required: !0\n }\n }\n },\n at = function () {\n var t = this.$createElement,\n e = this._self._c || t;\n return this.context.help ? e(\"div\", {\n class: this.context.classes.help,\n attrs: {\n id: this.context.id + \"-help\"\n },\n domProps: {\n textContent: this._s(this.context.help)\n }\n }) : this._e();\n };\nat._withStripped = !0;\nvar lt = T({\n render: at,\n staticRenderFns: []\n }, void 0, st, void 0, !1, void 0, !1, void 0, void 0, void 0),\n ut = {\n props: {\n file: {\n type: Object,\n required: !0\n },\n imagePreview: {\n type: Boolean,\n default: !1\n },\n context: {\n type: Object,\n required: !0\n }\n }\n },\n ct = function () {\n var t = this,\n e = t.$createElement,\n r = t._self._c || e;\n return r(\"div\", {\n class: t.context.classes.file\n }, [t.imagePreview && t.file.previewData ? r(\"div\", {\n class: t.context.classes.fileImagePreview\n }, [r(\"img\", {\n class: t.context.classes.fileImagePreviewImage,\n attrs: {\n src: t.file.previewData\n }\n })]) : t._e(), t._v(\" \"), r(\"div\", {\n class: t.context.classes.fileName,\n attrs: {\n title: t.file.name\n },\n domProps: {\n textContent: t._s(t.file.name)\n }\n }), t._v(\" \"), !1 !== t.file.progress ? r(\"div\", {\n class: t.context.classes.fileProgress,\n attrs: {\n \"data-just-finished\": t.file.justFinished,\n \"data-is-finished\": !t.file.justFinished && t.file.complete\n }\n }, [r(\"div\", {\n class: t.context.classes.fileProgressInner,\n style: {\n width: t.file.progress + \"%\"\n }\n })]) : t._e(), t._v(\" \"), t.file.complete && !t.file.justFinished || !1 === t.file.progress ? r(\"div\", {\n class: t.context.classes.fileRemove,\n on: {\n click: t.file.removeFile\n }\n }) : t._e()]);\n };\nct._withStripped = !0;\nvar dt = T({\n render: ct,\n staticRenderFns: []\n }, void 0, ut, void 0, !1, void 0, !1, void 0, void 0, void 0),\n pt = {\n name: \"FormulateGrouping\",\n props: {\n context: {\n type: Object,\n required: !0\n }\n },\n provide: function () {\n return {\n isSubField: function () {\n return !0;\n },\n registerProvider: this.registerProvider,\n deregisterProvider: this.deregisterProvider\n };\n },\n data: function () {\n return {\n providers: [],\n keys: []\n };\n },\n inject: [\"formulateRegisterRule\", \"formulateRemoveRule\"],\n computed: {\n items: function () {\n var t = this;\n return Array.isArray(this.context.model) ? this.context.repeatable || 0 !== this.context.model.length ? this.context.model.length < this.context.minimum ? new Array(this.context.minimum || 1).fill(\"\").map(function (e, r) {\n return t.setId(t.context.model[r] || {}, r);\n }) : this.context.model.map(function (e, r) {\n return t.setId(e, r);\n }) : [this.setId({}, 0)] : new Array(this.context.minimum || 1).fill(\"\").map(function (e, r) {\n return t.setId({}, r);\n });\n },\n formShouldShowErrors: function () {\n return this.context.formShouldShowErrors;\n },\n groupErrors: function () {\n var t = this;\n return this.items.map(function (e, r) {\n return p(t.context.groupErrors, r) ? t.context.groupErrors[r] : {};\n });\n }\n },\n watch: {\n providers: function () {\n this.formShouldShowErrors && this.showErrors();\n },\n formShouldShowErrors: function (t) {\n t && this.showErrors();\n },\n items: {\n handler: function (t, e) {\n n(t, e, !0) || (this.keys = t.map(function (t) {\n return t.__id;\n }));\n },\n immediate: !0\n }\n },\n created: function () {\n this.formulateRegisterRule(this.validateGroup.bind(this), [], \"formulateGrouping\", !0);\n },\n destroyed: function () {\n this.formulateRemoveRule(\"formulateGrouping\");\n },\n methods: {\n validateGroup: function () {\n return Promise.all(this.providers.reduce(function (t, e) {\n return e && \"function\" == typeof e.hasValidationErrors && t.push(e.hasValidationErrors()), t;\n }, [])).then(function (t) {\n return !t.some(function (t) {\n return !!t;\n });\n });\n },\n showErrors: function () {\n this.providers.forEach(function (t) {\n return t && \"function\" == typeof t.showErrors && t.showErrors();\n });\n },\n setItem: function (t, e) {\n var r = this;\n Array.isArray(this.context.model) && this.context.model.length >= this.context.minimum && !this.context.model.__init ? this.context.model.splice(t, 1, this.setId(e, t)) : this.context.model = this.items.map(function (o, i) {\n return i === t ? r.setId(e, t) : o;\n });\n },\n removeItem: function (t) {\n var e = this;\n Array.isArray(this.context.model) && this.context.model.length > this.context.minimum ? (this.context.model = this.context.model.filter(function (e, r) {\n return r !== t && e;\n }), this.context.rootEmit(\"repeatableRemoved\", this.context.model)) : !Array.isArray(this.context.model) && this.items.length > this.context.minimum && (this.context.model = new Array(this.items.length - 1).fill(\"\").map(function (t, r) {\n return e.setId({}, r);\n }), this.context.rootEmit(\"repeatableRemoved\", this.context.model));\n },\n registerProvider: function (t) {\n this.providers.some(function (e) {\n return e === t;\n }) || this.providers.push(t);\n },\n deregisterProvider: function (t) {\n this.providers = this.providers.filter(function (e) {\n return e !== t;\n });\n },\n setId: function (t, e) {\n return t.__id ? t : h(t, this.keys[e]);\n }\n }\n },\n ht = function () {\n var t = this,\n e = t.$createElement,\n r = t._self._c || e;\n return r(\"FormulateSlot\", {\n class: t.context.classes.grouping,\n attrs: {\n name: \"grouping\",\n context: t.context,\n \"force-wrap\": t.context.repeatable\n }\n }, t._l(t.items, function (e, o) {\n return r(\"FormulateRepeatableProvider\", {\n key: e.__id,\n attrs: {\n index: o,\n context: t.context,\n uuid: e.__id,\n errors: t.groupErrors[o]\n },\n on: {\n remove: t.removeItem,\n input: function (e) {\n return t.setItem(o, e);\n }\n }\n }, [t._t(\"default\")], 2);\n }), 1);\n };\nht._withStripped = !0;\nvar ft = T({\n render: ht,\n staticRenderFns: []\n }, void 0, pt, void 0, !1, void 0, !1, void 0, void 0, void 0),\n mt = {\n props: {\n context: {\n type: Object,\n required: !0\n }\n }\n },\n vt = function () {\n var t = this.$createElement;\n return (this._self._c || t)(\"label\", {\n class: this.context.classes.label,\n attrs: {\n id: this.context.id + \"_label\",\n for: this.context.id\n },\n domProps: {\n textContent: this._s(this.context.label)\n }\n });\n };\nvt._withStripped = !0;\nvar xt = T({\n render: vt,\n staticRenderFns: []\n }, void 0, mt, void 0, !1, void 0, !1, void 0, void 0, void 0),\n yt = {\n props: {\n context: {\n type: Object,\n required: !0\n },\n addMore: {\n type: Function,\n required: !0\n }\n }\n },\n gt = function () {\n var t = this.$createElement,\n e = this._self._c || t;\n return e(\"div\", {\n class: this.context.classes.groupAddMore\n }, [e(\"FormulateInput\", {\n attrs: {\n type: \"button\",\n label: this.context.addLabel,\n \"data-minor\": \"\",\n \"data-ghost\": \"\"\n },\n on: {\n click: this.addMore\n }\n })], 1);\n };\ngt._withStripped = !0;\nvar bt = T({\n render: gt,\n staticRenderFns: []\n }, void 0, yt, void 0, !1, void 0, !1, void 0, void 0, void 0),\n Et = {\n props: {\n context: {\n type: Object,\n required: !0\n }\n },\n computed: {\n type: function () {\n return this.context.type;\n },\n attributes: function () {\n return this.context.attributes || {};\n },\n hasValue: function () {\n return this.context.hasValue;\n }\n }\n },\n _t = {\n name: \"FormulateInputBox\",\n mixins: [Et],\n computed: {\n usesDecorator: function () {\n return this.$formulate.options.useInputDecorators;\n }\n }\n },\n Ft = function () {\n var t = this,\n e = t.$createElement,\n r = t._self._c || e;\n return r(\"div\", {\n class: t.context.classes.element,\n attrs: {\n \"data-type\": t.context.type\n }\n }, [r(\"FormulateSlot\", {\n attrs: {\n name: \"prefix\",\n context: t.context\n }\n }, [t.context.slotComponents.prefix ? r(t.context.slotComponents.prefix, {\n tag: \"component\",\n attrs: {\n context: t.context\n }\n }) : t._e()], 1), t._v(\" \"), \"radio\" === t.type ? r(\"input\", t._g(t._b({\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: t.context.model,\n expression: \"context.model\"\n }],\n attrs: {\n type: \"radio\"\n },\n domProps: {\n value: t.context.value,\n checked: t._q(t.context.model, t.context.value)\n },\n on: {\n blur: t.context.blurHandler,\n change: function (e) {\n return t.$set(t.context, \"model\", t.context.value);\n }\n }\n }, \"input\", t.attributes, !1), t.$listeners)) : r(\"input\", t._g(t._b({\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: t.context.model,\n expression: \"context.model\"\n }],\n attrs: {\n type: \"checkbox\"\n },\n domProps: {\n value: t.context.value,\n checked: Array.isArray(t.context.model) ? t._i(t.context.model, t.context.value) > -1 : t.context.model\n },\n on: {\n blur: t.context.blurHandler,\n change: function (e) {\n var r = t.context.model,\n o = e.target,\n i = !!o.checked;\n if (Array.isArray(r)) {\n var n = t.context.value,\n s = t._i(r, n);\n o.checked ? s < 0 && t.$set(t.context, \"model\", r.concat([n])) : s > -1 && t.$set(t.context, \"model\", r.slice(0, s).concat(r.slice(s + 1)));\n } else t.$set(t.context, \"model\", i);\n }\n }\n }, \"input\", t.attributes, !1), t.$listeners)), t._v(\" \"), t.usesDecorator ? r(\"label\", {\n tag: \"component\",\n class: t.context.classes.decorator,\n attrs: {\n for: t.attributes.id\n }\n }) : t._e(), t._v(\" \"), r(\"FormulateSlot\", {\n attrs: {\n name: \"suffix\",\n context: t.context\n }\n }, [t.context.slotComponents.suffix ? r(t.context.slotComponents.suffix, {\n tag: \"component\",\n attrs: {\n context: t.context\n }\n }) : t._e()], 1)], 1);\n };\nFt._withStripped = !0;\nvar wt = T({\n render: Ft,\n staticRenderFns: []\n }, void 0, _t, void 0, !1, void 0, !1, void 0, void 0, void 0),\n Ot = {\n props: {\n visibleErrors: {\n type: Array,\n required: !0\n },\n itemClass: {\n type: [String, Array, Object, Boolean],\n default: !1\n },\n outerClass: {\n type: [String, Array, Object, Boolean],\n default: !1\n },\n role: {\n type: [String],\n default: \"status\"\n },\n ariaLive: {\n type: [String, Boolean],\n default: \"polite\"\n },\n type: {\n type: String,\n required: !0\n }\n }\n },\n Pt = function () {\n var t = this,\n e = t.$createElement,\n r = t._self._c || e;\n return t.visibleErrors.length ? r(\"ul\", {\n class: t.outerClass\n }, t._l(t.visibleErrors, function (e) {\n return r(\"li\", {\n key: e,\n class: t.itemClass,\n attrs: {\n role: t.role,\n \"aria-live\": t.ariaLive\n },\n domProps: {\n textContent: t._s(e)\n }\n });\n }), 0) : t._e();\n };\nPt._withStripped = !0;\nvar Vt = T({\n render: Pt,\n staticRenderFns: []\n }, void 0, Ot, void 0, !1, void 0, !1, void 0, void 0, void 0),\n At = {\n name: \"FormulateInputText\",\n mixins: [Et]\n },\n St = function () {\n var t = this,\n e = t.$createElement,\n r = t._self._c || e;\n return r(\"div\", {\n class: t.context.classes.element,\n attrs: {\n \"data-type\": t.context.type\n }\n }, [r(\"FormulateSlot\", {\n attrs: {\n name: \"prefix\",\n context: t.context\n }\n }, [t.context.slotComponents.prefix ? r(t.context.slotComponents.prefix, {\n tag: \"component\",\n attrs: {\n context: t.context\n }\n }) : t._e()], 1), t._v(\" \"), \"checkbox\" === t.type ? r(\"input\", t._g(t._b({\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: t.context.model,\n expression: \"context.model\"\n }],\n attrs: {\n type: \"checkbox\"\n },\n domProps: {\n checked: Array.isArray(t.context.model) ? t._i(t.context.model, null) > -1 : t.context.model\n },\n on: {\n blur: t.context.blurHandler,\n change: function (e) {\n var r = t.context.model,\n o = e.target,\n i = !!o.checked;\n if (Array.isArray(r)) {\n var n = t._i(r, null);\n o.checked ? n < 0 && t.$set(t.context, \"model\", r.concat([null])) : n > -1 && t.$set(t.context, \"model\", r.slice(0, n).concat(r.slice(n + 1)));\n } else t.$set(t.context, \"model\", i);\n }\n }\n }, \"input\", t.attributes, !1), t.$listeners)) : \"radio\" === t.type ? r(\"input\", t._g(t._b({\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: t.context.model,\n expression: \"context.model\"\n }],\n attrs: {\n type: \"radio\"\n },\n domProps: {\n checked: t._q(t.context.model, null)\n },\n on: {\n blur: t.context.blurHandler,\n change: function (e) {\n return t.$set(t.context, \"model\", null);\n }\n }\n }, \"input\", t.attributes, !1), t.$listeners)) : r(\"input\", t._g(t._b({\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: t.context.model,\n expression: \"context.model\"\n }],\n attrs: {\n type: t.type\n },\n domProps: {\n value: t.context.model\n },\n on: {\n blur: t.context.blurHandler,\n input: function (e) {\n e.target.composing || t.$set(t.context, \"model\", e.target.value);\n }\n }\n }, \"input\", t.attributes, !1), t.$listeners)), t._v(\" \"), r(\"FormulateSlot\", {\n attrs: {\n name: \"suffix\",\n context: t.context\n }\n }, [t.context.slotComponents.suffix ? r(t.context.slotComponents.suffix, {\n tag: \"component\",\n attrs: {\n context: t.context\n }\n }) : t._e()], 1)], 1);\n };\nSt._withStripped = !0;\nvar jt = T({\n render: St,\n staticRenderFns: []\n }, void 0, At, void 0, !1, void 0, !1, void 0, void 0, void 0),\n $t = {\n name: \"FormulateFiles\",\n props: {\n files: {\n type: b,\n required: !0\n },\n imagePreview: {\n type: Boolean,\n default: !1\n },\n context: {\n type: Object,\n required: !0\n }\n },\n computed: {\n fileUploads: function () {\n return this.files.files || [];\n },\n isMultiple: function () {\n return p(this.context.attributes, \"multiple\");\n }\n },\n watch: {\n files: function () {\n this.imagePreview && this.files.loadPreviews();\n }\n },\n mounted: function () {\n this.imagePreview && this.files.loadPreviews();\n },\n methods: {\n appendFiles: function () {\n var t = this.$refs.addFiles;\n t.files.length && this.files.mergeFileList(t);\n }\n }\n },\n Ct = function () {\n var t = this,\n e = t.$createElement,\n r = t._self._c || e;\n return t.fileUploads.length ? r(\"ul\", {\n class: t.context.classes.files\n }, [t._l(t.fileUploads, function (e) {\n return r(\"li\", {\n key: e.uuid,\n attrs: {\n \"data-has-error\": !!e.error,\n \"data-has-preview\": !(!t.imagePreview || !e.previewData)\n }\n }, [r(\"FormulateSlot\", {\n attrs: {\n name: \"file\",\n context: t.context,\n file: e,\n \"image-preview\": t.imagePreview\n }\n }, [r(t.context.slotComponents.file, {\n tag: \"component\",\n attrs: {\n context: t.context,\n file: e,\n \"image-preview\": t.imagePreview\n }\n })], 1), t._v(\" \"), e.error ? r(\"div\", {\n class: t.context.classes.fileUploadError,\n domProps: {\n textContent: t._s(e.error)\n }\n }) : t._e()], 1);\n }), t._v(\" \"), t.isMultiple && t.context.addLabel ? r(\"div\", {\n class: t.context.classes.fileAdd,\n attrs: {\n role: \"button\"\n }\n }, [t._v(\"\\n \" + t._s(t.context.addLabel) + \"\\n \"), r(\"input\", {\n ref: \"addFiles\",\n class: t.context.classes.fileAddInput,\n attrs: {\n type: \"file\",\n multiple: \"\"\n },\n on: {\n change: t.appendFiles\n }\n })]) : t._e()], 2) : t._e();\n };\nCt._withStripped = !0;\nvar kt = {\n name: \"FormulateInputFile\",\n components: {\n FormulateFiles: T({\n render: Ct,\n staticRenderFns: []\n }, void 0, $t, void 0, !1, void 0, !1, void 0, void 0, void 0)\n },\n mixins: [Et],\n data: function () {\n return {\n isOver: !1\n };\n },\n computed: {\n hasFiles: function () {\n return !!(this.context.model instanceof b && this.context.model.files.length);\n }\n },\n created: function () {\n Array.isArray(this.context.model) && \"string\" == typeof this.context.model[0][this.$formulate.getFileUrlKey()] && (this.context.model = this.$formulate.createUpload({\n files: this.context.model\n }, this.context));\n },\n mounted: function () {\n window && this.context.preventWindowDrops && (window.addEventListener(\"dragover\", this.preventDefault), window.addEventListener(\"drop\", this.preventDefault));\n },\n destroyed: function () {\n window && this.context.preventWindowDrops && (window.removeEventListener(\"dragover\", this.preventDefault), window.removeEventListener(\"drop\", this.preventDefault));\n },\n methods: {\n preventDefault: function (t) {\n \"INPUT\" !== t.target.tagName && \"file\" !== t.target.getAttribute(\"type\") && (t = t || event).preventDefault();\n },\n handleFile: function () {\n var t = this;\n this.isOver = !1;\n var e = this.$refs.file;\n e.files.length && (this.context.model = this.$formulate.createUpload(e, this.context), this.$nextTick(function () {\n return t.attemptImmediateUpload();\n }));\n },\n attemptImmediateUpload: function () {\n var t = this;\n \"live\" === this.context.uploadBehavior && this.context.model instanceof b && this.context.hasValidationErrors().then(function (e) {\n e || t.context.model.upload();\n });\n },\n handleDragOver: function (t) {\n t.preventDefault(), this.isOver = !0;\n },\n handleDragLeave: function (t) {\n t.preventDefault(), this.isOver = !1;\n }\n }\n },\n It = function () {\n var t = this,\n e = t.$createElement,\n r = t._self._c || e;\n return r(\"div\", {\n class: t.context.classes.element,\n attrs: {\n \"data-type\": t.context.type,\n \"data-has-files\": t.hasFiles\n }\n }, [r(\"FormulateSlot\", {\n attrs: {\n name: \"prefix\",\n context: t.context\n }\n }, [t.context.slotComponents.prefix ? r(t.context.slotComponents.prefix, {\n tag: \"component\",\n attrs: {\n context: t.context\n }\n }) : t._e()], 1), t._v(\" \"), r(\"div\", {\n class: t.context.classes.uploadArea,\n attrs: {\n \"data-has-files\": t.hasFiles\n }\n }, [r(\"input\", t._g(t._b({\n ref: \"file\",\n attrs: {\n \"data-is-drag-hover\": t.isOver,\n type: \"file\"\n },\n on: {\n blur: t.context.blurHandler,\n change: t.handleFile,\n dragover: t.handleDragOver,\n dragleave: t.handleDragLeave\n }\n }, \"input\", t.attributes, !1), t.$listeners)), t._v(\" \"), r(\"FormulateSlot\", {\n attrs: {\n name: \"uploadAreaMask\",\n context: t.context,\n \"has-files\": t.hasFiles\n }\n }, [r(t.context.slotComponents.uploadAreaMask, {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: !t.hasFiles,\n expression: \"!hasFiles\"\n }],\n tag: \"component\",\n class: t.context.classes.uploadAreaMask,\n attrs: {\n \"has-files\": \"div\" !== t.context.slotComponents.uploadAreaMask && t.hasFiles,\n \"data-has-files\": \"div\" === t.context.slotComponents.uploadAreaMask && t.hasFiles\n }\n })], 1), t._v(\" \"), t.hasFiles ? r(\"FormulateFiles\", {\n attrs: {\n files: t.context.model,\n \"image-preview\": \"image\" === t.context.type && \"preview\" === t.context.imageBehavior,\n context: t.context\n }\n }) : t._e()], 1), t._v(\" \"), r(\"FormulateSlot\", {\n attrs: {\n name: \"suffix\",\n context: t.context\n }\n }, [t.context.slotComponents.suffix ? r(t.context.slotComponents.suffix, {\n tag: \"component\",\n attrs: {\n context: t.context\n }\n }) : t._e()], 1)], 1);\n };\nIt._withStripped = !0;\nvar Rt = T({\n render: It,\n staticRenderFns: []\n }, void 0, kt, void 0, !1, void 0, !1, void 0, void 0, void 0),\n Dt = {\n props: {\n context: {\n type: Object,\n required: !0\n },\n removeItem: {\n type: Function,\n required: !0\n },\n index: {\n type: Number,\n required: !0\n }\n }\n },\n Lt = function () {\n var t = this,\n e = t.$createElement,\n r = t._self._c || e;\n return r(\"div\", {\n class: t.context.classes.groupRepeatable\n }, [\"after\" === t.context.removePosition ? t._t(\"default\") : t._e(), t._v(\" \"), r(\"FormulateSlot\", {\n attrs: {\n name: \"remove\",\n context: t.context,\n index: t.index,\n \"remove-item\": t.removeItem\n }\n }, [r(t.context.slotComponents.remove, t._b({\n tag: \"component\",\n attrs: {\n context: t.context,\n index: t.index,\n \"remove-item\": t.removeItem\n }\n }, \"component\", t.context.slotProps.remove, !1))], 1), t._v(\" \"), \"before\" === t.context.removePosition ? t._t(\"default\") : t._e()], 2);\n };\nLt._withStripped = !0;\nvar Nt = T({\n render: Lt,\n staticRenderFns: []\n}, void 0, Dt, void 0, !1, void 0, !1, void 0, void 0, void 0);\nfunction Mt(t, e) {\n var r = {};\n for (var o in t) Object.prototype.hasOwnProperty.call(t, o) && -1 === e.indexOf(o) && (r[o] = t[o]);\n return r;\n}\nvar Bt = {\n name: \"FormulateInputGroup\",\n props: {\n context: {\n type: Object,\n required: !0\n }\n },\n computed: {\n options: function () {\n return this.context.options || [];\n },\n subType: function () {\n return \"group\" === this.context.type ? \"grouping\" : \"inputs\";\n },\n optionsWithContext: function () {\n var t = this,\n e = this.context,\n r = e.attributes,\n o = (r.id, Mt(r, [\"id\"])),\n i = (e.blurHandler, e.classification, e.component, e.getValidationErrors, e.hasLabel, e.hasValidationErrors, e.isSubField, e.isValid, e.labelPosition, e.options, e.performValidation, e.setErrors, e.slotComponents, e.slotProps, e.validationErrors, e.visibleValidationErrors, e.classes, e.showValidationErrors, e.rootEmit, e.help, e.pseudoProps, e.rules, e.model, Mt(e, [\"attributes\", \"blurHandler\", \"classification\", \"component\", \"getValidationErrors\", \"hasLabel\", \"hasValidationErrors\", \"isSubField\", \"isValid\", \"labelPosition\", \"options\", \"performValidation\", \"setErrors\", \"slotComponents\", \"slotProps\", \"validationErrors\", \"visibleValidationErrors\", \"classes\", \"showValidationErrors\", \"rootEmit\", \"help\", \"pseudoProps\", \"rules\", \"model\"]));\n return this.options.map(function (e) {\n return t.groupItemContext(i, e, o);\n });\n },\n totalItems: function () {\n return Array.isArray(this.context.model) && this.context.model.length > this.context.minimum ? this.context.model.length : this.context.minimum || 1;\n },\n canAddMore: function () {\n return this.context.repeatable && this.totalItems < this.context.limit;\n },\n labelledBy: function () {\n return this.context.label && this.context.id + \"_label\";\n }\n },\n methods: {\n addItem: function () {\n if (Array.isArray(this.context.model)) for (var t = this.context.minimum - this.context.model.length + 1, e = Math.max(t, 1), r = 0; r < e; r++) this.context.model.push(h({}));else this.context.model = new Array(this.totalItems + 1).fill(\"\").map(function () {\n return h({});\n });\n this.context.rootEmit(\"repeatableAdded\", this.context.model);\n },\n groupItemContext: function (t, e, r) {\n return Object.assign({}, t, e, r, {\n isGrouped: !0\n }, t.hasGivenName ? {} : {\n name: !0\n });\n }\n }\n },\n Ut = function () {\n var t = this,\n e = t.$createElement,\n r = t._self._c || e;\n return r(\"div\", {\n class: t.context.classes.element,\n attrs: {\n \"data-is-repeatable\": t.context.repeatable,\n role: \"group\",\n \"aria-labelledby\": t.labelledBy\n }\n }, [r(\"FormulateSlot\", {\n attrs: {\n name: \"prefix\",\n context: t.context\n }\n }, [t.context.slotComponents.prefix ? r(t.context.slotComponents.prefix, {\n tag: \"component\",\n attrs: {\n context: t.context\n }\n }) : t._e()], 1), t._v(\" \"), \"grouping\" !== t.subType ? t._l(t.optionsWithContext, function (e) {\n return r(\"FormulateInput\", t._b({\n key: e.id,\n staticClass: \"formulate-input-group-item\",\n attrs: {\n \"disable-errors\": !0,\n \"prevent-deregister\": !0\n },\n on: {\n blur: t.context.blurHandler\n },\n model: {\n value: t.context.model,\n callback: function (e) {\n t.$set(t.context, \"model\", e);\n },\n expression: \"context.model\"\n }\n }, \"FormulateInput\", e, !1));\n }) : [r(\"FormulateGrouping\", {\n attrs: {\n context: t.context\n }\n }, [t._t(\"default\")], 2), t._v(\" \"), t.canAddMore ? r(\"FormulateSlot\", {\n attrs: {\n name: \"addmore\",\n context: t.context,\n \"add-more\": t.addItem\n }\n }, [r(t.context.slotComponents.addMore, t._b({\n tag: \"component\",\n attrs: {\n context: t.context,\n \"add-more\": t.addItem\n },\n on: {\n add: t.addItem\n }\n }, \"component\", t.context.slotProps.addMore, !1))], 1) : t._e()], t._v(\" \"), r(\"FormulateSlot\", {\n attrs: {\n name: \"suffix\",\n context: t.context\n }\n }, [t.context.slotComponents.suffix ? r(t.context.slotComponents.suffix, {\n tag: \"component\",\n attrs: {\n context: t.context\n }\n }) : t._e()], 1)], 2);\n };\nUt._withStripped = !0;\nvar Gt = T({\n render: Ut,\n staticRenderFns: []\n }, void 0, Bt, void 0, !1, void 0, !1, void 0, void 0, void 0),\n Tt = {\n name: \"FormulateInputButton\",\n mixins: [Et]\n },\n qt = function () {\n var t = this,\n e = t.$createElement,\n r = t._self._c || e;\n return r(\"div\", {\n class: t.context.classes.element,\n attrs: {\n \"data-type\": t.context.type\n }\n }, [r(\"FormulateSlot\", {\n attrs: {\n name: \"prefix\",\n context: t.context\n }\n }, [t.context.slotComponents.prefix ? r(t.context.slotComponents.prefix, {\n tag: \"component\",\n attrs: {\n context: t.context\n }\n }) : t._e()], 1), t._v(\" \"), r(\"button\", t._g(t._b({\n attrs: {\n type: t.type\n }\n }, \"button\", t.attributes, !1), t.$listeners), [t._t(\"default\", [r(t.context.slotComponents.buttonContent, {\n tag: \"component\",\n attrs: {\n context: t.context\n }\n })], {\n context: t.context\n })], 2), t._v(\" \"), r(\"FormulateSlot\", {\n attrs: {\n name: \"suffix\",\n context: t.context\n }\n }, [t.context.slotComponents.suffix ? r(t.context.slotComponents.suffix, {\n tag: \"component\",\n attrs: {\n context: t.context\n }\n }) : t._e()], 1)], 1);\n };\nqt._withStripped = !0;\nvar Ht = T({\n render: qt,\n staticRenderFns: []\n }, void 0, Tt, void 0, !1, void 0, !1, void 0, void 0, void 0),\n Wt = {\n name: \"FormulateInputSelect\",\n mixins: [Et],\n computed: {\n options: function () {\n return this.context.options || {};\n },\n optionGroups: function () {\n return this.context.optionGroups || !1;\n },\n placeholderSelected: function () {\n return !(this.hasValue || !this.context.attributes || !this.context.attributes.placeholder);\n }\n }\n },\n Yt = function () {\n var t = this,\n e = t.$createElement,\n r = t._self._c || e;\n return r(\"div\", {\n class: t.context.classes.element,\n attrs: {\n \"data-type\": t.context.type,\n \"data-multiple\": t.attributes && void 0 !== t.attributes.multiple\n }\n }, [r(\"FormulateSlot\", {\n attrs: {\n name: \"prefix\",\n context: t.context\n }\n }, [t.context.slotComponents.prefix ? r(t.context.slotComponents.prefix, {\n tag: \"component\",\n attrs: {\n context: t.context\n }\n }) : t._e()], 1), t._v(\" \"), r(\"select\", t._g(t._b({\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: t.context.model,\n expression: \"context.model\"\n }],\n attrs: {\n \"data-placeholder-selected\": t.placeholderSelected\n },\n on: {\n blur: t.context.blurHandler,\n change: function (e) {\n var r = Array.prototype.filter.call(e.target.options, function (t) {\n return t.selected;\n }).map(function (t) {\n return \"_value\" in t ? t._value : t.value;\n });\n t.$set(t.context, \"model\", e.target.multiple ? r : r[0]);\n }\n }\n }, \"select\", t.attributes, !1), t.$listeners), [t.context.placeholder ? r(\"option\", {\n attrs: {\n value: \"\",\n hidden: \"hidden\",\n disabled: \"\"\n },\n domProps: {\n selected: !t.hasValue\n }\n }, [t._v(\"\\n \" + t._s(t.context.placeholder) + \"\\n \")]) : t._e(), t._v(\" \"), t.optionGroups ? t._l(t.optionGroups, function (e, o) {\n return r(\"optgroup\", {\n key: o,\n attrs: {\n label: o\n }\n }, t._l(e, function (e) {\n return r(\"option\", t._b({\n key: e.id,\n attrs: {\n disabled: !!e.disabled\n },\n domProps: {\n value: e.value,\n textContent: t._s(e.label)\n }\n }, \"option\", e.attributes || e.attrs || {}, !1));\n }), 0);\n }) : t._l(t.options, function (e) {\n return r(\"option\", t._b({\n key: e.id,\n attrs: {\n disabled: !!e.disabled\n },\n domProps: {\n value: e.value,\n textContent: t._s(e.label)\n }\n }, \"option\", e.attributes || e.attrs || {}, !1));\n })], 2), t._v(\" \"), r(\"FormulateSlot\", {\n attrs: {\n name: \"suffix\",\n context: t.context\n }\n }, [t.context.slotComponents.suffix ? r(t.context.slotComponents.suffix, {\n tag: \"component\",\n attrs: {\n context: t.context\n }\n }) : t._e()], 1)], 1);\n };\nYt._withStripped = !0;\nvar zt = T({\n render: Yt,\n staticRenderFns: []\n }, void 0, Wt, void 0, !1, void 0, !1, void 0, void 0, void 0),\n Kt = {\n name: \"FormulateInputSlider\",\n mixins: [Et]\n },\n Zt = function () {\n var t = this,\n e = t.$createElement,\n r = t._self._c || e;\n return r(\"div\", {\n class: t.context.classes.element,\n attrs: {\n \"data-type\": t.context.type\n }\n }, [r(\"FormulateSlot\", {\n attrs: {\n name: \"prefix\",\n context: t.context\n }\n }, [t.context.slotComponents.prefix ? r(t.context.slotComponents.prefix, {\n tag: \"component\",\n attrs: {\n context: t.context\n }\n }) : t._e()], 1), t._v(\" \"), \"checkbox\" === t.type ? r(\"input\", t._g(t._b({\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: t.context.model,\n expression: \"context.model\"\n }],\n attrs: {\n type: \"checkbox\"\n },\n domProps: {\n checked: Array.isArray(t.context.model) ? t._i(t.context.model, null) > -1 : t.context.model\n },\n on: {\n blur: t.context.blurHandler,\n change: function (e) {\n var r = t.context.model,\n o = e.target,\n i = !!o.checked;\n if (Array.isArray(r)) {\n var n = t._i(r, null);\n o.checked ? n < 0 && t.$set(t.context, \"model\", r.concat([null])) : n > -1 && t.$set(t.context, \"model\", r.slice(0, n).concat(r.slice(n + 1)));\n } else t.$set(t.context, \"model\", i);\n }\n }\n }, \"input\", t.attributes, !1), t.$listeners)) : \"radio\" === t.type ? r(\"input\", t._g(t._b({\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: t.context.model,\n expression: \"context.model\"\n }],\n attrs: {\n type: \"radio\"\n },\n domProps: {\n checked: t._q(t.context.model, null)\n },\n on: {\n blur: t.context.blurHandler,\n change: function (e) {\n return t.$set(t.context, \"model\", null);\n }\n }\n }, \"input\", t.attributes, !1), t.$listeners)) : r(\"input\", t._g(t._b({\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: t.context.model,\n expression: \"context.model\"\n }],\n attrs: {\n type: t.type\n },\n domProps: {\n value: t.context.model\n },\n on: {\n blur: t.context.blurHandler,\n input: function (e) {\n e.target.composing || t.$set(t.context, \"model\", e.target.value);\n }\n }\n }, \"input\", t.attributes, !1), t.$listeners)), t._v(\" \"), t.context.showValue ? r(\"div\", {\n class: t.context.classes.rangeValue,\n domProps: {\n textContent: t._s(t.context.model)\n }\n }) : t._e(), t._v(\" \"), r(\"FormulateSlot\", {\n attrs: {\n name: \"suffix\",\n context: t.context\n }\n }, [t.context.slotComponents.suffix ? r(t.context.slotComponents.suffix, {\n tag: \"component\",\n attrs: {\n context: t.context\n }\n }) : t._e()], 1)], 1);\n };\nZt._withStripped = !0;\nvar Jt = T({\n render: Zt,\n staticRenderFns: []\n }, void 0, Kt, void 0, !1, void 0, !1, void 0, void 0, void 0),\n Xt = {\n props: {\n context: {\n type: Object,\n required: !0\n }\n }\n },\n Qt = function () {\n var t = this.$createElement;\n return (this._self._c || t)(\"span\", {\n class: \"formulate-input-element--\" + this.context.type + \"--label\",\n domProps: {\n textContent: this._s(this.context.value || this.context.label || this.context.name || \"Submit\")\n }\n });\n };\nQt._withStripped = !0;\nvar te = T({\n render: Qt,\n staticRenderFns: []\n }, void 0, Xt, void 0, !1, void 0, !1, void 0, void 0, void 0),\n ee = {\n name: \"FormulateInputTextArea\",\n mixins: [Et]\n },\n re = function () {\n var t = this,\n e = t.$createElement,\n r = t._self._c || e;\n return r(\"div\", {\n class: t.context.classes.element,\n attrs: {\n \"data-type\": \"textarea\"\n }\n }, [r(\"FormulateSlot\", {\n attrs: {\n name: \"prefix\",\n context: t.context\n }\n }, [t.context.slotComponents.prefix ? r(t.context.slotComponents.prefix, {\n tag: \"component\",\n attrs: {\n context: t.context\n }\n }) : t._e()], 1), t._v(\" \"), r(\"textarea\", t._g(t._b({\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: t.context.model,\n expression: \"context.model\"\n }],\n domProps: {\n value: t.context.model\n },\n on: {\n blur: t.context.blurHandler,\n input: function (e) {\n e.target.composing || t.$set(t.context, \"model\", e.target.value);\n }\n }\n }, \"textarea\", t.attributes, !1), t.$listeners)), t._v(\" \"), r(\"FormulateSlot\", {\n attrs: {\n name: \"suffix\",\n context: t.context\n }\n }, [t.context.slotComponents.suffix ? r(t.context.slotComponents.suffix, {\n tag: \"component\",\n attrs: {\n context: t.context\n }\n }) : t._e()], 1)], 1);\n };\nre._withStripped = !0;\nvar oe = T({\n render: re,\n staticRenderFns: []\n }, void 0, ee, void 0, !1, void 0, !1, void 0, void 0, void 0),\n ie = {\n provide: function () {\n var t = this;\n return Object.assign({}, U(this, [\"getFormValues\"]), {\n formulateSetter: function (e, r) {\n return t.setGroupValue(e, r);\n }\n });\n },\n inject: {\n registerProvider: \"registerProvider\",\n deregisterProvider: \"deregisterProvider\"\n },\n props: {\n index: {\n type: Number,\n required: !0\n },\n context: {\n type: Object,\n required: !0\n },\n uuid: {\n type: String,\n required: !0\n },\n errors: {\n type: Object,\n required: !0\n }\n },\n data: function () {\n return Object.assign({}, N(this), {\n isGrouping: !0\n });\n },\n computed: Object.assign({}, M(), {\n mergedFieldErrors: function () {\n return this.errors;\n }\n }),\n watch: Object.assign({}, {\n mergedFieldErrors: {\n handler: function (t) {\n this.errorObservers.filter(function (t) {\n return \"input\" === t.type;\n }).forEach(function (e) {\n return e.callback(t[e.field] || []);\n });\n },\n immediate: !0\n },\n mergedGroupErrors: {\n handler: function (t) {\n this.errorObservers.filter(function (t) {\n return \"group\" === t.type;\n }).forEach(function (e) {\n return e.callback(t[e.field] || {});\n });\n },\n immediate: !0\n }\n }, {\n \"context.model\": {\n handler: function (t) {\n n(t[this.index], this.proxy, !0) || this.setValues(t[this.index]);\n },\n deep: !0\n }\n }),\n created: function () {\n this.applyInitialValues(), this.registerProvider(this);\n },\n beforeDestroy: function () {\n this.preventCleanup = !0, this.deregisterProvider(this);\n },\n methods: Object.assign({}, B(), {\n setGroupValue: function (t, e) {\n n(this.proxy[t], e, !0) || this.setFieldValue(t, e);\n },\n removeItem: function () {\n this.$emit(\"remove\", this.index);\n }\n })\n },\n ne = function () {\n var t = this,\n e = t.$createElement,\n r = t._self._c || e;\n return r(\"FormulateSlot\", {\n attrs: {\n name: \"repeatable\",\n context: t.context,\n index: t.index,\n \"remove-item\": t.removeItem\n }\n }, [r(t.context.slotComponents.repeatable, t._b({\n tag: \"component\",\n attrs: {\n context: t.context,\n index: t.index,\n \"remove-item\": t.removeItem\n }\n }, \"component\", t.context.slotProps.repeatable, !1), [r(\"FormulateSlot\", {\n attrs: {\n context: t.context,\n index: t.index,\n name: \"default\"\n }\n })], 1)], 1);\n };\nne._withStripped = !0;\nvar se = T({\n render: ne,\n staticRenderFns: []\n }, void 0, ie, void 0, !1, void 0, !1, void 0, void 0, void 0),\n ae = {\n props: {\n index: {\n type: Number,\n default: null\n },\n context: {\n type: Object,\n required: !0\n },\n removeItem: {\n type: Function,\n required: !0\n }\n }\n },\n le = function () {\n var t = this,\n e = t.$createElement,\n r = t._self._c || e;\n return t.context.repeatable ? r(\"a\", {\n class: t.context.classes.groupRepeatableRemove,\n attrs: {\n \"data-disabled\": t.context.model.length <= t.context.minimum,\n role: \"button\"\n },\n domProps: {\n textContent: t._s(t.context.removeLabel)\n },\n on: {\n click: function (e) {\n return e.preventDefault(), t.removeItem(e);\n },\n keypress: function (e) {\n return !e.type.indexOf(\"key\") && t._k(e.keyCode, \"enter\", 13, e.key, \"Enter\") ? null : t.removeItem(e);\n }\n }\n }) : t._e();\n };\nle._withStripped = !0;\nvar ue = T({\n render: le,\n staticRenderFns: []\n }, void 0, ae, void 0, !1, void 0, !1, void 0, void 0, void 0),\n ce = function () {\n this.options = {}, this.defaults = {\n components: {\n FormulateSlot: k,\n FormulateForm: W,\n FormulateFile: dt,\n FormulateHelp: lt,\n FormulateLabel: xt,\n FormulateInput: rt,\n FormulateErrors: nt,\n FormulateSchema: R,\n FormulateAddMore: bt,\n FormulateGrouping: ft,\n FormulateInputBox: wt,\n FormulateInputText: jt,\n FormulateInputFile: Rt,\n FormulateErrorList: Vt,\n FormulateRepeatable: Nt,\n FormulateInputGroup: Gt,\n FormulateInputButton: Ht,\n FormulateInputSelect: zt,\n FormulateInputSlider: Jt,\n FormulateButtonContent: te,\n FormulateInputTextArea: oe,\n FormulateRepeatableRemove: ue,\n FormulateRepeatableProvider: se\n },\n slotComponents: {\n addMore: \"FormulateAddMore\",\n buttonContent: \"FormulateButtonContent\",\n errorList: \"FormulateErrorList\",\n errors: \"FormulateErrors\",\n file: \"FormulateFile\",\n help: \"FormulateHelp\",\n label: \"FormulateLabel\",\n prefix: !1,\n remove: \"FormulateRepeatableRemove\",\n repeatable: \"FormulateRepeatable\",\n suffix: !1,\n uploadAreaMask: \"div\"\n },\n slotProps: {},\n library: o,\n rules: _,\n mimes: w,\n locale: !1,\n uploader: $,\n uploadUrl: !1,\n fileUrlKey: \"url\",\n uploadJustCompleteDuration: 1e3,\n errorHandler: function (t) {\n return t;\n },\n plugins: [e],\n locales: {},\n failedValidation: function () {\n return !1;\n },\n idPrefix: \"formulate-\",\n baseClasses: function (t) {\n return t;\n },\n coreClasses: j,\n classes: {},\n useInputDecorators: !0,\n validationNameStrategy: !1\n }, this.registry = new Map(), this.idRegistry = {};\n };\nce.prototype.install = function (t, e) {\n var r = this;\n t.prototype.$formulate = this, this.options = this.defaults;\n var o = this.defaults.plugins;\n for (var i in e && Array.isArray(e.plugins) && e.plugins.length && (o = o.concat(e.plugins)), o.forEach(function (t) {\n return \"function\" == typeof t ? t(r) : null;\n }), this.extend(e || {}), this.options.components) t.component(i, this.options.components[i]);\n}, ce.prototype.nextId = function (t) {\n var e = !(!t.$route || !t.$route.path) && t.$route.path ? t.$route.path.replace(/[/\\\\.\\s]/g, \"-\") : \"global\";\n return Object.prototype.hasOwnProperty.call(this.idRegistry, e) || (this.idRegistry[e] = 0), \"\" + this.options.idPrefix + e + \"-\" + ++this.idRegistry[e];\n}, ce.prototype.extend = function (t) {\n if (\"object\" == typeof t) return this.options = this.merge(this.options, t), this;\n throw new Error(\"Formulate.extend expects an object, was \" + typeof t);\n}, ce.prototype.merge = function (e, r, o) {\n void 0 === o && (o = !0);\n var i = {};\n for (var n in e) r.hasOwnProperty(n) ? t(r[n]) && t(e[n]) ? i[n] = this.merge(e[n], r[n], o) : o && Array.isArray(e[n]) && Array.isArray(r[n]) ? i[n] = e[n].concat(r[n]) : i[n] = r[n] : i[n] = e[n];\n for (var s in r) i.hasOwnProperty(s) || (i[s] = r[s]);\n return i;\n}, ce.prototype.classify = function (t) {\n return this.options.library.hasOwnProperty(t) ? this.options.library[t].classification : \"unknown\";\n}, ce.prototype.classes = function (t) {\n var e = this,\n r = this.options.coreClasses(t),\n o = this.options.baseClasses(r, t);\n return Object.keys(o).reduce(function (r, i) {\n var n,\n s = S(o[i], e.options.classes[i], t);\n return s = function (t, e, r, o) {\n return Object.keys(P).reduce(function (e, i) {\n if (P[i](o)) {\n var n = \"\" + t + a(i),\n s = n + \"Class\";\n if (r[n]) e = S(e, \"string\" == typeof r[n] ? l(r[n]) : r[n], o);\n if (o[s]) e = S(e, \"string\" == typeof o[s] ? l(o[s]) : o[n + \"Class\"], o);\n }\n return e;\n }, e);\n }(i, s = S(s, t[i + \"Class\"], t), e.options.classes, t), Object.assign(r, ((n = {})[i] = s, n));\n }, {});\n}, ce.prototype.typeProps = function (t) {\n var e = function (t) {\n return Object.keys(t).reduce(function (e, r) {\n return Array.isArray(t[r]) ? e.concat(t[r]) : e;\n }, []);\n },\n r = e(this.options.slotProps);\n return this.options.library[t] ? r.concat(e(this.options.library[t].slotProps || {})) : r;\n}, ce.prototype.slotProps = function (t, e, r) {\n var o = Array.isArray(this.options.slotProps[e]) ? this.options.slotProps[e] : [],\n i = this.options.library[t];\n return i && i.slotProps && Array.isArray(i.slotProps[e]) && (o = o.concat(i.slotProps[e])), o.reduce(function (t, e) {\n var o;\n return Object.assign(t, ((o = {})[e] = r[e], o));\n }, {});\n}, ce.prototype.component = function (t) {\n return !!this.options.library.hasOwnProperty(t) && this.options.library[t].component;\n}, ce.prototype.slotComponent = function (t, e) {\n var r = this.options.library[t];\n return r && r.slotComponents && r.slotComponents[e] ? r.slotComponents[e] : this.options.slotComponents[e];\n}, ce.prototype.rules = function (t) {\n return void 0 === t && (t = {}), Object.assign({}, this.options.rules, t);\n}, ce.prototype.i18n = function (t) {\n if (t.$i18n) switch (typeof t.$i18n.locale) {\n case \"string\":\n return t.$i18n.locale;\n case \"function\":\n return t.$i18n.locale();\n }\n return !1;\n}, ce.prototype.getLocale = function (t) {\n var e = this;\n return this.selectedLocale || (this.selectedLocale = [this.options.locale, this.i18n(t), \"en\"].reduce(function (t, r) {\n if (t) return t;\n if (r) {\n var o = function (t) {\n return t.split(\"-\").reduce(function (t, e) {\n return t.length && t.unshift(t[0] + \"-\" + e), t.length ? t : [e];\n }, []);\n }(r).find(function (t) {\n return p(e.options.locales, t);\n });\n o && (t = o);\n }\n return t;\n }, !1)), this.selectedLocale;\n}, ce.prototype.setLocale = function (t) {\n p(this.options.locales, t) && (this.options.locale = t, this.selectedLocale = t, this.registry.forEach(function (t, e) {\n t.hasValidationErrors();\n }));\n}, ce.prototype.validationMessage = function (t, e, r) {\n var o = this.options.locales[this.getLocale(r)];\n return o.hasOwnProperty(t) ? o[t](e) : o.hasOwnProperty(\"default\") ? o.default(e) : \"Invalid field value\";\n}, ce.prototype.register = function (t) {\n \"FormulateForm\" === t.$options.name && t.name && this.registry.set(t.name, t);\n}, ce.prototype.deregister = function (t) {\n \"FormulateForm\" === t.$options.name && t.name && this.registry.has(t.name) && this.registry.delete(t.name);\n}, ce.prototype.handle = function (t, e, r) {\n void 0 === r && (r = !1);\n var o = r ? t : this.options.errorHandler(t, e);\n return e && this.registry.has(e) && this.registry.get(e).applyErrors({\n formErrors: l(o.formErrors),\n inputErrors: o.inputErrors || {}\n }), o;\n}, ce.prototype.reset = function (t, e) {\n void 0 === e && (e = {}), this.resetValidation(t), this.setValues(t, e);\n}, ce.prototype.submit = function (t) {\n this.registry.get(t).formSubmitted();\n}, ce.prototype.resetValidation = function (t) {\n var e = this.registry.get(t);\n e.hideErrors(t), e.namedErrors = [], e.namedFieldErrors = {};\n}, ce.prototype.setValues = function (t, e) {\n e && !Array.isArray(e) && \"object\" == typeof e && this.registry.get(t).setValues(Object.assign({}, e));\n}, ce.prototype.getUploader = function () {\n return this.options.uploader || !1;\n}, ce.prototype.getUploadUrl = function () {\n return this.options.uploadUrl || !1;\n}, ce.prototype.getFileUrlKey = function () {\n return this.options.fileUrlKey || \"url\";\n}, ce.prototype.createUpload = function (t, e) {\n return new b(t, e, this.options);\n}, ce.prototype.failedValidation = function (t) {\n return this.options.failedValidation(this);\n};\nvar de = new ce();\nexport default de;","import toInteger from \"../_lib/toInteger/index.js\";\nimport addDays from \"../addDays/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name subDays\n * @category Day Helpers\n * @summary Subtract the specified number of days from the given date.\n *\n * @description\n * Subtract the specified number of days from the given date.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of days to be subtracted. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} the new date with the days subtracted\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Subtract 10 days from 1 September 2014:\n * const result = subDays(new Date(2014, 8, 1), 10)\n * //=> Fri Aug 22 2014 00:00:00\n */\n\nexport default function subDays(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var amount = toInteger(dirtyAmount);\n return addDays(dirtyDate, -amount);\n}","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name endOfDay\n * @category Day Helpers\n * @summary Return the end of a day for the given date.\n *\n * @description\n * Return the end of a day for the given date.\n * The result will be in the local timezone.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the original date\n * @returns {Date} the end of a day\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // The end of a day for 2 September 2014 11:55:00:\n * const result = endOfDay(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Tue Sep 02 2014 23:59:59.999\n */\n\nexport default function endOfDay(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n date.setHours(23, 59, 59, 999);\n return date;\n}","export const ON_AGENT_MESSAGE_RECEIVED = 'ON_AGENT_MESSAGE_RECEIVED';\nexport const ON_UNREAD_MESSAGE_CLICK = 'ON_UNREAD_MESSAGE_CLICK';\nexport const ON_CAMPAIGN_MESSAGE_CLICK = 'ON_CAMPAIGN_MESSAGE_CLICK';\nexport const ON_CONVERSATION_CREATED = 'ON_CONVERSATION_CREATED';\n","import toInteger from \"../toInteger/index.js\";\nimport toDate from \"../../toDate/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\"; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function setUTCDay(dirtyDate, dirtyDay, dirtyOptions) {\n requiredArgs(2, arguments);\n var options = dirtyOptions || {};\n var locale = options.locale;\n var localeWeekStartsOn = locale && locale.options && locale.options.weekStartsOn;\n var defaultWeekStartsOn = localeWeekStartsOn == null ? 0 : toInteger(localeWeekStartsOn);\n var weekStartsOn = options.weekStartsOn == null ? defaultWeekStartsOn : toInteger(options.weekStartsOn); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN\n\n if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {\n throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');\n }\n var date = toDate(dirtyDate);\n var day = toInteger(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}","import getUTCWeekYear from \"../../../_lib/getUTCWeekYear/index.js\";\nimport setUTCDay from \"../../../_lib/setUTCDay/index.js\";\nimport setUTCISODay from \"../../../_lib/setUTCISODay/index.js\";\nimport setUTCISOWeek from \"../../../_lib/setUTCISOWeek/index.js\";\nimport setUTCWeek from \"../../../_lib/setUTCWeek/index.js\";\nimport startOfUTCISOWeek from \"../../../_lib/startOfUTCISOWeek/index.js\";\nimport startOfUTCWeek from \"../../../_lib/startOfUTCWeek/index.js\";\nvar MILLISECONDS_IN_HOUR = 3600000;\nvar MILLISECONDS_IN_MINUTE = 60000;\nvar MILLISECONDS_IN_SECOND = 1000;\nvar numericPatterns = {\n month: /^(1[0-2]|0?\\d)/,\n // 0 to 12\n date: /^(3[0-1]|[0-2]?\\d)/,\n // 0 to 31\n dayOfYear: /^(36[0-6]|3[0-5]\\d|[0-2]?\\d?\\d)/,\n // 0 to 366\n week: /^(5[0-3]|[0-4]?\\d)/,\n // 0 to 53\n hour23h: /^(2[0-3]|[0-1]?\\d)/,\n // 0 to 23\n hour24h: /^(2[0-4]|[0-1]?\\d)/,\n // 0 to 24\n hour11h: /^(1[0-1]|0?\\d)/,\n // 0 to 11\n hour12h: /^(1[0-2]|0?\\d)/,\n // 0 to 12\n minute: /^[0-5]?\\d/,\n // 0 to 59\n second: /^[0-5]?\\d/,\n // 0 to 59\n singleDigit: /^\\d/,\n // 0 to 9\n twoDigits: /^\\d{1,2}/,\n // 0 to 99\n threeDigits: /^\\d{1,3}/,\n // 0 to 999\n fourDigits: /^\\d{1,4}/,\n // 0 to 9999\n anyDigitsSigned: /^-?\\d+/,\n singleDigitSigned: /^-?\\d/,\n // 0 to 9, -0 to -9\n twoDigitsSigned: /^-?\\d{1,2}/,\n // 0 to 99, -0 to -99\n threeDigitsSigned: /^-?\\d{1,3}/,\n // 0 to 999, -0 to -999\n fourDigitsSigned: /^-?\\d{1,4}/ // 0 to 9999, -0 to -9999\n};\nvar timezonePatterns = {\n basicOptionalMinutes: /^([+-])(\\d{2})(\\d{2})?|Z/,\n basic: /^([+-])(\\d{2})(\\d{2})|Z/,\n basicOptionalSeconds: /^([+-])(\\d{2})(\\d{2})((\\d{2}))?|Z/,\n extended: /^([+-])(\\d{2}):(\\d{2})|Z/,\n extendedOptionalSeconds: /^([+-])(\\d{2}):(\\d{2})(:(\\d{2}))?|Z/\n};\nfunction parseNumericPattern(pattern, string, valueCallback) {\n var matchResult = string.match(pattern);\n if (!matchResult) {\n return null;\n }\n var value = parseInt(matchResult[0], 10);\n return {\n value: valueCallback ? valueCallback(value) : value,\n rest: string.slice(matchResult[0].length)\n };\n}\nfunction parseTimezonePattern(pattern, string) {\n var matchResult = string.match(pattern);\n if (!matchResult) {\n return null;\n } // Input is 'Z'\n\n if (matchResult[0] === 'Z') {\n return {\n value: 0,\n rest: string.slice(1)\n };\n }\n var sign = matchResult[1] === '+' ? 1 : -1;\n var hours = matchResult[2] ? parseInt(matchResult[2], 10) : 0;\n var minutes = matchResult[3] ? parseInt(matchResult[3], 10) : 0;\n var seconds = matchResult[5] ? parseInt(matchResult[5], 10) : 0;\n return {\n value: sign * (hours * MILLISECONDS_IN_HOUR + minutes * MILLISECONDS_IN_MINUTE + seconds * MILLISECONDS_IN_SECOND),\n rest: string.slice(matchResult[0].length)\n };\n}\nfunction parseAnyDigitsSigned(string, valueCallback) {\n return parseNumericPattern(numericPatterns.anyDigitsSigned, string, valueCallback);\n}\nfunction parseNDigits(n, string, valueCallback) {\n switch (n) {\n case 1:\n return parseNumericPattern(numericPatterns.singleDigit, string, valueCallback);\n case 2:\n return parseNumericPattern(numericPatterns.twoDigits, string, valueCallback);\n case 3:\n return parseNumericPattern(numericPatterns.threeDigits, string, valueCallback);\n case 4:\n return parseNumericPattern(numericPatterns.fourDigits, string, valueCallback);\n default:\n return parseNumericPattern(new RegExp('^\\\\d{1,' + n + '}'), string, valueCallback);\n }\n}\nfunction parseNDigitsSigned(n, string, valueCallback) {\n switch (n) {\n case 1:\n return parseNumericPattern(numericPatterns.singleDigitSigned, string, valueCallback);\n case 2:\n return parseNumericPattern(numericPatterns.twoDigitsSigned, string, valueCallback);\n case 3:\n return parseNumericPattern(numericPatterns.threeDigitsSigned, string, valueCallback);\n case 4:\n return parseNumericPattern(numericPatterns.fourDigitsSigned, string, valueCallback);\n default:\n return parseNumericPattern(new RegExp('^-?\\\\d{1,' + n + '}'), string, valueCallback);\n }\n}\nfunction dayPeriodEnumToHours(enumValue) {\n switch (enumValue) {\n case 'morning':\n return 4;\n case 'evening':\n return 17;\n case 'pm':\n case 'noon':\n case 'afternoon':\n return 12;\n case 'am':\n case 'midnight':\n case 'night':\n default:\n return 0;\n }\n}\nfunction normalizeTwoDigitYear(twoDigitYear, currentYear) {\n var isCommonEra = currentYear > 0; // Absolute number of the current year:\n // 1 -> 1 AC\n // 0 -> 1 BC\n // -1 -> 2 BC\n\n var absCurrentYear = isCommonEra ? currentYear : 1 - currentYear;\n var result;\n if (absCurrentYear <= 50) {\n result = twoDigitYear || 100;\n } else {\n var rangeEnd = absCurrentYear + 50;\n var rangeEndCentury = Math.floor(rangeEnd / 100) * 100;\n var isPreviousCentury = twoDigitYear >= rangeEnd % 100;\n result = twoDigitYear + rangeEndCentury - (isPreviousCentury ? 100 : 0);\n }\n return isCommonEra ? result : 1 - result;\n}\nvar DAYS_IN_MONTH = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];\nvar DAYS_IN_MONTH_LEAP_YEAR = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; // User for validation\n\nfunction isLeapYearIndex(year) {\n return year % 400 === 0 || year % 4 === 0 && year % 100 !== 0;\n}\n/*\n * | | Unit | | Unit |\n * |-----|--------------------------------|-----|--------------------------------|\n * | a | AM, PM | A* | Milliseconds in day |\n * | b | AM, PM, noon, midnight | B | Flexible day period |\n * | c | Stand-alone local day of week | C* | Localized hour w/ day period |\n * | d | Day of month | D | Day of year |\n * | e | Local day of week | E | Day of week |\n * | f | | F* | Day of week in month |\n * | g* | Modified Julian day | G | Era |\n * | h | Hour [1-12] | H | Hour [0-23] |\n * | i! | ISO day of week | I! | ISO week of year |\n * | j* | Localized hour w/ day period | J* | Localized hour w/o day period |\n * | k | Hour [1-24] | K | Hour [0-11] |\n * | l* | (deprecated) | L | Stand-alone month |\n * | m | Minute | M | Month |\n * | n | | N | |\n * | o! | Ordinal number modifier | O* | Timezone (GMT) |\n * | p | | P | |\n * | q | Stand-alone quarter | Q | Quarter |\n * | r* | Related Gregorian year | R! | ISO week-numbering year |\n * | s | Second | S | Fraction of second |\n * | t! | Seconds timestamp | T! | Milliseconds timestamp |\n * | u | Extended year | U* | Cyclic year |\n * | v* | Timezone (generic non-locat.) | V* | Timezone (location) |\n * | w | Local week of year | W* | Week of month |\n * | x | Timezone (ISO-8601 w/o Z) | X | Timezone (ISO-8601) |\n * | y | Year (abs) | Y | Local week-numbering year |\n * | z* | Timezone (specific non-locat.) | Z* | Timezone (aliases) |\n *\n * Letters marked by * are not implemented but reserved by Unicode standard.\n *\n * Letters marked by ! are non-standard, but implemented by date-fns:\n * - `o` modifies the previous token to turn it into an ordinal (see `parse` docs)\n * - `i` is ISO day of week. For `i` and `ii` is returns numeric ISO week days,\n * i.e. 7 for Sunday, 1 for Monday, etc.\n * - `I` is ISO week of year, as opposed to `w` which is local week of year.\n * - `R` is ISO week-numbering year, as opposed to `Y` which is local week-numbering year.\n * `R` is supposed to be used in conjunction with `I` and `i`\n * for universal ISO week-numbering date, whereas\n * `Y` is supposed to be used in conjunction with `w` and `e`\n * for week-numbering date specific to the locale.\n */\n\nvar parsers = {\n // Era\n G: {\n priority: 140,\n parse: function (string, token, match, _options) {\n switch (token) {\n // AD, BC\n case 'G':\n case 'GG':\n case 'GGG':\n return match.era(string, {\n width: 'abbreviated'\n }) || match.era(string, {\n width: 'narrow'\n });\n // A, B\n\n case 'GGGGG':\n return match.era(string, {\n width: 'narrow'\n });\n // Anno Domini, Before Christ\n\n case 'GGGG':\n default:\n return match.era(string, {\n width: 'wide'\n }) || match.era(string, {\n width: 'abbreviated'\n }) || match.era(string, {\n width: 'narrow'\n });\n }\n },\n set: function (date, flags, value, _options) {\n flags.era = value;\n date.setUTCFullYear(value, 0, 1);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n },\n incompatibleTokens: ['R', 'u', 't', 'T']\n },\n // Year\n y: {\n // From http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_Patterns\n // | Year | y | yy | yyy | yyyy | yyyyy |\n // |----------|-------|----|-------|-------|-------|\n // | AD 1 | 1 | 01 | 001 | 0001 | 00001 |\n // | AD 12 | 12 | 12 | 012 | 0012 | 00012 |\n // | AD 123 | 123 | 23 | 123 | 0123 | 00123 |\n // | AD 1234 | 1234 | 34 | 1234 | 1234 | 01234 |\n // | AD 12345 | 12345 | 45 | 12345 | 12345 | 12345 |\n priority: 130,\n parse: function (string, token, match, _options) {\n var valueCallback = function (year) {\n return {\n year: year,\n isTwoDigitYear: token === 'yy'\n };\n };\n switch (token) {\n case 'y':\n return parseNDigits(4, string, valueCallback);\n case 'yo':\n return match.ordinalNumber(string, {\n unit: 'year',\n valueCallback: valueCallback\n });\n default:\n return parseNDigits(token.length, string, valueCallback);\n }\n },\n validate: function (_date, value, _options) {\n return value.isTwoDigitYear || value.year > 0;\n },\n set: function (date, flags, value, _options) {\n var currentYear = date.getUTCFullYear();\n if (value.isTwoDigitYear) {\n var normalizedTwoDigitYear = normalizeTwoDigitYear(value.year, currentYear);\n date.setUTCFullYear(normalizedTwoDigitYear, 0, 1);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n }\n var year = !('era' in flags) || flags.era === 1 ? value.year : 1 - value.year;\n date.setUTCFullYear(year, 0, 1);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n },\n incompatibleTokens: ['Y', 'R', 'u', 'w', 'I', 'i', 'e', 'c', 't', 'T']\n },\n // Local week-numbering year\n Y: {\n priority: 130,\n parse: function (string, token, match, _options) {\n var valueCallback = function (year) {\n return {\n year: year,\n isTwoDigitYear: token === 'YY'\n };\n };\n switch (token) {\n case 'Y':\n return parseNDigits(4, string, valueCallback);\n case 'Yo':\n return match.ordinalNumber(string, {\n unit: 'year',\n valueCallback: valueCallback\n });\n default:\n return parseNDigits(token.length, string, valueCallback);\n }\n },\n validate: function (_date, value, _options) {\n return value.isTwoDigitYear || value.year > 0;\n },\n set: function (date, flags, value, options) {\n var currentYear = getUTCWeekYear(date, options);\n if (value.isTwoDigitYear) {\n var normalizedTwoDigitYear = normalizeTwoDigitYear(value.year, currentYear);\n date.setUTCFullYear(normalizedTwoDigitYear, 0, options.firstWeekContainsDate);\n date.setUTCHours(0, 0, 0, 0);\n return startOfUTCWeek(date, options);\n }\n var year = !('era' in flags) || flags.era === 1 ? value.year : 1 - value.year;\n date.setUTCFullYear(year, 0, options.firstWeekContainsDate);\n date.setUTCHours(0, 0, 0, 0);\n return startOfUTCWeek(date, options);\n },\n incompatibleTokens: ['y', 'R', 'u', 'Q', 'q', 'M', 'L', 'I', 'd', 'D', 'i', 't', 'T']\n },\n // ISO week-numbering year\n R: {\n priority: 130,\n parse: function (string, token, _match, _options) {\n if (token === 'R') {\n return parseNDigitsSigned(4, string);\n }\n return parseNDigitsSigned(token.length, string);\n },\n set: function (_date, _flags, value, _options) {\n var firstWeekOfYear = new Date(0);\n firstWeekOfYear.setUTCFullYear(value, 0, 4);\n firstWeekOfYear.setUTCHours(0, 0, 0, 0);\n return startOfUTCISOWeek(firstWeekOfYear);\n },\n incompatibleTokens: ['G', 'y', 'Y', 'u', 'Q', 'q', 'M', 'L', 'w', 'd', 'D', 'e', 'c', 't', 'T']\n },\n // Extended year\n u: {\n priority: 130,\n parse: function (string, token, _match, _options) {\n if (token === 'u') {\n return parseNDigitsSigned(4, string);\n }\n return parseNDigitsSigned(token.length, string);\n },\n set: function (date, _flags, value, _options) {\n date.setUTCFullYear(value, 0, 1);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n },\n incompatibleTokens: ['G', 'y', 'Y', 'R', 'w', 'I', 'i', 'e', 'c', 't', 'T']\n },\n // Quarter\n Q: {\n priority: 120,\n parse: function (string, token, match, _options) {\n switch (token) {\n // 1, 2, 3, 4\n case 'Q':\n case 'QQ':\n // 01, 02, 03, 04\n return parseNDigits(token.length, string);\n // 1st, 2nd, 3rd, 4th\n\n case 'Qo':\n return match.ordinalNumber(string, {\n unit: 'quarter'\n });\n // Q1, Q2, Q3, Q4\n\n case 'QQQ':\n return match.quarter(string, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.quarter(string, {\n width: 'narrow',\n context: 'formatting'\n });\n // 1, 2, 3, 4 (narrow quarter; could be not numerical)\n\n case 'QQQQQ':\n return match.quarter(string, {\n width: 'narrow',\n context: 'formatting'\n });\n // 1st quarter, 2nd quarter, ...\n\n case 'QQQQ':\n default:\n return match.quarter(string, {\n width: 'wide',\n context: 'formatting'\n }) || match.quarter(string, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.quarter(string, {\n width: 'narrow',\n context: 'formatting'\n });\n }\n },\n validate: function (_date, value, _options) {\n return value >= 1 && value <= 4;\n },\n set: function (date, _flags, value, _options) {\n date.setUTCMonth((value - 1) * 3, 1);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n },\n incompatibleTokens: ['Y', 'R', 'q', 'M', 'L', 'w', 'I', 'd', 'D', 'i', 'e', 'c', 't', 'T']\n },\n // Stand-alone quarter\n q: {\n priority: 120,\n parse: function (string, token, match, _options) {\n switch (token) {\n // 1, 2, 3, 4\n case 'q':\n case 'qq':\n // 01, 02, 03, 04\n return parseNDigits(token.length, string);\n // 1st, 2nd, 3rd, 4th\n\n case 'qo':\n return match.ordinalNumber(string, {\n unit: 'quarter'\n });\n // Q1, Q2, Q3, Q4\n\n case 'qqq':\n return match.quarter(string, {\n width: 'abbreviated',\n context: 'standalone'\n }) || match.quarter(string, {\n width: 'narrow',\n context: 'standalone'\n });\n // 1, 2, 3, 4 (narrow quarter; could be not numerical)\n\n case 'qqqqq':\n return match.quarter(string, {\n width: 'narrow',\n context: 'standalone'\n });\n // 1st quarter, 2nd quarter, ...\n\n case 'qqqq':\n default:\n return match.quarter(string, {\n width: 'wide',\n context: 'standalone'\n }) || match.quarter(string, {\n width: 'abbreviated',\n context: 'standalone'\n }) || match.quarter(string, {\n width: 'narrow',\n context: 'standalone'\n });\n }\n },\n validate: function (_date, value, _options) {\n return value >= 1 && value <= 4;\n },\n set: function (date, _flags, value, _options) {\n date.setUTCMonth((value - 1) * 3, 1);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n },\n incompatibleTokens: ['Y', 'R', 'Q', 'M', 'L', 'w', 'I', 'd', 'D', 'i', 'e', 'c', 't', 'T']\n },\n // Month\n M: {\n priority: 110,\n parse: function (string, token, match, _options) {\n var valueCallback = function (value) {\n return value - 1;\n };\n switch (token) {\n // 1, 2, ..., 12\n case 'M':\n return parseNumericPattern(numericPatterns.month, string, valueCallback);\n // 01, 02, ..., 12\n\n case 'MM':\n return parseNDigits(2, string, valueCallback);\n // 1st, 2nd, ..., 12th\n\n case 'Mo':\n return match.ordinalNumber(string, {\n unit: 'month',\n valueCallback: valueCallback\n });\n // Jan, Feb, ..., Dec\n\n case 'MMM':\n return match.month(string, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.month(string, {\n width: 'narrow',\n context: 'formatting'\n });\n // J, F, ..., D\n\n case 'MMMMM':\n return match.month(string, {\n width: 'narrow',\n context: 'formatting'\n });\n // January, February, ..., December\n\n case 'MMMM':\n default:\n return match.month(string, {\n width: 'wide',\n context: 'formatting'\n }) || match.month(string, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.month(string, {\n width: 'narrow',\n context: 'formatting'\n });\n }\n },\n validate: function (_date, value, _options) {\n return value >= 0 && value <= 11;\n },\n set: function (date, _flags, value, _options) {\n date.setUTCMonth(value, 1);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n },\n incompatibleTokens: ['Y', 'R', 'q', 'Q', 'L', 'w', 'I', 'D', 'i', 'e', 'c', 't', 'T']\n },\n // Stand-alone month\n L: {\n priority: 110,\n parse: function (string, token, match, _options) {\n var valueCallback = function (value) {\n return value - 1;\n };\n switch (token) {\n // 1, 2, ..., 12\n case 'L':\n return parseNumericPattern(numericPatterns.month, string, valueCallback);\n // 01, 02, ..., 12\n\n case 'LL':\n return parseNDigits(2, string, valueCallback);\n // 1st, 2nd, ..., 12th\n\n case 'Lo':\n return match.ordinalNumber(string, {\n unit: 'month',\n valueCallback: valueCallback\n });\n // Jan, Feb, ..., Dec\n\n case 'LLL':\n return match.month(string, {\n width: 'abbreviated',\n context: 'standalone'\n }) || match.month(string, {\n width: 'narrow',\n context: 'standalone'\n });\n // J, F, ..., D\n\n case 'LLLLL':\n return match.month(string, {\n width: 'narrow',\n context: 'standalone'\n });\n // January, February, ..., December\n\n case 'LLLL':\n default:\n return match.month(string, {\n width: 'wide',\n context: 'standalone'\n }) || match.month(string, {\n width: 'abbreviated',\n context: 'standalone'\n }) || match.month(string, {\n width: 'narrow',\n context: 'standalone'\n });\n }\n },\n validate: function (_date, value, _options) {\n return value >= 0 && value <= 11;\n },\n set: function (date, _flags, value, _options) {\n date.setUTCMonth(value, 1);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n },\n incompatibleTokens: ['Y', 'R', 'q', 'Q', 'M', 'w', 'I', 'D', 'i', 'e', 'c', 't', 'T']\n },\n // Local week of year\n w: {\n priority: 100,\n parse: function (string, token, match, _options) {\n switch (token) {\n case 'w':\n return parseNumericPattern(numericPatterns.week, string);\n case 'wo':\n return match.ordinalNumber(string, {\n unit: 'week'\n });\n default:\n return parseNDigits(token.length, string);\n }\n },\n validate: function (_date, value, _options) {\n return value >= 1 && value <= 53;\n },\n set: function (date, _flags, value, options) {\n return startOfUTCWeek(setUTCWeek(date, value, options), options);\n },\n incompatibleTokens: ['y', 'R', 'u', 'q', 'Q', 'M', 'L', 'I', 'd', 'D', 'i', 't', 'T']\n },\n // ISO week of year\n I: {\n priority: 100,\n parse: function (string, token, match, _options) {\n switch (token) {\n case 'I':\n return parseNumericPattern(numericPatterns.week, string);\n case 'Io':\n return match.ordinalNumber(string, {\n unit: 'week'\n });\n default:\n return parseNDigits(token.length, string);\n }\n },\n validate: function (_date, value, _options) {\n return value >= 1 && value <= 53;\n },\n set: function (date, _flags, value, options) {\n return startOfUTCISOWeek(setUTCISOWeek(date, value, options), options);\n },\n incompatibleTokens: ['y', 'Y', 'u', 'q', 'Q', 'M', 'L', 'w', 'd', 'D', 'e', 'c', 't', 'T']\n },\n // Day of the month\n d: {\n priority: 90,\n subPriority: 1,\n parse: function (string, token, match, _options) {\n switch (token) {\n case 'd':\n return parseNumericPattern(numericPatterns.date, string);\n case 'do':\n return match.ordinalNumber(string, {\n unit: 'date'\n });\n default:\n return parseNDigits(token.length, string);\n }\n },\n validate: function (date, value, _options) {\n var year = date.getUTCFullYear();\n var isLeapYear = isLeapYearIndex(year);\n var month = date.getUTCMonth();\n if (isLeapYear) {\n return value >= 1 && value <= DAYS_IN_MONTH_LEAP_YEAR[month];\n } else {\n return value >= 1 && value <= DAYS_IN_MONTH[month];\n }\n },\n set: function (date, _flags, value, _options) {\n date.setUTCDate(value);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n },\n incompatibleTokens: ['Y', 'R', 'q', 'Q', 'w', 'I', 'D', 'i', 'e', 'c', 't', 'T']\n },\n // Day of year\n D: {\n priority: 90,\n subPriority: 1,\n parse: function (string, token, match, _options) {\n switch (token) {\n case 'D':\n case 'DD':\n return parseNumericPattern(numericPatterns.dayOfYear, string);\n case 'Do':\n return match.ordinalNumber(string, {\n unit: 'date'\n });\n default:\n return parseNDigits(token.length, string);\n }\n },\n validate: function (date, value, _options) {\n var year = date.getUTCFullYear();\n var isLeapYear = isLeapYearIndex(year);\n if (isLeapYear) {\n return value >= 1 && value <= 366;\n } else {\n return value >= 1 && value <= 365;\n }\n },\n set: function (date, _flags, value, _options) {\n date.setUTCMonth(0, value);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n },\n incompatibleTokens: ['Y', 'R', 'q', 'Q', 'M', 'L', 'w', 'I', 'd', 'E', 'i', 'e', 'c', 't', 'T']\n },\n // Day of week\n E: {\n priority: 90,\n parse: function (string, token, match, _options) {\n switch (token) {\n // Tue\n case 'E':\n case 'EE':\n case 'EEE':\n return match.day(string, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.day(string, {\n width: 'short',\n context: 'formatting'\n }) || match.day(string, {\n width: 'narrow',\n context: 'formatting'\n });\n // T\n\n case 'EEEEE':\n return match.day(string, {\n width: 'narrow',\n context: 'formatting'\n });\n // Tu\n\n case 'EEEEEE':\n return match.day(string, {\n width: 'short',\n context: 'formatting'\n }) || match.day(string, {\n width: 'narrow',\n context: 'formatting'\n });\n // Tuesday\n\n case 'EEEE':\n default:\n return match.day(string, {\n width: 'wide',\n context: 'formatting'\n }) || match.day(string, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.day(string, {\n width: 'short',\n context: 'formatting'\n }) || match.day(string, {\n width: 'narrow',\n context: 'formatting'\n });\n }\n },\n validate: function (_date, value, _options) {\n return value >= 0 && value <= 6;\n },\n set: function (date, _flags, value, options) {\n date = setUTCDay(date, value, options);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n },\n incompatibleTokens: ['D', 'i', 'e', 'c', 't', 'T']\n },\n // Local day of week\n e: {\n priority: 90,\n parse: function (string, token, match, options) {\n var valueCallback = function (value) {\n var wholeWeekDays = Math.floor((value - 1) / 7) * 7;\n return (value + options.weekStartsOn + 6) % 7 + wholeWeekDays;\n };\n switch (token) {\n // 3\n case 'e':\n case 'ee':\n // 03\n return parseNDigits(token.length, string, valueCallback);\n // 3rd\n\n case 'eo':\n return match.ordinalNumber(string, {\n unit: 'day',\n valueCallback: valueCallback\n });\n // Tue\n\n case 'eee':\n return match.day(string, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.day(string, {\n width: 'short',\n context: 'formatting'\n }) || match.day(string, {\n width: 'narrow',\n context: 'formatting'\n });\n // T\n\n case 'eeeee':\n return match.day(string, {\n width: 'narrow',\n context: 'formatting'\n });\n // Tu\n\n case 'eeeeee':\n return match.day(string, {\n width: 'short',\n context: 'formatting'\n }) || match.day(string, {\n width: 'narrow',\n context: 'formatting'\n });\n // Tuesday\n\n case 'eeee':\n default:\n return match.day(string, {\n width: 'wide',\n context: 'formatting'\n }) || match.day(string, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.day(string, {\n width: 'short',\n context: 'formatting'\n }) || match.day(string, {\n width: 'narrow',\n context: 'formatting'\n });\n }\n },\n validate: function (_date, value, _options) {\n return value >= 0 && value <= 6;\n },\n set: function (date, _flags, value, options) {\n date = setUTCDay(date, value, options);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n },\n incompatibleTokens: ['y', 'R', 'u', 'q', 'Q', 'M', 'L', 'I', 'd', 'D', 'E', 'i', 'c', 't', 'T']\n },\n // Stand-alone local day of week\n c: {\n priority: 90,\n parse: function (string, token, match, options) {\n var valueCallback = function (value) {\n var wholeWeekDays = Math.floor((value - 1) / 7) * 7;\n return (value + options.weekStartsOn + 6) % 7 + wholeWeekDays;\n };\n switch (token) {\n // 3\n case 'c':\n case 'cc':\n // 03\n return parseNDigits(token.length, string, valueCallback);\n // 3rd\n\n case 'co':\n return match.ordinalNumber(string, {\n unit: 'day',\n valueCallback: valueCallback\n });\n // Tue\n\n case 'ccc':\n return match.day(string, {\n width: 'abbreviated',\n context: 'standalone'\n }) || match.day(string, {\n width: 'short',\n context: 'standalone'\n }) || match.day(string, {\n width: 'narrow',\n context: 'standalone'\n });\n // T\n\n case 'ccccc':\n return match.day(string, {\n width: 'narrow',\n context: 'standalone'\n });\n // Tu\n\n case 'cccccc':\n return match.day(string, {\n width: 'short',\n context: 'standalone'\n }) || match.day(string, {\n width: 'narrow',\n context: 'standalone'\n });\n // Tuesday\n\n case 'cccc':\n default:\n return match.day(string, {\n width: 'wide',\n context: 'standalone'\n }) || match.day(string, {\n width: 'abbreviated',\n context: 'standalone'\n }) || match.day(string, {\n width: 'short',\n context: 'standalone'\n }) || match.day(string, {\n width: 'narrow',\n context: 'standalone'\n });\n }\n },\n validate: function (_date, value, _options) {\n return value >= 0 && value <= 6;\n },\n set: function (date, _flags, value, options) {\n date = setUTCDay(date, value, options);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n },\n incompatibleTokens: ['y', 'R', 'u', 'q', 'Q', 'M', 'L', 'I', 'd', 'D', 'E', 'i', 'e', 't', 'T']\n },\n // ISO day of week\n i: {\n priority: 90,\n parse: function (string, token, match, _options) {\n var valueCallback = function (value) {\n if (value === 0) {\n return 7;\n }\n return value;\n };\n switch (token) {\n // 2\n case 'i':\n case 'ii':\n // 02\n return parseNDigits(token.length, string);\n // 2nd\n\n case 'io':\n return match.ordinalNumber(string, {\n unit: 'day'\n });\n // Tue\n\n case 'iii':\n return match.day(string, {\n width: 'abbreviated',\n context: 'formatting',\n valueCallback: valueCallback\n }) || match.day(string, {\n width: 'short',\n context: 'formatting',\n valueCallback: valueCallback\n }) || match.day(string, {\n width: 'narrow',\n context: 'formatting',\n valueCallback: valueCallback\n });\n // T\n\n case 'iiiii':\n return match.day(string, {\n width: 'narrow',\n context: 'formatting',\n valueCallback: valueCallback\n });\n // Tu\n\n case 'iiiiii':\n return match.day(string, {\n width: 'short',\n context: 'formatting',\n valueCallback: valueCallback\n }) || match.day(string, {\n width: 'narrow',\n context: 'formatting',\n valueCallback: valueCallback\n });\n // Tuesday\n\n case 'iiii':\n default:\n return match.day(string, {\n width: 'wide',\n context: 'formatting',\n valueCallback: valueCallback\n }) || match.day(string, {\n width: 'abbreviated',\n context: 'formatting',\n valueCallback: valueCallback\n }) || match.day(string, {\n width: 'short',\n context: 'formatting',\n valueCallback: valueCallback\n }) || match.day(string, {\n width: 'narrow',\n context: 'formatting',\n valueCallback: valueCallback\n });\n }\n },\n validate: function (_date, value, _options) {\n return value >= 1 && value <= 7;\n },\n set: function (date, _flags, value, options) {\n date = setUTCISODay(date, value, options);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n },\n incompatibleTokens: ['y', 'Y', 'u', 'q', 'Q', 'M', 'L', 'w', 'd', 'D', 'E', 'e', 'c', 't', 'T']\n },\n // AM or PM\n a: {\n priority: 80,\n parse: function (string, token, match, _options) {\n switch (token) {\n case 'a':\n case 'aa':\n case 'aaa':\n return match.dayPeriod(string, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.dayPeriod(string, {\n width: 'narrow',\n context: 'formatting'\n });\n case 'aaaaa':\n return match.dayPeriod(string, {\n width: 'narrow',\n context: 'formatting'\n });\n case 'aaaa':\n default:\n return match.dayPeriod(string, {\n width: 'wide',\n context: 'formatting'\n }) || match.dayPeriod(string, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.dayPeriod(string, {\n width: 'narrow',\n context: 'formatting'\n });\n }\n },\n set: function (date, _flags, value, _options) {\n date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0);\n return date;\n },\n incompatibleTokens: ['b', 'B', 'H', 'K', 'k', 't', 'T']\n },\n // AM, PM, midnight\n b: {\n priority: 80,\n parse: function (string, token, match, _options) {\n switch (token) {\n case 'b':\n case 'bb':\n case 'bbb':\n return match.dayPeriod(string, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.dayPeriod(string, {\n width: 'narrow',\n context: 'formatting'\n });\n case 'bbbbb':\n return match.dayPeriod(string, {\n width: 'narrow',\n context: 'formatting'\n });\n case 'bbbb':\n default:\n return match.dayPeriod(string, {\n width: 'wide',\n context: 'formatting'\n }) || match.dayPeriod(string, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.dayPeriod(string, {\n width: 'narrow',\n context: 'formatting'\n });\n }\n },\n set: function (date, _flags, value, _options) {\n date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0);\n return date;\n },\n incompatibleTokens: ['a', 'B', 'H', 'K', 'k', 't', 'T']\n },\n // in the morning, in the afternoon, in the evening, at night\n B: {\n priority: 80,\n parse: function (string, token, match, _options) {\n switch (token) {\n case 'B':\n case 'BB':\n case 'BBB':\n return match.dayPeriod(string, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.dayPeriod(string, {\n width: 'narrow',\n context: 'formatting'\n });\n case 'BBBBB':\n return match.dayPeriod(string, {\n width: 'narrow',\n context: 'formatting'\n });\n case 'BBBB':\n default:\n return match.dayPeriod(string, {\n width: 'wide',\n context: 'formatting'\n }) || match.dayPeriod(string, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.dayPeriod(string, {\n width: 'narrow',\n context: 'formatting'\n });\n }\n },\n set: function (date, _flags, value, _options) {\n date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0);\n return date;\n },\n incompatibleTokens: ['a', 'b', 't', 'T']\n },\n // Hour [1-12]\n h: {\n priority: 70,\n parse: function (string, token, match, _options) {\n switch (token) {\n case 'h':\n return parseNumericPattern(numericPatterns.hour12h, string);\n case 'ho':\n return match.ordinalNumber(string, {\n unit: 'hour'\n });\n default:\n return parseNDigits(token.length, string);\n }\n },\n validate: function (_date, value, _options) {\n return value >= 1 && value <= 12;\n },\n set: function (date, _flags, value, _options) {\n var isPM = date.getUTCHours() >= 12;\n if (isPM && value < 12) {\n date.setUTCHours(value + 12, 0, 0, 0);\n } else if (!isPM && value === 12) {\n date.setUTCHours(0, 0, 0, 0);\n } else {\n date.setUTCHours(value, 0, 0, 0);\n }\n return date;\n },\n incompatibleTokens: ['H', 'K', 'k', 't', 'T']\n },\n // Hour [0-23]\n H: {\n priority: 70,\n parse: function (string, token, match, _options) {\n switch (token) {\n case 'H':\n return parseNumericPattern(numericPatterns.hour23h, string);\n case 'Ho':\n return match.ordinalNumber(string, {\n unit: 'hour'\n });\n default:\n return parseNDigits(token.length, string);\n }\n },\n validate: function (_date, value, _options) {\n return value >= 0 && value <= 23;\n },\n set: function (date, _flags, value, _options) {\n date.setUTCHours(value, 0, 0, 0);\n return date;\n },\n incompatibleTokens: ['a', 'b', 'h', 'K', 'k', 't', 'T']\n },\n // Hour [0-11]\n K: {\n priority: 70,\n parse: function (string, token, match, _options) {\n switch (token) {\n case 'K':\n return parseNumericPattern(numericPatterns.hour11h, string);\n case 'Ko':\n return match.ordinalNumber(string, {\n unit: 'hour'\n });\n default:\n return parseNDigits(token.length, string);\n }\n },\n validate: function (_date, value, _options) {\n return value >= 0 && value <= 11;\n },\n set: function (date, _flags, value, _options) {\n var isPM = date.getUTCHours() >= 12;\n if (isPM && value < 12) {\n date.setUTCHours(value + 12, 0, 0, 0);\n } else {\n date.setUTCHours(value, 0, 0, 0);\n }\n return date;\n },\n incompatibleTokens: ['a', 'b', 'h', 'H', 'k', 't', 'T']\n },\n // Hour [1-24]\n k: {\n priority: 70,\n parse: function (string, token, match, _options) {\n switch (token) {\n case 'k':\n return parseNumericPattern(numericPatterns.hour24h, string);\n case 'ko':\n return match.ordinalNumber(string, {\n unit: 'hour'\n });\n default:\n return parseNDigits(token.length, string);\n }\n },\n validate: function (_date, value, _options) {\n return value >= 1 && value <= 24;\n },\n set: function (date, _flags, value, _options) {\n var hours = value <= 24 ? value % 24 : value;\n date.setUTCHours(hours, 0, 0, 0);\n return date;\n },\n incompatibleTokens: ['a', 'b', 'h', 'H', 'K', 't', 'T']\n },\n // Minute\n m: {\n priority: 60,\n parse: function (string, token, match, _options) {\n switch (token) {\n case 'm':\n return parseNumericPattern(numericPatterns.minute, string);\n case 'mo':\n return match.ordinalNumber(string, {\n unit: 'minute'\n });\n default:\n return parseNDigits(token.length, string);\n }\n },\n validate: function (_date, value, _options) {\n return value >= 0 && value <= 59;\n },\n set: function (date, _flags, value, _options) {\n date.setUTCMinutes(value, 0, 0);\n return date;\n },\n incompatibleTokens: ['t', 'T']\n },\n // Second\n s: {\n priority: 50,\n parse: function (string, token, match, _options) {\n switch (token) {\n case 's':\n return parseNumericPattern(numericPatterns.second, string);\n case 'so':\n return match.ordinalNumber(string, {\n unit: 'second'\n });\n default:\n return parseNDigits(token.length, string);\n }\n },\n validate: function (_date, value, _options) {\n return value >= 0 && value <= 59;\n },\n set: function (date, _flags, value, _options) {\n date.setUTCSeconds(value, 0);\n return date;\n },\n incompatibleTokens: ['t', 'T']\n },\n // Fraction of second\n S: {\n priority: 30,\n parse: function (string, token, _match, _options) {\n var valueCallback = function (value) {\n return Math.floor(value * Math.pow(10, -token.length + 3));\n };\n return parseNDigits(token.length, string, valueCallback);\n },\n set: function (date, _flags, value, _options) {\n date.setUTCMilliseconds(value);\n return date;\n },\n incompatibleTokens: ['t', 'T']\n },\n // Timezone (ISO-8601. +00:00 is `'Z'`)\n X: {\n priority: 10,\n parse: function (string, token, _match, _options) {\n switch (token) {\n case 'X':\n return parseTimezonePattern(timezonePatterns.basicOptionalMinutes, string);\n case 'XX':\n return parseTimezonePattern(timezonePatterns.basic, string);\n case 'XXXX':\n return parseTimezonePattern(timezonePatterns.basicOptionalSeconds, string);\n case 'XXXXX':\n return parseTimezonePattern(timezonePatterns.extendedOptionalSeconds, string);\n case 'XXX':\n default:\n return parseTimezonePattern(timezonePatterns.extended, string);\n }\n },\n set: function (date, flags, value, _options) {\n if (flags.timestampIsSet) {\n return date;\n }\n return new Date(date.getTime() - value);\n },\n incompatibleTokens: ['t', 'T', 'x']\n },\n // Timezone (ISO-8601)\n x: {\n priority: 10,\n parse: function (string, token, _match, _options) {\n switch (token) {\n case 'x':\n return parseTimezonePattern(timezonePatterns.basicOptionalMinutes, string);\n case 'xx':\n return parseTimezonePattern(timezonePatterns.basic, string);\n case 'xxxx':\n return parseTimezonePattern(timezonePatterns.basicOptionalSeconds, string);\n case 'xxxxx':\n return parseTimezonePattern(timezonePatterns.extendedOptionalSeconds, string);\n case 'xxx':\n default:\n return parseTimezonePattern(timezonePatterns.extended, string);\n }\n },\n set: function (date, flags, value, _options) {\n if (flags.timestampIsSet) {\n return date;\n }\n return new Date(date.getTime() - value);\n },\n incompatibleTokens: ['t', 'T', 'X']\n },\n // Seconds timestamp\n t: {\n priority: 40,\n parse: function (string, _token, _match, _options) {\n return parseAnyDigitsSigned(string);\n },\n set: function (_date, _flags, value, _options) {\n return [new Date(value * 1000), {\n timestampIsSet: true\n }];\n },\n incompatibleTokens: '*'\n },\n // Milliseconds timestamp\n T: {\n priority: 20,\n parse: function (string, _token, _match, _options) {\n return parseAnyDigitsSigned(string);\n },\n set: function (_date, _flags, value, _options) {\n return [new Date(value), {\n timestampIsSet: true\n }];\n },\n incompatibleTokens: '*'\n }\n};\nexport default parsers;","import toInteger from \"../toInteger/index.js\";\nimport toDate from \"../../toDate/index.js\";\nimport getUTCWeek from \"../getUTCWeek/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\"; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function setUTCWeek(dirtyDate, dirtyWeek, options) {\n requiredArgs(2, arguments);\n var date = toDate(dirtyDate);\n var week = toInteger(dirtyWeek);\n var diff = getUTCWeek(date, options) - week;\n date.setUTCDate(date.getUTCDate() - diff * 7);\n return date;\n}","import toInteger from \"../toInteger/index.js\";\nimport toDate from \"../../toDate/index.js\";\nimport getUTCISOWeek from \"../getUTCISOWeek/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\"; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function setUTCISOWeek(dirtyDate, dirtyISOWeek) {\n requiredArgs(2, arguments);\n var date = toDate(dirtyDate);\n var isoWeek = toInteger(dirtyISOWeek);\n var diff = getUTCISOWeek(date) - isoWeek;\n date.setUTCDate(date.getUTCDate() - diff * 7);\n return date;\n}","import toInteger from \"../toInteger/index.js\";\nimport toDate from \"../../toDate/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\"; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function setUTCISODay(dirtyDate, dirtyDay) {\n requiredArgs(2, arguments);\n var day = toInteger(dirtyDay);\n if (day % 7 === 0) {\n day = day - 7;\n }\n var weekStartsOn = 1;\n var date = toDate(dirtyDate);\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}","import defaultLocale from \"../locale/en-US/index.js\";\nimport subMilliseconds from \"../subMilliseconds/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport assign from \"../_lib/assign/index.js\";\nimport longFormatters from \"../_lib/format/longFormatters/index.js\";\nimport getTimezoneOffsetInMilliseconds from \"../_lib/getTimezoneOffsetInMilliseconds/index.js\";\nimport { isProtectedDayOfYearToken, isProtectedWeekYearToken, throwProtectedError } from \"../_lib/protectedTokens/index.js\";\nimport toInteger from \"../_lib/toInteger/index.js\";\nimport parsers from \"./_lib/parsers/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\nvar TIMEZONE_UNIT_PRIORITY = 10; // This RegExp consists of three parts separated by `|`:\n// - [yYQqMLwIdDecihHKkms]o matches any available ordinal number token\n// (one of the certain letters followed by `o`)\n// - (\\w)\\1* matches any sequences of the same letter\n// - '' matches two quote characters in a row\n// - '(''|[^'])+('|$) matches anything surrounded by two quote characters ('),\n// except a single quote symbol, which ends the sequence.\n// Two quote characters do not end the sequence.\n// If there is no matching single quote\n// then the sequence will continue until the end of the string.\n// - . matches any single character unmatched by previous parts of the RegExps\n\nvar formattingTokensRegExp = /[yYQqMLwIdDecihHKkms]o|(\\w)\\1*|''|'(''|[^'])+('|$)|./g; // This RegExp catches symbols escaped by quotes, and also\n// sequences of symbols P, p, and the combinations like `PPPPPPPppppp`\n\nvar longFormattingTokensRegExp = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;\nvar escapedStringRegExp = /^'([^]*?)'?$/;\nvar doubleQuoteRegExp = /''/g;\nvar notWhitespaceRegExp = /\\S/;\nvar unescapedLatinCharacterRegExp = /[a-zA-Z]/;\n/**\n * @name parse\n * @category Common Helpers\n * @summary Parse the date.\n *\n * @description\n * Return the date parsed from string using the given format string.\n *\n * > ⚠️ Please note that the `format` tokens differ from Moment.js and other libraries.\n * > See: https://git.io/fxCyr\n *\n * The characters in the format string wrapped between two single quotes characters (') are escaped.\n * Two single quotes in a row, whether inside or outside a quoted sequence, represent a 'real' single quote.\n *\n * Format of the format string is based on Unicode Technical Standard #35:\n * https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table\n * with a few additions (see note 5 below the table).\n *\n * Not all tokens are compatible. Combinations that don't make sense or could lead to bugs are prohibited\n * and will throw `RangeError`. For example usage of 24-hour format token with AM/PM token will throw an exception:\n *\n * ```javascript\n * parse('23 AM', 'HH a', new Date())\n * //=> RangeError: The format string mustn't contain `HH` and `a` at the same time\n * ```\n *\n * See the compatibility table: https://docs.google.com/spreadsheets/d/e/2PACX-1vQOPU3xUhplll6dyoMmVUXHKl_8CRDs6_ueLmex3SoqwhuolkuN3O05l4rqx5h1dKX8eb46Ul-CCSrq/pubhtml?gid=0&single=true\n *\n * Accepted format string patterns:\n * | Unit |Prior| Pattern | Result examples | Notes |\n * |---------------------------------|-----|---------|-----------------------------------|-------|\n * | Era | 140 | G..GGG | AD, BC | |\n * | | | GGGG | Anno Domini, Before Christ | 2 |\n * | | | GGGGG | A, B | |\n * | Calendar year | 130 | y | 44, 1, 1900, 2017, 9999 | 4 |\n * | | | yo | 44th, 1st, 1900th, 9999999th | 4,5 |\n * | | | yy | 44, 01, 00, 17 | 4 |\n * | | | yyy | 044, 001, 123, 999 | 4 |\n * | | | yyyy | 0044, 0001, 1900, 2017 | 4 |\n * | | | yyyyy | ... | 2,4 |\n * | Local week-numbering year | 130 | Y | 44, 1, 1900, 2017, 9000 | 4 |\n * | | | Yo | 44th, 1st, 1900th, 9999999th | 4,5 |\n * | | | YY | 44, 01, 00, 17 | 4,6 |\n * | | | YYY | 044, 001, 123, 999 | 4 |\n * | | | YYYY | 0044, 0001, 1900, 2017 | 4,6 |\n * | | | YYYYY | ... | 2,4 |\n * | ISO week-numbering year | 130 | R | -43, 1, 1900, 2017, 9999, -9999 | 4,5 |\n * | | | RR | -43, 01, 00, 17 | 4,5 |\n * | | | RRR | -043, 001, 123, 999, -999 | 4,5 |\n * | | | RRRR | -0043, 0001, 2017, 9999, -9999 | 4,5 |\n * | | | RRRRR | ... | 2,4,5 |\n * | Extended year | 130 | u | -43, 1, 1900, 2017, 9999, -999 | 4 |\n * | | | uu | -43, 01, 99, -99 | 4 |\n * | | | uuu | -043, 001, 123, 999, -999 | 4 |\n * | | | uuuu | -0043, 0001, 2017, 9999, -9999 | 4 |\n * | | | uuuuu | ... | 2,4 |\n * | Quarter (formatting) | 120 | Q | 1, 2, 3, 4 | |\n * | | | Qo | 1st, 2nd, 3rd, 4th | 5 |\n * | | | QQ | 01, 02, 03, 04 | |\n * | | | QQQ | Q1, Q2, Q3, Q4 | |\n * | | | QQQQ | 1st quarter, 2nd quarter, ... | 2 |\n * | | | QQQQQ | 1, 2, 3, 4 | 4 |\n * | Quarter (stand-alone) | 120 | q | 1, 2, 3, 4 | |\n * | | | qo | 1st, 2nd, 3rd, 4th | 5 |\n * | | | qq | 01, 02, 03, 04 | |\n * | | | qqq | Q1, Q2, Q3, Q4 | |\n * | | | qqqq | 1st quarter, 2nd quarter, ... | 2 |\n * | | | qqqqq | 1, 2, 3, 4 | 3 |\n * | Month (formatting) | 110 | M | 1, 2, ..., 12 | |\n * | | | Mo | 1st, 2nd, ..., 12th | 5 |\n * | | | MM | 01, 02, ..., 12 | |\n * | | | MMM | Jan, Feb, ..., Dec | |\n * | | | MMMM | January, February, ..., December | 2 |\n * | | | MMMMM | J, F, ..., D | |\n * | Month (stand-alone) | 110 | L | 1, 2, ..., 12 | |\n * | | | Lo | 1st, 2nd, ..., 12th | 5 |\n * | | | LL | 01, 02, ..., 12 | |\n * | | | LLL | Jan, Feb, ..., Dec | |\n * | | | LLLL | January, February, ..., December | 2 |\n * | | | LLLLL | J, F, ..., D | |\n * | Local week of year | 100 | w | 1, 2, ..., 53 | |\n * | | | wo | 1st, 2nd, ..., 53th | 5 |\n * | | | ww | 01, 02, ..., 53 | |\n * | ISO week of year | 100 | I | 1, 2, ..., 53 | 5 |\n * | | | Io | 1st, 2nd, ..., 53th | 5 |\n * | | | II | 01, 02, ..., 53 | 5 |\n * | Day of month | 90 | d | 1, 2, ..., 31 | |\n * | | | do | 1st, 2nd, ..., 31st | 5 |\n * | | | dd | 01, 02, ..., 31 | |\n * | Day of year | 90 | D | 1, 2, ..., 365, 366 | 7 |\n * | | | Do | 1st, 2nd, ..., 365th, 366th | 5 |\n * | | | DD | 01, 02, ..., 365, 366 | 7 |\n * | | | DDD | 001, 002, ..., 365, 366 | |\n * | | | DDDD | ... | 2 |\n * | Day of week (formatting) | 90 | E..EEE | Mon, Tue, Wed, ..., Sun | |\n * | | | EEEE | Monday, Tuesday, ..., Sunday | 2 |\n * | | | EEEEE | M, T, W, T, F, S, S | |\n * | | | EEEEEE | Mo, Tu, We, Th, Fr, Su, Sa | |\n * | ISO day of week (formatting) | 90 | i | 1, 2, 3, ..., 7 | 5 |\n * | | | io | 1st, 2nd, ..., 7th | 5 |\n * | | | ii | 01, 02, ..., 07 | 5 |\n * | | | iii | Mon, Tue, Wed, ..., Sun | 5 |\n * | | | iiii | Monday, Tuesday, ..., Sunday | 2,5 |\n * | | | iiiii | M, T, W, T, F, S, S | 5 |\n * | | | iiiiii | Mo, Tu, We, Th, Fr, Su, Sa | 5 |\n * | Local day of week (formatting) | 90 | e | 2, 3, 4, ..., 1 | |\n * | | | eo | 2nd, 3rd, ..., 1st | 5 |\n * | | | ee | 02, 03, ..., 01 | |\n * | | | eee | Mon, Tue, Wed, ..., Sun | |\n * | | | eeee | Monday, Tuesday, ..., Sunday | 2 |\n * | | | eeeee | M, T, W, T, F, S, S | |\n * | | | eeeeee | Mo, Tu, We, Th, Fr, Su, Sa | |\n * | Local day of week (stand-alone) | 90 | c | 2, 3, 4, ..., 1 | |\n * | | | co | 2nd, 3rd, ..., 1st | 5 |\n * | | | cc | 02, 03, ..., 01 | |\n * | | | ccc | Mon, Tue, Wed, ..., Sun | |\n * | | | cccc | Monday, Tuesday, ..., Sunday | 2 |\n * | | | ccccc | M, T, W, T, F, S, S | |\n * | | | cccccc | Mo, Tu, We, Th, Fr, Su, Sa | |\n * | AM, PM | 80 | a..aaa | AM, PM | |\n * | | | aaaa | a.m., p.m. | 2 |\n * | | | aaaaa | a, p | |\n * | AM, PM, noon, midnight | 80 | b..bbb | AM, PM, noon, midnight | |\n * | | | bbbb | a.m., p.m., noon, midnight | 2 |\n * | | | bbbbb | a, p, n, mi | |\n * | Flexible day period | 80 | B..BBB | at night, in the morning, ... | |\n * | | | BBBB | at night, in the morning, ... | 2 |\n * | | | BBBBB | at night, in the morning, ... | |\n * | Hour [1-12] | 70 | h | 1, 2, ..., 11, 12 | |\n * | | | ho | 1st, 2nd, ..., 11th, 12th | 5 |\n * | | | hh | 01, 02, ..., 11, 12 | |\n * | Hour [0-23] | 70 | H | 0, 1, 2, ..., 23 | |\n * | | | Ho | 0th, 1st, 2nd, ..., 23rd | 5 |\n * | | | HH | 00, 01, 02, ..., 23 | |\n * | Hour [0-11] | 70 | K | 1, 2, ..., 11, 0 | |\n * | | | Ko | 1st, 2nd, ..., 11th, 0th | 5 |\n * | | | KK | 01, 02, ..., 11, 00 | |\n * | Hour [1-24] | 70 | k | 24, 1, 2, ..., 23 | |\n * | | | ko | 24th, 1st, 2nd, ..., 23rd | 5 |\n * | | | kk | 24, 01, 02, ..., 23 | |\n * | Minute | 60 | m | 0, 1, ..., 59 | |\n * | | | mo | 0th, 1st, ..., 59th | 5 |\n * | | | mm | 00, 01, ..., 59 | |\n * | Second | 50 | s | 0, 1, ..., 59 | |\n * | | | so | 0th, 1st, ..., 59th | 5 |\n * | | | ss | 00, 01, ..., 59 | |\n * | Seconds timestamp | 40 | t | 512969520 | |\n * | | | tt | ... | 2 |\n * | Fraction of second | 30 | S | 0, 1, ..., 9 | |\n * | | | SS | 00, 01, ..., 99 | |\n * | | | SSS | 000, 0001, ..., 999 | |\n * | | | SSSS | ... | 2 |\n * | Milliseconds timestamp | 20 | T | 512969520900 | |\n * | | | TT | ... | 2 |\n * | Timezone (ISO-8601 w/ Z) | 10 | X | -08, +0530, Z | |\n * | | | XX | -0800, +0530, Z | |\n * | | | XXX | -08:00, +05:30, Z | |\n * | | | XXXX | -0800, +0530, Z, +123456 | 2 |\n * | | | XXXXX | -08:00, +05:30, Z, +12:34:56 | |\n * | Timezone (ISO-8601 w/o Z) | 10 | x | -08, +0530, +00 | |\n * | | | xx | -0800, +0530, +0000 | |\n * | | | xxx | -08:00, +05:30, +00:00 | 2 |\n * | | | xxxx | -0800, +0530, +0000, +123456 | |\n * | | | xxxxx | -08:00, +05:30, +00:00, +12:34:56 | |\n * | Long localized date | NA | P | 05/29/1453 | 5,8 |\n * | | | PP | May 29, 1453 | |\n * | | | PPP | May 29th, 1453 | |\n * | | | PPPP | Sunday, May 29th, 1453 | 2,5,8 |\n * | Long localized time | NA | p | 12:00 AM | 5,8 |\n * | | | pp | 12:00:00 AM | |\n * | Combination of date and time | NA | Pp | 05/29/1453, 12:00 AM | |\n * | | | PPpp | May 29, 1453, 12:00:00 AM | |\n * | | | PPPpp | May 29th, 1453 at ... | |\n * | | | PPPPpp | Sunday, May 29th, 1453 at ... | 2,5,8 |\n * Notes:\n * 1. \"Formatting\" units (e.g. formatting quarter) in the default en-US locale\n * are the same as \"stand-alone\" units, but are different in some languages.\n * \"Formatting\" units are declined according to the rules of the language\n * in the context of a date. \"Stand-alone\" units are always nominative singular.\n * In `format` function, they will produce different result:\n *\n * `format(new Date(2017, 10, 6), 'do LLLL', {locale: cs}) //=> '6. listopad'`\n *\n * `format(new Date(2017, 10, 6), 'do MMMM', {locale: cs}) //=> '6. listopadu'`\n *\n * `parse` will try to match both formatting and stand-alone units interchangably.\n *\n * 2. Any sequence of the identical letters is a pattern, unless it is escaped by\n * the single quote characters (see below).\n * If the sequence is longer than listed in table:\n * - for numerical units (`yyyyyyyy`) `parse` will try to match a number\n * as wide as the sequence\n * - for text units (`MMMMMMMM`) `parse` will try to match the widest variation of the unit.\n * These variations are marked with \"2\" in the last column of the table.\n *\n * 3. `QQQQQ` and `qqqqq` could be not strictly numerical in some locales.\n * These tokens represent the shortest form of the quarter.\n *\n * 4. The main difference between `y` and `u` patterns are B.C. years:\n *\n * | Year | `y` | `u` |\n * |------|-----|-----|\n * | AC 1 | 1 | 1 |\n * | BC 1 | 1 | 0 |\n * | BC 2 | 2 | -1 |\n *\n * Also `yy` will try to guess the century of two digit year by proximity with `referenceDate`:\n *\n * `parse('50', 'yy', new Date(2018, 0, 1)) //=> Sat Jan 01 2050 00:00:00`\n *\n * `parse('75', 'yy', new Date(2018, 0, 1)) //=> Wed Jan 01 1975 00:00:00`\n *\n * while `uu` will just assign the year as is:\n *\n * `parse('50', 'uu', new Date(2018, 0, 1)) //=> Sat Jan 01 0050 00:00:00`\n *\n * `parse('75', 'uu', new Date(2018, 0, 1)) //=> Tue Jan 01 0075 00:00:00`\n *\n * The same difference is true for local and ISO week-numbering years (`Y` and `R`),\n * except local week-numbering years are dependent on `options.weekStartsOn`\n * and `options.firstWeekContainsDate` (compare [setISOWeekYear]{@link https://date-fns.org/docs/setISOWeekYear}\n * and [setWeekYear]{@link https://date-fns.org/docs/setWeekYear}).\n *\n * 5. These patterns are not in the Unicode Technical Standard #35:\n * - `i`: ISO day of week\n * - `I`: ISO week of year\n * - `R`: ISO week-numbering year\n * - `o`: ordinal number modifier\n * - `P`: long localized date\n * - `p`: long localized time\n *\n * 6. `YY` and `YYYY` tokens represent week-numbering years but they are often confused with years.\n * You should enable `options.useAdditionalWeekYearTokens` to use them. See: https://git.io/fxCyr\n *\n * 7. `D` and `DD` tokens represent days of the year but they are ofthen confused with days of the month.\n * You should enable `options.useAdditionalDayOfYearTokens` to use them. See: https://git.io/fxCyr\n *\n * 8. `P+` tokens do not have a defined priority since they are merely aliases to other tokens based\n * on the given locale.\n *\n * using `en-US` locale: `P` => `MM/dd/yyyy`\n * using `en-US` locale: `p` => `hh:mm a`\n * using `pt-BR` locale: `P` => `dd/MM/yyyy`\n * using `pt-BR` locale: `p` => `HH:mm`\n *\n * Values will be assigned to the date in the descending order of its unit's priority.\n * Units of an equal priority overwrite each other in the order of appearance.\n *\n * If no values of higher priority are parsed (e.g. when parsing string 'January 1st' without a year),\n * the values will be taken from 3rd argument `referenceDate` which works as a context of parsing.\n *\n * `referenceDate` must be passed for correct work of the function.\n * If you're not sure which `referenceDate` to supply, create a new instance of Date:\n * `parse('02/11/2014', 'MM/dd/yyyy', new Date())`\n * In this case parsing will be done in the context of the current date.\n * If `referenceDate` is `Invalid Date` or a value not convertible to valid `Date`,\n * then `Invalid Date` will be returned.\n *\n * The result may vary by locale.\n *\n * If `formatString` matches with `dateString` but does not provides tokens, `referenceDate` will be returned.\n *\n * If parsing failed, `Invalid Date` will be returned.\n * Invalid Date is a Date, whose time value is NaN.\n * Time value of Date: http://es5.github.io/#x15.9.1.1\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * - Old `parse` was renamed to `toDate`.\n * Now `parse` is a new function which parses a string using a provided format.\n *\n * ```javascript\n * // Before v2.0.0\n * parse('2016-01-01')\n *\n * // v2.0.0 onward (toDate no longer accepts a string)\n * toDate(1392098430000) // Unix to timestamp\n * toDate(new Date(2014, 1, 11, 11, 30, 30)) // Cloning the date\n * parse('2016-01-01', 'yyyy-MM-dd', new Date())\n * ```\n *\n * @param {String} dateString - the string to parse\n * @param {String} formatString - the string of tokens\n * @param {Date|Number} referenceDate - defines values missing from the parsed dateString\n * @param {Object} [options] - an object with options.\n * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale}\n * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday)\n * @param {1|2|3|4|5|6|7} [options.firstWeekContainsDate=1] - the day of January, which is always in the first week of the year\n * @param {Boolean} [options.useAdditionalWeekYearTokens=false] - if true, allows usage of the week-numbering year tokens `YY` and `YYYY`;\n * see: https://git.io/fxCyr\n * @param {Boolean} [options.useAdditionalDayOfYearTokens=false] - if true, allows usage of the day of year tokens `D` and `DD`;\n * see: https://git.io/fxCyr\n * @returns {Date} the parsed date\n * @throws {TypeError} 3 arguments required\n * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6\n * @throws {RangeError} `options.firstWeekContainsDate` must be between 1 and 7\n * @throws {RangeError} `options.locale` must contain `match` property\n * @throws {RangeError} use `yyyy` instead of `YYYY` for formatting years using [format provided] to the input [input provided]; see: https://git.io/fxCyr\n * @throws {RangeError} use `yy` instead of `YY` for formatting years using [format provided] to the input [input provided]; see: https://git.io/fxCyr\n * @throws {RangeError} use `d` instead of `D` for formatting days of the month using [format provided] to the input [input provided]; see: https://git.io/fxCyr\n * @throws {RangeError} use `dd` instead of `DD` for formatting days of the month using [format provided] to the input [input provided]; see: https://git.io/fxCyr\n * @throws {RangeError} format string contains an unescaped latin alphabet character\n *\n * @example\n * // Parse 11 February 2014 from middle-endian format:\n * var result = parse('02/11/2014', 'MM/dd/yyyy', new Date())\n * //=> Tue Feb 11 2014 00:00:00\n *\n * @example\n * // Parse 28th of February in Esperanto locale in the context of 2010 year:\n * import eo from 'date-fns/locale/eo'\n * var result = parse('28-a de februaro', \"do 'de' MMMM\", new Date(2010, 0, 1), {\n * locale: eo\n * })\n * //=> Sun Feb 28 2010 00:00:00\n */\n\nexport default function parse(dirtyDateString, dirtyFormatString, dirtyReferenceDate, dirtyOptions) {\n requiredArgs(3, arguments);\n var dateString = String(dirtyDateString);\n var formatString = String(dirtyFormatString);\n var options = dirtyOptions || {};\n var locale = options.locale || defaultLocale;\n if (!locale.match) {\n throw new RangeError('locale must contain match property');\n }\n var localeFirstWeekContainsDate = locale.options && locale.options.firstWeekContainsDate;\n var defaultFirstWeekContainsDate = localeFirstWeekContainsDate == null ? 1 : toInteger(localeFirstWeekContainsDate);\n var firstWeekContainsDate = options.firstWeekContainsDate == null ? defaultFirstWeekContainsDate : toInteger(options.firstWeekContainsDate); // Test if weekStartsOn is between 1 and 7 _and_ is not NaN\n\n if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) {\n throw new RangeError('firstWeekContainsDate must be between 1 and 7 inclusively');\n }\n var localeWeekStartsOn = locale.options && locale.options.weekStartsOn;\n var defaultWeekStartsOn = localeWeekStartsOn == null ? 0 : toInteger(localeWeekStartsOn);\n var weekStartsOn = options.weekStartsOn == null ? defaultWeekStartsOn : toInteger(options.weekStartsOn); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN\n\n if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {\n throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');\n }\n if (formatString === '') {\n if (dateString === '') {\n return toDate(dirtyReferenceDate);\n } else {\n return new Date(NaN);\n }\n }\n var subFnOptions = {\n firstWeekContainsDate: firstWeekContainsDate,\n weekStartsOn: weekStartsOn,\n locale: locale // If timezone isn't specified, it will be set to the system timezone\n };\n var setters = [{\n priority: TIMEZONE_UNIT_PRIORITY,\n subPriority: -1,\n set: dateToSystemTimezone,\n index: 0\n }];\n var i;\n var tokens = formatString.match(longFormattingTokensRegExp).map(function (substring) {\n var firstCharacter = substring[0];\n if (firstCharacter === 'p' || firstCharacter === 'P') {\n var longFormatter = longFormatters[firstCharacter];\n return longFormatter(substring, locale.formatLong, subFnOptions);\n }\n return substring;\n }).join('').match(formattingTokensRegExp);\n var usedTokens = [];\n for (i = 0; i < tokens.length; i++) {\n var token = tokens[i];\n if (!options.useAdditionalWeekYearTokens && isProtectedWeekYearToken(token)) {\n throwProtectedError(token, formatString, dirtyDateString);\n }\n if (!options.useAdditionalDayOfYearTokens && isProtectedDayOfYearToken(token)) {\n throwProtectedError(token, formatString, dirtyDateString);\n }\n var firstCharacter = token[0];\n var parser = parsers[firstCharacter];\n if (parser) {\n var incompatibleTokens = parser.incompatibleTokens;\n if (Array.isArray(incompatibleTokens)) {\n var incompatibleToken = void 0;\n for (var _i = 0; _i < usedTokens.length; _i++) {\n var usedToken = usedTokens[_i].token;\n if (incompatibleTokens.indexOf(usedToken) !== -1 || usedToken === firstCharacter) {\n incompatibleToken = usedTokens[_i];\n break;\n }\n }\n if (incompatibleToken) {\n throw new RangeError(\"The format string mustn't contain `\".concat(incompatibleToken.fullToken, \"` and `\").concat(token, \"` at the same time\"));\n }\n } else if (parser.incompatibleTokens === '*' && usedTokens.length) {\n throw new RangeError(\"The format string mustn't contain `\".concat(token, \"` and any other token at the same time\"));\n }\n usedTokens.push({\n token: firstCharacter,\n fullToken: token\n });\n var parseResult = parser.parse(dateString, token, locale.match, subFnOptions);\n if (!parseResult) {\n return new Date(NaN);\n }\n setters.push({\n priority: parser.priority,\n subPriority: parser.subPriority || 0,\n set: parser.set,\n validate: parser.validate,\n value: parseResult.value,\n index: setters.length\n });\n dateString = parseResult.rest;\n } else {\n if (firstCharacter.match(unescapedLatinCharacterRegExp)) {\n throw new RangeError('Format string contains an unescaped latin alphabet character `' + firstCharacter + '`');\n } // Replace two single quote characters with one single quote character\n\n if (token === \"''\") {\n token = \"'\";\n } else if (firstCharacter === \"'\") {\n token = cleanEscapedString(token);\n } // Cut token from string, or, if string doesn't match the token, return Invalid Date\n\n if (dateString.indexOf(token) === 0) {\n dateString = dateString.slice(token.length);\n } else {\n return new Date(NaN);\n }\n }\n } // Check if the remaining input contains something other than whitespace\n\n if (dateString.length > 0 && notWhitespaceRegExp.test(dateString)) {\n return new Date(NaN);\n }\n var uniquePrioritySetters = setters.map(function (setter) {\n return setter.priority;\n }).sort(function (a, b) {\n return b - a;\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 }).sort(function (a, b) {\n return b.subPriority - a.subPriority;\n });\n }).map(function (setterArray) {\n return setterArray[0];\n });\n var date = toDate(dirtyReferenceDate);\n if (isNaN(date)) {\n return new Date(NaN);\n } // Convert the date in system timezone to the same date in UTC+00:00 timezone.\n // This ensures that when UTC functions will be implemented, locales will be compatible with them.\n // See an issue about UTC functions: https://github.com/date-fns/date-fns/issues/37\n\n var utcDate = subMilliseconds(date, getTimezoneOffsetInMilliseconds(date));\n var flags = {};\n for (i = 0; i < uniquePrioritySetters.length; i++) {\n var setter = uniquePrioritySetters[i];\n if (setter.validate && !setter.validate(utcDate, setter.value, subFnOptions)) {\n return new Date(NaN);\n }\n var result = setter.set(utcDate, flags, setter.value, subFnOptions); // Result is tuple (date, flags)\n\n if (result[0]) {\n utcDate = result[0];\n assign(flags, result[1]); // Result is date\n } else {\n utcDate = result;\n }\n }\n return utcDate;\n}\nfunction dateToSystemTimezone(date, flags) {\n if (flags.timestampIsSet) {\n return date;\n }\n var convertedDate = new Date(0);\n convertedDate.setFullYear(date.getUTCFullYear(), date.getUTCMonth(), date.getUTCDate());\n convertedDate.setHours(date.getUTCHours(), date.getUTCMinutes(), date.getUTCSeconds(), date.getUTCMilliseconds());\n return convertedDate;\n}\nfunction cleanEscapedString(input) {\n return input.match(escapedStringRegExp)[1].replace(doubleQuoteRegExp, \"'\");\n}","import {\n timeSlotParse,\n defaultTimeSlot,\n} from 'dashboard/routes/dashboard/settings/inbox/helpers/businessHour.js';\nimport { utcToZonedTime } from 'date-fns-tz';\nimport { generateRelativeTime } from 'shared/helpers/DateHelper';\n\nconst MINUTE_ROUNDING_FACTOR = 5;\n\nexport default {\n data() {\n return {\n dayNames: this.$t('DAY_NAMES'),\n timeSlots: [...defaultTimeSlot],\n timeSlot: {},\n };\n },\n computed: {\n channelConfig() {\n return window.ruutWebChannel;\n },\n workingHours() {\n return this.channelConfig.workingHours;\n },\n newDateWithTimeZone() {\n return utcToZonedTime(new Date(), this.timeZoneValue);\n },\n presentHour() {\n return this.newDateWithTimeZone.getHours();\n },\n presentMinute() {\n return this.newDateWithTimeZone.getMinutes();\n },\n currentDay() {\n const date = this.newDateWithTimeZone;\n const day = date.getDay();\n const currentDay = Object.keys(this.dayNames).find(\n key => this.dayNames[key] === this.dayNames[day]\n );\n return Number(currentDay);\n },\n timeZoneValue() {\n return this.channelConfig.timezone;\n },\n languageCode() {\n return window.ruutWebChannel.locale;\n },\n currentDayWorkingHours() {\n return this.workingHours.find(\n slot => slot.day_of_week === this.currentDay\n );\n },\n nextDayWorkingHours() {\n let nextDay = this.getNextDay(this.currentDay);\n let nextWorkingHour = this.getNextWorkingHour(nextDay);\n\n // It gets the next working hour for the next day. If there is no working hour for the next day,\n // it keeps iterating through the days of the week until it finds the next working hour.\n while (!nextWorkingHour) {\n nextDay = this.getNextDay(nextDay);\n nextWorkingHour = this.getNextWorkingHour(nextDay);\n }\n return nextWorkingHour;\n },\n currentDayTimings() {\n const {\n open_hour: openHour,\n open_minutes: openMinute,\n close_hour: closeHour,\n } = this.currentDayWorkingHours ?? {};\n return {\n openHour,\n openMinute,\n closeHour,\n };\n },\n nextDayTimings() {\n const { open_hour: openHour, open_minutes: openMinute } =\n this.nextDayWorkingHours ?? {};\n return {\n openHour,\n openMinute,\n };\n },\n dayDiff() {\n // Here this is used to get the difference between current day and next working day\n const nextDay = this.nextDayWorkingHours.day_of_week;\n const totalDays = 6;\n return nextDay > this.currentDay\n ? nextDay - this.currentDay - 1\n : totalDays - this.currentDay + nextDay;\n },\n dayNameOfNextWorkingDay() {\n return this.dayNames[this.nextDayWorkingHours.day_of_week];\n },\n hoursAndMinutesBackInOnline() {\n if (this.presentHour >= this.currentDayTimings.closeHour) {\n return this.getHoursAndMinutesUntilNextDayOpen(\n this.nextDayWorkingHours.open_all_day\n ? 0\n : this.nextDayTimings.openHour,\n this.nextDayTimings.openMinute,\n this.currentDayTimings.closeHour\n );\n }\n return this.getHoursAndMinutesUntilNextDayOpen(\n this.currentDayTimings.openHour,\n this.currentDayTimings.openMinute,\n this.currentDayTimings.closeHour\n );\n },\n exactTimeInAmPm() {\n return `${\n this.timeSlot.day === this.currentDay ? `at ${this.timeSlot.from}` : ''\n }`;\n },\n hoursAndMinutesLeft() {\n const { hoursLeft, minutesLeft } = this.hoursAndMinutesBackInOnline;\n\n const timeLeftChars = [];\n\n if (hoursLeft > 0) {\n const roundedUpHoursLeft = minutesLeft > 0 ? hoursLeft + 1 : hoursLeft;\n const hourRelative = generateRelativeTime(\n roundedUpHoursLeft,\n 'hour',\n this.languageCode\n );\n timeLeftChars.push(`${hourRelative}`);\n }\n\n if (minutesLeft > 0 && hoursLeft === 0) {\n const roundedUpMinLeft =\n Math.ceil(minutesLeft / MINUTE_ROUNDING_FACTOR) *\n MINUTE_ROUNDING_FACTOR;\n const minRelative = generateRelativeTime(\n roundedUpMinLeft,\n 'minutes',\n this.languageCode\n );\n timeLeftChars.push(`${minRelative}`);\n }\n\n return timeLeftChars.join(' ');\n },\n hoursAndMinutesToBack() {\n const { hoursLeft, minutesLeft } = this.hoursAndMinutesBackInOnline;\n if (hoursLeft >= 3) {\n return this.exactTimeInAmPm;\n }\n if (hoursLeft > 0 || minutesLeft > 0) {\n return this.hoursAndMinutesLeft;\n }\n return 'in some time';\n },\n timeLeftToBackInOnline() {\n if (\n this.hoursAndMinutesBackInOnline.hoursLeft >= 24 ||\n (this.timeSlot.day !== this.currentDay && this.dayDiff === 0)\n ) {\n const hourRelative = generateRelativeTime(\n this.dayDiff + 1,\n 'days',\n this.languageCode\n );\n return `${hourRelative}`;\n }\n if (\n this.dayDiff >= 1 &&\n this.presentHour >= this.currentDayTimings.closeHour\n ) {\n return `on ${this.dayNameOfNextWorkingDay}`;\n }\n return this.hoursAndMinutesToBack;\n },\n },\n mounted() {\n this.setTimeSlot();\n },\n methods: {\n getNextDay(day) {\n // This code calculates the next day of the week based on the current day. If the current day is Saturday (6), then the next day will be Sunday (0).\n return (day + 1) % 7;\n },\n getNextWorkingHour(day) {\n const workingHour = this.workingHours.find(\n slot => slot.day_of_week === day\n );\n if (workingHour && !workingHour.closed_all_day) {\n return workingHour;\n }\n return null;\n },\n getHoursAndMinutesUntilNextDayOpen(\n openHour, // If the present time is after the closing time of the current day, then the openHour will be the opening hour of the next day else it will be the opening hour of the current day.\n openMinutes, // If the present time is after the closing time of the current day, then the openMinutes will be the opening minutes of the next day else it will be the opening minutes of the current day.\n closeHour // The closeHour will be the closing hour of the current day. It will be used to calculate the time remaining until the next day's opening hours.\n ) {\n // This code calculates the time remaining until the next day's opening hours,\n // given the current time, the opening hours, and the closing hours of the current day.\n if (closeHour < openHour) {\n openHour += 24;\n }\n let diffMinutes =\n openHour * 60 +\n openMinutes -\n (this.presentHour * 60 + this.presentMinute);\n diffMinutes = diffMinutes < 0 ? diffMinutes + 24 * 60 : diffMinutes;\n const [hoursLeft, minutesLeft] = [\n Math.floor(diffMinutes / 60),\n diffMinutes % 60,\n ];\n\n // It returns the remaining time in hours and minutes as an object with keys hours and minutes.\n return { hoursLeft, minutesLeft };\n },\n setTimeSlot() {\n // It checks if the working hours feature is enabled for the store.\n\n const timeSlots = this.workingHours;\n\n // If the present hour is after the closing hour of the current day,\n // then the next day's working hours will be used to calculate the time remaining until the next day's opening hours,\n // else the current day's working hours will be used\n const currentSlot =\n this.presentHour >= this.currentDayTimings.closeHour\n ? this.nextDayWorkingHours\n : this.currentDayWorkingHours;\n\n // It parses the working hours to get the time slots in AM/PM format.\n const slots = timeSlotParse(timeSlots).length\n ? timeSlotParse(timeSlots)\n : defaultTimeSlot;\n this.timeSlots = slots;\n\n // It finds the time slot for the current slot.\n this.timeSlot = this.timeSlots.find(\n slot => slot.day === currentSlot.day_of_week\n );\n },\n },\n};\n","import { API } from 'widget/helpers/axios';\nimport { buildSearchParamsWithLocale } from '../helpers/urlParamsHelper';\n\nexport const generateEventParams = () => ({\n initiated_at: {\n timestamp: new Date().toString(),\n },\n referer: window.referrerURL || '',\n});\n\nexport default {\n create(name) {\n const search = buildSearchParamsWithLocale(window.location.search);\n return API.post(`/api/v1/widget/events${search}`, {\n name,\n event_info: generateEventParams(),\n });\n },\n};\n","/**\n * Returns the [year, month, day, hour, minute, seconds] tokens of the provided\n * `date` as it will be rendered in the `timeZone`.\n */\nexport default function tzTokenizeDate(date, timeZone) {\n var dtf = getDateTimeFormat(timeZone);\n return dtf.formatToParts ? partsOffset(dtf, date) : hackyOffset(dtf, date);\n}\nvar typeToPos = {\n year: 0,\n month: 1,\n day: 2,\n hour: 3,\n minute: 4,\n second: 5\n};\nfunction partsOffset(dtf, date) {\n try {\n var formatted = dtf.formatToParts(date);\n var filled = [];\n for (var i = 0; i < formatted.length; i++) {\n var pos = typeToPos[formatted[i].type];\n if (pos >= 0) {\n filled[pos] = parseInt(formatted[i].value, 10);\n }\n }\n return filled;\n } catch (error) {\n if (error instanceof RangeError) {\n return [NaN];\n }\n throw error;\n }\n}\nfunction hackyOffset(dtf, date) {\n var formatted = dtf.format(date).replace(/\\u200E/g, '');\n var parsed = /(\\d+)\\/(\\d+)\\/(\\d+),? (\\d+):(\\d+):(\\d+)/.exec(formatted);\n // var [, fMonth, fDay, fYear, fHour, fMinute, fSecond] = parsed\n // return [fYear, fMonth, fDay, fHour, fMinute, fSecond]\n return [parsed[3], parsed[1], parsed[2], parsed[4], parsed[5], parsed[6]];\n}\n\n// Get a cached Intl.DateTimeFormat instance for the IANA `timeZone`. This can be used\n// to get deterministic local date/time output according to the `en-US` locale which\n// can be used to extract local time parts as necessary.\nvar dtfCache = {};\nfunction getDateTimeFormat(timeZone) {\n if (!dtfCache[timeZone]) {\n // New browsers use `hourCycle`, IE and Chrome <73 does not support it and uses `hour12`\n var testDateFormatted = new Intl.DateTimeFormat('en-US', {\n hour12: false,\n timeZone: 'America/New_York',\n year: 'numeric',\n month: 'numeric',\n day: '2-digit',\n hour: '2-digit',\n minute: '2-digit',\n second: '2-digit'\n }).format(new Date('2014-06-25T04:00:00.123Z'));\n var hourCycleSupported = testDateFormatted === '06/25/2014, 00:00:00' || testDateFormatted === '‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00';\n dtfCache[timeZone] = hourCycleSupported ? new Intl.DateTimeFormat('en-US', {\n hour12: false,\n timeZone: timeZone,\n year: 'numeric',\n month: 'numeric',\n day: '2-digit',\n hour: '2-digit',\n minute: '2-digit',\n second: '2-digit'\n }) : new Intl.DateTimeFormat('en-US', {\n hourCycle: 'h23',\n timeZone: timeZone,\n year: 'numeric',\n month: 'numeric',\n day: '2-digit',\n hour: '2-digit',\n minute: '2-digit',\n second: '2-digit'\n });\n }\n return dtfCache[timeZone];\n}","/**\n * Use instead of `new Date(Date.UTC(...))` to support years below 100 which doesn't work\n * otherwise due to the nature of the\n * [`Date` constructor](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date#interpretation_of_two-digit_years.\n *\n * For `Date.UTC(...)`, use `newDateUTC(...).getTime()`.\n */\nexport default function newDateUTC(fullYear, month, day, hour, minute, second, millisecond) {\n var utcDate = new Date(0);\n utcDate.setUTCFullYear(fullYear, month, day);\n utcDate.setUTCHours(hour, minute, second, millisecond);\n return utcDate;\n}","import tzTokenizeDate from '../tzTokenizeDate/index.js';\nimport newDateUTC from '../newDateUTC/index.js';\nvar MILLISECONDS_IN_HOUR = 3600000;\nvar MILLISECONDS_IN_MINUTE = 60000;\nvar patterns = {\n timezone: /([Z+-].*)$/,\n timezoneZ: /^(Z)$/,\n timezoneHH: /^([+-]\\d{2})$/,\n timezoneHHMM: /^([+-]\\d{2}):?(\\d{2})$/\n};\n\n// Parse various time zone offset formats to an offset in milliseconds\nexport default function tzParseTimezone(timezoneString, date, isUtcDate) {\n var token;\n var absoluteOffset;\n\n // Empty string\n if (!timezoneString) {\n return 0;\n }\n\n // Z\n token = patterns.timezoneZ.exec(timezoneString);\n if (token) {\n return 0;\n }\n var hours;\n\n // ±hh\n token = patterns.timezoneHH.exec(timezoneString);\n if (token) {\n hours = parseInt(token[1], 10);\n if (!validateTimezone(hours)) {\n return NaN;\n }\n return -(hours * MILLISECONDS_IN_HOUR);\n }\n\n // ±hh:mm or ±hhmm\n token = patterns.timezoneHHMM.exec(timezoneString);\n if (token) {\n hours = parseInt(token[1], 10);\n var minutes = parseInt(token[2], 10);\n if (!validateTimezone(hours, minutes)) {\n return NaN;\n }\n absoluteOffset = Math.abs(hours) * MILLISECONDS_IN_HOUR + minutes * MILLISECONDS_IN_MINUTE;\n return hours > 0 ? -absoluteOffset : absoluteOffset;\n }\n\n // IANA time zone\n if (isValidTimezoneIANAString(timezoneString)) {\n date = new Date(date || Date.now());\n var utcDate = isUtcDate ? date : toUtcDate(date);\n var offset = calcOffset(utcDate, timezoneString);\n var fixedOffset = isUtcDate ? offset : fixOffset(date, offset, timezoneString);\n return -fixedOffset;\n }\n return NaN;\n}\nfunction toUtcDate(date) {\n return newDateUTC(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds());\n}\nfunction calcOffset(date, timezoneString) {\n var tokens = tzTokenizeDate(date, timezoneString);\n\n // ms dropped because it's not provided by tzTokenizeDate\n var asUTC = newDateUTC(tokens[0], tokens[1] - 1, tokens[2], tokens[3] % 24, tokens[4], tokens[5], 0).getTime();\n var asTS = date.getTime();\n var over = asTS % 1000;\n asTS -= over >= 0 ? over : 1000 + over;\n return asUTC - asTS;\n}\nfunction fixOffset(date, offset, timezoneString) {\n var localTS = date.getTime();\n\n // Our UTC time is just a guess because our offset is just a guess\n var utcGuess = localTS - offset;\n\n // Test whether the zone matches the offset for this ts\n var o2 = calcOffset(new Date(utcGuess), timezoneString);\n\n // If so, offset didn't change, and we're done\n if (offset === o2) {\n return offset;\n }\n\n // If not, change the ts by the difference in the offset\n utcGuess -= o2 - offset;\n\n // If that gives us the local time we want, we're done\n var o3 = calcOffset(new Date(utcGuess), timezoneString);\n if (o2 === o3) {\n return o2;\n }\n\n // If it's different, we're in a hole time. The offset has changed, but we don't adjust the time\n return Math.max(o2, o3);\n}\nfunction validateTimezone(hours, minutes) {\n return -23 <= hours && hours <= 23 && (minutes == null || 0 <= minutes && minutes <= 59);\n}\nvar validIANATimezoneCache = {};\nfunction isValidTimezoneIANAString(timeZoneString) {\n if (validIANATimezoneCache[timeZoneString]) return true;\n try {\n new Intl.DateTimeFormat(undefined, {\n timeZone: timeZoneString\n });\n validIANATimezoneCache[timeZoneString] = true;\n return true;\n } catch (error) {\n return false;\n }\n}","import toInteger from 'date-fns/_lib/toInteger/index.js';\nimport getTimezoneOffsetInMilliseconds from 'date-fns/_lib/getTimezoneOffsetInMilliseconds/index.js';\nimport tzParseTimezone from '../_lib/tzParseTimezone/index.js';\nimport tzPattern from '../_lib/tzPattern/index.js';\nvar MILLISECONDS_IN_HOUR = 3600000;\nvar MILLISECONDS_IN_MINUTE = 60000;\nvar DEFAULT_ADDITIONAL_DIGITS = 2;\nvar patterns = {\n dateTimePattern: /^([0-9W+-]+)(T| )(.*)/,\n datePattern: /^([0-9W+-]+)(.*)/,\n plainTime: /:/,\n // year tokens\n YY: /^(\\d{2})$/,\n YYY: [/^([+-]\\d{2})$/,\n // 0 additional digits\n /^([+-]\\d{3})$/,\n // 1 additional digit\n /^([+-]\\d{4})$/ // 2 additional digits\n ],\n YYYY: /^(\\d{4})/,\n YYYYY: [/^([+-]\\d{4})/,\n // 0 additional digits\n /^([+-]\\d{5})/,\n // 1 additional digit\n /^([+-]\\d{6})/ // 2 additional digits\n ],\n // date tokens\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 // time zone tokens (to identify the presence of a tz)\n timeZone: tzPattern\n};\n\n/**\n * @name toDate\n * @category Common Helpers\n * @summary Convert the given argument to an instance of Date.\n *\n * @description\n * Convert the given argument to an instance of Date.\n *\n * If the argument is an instance of Date, the function returns its clone.\n *\n * If the argument is a number, it is treated as a timestamp.\n *\n * If an argument is a string, the function tries to parse it.\n * Function accepts complete ISO 8601 formats as well as partial implementations.\n * ISO 8601: http://en.wikipedia.org/wiki/ISO_8601\n * If the function cannot parse the string or the values are invalid, it returns Invalid Date.\n *\n * If the argument is none of the above, the function returns Invalid Date.\n *\n * **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`.\n * All *date-fns* functions will throw `RangeError` if `options.additionalDigits` is not 0, 1, 2 or undefined.\n *\n * @param {Date|String|Number} argument - the value to convert\n * @param {OptionsWithTZ} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options}\n * @param {0|1|2} [options.additionalDigits=2] - the additional number of digits in the extended year format\n * @param {String} [options.timeZone=''] - used to specify the IANA time zone offset of a date String.\n * @returns {Date} the parsed date in the local time zone\n * @throws {TypeError} 1 argument required\n * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2\n *\n * @example\n * // Convert string '2014-02-11T11:30:30' to date:\n * var result = toDate('2014-02-11T11:30:30')\n * //=> Tue Feb 11 2014 11:30:30\n *\n * @example\n * // Convert string '+02014101' to date,\n * // if the additional number of digits in the extended year format is 1:\n * var result = toDate('+02014101', {additionalDigits: 1})\n * //=> Fri Apr 11 2014 00:00:00\n */\nexport default function 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 == null ? DEFAULT_ADDITIONAL_DIGITS : toInteger(options.additionalDigits);\n if (additionalDigits !== 2 && additionalDigits !== 1 && additionalDigits !== 0) {\n throw new RangeError('additionalDigits must be 0, 1 or 2');\n }\n\n // Clone the date\n if (argument instanceof Date || typeof argument === 'object' && Object.prototype.toString.call(argument) === '[object Date]') {\n // Prevent the date to lose the milliseconds when passed to new Date() in IE10\n return new Date(argument.getTime());\n } else if (typeof argument === 'number' || Object.prototype.toString.call(argument) === '[object Number]') {\n return new Date(argument);\n } else if (!(typeof argument === 'string' || Object.prototype.toString.call(argument) === '[object String]')) {\n return new Date(NaN);\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 (isNaN(date)) {\n return new Date(NaN);\n }\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 if (isNaN(time)) {\n return new Date(NaN);\n }\n }\n if (dateStrings.timeZone || options.timeZone) {\n offset = tzParseTimezone(dateStrings.timeZone || options.timeZone, new Date(timestamp + time));\n if (isNaN(offset)) {\n return new Date(NaN);\n }\n } else {\n // get offset accurate to hour in time zones that change offset\n offset = getTimezoneOffsetInMilliseconds(new Date(timestamp + time));\n offset = getTimezoneOffsetInMilliseconds(new Date(timestamp + time + offset));\n }\n return new Date(timestamp + time + offset);\n } else {\n return new Date(NaN);\n }\n}\nfunction splitDateString(dateString) {\n var dateStrings = {};\n var parts = patterns.dateTimePattern.exec(dateString);\n var timeString;\n if (!parts) {\n parts = patterns.datePattern.exec(dateString);\n if (parts) {\n dateStrings.date = parts[1];\n timeString = parts[2];\n } else {\n dateStrings.date = null;\n timeString = dateString;\n }\n } else {\n dateStrings.date = parts[1];\n timeString = parts[3];\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].trim();\n } else {\n dateStrings.time = timeString;\n }\n }\n return dateStrings;\n}\nfunction parseYear(dateString, additionalDigits) {\n var patternYYY = patterns.YYY[additionalDigits];\n var patternYYYYY = patterns.YYYYY[additionalDigits];\n var token;\n\n // YYYY or ±YYYYY\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\n // YY or ±YYY\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\n // Invalid ISO-formatted year\n return {\n year: null\n };\n}\nfunction parseDate(dateString, year) {\n // Invalid ISO-formatted year\n if (year === null) {\n return null;\n }\n var token;\n var date;\n var month;\n var week;\n\n // YYYY\n if (dateString.length === 0) {\n date = new Date(0);\n date.setUTCFullYear(year);\n return date;\n }\n\n // YYYY-MM\n token = patterns.MM.exec(dateString);\n if (token) {\n date = new Date(0);\n month = parseInt(token[1], 10) - 1;\n if (!validateDate(year, month)) {\n return new Date(NaN);\n }\n date.setUTCFullYear(year, month);\n return date;\n }\n\n // YYYY-DDD or YYYYDDD\n token = patterns.DDD.exec(dateString);\n if (token) {\n date = new Date(0);\n var dayOfYear = parseInt(token[1], 10);\n if (!validateDayOfYearDate(year, dayOfYear)) {\n return new Date(NaN);\n }\n date.setUTCFullYear(year, 0, dayOfYear);\n return date;\n }\n\n // yyyy-MM-dd or YYYYMMDD\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 if (!validateDate(year, month, day)) {\n return new Date(NaN);\n }\n date.setUTCFullYear(year, month, day);\n return date;\n }\n\n // YYYY-Www or YYYYWww\n token = patterns.Www.exec(dateString);\n if (token) {\n week = parseInt(token[1], 10) - 1;\n if (!validateWeekDate(year, week)) {\n return new Date(NaN);\n }\n return dayOfISOWeekYear(year, week);\n }\n\n // YYYY-Www-D or YYYYWwwD\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 if (!validateWeekDate(year, week, dayOfWeek)) {\n return new Date(NaN);\n }\n return dayOfISOWeekYear(year, week, dayOfWeek);\n }\n\n // Invalid ISO-formatted date\n return null;\n}\nfunction parseTime(timeString) {\n var token;\n var hours;\n var minutes;\n\n // hh\n token = patterns.HH.exec(timeString);\n if (token) {\n hours = parseFloat(token[1].replace(',', '.'));\n if (!validateTime(hours)) {\n return NaN;\n }\n return hours % 24 * MILLISECONDS_IN_HOUR;\n }\n\n // hh:mm or hhmm\n token = patterns.HHMM.exec(timeString);\n if (token) {\n hours = parseInt(token[1], 10);\n minutes = parseFloat(token[2].replace(',', '.'));\n if (!validateTime(hours, minutes)) {\n return NaN;\n }\n return hours % 24 * MILLISECONDS_IN_HOUR + minutes * MILLISECONDS_IN_MINUTE;\n }\n\n // hh:mm:ss or hhmmss\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 if (!validateTime(hours, minutes, seconds)) {\n return NaN;\n }\n return hours % 24 * MILLISECONDS_IN_HOUR + minutes * MILLISECONDS_IN_MINUTE + seconds * 1000;\n }\n\n // Invalid ISO-formatted time\n return null;\n}\nfunction dayOfISOWeekYear(isoWeekYear, week, day) {\n week = week || 0;\n day = day || 0;\n var date = new Date(0);\n date.setUTCFullYear(isoWeekYear, 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\n// Validation functions\n\nvar DAYS_IN_MONTH = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];\nvar DAYS_IN_MONTH_LEAP_YEAR = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];\nfunction isLeapYearIndex(year) {\n return year % 400 === 0 || year % 4 === 0 && year % 100 !== 0;\n}\nfunction validateDate(year, month, date) {\n if (month < 0 || month > 11) {\n return false;\n }\n if (date != null) {\n if (date < 1) {\n return false;\n }\n var isLeapYear = isLeapYearIndex(year);\n if (isLeapYear && date > DAYS_IN_MONTH_LEAP_YEAR[month]) {\n return false;\n }\n if (!isLeapYear && date > DAYS_IN_MONTH[month]) {\n return false;\n }\n }\n return true;\n}\nfunction validateDayOfYearDate(year, dayOfYear) {\n if (dayOfYear < 1) {\n return false;\n }\n var isLeapYear = isLeapYearIndex(year);\n if (isLeapYear && dayOfYear > 366) {\n return false;\n }\n if (!isLeapYear && dayOfYear > 365) {\n return false;\n }\n return true;\n}\nfunction validateWeekDate(year, week, day) {\n if (week < 0 || week > 52) {\n return false;\n }\n if (day != null && (day < 0 || day > 6)) {\n return false;\n }\n return true;\n}\nfunction validateTime(hours, minutes, seconds) {\n if (hours != null && (hours < 0 || hours >= 25)) {\n return false;\n }\n if (minutes != null && (minutes < 0 || minutes >= 60)) {\n return false;\n }\n if (seconds != null && (seconds < 0 || seconds >= 60)) {\n return false;\n }\n return true;\n}","/** Regex to identify the presence of a time zone specifier in a date string */\nvar tzPattern = /(Z|[+-]\\d{2}(?::?\\d{2})?| UTC| [a-zA-Z]+\\/[a-zA-Z_]+(?:\\/[a-zA-Z_]+)?)$/;\nexport default tzPattern;","import tzParseTimezone from '../_lib/tzParseTimezone/index.js';\nimport toDate from '../toDate/index.js';\n\n/**\n * @name utcToZonedTime\n * @category Time Zone Helpers\n * @summary Get a date/time representing local time in a given time zone from the UTC date\n *\n * @description\n * Returns a date instance with values representing the local time in the time zone\n * specified of the UTC time from the date provided. In other words, when the new date\n * is formatted it will show the equivalent hours in the target time zone regardless\n * of the current system time zone.\n *\n * @param {Date|String|Number} date - the date with the relevant UTC time\n * @param {String} timeZone - the time zone to get local time for, can be an offset or IANA time zone\n * @param {OptionsWithTZ} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options}\n * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate}\n * @returns {Date} the new date with the equivalent time in the time zone\n * @throws {TypeError} 2 arguments required\n * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2\n *\n * @example\n * // In June 10am UTC is 6am in New York (-04:00)\n * const result = utcToZonedTime('2014-06-25T10:00:00.000Z', 'America/New_York')\n * //=> Jun 25 2014 06:00:00\n */\nexport default function utcToZonedTime(dirtyDate, timeZone, options) {\n var date = toDate(dirtyDate, options);\n var offsetMilliseconds = tzParseTimezone(timeZone, date, true);\n var d = new Date(date.getTime() - offsetMilliseconds);\n var resultDate = new Date(0);\n resultDate.setFullYear(d.getUTCFullYear(), d.getUTCMonth(), d.getUTCDate());\n resultDate.setHours(d.getUTCHours(), d.getUTCMinutes(), d.getUTCSeconds(), d.getUTCMilliseconds());\n return resultDate;\n}","export const escapeHtml = (unsafe = '') => {\n return unsafe\n .replace(/&/g, '&')\n .replace(//g, '>')\n .replace(/\"/g, '"')\n .replace(/'/g, ''');\n};\n\nexport const afterSanitizeAttributes = currentNode => {\n if ('target' in currentNode) {\n currentNode.setAttribute('target', '_blank');\n }\n};\n\nexport const domPurifyConfig = {\n hooks: {\n afterSanitizeAttributes,\n },\n};\n","export const isAFormMessage = message => message.content_type === 'form';\nexport const isASubmittedFormMessage = (message = {}) =>\n isAFormMessage(message) && !!message.content_attributes?.submitted_values;\n\nexport const MESSAGE_MAX_LENGTH = {\n GENERAL: 10000,\n FACEBOOK: 1000,\n TWILIO_SMS: 320,\n TWILIO_WHATSAPP: 1600,\n};\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('base-icon',{attrs:{\"size\":_vm.size,\"icon\":_vm.icon,\"type\":_vm.type,\"icons\":_vm.icons,\"view-box\":_vm.viewBox,\"icon-lib\":_vm.iconLib}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=script&lang=js\"","\n\n","import { render, staticRenderFns } from \"./Index.vue?vue&type=template&id=4bc745de\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","/*!\n * The buffer module from node.js, for the browser.\n *\n * @author Feross Aboukhadijeh \n * @license MIT\n */\n/* eslint-disable no-proto */\n\n'use strict';\n\nvar base64 = require('base64-js');\nvar ieee754 = require('ieee754');\nvar isArray = require('isarray');\nexports.Buffer = Buffer;\nexports.SlowBuffer = SlowBuffer;\nexports.INSPECT_MAX_BYTES = 50;\n\n/**\n * If `Buffer.TYPED_ARRAY_SUPPORT`:\n * === true Use Uint8Array implementation (fastest)\n * === false Use Object implementation (most compatible, even IE6)\n *\n * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,\n * Opera 11.6+, iOS 4.2+.\n *\n * Due to various browser bugs, sometimes the Object implementation will be used even\n * when the browser supports typed arrays.\n *\n * Note:\n *\n * - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances,\n * See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438.\n *\n * - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function.\n *\n * - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of\n * incorrect length in some situations.\n\n * We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they\n * get the Object implementation, which is slower but behaves correctly.\n */\nBuffer.TYPED_ARRAY_SUPPORT = global.TYPED_ARRAY_SUPPORT !== undefined ? global.TYPED_ARRAY_SUPPORT : typedArraySupport();\n\n/*\n * Export kMaxLength after typed array support is determined.\n */\nexports.kMaxLength = kMaxLength();\nfunction typedArraySupport() {\n try {\n var arr = new Uint8Array(1);\n arr.__proto__ = {\n __proto__: Uint8Array.prototype,\n foo: function () {\n return 42;\n }\n };\n return arr.foo() === 42 &&\n // typed array instances can be augmented\n typeof arr.subarray === 'function' &&\n // chrome 9-10 lack `subarray`\n arr.subarray(1, 1).byteLength === 0; // ie10 has broken `subarray`\n } catch (e) {\n return false;\n }\n}\nfunction kMaxLength() {\n return Buffer.TYPED_ARRAY_SUPPORT ? 0x7fffffff : 0x3fffffff;\n}\nfunction createBuffer(that, length) {\n if (kMaxLength() < length) {\n throw new RangeError('Invalid typed array length');\n }\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n // Return an augmented `Uint8Array` instance, for best performance\n that = new Uint8Array(length);\n that.__proto__ = Buffer.prototype;\n } else {\n // Fallback: Return an object instance of the Buffer class\n if (that === null) {\n that = new Buffer(length);\n }\n that.length = length;\n }\n return that;\n}\n\n/**\n * The Buffer constructor returns instances of `Uint8Array` that have their\n * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of\n * `Uint8Array`, so the returned instances will have all the node `Buffer` methods\n * and the `Uint8Array` methods. Square bracket notation works as expected -- it\n * returns a single octet.\n *\n * The `Uint8Array` prototype remains unmodified.\n */\n\nfunction Buffer(arg, encodingOrOffset, length) {\n if (!Buffer.TYPED_ARRAY_SUPPORT && !(this instanceof Buffer)) {\n return new Buffer(arg, encodingOrOffset, length);\n }\n\n // Common case.\n if (typeof arg === 'number') {\n if (typeof encodingOrOffset === 'string') {\n throw new Error('If encoding is specified then the first argument must be a string');\n }\n return allocUnsafe(this, arg);\n }\n return from(this, arg, encodingOrOffset, length);\n}\nBuffer.poolSize = 8192; // not used by this implementation\n\n// TODO: Legacy, not needed anymore. Remove in next major version.\nBuffer._augment = function (arr) {\n arr.__proto__ = Buffer.prototype;\n return arr;\n};\nfunction from(that, value, encodingOrOffset, length) {\n if (typeof value === 'number') {\n throw new TypeError('\"value\" argument must not be a number');\n }\n if (typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer) {\n return fromArrayBuffer(that, value, encodingOrOffset, length);\n }\n if (typeof value === 'string') {\n return fromString(that, value, encodingOrOffset);\n }\n return fromObject(that, value);\n}\n\n/**\n * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError\n * if value is a number.\n * Buffer.from(str[, encoding])\n * Buffer.from(array)\n * Buffer.from(buffer)\n * Buffer.from(arrayBuffer[, byteOffset[, length]])\n **/\nBuffer.from = function (value, encodingOrOffset, length) {\n return from(null, value, encodingOrOffset, length);\n};\nif (Buffer.TYPED_ARRAY_SUPPORT) {\n Buffer.prototype.__proto__ = Uint8Array.prototype;\n Buffer.__proto__ = Uint8Array;\n if (typeof Symbol !== 'undefined' && Symbol.species && Buffer[Symbol.species] === Buffer) {\n // Fix subarray() in ES2016. See: https://github.com/feross/buffer/pull/97\n Object.defineProperty(Buffer, Symbol.species, {\n value: null,\n configurable: true\n });\n }\n}\nfunction assertSize(size) {\n if (typeof size !== 'number') {\n throw new TypeError('\"size\" argument must be a number');\n } else if (size < 0) {\n throw new RangeError('\"size\" argument must not be negative');\n }\n}\nfunction alloc(that, size, fill, encoding) {\n assertSize(size);\n if (size <= 0) {\n return createBuffer(that, size);\n }\n if (fill !== undefined) {\n // Only pay attention to encoding if it's a string. This\n // prevents accidentally sending in a number that would\n // be interpretted as a start offset.\n return typeof encoding === 'string' ? createBuffer(that, size).fill(fill, encoding) : createBuffer(that, size).fill(fill);\n }\n return createBuffer(that, size);\n}\n\n/**\n * Creates a new filled Buffer instance.\n * alloc(size[, fill[, encoding]])\n **/\nBuffer.alloc = function (size, fill, encoding) {\n return alloc(null, size, fill, encoding);\n};\nfunction allocUnsafe(that, size) {\n assertSize(size);\n that = createBuffer(that, size < 0 ? 0 : checked(size) | 0);\n if (!Buffer.TYPED_ARRAY_SUPPORT) {\n for (var i = 0; i < size; ++i) {\n that[i] = 0;\n }\n }\n return that;\n}\n\n/**\n * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.\n * */\nBuffer.allocUnsafe = function (size) {\n return allocUnsafe(null, size);\n};\n/**\n * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.\n */\nBuffer.allocUnsafeSlow = function (size) {\n return allocUnsafe(null, size);\n};\nfunction fromString(that, string, encoding) {\n if (typeof encoding !== 'string' || encoding === '') {\n encoding = 'utf8';\n }\n if (!Buffer.isEncoding(encoding)) {\n throw new TypeError('\"encoding\" must be a valid string encoding');\n }\n var length = byteLength(string, encoding) | 0;\n that = createBuffer(that, length);\n var actual = that.write(string, encoding);\n if (actual !== length) {\n // Writing a hex string, for example, that contains invalid characters will\n // cause everything after the first invalid character to be ignored. (e.g.\n // 'abxxcd' will be treated as 'ab')\n that = that.slice(0, actual);\n }\n return that;\n}\nfunction fromArrayLike(that, array) {\n var length = array.length < 0 ? 0 : checked(array.length) | 0;\n that = createBuffer(that, length);\n for (var i = 0; i < length; i += 1) {\n that[i] = array[i] & 255;\n }\n return that;\n}\nfunction fromArrayBuffer(that, array, byteOffset, length) {\n array.byteLength; // this throws if `array` is not a valid ArrayBuffer\n\n if (byteOffset < 0 || array.byteLength < byteOffset) {\n throw new RangeError('\\'offset\\' is out of bounds');\n }\n if (array.byteLength < byteOffset + (length || 0)) {\n throw new RangeError('\\'length\\' is out of bounds');\n }\n if (byteOffset === undefined && length === undefined) {\n array = new Uint8Array(array);\n } else if (length === undefined) {\n array = new Uint8Array(array, byteOffset);\n } else {\n array = new Uint8Array(array, byteOffset, length);\n }\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n // Return an augmented `Uint8Array` instance, for best performance\n that = array;\n that.__proto__ = Buffer.prototype;\n } else {\n // Fallback: Return an object instance of the Buffer class\n that = fromArrayLike(that, array);\n }\n return that;\n}\nfunction fromObject(that, obj) {\n if (Buffer.isBuffer(obj)) {\n var len = checked(obj.length) | 0;\n that = createBuffer(that, len);\n if (that.length === 0) {\n return that;\n }\n obj.copy(that, 0, 0, len);\n return that;\n }\n if (obj) {\n if (typeof ArrayBuffer !== 'undefined' && obj.buffer instanceof ArrayBuffer || 'length' in obj) {\n if (typeof obj.length !== 'number' || isnan(obj.length)) {\n return createBuffer(that, 0);\n }\n return fromArrayLike(that, obj);\n }\n if (obj.type === 'Buffer' && isArray(obj.data)) {\n return fromArrayLike(that, obj.data);\n }\n }\n throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.');\n}\nfunction checked(length) {\n // Note: cannot use `length < kMaxLength()` here because that fails when\n // length is NaN (which is otherwise coerced to zero.)\n if (length >= kMaxLength()) {\n throw new RangeError('Attempt to allocate Buffer larger than maximum ' + 'size: 0x' + kMaxLength().toString(16) + ' bytes');\n }\n return length | 0;\n}\nfunction SlowBuffer(length) {\n if (+length != length) {\n // eslint-disable-line eqeqeq\n length = 0;\n }\n return Buffer.alloc(+length);\n}\nBuffer.isBuffer = function isBuffer(b) {\n return !!(b != null && b._isBuffer);\n};\nBuffer.compare = function compare(a, b) {\n if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {\n throw new TypeError('Arguments must be Buffers');\n }\n if (a === b) return 0;\n var x = a.length;\n var y = b.length;\n for (var i = 0, len = Math.min(x, y); i < len; ++i) {\n if (a[i] !== b[i]) {\n x = a[i];\n y = b[i];\n break;\n }\n }\n if (x < y) return -1;\n if (y < x) return 1;\n return 0;\n};\nBuffer.isEncoding = function isEncoding(encoding) {\n switch (String(encoding).toLowerCase()) {\n case 'hex':\n case 'utf8':\n case 'utf-8':\n case 'ascii':\n case 'latin1':\n case 'binary':\n case 'base64':\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return true;\n default:\n return false;\n }\n};\nBuffer.concat = function concat(list, length) {\n if (!isArray(list)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers');\n }\n if (list.length === 0) {\n return Buffer.alloc(0);\n }\n var i;\n if (length === undefined) {\n length = 0;\n for (i = 0; i < list.length; ++i) {\n length += list[i].length;\n }\n }\n var buffer = Buffer.allocUnsafe(length);\n var pos = 0;\n for (i = 0; i < list.length; ++i) {\n var buf = list[i];\n if (!Buffer.isBuffer(buf)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers');\n }\n buf.copy(buffer, pos);\n pos += buf.length;\n }\n return buffer;\n};\nfunction byteLength(string, encoding) {\n if (Buffer.isBuffer(string)) {\n return string.length;\n }\n if (typeof ArrayBuffer !== 'undefined' && typeof ArrayBuffer.isView === 'function' && (ArrayBuffer.isView(string) || string instanceof ArrayBuffer)) {\n return string.byteLength;\n }\n if (typeof string !== 'string') {\n string = '' + string;\n }\n var len = string.length;\n if (len === 0) return 0;\n\n // Use a for loop to avoid recursion\n var loweredCase = false;\n for (;;) {\n switch (encoding) {\n case 'ascii':\n case 'latin1':\n case 'binary':\n return len;\n case 'utf8':\n case 'utf-8':\n case undefined:\n return utf8ToBytes(string).length;\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return len * 2;\n case 'hex':\n return len >>> 1;\n case 'base64':\n return base64ToBytes(string).length;\n default:\n if (loweredCase) return utf8ToBytes(string).length; // assume utf8\n encoding = ('' + encoding).toLowerCase();\n loweredCase = true;\n }\n }\n}\nBuffer.byteLength = byteLength;\nfunction slowToString(encoding, start, end) {\n var loweredCase = false;\n\n // No need to verify that \"this.length <= MAX_UINT32\" since it's a read-only\n // property of a typed array.\n\n // This behaves neither like String nor Uint8Array in that we set start/end\n // to their upper/lower bounds if the value passed is out of range.\n // undefined is handled specially as per ECMA-262 6th Edition,\n // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.\n if (start === undefined || start < 0) {\n start = 0;\n }\n // Return early if start > this.length. Done here to prevent potential uint32\n // coercion fail below.\n if (start > this.length) {\n return '';\n }\n if (end === undefined || end > this.length) {\n end = this.length;\n }\n if (end <= 0) {\n return '';\n }\n\n // Force coersion to uint32. This will also coerce falsey/NaN values to 0.\n end >>>= 0;\n start >>>= 0;\n if (end <= start) {\n return '';\n }\n if (!encoding) encoding = 'utf8';\n while (true) {\n switch (encoding) {\n case 'hex':\n return hexSlice(this, start, end);\n case 'utf8':\n case 'utf-8':\n return utf8Slice(this, start, end);\n case 'ascii':\n return asciiSlice(this, start, end);\n case 'latin1':\n case 'binary':\n return latin1Slice(this, start, end);\n case 'base64':\n return base64Slice(this, start, end);\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return utf16leSlice(this, start, end);\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding);\n encoding = (encoding + '').toLowerCase();\n loweredCase = true;\n }\n }\n}\n\n// The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect\n// Buffer instances.\nBuffer.prototype._isBuffer = true;\nfunction swap(b, n, m) {\n var i = b[n];\n b[n] = b[m];\n b[m] = i;\n}\nBuffer.prototype.swap16 = function swap16() {\n var len = this.length;\n if (len % 2 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 16-bits');\n }\n for (var i = 0; i < len; i += 2) {\n swap(this, i, i + 1);\n }\n return this;\n};\nBuffer.prototype.swap32 = function swap32() {\n var len = this.length;\n if (len % 4 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 32-bits');\n }\n for (var i = 0; i < len; i += 4) {\n swap(this, i, i + 3);\n swap(this, i + 1, i + 2);\n }\n return this;\n};\nBuffer.prototype.swap64 = function swap64() {\n var len = this.length;\n if (len % 8 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 64-bits');\n }\n for (var i = 0; i < len; i += 8) {\n swap(this, i, i + 7);\n swap(this, i + 1, i + 6);\n swap(this, i + 2, i + 5);\n swap(this, i + 3, i + 4);\n }\n return this;\n};\nBuffer.prototype.toString = function toString() {\n var length = this.length | 0;\n if (length === 0) return '';\n if (arguments.length === 0) return utf8Slice(this, 0, length);\n return slowToString.apply(this, arguments);\n};\nBuffer.prototype.equals = function equals(b) {\n if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer');\n if (this === b) return true;\n return Buffer.compare(this, b) === 0;\n};\nBuffer.prototype.inspect = function inspect() {\n var str = '';\n var max = exports.INSPECT_MAX_BYTES;\n if (this.length > 0) {\n str = this.toString('hex', 0, max).match(/.{2}/g).join(' ');\n if (this.length > max) str += ' ... ';\n }\n return '';\n};\nBuffer.prototype.compare = function compare(target, start, end, thisStart, thisEnd) {\n if (!Buffer.isBuffer(target)) {\n throw new TypeError('Argument must be a Buffer');\n }\n if (start === undefined) {\n start = 0;\n }\n if (end === undefined) {\n end = target ? target.length : 0;\n }\n if (thisStart === undefined) {\n thisStart = 0;\n }\n if (thisEnd === undefined) {\n thisEnd = this.length;\n }\n if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {\n throw new RangeError('out of range index');\n }\n if (thisStart >= thisEnd && start >= end) {\n return 0;\n }\n if (thisStart >= thisEnd) {\n return -1;\n }\n if (start >= end) {\n return 1;\n }\n start >>>= 0;\n end >>>= 0;\n thisStart >>>= 0;\n thisEnd >>>= 0;\n if (this === target) return 0;\n var x = thisEnd - thisStart;\n var y = end - start;\n var len = Math.min(x, y);\n var thisCopy = this.slice(thisStart, thisEnd);\n var targetCopy = target.slice(start, end);\n for (var i = 0; i < len; ++i) {\n if (thisCopy[i] !== targetCopy[i]) {\n x = thisCopy[i];\n y = targetCopy[i];\n break;\n }\n }\n if (x < y) return -1;\n if (y < x) return 1;\n return 0;\n};\n\n// Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,\n// OR the last index of `val` in `buffer` at offset <= `byteOffset`.\n//\n// Arguments:\n// - buffer - a Buffer to search\n// - val - a string, Buffer, or number\n// - byteOffset - an index into `buffer`; will be clamped to an int32\n// - encoding - an optional encoding, relevant is val is a string\n// - dir - true for indexOf, false for lastIndexOf\nfunction bidirectionalIndexOf(buffer, val, byteOffset, encoding, dir) {\n // Empty buffer means no match\n if (buffer.length === 0) return -1;\n\n // Normalize byteOffset\n if (typeof byteOffset === 'string') {\n encoding = byteOffset;\n byteOffset = 0;\n } else if (byteOffset > 0x7fffffff) {\n byteOffset = 0x7fffffff;\n } else if (byteOffset < -0x80000000) {\n byteOffset = -0x80000000;\n }\n byteOffset = +byteOffset; // Coerce to Number.\n if (isNaN(byteOffset)) {\n // byteOffset: it it's undefined, null, NaN, \"foo\", etc, search whole buffer\n byteOffset = dir ? 0 : buffer.length - 1;\n }\n\n // Normalize byteOffset: negative offsets start from the end of the buffer\n if (byteOffset < 0) byteOffset = buffer.length + byteOffset;\n if (byteOffset >= buffer.length) {\n if (dir) return -1;else byteOffset = buffer.length - 1;\n } else if (byteOffset < 0) {\n if (dir) byteOffset = 0;else return -1;\n }\n\n // Normalize val\n if (typeof val === 'string') {\n val = Buffer.from(val, encoding);\n }\n\n // Finally, search either indexOf (if dir is true) or lastIndexOf\n if (Buffer.isBuffer(val)) {\n // Special case: looking for empty string/buffer always fails\n if (val.length === 0) {\n return -1;\n }\n return arrayIndexOf(buffer, val, byteOffset, encoding, dir);\n } else if (typeof val === 'number') {\n val = val & 0xFF; // Search for a byte value [0-255]\n if (Buffer.TYPED_ARRAY_SUPPORT && typeof Uint8Array.prototype.indexOf === 'function') {\n if (dir) {\n return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset);\n } else {\n return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset);\n }\n }\n return arrayIndexOf(buffer, [val], byteOffset, encoding, dir);\n }\n throw new TypeError('val must be string, number or Buffer');\n}\nfunction arrayIndexOf(arr, val, byteOffset, encoding, dir) {\n var indexSize = 1;\n var arrLength = arr.length;\n var valLength = val.length;\n if (encoding !== undefined) {\n encoding = String(encoding).toLowerCase();\n if (encoding === 'ucs2' || encoding === 'ucs-2' || encoding === 'utf16le' || encoding === 'utf-16le') {\n if (arr.length < 2 || val.length < 2) {\n return -1;\n }\n indexSize = 2;\n arrLength /= 2;\n valLength /= 2;\n byteOffset /= 2;\n }\n }\n function read(buf, i) {\n if (indexSize === 1) {\n return buf[i];\n } else {\n return buf.readUInt16BE(i * indexSize);\n }\n }\n var i;\n if (dir) {\n var foundIndex = -1;\n for (i = byteOffset; i < arrLength; i++) {\n if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {\n if (foundIndex === -1) foundIndex = i;\n if (i - foundIndex + 1 === valLength) return foundIndex * indexSize;\n } else {\n if (foundIndex !== -1) i -= i - foundIndex;\n foundIndex = -1;\n }\n }\n } else {\n if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength;\n for (i = byteOffset; i >= 0; i--) {\n var found = true;\n for (var j = 0; j < valLength; j++) {\n if (read(arr, i + j) !== read(val, j)) {\n found = false;\n break;\n }\n }\n if (found) return i;\n }\n }\n return -1;\n}\nBuffer.prototype.includes = function includes(val, byteOffset, encoding) {\n return this.indexOf(val, byteOffset, encoding) !== -1;\n};\nBuffer.prototype.indexOf = function indexOf(val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, true);\n};\nBuffer.prototype.lastIndexOf = function lastIndexOf(val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, false);\n};\nfunction hexWrite(buf, string, offset, length) {\n offset = Number(offset) || 0;\n var remaining = buf.length - offset;\n if (!length) {\n length = remaining;\n } else {\n length = Number(length);\n if (length > remaining) {\n length = remaining;\n }\n }\n\n // must be an even number of digits\n var strLen = string.length;\n if (strLen % 2 !== 0) throw new TypeError('Invalid hex string');\n if (length > strLen / 2) {\n length = strLen / 2;\n }\n for (var i = 0; i < length; ++i) {\n var parsed = parseInt(string.substr(i * 2, 2), 16);\n if (isNaN(parsed)) return i;\n buf[offset + i] = parsed;\n }\n return i;\n}\nfunction utf8Write(buf, string, offset, length) {\n return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length);\n}\nfunction asciiWrite(buf, string, offset, length) {\n return blitBuffer(asciiToBytes(string), buf, offset, length);\n}\nfunction latin1Write(buf, string, offset, length) {\n return asciiWrite(buf, string, offset, length);\n}\nfunction base64Write(buf, string, offset, length) {\n return blitBuffer(base64ToBytes(string), buf, offset, length);\n}\nfunction ucs2Write(buf, string, offset, length) {\n return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length);\n}\nBuffer.prototype.write = function write(string, offset, length, encoding) {\n // Buffer#write(string)\n if (offset === undefined) {\n encoding = 'utf8';\n length = this.length;\n offset = 0;\n // Buffer#write(string, encoding)\n } else if (length === undefined && typeof offset === 'string') {\n encoding = offset;\n length = this.length;\n offset = 0;\n // Buffer#write(string, offset[, length][, encoding])\n } else if (isFinite(offset)) {\n offset = offset | 0;\n if (isFinite(length)) {\n length = length | 0;\n if (encoding === undefined) encoding = 'utf8';\n } else {\n encoding = length;\n length = undefined;\n }\n // legacy write(string, encoding, offset, length) - remove in v0.13\n } else {\n throw new Error('Buffer.write(string, encoding, offset[, length]) is no longer supported');\n }\n var remaining = this.length - offset;\n if (length === undefined || length > remaining) length = remaining;\n if (string.length > 0 && (length < 0 || offset < 0) || offset > this.length) {\n throw new RangeError('Attempt to write outside buffer bounds');\n }\n if (!encoding) encoding = 'utf8';\n var loweredCase = false;\n for (;;) {\n switch (encoding) {\n case 'hex':\n return hexWrite(this, string, offset, length);\n case 'utf8':\n case 'utf-8':\n return utf8Write(this, string, offset, length);\n case 'ascii':\n return asciiWrite(this, string, offset, length);\n case 'latin1':\n case 'binary':\n return latin1Write(this, string, offset, length);\n case 'base64':\n // Warning: maxLength not taken into account in base64Write\n return base64Write(this, string, offset, length);\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return ucs2Write(this, string, offset, length);\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding);\n encoding = ('' + encoding).toLowerCase();\n loweredCase = true;\n }\n }\n};\nBuffer.prototype.toJSON = function toJSON() {\n return {\n type: 'Buffer',\n data: Array.prototype.slice.call(this._arr || this, 0)\n };\n};\nfunction base64Slice(buf, start, end) {\n if (start === 0 && end === buf.length) {\n return base64.fromByteArray(buf);\n } else {\n return base64.fromByteArray(buf.slice(start, end));\n }\n}\nfunction utf8Slice(buf, start, end) {\n end = Math.min(buf.length, end);\n var res = [];\n var i = start;\n while (i < end) {\n var firstByte = buf[i];\n var codePoint = null;\n var bytesPerSequence = firstByte > 0xEF ? 4 : firstByte > 0xDF ? 3 : firstByte > 0xBF ? 2 : 1;\n if (i + bytesPerSequence <= end) {\n var secondByte, thirdByte, fourthByte, tempCodePoint;\n switch (bytesPerSequence) {\n case 1:\n if (firstByte < 0x80) {\n codePoint = firstByte;\n }\n break;\n case 2:\n secondByte = buf[i + 1];\n if ((secondByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0x1F) << 0x6 | secondByte & 0x3F;\n if (tempCodePoint > 0x7F) {\n codePoint = tempCodePoint;\n }\n }\n break;\n case 3:\n secondByte = buf[i + 1];\n thirdByte = buf[i + 2];\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | thirdByte & 0x3F;\n if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {\n codePoint = tempCodePoint;\n }\n }\n break;\n case 4:\n secondByte = buf[i + 1];\n thirdByte = buf[i + 2];\n fourthByte = buf[i + 3];\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | fourthByte & 0x3F;\n if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {\n codePoint = tempCodePoint;\n }\n }\n }\n }\n if (codePoint === null) {\n // we did not generate a valid codePoint so insert a\n // replacement char (U+FFFD) and advance only 1 byte\n codePoint = 0xFFFD;\n bytesPerSequence = 1;\n } else if (codePoint > 0xFFFF) {\n // encode to utf16 (surrogate pair dance)\n codePoint -= 0x10000;\n res.push(codePoint >>> 10 & 0x3FF | 0xD800);\n codePoint = 0xDC00 | codePoint & 0x3FF;\n }\n res.push(codePoint);\n i += bytesPerSequence;\n }\n return decodeCodePointsArray(res);\n}\n\n// Based on http://stackoverflow.com/a/22747272/680742, the browser with\n// the lowest limit is Chrome, with 0x10000 args.\n// We go 1 magnitude less, for safety\nvar MAX_ARGUMENTS_LENGTH = 0x1000;\nfunction decodeCodePointsArray(codePoints) {\n var len = codePoints.length;\n if (len <= MAX_ARGUMENTS_LENGTH) {\n return String.fromCharCode.apply(String, codePoints); // avoid extra slice()\n }\n\n // Decode in chunks to avoid \"call stack size exceeded\".\n var res = '';\n var i = 0;\n while (i < len) {\n res += String.fromCharCode.apply(String, codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH));\n }\n return res;\n}\nfunction asciiSlice(buf, start, end) {\n var ret = '';\n end = Math.min(buf.length, end);\n for (var i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i] & 0x7F);\n }\n return ret;\n}\nfunction latin1Slice(buf, start, end) {\n var ret = '';\n end = Math.min(buf.length, end);\n for (var i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i]);\n }\n return ret;\n}\nfunction hexSlice(buf, start, end) {\n var len = buf.length;\n if (!start || start < 0) start = 0;\n if (!end || end < 0 || end > len) end = len;\n var out = '';\n for (var i = start; i < end; ++i) {\n out += toHex(buf[i]);\n }\n return out;\n}\nfunction utf16leSlice(buf, start, end) {\n var bytes = buf.slice(start, end);\n var res = '';\n for (var i = 0; i < bytes.length; i += 2) {\n res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256);\n }\n return res;\n}\nBuffer.prototype.slice = function slice(start, end) {\n var len = this.length;\n start = ~~start;\n end = end === undefined ? len : ~~end;\n if (start < 0) {\n start += len;\n if (start < 0) start = 0;\n } else if (start > len) {\n start = len;\n }\n if (end < 0) {\n end += len;\n if (end < 0) end = 0;\n } else if (end > len) {\n end = len;\n }\n if (end < start) end = start;\n var newBuf;\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n newBuf = this.subarray(start, end);\n newBuf.__proto__ = Buffer.prototype;\n } else {\n var sliceLen = end - start;\n newBuf = new Buffer(sliceLen, undefined);\n for (var i = 0; i < sliceLen; ++i) {\n newBuf[i] = this[i + start];\n }\n }\n return newBuf;\n};\n\n/*\n * Need to make sure that buffer isn't trying to write out of bounds.\n */\nfunction checkOffset(offset, ext, length) {\n if (offset % 1 !== 0 || offset < 0) throw new RangeError('offset is not uint');\n if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length');\n}\nBuffer.prototype.readUIntLE = function readUIntLE(offset, byteLength, noAssert) {\n offset = offset | 0;\n byteLength = byteLength | 0;\n if (!noAssert) checkOffset(offset, byteLength, this.length);\n var val = this[offset];\n var mul = 1;\n var i = 0;\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul;\n }\n return val;\n};\nBuffer.prototype.readUIntBE = function readUIntBE(offset, byteLength, noAssert) {\n offset = offset | 0;\n byteLength = byteLength | 0;\n if (!noAssert) {\n checkOffset(offset, byteLength, this.length);\n }\n var val = this[offset + --byteLength];\n var mul = 1;\n while (byteLength > 0 && (mul *= 0x100)) {\n val += this[offset + --byteLength] * mul;\n }\n return val;\n};\nBuffer.prototype.readUInt8 = function readUInt8(offset, noAssert) {\n if (!noAssert) checkOffset(offset, 1, this.length);\n return this[offset];\n};\nBuffer.prototype.readUInt16LE = function readUInt16LE(offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length);\n return this[offset] | this[offset + 1] << 8;\n};\nBuffer.prototype.readUInt16BE = function readUInt16BE(offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length);\n return this[offset] << 8 | this[offset + 1];\n};\nBuffer.prototype.readUInt32LE = function readUInt32LE(offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length);\n return (this[offset] | this[offset + 1] << 8 | this[offset + 2] << 16) + this[offset + 3] * 0x1000000;\n};\nBuffer.prototype.readUInt32BE = function readUInt32BE(offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length);\n return this[offset] * 0x1000000 + (this[offset + 1] << 16 | this[offset + 2] << 8 | this[offset + 3]);\n};\nBuffer.prototype.readIntLE = function readIntLE(offset, byteLength, noAssert) {\n offset = offset | 0;\n byteLength = byteLength | 0;\n if (!noAssert) checkOffset(offset, byteLength, this.length);\n var val = this[offset];\n var mul = 1;\n var i = 0;\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul;\n }\n mul *= 0x80;\n if (val >= mul) val -= Math.pow(2, 8 * byteLength);\n return val;\n};\nBuffer.prototype.readIntBE = function readIntBE(offset, byteLength, noAssert) {\n offset = offset | 0;\n byteLength = byteLength | 0;\n if (!noAssert) checkOffset(offset, byteLength, this.length);\n var i = byteLength;\n var mul = 1;\n var val = this[offset + --i];\n while (i > 0 && (mul *= 0x100)) {\n val += this[offset + --i] * mul;\n }\n mul *= 0x80;\n if (val >= mul) val -= Math.pow(2, 8 * byteLength);\n return val;\n};\nBuffer.prototype.readInt8 = function readInt8(offset, noAssert) {\n if (!noAssert) checkOffset(offset, 1, this.length);\n if (!(this[offset] & 0x80)) return this[offset];\n return (0xff - this[offset] + 1) * -1;\n};\nBuffer.prototype.readInt16LE = function readInt16LE(offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length);\n var val = this[offset] | this[offset + 1] << 8;\n return val & 0x8000 ? val | 0xFFFF0000 : val;\n};\nBuffer.prototype.readInt16BE = function readInt16BE(offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length);\n var val = this[offset + 1] | this[offset] << 8;\n return val & 0x8000 ? val | 0xFFFF0000 : val;\n};\nBuffer.prototype.readInt32LE = function readInt32LE(offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length);\n return this[offset] | this[offset + 1] << 8 | this[offset + 2] << 16 | this[offset + 3] << 24;\n};\nBuffer.prototype.readInt32BE = function readInt32BE(offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length);\n return this[offset] << 24 | this[offset + 1] << 16 | this[offset + 2] << 8 | this[offset + 3];\n};\nBuffer.prototype.readFloatLE = function readFloatLE(offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length);\n return ieee754.read(this, offset, true, 23, 4);\n};\nBuffer.prototype.readFloatBE = function readFloatBE(offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length);\n return ieee754.read(this, offset, false, 23, 4);\n};\nBuffer.prototype.readDoubleLE = function readDoubleLE(offset, noAssert) {\n if (!noAssert) checkOffset(offset, 8, this.length);\n return ieee754.read(this, offset, true, 52, 8);\n};\nBuffer.prototype.readDoubleBE = function readDoubleBE(offset, noAssert) {\n if (!noAssert) checkOffset(offset, 8, this.length);\n return ieee754.read(this, offset, false, 52, 8);\n};\nfunction checkInt(buf, value, offset, ext, max, min) {\n if (!Buffer.isBuffer(buf)) throw new TypeError('\"buffer\" argument must be a Buffer instance');\n if (value > max || value < min) throw new RangeError('\"value\" argument is out of bounds');\n if (offset + ext > buf.length) throw new RangeError('Index out of range');\n}\nBuffer.prototype.writeUIntLE = function writeUIntLE(value, offset, byteLength, noAssert) {\n value = +value;\n offset = offset | 0;\n byteLength = byteLength | 0;\n if (!noAssert) {\n var maxBytes = Math.pow(2, 8 * byteLength) - 1;\n checkInt(this, value, offset, byteLength, maxBytes, 0);\n }\n var mul = 1;\n var i = 0;\n this[offset] = value & 0xFF;\n while (++i < byteLength && (mul *= 0x100)) {\n this[offset + i] = value / mul & 0xFF;\n }\n return offset + byteLength;\n};\nBuffer.prototype.writeUIntBE = function writeUIntBE(value, offset, byteLength, noAssert) {\n value = +value;\n offset = offset | 0;\n byteLength = byteLength | 0;\n if (!noAssert) {\n var maxBytes = Math.pow(2, 8 * byteLength) - 1;\n checkInt(this, value, offset, byteLength, maxBytes, 0);\n }\n var i = byteLength - 1;\n var mul = 1;\n this[offset + i] = value & 0xFF;\n while (--i >= 0 && (mul *= 0x100)) {\n this[offset + i] = value / mul & 0xFF;\n }\n return offset + byteLength;\n};\nBuffer.prototype.writeUInt8 = function writeUInt8(value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0);\n if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value);\n this[offset] = value & 0xff;\n return offset + 1;\n};\nfunction objectWriteUInt16(buf, value, offset, littleEndian) {\n if (value < 0) value = 0xffff + value + 1;\n for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; ++i) {\n buf[offset + i] = (value & 0xff << 8 * (littleEndian ? i : 1 - i)) >>> (littleEndian ? i : 1 - i) * 8;\n }\n}\nBuffer.prototype.writeUInt16LE = function writeUInt16LE(value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0);\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = value & 0xff;\n this[offset + 1] = value >>> 8;\n } else {\n objectWriteUInt16(this, value, offset, true);\n }\n return offset + 2;\n};\nBuffer.prototype.writeUInt16BE = function writeUInt16BE(value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0);\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = value >>> 8;\n this[offset + 1] = value & 0xff;\n } else {\n objectWriteUInt16(this, value, offset, false);\n }\n return offset + 2;\n};\nfunction objectWriteUInt32(buf, value, offset, littleEndian) {\n if (value < 0) value = 0xffffffff + value + 1;\n for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; ++i) {\n buf[offset + i] = value >>> (littleEndian ? i : 3 - i) * 8 & 0xff;\n }\n}\nBuffer.prototype.writeUInt32LE = function writeUInt32LE(value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0);\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset + 3] = value >>> 24;\n this[offset + 2] = value >>> 16;\n this[offset + 1] = value >>> 8;\n this[offset] = value & 0xff;\n } else {\n objectWriteUInt32(this, value, offset, true);\n }\n return offset + 4;\n};\nBuffer.prototype.writeUInt32BE = function writeUInt32BE(value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0);\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = value >>> 24;\n this[offset + 1] = value >>> 16;\n this[offset + 2] = value >>> 8;\n this[offset + 3] = value & 0xff;\n } else {\n objectWriteUInt32(this, value, offset, false);\n }\n return offset + 4;\n};\nBuffer.prototype.writeIntLE = function writeIntLE(value, offset, byteLength, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) {\n var limit = Math.pow(2, 8 * byteLength - 1);\n checkInt(this, value, offset, byteLength, limit - 1, -limit);\n }\n var i = 0;\n var mul = 1;\n var sub = 0;\n this[offset] = value & 0xFF;\n while (++i < byteLength && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {\n sub = 1;\n }\n this[offset + i] = (value / mul >> 0) - sub & 0xFF;\n }\n return offset + byteLength;\n};\nBuffer.prototype.writeIntBE = function writeIntBE(value, offset, byteLength, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) {\n var limit = Math.pow(2, 8 * byteLength - 1);\n checkInt(this, value, offset, byteLength, limit - 1, -limit);\n }\n var i = byteLength - 1;\n var mul = 1;\n var sub = 0;\n this[offset + i] = value & 0xFF;\n while (--i >= 0 && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {\n sub = 1;\n }\n this[offset + i] = (value / mul >> 0) - sub & 0xFF;\n }\n return offset + byteLength;\n};\nBuffer.prototype.writeInt8 = function writeInt8(value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80);\n if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value);\n if (value < 0) value = 0xff + value + 1;\n this[offset] = value & 0xff;\n return offset + 1;\n};\nBuffer.prototype.writeInt16LE = function writeInt16LE(value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000);\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = value & 0xff;\n this[offset + 1] = value >>> 8;\n } else {\n objectWriteUInt16(this, value, offset, true);\n }\n return offset + 2;\n};\nBuffer.prototype.writeInt16BE = function writeInt16BE(value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000);\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = value >>> 8;\n this[offset + 1] = value & 0xff;\n } else {\n objectWriteUInt16(this, value, offset, false);\n }\n return offset + 2;\n};\nBuffer.prototype.writeInt32LE = function writeInt32LE(value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000);\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = value & 0xff;\n this[offset + 1] = value >>> 8;\n this[offset + 2] = value >>> 16;\n this[offset + 3] = value >>> 24;\n } else {\n objectWriteUInt32(this, value, offset, true);\n }\n return offset + 4;\n};\nBuffer.prototype.writeInt32BE = function writeInt32BE(value, offset, noAssert) {\n value = +value;\n offset = offset | 0;\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000);\n if (value < 0) value = 0xffffffff + value + 1;\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = value >>> 24;\n this[offset + 1] = value >>> 16;\n this[offset + 2] = value >>> 8;\n this[offset + 3] = value & 0xff;\n } else {\n objectWriteUInt32(this, value, offset, false);\n }\n return offset + 4;\n};\nfunction checkIEEE754(buf, value, offset, ext, max, min) {\n if (offset + ext > buf.length) throw new RangeError('Index out of range');\n if (offset < 0) throw new RangeError('Index out of range');\n}\nfunction writeFloat(buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38);\n }\n ieee754.write(buf, value, offset, littleEndian, 23, 4);\n return offset + 4;\n}\nBuffer.prototype.writeFloatLE = function writeFloatLE(value, offset, noAssert) {\n return writeFloat(this, value, offset, true, noAssert);\n};\nBuffer.prototype.writeFloatBE = function writeFloatBE(value, offset, noAssert) {\n return writeFloat(this, value, offset, false, noAssert);\n};\nfunction writeDouble(buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308);\n }\n ieee754.write(buf, value, offset, littleEndian, 52, 8);\n return offset + 8;\n}\nBuffer.prototype.writeDoubleLE = function writeDoubleLE(value, offset, noAssert) {\n return writeDouble(this, value, offset, true, noAssert);\n};\nBuffer.prototype.writeDoubleBE = function writeDoubleBE(value, offset, noAssert) {\n return writeDouble(this, value, offset, false, noAssert);\n};\n\n// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)\nBuffer.prototype.copy = function copy(target, targetStart, start, end) {\n if (!start) start = 0;\n if (!end && end !== 0) end = this.length;\n if (targetStart >= target.length) targetStart = target.length;\n if (!targetStart) targetStart = 0;\n if (end > 0 && end < start) end = start;\n\n // Copy 0 bytes; we're done\n if (end === start) return 0;\n if (target.length === 0 || this.length === 0) return 0;\n\n // Fatal error conditions\n if (targetStart < 0) {\n throw new RangeError('targetStart out of bounds');\n }\n if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds');\n if (end < 0) throw new RangeError('sourceEnd out of bounds');\n\n // Are we oob?\n if (end > this.length) end = this.length;\n if (target.length - targetStart < end - start) {\n end = target.length - targetStart + start;\n }\n var len = end - start;\n var i;\n if (this === target && start < targetStart && targetStart < end) {\n // descending copy from end\n for (i = len - 1; i >= 0; --i) {\n target[i + targetStart] = this[i + start];\n }\n } else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) {\n // ascending copy from start\n for (i = 0; i < len; ++i) {\n target[i + targetStart] = this[i + start];\n }\n } else {\n Uint8Array.prototype.set.call(target, this.subarray(start, start + len), targetStart);\n }\n return len;\n};\n\n// Usage:\n// buffer.fill(number[, offset[, end]])\n// buffer.fill(buffer[, offset[, end]])\n// buffer.fill(string[, offset[, end]][, encoding])\nBuffer.prototype.fill = function fill(val, start, end, encoding) {\n // Handle string cases:\n if (typeof val === 'string') {\n if (typeof start === 'string') {\n encoding = start;\n start = 0;\n end = this.length;\n } else if (typeof end === 'string') {\n encoding = end;\n end = this.length;\n }\n if (val.length === 1) {\n var code = val.charCodeAt(0);\n if (code < 256) {\n val = code;\n }\n }\n if (encoding !== undefined && typeof encoding !== 'string') {\n throw new TypeError('encoding must be a string');\n }\n if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) {\n throw new TypeError('Unknown encoding: ' + encoding);\n }\n } else if (typeof val === 'number') {\n val = val & 255;\n }\n\n // Invalid ranges are not set to a default, so can range check early.\n if (start < 0 || this.length < start || this.length < end) {\n throw new RangeError('Out of range index');\n }\n if (end <= start) {\n return this;\n }\n start = start >>> 0;\n end = end === undefined ? this.length : end >>> 0;\n if (!val) val = 0;\n var i;\n if (typeof val === 'number') {\n for (i = start; i < end; ++i) {\n this[i] = val;\n }\n } else {\n var bytes = Buffer.isBuffer(val) ? val : utf8ToBytes(new Buffer(val, encoding).toString());\n var len = bytes.length;\n for (i = 0; i < end - start; ++i) {\n this[i + start] = bytes[i % len];\n }\n }\n return this;\n};\n\n// HELPER FUNCTIONS\n// ================\n\nvar INVALID_BASE64_RE = /[^+\\/0-9A-Za-z-_]/g;\nfunction base64clean(str) {\n // Node strips out invalid characters like \\n and \\t from the string, base64-js does not\n str = stringtrim(str).replace(INVALID_BASE64_RE, '');\n // Node converts strings with length < 2 to ''\n if (str.length < 2) return '';\n // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not\n while (str.length % 4 !== 0) {\n str = str + '=';\n }\n return str;\n}\nfunction stringtrim(str) {\n if (str.trim) return str.trim();\n return str.replace(/^\\s+|\\s+$/g, '');\n}\nfunction toHex(n) {\n if (n < 16) return '0' + n.toString(16);\n return n.toString(16);\n}\nfunction utf8ToBytes(string, units) {\n units = units || Infinity;\n var codePoint;\n var length = string.length;\n var leadSurrogate = null;\n var bytes = [];\n for (var i = 0; i < length; ++i) {\n codePoint = string.charCodeAt(i);\n\n // is surrogate component\n if (codePoint > 0xD7FF && codePoint < 0xE000) {\n // last char was a lead\n if (!leadSurrogate) {\n // no lead yet\n if (codePoint > 0xDBFF) {\n // unexpected trail\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD);\n continue;\n } else if (i + 1 === length) {\n // unpaired lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD);\n continue;\n }\n\n // valid lead\n leadSurrogate = codePoint;\n continue;\n }\n\n // 2 leads in a row\n if (codePoint < 0xDC00) {\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD);\n leadSurrogate = codePoint;\n continue;\n }\n\n // valid surrogate pair\n codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000;\n } else if (leadSurrogate) {\n // valid bmp char, but last char was a lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD);\n }\n leadSurrogate = null;\n\n // encode utf8\n if (codePoint < 0x80) {\n if ((units -= 1) < 0) break;\n bytes.push(codePoint);\n } else if (codePoint < 0x800) {\n if ((units -= 2) < 0) break;\n bytes.push(codePoint >> 0x6 | 0xC0, codePoint & 0x3F | 0x80);\n } else if (codePoint < 0x10000) {\n if ((units -= 3) < 0) break;\n bytes.push(codePoint >> 0xC | 0xE0, codePoint >> 0x6 & 0x3F | 0x80, codePoint & 0x3F | 0x80);\n } else if (codePoint < 0x110000) {\n if ((units -= 4) < 0) break;\n bytes.push(codePoint >> 0x12 | 0xF0, codePoint >> 0xC & 0x3F | 0x80, codePoint >> 0x6 & 0x3F | 0x80, codePoint & 0x3F | 0x80);\n } else {\n throw new Error('Invalid code point');\n }\n }\n return bytes;\n}\nfunction asciiToBytes(str) {\n var byteArray = [];\n for (var i = 0; i < str.length; ++i) {\n // Node's code seems to be doing this and not & 0x7F..\n byteArray.push(str.charCodeAt(i) & 0xFF);\n }\n return byteArray;\n}\nfunction utf16leToBytes(str, units) {\n var c, hi, lo;\n var byteArray = [];\n for (var i = 0; i < str.length; ++i) {\n if ((units -= 2) < 0) break;\n c = str.charCodeAt(i);\n hi = c >> 8;\n lo = c % 256;\n byteArray.push(lo);\n byteArray.push(hi);\n }\n return byteArray;\n}\nfunction base64ToBytes(str) {\n return base64.toByteArray(base64clean(str));\n}\nfunction blitBuffer(src, dst, offset, length) {\n for (var i = 0; i < length; ++i) {\n if (i + offset >= dst.length || i >= src.length) break;\n dst[i + offset] = src[i];\n }\n return i;\n}\nfunction isnan(val) {\n return val !== val; // eslint-disable-line no-self-compare\n}","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../../node_modules/css-loader/dist/cjs.js??ref--3-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--3-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--3-3!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Branding.vue?vue&type=style&index=0&id=448a7326&prod&scoped=true&lang=scss\"","import getTime from \"../getTime/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name getUnixTime\n * @category Timestamp Helpers\n * @summary Get the seconds timestamp of the given date.\n *\n * @description\n * Get the seconds timestamp of the given date.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the given date\n * @returns {Number} the timestamp\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // Get the timestamp of 29 February 2012 11:45:05 CET:\n * const result = getUnixTime(new Date(2012, 1, 29, 11, 45, 5))\n * //=> 1330512305\n */\n\nexport default function getUnixTime(dirtyDate) {\n requiredArgs(1, arguments);\n return Math.floor(getTime(dirtyDate) / 1000);\n}","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name getTime\n * @category Timestamp Helpers\n * @summary Get the milliseconds timestamp of the given date.\n *\n * @description\n * Get the milliseconds timestamp of the given date.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the given date\n * @returns {Number} the timestamp\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // Get the timestamp of 29 February 2012 11:45:05.123:\n * const result = getTime(new Date(2012, 1, 29, 11, 45, 5, 123))\n * //=> 1330515905123\n */\n\nexport default function getTime(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n var timestamp = date.getTime();\n return timestamp;\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = getTimezoneOffsetInMilliseconds;\n\n/**\n * Google Chrome as of 67.0.3396.87 introduced timezones with offset that includes seconds.\n * They usually appear for dates that denote time before the timezones were introduced\n * (e.g. for 'Europe/Prague' timezone the offset is GMT+00:57:44 before 1 October 1891\n * and GMT+01:00:00 after that date)\n *\n * Date#getTimezoneOffset returns the offset in minutes and would return 57 for the example above,\n * which would lead to incorrect calculations.\n *\n * This function returns the timezone offset in milliseconds that takes seconds in account.\n */\nfunction getTimezoneOffsetInMilliseconds(date) {\n var utcDate = new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds()));\n utcDate.setUTCFullYear(date.getFullYear());\n return date.getTime() - utcDate.getTime();\n}\nmodule.exports = exports.default;","'use strict';\n\nexports.byteLength = byteLength;\nexports.toByteArray = toByteArray;\nexports.fromByteArray = fromByteArray;\nvar lookup = [];\nvar revLookup = [];\nvar Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array;\nvar code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';\nfor (var i = 0, len = code.length; i < len; ++i) {\n lookup[i] = code[i];\n revLookup[code.charCodeAt(i)] = i;\n}\n\n// Support decoding URL-safe base64 strings, as Node.js does.\n// See: https://en.wikipedia.org/wiki/Base64#URL_applications\nrevLookup['-'.charCodeAt(0)] = 62;\nrevLookup['_'.charCodeAt(0)] = 63;\nfunction getLens(b64) {\n var len = b64.length;\n if (len % 4 > 0) {\n throw new Error('Invalid string. Length must be a multiple of 4');\n }\n\n // Trim off extra bytes after placeholder bytes are found\n // See: https://github.com/beatgammit/base64-js/issues/42\n var validLen = b64.indexOf('=');\n if (validLen === -1) validLen = len;\n var placeHoldersLen = validLen === len ? 0 : 4 - validLen % 4;\n return [validLen, placeHoldersLen];\n}\n\n// base64 is 4/3 + up to two characters of the original data\nfunction byteLength(b64) {\n var lens = getLens(b64);\n var validLen = lens[0];\n var placeHoldersLen = lens[1];\n return (validLen + placeHoldersLen) * 3 / 4 - placeHoldersLen;\n}\nfunction _byteLength(b64, validLen, placeHoldersLen) {\n return (validLen + placeHoldersLen) * 3 / 4 - placeHoldersLen;\n}\nfunction toByteArray(b64) {\n var tmp;\n var lens = getLens(b64);\n var validLen = lens[0];\n var placeHoldersLen = lens[1];\n var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen));\n var curByte = 0;\n\n // if there are placeholders, only get up to the last complete 4 chars\n var len = placeHoldersLen > 0 ? validLen - 4 : validLen;\n var i;\n for (i = 0; i < len; i += 4) {\n tmp = revLookup[b64.charCodeAt(i)] << 18 | revLookup[b64.charCodeAt(i + 1)] << 12 | revLookup[b64.charCodeAt(i + 2)] << 6 | revLookup[b64.charCodeAt(i + 3)];\n arr[curByte++] = tmp >> 16 & 0xFF;\n arr[curByte++] = tmp >> 8 & 0xFF;\n arr[curByte++] = tmp & 0xFF;\n }\n if (placeHoldersLen === 2) {\n tmp = revLookup[b64.charCodeAt(i)] << 2 | revLookup[b64.charCodeAt(i + 1)] >> 4;\n arr[curByte++] = tmp & 0xFF;\n }\n if (placeHoldersLen === 1) {\n tmp = revLookup[b64.charCodeAt(i)] << 10 | revLookup[b64.charCodeAt(i + 1)] << 4 | revLookup[b64.charCodeAt(i + 2)] >> 2;\n arr[curByte++] = tmp >> 8 & 0xFF;\n arr[curByte++] = tmp & 0xFF;\n }\n return arr;\n}\nfunction tripletToBase64(num) {\n return lookup[num >> 18 & 0x3F] + lookup[num >> 12 & 0x3F] + lookup[num >> 6 & 0x3F] + lookup[num & 0x3F];\n}\nfunction encodeChunk(uint8, start, end) {\n var tmp;\n var output = [];\n for (var i = start; i < end; i += 3) {\n tmp = (uint8[i] << 16 & 0xFF0000) + (uint8[i + 1] << 8 & 0xFF00) + (uint8[i + 2] & 0xFF);\n output.push(tripletToBase64(tmp));\n }\n return output.join('');\n}\nfunction fromByteArray(uint8) {\n var tmp;\n var len = uint8.length;\n var extraBytes = len % 3; // if we have 1 byte left, pad 2 bytes\n var parts = [];\n var maxChunkLength = 16383; // must be multiple of 3\n\n // go through the array every three bytes, we'll deal with trailing stuff later\n for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {\n parts.push(encodeChunk(uint8, i, i + maxChunkLength > len2 ? len2 : i + maxChunkLength));\n }\n\n // pad the end with zeros, but make sure to not forget the extra bytes\n if (extraBytes === 1) {\n tmp = uint8[len - 1];\n parts.push(lookup[tmp >> 2] + lookup[tmp << 4 & 0x3F] + '==');\n } else if (extraBytes === 2) {\n tmp = (uint8[len - 2] << 8) + uint8[len - 1];\n parts.push(lookup[tmp >> 10] + lookup[tmp >> 4 & 0x3F] + lookup[tmp << 2 & 0x3F] + '=');\n }\n return parts.join('');\n}","import isSameDay from \"../isSameDay/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name isToday\n * @category Day Helpers\n * @summary Is the given date today?\n * @pure false\n *\n * @description\n * Is the given date today?\n *\n * > ⚠️ Please note that this function is not present in the FP submodule as\n * > it uses `Date.now()` internally hence impure and can't be safely curried.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the date to check\n * @returns {Boolean} the date is today\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // If today is 6 October 2014, is 6 October 14:00:00 today?\n * var result = isToday(new Date(2014, 9, 6, 14, 0))\n * //=> true\n */\n\nexport default function isToday(dirtyDate) {\n requiredArgs(1, arguments);\n return isSameDay(dirtyDate, Date.now());\n}","/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */\nexports.read = function (buffer, offset, isLE, mLen, nBytes) {\n var e, m;\n var eLen = nBytes * 8 - mLen - 1;\n var eMax = (1 << eLen) - 1;\n var eBias = eMax >> 1;\n var nBits = -7;\n var i = isLE ? nBytes - 1 : 0;\n var d = isLE ? -1 : 1;\n var s = buffer[offset + i];\n i += d;\n e = s & (1 << -nBits) - 1;\n s >>= -nBits;\n nBits += eLen;\n for (; nBits > 0; e = e * 256 + buffer[offset + i], i += d, nBits -= 8) {}\n m = e & (1 << -nBits) - 1;\n e >>= -nBits;\n nBits += mLen;\n for (; nBits > 0; m = m * 256 + buffer[offset + i], i += d, nBits -= 8) {}\n if (e === 0) {\n e = 1 - eBias;\n } else if (e === eMax) {\n return m ? NaN : (s ? -1 : 1) * Infinity;\n } else {\n m = m + Math.pow(2, mLen);\n e = e - eBias;\n }\n return (s ? -1 : 1) * m * Math.pow(2, e - mLen);\n};\nexports.write = function (buffer, value, offset, isLE, mLen, nBytes) {\n var e, m, c;\n var eLen = nBytes * 8 - mLen - 1;\n var eMax = (1 << eLen) - 1;\n var eBias = eMax >> 1;\n var rt = mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0;\n var i = isLE ? 0 : nBytes - 1;\n var d = isLE ? 1 : -1;\n var s = value < 0 || value === 0 && 1 / value < 0 ? 1 : 0;\n value = Math.abs(value);\n if (isNaN(value) || value === Infinity) {\n m = isNaN(value) ? 1 : 0;\n e = eMax;\n } else {\n e = Math.floor(Math.log(value) / Math.LN2);\n if (value * (c = Math.pow(2, -e)) < 1) {\n e--;\n c *= 2;\n }\n if (e + eBias >= 1) {\n value += rt / c;\n } else {\n value += rt * Math.pow(2, 1 - eBias);\n }\n if (value * c >= 2) {\n e++;\n c /= 2;\n }\n if (e + eBias >= eMax) {\n m = 0;\n e = eMax;\n } else if (e + eBias >= 1) {\n m = (value * c - 1) * Math.pow(2, mLen);\n e = e + eBias;\n } else {\n m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen);\n e = 0;\n }\n }\n for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}\n e = e << mLen | m;\n eLen += mLen;\n for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}\n buffer[offset + i - d] |= s * 128;\n};","var toString = {}.toString;\nmodule.exports = Array.isArray || function (arr) {\n return toString.call(arr) == '[object Array]';\n};","// src/path-to-regex-modified.ts\nvar regexIdentifierStart = /[$_\\p{ID_Start}]/u;\nvar regexIdentifierPart = /[$_\\u200C\\u200D\\p{ID_Continue}]/u;\nfunction isASCII(str, extended) {\n return (extended ? /^[\\x00-\\xFF]*$/ : /^[\\x00-\\x7F]*$/).test(str);\n}\nfunction lexer(str) {\n let lenient = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n const tokens = [];\n let i = 0;\n while (i < str.length) {\n const char = str[i];\n const ErrorOrInvalid = function (msg) {\n if (!lenient) throw new TypeError(msg);\n tokens.push({\n type: \"INVALID_CHAR\",\n index: i,\n value: str[i++]\n });\n };\n if (char === \"*\") {\n tokens.push({\n type: \"ASTERISK\",\n index: i,\n value: str[i++]\n });\n continue;\n }\n if (char === \"+\" || char === \"?\") {\n tokens.push({\n type: \"MODIFIER\",\n index: i,\n value: str[i++]\n });\n continue;\n }\n if (char === \"\\\\\") {\n tokens.push({\n type: \"ESCAPED_CHAR\",\n index: i++,\n value: str[i++]\n });\n continue;\n }\n if (char === \"{\") {\n tokens.push({\n type: \"OPEN\",\n index: i,\n value: str[i++]\n });\n continue;\n }\n if (char === \"}\") {\n tokens.push({\n type: \"CLOSE\",\n index: i,\n value: str[i++]\n });\n continue;\n }\n if (char === \":\") {\n let name = \"\";\n let j = i + 1;\n while (j < str.length) {\n const code = str.substr(j, 1);\n if (j === i + 1 && regexIdentifierStart.test(code) || j !== i + 1 && regexIdentifierPart.test(code)) {\n name += str[j++];\n continue;\n }\n break;\n }\n if (!name) {\n ErrorOrInvalid(`Missing parameter name at ${i}`);\n continue;\n }\n tokens.push({\n type: \"NAME\",\n index: i,\n value: name\n });\n i = j;\n continue;\n }\n if (char === \"(\") {\n let count = 1;\n let pattern = \"\";\n let j = i + 1;\n let error = false;\n if (str[j] === \"?\") {\n ErrorOrInvalid(`Pattern cannot start with \"?\" at ${j}`);\n continue;\n }\n while (j < str.length) {\n if (!isASCII(str[j], false)) {\n ErrorOrInvalid(`Invalid character '${str[j]}' at ${j}.`);\n error = true;\n break;\n }\n if (str[j] === \"\\\\\") {\n pattern += str[j++] + str[j++];\n continue;\n }\n if (str[j] === \")\") {\n count--;\n if (count === 0) {\n j++;\n break;\n }\n } else if (str[j] === \"(\") {\n count++;\n if (str[j + 1] !== \"?\") {\n ErrorOrInvalid(`Capturing groups are not allowed at ${j}`);\n error = true;\n break;\n }\n }\n pattern += str[j++];\n }\n if (error) {\n continue;\n }\n if (count) {\n ErrorOrInvalid(`Unbalanced pattern at ${i}`);\n continue;\n }\n if (!pattern) {\n ErrorOrInvalid(`Missing pattern at ${i}`);\n continue;\n }\n tokens.push({\n type: \"PATTERN\",\n index: i,\n value: pattern\n });\n i = j;\n continue;\n }\n tokens.push({\n type: \"CHAR\",\n index: i,\n value: str[i++]\n });\n }\n tokens.push({\n type: \"END\",\n index: i,\n value: \"\"\n });\n return tokens;\n}\nfunction parse(str) {\n let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n const tokens = lexer(str);\n const {\n prefixes = \"./\"\n } = options;\n const defaultPattern = `[^${escapeString(options.delimiter === void 0 ? \"/#?\" : options.delimiter)}]+?`;\n const result = [];\n let key = 0;\n let i = 0;\n let path = \"\";\n let nameSet = /* @__PURE__ */new Set();\n const tryConsume = type => {\n if (i < tokens.length && tokens[i].type === type) return tokens[i++].value;\n };\n const tryConsumeModifier = () => {\n const r = tryConsume(\"MODIFIER\");\n if (r) {\n return r;\n }\n return tryConsume(\"ASTERISK\");\n };\n const mustConsume = type => {\n const value = tryConsume(type);\n if (value !== void 0) return value;\n const {\n type: nextType,\n index\n } = tokens[i];\n throw new TypeError(`Unexpected ${nextType} at ${index}, expected ${type}`);\n };\n const consumeText = () => {\n let result2 = \"\";\n let value;\n while (value = tryConsume(\"CHAR\") || tryConsume(\"ESCAPED_CHAR\")) {\n result2 += value;\n }\n return result2;\n };\n const DefaultEncodePart = value => {\n return value;\n };\n const encodePart = options.encodePart || DefaultEncodePart;\n while (i < tokens.length) {\n const char = tryConsume(\"CHAR\");\n const name = tryConsume(\"NAME\");\n let pattern = tryConsume(\"PATTERN\");\n if (!name && !pattern && tryConsume(\"ASTERISK\")) {\n pattern = \".*\";\n }\n if (name || pattern) {\n let prefix = char || \"\";\n if (prefixes.indexOf(prefix) === -1) {\n path += prefix;\n prefix = \"\";\n }\n if (path) {\n result.push(encodePart(path));\n path = \"\";\n }\n const finalName = name || key++;\n if (nameSet.has(finalName)) {\n throw new TypeError(`Duplicate name '${finalName}'.`);\n }\n nameSet.add(finalName);\n result.push({\n name: finalName,\n prefix: encodePart(prefix),\n suffix: \"\",\n pattern: pattern || defaultPattern,\n modifier: tryConsumeModifier() || \"\"\n });\n continue;\n }\n const value = char || tryConsume(\"ESCAPED_CHAR\");\n if (value) {\n path += value;\n continue;\n }\n const open = tryConsume(\"OPEN\");\n if (open) {\n const prefix = consumeText();\n const name2 = tryConsume(\"NAME\") || \"\";\n let pattern2 = tryConsume(\"PATTERN\") || \"\";\n if (!name2 && !pattern2 && tryConsume(\"ASTERISK\")) {\n pattern2 = \".*\";\n }\n const suffix = consumeText();\n mustConsume(\"CLOSE\");\n const modifier = tryConsumeModifier() || \"\";\n if (!name2 && !pattern2 && !modifier) {\n path += prefix;\n continue;\n }\n if (!name2 && !pattern2 && !prefix) {\n continue;\n }\n if (path) {\n result.push(encodePart(path));\n path = \"\";\n }\n result.push({\n name: name2 || (pattern2 ? key++ : \"\"),\n pattern: name2 && !pattern2 ? defaultPattern : pattern2,\n prefix: encodePart(prefix),\n suffix: encodePart(suffix),\n modifier\n });\n continue;\n }\n if (path) {\n result.push(encodePart(path));\n path = \"\";\n }\n mustConsume(\"END\");\n }\n return result;\n}\nfunction escapeString(str) {\n return str.replace(/([.+*?^${}()[\\]|/\\\\])/g, \"\\\\$1\");\n}\nfunction flags(options) {\n return options && options.ignoreCase ? \"ui\" : \"u\";\n}\nfunction regexpToRegexp(path, keys) {\n if (!keys) return path;\n const groupsRegex = /\\((?:\\?<(.*?)>)?(?!\\?)/g;\n let index = 0;\n let execResult = groupsRegex.exec(path.source);\n while (execResult) {\n keys.push({\n name: execResult[1] || index++,\n prefix: \"\",\n suffix: \"\",\n modifier: \"\",\n pattern: \"\"\n });\n execResult = groupsRegex.exec(path.source);\n }\n return path;\n}\nfunction arrayToRegexp(paths, keys, options) {\n const parts = paths.map(path => pathToRegexp(path, keys, options).source);\n return new RegExp(`(?:${parts.join(\"|\")})`, flags(options));\n}\nfunction stringToRegexp(path, keys, options) {\n return tokensToRegexp(parse(path, options), keys, options);\n}\nfunction tokensToRegexp(tokens, keys) {\n let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n const {\n strict = false,\n start = true,\n end = true,\n encode = x => x\n } = options;\n const endsWith = `[${escapeString(options.endsWith === void 0 ? \"\" : options.endsWith)}]|$`;\n const delimiter = `[${escapeString(options.delimiter === void 0 ? \"/#?\" : options.delimiter)}]`;\n let route = start ? \"^\" : \"\";\n for (const token of tokens) {\n if (typeof token === \"string\") {\n route += escapeString(encode(token));\n } else {\n const prefix = escapeString(encode(token.prefix));\n const suffix = escapeString(encode(token.suffix));\n if (token.pattern) {\n if (keys) keys.push(token);\n if (prefix || suffix) {\n if (token.modifier === \"+\" || token.modifier === \"*\") {\n const mod = token.modifier === \"*\" ? \"?\" : \"\";\n route += `(?:${prefix}((?:${token.pattern})(?:${suffix}${prefix}(?:${token.pattern}))*)${suffix})${mod}`;\n } else {\n route += `(?:${prefix}(${token.pattern})${suffix})${token.modifier}`;\n }\n } else {\n if (token.modifier === \"+\" || token.modifier === \"*\") {\n route += `((?:${token.pattern})${token.modifier})`;\n } else {\n route += `(${token.pattern})${token.modifier}`;\n }\n }\n } else {\n route += `(?:${prefix}${suffix})${token.modifier}`;\n }\n }\n }\n if (end) {\n if (!strict) route += `${delimiter}?`;\n route += !options.endsWith ? \"$\" : `(?=${endsWith})`;\n } else {\n const endToken = tokens[tokens.length - 1];\n const isEndDelimited = typeof endToken === \"string\" ? delimiter.indexOf(endToken[endToken.length - 1]) > -1 : endToken === void 0;\n if (!strict) {\n route += `(?:${delimiter}(?=${endsWith}))?`;\n }\n if (!isEndDelimited) {\n route += `(?=${delimiter}|${endsWith})`;\n }\n }\n return new RegExp(route, flags(options));\n}\nfunction pathToRegexp(path, keys, options) {\n if (path instanceof RegExp) return regexpToRegexp(path, keys);\n if (Array.isArray(path)) return arrayToRegexp(path, keys, options);\n return stringToRegexp(path, keys, options);\n}\n\n// src/url-utils.ts\nvar DEFAULT_OPTIONS = {\n delimiter: \"\",\n prefixes: \"\",\n sensitive: true,\n strict: true\n};\nvar HOSTNAME_OPTIONS = {\n delimiter: \".\",\n prefixes: \"\",\n sensitive: true,\n strict: true\n};\nvar PATHNAME_OPTIONS = {\n delimiter: \"/\",\n prefixes: \"/\",\n sensitive: true,\n strict: true\n};\nfunction isAbsolutePathname(pathname, isPattern) {\n if (!pathname.length) {\n return false;\n }\n if (pathname[0] === \"/\") {\n return true;\n }\n if (!isPattern) {\n return false;\n }\n if (pathname.length < 2) {\n return false;\n }\n if ((pathname[0] == \"\\\\\" || pathname[0] == \"{\") && pathname[1] == \"/\") {\n return true;\n }\n return false;\n}\nfunction maybeStripPrefix(value, prefix) {\n if (value.startsWith(prefix)) {\n return value.substring(prefix.length, value.length);\n }\n return value;\n}\nfunction maybeStripSuffix(value, suffix) {\n if (value.endsWith(suffix)) {\n return value.substr(0, value.length - suffix.length);\n }\n return value;\n}\nfunction treatAsIPv6Hostname(value) {\n if (!value || value.length < 2) {\n return false;\n }\n if (value[0] === \"[\") {\n return true;\n }\n if ((value[0] === \"\\\\\" || value[0] === \"{\") && value[1] === \"[\") {\n return true;\n }\n return false;\n}\nvar SPECIAL_SCHEMES = [\"ftp\", \"file\", \"http\", \"https\", \"ws\", \"wss\"];\nfunction isSpecialScheme(protocol_regexp) {\n if (!protocol_regexp) {\n return true;\n }\n for (const scheme of SPECIAL_SCHEMES) {\n if (protocol_regexp.test(scheme)) {\n return true;\n }\n }\n return false;\n}\nfunction canonicalizeHash(hash, isPattern) {\n hash = maybeStripPrefix(hash, \"#\");\n if (isPattern || hash === \"\") {\n return hash;\n }\n const url = new URL(\"https://example.com\");\n url.hash = hash;\n return url.hash ? url.hash.substring(1, url.hash.length) : \"\";\n}\nfunction canonicalizeSearch(search, isPattern) {\n search = maybeStripPrefix(search, \"?\");\n if (isPattern || search === \"\") {\n return search;\n }\n const url = new URL(\"https://example.com\");\n url.search = search;\n return url.search ? url.search.substring(1, url.search.length) : \"\";\n}\nfunction canonicalizeHostname(hostname, isPattern) {\n if (isPattern || hostname === \"\") {\n return hostname;\n }\n if (treatAsIPv6Hostname(hostname)) {\n return ipv6HostnameEncodeCallback(hostname);\n } else {\n return hostnameEncodeCallback(hostname);\n }\n}\nfunction canonicalizePassword(password, isPattern) {\n if (isPattern || password === \"\") {\n return password;\n }\n const url = new URL(\"https://example.com\");\n url.password = password;\n return url.password;\n}\nfunction canonicalizeUsername(username, isPattern) {\n if (isPattern || username === \"\") {\n return username;\n }\n const url = new URL(\"https://example.com\");\n url.username = username;\n return url.username;\n}\nfunction canonicalizePathname(pathname, protocol, isPattern) {\n if (isPattern || pathname === \"\") {\n return pathname;\n }\n if (protocol && !SPECIAL_SCHEMES.includes(protocol)) {\n const url = new URL(`${protocol}:${pathname}`);\n return url.pathname;\n }\n const leadingSlash = pathname[0] == \"/\";\n pathname = new URL(!leadingSlash ? \"/-\" + pathname : pathname, \"https://example.com\").pathname;\n if (!leadingSlash) {\n pathname = pathname.substring(2, pathname.length);\n }\n return pathname;\n}\nfunction canonicalizePort(port, protocol, isPattern) {\n if (defaultPortForProtocol(protocol) === port) {\n port = \"\";\n }\n if (isPattern || port === \"\") {\n return port;\n }\n return portEncodeCallback(port);\n}\nfunction canonicalizeProtocol(protocol, isPattern) {\n protocol = maybeStripSuffix(protocol, \":\");\n if (isPattern || protocol === \"\") {\n return protocol;\n }\n return protocolEncodeCallback(protocol);\n}\nfunction defaultPortForProtocol(protocol) {\n switch (protocol) {\n case \"ws\":\n case \"http\":\n return \"80\";\n case \"wws\":\n case \"https\":\n return \"443\";\n case \"ftp\":\n return \"21\";\n default:\n return \"\";\n }\n}\nfunction protocolEncodeCallback(input) {\n if (input === \"\") {\n return input;\n }\n if (/^[-+.A-Za-z0-9]*$/.test(input)) return input.toLowerCase();\n throw new TypeError(`Invalid protocol '${input}'.`);\n}\nfunction usernameEncodeCallback(input) {\n if (input === \"\") {\n return input;\n }\n const url = new URL(\"https://example.com\");\n url.username = input;\n return url.username;\n}\nfunction passwordEncodeCallback(input) {\n if (input === \"\") {\n return input;\n }\n const url = new URL(\"https://example.com\");\n url.password = input;\n return url.password;\n}\nfunction hostnameEncodeCallback(input) {\n if (input === \"\") {\n return input;\n }\n if (/[\\t\\n\\r #%/:<>?@[\\]^\\\\|]/g.test(input)) {\n throw new TypeError(`Invalid hostname '${input}'`);\n }\n const url = new URL(\"https://example.com\");\n url.hostname = input;\n return url.hostname;\n}\nfunction ipv6HostnameEncodeCallback(input) {\n if (input === \"\") {\n return input;\n }\n if (/[^0-9a-fA-F[\\]:]/g.test(input)) {\n throw new TypeError(`Invalid IPv6 hostname '${input}'`);\n }\n return input.toLowerCase();\n}\nfunction portEncodeCallback(input) {\n if (input === \"\") {\n return input;\n }\n if (/^[0-9]*$/.test(input) && parseInt(input) <= 65535) {\n return input;\n }\n throw new TypeError(`Invalid port '${input}'.`);\n}\nfunction standardURLPathnameEncodeCallback(input) {\n if (input === \"\") {\n return input;\n }\n const url = new URL(\"https://example.com\");\n url.pathname = input[0] !== \"/\" ? \"/-\" + input : input;\n if (input[0] !== \"/\") {\n return url.pathname.substring(2, url.pathname.length);\n }\n return url.pathname;\n}\nfunction pathURLPathnameEncodeCallback(input) {\n if (input === \"\") {\n return input;\n }\n const url = new URL(`data:${input}`);\n return url.pathname;\n}\nfunction searchEncodeCallback(input) {\n if (input === \"\") {\n return input;\n }\n const url = new URL(\"https://example.com\");\n url.search = input;\n return url.search.substring(1, url.search.length);\n}\nfunction hashEncodeCallback(input) {\n if (input === \"\") {\n return input;\n }\n const url = new URL(\"https://example.com\");\n url.hash = input;\n return url.hash.substring(1, url.hash.length);\n}\n\n// src/url-pattern-parser.ts\nvar Parser = class {\n constructor(input) {\n this.tokenList = [];\n this.internalResult = {};\n this.tokenIndex = 0;\n this.tokenIncrement = 1;\n this.componentStart = 0;\n this.state = 0 /* INIT */;\n this.groupDepth = 0;\n this.hostnameIPv6BracketDepth = 0;\n this.shouldTreatAsStandardURL = false;\n this.input = input;\n }\n get result() {\n return this.internalResult;\n }\n parse() {\n this.tokenList = lexer(this.input, true);\n for (; this.tokenIndex < this.tokenList.length; this.tokenIndex += this.tokenIncrement) {\n this.tokenIncrement = 1;\n if (this.tokenList[this.tokenIndex].type === \"END\") {\n if (this.state === 0 /* INIT */) {\n this.rewind();\n if (this.isHashPrefix()) {\n this.changeState(9 /* HASH */, 1);\n } else if (this.isSearchPrefix()) {\n this.changeState(8 /* SEARCH */, 1);\n this.internalResult.hash = \"\";\n } else {\n this.changeState(7 /* PATHNAME */, 0);\n this.internalResult.search = \"\";\n this.internalResult.hash = \"\";\n }\n continue;\n } else if (this.state === 2 /* AUTHORITY */) {\n this.rewindAndSetState(5 /* HOSTNAME */);\n continue;\n }\n this.changeState(10 /* DONE */, 0);\n break;\n }\n if (this.groupDepth > 0) {\n if (this.isGroupClose()) {\n this.groupDepth -= 1;\n } else {\n continue;\n }\n }\n if (this.isGroupOpen()) {\n this.groupDepth += 1;\n continue;\n }\n switch (this.state) {\n case 0 /* INIT */:\n if (this.isProtocolSuffix()) {\n this.internalResult.username = \"\";\n this.internalResult.password = \"\";\n this.internalResult.hostname = \"\";\n this.internalResult.port = \"\";\n this.internalResult.pathname = \"\";\n this.internalResult.search = \"\";\n this.internalResult.hash = \"\";\n this.rewindAndSetState(1 /* PROTOCOL */);\n }\n break;\n case 1 /* PROTOCOL */:\n if (this.isProtocolSuffix()) {\n this.computeShouldTreatAsStandardURL();\n let nextState = 7 /* PATHNAME */;\n let skip = 1;\n if (this.shouldTreatAsStandardURL) {\n this.internalResult.pathname = \"/\";\n }\n if (this.nextIsAuthoritySlashes()) {\n nextState = 2 /* AUTHORITY */;\n skip = 3;\n } else if (this.shouldTreatAsStandardURL) {\n nextState = 2 /* AUTHORITY */;\n }\n this.changeState(nextState, skip);\n }\n break;\n case 2 /* AUTHORITY */:\n if (this.isIdentityTerminator()) {\n this.rewindAndSetState(3 /* USERNAME */);\n } else if (this.isPathnameStart() || this.isSearchPrefix() || this.isHashPrefix()) {\n this.rewindAndSetState(5 /* HOSTNAME */);\n }\n break;\n case 3 /* USERNAME */:\n if (this.isPasswordPrefix()) {\n this.changeState(4 /* PASSWORD */, 1);\n } else if (this.isIdentityTerminator()) {\n this.changeState(5 /* HOSTNAME */, 1);\n }\n break;\n case 4 /* PASSWORD */:\n if (this.isIdentityTerminator()) {\n this.changeState(5 /* HOSTNAME */, 1);\n }\n break;\n case 5 /* HOSTNAME */:\n if (this.isIPv6Open()) {\n this.hostnameIPv6BracketDepth += 1;\n } else if (this.isIPv6Close()) {\n this.hostnameIPv6BracketDepth -= 1;\n }\n if (this.isPortPrefix() && !this.hostnameIPv6BracketDepth) {\n this.changeState(6 /* PORT */, 1);\n } else if (this.isPathnameStart()) {\n this.changeState(7 /* PATHNAME */, 0);\n } else if (this.isSearchPrefix()) {\n this.changeState(8 /* SEARCH */, 1);\n } else if (this.isHashPrefix()) {\n this.changeState(9 /* HASH */, 1);\n }\n break;\n case 6 /* PORT */:\n if (this.isPathnameStart()) {\n this.changeState(7 /* PATHNAME */, 0);\n } else if (this.isSearchPrefix()) {\n this.changeState(8 /* SEARCH */, 1);\n } else if (this.isHashPrefix()) {\n this.changeState(9 /* HASH */, 1);\n }\n break;\n case 7 /* PATHNAME */:\n if (this.isSearchPrefix()) {\n this.changeState(8 /* SEARCH */, 1);\n } else if (this.isHashPrefix()) {\n this.changeState(9 /* HASH */, 1);\n }\n break;\n case 8 /* SEARCH */:\n if (this.isHashPrefix()) {\n this.changeState(9 /* HASH */, 1);\n }\n break;\n case 9 /* HASH */:\n break;\n case 10 /* DONE */:\n break;\n }\n }\n }\n changeState(newState, skip) {\n switch (this.state) {\n case 0 /* INIT */:\n break;\n case 1 /* PROTOCOL */:\n this.internalResult.protocol = this.makeComponentString();\n break;\n case 2 /* AUTHORITY */:\n break;\n case 3 /* USERNAME */:\n this.internalResult.username = this.makeComponentString();\n break;\n case 4 /* PASSWORD */:\n this.internalResult.password = this.makeComponentString();\n break;\n case 5 /* HOSTNAME */:\n this.internalResult.hostname = this.makeComponentString();\n break;\n case 6 /* PORT */:\n this.internalResult.port = this.makeComponentString();\n break;\n case 7 /* PATHNAME */:\n this.internalResult.pathname = this.makeComponentString();\n break;\n case 8 /* SEARCH */:\n this.internalResult.search = this.makeComponentString();\n break;\n case 9 /* HASH */:\n this.internalResult.hash = this.makeComponentString();\n break;\n case 10 /* DONE */:\n break;\n }\n this.changeStateWithoutSettingComponent(newState, skip);\n }\n changeStateWithoutSettingComponent(newState, skip) {\n this.state = newState;\n this.componentStart = this.tokenIndex + skip;\n this.tokenIndex += skip;\n this.tokenIncrement = 0;\n }\n rewind() {\n this.tokenIndex = this.componentStart;\n this.tokenIncrement = 0;\n }\n rewindAndSetState(newState) {\n this.rewind();\n this.state = newState;\n }\n safeToken(index) {\n if (index < 0) {\n index = this.tokenList.length - index;\n }\n if (index < this.tokenList.length) {\n return this.tokenList[index];\n }\n return this.tokenList[this.tokenList.length - 1];\n }\n isNonSpecialPatternChar(index, value) {\n const token = this.safeToken(index);\n return token.value === value && (token.type === \"CHAR\" || token.type === \"ESCAPED_CHAR\" || token.type === \"INVALID_CHAR\");\n }\n isProtocolSuffix() {\n return this.isNonSpecialPatternChar(this.tokenIndex, \":\");\n }\n nextIsAuthoritySlashes() {\n return this.isNonSpecialPatternChar(this.tokenIndex + 1, \"/\") && this.isNonSpecialPatternChar(this.tokenIndex + 2, \"/\");\n }\n isIdentityTerminator() {\n return this.isNonSpecialPatternChar(this.tokenIndex, \"@\");\n }\n isPasswordPrefix() {\n return this.isNonSpecialPatternChar(this.tokenIndex, \":\");\n }\n isPortPrefix() {\n return this.isNonSpecialPatternChar(this.tokenIndex, \":\");\n }\n isPathnameStart() {\n return this.isNonSpecialPatternChar(this.tokenIndex, \"/\");\n }\n isSearchPrefix() {\n if (this.isNonSpecialPatternChar(this.tokenIndex, \"?\")) {\n return true;\n }\n if (this.tokenList[this.tokenIndex].value !== \"?\") {\n return false;\n }\n const previousToken = this.safeToken(this.tokenIndex - 1);\n return previousToken.type !== \"NAME\" && previousToken.type !== \"PATTERN\" && previousToken.type !== \"CLOSE\" && previousToken.type !== \"ASTERISK\";\n }\n isHashPrefix() {\n return this.isNonSpecialPatternChar(this.tokenIndex, \"#\");\n }\n isGroupOpen() {\n return this.tokenList[this.tokenIndex].type == \"OPEN\";\n }\n isGroupClose() {\n return this.tokenList[this.tokenIndex].type == \"CLOSE\";\n }\n isIPv6Open() {\n return this.isNonSpecialPatternChar(this.tokenIndex, \"[\");\n }\n isIPv6Close() {\n return this.isNonSpecialPatternChar(this.tokenIndex, \"]\");\n }\n makeComponentString() {\n const token = this.tokenList[this.tokenIndex];\n const componentCharStart = this.safeToken(this.componentStart).index;\n return this.input.substring(componentCharStart, token.index);\n }\n computeShouldTreatAsStandardURL() {\n const options = {};\n Object.assign(options, DEFAULT_OPTIONS);\n options.encodePart = protocolEncodeCallback;\n const regexp = pathToRegexp(this.makeComponentString(), void 0, options);\n this.shouldTreatAsStandardURL = isSpecialScheme(regexp);\n }\n};\n\n// src/url-pattern.ts\nvar COMPONENTS = [\"protocol\", \"username\", \"password\", \"hostname\", \"port\", \"pathname\", \"search\", \"hash\"];\nvar DEFAULT_PATTERN = \"*\";\nfunction extractValues(url, baseURL) {\n if (typeof url !== \"string\") {\n throw new TypeError(`parameter 1 is not of type 'string'.`);\n }\n const o = new URL(url, baseURL);\n return {\n protocol: o.protocol.substring(0, o.protocol.length - 1),\n username: o.username,\n password: o.password,\n hostname: o.hostname,\n port: o.port,\n pathname: o.pathname,\n search: o.search != \"\" ? o.search.substring(1, o.search.length) : void 0,\n hash: o.hash != \"\" ? o.hash.substring(1, o.hash.length) : void 0\n };\n}\nfunction processBaseURLString(input, isPattern) {\n if (!isPattern) {\n return input;\n }\n return escapePatternString(input);\n}\nfunction applyInit(o, init, isPattern) {\n let baseURL;\n if (typeof init.baseURL === \"string\") {\n try {\n baseURL = new URL(init.baseURL);\n o.protocol = processBaseURLString(baseURL.protocol.substring(0, baseURL.protocol.length - 1), isPattern);\n o.username = processBaseURLString(baseURL.username, isPattern);\n o.password = processBaseURLString(baseURL.password, isPattern);\n o.hostname = processBaseURLString(baseURL.hostname, isPattern);\n o.port = processBaseURLString(baseURL.port, isPattern);\n o.pathname = processBaseURLString(baseURL.pathname, isPattern);\n o.search = processBaseURLString(baseURL.search.substring(1, baseURL.search.length), isPattern);\n o.hash = processBaseURLString(baseURL.hash.substring(1, baseURL.hash.length), isPattern);\n } catch {\n throw new TypeError(`invalid baseURL '${init.baseURL}'.`);\n }\n }\n if (typeof init.protocol === \"string\") {\n o.protocol = canonicalizeProtocol(init.protocol, isPattern);\n }\n if (typeof init.username === \"string\") {\n o.username = canonicalizeUsername(init.username, isPattern);\n }\n if (typeof init.password === \"string\") {\n o.password = canonicalizePassword(init.password, isPattern);\n }\n if (typeof init.hostname === \"string\") {\n o.hostname = canonicalizeHostname(init.hostname, isPattern);\n }\n if (typeof init.port === \"string\") {\n o.port = canonicalizePort(init.port, o.protocol, isPattern);\n }\n if (typeof init.pathname === \"string\") {\n o.pathname = init.pathname;\n if (baseURL && !isAbsolutePathname(o.pathname, isPattern)) {\n const slashIndex = baseURL.pathname.lastIndexOf(\"/\");\n if (slashIndex >= 0) {\n o.pathname = processBaseURLString(baseURL.pathname.substring(0, slashIndex + 1), isPattern) + o.pathname;\n }\n }\n o.pathname = canonicalizePathname(o.pathname, o.protocol, isPattern);\n }\n if (typeof init.search === \"string\") {\n o.search = canonicalizeSearch(init.search, isPattern);\n }\n if (typeof init.hash === \"string\") {\n o.hash = canonicalizeHash(init.hash, isPattern);\n }\n return o;\n}\nfunction escapePatternString(value) {\n return value.replace(/([+*?:{}()\\\\])/g, \"\\\\$1\");\n}\nfunction escapeRegexpString(value) {\n return value.replace(/([.+*?^${}()[\\]|/\\\\])/g, \"\\\\$1\");\n}\nfunction tokensToPattern(tokens, options) {\n const wildcardPattern = \".*\";\n const segmentWildcardPattern = `[^${escapeRegexpString(options.delimiter === void 0 ? \"/#?\" : options.delimiter)}]+?`;\n const regexIdentifierPart2 = /[$_\\u200C\\u200D\\p{ID_Continue}]/u;\n let result = \"\";\n for (let i = 0; i < tokens.length; ++i) {\n const token = tokens[i];\n const lastToken = i > 0 ? tokens[i - 1] : null;\n const nextToken = i < tokens.length - 1 ? tokens[i + 1] : null;\n if (typeof token === \"string\") {\n result += escapePatternString(token);\n continue;\n }\n if (token.pattern === \"\") {\n if (token.modifier === \"\") {\n result += escapePatternString(token.prefix);\n continue;\n }\n result += `{${escapePatternString(token.prefix)}}${token.modifier}`;\n continue;\n }\n const customName = typeof token.name !== \"number\";\n const optionsPrefixes = options.prefixes !== void 0 ? options.prefixes : \"./\";\n let needsGrouping = token.suffix !== \"\" || token.prefix !== \"\" && (token.prefix.length !== 1 || !optionsPrefixes.includes(token.prefix));\n if (!needsGrouping && customName && token.pattern === segmentWildcardPattern && token.modifier === \"\" && nextToken && !nextToken.prefix && !nextToken.suffix) {\n if (typeof nextToken === \"string\") {\n const code = nextToken.length > 0 ? nextToken[0] : \"\";\n needsGrouping = regexIdentifierPart2.test(code);\n } else {\n needsGrouping = typeof nextToken.name === \"number\";\n }\n }\n if (!needsGrouping && token.prefix === \"\" && lastToken && typeof lastToken === \"string\" && lastToken.length > 0) {\n const code = lastToken[lastToken.length - 1];\n needsGrouping = optionsPrefixes.includes(code);\n }\n if (needsGrouping) {\n result += \"{\";\n }\n result += escapePatternString(token.prefix);\n if (customName) {\n result += `:${token.name}`;\n }\n if (token.pattern === wildcardPattern) {\n if (!customName && (!lastToken || typeof lastToken === \"string\" || lastToken.modifier || needsGrouping || token.prefix !== \"\")) {\n result += \"*\";\n } else {\n result += `(${wildcardPattern})`;\n }\n } else if (token.pattern === segmentWildcardPattern) {\n if (!customName) {\n result += `(${segmentWildcardPattern})`;\n }\n } else {\n result += `(${token.pattern})`;\n }\n if (token.pattern === segmentWildcardPattern && customName && token.suffix !== \"\") {\n if (regexIdentifierPart2.test(token.suffix[0])) {\n result += \"\\\\\";\n }\n }\n result += escapePatternString(token.suffix);\n if (needsGrouping) {\n result += \"}\";\n }\n result += token.modifier;\n }\n return result;\n}\nvar URLPattern = class {\n constructor() {\n let init = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n let baseURLOrOptions = arguments.length > 1 ? arguments[1] : undefined;\n let options = arguments.length > 2 ? arguments[2] : undefined;\n this.regexp = {};\n this.keys = {};\n this.component_pattern = {};\n try {\n let baseURL = void 0;\n if (typeof baseURLOrOptions === \"string\") {\n baseURL = baseURLOrOptions;\n } else {\n options = baseURLOrOptions;\n }\n if (typeof init === \"string\") {\n const parser = new Parser(init);\n parser.parse();\n init = parser.result;\n if (baseURL === void 0 && typeof init.protocol !== \"string\") {\n throw new TypeError(`A base URL must be provided for a relative constructor string.`);\n }\n init.baseURL = baseURL;\n } else {\n if (!init || typeof init !== \"object\") {\n throw new TypeError(`parameter 1 is not of type 'string' and cannot convert to dictionary.`);\n }\n if (baseURL) {\n throw new TypeError(`parameter 1 is not of type 'string'.`);\n }\n }\n if (typeof options === \"undefined\") {\n options = {\n ignoreCase: false\n };\n }\n const ignoreCaseOptions = {\n ignoreCase: options.ignoreCase === true\n };\n const defaults = {\n pathname: DEFAULT_PATTERN,\n protocol: DEFAULT_PATTERN,\n username: DEFAULT_PATTERN,\n password: DEFAULT_PATTERN,\n hostname: DEFAULT_PATTERN,\n port: DEFAULT_PATTERN,\n search: DEFAULT_PATTERN,\n hash: DEFAULT_PATTERN\n };\n this.pattern = applyInit(defaults, init, true);\n if (defaultPortForProtocol(this.pattern.protocol) === this.pattern.port) {\n this.pattern.port = \"\";\n }\n let component;\n for (component of COMPONENTS) {\n if (!(component in this.pattern)) continue;\n const options2 = {};\n const pattern = this.pattern[component];\n this.keys[component] = [];\n switch (component) {\n case \"protocol\":\n Object.assign(options2, DEFAULT_OPTIONS);\n options2.encodePart = protocolEncodeCallback;\n break;\n case \"username\":\n Object.assign(options2, DEFAULT_OPTIONS);\n options2.encodePart = usernameEncodeCallback;\n break;\n case \"password\":\n Object.assign(options2, DEFAULT_OPTIONS);\n options2.encodePart = passwordEncodeCallback;\n break;\n case \"hostname\":\n Object.assign(options2, HOSTNAME_OPTIONS);\n if (treatAsIPv6Hostname(pattern)) {\n options2.encodePart = ipv6HostnameEncodeCallback;\n } else {\n options2.encodePart = hostnameEncodeCallback;\n }\n break;\n case \"port\":\n Object.assign(options2, DEFAULT_OPTIONS);\n options2.encodePart = portEncodeCallback;\n break;\n case \"pathname\":\n if (isSpecialScheme(this.regexp.protocol)) {\n Object.assign(options2, PATHNAME_OPTIONS, ignoreCaseOptions);\n options2.encodePart = standardURLPathnameEncodeCallback;\n } else {\n Object.assign(options2, DEFAULT_OPTIONS, ignoreCaseOptions);\n options2.encodePart = pathURLPathnameEncodeCallback;\n }\n break;\n case \"search\":\n Object.assign(options2, DEFAULT_OPTIONS, ignoreCaseOptions);\n options2.encodePart = searchEncodeCallback;\n break;\n case \"hash\":\n Object.assign(options2, DEFAULT_OPTIONS, ignoreCaseOptions);\n options2.encodePart = hashEncodeCallback;\n break;\n }\n try {\n const tokens = parse(pattern, options2);\n this.regexp[component] = tokensToRegexp(tokens, this.keys[component], options2);\n this.component_pattern[component] = tokensToPattern(tokens, options2);\n } catch {\n throw new TypeError(`invalid ${component} pattern '${this.pattern[component]}'.`);\n }\n }\n } catch (err) {\n throw new TypeError(`Failed to construct 'URLPattern': ${err.message}`);\n }\n }\n test() {\n let input = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n let baseURL = arguments.length > 1 ? arguments[1] : undefined;\n let values = {\n pathname: \"\",\n protocol: \"\",\n username: \"\",\n password: \"\",\n hostname: \"\",\n port: \"\",\n search: \"\",\n hash: \"\"\n };\n if (typeof input !== \"string\" && baseURL) {\n throw new TypeError(`parameter 1 is not of type 'string'.`);\n }\n if (typeof input === \"undefined\") {\n return false;\n }\n try {\n if (typeof input === \"object\") {\n values = applyInit(values, input, false);\n } else {\n values = applyInit(values, extractValues(input, baseURL), false);\n }\n } catch (err) {\n return false;\n }\n let component;\n for (component of COMPONENTS) {\n if (!this.regexp[component].exec(values[component])) {\n return false;\n }\n }\n return true;\n }\n exec() {\n let input = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n let baseURL = arguments.length > 1 ? arguments[1] : undefined;\n let values = {\n pathname: \"\",\n protocol: \"\",\n username: \"\",\n password: \"\",\n hostname: \"\",\n port: \"\",\n search: \"\",\n hash: \"\"\n };\n if (typeof input !== \"string\" && baseURL) {\n throw new TypeError(`parameter 1 is not of type 'string'.`);\n }\n if (typeof input === \"undefined\") {\n return;\n }\n try {\n if (typeof input === \"object\") {\n values = applyInit(values, input, false);\n } else {\n values = applyInit(values, extractValues(input, baseURL), false);\n }\n } catch (err) {\n return null;\n }\n let result = {};\n if (baseURL) {\n result.inputs = [input, baseURL];\n } else {\n result.inputs = [input];\n }\n let component;\n for (component of COMPONENTS) {\n let match = this.regexp[component].exec(values[component]);\n if (!match) {\n return null;\n }\n let groups = {};\n for (let [i, key] of this.keys[component].entries()) {\n if (typeof key.name === \"string\" || typeof key.name === \"number\") {\n let value = match[i + 1];\n groups[key.name] = value;\n }\n }\n result[component] = {\n input: values[component] || \"\",\n groups\n };\n }\n return result;\n }\n get protocol() {\n return this.component_pattern.protocol;\n }\n get username() {\n return this.component_pattern.username;\n }\n get password() {\n return this.component_pattern.password;\n }\n get hostname() {\n return this.component_pattern.hostname;\n }\n get port() {\n return this.component_pattern.port;\n }\n get pathname() {\n return this.component_pattern.pathname;\n }\n get search() {\n return this.component_pattern.search;\n }\n get hash() {\n return this.component_pattern.hash;\n }\n};\nexport { URLPattern };","import { URLPattern } from \"./dist/urlpattern.js\";\nexport { URLPattern };\nif (!globalThis.URLPattern) {\n globalThis.URLPattern = URLPattern;\n}","import ar from './locale/ar.json';\nimport ca from './locale/ca.json';\nimport cs from './locale/cs.json';\nimport da from './locale/da.json';\nimport de from './locale/de.json';\nimport el from './locale/el.json';\nimport en from './locale/en.json';\nimport es from './locale/es.json';\nimport fa from './locale/fa.json';\nimport fi from './locale/fi.json';\nimport fr from './locale/fr.json';\nimport he from './locale/he.json';\nimport hi from './locale/hi.json';\nimport hu from './locale/hu.json';\nimport id from './locale/id.json';\nimport is from './locale/is.json';\nimport it from './locale/it.json';\nimport ja from './locale/ja.json';\nimport ko from './locale/ko.json';\nimport lt from './locale/lt.json';\nimport lv from './locale/lv.json';\nimport ml from './locale/ml.json';\nimport nl from './locale/nl.json';\nimport no from './locale/no.json';\nimport pl from './locale/pl.json';\nimport pt from './locale/pt.json';\nimport pt_BR from './locale/pt_BR.json';\nimport ro from './locale/ro.json';\nimport ru from './locale/ru.json';\nimport sk from './locale/sk.json';\nimport sr from './locale/sr.json';\nimport sv from './locale/sv.json';\nimport ta from './locale/ta.json';\nimport th from './locale/th.json';\nimport tr from './locale/tr.json';\nimport uk from './locale/uk.json';\nimport vi from './locale/vi.json';\nimport zh_CN from './locale/zh_CN.json';\nimport zh_TW from './locale/zh_TW.json';\n\nexport default {\n ar,\n ca,\n cs,\n da,\n de,\n el,\n en,\n es,\n fa,\n fi,\n fr,\n he,\n hi,\n hu,\n id,\n is,\n it,\n ja,\n ko,\n lt,\n lv,\n ml,\n nl,\n no,\n pl,\n pt_BR,\n pt,\n ro,\n ru,\n sk,\n sr,\n sv,\n ta,\n th,\n tr,\n uk,\n vi,\n zh_CN,\n zh_TW,\n};\n","export default function toInteger(dirtyNumber) {\n if (dirtyNumber === null || dirtyNumber === true || dirtyNumber === false) {\n return NaN;\n }\n var number = Number(dirtyNumber);\n if (isNaN(number)) {\n return number;\n }\n return number < 0 ? Math.ceil(number) : Math.floor(number);\n}","/*! @license DOMPurify 2.5.8 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.5.8/LICENSE */\n\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.DOMPurify = factory());\n})(this, function () {\n 'use strict';\n\n function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n }\n function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n }\n function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n }\n function _construct(Parent, args, Class) {\n if (_isNativeReflectConstruct()) {\n _construct = Reflect.construct;\n } else {\n _construct = function _construct(Parent, args, Class) {\n var a = [null];\n a.push.apply(a, args);\n var Constructor = Function.bind.apply(Parent, a);\n var instance = new Constructor();\n if (Class) _setPrototypeOf(instance, Class.prototype);\n return instance;\n };\n }\n return _construct.apply(null, arguments);\n }\n function _toConsumableArray(arr) {\n return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();\n }\n function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return _arrayLikeToArray(arr);\n }\n function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n }\n function _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n }\n function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n }\n function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var hasOwnProperty = Object.hasOwnProperty,\n setPrototypeOf = Object.setPrototypeOf,\n isFrozen = Object.isFrozen,\n getPrototypeOf = Object.getPrototypeOf,\n getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n var freeze = Object.freeze,\n seal = Object.seal,\n create = Object.create; // eslint-disable-line import/no-mutable-exports\n var _ref = typeof Reflect !== 'undefined' && Reflect,\n apply = _ref.apply,\n construct = _ref.construct;\n if (!apply) {\n apply = function apply(fun, thisValue, args) {\n return fun.apply(thisValue, args);\n };\n }\n if (!freeze) {\n freeze = function freeze(x) {\n return x;\n };\n }\n if (!seal) {\n seal = function seal(x) {\n return x;\n };\n }\n if (!construct) {\n construct = function construct(Func, args) {\n return _construct(Func, _toConsumableArray(args));\n };\n }\n var arrayForEach = unapply(Array.prototype.forEach);\n var arrayPop = unapply(Array.prototype.pop);\n var arrayPush = unapply(Array.prototype.push);\n var stringToLowerCase = unapply(String.prototype.toLowerCase);\n var stringToString = unapply(String.prototype.toString);\n var stringMatch = unapply(String.prototype.match);\n var stringReplace = unapply(String.prototype.replace);\n var stringIndexOf = unapply(String.prototype.indexOf);\n var stringTrim = unapply(String.prototype.trim);\n var regExpTest = unapply(RegExp.prototype.test);\n var typeErrorCreate = unconstruct(TypeError);\n function unapply(func) {\n return function (thisArg) {\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n return apply(func, thisArg, args);\n };\n }\n function unconstruct(func) {\n return function () {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n return construct(func, args);\n };\n }\n\n /* Add properties to a lookup table */\n function addToSet(set, array, transformCaseFunc) {\n var _transformCaseFunc;\n transformCaseFunc = (_transformCaseFunc = transformCaseFunc) !== null && _transformCaseFunc !== void 0 ? _transformCaseFunc : stringToLowerCase;\n if (setPrototypeOf) {\n // Make 'in' and truthy checks like Boolean(set.constructor)\n // independent of any properties defined on Object.prototype.\n // Prevent prototype setters from intercepting set as a this value.\n setPrototypeOf(set, null);\n }\n var l = array.length;\n while (l--) {\n var element = array[l];\n if (typeof element === 'string') {\n var lcElement = transformCaseFunc(element);\n if (lcElement !== element) {\n // Config presets (e.g. tags.js, attrs.js) are immutable.\n if (!isFrozen(array)) {\n array[l] = lcElement;\n }\n element = lcElement;\n }\n }\n set[element] = true;\n }\n return set;\n }\n\n /* Shallow clone an object */\n function clone(object) {\n var newObject = create(null);\n var property;\n for (property in object) {\n if (apply(hasOwnProperty, object, [property]) === true) {\n newObject[property] = object[property];\n }\n }\n return newObject;\n }\n\n /* IE10 doesn't support __lookupGetter__ so lets'\n * simulate it. It also automatically checks\n * if the prop is function or getter and behaves\n * accordingly. */\n function lookupGetter(object, prop) {\n while (object !== null) {\n var desc = getOwnPropertyDescriptor(object, prop);\n if (desc) {\n if (desc.get) {\n return unapply(desc.get);\n }\n if (typeof desc.value === 'function') {\n return unapply(desc.value);\n }\n }\n object = getPrototypeOf(object);\n }\n function fallbackValue(element) {\n console.warn('fallback value for', element);\n return null;\n }\n return fallbackValue;\n }\n var html$1 = freeze(['a', 'abbr', 'acronym', 'address', 'area', 'article', 'aside', 'audio', 'b', 'bdi', 'bdo', 'big', 'blink', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'center', 'cite', 'code', 'col', 'colgroup', 'content', 'data', 'datalist', 'dd', 'decorator', 'del', 'details', 'dfn', 'dialog', 'dir', 'div', 'dl', 'dt', 'element', 'em', 'fieldset', 'figcaption', 'figure', 'font', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'img', 'input', 'ins', 'kbd', 'label', 'legend', 'li', 'main', 'map', 'mark', 'marquee', 'menu', 'menuitem', 'meter', 'nav', 'nobr', 'ol', 'optgroup', 'option', 'output', 'p', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'section', 'select', 'shadow', 'small', 'source', 'spacer', 'span', 'strike', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'time', 'tr', 'track', 'tt', 'u', 'ul', 'var', 'video', 'wbr']);\n\n // SVG\n var svg$1 = freeze(['svg', 'a', 'altglyph', 'altglyphdef', 'altglyphitem', 'animatecolor', 'animatemotion', 'animatetransform', 'circle', 'clippath', 'defs', 'desc', 'ellipse', 'filter', 'font', 'g', 'glyph', 'glyphref', 'hkern', 'image', 'line', 'lineargradient', 'marker', 'mask', 'metadata', 'mpath', 'path', 'pattern', 'polygon', 'polyline', 'radialgradient', 'rect', 'stop', 'style', 'switch', 'symbol', 'text', 'textpath', 'title', 'tref', 'tspan', 'view', 'vkern']);\n var svgFilters = freeze(['feBlend', 'feColorMatrix', 'feComponentTransfer', 'feComposite', 'feConvolveMatrix', 'feDiffuseLighting', 'feDisplacementMap', 'feDistantLight', 'feFlood', 'feFuncA', 'feFuncB', 'feFuncG', 'feFuncR', 'feGaussianBlur', 'feImage', 'feMerge', 'feMergeNode', 'feMorphology', 'feOffset', 'fePointLight', 'feSpecularLighting', 'feSpotLight', 'feTile', 'feTurbulence']);\n\n // List of SVG elements that are disallowed by default.\n // We still need to know them so that we can do namespace\n // checks properly in case one wants to add them to\n // allow-list.\n var svgDisallowed = freeze(['animate', 'color-profile', 'cursor', 'discard', 'fedropshadow', 'font-face', 'font-face-format', 'font-face-name', 'font-face-src', 'font-face-uri', 'foreignobject', 'hatch', 'hatchpath', 'mesh', 'meshgradient', 'meshpatch', 'meshrow', 'missing-glyph', 'script', 'set', 'solidcolor', 'unknown', 'use']);\n var mathMl$1 = freeze(['math', 'menclose', 'merror', 'mfenced', 'mfrac', 'mglyph', 'mi', 'mlabeledtr', 'mmultiscripts', 'mn', 'mo', 'mover', 'mpadded', 'mphantom', 'mroot', 'mrow', 'ms', 'mspace', 'msqrt', 'mstyle', 'msub', 'msup', 'msubsup', 'mtable', 'mtd', 'mtext', 'mtr', 'munder', 'munderover']);\n\n // Similarly to SVG, we want to know all MathML elements,\n // even those that we disallow by default.\n var mathMlDisallowed = freeze(['maction', 'maligngroup', 'malignmark', 'mlongdiv', 'mscarries', 'mscarry', 'msgroup', 'mstack', 'msline', 'msrow', 'semantics', 'annotation', 'annotation-xml', 'mprescripts', 'none']);\n var text = freeze(['#text']);\n var html = freeze(['accept', 'action', 'align', 'alt', 'autocapitalize', 'autocomplete', 'autopictureinpicture', 'autoplay', 'background', 'bgcolor', 'border', 'capture', 'cellpadding', 'cellspacing', 'checked', 'cite', 'class', 'clear', 'color', 'cols', 'colspan', 'controls', 'controlslist', 'coords', 'crossorigin', 'datetime', 'decoding', 'default', 'dir', 'disabled', 'disablepictureinpicture', 'disableremoteplayback', 'download', 'draggable', 'enctype', 'enterkeyhint', 'face', 'for', 'headers', 'height', 'hidden', 'high', 'href', 'hreflang', 'id', 'inputmode', 'integrity', 'ismap', 'kind', 'label', 'lang', 'list', 'loading', 'loop', 'low', 'max', 'maxlength', 'media', 'method', 'min', 'minlength', 'multiple', 'muted', 'name', 'nonce', 'noshade', 'novalidate', 'nowrap', 'open', 'optimum', 'pattern', 'placeholder', 'playsinline', 'poster', 'preload', 'pubdate', 'radiogroup', 'readonly', 'rel', 'required', 'rev', 'reversed', 'role', 'rows', 'rowspan', 'spellcheck', 'scope', 'selected', 'shape', 'size', 'sizes', 'span', 'srclang', 'start', 'src', 'srcset', 'step', 'style', 'summary', 'tabindex', 'title', 'translate', 'type', 'usemap', 'valign', 'value', 'width', 'xmlns', 'slot']);\n var svg = freeze(['accent-height', 'accumulate', 'additive', 'alignment-baseline', 'ascent', 'attributename', 'attributetype', 'azimuth', 'basefrequency', 'baseline-shift', 'begin', 'bias', 'by', 'class', 'clip', 'clippathunits', 'clip-path', 'clip-rule', 'color', 'color-interpolation', 'color-interpolation-filters', 'color-profile', 'color-rendering', 'cx', 'cy', 'd', 'dx', 'dy', 'diffuseconstant', 'direction', 'display', 'divisor', 'dur', 'edgemode', 'elevation', 'end', 'fill', 'fill-opacity', 'fill-rule', 'filter', 'filterunits', 'flood-color', 'flood-opacity', 'font-family', 'font-size', 'font-size-adjust', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'fx', 'fy', 'g1', 'g2', 'glyph-name', 'glyphref', 'gradientunits', 'gradienttransform', 'height', 'href', 'id', 'image-rendering', 'in', 'in2', 'k', 'k1', 'k2', 'k3', 'k4', 'kerning', 'keypoints', 'keysplines', 'keytimes', 'lang', 'lengthadjust', 'letter-spacing', 'kernelmatrix', 'kernelunitlength', 'lighting-color', 'local', 'marker-end', 'marker-mid', 'marker-start', 'markerheight', 'markerunits', 'markerwidth', 'maskcontentunits', 'maskunits', 'max', 'mask', 'media', 'method', 'mode', 'min', 'name', 'numoctaves', 'offset', 'operator', 'opacity', 'order', 'orient', 'orientation', 'origin', 'overflow', 'paint-order', 'path', 'pathlength', 'patterncontentunits', 'patterntransform', 'patternunits', 'points', 'preservealpha', 'preserveaspectratio', 'primitiveunits', 'r', 'rx', 'ry', 'radius', 'refx', 'refy', 'repeatcount', 'repeatdur', 'restart', 'result', 'rotate', 'scale', 'seed', 'shape-rendering', 'specularconstant', 'specularexponent', 'spreadmethod', 'startoffset', 'stddeviation', 'stitchtiles', 'stop-color', 'stop-opacity', 'stroke-dasharray', 'stroke-dashoffset', 'stroke-linecap', 'stroke-linejoin', 'stroke-miterlimit', 'stroke-opacity', 'stroke', 'stroke-width', 'style', 'surfacescale', 'systemlanguage', 'tabindex', 'targetx', 'targety', 'transform', 'transform-origin', 'text-anchor', 'text-decoration', 'text-rendering', 'textlength', 'type', 'u1', 'u2', 'unicode', 'values', 'viewbox', 'visibility', 'version', 'vert-adv-y', 'vert-origin-x', 'vert-origin-y', 'width', 'word-spacing', 'wrap', 'writing-mode', 'xchannelselector', 'ychannelselector', 'x', 'x1', 'x2', 'xmlns', 'y', 'y1', 'y2', 'z', 'zoomandpan']);\n var mathMl = freeze(['accent', 'accentunder', 'align', 'bevelled', 'close', 'columnsalign', 'columnlines', 'columnspan', 'denomalign', 'depth', 'dir', 'display', 'displaystyle', 'encoding', 'fence', 'frame', 'height', 'href', 'id', 'largeop', 'length', 'linethickness', 'lspace', 'lquote', 'mathbackground', 'mathcolor', 'mathsize', 'mathvariant', 'maxsize', 'minsize', 'movablelimits', 'notation', 'numalign', 'open', 'rowalign', 'rowlines', 'rowspacing', 'rowspan', 'rspace', 'rquote', 'scriptlevel', 'scriptminsize', 'scriptsizemultiplier', 'selection', 'separator', 'separators', 'stretchy', 'subscriptshift', 'supscriptshift', 'symmetric', 'voffset', 'width', 'xmlns']);\n var xml = freeze(['xlink:href', 'xml:id', 'xlink:title', 'xml:space', 'xmlns:xlink']);\n\n // eslint-disable-next-line unicorn/better-regex\n var MUSTACHE_EXPR = seal(/\\{\\{[\\w\\W]*|[\\w\\W]*\\}\\}/gm); // Specify template detection regex for SAFE_FOR_TEMPLATES mode\n var ERB_EXPR = seal(/<%[\\w\\W]*|[\\w\\W]*%>/gm);\n var TMPLIT_EXPR = seal(/\\${[\\w\\W]*}/gm);\n var DATA_ATTR = seal(/^data-[\\-\\w.\\u00B7-\\uFFFF]+$/); // eslint-disable-line no-useless-escape\n var ARIA_ATTR = seal(/^aria-[\\-\\w]+$/); // eslint-disable-line no-useless-escape\n var IS_ALLOWED_URI = seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\\-]+(?:[^a-z+.\\-:]|$))/i // eslint-disable-line no-useless-escape\n );\n var IS_SCRIPT_OR_DATA = seal(/^(?:\\w+script|data):/i);\n var ATTR_WHITESPACE = seal(/[\\u0000-\\u0020\\u00A0\\u1680\\u180E\\u2000-\\u2029\\u205F\\u3000]/g // eslint-disable-line no-control-regex\n );\n var DOCTYPE_NAME = seal(/^html$/i);\n var CUSTOM_ELEMENT = seal(/^[a-z][.\\w]*(-[.\\w]+)+$/i);\n var getGlobal = function getGlobal() {\n return typeof window === 'undefined' ? null : window;\n };\n\n /**\n * Creates a no-op policy for internal use only.\n * Don't export this function outside this module!\n * @param {?TrustedTypePolicyFactory} trustedTypes The policy factory.\n * @param {Document} document The document object (to determine policy name suffix)\n * @return {?TrustedTypePolicy} The policy created (or null, if Trusted Types\n * are not supported).\n */\n var _createTrustedTypesPolicy = function _createTrustedTypesPolicy(trustedTypes, document) {\n if (_typeof(trustedTypes) !== 'object' || typeof trustedTypes.createPolicy !== 'function') {\n return null;\n }\n\n // Allow the callers to control the unique policy name\n // by adding a data-tt-policy-suffix to the script element with the DOMPurify.\n // Policy creation with duplicate names throws in Trusted Types.\n var suffix = null;\n var ATTR_NAME = 'data-tt-policy-suffix';\n if (document.currentScript && document.currentScript.hasAttribute(ATTR_NAME)) {\n suffix = document.currentScript.getAttribute(ATTR_NAME);\n }\n var policyName = 'dompurify' + (suffix ? '#' + suffix : '');\n try {\n return trustedTypes.createPolicy(policyName, {\n createHTML: function createHTML(html) {\n return html;\n },\n createScriptURL: function createScriptURL(scriptUrl) {\n return scriptUrl;\n }\n });\n } catch (_) {\n // Policy creation failed (most likely another DOMPurify script has\n // already run). Skip creating the policy, as this will only cause errors\n // if TT are enforced.\n console.warn('TrustedTypes policy ' + policyName + ' could not be created.');\n return null;\n }\n };\n function createDOMPurify() {\n var window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getGlobal();\n var DOMPurify = function DOMPurify(root) {\n return createDOMPurify(root);\n };\n\n /**\n * Version label, exposed for easier checks\n * if DOMPurify is up to date or not\n */\n DOMPurify.version = '2.5.8';\n\n /**\n * Array of elements that DOMPurify removed during sanitation.\n * Empty if nothing was removed.\n */\n DOMPurify.removed = [];\n if (!window || !window.document || window.document.nodeType !== 9) {\n // Not running in a browser, provide a factory function\n // so that you can pass your own Window\n DOMPurify.isSupported = false;\n return DOMPurify;\n }\n var originalDocument = window.document;\n var document = window.document;\n var DocumentFragment = window.DocumentFragment,\n HTMLTemplateElement = window.HTMLTemplateElement,\n Node = window.Node,\n Element = window.Element,\n NodeFilter = window.NodeFilter,\n _window$NamedNodeMap = window.NamedNodeMap,\n NamedNodeMap = _window$NamedNodeMap === void 0 ? window.NamedNodeMap || window.MozNamedAttrMap : _window$NamedNodeMap,\n HTMLFormElement = window.HTMLFormElement,\n DOMParser = window.DOMParser,\n trustedTypes = window.trustedTypes;\n var ElementPrototype = Element.prototype;\n var cloneNode = lookupGetter(ElementPrototype, 'cloneNode');\n var getNextSibling = lookupGetter(ElementPrototype, 'nextSibling');\n var getChildNodes = lookupGetter(ElementPrototype, 'childNodes');\n var getParentNode = lookupGetter(ElementPrototype, 'parentNode');\n\n // As per issue #47, the web-components registry is inherited by a\n // new document created via createHTMLDocument. As per the spec\n // (http://w3c.github.io/webcomponents/spec/custom/#creating-and-passing-registries)\n // a new empty registry is used when creating a template contents owner\n // document, so we use that as our parent document to ensure nothing\n // is inherited.\n if (typeof HTMLTemplateElement === 'function') {\n var template = document.createElement('template');\n if (template.content && template.content.ownerDocument) {\n document = template.content.ownerDocument;\n }\n }\n var trustedTypesPolicy = _createTrustedTypesPolicy(trustedTypes, originalDocument);\n var emptyHTML = trustedTypesPolicy ? trustedTypesPolicy.createHTML('') : '';\n var _document = document,\n implementation = _document.implementation,\n createNodeIterator = _document.createNodeIterator,\n createDocumentFragment = _document.createDocumentFragment,\n getElementsByTagName = _document.getElementsByTagName;\n var importNode = originalDocument.importNode;\n var documentMode = {};\n try {\n documentMode = clone(document).documentMode ? document.documentMode : {};\n } catch (_) {}\n var hooks = {};\n\n /**\n * Expose whether this browser supports running the full DOMPurify.\n */\n DOMPurify.isSupported = typeof getParentNode === 'function' && implementation && implementation.createHTMLDocument !== undefined && documentMode !== 9;\n var MUSTACHE_EXPR$1 = MUSTACHE_EXPR,\n ERB_EXPR$1 = ERB_EXPR,\n TMPLIT_EXPR$1 = TMPLIT_EXPR,\n DATA_ATTR$1 = DATA_ATTR,\n ARIA_ATTR$1 = ARIA_ATTR,\n IS_SCRIPT_OR_DATA$1 = IS_SCRIPT_OR_DATA,\n ATTR_WHITESPACE$1 = ATTR_WHITESPACE,\n CUSTOM_ELEMENT$1 = CUSTOM_ELEMENT;\n var IS_ALLOWED_URI$1 = IS_ALLOWED_URI;\n\n /**\n * We consider the elements and attributes below to be safe. Ideally\n * don't add any new ones but feel free to remove unwanted ones.\n */\n\n /* allowed element names */\n var ALLOWED_TAGS = null;\n var DEFAULT_ALLOWED_TAGS = addToSet({}, [].concat(_toConsumableArray(html$1), _toConsumableArray(svg$1), _toConsumableArray(svgFilters), _toConsumableArray(mathMl$1), _toConsumableArray(text)));\n\n /* Allowed attribute names */\n var ALLOWED_ATTR = null;\n var DEFAULT_ALLOWED_ATTR = addToSet({}, [].concat(_toConsumableArray(html), _toConsumableArray(svg), _toConsumableArray(mathMl), _toConsumableArray(xml)));\n\n /*\n * Configure how DOMPUrify should handle custom elements and their attributes as well as customized built-in elements.\n * @property {RegExp|Function|null} tagNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any custom elements)\n * @property {RegExp|Function|null} attributeNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any attributes not on the allow list)\n * @property {boolean} allowCustomizedBuiltInElements allow custom elements derived from built-ins if they pass CUSTOM_ELEMENT_HANDLING.tagNameCheck. Default: `false`.\n */\n var CUSTOM_ELEMENT_HANDLING = Object.seal(Object.create(null, {\n tagNameCheck: {\n writable: true,\n configurable: false,\n enumerable: true,\n value: null\n },\n attributeNameCheck: {\n writable: true,\n configurable: false,\n enumerable: true,\n value: null\n },\n allowCustomizedBuiltInElements: {\n writable: true,\n configurable: false,\n enumerable: true,\n value: false\n }\n }));\n\n /* Explicitly forbidden tags (overrides ALLOWED_TAGS/ADD_TAGS) */\n var FORBID_TAGS = null;\n\n /* Explicitly forbidden attributes (overrides ALLOWED_ATTR/ADD_ATTR) */\n var FORBID_ATTR = null;\n\n /* Decide if ARIA attributes are okay */\n var ALLOW_ARIA_ATTR = true;\n\n /* Decide if custom data attributes are okay */\n var ALLOW_DATA_ATTR = true;\n\n /* Decide if unknown protocols are okay */\n var ALLOW_UNKNOWN_PROTOCOLS = false;\n\n /* Decide if self-closing tags in attributes are allowed.\n * Usually removed due to a mXSS issue in jQuery 3.0 */\n var ALLOW_SELF_CLOSE_IN_ATTR = true;\n\n /* Output should be safe for common template engines.\n * This means, DOMPurify removes data attributes, mustaches and ERB\n */\n var SAFE_FOR_TEMPLATES = false;\n\n /* Output should be safe even for XML used within HTML and alike.\n * This means, DOMPurify removes comments when containing risky content.\n */\n var SAFE_FOR_XML = true;\n\n /* Decide if document with ... should be returned */\n var WHOLE_DOCUMENT = false;\n\n /* Track whether config is already set on this instance of DOMPurify. */\n var SET_CONFIG = false;\n\n /* Decide if all elements (e.g. style, script) must be children of\n * document.body. By default, browsers might move them to document.head */\n var FORCE_BODY = false;\n\n /* Decide if a DOM `HTMLBodyElement` should be returned, instead of a html\n * string (or a TrustedHTML object if Trusted Types are supported).\n * If `WHOLE_DOCUMENT` is enabled a `HTMLHtmlElement` will be returned instead\n */\n var RETURN_DOM = false;\n\n /* Decide if a DOM `DocumentFragment` should be returned, instead of a html\n * string (or a TrustedHTML object if Trusted Types are supported) */\n var RETURN_DOM_FRAGMENT = false;\n\n /* Try to return a Trusted Type object instead of a string, return a string in\n * case Trusted Types are not supported */\n var RETURN_TRUSTED_TYPE = false;\n\n /* Output should be free from DOM clobbering attacks?\n * This sanitizes markups named with colliding, clobberable built-in DOM APIs.\n */\n var SANITIZE_DOM = true;\n\n /* Achieve full DOM Clobbering protection by isolating the namespace of named\n * properties and JS variables, mitigating attacks that abuse the HTML/DOM spec rules.\n *\n * HTML/DOM spec rules that enable DOM Clobbering:\n * - Named Access on Window (§7.3.3)\n * - DOM Tree Accessors (§3.1.5)\n * - Form Element Parent-Child Relations (§4.10.3)\n * - Iframe srcdoc / Nested WindowProxies (§4.8.5)\n * - HTMLCollection (§4.2.10.2)\n *\n * Namespace isolation is implemented by prefixing `id` and `name` attributes\n * with a constant string, i.e., `user-content-`\n */\n var SANITIZE_NAMED_PROPS = false;\n var SANITIZE_NAMED_PROPS_PREFIX = 'user-content-';\n\n /* Keep element content when removing element? */\n var KEEP_CONTENT = true;\n\n /* If a `Node` is passed to sanitize(), then performs sanitization in-place instead\n * of importing it into a new Document and returning a sanitized copy */\n var IN_PLACE = false;\n\n /* Allow usage of profiles like html, svg and mathMl */\n var USE_PROFILES = {};\n\n /* Tags to ignore content of when KEEP_CONTENT is true */\n var FORBID_CONTENTS = null;\n var DEFAULT_FORBID_CONTENTS = addToSet({}, ['annotation-xml', 'audio', 'colgroup', 'desc', 'foreignobject', 'head', 'iframe', 'math', 'mi', 'mn', 'mo', 'ms', 'mtext', 'noembed', 'noframes', 'noscript', 'plaintext', 'script', 'style', 'svg', 'template', 'thead', 'title', 'video', 'xmp']);\n\n /* Tags that are safe for data: URIs */\n var DATA_URI_TAGS = null;\n var DEFAULT_DATA_URI_TAGS = addToSet({}, ['audio', 'video', 'img', 'source', 'image', 'track']);\n\n /* Attributes safe for values like \"javascript:\" */\n var URI_SAFE_ATTRIBUTES = null;\n var DEFAULT_URI_SAFE_ATTRIBUTES = addToSet({}, ['alt', 'class', 'for', 'id', 'label', 'name', 'pattern', 'placeholder', 'role', 'summary', 'title', 'value', 'style', 'xmlns']);\n var MATHML_NAMESPACE = 'http://www.w3.org/1998/Math/MathML';\n var SVG_NAMESPACE = 'http://www.w3.org/2000/svg';\n var HTML_NAMESPACE = 'http://www.w3.org/1999/xhtml';\n /* Document namespace */\n var NAMESPACE = HTML_NAMESPACE;\n var IS_EMPTY_INPUT = false;\n\n /* Allowed XHTML+XML namespaces */\n var ALLOWED_NAMESPACES = null;\n var DEFAULT_ALLOWED_NAMESPACES = addToSet({}, [MATHML_NAMESPACE, SVG_NAMESPACE, HTML_NAMESPACE], stringToString);\n\n /* Parsing of strict XHTML documents */\n var PARSER_MEDIA_TYPE;\n var SUPPORTED_PARSER_MEDIA_TYPES = ['application/xhtml+xml', 'text/html'];\n var DEFAULT_PARSER_MEDIA_TYPE = 'text/html';\n var transformCaseFunc;\n\n /* Keep a reference to config to pass to hooks */\n var CONFIG = null;\n\n /* Ideally, do not touch anything below this line */\n /* ______________________________________________ */\n\n var formElement = document.createElement('form');\n var isRegexOrFunction = function isRegexOrFunction(testValue) {\n return testValue instanceof RegExp || testValue instanceof Function;\n };\n\n /**\n * _parseConfig\n *\n * @param {Object} cfg optional config literal\n */\n // eslint-disable-next-line complexity\n var _parseConfig = function _parseConfig(cfg) {\n if (CONFIG && CONFIG === cfg) {\n return;\n }\n\n /* Shield configuration object from tampering */\n if (!cfg || _typeof(cfg) !== 'object') {\n cfg = {};\n }\n\n /* Shield configuration object from prototype pollution */\n cfg = clone(cfg);\n PARSER_MEDIA_TYPE =\n // eslint-disable-next-line unicorn/prefer-includes\n SUPPORTED_PARSER_MEDIA_TYPES.indexOf(cfg.PARSER_MEDIA_TYPE) === -1 ? PARSER_MEDIA_TYPE = DEFAULT_PARSER_MEDIA_TYPE : PARSER_MEDIA_TYPE = cfg.PARSER_MEDIA_TYPE;\n\n // HTML tags and attributes are not case-sensitive, converting to lowercase. Keeping XHTML as is.\n transformCaseFunc = PARSER_MEDIA_TYPE === 'application/xhtml+xml' ? stringToString : stringToLowerCase;\n\n /* Set configuration parameters */\n ALLOWED_TAGS = 'ALLOWED_TAGS' in cfg ? addToSet({}, cfg.ALLOWED_TAGS, transformCaseFunc) : DEFAULT_ALLOWED_TAGS;\n ALLOWED_ATTR = 'ALLOWED_ATTR' in cfg ? addToSet({}, cfg.ALLOWED_ATTR, transformCaseFunc) : DEFAULT_ALLOWED_ATTR;\n ALLOWED_NAMESPACES = 'ALLOWED_NAMESPACES' in cfg ? addToSet({}, cfg.ALLOWED_NAMESPACES, stringToString) : DEFAULT_ALLOWED_NAMESPACES;\n URI_SAFE_ATTRIBUTES = 'ADD_URI_SAFE_ATTR' in cfg ? addToSet(clone(DEFAULT_URI_SAFE_ATTRIBUTES),\n // eslint-disable-line indent\n cfg.ADD_URI_SAFE_ATTR,\n // eslint-disable-line indent\n transformCaseFunc // eslint-disable-line indent\n ) // eslint-disable-line indent\n : DEFAULT_URI_SAFE_ATTRIBUTES;\n DATA_URI_TAGS = 'ADD_DATA_URI_TAGS' in cfg ? addToSet(clone(DEFAULT_DATA_URI_TAGS),\n // eslint-disable-line indent\n cfg.ADD_DATA_URI_TAGS,\n // eslint-disable-line indent\n transformCaseFunc // eslint-disable-line indent\n ) // eslint-disable-line indent\n : DEFAULT_DATA_URI_TAGS;\n FORBID_CONTENTS = 'FORBID_CONTENTS' in cfg ? addToSet({}, cfg.FORBID_CONTENTS, transformCaseFunc) : DEFAULT_FORBID_CONTENTS;\n FORBID_TAGS = 'FORBID_TAGS' in cfg ? addToSet({}, cfg.FORBID_TAGS, transformCaseFunc) : {};\n FORBID_ATTR = 'FORBID_ATTR' in cfg ? addToSet({}, cfg.FORBID_ATTR, transformCaseFunc) : {};\n USE_PROFILES = 'USE_PROFILES' in cfg ? cfg.USE_PROFILES : false;\n ALLOW_ARIA_ATTR = cfg.ALLOW_ARIA_ATTR !== false; // Default true\n ALLOW_DATA_ATTR = cfg.ALLOW_DATA_ATTR !== false; // Default true\n ALLOW_UNKNOWN_PROTOCOLS = cfg.ALLOW_UNKNOWN_PROTOCOLS || false; // Default false\n ALLOW_SELF_CLOSE_IN_ATTR = cfg.ALLOW_SELF_CLOSE_IN_ATTR !== false; // Default true\n SAFE_FOR_TEMPLATES = cfg.SAFE_FOR_TEMPLATES || false; // Default false\n SAFE_FOR_XML = cfg.SAFE_FOR_XML !== false; // Default true\n WHOLE_DOCUMENT = cfg.WHOLE_DOCUMENT || false; // Default false\n RETURN_DOM = cfg.RETURN_DOM || false; // Default false\n RETURN_DOM_FRAGMENT = cfg.RETURN_DOM_FRAGMENT || false; // Default false\n RETURN_TRUSTED_TYPE = cfg.RETURN_TRUSTED_TYPE || false; // Default false\n FORCE_BODY = cfg.FORCE_BODY || false; // Default false\n SANITIZE_DOM = cfg.SANITIZE_DOM !== false; // Default true\n SANITIZE_NAMED_PROPS = cfg.SANITIZE_NAMED_PROPS || false; // Default false\n KEEP_CONTENT = cfg.KEEP_CONTENT !== false; // Default true\n IN_PLACE = cfg.IN_PLACE || false; // Default false\n IS_ALLOWED_URI$1 = cfg.ALLOWED_URI_REGEXP || IS_ALLOWED_URI$1;\n NAMESPACE = cfg.NAMESPACE || HTML_NAMESPACE;\n CUSTOM_ELEMENT_HANDLING = cfg.CUSTOM_ELEMENT_HANDLING || {};\n if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck)) {\n CUSTOM_ELEMENT_HANDLING.tagNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck;\n }\n if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)) {\n CUSTOM_ELEMENT_HANDLING.attributeNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.attributeNameCheck;\n }\n if (cfg.CUSTOM_ELEMENT_HANDLING && typeof cfg.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements === 'boolean') {\n CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements = cfg.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements;\n }\n if (SAFE_FOR_TEMPLATES) {\n ALLOW_DATA_ATTR = false;\n }\n if (RETURN_DOM_FRAGMENT) {\n RETURN_DOM = true;\n }\n\n /* Parse profile info */\n if (USE_PROFILES) {\n ALLOWED_TAGS = addToSet({}, _toConsumableArray(text));\n ALLOWED_ATTR = [];\n if (USE_PROFILES.html === true) {\n addToSet(ALLOWED_TAGS, html$1);\n addToSet(ALLOWED_ATTR, html);\n }\n if (USE_PROFILES.svg === true) {\n addToSet(ALLOWED_TAGS, svg$1);\n addToSet(ALLOWED_ATTR, svg);\n addToSet(ALLOWED_ATTR, xml);\n }\n if (USE_PROFILES.svgFilters === true) {\n addToSet(ALLOWED_TAGS, svgFilters);\n addToSet(ALLOWED_ATTR, svg);\n addToSet(ALLOWED_ATTR, xml);\n }\n if (USE_PROFILES.mathMl === true) {\n addToSet(ALLOWED_TAGS, mathMl$1);\n addToSet(ALLOWED_ATTR, mathMl);\n addToSet(ALLOWED_ATTR, xml);\n }\n }\n\n /* Merge configuration parameters */\n if (cfg.ADD_TAGS) {\n if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {\n ALLOWED_TAGS = clone(ALLOWED_TAGS);\n }\n addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);\n }\n if (cfg.ADD_ATTR) {\n if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {\n ALLOWED_ATTR = clone(ALLOWED_ATTR);\n }\n addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);\n }\n if (cfg.ADD_URI_SAFE_ATTR) {\n addToSet(URI_SAFE_ATTRIBUTES, cfg.ADD_URI_SAFE_ATTR, transformCaseFunc);\n }\n if (cfg.FORBID_CONTENTS) {\n if (FORBID_CONTENTS === DEFAULT_FORBID_CONTENTS) {\n FORBID_CONTENTS = clone(FORBID_CONTENTS);\n }\n addToSet(FORBID_CONTENTS, cfg.FORBID_CONTENTS, transformCaseFunc);\n }\n\n /* Add #text in case KEEP_CONTENT is set to true */\n if (KEEP_CONTENT) {\n ALLOWED_TAGS['#text'] = true;\n }\n\n /* Add html, head and body to ALLOWED_TAGS in case WHOLE_DOCUMENT is true */\n if (WHOLE_DOCUMENT) {\n addToSet(ALLOWED_TAGS, ['html', 'head', 'body']);\n }\n\n /* Add tbody to ALLOWED_TAGS in case tables are permitted, see #286, #365 */\n if (ALLOWED_TAGS.table) {\n addToSet(ALLOWED_TAGS, ['tbody']);\n delete FORBID_TAGS.tbody;\n }\n\n // Prevent further manipulation of configuration.\n // Not available in IE8, Safari 5, etc.\n if (freeze) {\n freeze(cfg);\n }\n CONFIG = cfg;\n };\n var MATHML_TEXT_INTEGRATION_POINTS = addToSet({}, ['mi', 'mo', 'mn', 'ms', 'mtext']);\n var HTML_INTEGRATION_POINTS = addToSet({}, ['annotation-xml']);\n\n // Certain elements are allowed in both SVG and HTML\n // namespace. We need to specify them explicitly\n // so that they don't get erroneously deleted from\n // HTML namespace.\n var COMMON_SVG_AND_HTML_ELEMENTS = addToSet({}, ['title', 'style', 'font', 'a', 'script']);\n\n /* Keep track of all possible SVG and MathML tags\n * so that we can perform the namespace checks\n * correctly. */\n var ALL_SVG_TAGS = addToSet({}, svg$1);\n addToSet(ALL_SVG_TAGS, svgFilters);\n addToSet(ALL_SVG_TAGS, svgDisallowed);\n var ALL_MATHML_TAGS = addToSet({}, mathMl$1);\n addToSet(ALL_MATHML_TAGS, mathMlDisallowed);\n\n /**\n *\n *\n * @param {Element} element a DOM element whose namespace is being checked\n * @returns {boolean} Return false if the element has a\n * namespace that a spec-compliant parser would never\n * return. Return true otherwise.\n */\n var _checkValidNamespace = function _checkValidNamespace(element) {\n var parent = getParentNode(element);\n\n // In JSDOM, if we're inside shadow DOM, then parentNode\n // can be null. We just simulate parent in this case.\n if (!parent || !parent.tagName) {\n parent = {\n namespaceURI: NAMESPACE,\n tagName: 'template'\n };\n }\n var tagName = stringToLowerCase(element.tagName);\n var parentTagName = stringToLowerCase(parent.tagName);\n if (!ALLOWED_NAMESPACES[element.namespaceURI]) {\n return false;\n }\n if (element.namespaceURI === SVG_NAMESPACE) {\n // The only way to switch from HTML namespace to SVG\n // is via . If it happens via any other tag, then\n // it should be killed.\n if (parent.namespaceURI === HTML_NAMESPACE) {\n return tagName === 'svg';\n }\n\n // The only way to switch from MathML to SVG is via`\n // svg if parent is either or MathML\n // text integration points.\n if (parent.namespaceURI === MATHML_NAMESPACE) {\n return tagName === 'svg' && (parentTagName === 'annotation-xml' || MATHML_TEXT_INTEGRATION_POINTS[parentTagName]);\n }\n\n // We only allow elements that are defined in SVG\n // spec. All others are disallowed in SVG namespace.\n return Boolean(ALL_SVG_TAGS[tagName]);\n }\n if (element.namespaceURI === MATHML_NAMESPACE) {\n // The only way to switch from HTML namespace to MathML\n // is via . If it happens via any other tag, then\n // it should be killed.\n if (parent.namespaceURI === HTML_NAMESPACE) {\n return tagName === 'math';\n }\n\n // The only way to switch from SVG to MathML is via\n // and HTML integration points\n if (parent.namespaceURI === SVG_NAMESPACE) {\n return tagName === 'math' && HTML_INTEGRATION_POINTS[parentTagName];\n }\n\n // We only allow elements that are defined in MathML\n // spec. All others are disallowed in MathML namespace.\n return Boolean(ALL_MATHML_TAGS[tagName]);\n }\n if (element.namespaceURI === HTML_NAMESPACE) {\n // The only way to switch from SVG to HTML is via\n // HTML integration points, and from MathML to HTML\n // is via MathML text integration points\n if (parent.namespaceURI === SVG_NAMESPACE && !HTML_INTEGRATION_POINTS[parentTagName]) {\n return false;\n }\n if (parent.namespaceURI === MATHML_NAMESPACE && !MATHML_TEXT_INTEGRATION_POINTS[parentTagName]) {\n return false;\n }\n\n // We disallow tags that are specific for MathML\n // or SVG and should never appear in HTML namespace\n return !ALL_MATHML_TAGS[tagName] && (COMMON_SVG_AND_HTML_ELEMENTS[tagName] || !ALL_SVG_TAGS[tagName]);\n }\n\n // For XHTML and XML documents that support custom namespaces\n if (PARSER_MEDIA_TYPE === 'application/xhtml+xml' && ALLOWED_NAMESPACES[element.namespaceURI]) {\n return true;\n }\n\n // The code should never reach this place (this means\n // that the element somehow got namespace that is not\n // HTML, SVG, MathML or allowed via ALLOWED_NAMESPACES).\n // Return false just in case.\n return false;\n };\n\n /**\n * _forceRemove\n *\n * @param {Node} node a DOM node\n */\n var _forceRemove = function _forceRemove(node) {\n arrayPush(DOMPurify.removed, {\n element: node\n });\n try {\n // eslint-disable-next-line unicorn/prefer-dom-node-remove\n node.parentNode.removeChild(node);\n } catch (_) {\n try {\n node.outerHTML = emptyHTML;\n } catch (_) {\n node.remove();\n }\n }\n };\n\n /**\n * _removeAttribute\n *\n * @param {String} name an Attribute name\n * @param {Node} node a DOM node\n */\n var _removeAttribute = function _removeAttribute(name, node) {\n try {\n arrayPush(DOMPurify.removed, {\n attribute: node.getAttributeNode(name),\n from: node\n });\n } catch (_) {\n arrayPush(DOMPurify.removed, {\n attribute: null,\n from: node\n });\n }\n node.removeAttribute(name);\n\n // We void attribute values for unremovable \"is\"\" attributes\n if (name === 'is' && !ALLOWED_ATTR[name]) {\n if (RETURN_DOM || RETURN_DOM_FRAGMENT) {\n try {\n _forceRemove(node);\n } catch (_) {}\n } else {\n try {\n node.setAttribute(name, '');\n } catch (_) {}\n }\n }\n };\n\n /**\n * _initDocument\n *\n * @param {String} dirty a string of dirty markup\n * @return {Document} a DOM, filled with the dirty markup\n */\n var _initDocument = function _initDocument(dirty) {\n /* Create a HTML document */\n var doc;\n var leadingWhitespace;\n if (FORCE_BODY) {\n dirty = '' + dirty;\n } else {\n /* If FORCE_BODY isn't used, leading whitespace needs to be preserved manually */\n var matches = stringMatch(dirty, /^[\\r\\n\\t ]+/);\n leadingWhitespace = matches && matches[0];\n }\n if (PARSER_MEDIA_TYPE === 'application/xhtml+xml' && NAMESPACE === HTML_NAMESPACE) {\n // Root of XHTML doc must contain xmlns declaration (see https://www.w3.org/TR/xhtml1/normative.html#strict)\n dirty = '' + dirty + '';\n }\n var dirtyPayload = trustedTypesPolicy ? trustedTypesPolicy.createHTML(dirty) : dirty;\n /*\n * Use the DOMParser API by default, fallback later if needs be\n * DOMParser not work for svg when has multiple root element.\n */\n if (NAMESPACE === HTML_NAMESPACE) {\n try {\n doc = new DOMParser().parseFromString(dirtyPayload, PARSER_MEDIA_TYPE);\n } catch (_) {}\n }\n\n /* Use createHTMLDocument in case DOMParser is not available */\n if (!doc || !doc.documentElement) {\n doc = implementation.createDocument(NAMESPACE, 'template', null);\n try {\n doc.documentElement.innerHTML = IS_EMPTY_INPUT ? emptyHTML : dirtyPayload;\n } catch (_) {\n // Syntax error if dirtyPayload is invalid xml\n }\n }\n var body = doc.body || doc.documentElement;\n if (dirty && leadingWhitespace) {\n body.insertBefore(document.createTextNode(leadingWhitespace), body.childNodes[0] || null);\n }\n\n /* Work on whole document or just its body */\n if (NAMESPACE === HTML_NAMESPACE) {\n return getElementsByTagName.call(doc, WHOLE_DOCUMENT ? 'html' : 'body')[0];\n }\n return WHOLE_DOCUMENT ? doc.documentElement : body;\n };\n\n /**\n * _createIterator\n *\n * @param {Document} root document/fragment to create iterator for\n * @return {Iterator} iterator instance\n */\n var _createIterator = function _createIterator(root) {\n return createNodeIterator.call(root.ownerDocument || root, root,\n // eslint-disable-next-line no-bitwise\n NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_COMMENT | NodeFilter.SHOW_TEXT | NodeFilter.SHOW_PROCESSING_INSTRUCTION | NodeFilter.SHOW_CDATA_SECTION, null, false);\n };\n\n /**\n * _isClobbered\n *\n * @param {Node} elm element to check for clobbering attacks\n * @return {Boolean} true if clobbered, false if safe\n */\n var _isClobbered = function _isClobbered(elm) {\n return elm instanceof HTMLFormElement && (typeof elm.nodeName !== 'string' || typeof elm.textContent !== 'string' || typeof elm.removeChild !== 'function' || !(elm.attributes instanceof NamedNodeMap) || typeof elm.removeAttribute !== 'function' || typeof elm.setAttribute !== 'function' || typeof elm.namespaceURI !== 'string' || typeof elm.insertBefore !== 'function' || typeof elm.hasChildNodes !== 'function');\n };\n\n /**\n * _isNode\n *\n * @param {Node} obj object to check whether it's a DOM node\n * @return {Boolean} true is object is a DOM node\n */\n var _isNode = function _isNode(object) {\n return _typeof(Node) === 'object' ? object instanceof Node : object && _typeof(object) === 'object' && typeof object.nodeType === 'number' && typeof object.nodeName === 'string';\n };\n\n /**\n * _executeHook\n * Execute user configurable hooks\n *\n * @param {String} entryPoint Name of the hook's entry point\n * @param {Node} currentNode node to work on with the hook\n * @param {Object} data additional hook parameters\n */\n var _executeHook = function _executeHook(entryPoint, currentNode, data) {\n if (!hooks[entryPoint]) {\n return;\n }\n arrayForEach(hooks[entryPoint], function (hook) {\n hook.call(DOMPurify, currentNode, data, CONFIG);\n });\n };\n\n /**\n * _sanitizeElements\n *\n * @protect nodeName\n * @protect textContent\n * @protect removeChild\n *\n * @param {Node} currentNode to check for permission to exist\n * @return {Boolean} true if node was killed, false if left alive\n */\n var _sanitizeElements = function _sanitizeElements(currentNode) {\n var content;\n\n /* Execute a hook if present */\n _executeHook('beforeSanitizeElements', currentNode, null);\n\n /* Check if element is clobbered or can clobber */\n if (_isClobbered(currentNode)) {\n _forceRemove(currentNode);\n return true;\n }\n\n /* Check if tagname contains Unicode */\n if (regExpTest(/[\\u0080-\\uFFFF]/, currentNode.nodeName)) {\n _forceRemove(currentNode);\n return true;\n }\n\n /* Now let's check the element's type and name */\n var tagName = transformCaseFunc(currentNode.nodeName);\n\n /* Execute a hook if present */\n _executeHook('uponSanitizeElement', currentNode, {\n tagName: tagName,\n allowedTags: ALLOWED_TAGS\n });\n\n /* Detect mXSS attempts abusing namespace confusion */\n if (currentNode.hasChildNodes() && !_isNode(currentNode.firstElementChild) && (!_isNode(currentNode.content) || !_isNode(currentNode.content.firstElementChild)) && regExpTest(/<[/\\w]/g, currentNode.innerHTML) && regExpTest(/<[/\\w]/g, currentNode.textContent)) {\n _forceRemove(currentNode);\n return true;\n }\n\n /* Mitigate a problem with templates inside select */\n if (tagName === 'select' && regExpTest(/