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,CAAA1N,kHAAAC,+BAIA0N,6EACAC,4EACFC,wFACGC,iHACDC,4HAGRC,oEAEEC,yEAEKC,mEACAC,oEACHC,wEAIFC,wEAE4BC,mFAC3BC,2DACGC,kEAIJC,qEAE0BxN,wFAI1BmN,yEAEcM,0EACHC,iFAIXC,oGAMEV,gEACDG,4DACCI,qEAGAN,iEACEU,wDACIC,kFAGNV,8DACAW,yFAKAT,mHAEMU,wKAECC,8DACAC,8DACMC,0EACNC,8DACFC,0DACFC,sDACDC,oDACFC,gDACQC,qEAIRC,8EACEC,wDACCC,yHACLC,CAAAvN,2BACCwN,kDACOC,gEACYC,4FAAAC,gFACXC,oEACJC,2DACYC,iJACHC,0IACMC,mHACRC,2EACHC,wEACOC,6EACGD,kFACJE,+EACSC,0FACCC,8FACZF,6EACVG,sDACQC,yEACKC,6EAGdvC,mEAGMwC,gEACEC,uEACRC,oEAGMC,6EACEC,0EACRC,oEAEEC,4EAEIC,4EACAC,yEACCC,gIACFC,sEACSC,0EACLC,gEACFC,4DACHC,mEACAC,mEACOC,iFACAC,iFACRC,uFAKHzD,0DACI0D,4DACER,0EAELS,wDACStN,+DACCC,iEACCsN,iEACCC,qEACJC,kEACHC,4DACKpN,sEACMqN,kFACXC,4DACFlE,0EAIJmE,kFACCC,kEACHC,4DAEKC,kGAIHpE,sEAEOqE,8DACDC,4DACGC,6DACClE,oEACDD,qFAITH,sEAEIE,wDACIqE,gEACPC,kDACGC,mFAIJC,iFAECC,yEAGKC,iEACIC,qFAGZC,yDACMC,qEACJC,6DACMC,0KACDC,kEACMnN,gEACVoN,0DACDtF,wDACOuF,sEACFC,wEACKC,qIACFC,2EACGC,wJACJC,sEACQC,qIACCC,yFACMC,wKACnBlN,CAAAmN,gGACMnN,CAAAoN,6BACIC,gFACRC,qLAAAC,0CAAAC,6FACAC,qLAAAC,qBAAAC,wGAELC,0DACGC,4MAGHjH,8DACKgB,8DACAC,oFAGLiG,kEACkB9B,2FACR3E,wEACAC,0IAGZkB,CAA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C,8EAIRC,yFACEC,+DACCC,gIACLC,CAAA1a,2BACCC,mDACO0a,oEACYC,6FAAAC,2FACXC,gEACJC,2DACYC,0LACHC,4IACMC,sIACRC,sFACHC,uEACOC,+EACGD,iFACJE,gFACSC,iGACCC,mGACZF,8EACVG,sDACQC,+EACKC,6EAGdvC,uEAGMwC,iEACEC,yEACRC,qEAGMC,4EACEC,2EACRC,oEAEEC,6EAEIC,wFACAC,mFACCC,mKACFC,gFACSC,4EACLC,kEACFC,+DACHC,sEACAC,yEACOC,yFACAC,2FACRC,wFAKHzD,0DACI0D,4DACER,4EAELS,yDACSC,8DACCC,+DACCC,0EACCC,0EACJC,0EACHC,4DACKC,wEACMC,yFACXC,4DACFrE,8EAIJsE,gGACCC,uEACHC,0DAEKC,iGAIHvE,iEAEOwE,2DACDC,2DACGC,2DACCpE,qEACDD,sFAITJ,uEAEIG,wDACIuE,iEACPC,mDACGxa,gFAIJya,4EAECC,uEAGKC,kEACIC,qFAGZC,0DACMC,iEACJA,6DACMC,8LACDC,uEACMC,sEACVC,wDACDxF,4DACOyF,uEACFC,yEACKC,4JACFC,iFACGC,kKACJC,8EACQC,6JACCC,2FACMC,6KACnBta,CAAAua,kGACMva,CAAAwa,kCACIC,kFACRC,2MAAAC,uCAAAC,sHACAC,8LAAAC,2BAAAC,2GAELC,8DACGC,kOAGHnH,8DACKiB,sEACAC,2FAGLkG,mEACkBC,sFACR5G,mEACAC,2IAGZmB,CAAA1a,2BACYiZ,4EACWkH,mGACvBnG,6DACQM,mEACDL,6DACFC,yDACKkG,6DACQC,gIACDhN,yGAAAh0B,CAAAmnB,2GACDp3B,CAAAkxC,gCACHC,6EACXnG,qDACFoG,wDACMC,mFAEFC,mHACFna,CAAAC,yCAIA6S,0DACAsH,oDACIrD,4DACJsD,qDACUC,oGAAAC,gBAAA3mG,CAAA4mG,yBACP3D,kEACA4D,0GAAAC,2BAAA9mG,CAAA+mG,sCACCzD,6HACS0D,CAAAC,wCACLC,qEACPC,2FAAAC,eAAApnG,CAAAqnG,2FACGpyC,CAAAqyC,0CACMtmG,2FAAAumG,0CACIC,gGAAAC,gCACXC,0FAKHC,yGACDC,wFACIC,kIAGHC,+GACDC,iFACIC,2FAAAC,sHAGHC,+EACDH,iFACIC,2FAAAC,0HAGHE,sHAGAC,yIAAAC,+CACDC,4GACEC,wGAAAC,8DAGFC,sIAGCC,sGAAAC,2DAGAC,iGAAAC,iDAGDC,+DACOC,6IAGPC,qEACOC,4HAGNC,4EACGC,mIAGKC,4FACCd,gIAGDe,kFACCC,iIAGDC,gJAKCC,iFACRC,2EACIC,uEACHC,mEACIC,yEACDC,sEACAC,6EACGC,yEACLC,yEACMN,2EACTA,kEACAO,yDACHC,0DACUC,0EACHC,6DACGC,sFAINC,6EACCC,qEACJha,kEAGJC,+CACDga,wEAIWC,4DACAC,gEACJC,yDACIC,kEACJC,0EC3WJC,6DAGGC,wDACJC,kIAESC,CAAA1nB,gJAAAC,+BAIA0nB,0EACAC,8EACFC,4GACGC,mHACDC,8IAGRC,0EAEEC,mFAEKC,iEACAC,6EACHC,oEAIFC,+EAE4BC,wFAC3BC,oEACGC,oEAIJC,kEAE0BC,wFAI1BN,qEAEcO,qFACHC,wFAIXC,oHAMEX,8DACDY,qEACCL,kEAGAN,0EACEnM,wDACI+M,yFAGNX,0DACAY,0FAKAC,wHAEMC,4NAECC,sEACAC,oEACMC,0EACNC,kEACFC,8DACFC,uDACDja,oDACFka,oDACQC,2EAIRC,iFACEC,gEACCC,gIACLC,CAAAxnB,4BACCwN,kDACOia,0EACYC,6FAAAC,gGACXC,oEACJC,8DACYC,0JACHC,mJACMC,+HACRC,0EACHC,0EACOC,gFACGD,oFACJE,oFACSC,6FACCC,oFACZF,kFACVG,0DACQC,4EACKC,8EAGdvC,qEAGMwC,gEACEC,6EACRC,oEAGMC,6EACEC,8EACRC,mEAEEC,iFAEIC,yEACAC,uEACCC,6IACFC,4EACSC,2EACLC,mEACFC,kEACHC,0EACAC,2EACOC,4FACAC,0F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AGKC,gGACCZ,kIAGDa,kGACCC,uGAGDC,8IAKCC,iFACRC,4EACIC,wEACHC,iEACIC,uEACDC,sEACAC,4EACGC,wEACLC,+EACMC,kFACTA,yEACAC,0EACHC,iEACUC,gFACHC,0DACGP,0FAINQ,yEACCC,4EACJC,uEAGJC,gDACDC,uEAIWC,8DACAC,oEACJC,wDACIC,iEACJC,oEC3WJC,+DAGGC,uDACJC,kIAESC,CAAA90B,iJAAAC,+BAIA80B,gFACAC,oFACFC,iGACGC,qGACDC,8HAGRC,kEAEEC,sEAEKC,sEACAC,iEACHC,qEAIFC,qEAE4BC,oFAC3BC,+DACGC,qEAIJC,wEAE0BC,uFAI1BN,sEAEcO,qEACHC,gFAIXC,yGAMEX,mEACDG,yDACCI,wEAGAN,8DACEW,uDACIC,mFAGNX,2DACAY,4FAKAV,oHAEMW,6KAECC,mEACAC,qEACMC,yEACNC,+DACFC,+DACFC,qDACDC,uDACFC,kDACQC,wEAIRC,6EACEC,4DACCC,yHACLC,CAAA50B,6BACC60B,wDACOC,uEACYC,wGAAAC,kEACXC,gEACJC,0DACYC,sJACHC,oIACMC,8GACRC,yEACHC,+EACOC,4EACGD,yFACJE,wEACSC,8FACCC,4FACZF,sEACVG,mDACQC,6EACKC,8EAGdxC,sEAGMyC,qEACEC,qEACRC,kEAGMC,4EACEC,6EACRC,kEAEEC,+EAEIC,uEACAC,wEACCC,+HACFC,iFACSC,0EACLC,+DACFb,6DACHc,qEACAC,wEACOC,iGACAC,mGACRC,wFAKHzD,6DACI0D,6DACEP,0EAELQ,yDACSC,oEACCC,kEACC/C,8DACCgD,4EACJC,6EACHC,8DACKC,mFACMC,iGACXC,4DACFpE,6EAIJqE,gFACCC,+DACHC,uDAEKC,8FAIHrE,iEAEOsE,2DACDC,2DACGC,4DACCnE,uEACDD,sFAITH,qEAEIE,uDACIsE,gEACPC,sDACGC,+EAIJC,kFAECC,oEAGKC,mEACIC,8EAGZC,0DACMC,+DACJA,2DACMC,8JACDC,+DACMC,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CAAK,CAE7C,CAAC,ECrCD,MAAM2oK,GAAa,WAAM,OAAO,sBAAkB,MAE5ChjJ,GAAMoc,GAAU6mI,EAAG,EACtB,IAAIrxB,GAAOx/I,EAAG,EACd,IAAIu1J,EAAM,EACV,IAAIx+E,EAAI,EACR,IAAI+5F,GAAUlhC,CAAK,EACnB,IAAIrqD,EAAO,EACX,UAAU,eAAgB55C,EAAY,EAEzC/d,GAAI,UAAU,WAAYmjJ,EAAO,EAGjCnmJ,GAAW,QAAS/E,GAAc,CAC5B+H,GAAA,UAAU/H,EAAU,KAAOA,CAAS,CAC1C,CAAC,EAED49C,GAAQ,QAAS31C,GAAW,CAC1BF,GAAI,IAAIE,CAAM,CAChB,CAAC,EAGY8iJ,GAAA,EAAE,KAAMphD,GAASA,EAAK,QAAQ5hG,GAAK2nI,EAAM,CAAC,EAGvD3nI,GAAI,MAAM,MAAM","names":["makeMap","str","map","key","val","EMPTY_OBJ","EMPTY_ARR","NOOP","NO","isOn","isModelListener","extend","remove","arr","el","i","hasOwnProperty","hasOwn","isArray","isMap","toTypeString","isSet","isDate","isFunction","isString","isSymbol","isObject","isPromise","objectToString","value","toRawType","isPlainObject","isIntegerKey","isReservedProp","cacheStringFunction","fn","cache","camelizeRE","camelize","_","c","hyphenateRE","hyphenate","capitalize","toHandlerKey","hasChanged","oldValue","invokeArrayFns","fns","arg","def","obj","writable","looseToNumber","n","toNumber","_globalThis","getGlobalThis","normalizeStyle","res","item","normalized","parseStringStyle","listDelimiterRE","propertyDelimiterRE","styleCommentRE","cssText","ret","tmp","normalizeClass","name","normalizeProps","props","klass","style","specialBooleanAttrs","isSpecialBooleanAttr","includeBooleanAttr","looseCompareArrays","a","b","equal","looseEqual","aValidType","bValidType","aKeysCount","bKeysCount","aHasKey","bHasKey","looseIndexOf","isRef","toDisplayString","replacer","_key","entries","val2","stringifySymbol","v","_a","activeEffectScope","EffectScope","detached","l","currentEffectScope","fromParent","last","effectScope","getCurrentScope","onScopeDispose","failSilently","activeSub","pausedQueueEffects","ReactiveEffect","batch","cleanupEffect","prepareDeps","prevEffect","prevShouldTrack","shouldTrack","cleanupDeps","link","removeSub","isDirty","batchDepth","batchedSub","batchedComputed","sub","isComputed","startBatch","endBatch","e","next","error","err","head","tail","prev","removeDep","refreshComputed","computed","globalVersion","dep","prevSub","soft","nextSub","prevDep","nextDep","trackStack","pauseTracking","resetTracking","cleanup","Link","Dep","debugInfo","addSub","currentTail","targetMap","ITERATE_KEY","MAP_KEY_ITERATE_KEY","ARRAY_ITERATE_KEY","track","target","type","depsMap","trigger","newValue","oldTarget","run","targetIsArray","isArrayIndex","newLength","key2","getDepFromReactive","object","depMap","reactiveReadArray","array","raw","toRaw","isShallow","toReactive","shallowReadArray","arrayInstrumentations","iterator","args","x","thisArg","apply","searchProxy","separator","noTracking","reduce","comparer","self","method","wrapValue","iter","result","arrayProto","wrappedRetFn","needsWrap","methodFn","result2","wrappedFn","index","acc","isProxy","isNonTrackableKeys","builtInSymbols","BaseReactiveHandler","_isReadonly","_isShallow","receiver","isReadonly2","isShallow2","shallowReadonlyMap","readonlyMap","shallowReactiveMap","reactiveMap","readonly","reactive","MutableReactiveHandler","isOldValueReadonly","isReadonly","hadKey","ReadonlyReactiveHandler","mutableHandlers","readonlyHandlers","shallowReactiveHandlers","toShallow","getProto","createIterableMethod","rawTarget","targetIsMap","isPair","isKeyOnly","innerIterator","wrap","toReadonly","done","createReadonlyMethod","createInstrumentations","shallow","instrumentations","rawKey","has","callback","observed","get","hadItems","createInstrumentationGetter","mutableCollectionHandlers","shallowCollectionHandlers","readonlyCollectionHandlers","targetTypeMap","rawType","getTargetType","createReactiveObject","shallowReactive","baseHandlers","collectionHandlers","proxyMap","existingProxy","targetType","proxy","isReactive","markRaw","r","ref","createRef","shallowRef","rawValue","RefImpl","useDirectValue","unref","ref2","toValue","source","shallowUnwrapHandlers","proxyRefs","objectWithRefs","CustomRefImpl","factory","set","newVal","customRef","toRefs","propertyToRef","ObjectRefImpl","_object","_defaultValue","GetterRefImpl","_getter","toRef","defaultValue","ComputedRefImpl","setter","isSSR","getterOrOptions","debugOptions","getter","INITIAL_WATCHER_VALUE","cleanupMap","activeWatcher","onWatcherCleanup","cleanupFn","owner","cleanups","watch","cb","options","immediate","deep","once","scheduler","augmentJob","call","reactiveGetter","source2","traverse","effect","boundCleanup","forceTrigger","isMultiSource","s","currentEffect","baseGetter","depth","scope","watchHandle","_cb","job","immediateFirstRun","currentWatcher","cleanup2","seen","callWithErrorHandling","instance","handleError","callWithAsyncErrorHandling","values","throwInDev","contextVNode","errorHandler","throwUnhandledErrorInProduction","cur","exposedInstance","errorInfo","errorCapturedHooks","logError","throwInProd","queue","flushIndex","pendingPostFlushCbs","activePostFlushCbs","postFlushIndex","resolvedPromise","currentFlushPromise","nextTick","p","findInsertionIndex","id","start","end","middle","middleJob","middleJobId","getId","queueJob","jobId","lastJob","queueFlush","flushJobs","queuePostFlushCb","flushPreFlushCbs","flushPostFlushCbs","deduped","currentRenderingInstance","currentScopeId","setCurrentRenderingInstance","withCtx","ctx","isNonScopedSlot","renderFnWithContext","setBlockTracking","prevInstance","withDirectives","vnode","directives","getComponentPublicInstance","bindings","dir","modifiers","invokeDirectiveHook","prevVNode","oldBindings","binding","hook","TeleportEndKey","isTeleport","isTeleportDisabled","isTeleportDeferred","isTargetSVG","isTargetMathML","resolveTarget","select","targetSelector","TeleportImpl","n1","n2","container","anchor","parentComponent","parentSuspense","namespace","slotScopeIds","optimized","internals","mountChildren","patchChildren","patchBlockChildren","insert","querySelector","createText","createComment","disabled","shapeFlag","children","dynamicChildren","placeholder","mainAnchor","mount","container2","anchor2","mountToTarget","targetAnchor","prepareAnchor","updateCssVars","queuePostRenderEffect","wasDisabled","currentContainer","currentAnchor","traverseStaticChildren","moveTeleport","nextTarget","unmount","hostRemove","doRemove","targetStart","shouldRemove","child","hydrateTeleport","parentAnchor","move","moveType","isReorder","node","nextSibling","parentNode","hydrateChildren","targetNode","Teleport","isDisabled","leaveCbKey","enterCbKey","useTransitionState","state","onMounted","onBeforeUnmount","TransitionHookValidator","BaseTransitionPropsValidators","recursiveGetSubtree","subTree","BaseTransitionImpl","slots","getCurrentInstance","getTransitionRawChildren","findNonCommentChild","rawProps","mode","emptyPlaceholder","innerChild","getInnerChild$1","enterHooks","resolveTransitionHooks","hooks","Comment","setTransitionHooks","oldInnerChild","isSameVNodeType","leavingHooks","earlyRemove","delayedLeave","leavingVNodesCache","getLeavingNodesForType","BaseTransition","leavingVNodes","postClone","appear","persisted","onBeforeEnter","onEnter","onAfterEnter","onEnterCancelled","onBeforeLeave","onLeave","onAfterLeave","onLeaveCancelled","onBeforeAppear","onAppear","onAfterAppear","onAppearCancelled","callHook","callAsyncHook","hook2","leavingVNode","afterHook","cancelHook","called","cancelled","vnode2","hooks2","isKeepAlive","cloneVNode","keepComment","parentKey","keyedFragmentCount","Fragment","defineComponent","extraOptions","markAsyncBoundary","useTemplateRef","refs","setRef","rawRef","oldRawRef","isUnmount","isAsyncWrapper","refValue","oldRef","setupState","rawSetupState","canSetSetupRef","_isString","_isRef","doSet","existing","isComment","forEachElement","defineAsyncComponent","loader","loadingComponent","errorComponent","delay","hydrateStrategy","timeout","suspensible","userOnError","pendingRequest","resolvedComp","retries","retry","load","thisRequest","resolve","reject","comp","hydrate","doHydrate","teardown","currentInstance","createInnerComp","onError","isInSSRComponentSetup","createVNode","loaded","delayed","parent","ce","onActivated","registerKeepAliveHook","onDeactivated","wrappedHook","current","injectHook","injectToKeepAliveRoot","keepAliveRoot","injected","onUnmounted","prepend","reset","setCurrentInstance","createHook","lifecycle","onBeforeMount","onBeforeUpdate","onUpdated","onServerPrefetch","onRenderTriggered","onRenderTracked","onErrorCaptured","COMPONENTS","DIRECTIVES","resolveComponent","maybeSelfReference","resolveAsset","NULL_DYNAMIC_COMPONENT","resolveDynamicComponent","component","resolveDirective","warnMissing","Component","selfName","getComponentName","registry","renderList","renderItem","cached","sourceIsArray","sourceIsReactiveArray","keys","createSlots","dynamicSlots","slot","j","renderSlot","fallback","noSlotted","openBlock","createBlock","validSlotContent","ensureValidVNode","slotKey","rendered","vnodes","isVNode","toHandlers","preserveCaseIfNecessary","getPublicInstance","isStatefulComponent","publicPropertiesMap","resolveMergedOptions","instanceWatch","hasSetupBinding","PublicInstanceProxyHandlers","data","accessCache","appContext","normalizedProps","shouldCacheAccess","publicGetter","cssModule","globalProperties","propsOptions","descriptor","useSlots","getContext","useAttrs","createSetupContext","normalizePropsOrEmits","mergeModels","applyOptions","publicThis","dataOptions","computedOptions","methods","watchOptions","provideOptions","injectOptions","created","beforeMount","mounted","beforeUpdate","updated","activated","deactivated","beforeDestroy","beforeUnmount","destroyed","unmounted","render","renderTracked","renderTriggered","errorCaptured","serverPrefetch","expose","inheritAttrs","components","filters","resolveInjections","methodHandler","opt","createWatcher","provides","provide","registerLifecycleHook","register","_hook","exposed","checkDuplicateProperties","normalizeInject","inject","h","createPathGetter","handler","base","mixins","extendsOptions","globalMixins","optionMergeStrategies","resolved","m","mergeOptions","to","from","strats","asMixin","strat","internalOptionMergeStrats","mergeDataFn","mergeEmitsOrPropsOptions","mergeObjectOptions","mergeAsArray","mergeWatchOptions","mergeInject","merged","createAppContext","uid$1","createAppAPI","rootComponent","rootProps","context","installedPlugins","pluginCleanupFns","isMounted","app","version","plugin","mixin","directive","rootContainer","isHydrate","lastApp","currentApp","parentProvides","treatDefaultAsFactory","internalObjectProto","createInternalObject","isInternalObject","initProps","isStateful","attrs","setFullProps","updateProps","rawPrevProps","patchFlag","rawCurrentProps","hasAttrsChanged","propsToUpdate","isEmitListener","camelizedKey","resolvePropValue","kebabKey","needCastKeys","rawCastValues","camelKey","castValues","isAbsent","hasDefault","propsDefaults","mixinPropsCache","normalizePropsOptions","hasExtends","extendProps","raw2","normalizedKey","validatePropName","prop","propType","shouldCast","shouldCastTrue","typeName","isInternalKey","normalizeSlotValue","normalizeVNode","normalizeSlot","rawSlot","normalizeObjectSlots","rawSlots","normalizeVNodeSlots","assignSlots","initSlots","updateSlots","needDeletionCheck","deletionComparisonTarget","queueEffectWithSuspense","createRenderer","baseCreateRenderer","createHydrationFns","hostInsert","hostPatchProp","hostCreateElement","hostCreateText","hostCreateComment","hostSetText","hostSetElementText","hostParentNode","hostNextSibling","hostSetScopeId","hostInsertStaticContent","patch","getNextHostNode","Text","processText","processCommentNode","Static","mountStaticNode","processFragment","processElement","processComponent","moveStaticNode","removeStaticNode","mountElement","patchElement","vnodeHook","transition","dirs","resolveChildrenNamespace","setScopeId","invokeVNodeHook","needCallTransitionHooks","needTransition","scopeId","isSuspense","parentVNode","cloneIfMounted","oldProps","newProps","toggleRecurse","patchProps","oldChildren","newChildren","fallbackContainer","oldVNode","newVNode","fragmentStartAnchor","fragmentEndAnchor","fragmentSlotScopeIds","mountComponent","updateComponent","initialVNode","createComponentInstance","setupComponent","setupRenderEffect","shouldUpdateComponent","updateComponentPreRender","componentUpdateFn","bu","u","nonHydratedAsyncRoot","locateNonHydratedAsyncRoot","originNext","nextTree","renderComponentRoot","prevTree","updateHOCHostEl","bm","root","isAsyncWrapperVNode","scopedInitialVNode","update","nextVNode","prevProps","c1","prevShapeFlag","c2","patchKeyedChildren","patchUnkeyedChildren","unmountChildren","oldLength","commonLength","nextChild","l2","e1","e2","nextPos","s1","s2","keyToNewIndexMap","patched","toBePatched","moved","maxNewIndexSoFar","newIndexToOldIndexMap","prevChild","newIndex","increasingNewIndexSequence","getSequence","nextIndex","leave","delayLeave","afterLeave","remove2","performLeave","cacheIndex","shouldInvokeDirs","shouldInvokeVnodeHook","unmountComponent","removeFragment","performRemove","bum","um","invalidateMount","teleportEnd","isFlushing","currentNamespace","allowed","ch1","ch2","len","arrI","subComponent","ssrContextKey","useSSRContext","watchEffect","doWatch","watchSyncEffect","flush","baseWatchOptions","runsImmediately","ssrCleanup","watchStopHandle","isPre","isFirstRun","watch$1","path","segments","useModel","camelizedName","hyphenatedName","getModelModifiers","localValue","prevSetValue","prevEmittedValue","propValue","emittedValue","i2","modelName","emit","event","rawArgs","handlerName","onceHandler","normalizeEmitsOptions","extendEmits","normalizedFromExtend","withProxy","renderCache","fallthroughAttrs","proxyToUse","thisProxy","render2","getFunctionalFallthrough","blockStack","filterModelListeners","prevChildren","nextProps","nextChildren","emits","hasPropsChanged","dynamicProps","emitsOptions","nextKeys","suspense","currentBlock","disableTracking","closeBlock","isBlockTreeEnabled","inVOnce","setupBlock","createElementBlock","createBaseVNode","normalizeKey","normalizeRef","ref_key","ref_for","isBlockNode","needFullChildrenNormalization","normalizeChildren","_createVNode","cloned","isClassComponent","guardReactiveProps","extraProps","mergeRef","cloneTransition","mergedProps","mergeProps","createTextVNode","text","flag","createStaticVNode","content","numberOfNodes","createCommentVNode","asBlock","slotFlag","toMerge","incoming","emptyAppContext","uid","internalSetCurrentInstance","setInSSRSetupState","g","registerGlobalSetter","setters","unsetCurrentInstance","setupResult","setupStatefulComponent","setup","setupContext","isAsyncSetup","resolvedResult","handleSetupResult","finishComponentSetup","skipOptions","attrsProxyHandlers","includeInferred","computed$1","propsOrChildren","warn","policy","tt","unsafeToTrustedHTML","svgNS","mathmlNS","doc","templateContainer","nodeOps","tag","is","selector","before","template","wrapper","TRANSITION","ANIMATION","vtcKey","DOMTransitionPropsValidators","TransitionPropsValidators","decorate$1","t","Transition","resolveTransitionProps","h2","hasExplicitCallback","baseProps","duration","enterFromClass","enterActiveClass","enterToClass","appearFromClass","appearActiveClass","appearToClass","leaveFromClass","leaveActiveClass","leaveToClass","durations","normalizeDuration","enterDuration","leaveDuration","finishEnter","isAppear","isCancelled","removeTransitionClass","finishLeave","makeEnterHook","nextFrame","addTransitionClass","whenTransitionEnds","forceReflow","NumberOf","cls","_vtc","endId","expectedType","explicitTimeout","resolveIfNotStale","propCount","getTransitionInfo","endEvent","ended","onEnd","styles","getStyleProperties","transitionDelays","transitionDurations","transitionTimeout","getTimeout","animationDelays","animationDurations","animationTimeout","hasTransform","delays","d","toMs","patchClass","isSVG","transitionClasses","vShowOriginalDisplay","vShowHidden","vShow","setDisplay","CSS_VAR_TEXT","displayRE","patchStyle","isCssString","hasControlledDisplay","prevStyle","setStyle","cssVarText","importantRE","prefixed","autoPrefix","prefixes","prefixCache","rawName","xlinkNS","patchAttr","isBoolean","patchDOMProp","attrName","needRemove","addEventListener","removeEventListener","veiKey","patchEvent","prevValue","nextValue","invokers","existingInvoker","parseName","invoker","createInvoker","optionsModifierRE","cachedNow","getNow","initialValue","patchStopImmediatePropagation","originalStop","isNativeOn","patchProp","shouldSetAsProp","camelize$1","getModelAssigner","onCompositionStart","onCompositionEnd","assignKey","vModelText","lazy","trim","number","castToNumber","domValue","elValue","vModelCheckbox","modelValue","elementValue","getValue","checked","assign","found","filtered","getCheckboxValue","setChecked","systemModifiers","modifierGuards","withModifiers","cacheKey","guard","keyNames","withKeys","eventKey","k","rendererOptions","renderer","ensureRenderer","createApp","containerOrSelector","normalizeContainer","resolveRootNamespace","__props","iconComponent","__variableDynamicImportRuntimeHelper","HANDLERS_PROPERTY","HAS_WINDOWS","HAS_NAVIGATOR","IS_TOUCH","EVENTS","processDirectiveArguments","bindingValue","execHandler","middleware","onFauxIframeClick","activeElement","onEvent","events","isActive","detectIframe","capture","eventName","detectIframeEvent","srcTarget","thisHandler","clickOutside","configProviderContextKey","defaultNamespace","statePrefix","_bem","block","blockSuffix","element","modifier","namespaceContextKey","useGetDerivedNamespace","namespaceOverrides","derivedNamespace","useNamespace","freeGlobal","freeSelf","Symbol","objectProto","nativeObjectToString","symToStringTag","getRawTag","isOwn","unmasked","nullTag","undefinedTag","baseGetTag","isObjectLike","symbolTag","arrayMap","iteratee","length","symbolProto","symbolToString","baseToString","reWhitespace","trimmedEndIndex","string","reTrimStart","baseTrim","NAN","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","other","isBinary","asyncTag","funcTag","genTag","proxyTag","coreJsData","maskSrcKey","isMasked","func","funcProto","funcToString","toSource","reRegExpChar","reIsHostCtor","reIsNative","baseIsNative","pattern","getNative","WeakMap","objectCreate","baseCreate","proto","defineProperty","arrayEach","MAX_SAFE_INTEGER","reIsUint","isIndex","baseAssignValue","eq","assignValue","objValue","isLength","isArrayLike","isPrototype","Ctor","baseTimes","argsTag","baseIsArguments","propertyIsEnumerable","isArguments","stubFalse","freeExports","freeModule","moduleExports","Buffer","nativeIsBuffer","isBuffer","arrayTag","boolTag","dateTag","errorTag","mapTag","numberTag","objectTag","regexpTag","setTag","stringTag","weakMapTag","arrayBufferTag","dataViewTag","float32Tag","float64Tag","int8Tag","int16Tag","int32Tag","uint8Tag","uint8ClampedTag","uint16Tag","uint32Tag","typedArrayTags","baseIsTypedArray","baseUnary","freeProcess","nodeUtil","types","nodeIsTypedArray","isTypedArray","arrayLikeKeys","inherited","isArr","isArg","isBuff","isType","skipIndexes","overArg","transform","nativeKeys","baseKeys","reIsDeepProp","reIsPlainProp","isKey","nativeCreate","hashClear","hashDelete","HASH_UNDEFINED","hashGet","hashHas","hashSet","Hash","entry","listCacheClear","assocIndexOf","splice","listCacheDelete","lastIndex","listCacheGet","listCacheHas","listCacheSet","ListCache","Map","mapCacheClear","isKeyable","getMapData","mapCacheDelete","mapCacheGet","mapCacheHas","mapCacheSet","size","MapCache","FUNC_ERROR_TEXT","memoize","resolver","memoized","MAX_MEMOIZE_SIZE","memoizeCapped","rePropName","reEscapeChar","stringToPath","match","quote","subString","toString","castPath","toKey","baseGet","arrayPush","offset","getPrototype","stackClear","stackDelete","stackGet","stackHas","LARGE_ARRAY_SIZE","stackSet","pairs","Stack","cloneBuffer","buffer","isDeep","arrayFilter","predicate","resIndex","stubArray","nativeGetSymbols","getSymbols","symbol","baseGetAllKeys","keysFunc","symbolsFunc","getAllKeys","DataView","Promise","Set","promiseTag","dataViewCtorString","mapCtorString","promiseCtorString","setCtorString","weakMapCtorString","getTag","ctorString","initCloneArray","Uint8Array","cloneArrayBuffer","arrayBuffer","cloneDataView","dataView","reFlags","cloneRegExp","regexp","symbolValueOf","cloneSymbol","cloneTypedArray","typedArray","initCloneByTag","initCloneObject","baseIsMap","nodeIsMap","baseIsSet","nodeIsSet","cloneableTags","baseClone","bitmask","customizer","stack","isFunc","stacked","subValue","CLONE_DEEP_FLAG","CLONE_SYMBOLS_FLAG","cloneDeep","now","nativeMax","nativeMin","debounce","wait","lastArgs","lastThis","maxWait","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","invokeFunc","time","leadingEdge","timerExpired","remainingWait","timeSinceLastCall","timeSinceLastInvoke","timeWaiting","shouldInvoke","trailingEdge","cancel","debounced","isInvoking","fromPairs","pair","isNil","throttle","isUndefined","isNumber","isEmpty","isElement","isPropAbsent","isStringNumber","__defProp$9","__defProps$6","__getOwnPropDescs$6","__getOwnPropSymbols$b","__hasOwnProp$b","__propIsEnum$b","__defNormalProp$9","__spreadValues$9","__spreadProps$6","computedEager","isClient","noop","isIOS","resolveUnref","identity","tryOnScopeDispose","tryOnMounted","sync","unrefElement","elRef","plain","defaultWindow","useEventListener","listeners","listener","options2","stopWatch","stop","_iOSWorkaround","onClickOutside","window","ignore","shouldListen","shouldIgnore","target2","useSupported","isSupported","_global","globalKey","__getOwnPropSymbols$g","__hasOwnProp$g","__propIsEnum$g","__objRest$2","exclude","useResizeObserver","observerOptions","observer","useElementBounding","windowResize","windowScroll","height","bottom","left","right","top","width","y","rect","ele","__getOwnPropSymbols$8","__hasOwnProp$8","__propIsEnum$8","__objRest$1","useMutationObserver","mutationOptions","SwipeDirection","SwipeDirection2","__defProp","__getOwnPropSymbols","__hasOwnProp","__propIsEnum","__defNormalProp","__spreadValues","_TransitionPresets","useWindowSize","initialWidth","initialHeight","listenOrientation","includeScrollbar","ElementPlusError","throwError","debugWarn","message","initial","zIndex","defaultInitialZIndex","ZINDEX_INJECTION_KEY","zIndexContextKey","useZIndex","zIndexOverrides","increasingInjection","zIndexInjection","initialZIndex","zIndexFromInjection","currentZIndex","nextZIndex","English","buildTranslator","locale","option","translate","buildLocaleContext","lang","localeRef","localeContextKey","useLocale","localeOverrides","epPropKey","definePropType","isEpProp","buildProp","required","validator","epProp","valid","allowedValues","allowValuesText","buildProps","componentSizes","useSizeProp","SIZE_INJECTION_KEY","useGlobalSize","injectedSize","emptyValuesContextKey","DEFAULT_EMPTY_VALUES","DEFAULT_VALUE_ON_CLEAR","useEmptyValuesProps","useEmptyValues","config","emptyValues","valueOnClear","isEmptyValue","keysOf","globalConfig","useGlobalConfig","_b","useGlobalComponentSettings","sizeFallback","ns","provideGlobalConfig","global","inSetup","oldConfig","provideFn","cfg","mergeConfig","UPDATE_MODEL_EVENT","CHANGE_EVENT","INPUT_EVENT","affixProps","affixEmits","scrollTop","fixed","_export_sfc","sfc","classNameToArray","hasClass","addClass","removeClass","getStyle","styleName","addUnit","defaultUnit","isScroll","isVertical","overflow","getScrollContainer","scrollIntoView","selected","offsetParents","pointer","curr","viewRectTop","viewRectBottom","COMPONENT_NAME","__default__","_sfc_main","scrollContainer","windowHeight","rootHeight","rootWidth","rootTop","rootBottom","updateRoot","targetRect","rootStyle","affixStyle","position","rootHeightOffset","difference","handleScroll","_ctx","_cache","createElementVNode","Affix","withInstall","main","extra","withNoopInstall","ElAffix","iconProps","color","Icon","ElIcon","arrow_down_vue_vue_type_script_setup_true_lang_default","_defineComponent6","_openBlock6","_createElementBlock6","_createElementVNode6","arrow_down_default","arrow_left_vue_vue_type_script_setup_true_lang_default","_defineComponent8","_openBlock8","_createElementBlock8","_createElementVNode8","arrow_left_default","arrow_right_vue_vue_type_script_setup_true_lang_default","_defineComponent10","_openBlock10","_createElementBlock10","_createElementVNode10","arrow_right_default","arrow_up_vue_vue_type_script_setup_true_lang_default","_defineComponent12","_openBlock12","_createElementBlock12","_createElementVNode12","arrow_up_default","calendar_vue_vue_type_script_setup_true_lang_default","_defineComponent29","_openBlock29","_createElementBlock29","_createElementVNode29","calendar_default","check_vue_vue_type_script_setup_true_lang_default","_defineComponent43","_openBlock43","_createElementBlock43","_createElementVNode43","check_default","circle_check_vue_vue_type_script_setup_true_lang_default","_defineComponent49","_openBlock49","_createElementBlock49","_createElementVNode49","circle_check_default","circle_close_vue_vue_type_script_setup_true_lang_default","_defineComponent51","_openBlock51","_createElementBlock51","_createElementVNode51","circle_close_default","clock_vue_vue_type_script_setup_true_lang_default","_defineComponent54","_openBlock54","_createElementBlock54","_createElementVNode54","clock_default","close_vue_vue_type_script_setup_true_lang_default","_defineComponent56","_openBlock56","_createElementBlock56","_createElementVNode56","close_default","d_arrow_left_vue_vue_type_script_setup_true_lang_default","_defineComponent72","_openBlock72","_createElementBlock72","_createElementVNode72","d_arrow_left_default","d_arrow_right_vue_vue_type_script_setup_true_lang_default","_defineComponent73","_openBlock73","_createElementBlock73","_createElementVNode73","d_arrow_right_default","hide_vue_vue_type_script_setup_true_lang_default","_defineComponent133","_openBlock133","_createElementBlock133","_createElementVNode133","hide_default","loading_vue_vue_type_script_setup_true_lang_default","_defineComponent150","_openBlock150","_createElementBlock150","_createElementVNode150","loading_default","minus_vue_vue_type_script_setup_true_lang_default","_defineComponent169","_openBlock169","_createElementBlock169","_createElementVNode169","minus_default","picture_filled_vue_vue_type_script_setup_true_lang_default","_defineComponent195","_openBlock195","_createElementBlock195","_createElementVNode195","picture_filled_default","plus_vue_vue_type_script_setup_true_lang_default","_defineComponent201","_openBlock201","_createElementBlock201","_createElementVNode201","plus_default","view_vue_vue_type_script_setup_true_lang_default","_defineComponent283","_openBlock283","_createElementBlock283","_createElementVNode283","view_default","warning_filled_vue_vue_type_script_setup_true_lang_default","_defineComponent287","_openBlock287","_createElementBlock287","_createElementVNode287","warning_filled_default","iconPropType","ValidateComponentsMap","Loading","CircleCheck","CircleClose","mutable","formContextKey","formItemContextKey","defaultIdInjection","ID_INJECTION_KEY","useIdInjection","useId","deterministicId","idInjection","useFormItem","form","formItem","useFormItemInputId","formItemContext","disableIdGeneration","disableIdManagement","inputId","idUnwatch","isLabeledByFormItem","disableIdGeneration2","newId","useProp","vm","useFormSize","emptyRef","useFormDisabled","buttonGroupContextKey","useDeprecated","replacement","condition","useButton","buttonGroupContext","_size","_disabled","_ref","_type","autoInsertSpace","_c","_props","shouldAddSpace","defaultSlot","evt","buttonTypes","buttonNativeTypes","buttonProps","buttonEmits","bound01","max","isOnePointZero","isPercent","isPercentage","clamp01","boundAlpha","convertToPercentage","pad2","rgbToRgb","rgbToHsl","min","hue2rgb","q","hslToRgb","rgbToHsv","hsvToRgb","f","mod","rgbToHex","allow3Char","hex","rgbaToHex","allow4Char","convertDecimalToHex","convertHexToDecimal","parseIntFromHex","numberInputToObject","names","inputToRGB","rgb","ok","format","stringInputToObject","isValidCSSUnit","CSS_INTEGER","CSS_NUMBER","CSS_UNIT","PERMISSIVE_MATCH3","PERMISSIVE_MATCH4","matchers","named","TinyColor","opts","R","G","B","RsRGB","GsRGB","BsRGB","alpha","hsv","hsl","allowShortChar","fmt","rnd","_i","formatSet","formattedString","hasAlpha","needsAlphaFormat","amount","hue","rgb1","rgb2","rgba","results","slices","part","modification","background","fg","bg","increment","darken","useButtonCustomStyle","buttonColor","activeBgColor","hoverBgColor","textColor","disabledButtonColor","buttonStyle","handleClick","buttonKls","Button","buttonGroupProps","ButtonGroup","ElButton","carouselProps","carouselEmits","carouselContextKey","CAROUSEL_ITEM_NAME","flattedChildren","vNodes","getOrderedChildren","childComponentName","useOrderedChildren","orderedChildren","children2","THROTTLE_TIME","useCarousel","componentName","items","addItem","removeItem","activeIndex","timer","hover","containerHeight","isItemsTwoLength","isFirstCall","isTransitioning","arrowDisplay","hasLabel","isCardType","containerStyle","throttledArrowClick","setActiveItem","throttledIndicatorHover","handleIndicatorHover","isTwoLengthShow","pauseTimer","startTimer","playSlides","filteredItems","itemCount","oldIndex","resetItemPosition","resetTimer","itemInStage","_d","_items","nextItemIndex","prevItemIndex","lastItemIndex","isLastItemActive","isFirstItemActive","isNextItemActive","isPrevItemActive","handleMouseEnter","handleMouseLeave","handleTransitionEnd","handleButtonEnter","arrow","handleButtonLeave","handleIndicatorClick","setContainerHeight","PlaceholderItem","defaultSlots","normalizeSlots","prev2","autoplay","resizeObserver","carouselClasses","classes","carouselContainer","indicatorsClasses","$event","ArrowLeft","ArrowRight","Carousel","carouselItemProps","useCarouselItem","carouselContext","carouselItemRef","scale","active","ready","inStage","animating","cardScale","processIndex","halfItemIndex","calcCardTranslate","parentWidth","calcTranslate","isVertical2","rootEl","translateItem","_isCardType","carouselItemLength","_isVertical","handleItemClick","itemKls","itemStyle","translateType","_translate","_scale","CarouselItem","ElCarousel","ElCarouselItem","colProps","rowContextKey","gutter","colKls","sizeProp","Col","ElCol","on","CollapseTransition","ElCollapseTransition","configProviderProps","messageConfig","ConfigProvider","ElConfigProvider","RowJustify","RowAlign","rowProps","rowKls","Row","ElRow","createLoadingComponent","afterLeaveTimer","afterLeaveFlag","setText","destroySelf","loadingNumber","removeElLoadingChild","loadingInstance","close","handleAfterLeave","svg","spinner","spinnerText","fullscreenInstance","resolveOptions","addStyle","addClassList","maskStyle","property","scroll","INSTANCE_KEY","createInstance","getBindingProp","resolveExpression","getProp","fullscreen","updateOptions","newOptions","originalOptions","vLoading","ElLoading","plugins","toDate","argument","argStr","constructFrom","date","addDays","_date","addMonths","dayOfMonth","endOfDesiredMonth","daysInMonth","add","years","months","weeks","days","hours","minutes","seconds","dateWithMonths","dateWithDays","minutesToAdd","msToAdd","millisecondsInWeek","millisecondsInDay","millisecondsInMinute","millisecondsInHour","millisecondsInSecond","defaultOptions","getDefaultOptions","startOfWeek","weekStartsOn","_h","_g","_f","_e","day","diff","startOfISOWeek","getISOWeekYear","year","fourthOfJanuaryOfNextYear","startOfNextYear","fourthOfJanuaryOfThisYear","startOfThisYear","startOfDay","getTimezoneOffsetInMilliseconds","utcDate","differenceInCalendarDays","dateLeft","dateRight","startOfDayLeft","startOfDayRight","timestampLeft","timestampRight","startOfISOWeekYear","fourthOfJanuary","isSameDay","dateLeftStartOfDay","dateRightStartOfDay","isValid","eachDayOfInterval","interval","startDate","endDate","reversed","endTime","currentDate","step","dates","startOfYear","cleanDate","formatDistanceLocale","formatDistance","token","count","tokenValue","buildFormatLongFn","dateFormats","timeFormats","dateTimeFormats","formatLong","formatRelativeLocale","formatRelative","_baseDate","_options","buildLocalizeFn","valuesArray","defaultWidth","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","rem100","localize","quarter","buildMatchFn","matchPattern","matchResult","matchedString","parsePatterns","findIndex","findKey","rest","buildMatchPatternFn","parseResult","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","enUS","getDayOfYear","getISOWeek","getWeekYear","firstWeekContainsDate","firstWeekOfNextYear","firstWeekOfThisYear","startOfWeekYear","firstWeek","getWeek","addLeadingZeros","targetLength","sign","output","lightFormatters","signedYear","month","dayPeriodEnumValue","numberOfDigits","milliseconds","fractionalSeconds","dayPeriodEnum","formatters","era","signedWeekYear","weekYear","twoDigitYear","isoWeekYear","week","isoWeek","dayOfYear","dayOfWeek","localDayOfWeek","isoDayOfWeek","_localize","timezoneOffset","formatTimezoneWithOptionalMinutes","formatTimezone","formatTimezoneShort","timestamp","delimiter","absOffset","dateLongFormatter","timeLongFormatter","dateTimeLongFormatter","datePattern","timePattern","dateTimeFormat","longFormatters","dayOfYearTokenRE","weekYearTokenRE","throwTokens","isProtectedDayOfYearToken","isProtectedWeekYearToken","warnOrThrowProtectedError","input","_message","subject","formattingTokensRegExp","longFormattingTokensRegExp","escapedStringRegExp","doubleQuoteRegExp","unescapedLatinCharacterRegExp","formatStr","defaultLocale","originalDate","parts","substring","firstCharacter","longFormatter","cleanEscapedString","formatterOptions","formatter","matched","lightFormat","tokens","matches","parseISO","dateStrings","splitDateString","parseYearResult","parseYear","parseDate","parseTime","parseTimezone","dirtyDate","patterns","dateRegex","timeRegex","timezoneRegex","dateString","timeString","additionalDigits","regex","captures","century","isWeekDate","parseDateUnit","validateWeekDate","dayOfISOWeekYear","validateDate","validateDayOfYearDate","parseTimeUnit","validateTime","timezoneString","validateTimezone","fourthOfJanuaryDay","daysInMonths","isLeapYearIndex","_year","_hours","inBrowser","makeSymbol","shareable","generateFormatCacheKey","friendlyJSONstringify","json","isRegExp","isEmptyObject","_create","create","escapeHtml","rawText","join","incrementer","code","msg","isNotObjectOrIsArray","deepCopy","src","des","RE_ARGS","identifier","CompileWarnCodes","CompileErrorCodes","errorMessages","createCompileError","loc","domain","messages","initFeatureFlags","pathStateMachine","literalValueRE","isLiteral","exp","stripQuotes","getPathCharType","ch","formatSubPath","trimmed","parse","subPathDepth","newChar","action","typeMap","actions","maybeUnescapeQuote","nextChar","resolveWithKeyValue","resolveValue$1","hit","DEFAULT_MODIFIER","DEFAULT_MESSAGE","DEFAULT_MESSAGE_DATA_TYPE","DEFAULT_NORMALIZE","DEFAULT_INTERPOLATE","pluralDefault","choice","choicesLength","getPluralIndex","normalizeNamed","pluralIndex","createMessageContext","pluralRule","orgPluralRule","plural","_list","list","_named","_modifier","normalize","interpolate","arg1","arg2","devtools","setDevToolsHook","initI18nDevTools","i18n","meta","translateDevTools","createDevToolsHook","payloads","code$1","inc$1","CoreWarnCodes","inc","CoreErrorCodes","createCoreError","getLocale","resolveLocale","_resolveLocale","fallbackWithSimple","fallbackWithLocaleChain","startLocale","DEFAULT_LOCALE","chain","appendBlockToChain","defaults","blocks","follow","appendLocaleToChain","appendItemToChain","VERSION","NOT_REOSLVED","MISSING_RESOLVE_VALUE","getDefaultLinkedModifiers","_compiler","_resolver","registerMessageResolver","_fallbacker","registerLocaleFallbacker","fallbacker","_additionalMeta","setAdditionalMeta","getAdditionalMeta","_fallbackContext","setFallbackContext","getFallbackContext","_cid","createCoreContext","onWarn","_locale","fallbackLocale","createResources","datetimeFormats","numberFormats","pluralRules","missing","missingWarn","fallbackWarn","fallbackFormat","unresolving","postTranslation","processor","warnHtmlMessage","escapeParameter","messageCompiler","messageResolver","localeFallbacker","fallbackContext","internalOptions","__datetimeFormatters","__numberFormatters","__meta","handleMissing","updateFallbackLocale","isAlmostSameLocale","compareLocale","isImplicitFallback","targetLocale","locales","PROPS_TYPE","resolveType","resolveProps","isMessageAST","NOOP_MESSAGE_FUNCTION","isMessageFunction","parseTranslateArgs","resolvedMessage","defaultMsgOrKey","enableDefaultMsg","escapeParams","formatScope","resolveMessageFormat","cacheBaseKey","occurred","compileMessageFormat","ctxOptions","getMessageContextOptions","msgContext","messaged","evaluateMessage","resolveValue","missingRet","getCompileContext","msgCtx","arg3","datetime","overrides","parseDateTimeArgs","datetimeFormat","DATETIME_FORMAT_OPTIONS_KEYS","arg4","dateTime","clearDateTimeFormat","parseNumberArgs","numberFormat","NUMBER_FORMAT_OPTIONS_KEYS","clearNumberFormat","I18nErrorCodes","createI18nError","TranslateVNodeSymbol","DatetimePartsSymbol","NumberPartsSymbol","SetPluralRulesSymbol","InejctWithOptionSymbol","DisposeSymbol","handleFlatJson","subKeys","currentObj","hasStringValue","getLocaleMessages","__i18n","flatJson","custom","resource","getComponentOptions","adjustI18nResources","gl","componentOptions","createTextNode","DEVTOOLS_META","NOOP_RETURN_ARRAY","NOOP_RETURN_FALSE","composerID","defineCoreMissingHandler","getMetaInfo","createComposer","VueI18nLegacy","__root","__injectWithOption","_isGlobal","translateExistCompatible","_inheritLocale","_fallbackLocale","_messages","_datetimeFormats","_numberFormats","_missingWarn","_fallbackWarn","_fallbackRoot","_fallbackFormat","_missing","_runtimeMissing","_postTranslation","_warnHtmlMessage","_escapeParameter","_modifiers","_pluralRules","_context","trackReactivityValues","getPostTranslationHandler","setPostTranslationHandler","getMissingHandler","setMissingHandler","wrapWithDeps","argumentParser","warnType","fallbackSuccess","fallbackFail","successCondition","rt","translateVNode","numberParts","datetimeParts","setPluralRules","rules","te","getLocaleMessage","resolveMessages","targetLocaleMessages","messageValue","tm","setLocaleMessage","mergeLocaleMessage","getDateTimeFormat","setDateTimeFormat","mergeDateTimeFormat","getNumberFormat","setNumberFormat","mergeNumberFormat","composer","baseFormatProps","getInterpolateArg","getFragmentableTag","renderFormatter","slotKeys","partFormatter","assignedAttrs","I18nInjectionKey","createI18n","__globalInjection","__allowComposition","__instances","globalScope","__global","createGlobal","__getInstance","__setInstance","__deleteInstance","globalReleaseHandler","injectGlobalFields","unmountApp","useI18n","getI18nInstance","getGlobalComposer","getScope","getComposer","i18nInternal","composerOptions","setupLifeCycle","legacyMode","useComponent","getParentComponentInstance","_composer","dispose","globalExportProps","globalExportMethods","desc","helpers","objectArray","translations","exactMatch","translation","shorthandMatch","englishMatch","defaultMatch","parsed","inputDate","iri","split","tr","HelpersKey","helperPlugin","Titel","Taal","Help","Als u hulp nodig heeft of vragen heeft, kunt u contact met ons opnemen via e-mail op ","mail",".","Dit veld is verplicht","Ongeldig e-mailadres","Eindtijd moet na de starttijd liggen","U moet akkoord gaan met de algemene voorwaarden om door te gaan","Ongeldig telefoonnummer. Probeer de landcode toe te voegen.","Uw boeking:","Boekingsgegevens","Benodigde diensten","Kies een locatie","Contactgegevens","Evenementruimtes","Uw evenement","Evenementdetails","Opmerkingen","Gastenkamers","Details","Accountgegevens","Factuuradres","Boekingsoverzicht","Adres","Telefoonnummer","E-mailadres","Selecteer de dagen waarop uw evenement plaatsvindt. U kunt meerdere dagen selecteren en de details per dag aanpassen.","Naam van het evenement","Type evenement","Aantal gasten","Starttijd","Eindtijd","Bedrag","Totaal","Toevoegen","Opstelling","Wilt u nog een dag toevoegen?","Dag toevoegen","Product toevoegen","Dag ","dayCount","Datum","Selecteer datum","Dit is "," van uw evenement. U kunt de details voor deze dag hieronder aanpassen.","Functieruimte","Subruimte","Klik op de knop 'Functieruimte toevoegen' om meer ruimtes aan deze dag toe te voegen.","Aangezien uw pakket geen functieruimte bevat, moet u er minimaal één toevoegen","Voeg minimaal één functieruimte toe om door te gaan","Functieruimte toevoegen","Beschikbare arrangementen","Geselecteerd arrangement","Extra producten","Bekijk inbegrepen producten","Inbegrepen functieruimtes","Zoeken","Geen producten gevonden","Kiezen","Audiovisueel","Eten & drinken","Overig","Bijvoorbeeld: microfoons","Bijvoorbeeld: snacks","Bijvoorbeeld: bloemen","Dag kopiëren","Kies een functieruimte","Verberg functieruimtes","Wij kiezen op basis van de bovenstaande informatie een geschikte functieruimte voor u.","Capaciteit per opstelling","Niet beschikbaar","Geselecteerd","Selecteren","Toon meer ruimtes","Toon minder ruimtes","Toon niet-beschikbare ruimtes","Verberg niet-beschikbare ruimtes","Geen foto beschikbaar","Beschikbaar","Groepsnaam","Check-in","Check-out","Aantal kamers","Gasten/kamer","Totaal aantal gasten","Kamertype","Late check-out","Kamers met late check-out","Ontbijt","Wilt u nog een extra overnachting?","Overnachting toevoegen","Overnachting","Overnachting kopiëren","Voornaam","Achternaam","Bedrijf","Postcode","Plaats","Land","Contactpersoon op locatie","Kopieer van accountgegevens","Actiecode","Factuurreferentie","Uw offerte","Uw reservering","Uw boeking","U kunt hier alle details bekijken. Bekijk ook de suggesties die wij op basis van onze expertise voor u hebben geselecteerd.","PDF downloaden","stay","Korting","Betaalmethode","Betaling geslaagd","Uw boeking is geplaatst. Wij sturen u een e-mail met uw gegevens.","Betaling in behandeling","Uw betaling wordt nog verwerkt. Wij sturen u een e-mail zodra uw betaling geslaagd is.","Betaling mislukt","Er is iets misgegaan bij het verwerken van uw betaling. Probeer het alstublieft opnieuw.","Subtotaal (exclusief btw)","Subtotaal (exclusief verkoopbelasting)","vat","% btw","% verkoopbelasting","Algemene voorwaarden","Uw aanvraag wordt nog 1 minuut voor u gereserveerd. Rond uw betaling snel af om deze te bevestigen.","Uw aanvraag wordt nog "," minuten voor u gereserveerd. Rond uw betaling snel af om deze te bevestigen.","U heeft nog 1 seconde om uw betaling af te ronden. Uw aanvraag verloopt spoedig.","U heeft nog "," seconden om uw betaling af te ronden. Uw aanvraag verloopt spoedig.","Tijd op","Sorry, de tijd voor het afronden van uw betaling is verstreken. Maak u geen zorgen, uw aanvraag is bewaard en wij nemen zo snel mogelijk contact met u op.","Boekingsdetails","Contactinformatie","Functieruimtes","Aanvullende functieruimtes","Arrangementen","Het arrangement dat voor u gereedstaat met de bijbehorende producten.","1 arrangement"," arrangementen"," per person","inclusief btw","exclusief verkoopbelasting","Huur van functieruimte","pax"," Personen","Prijs","Kamers","0 Kamers","1 Kamer"," Kamers","Bezetting","0 Personen per kamer","1 Persoon per kamer"," Personen per kamer","Niet inbegrepen","Inbegrepen","0 nachten","1 nacht"," nachten"," per kamer per nacht"," per persoon per nacht","Late check-out: "," per kamer","Exclusief toeristenbelasting","Weet u zeker dat u deze offerte wilt afwijzen?","Dit kan niet ongedaan gemaakt worden.","Ik accepteer dat ik deze offerte onherroepelijk afwijs.","Weet u zeker dat u deze reservatie wilt annuleren?","De algemene voorwaarden zijn van toepassing.","Ik heb de algemene voorwaarden gelezen, begrepen en ga ermee akkoord.","Bevestig uw reservatie","Hartelijk dank. Uw wijzigingen zijn doorgevoerd.","Hartelijk dank. Het is geweldig om uw interesse te zien in het organiseren van uw "," bij ons.","U ontvangt zo spoedig mogelijk een offerte voor uw boeking.","Klik hier om de website van "," te bezoeken","U ontvangt zo spoedig mogelijk een bevestiging van uw boeking.","U heeft de reservatie voor uw "," geannuleerd.","U heeft de offerte voor uw "," afgewezen.","Reden voor annulering","Geef alstublieft aan waarom u deze reservatie annuleert.","Reden voor afwijzing","Geef alstublieft aan waarom u deze offerte afwijst.","Wij verwerken uw aanvraag","Dit kan even duren. Sluit dit venster alstublieft niet.","Wij maken uw optionele boeking aan.","Wij maken uw aanvraag aan.","Wij nemen zo spoedig mogelijk contact met u op.","Wij berekenen de prijs.","Reservering Bewerken","Sla op als PDF","Offerte Aanvragen","Volgende Stap","Vorige Stap","Offerte Accepteren","Reservering Annuleren","Offerte Afwijzen","Wijzigingen Doorvoeren","Voorstel Aanvragen","Informatie Opvragen","Nu Boeken","Boeking Bevestigen","Betalen","Boeking Annuleren","Geen resultaten gevonden","Optie selecteren","Laden...","Ja","Nee","Ter Plaatse","Creditcard","Factuur","Vooruitbetaling","Voucher","Title","Language","If you require assistance or have any questions you can contact us by email at ","This field is required","Invalid email address","End time should be after start time","You have to agree to the Terms and Conditions to continue","Invalid phone number. Try adding the country code","Your Booking:","Booking Details","Services Required","Property Selection","Contact Details","Meeting Spaces","Your Event","Event Details","Remarks","Guest Rooms","Account Details","Billing Address","Booking Summary","Address","Phone Number","Email Address","Please select the days your event takes place. You can select multiple days and change the details per day.","Event Name","Event Type","Number of Guests","Start Time","End Time","Amount","Total","Add","Setup","Do you want to add another day?","Add Day","Add Product","Day ","Date","Select Date","This is "," of your event. You can modify the details for this day below.","Function Space","Sub Space","For adding more function spaces to this day, click on the add function space button","Since your package does not include a function space, you must add at least one","Please add at least one function space to continue","Add Function Space","Available Packages","Selected Package","Additional Products","See Included Products","Included Function Spaces","Search","No products found","Choose","Audiovisual","Food & Beverages","Other","For example: Microphones","For example: Snacks","For example: Flowers","Clone Day","Choose a Function Space","Hide Function Spaces","We will select a suitable function space for you based on the above input.","Capacity per Setup","Not Available","Selected","Select","Show More Spaces","Show Less Spaces","Show Unavailable Spaces","Hide Unavailable Spaces","No Photo Available","Available","Group Name","Quantity","Room Guests","Total Guests","Room Type","Late check-out rooms","Breakfast","Do you want another overnight stay?","Add Overnight Stay","Overnight stay","Clone overnight stay","First Name","Last Name","Company","Postal Code","City","Country","Contact Person on Location","Copy from Account Details","Promo code","Invoice Reference","Your Offer","Your Reservation","Your Booking","You can check all the details here. Also view the suggestions that we have selected for you based on our expertise.","Download PDF","Discount","Payment Method","Payment successful","Your booking has been placed. We will send you an email with your details.","Payment processing","Your payment is still being processed. We will send you an email when your payment succeeds.","Payment failed","Something went wrong while processing your payment. Please try again.","Subtotal (excluding VAT)","Subtotal (excluding sales tax)","% VAT","% sales tax","Terms & Conditions","Your request will be held for 1 more minute. Please complete your payment soon to secure it.","Your request will be held for "," more minutes. Please complete your payment soon to secure it.","You have 1 second left to complete your payment. Your request expires soon.","You have "," seconds left to complete your payment. Your request expires soon.","Out of time","Sorry, you've run out of time to complete your payment. But no worries, we have your request and will contact you as soon as possible.","Contact Information","Function Spaces","Additional Function Spaces","Number of guests","Start time","End time","Packages","The package that is ready for you with the associated items.","1 Person"," Persons","Additional Items","including VAT","excluding sales tax","Function space rental"," persons","Price","Rooms","0 Rooms","1 Room"," Rooms","Occupancy","0 Persons per room","1 Person per room"," Persons per room","Not Included","Included","Late-check-out","0 nights","1 night"," nights"," per room per night"," per person per night","Late checkout: "," per room","Excluding city tax","Are You Sure You Want to Turn Down This Offer?","This cannot be undone.","I accept that I am turning down this offer irrevocably.","Are You Sure You Want to Cancel This Reservation?","Terms and conditions apply.","I have read, understood, and agree to the Terms & Conditions.","Confirm Your Reservation","Thank You Very Much. Your Changes Have Been Applied.","Thank You Very Much. It's Great to See Your Interest in Organizing Your "," With Us.","You will receive an offer for your reservation as soon as possible.","Click Here to Visit the "," Website","You will receive a confirmation of your reservation as soon as possible.","You Have Cancelled the Reservation for Your ","You Have Turned Down the Offer for Your ","Cancellation Reason","Please specify why you are cancelling this reservation.","Reason for Turning Down","Please specify why you are turning down this offer.","We Are Submitting Your Request","This can take a while. Please do not close this window.","We Are Creating Your Optional Booking","You will receive an offer for your booking as soon as possible.","We Are Creating Your Inquiry","We will reach out to you as soon as possible.","We Are Calculating the Price","Edit Reservation","Save Offer as PDF","Request Offer","Next Step","Previous Step","Accept Offer","Cancel Reservation","Turn Down Offer","Apply Changes","Request Proposal","Inquire","Book Now","Confirm Booking","Pay","No Results Found","Select Option","Loading...","Yes","No","On Location","Credit Card","Invoice","Pre Payment","Sprache","Hilfe","Wenn Sie Hilfe benötigen oder Fragen haben, können Sie uns per E-Mail unter "," kontaktieren.","Dieses Feld ist erforderlich","Ungültige E-Mail-Adresse","Die Endzeit muss nach der Startzeit liegen","Sie müssen den Geschäftsbedingungen zustimmen, um fortzufahren","Ungültige Telefonnummer. Versuchen Sie, die Ländervorwahl hinzuzufügen","Ihre Buchung:","Buchungsdetails","Benötigte Dienstleistungen","Wählen Sie eine Einrichtung","Kontaktdaten","Veranstaltungsräume","Ihre Veranstaltung","Veranstaltungsdetails","Bemerkungen","Gästezimmer","Kontodaten","Rechnungsadresse","Buchungsübersicht","Wählen Sie Eine Einrichtung","Adresse","Telefonnummer","E-Mail-Adresse","Bitte wählen Sie die Tage aus, an denen Ihre Veranstaltung stattfindet. Sie können mehrere Tage auswählen und die Details für jeden Tag ändern.","Veranstaltungsname","Veranstaltungsart","Anzahl der Gäste","Startzeit","Endzeit","Betrag","Gesamt","Hinzufügen","Raumaufteilung","Möchten Sie Einen Weiteren Tag Hinzufügen?","Tag Hinzufügen","Produkt Hinzufügen","Tag ","Datum Auswählen","Dies ist "," Ihrer Veranstaltung. Sie können die Details für diesen Tag unten ändern.","Plenarsaal","Nebensaal","Um an diesem Tag weitere Veranstaltungsräume hinzuzufügen, klicken Sie auf die Schaltfläche „Veranstaltungsraum hinzufügen“.","Da Ihr Paket keinen Funktionsraum enthält, müssen Sie mindestens einen hinzufügen","Bitte fügen Sie mindestens einen Funktionsraum hinzu, um fortzufahren","Veranstaltungsraum Hinzufügen","Verfügbare Pakete","Ausgewähltes Paket","Zusätzliche Produkte","Enthaltene Produkte Anzeigen","Inklusive Veranstaltungsräume","Suchen","Keine Produkte gefunden","Wählen","Audiovisuell","Speisen & Getränke","Andere","Zum Beispiel: Mikrofone","Zum Beispiel: Snacks","Zum Beispiel: Blumen","Tag Klonen","Wählen Sie Einen Veranstaltungsraum","Veranstaltungsräume Ausblenden","Wir wählen einen geeigneten Veranstaltungsraum für Sie basierend auf den oben eingegebenen Informationen aus.","Kapazität Pro Raumaufteilung","Nicht verfügbar","Ausgewählt","Auswählen","Mehr Räume Anzeigen","Weniger Räume Anzeigen","Nicht verfügbare Räume Anzeigen","Nicht verfügbare Räume Ausblenden","Kein Foto verfügbar","Verfügbar","Gruppenname","Anreise","Abreise","Anzahl der Zimmer","Gäste pro Zimmer","Gesamtzahl der Gäste","Zimmertyp","Später Check-out","Zimmer mit spätem Check-out","Frühstück","Möchten Sie Eine Weitere Übernachtung Hinzufügen?","Übernachtung Hinzufügen","Übernachtung","Übernachtung Klonen","Vorname","Nachname","Firma","Postleitzahl","Stadt","Kontaktperson Vor Ort","Von Kontodaten Kopieren","Aktionscode","Rechnungsreferenz","Ihr Angebot","Ihre Buchung","Sie können hier alle Details einsehen. Sehen Sie auch die Vorschläge, die wir basierend auf unserer Expertise für Sie ausgewählt haben.","PDF Herunterladen","Aufenthalt","Rabatt","Zahlungsmethode","Zahlung erfolgreich","Ihre Buchung wurde erfolgreich aufgegeben. Wir werden Ihnen eine E-Mail mit Ihren Details senden.","Zahlung wird verarbeitet","Ihre Zahlung wird noch verarbeitet. Wir senden Ihnen eine E-Mail, sobald Ihre Zahlung erfolgreich ist.","Zahlung fehlgeschlagen","Bei der Verarbeitung Ihrer Zahlung ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.","Zwischensumme (ohne MwSt.)","Zwischensumme (ohne Verkaufssteuer)","% MwSt.","% Verkaufssteuer","Geschäftsbedingungen","Ihre Anfrage wird noch für 1 weitere Minute gehalten. Bitte schließen Sie Ihre Zahlung bald ab, um sie zu sichern.","Ihre Anfrage wird noch für "," weitere Minuten gehalten. Bitte schließen Sie Ihre Zahlung bald ab, um sie zu sichern.","Sie haben noch 1 Sekunde, um Ihre Zahlung abzuschließen. Ihre Anfrage läuft bald ab.","Sie haben noch "," Sekunden, um Ihre Zahlung abzuschließen. Ihre Anfrage läuft bald ab.","Zeit abgelaufen","Entschuldigung, die Zeit für die Zahlung ist abgelaufen. Keine Sorge, wir haben Ihre Anfrage gespeichert und werden Sie so schnell wie möglich kontaktieren.","Kontaktinformationen","Kontaktperson vor Ort","Zusätzliche Veranstaltungsräume","Pakete","Das Paket, das für Sie bereitsteht, mit den zugehörigen Artikeln."," pro Person","Zusätzliche Artikel","inkl. MwSt.","ohne Verkaufssteuer","Mietraum","Preis","Zimmer","0 Zimmer","1 Zimmer"," Zimmer","0 Personen pro Zimmer","1 Person pro Zimmer"," Personen pro Zimmer","Nicht enthalten","Enthalten","Late Check-out","0 Nächte","1 Nacht"," Nächte"," pro Zimmer pro Nacht"," pro Person pro Nacht","Late Check-out: "," pro Zimmer","ohne Kurtaxe","Sind Sie Sicher, Dass Sie Dieses Angebot Ablehnen Möchten?","Dies kann nicht rückgängig gemacht werden.","Ich akzeptiere, dass ich dieses Angebot unwiderruflich ablehne.","Sind Sie Sicher, Dass Sie Diese Reservierung Stornieren Möchten?","Es gelten die Geschäftsbedingungen.","Ich habe die Geschäftsbedingungen gelesen, verstanden und akzeptiert.","Bestätigen Sie Ihre Reservierung","Vielen Dank. Ihre Änderungen wurden übernommen.","Vielen Dank. Es freut uns sehr, dass Sie daran interessiert sind, Ihre "," mit uns zu organisieren.","Sie erhalten so bald wie möglich ein Angebot für Ihre Buchung.","Klicken Sie hier, um die Website von "," zu besuchen","Sie erhalten so bald wie möglich eine Bestätigung Ihrer Buchung.","Sie haben die Reservierung für Ihre "," storniert.","Sie haben das Angebot für Ihre "," abgelehnt.","Stornierungsgrund","Bitte geben Sie den Grund für die Stornierung dieser Reservierung an.","Grund für die Ablehnung","Bitte geben Sie den Grund für Ihren Ablehnungsbescheid an.","Wir übermitteln Ihre Anfrage.","Dies kann einige Zeit dauern. Bitte schließen Sie dieses Fenster nicht.","Wir erstellen Ihre optionale Buchung.","Wir erstellen Ihre Anfrage.","Wir werden uns so bald wie möglich mit Ihnen in Verbindung setzen.","Wir berechnen den Preis.","Reservierung bearbeiten","Angebot als PDF speichern","Angebot anfordern","Nächster Schritt","Vorheriger Schritt","Angebot annehmen","Reservierung stornieren","Angebot ablehnen","Änderungen übernehmen","Anfragen","Jetzt buchen","Buchung bestätigen","Bezahlen","Buchung stornieren","Keine Ergebnisse gefunden","Option auswählen","Nein","Vor Ort","Kreditkarte","Rechnung","Vorauszahlung","Gutschein","Titre","Langue","Aide","Si vous avez besoin d'assistance ou si vous avez des questions, vous pouvez nous contacter par e-mail à ","Ce champ est requis","Adresse e-mail invalide","L'heure de fin doit être postérieure à l'heure de début","Vous devez accepter les conditions générales pour continuer","Numéro de téléphone invalide. Essayez d'ajouter l'indicatif du pays","Votre Réservation :","Détails De La Réservation","Services Requis","Choisissez un Établissement","Coordonnées","Espaces Événementiels","Votre événement","Détails De L'Événement","Remarques","Chambres","Détails","Informations Sur Le Compte","Adresse De Facturation","Récapitulatif De La Réservation","Espaces Pour Événements","Numéro De Téléphone","Adresse E-mail","Votre Événement","Veuillez sélectionner les jours pendant lesquels se déroule votre événement. Vous pouvez sélectionner plusieurs jours et modifier les détails pour chaque jour.","Nom de l'événement","Type d'événement","Nombre d'invités","Heure de début","Heure de fin","Montant","Ajouter","Disposition","Voulez-Vous Ajouter Un Autre Jour?","Ajouter Un Jour","Ajouter Un Produit","Jour ","Sélectionner Une Date","C'est le "," de votre événement. Vous pouvez modifier les détails pour ce jour ci-dessous.","Salle Plénière","Salle Annexe","Pour ajouter d'autres espaces de réception à ce jour, cliquez sur le bouton d'ajout d'espace","Comme votre forfait n'inclut pas d'espace de fonction, vous devez en ajouter au moins un","Veuillez ajouter au moins un espace de fonction pour continuer","Ajouter Un Espace","Packages Disponibles","Package Sélectionné","Articles Supplémentaires","Voir Les Articles Inclus","Espaces inclus","Rechercher","Aucun produit trouvé","Choisir","Audiovisuel","Nourriture Et Boissons","Autre","Par exemple: microphones","Par exemple: collations","Par exemple: fleurs","Cloner Le Jour","Choisissez Un Espace","Cacher Les Espaces","Nous sélectionnerons un espace adapté pour vous en fonction des informations ci-dessus.","Capacité Par Disposition","Non Disponible","Sélectionné","Sélectionner","Afficher Plus D'Espaces","Afficher Moins D'Espaces","Afficher Les Espaces Indisponibles","Cacher Les Espaces Indisponibles","Aucune Photo Disponible","Disponible","Indisponible","Nom du groupe","Arrivée","Départ","Quantité","Invités par chambre","Nombre total d'invités","Type de chambre","Départ tardif","Chambres en départ tardif","Petit-déjeuner","Voulez-Vous Ajouter Une Autre Nuitée ?","Ajouter Une Nuitée","Nuitée","Cloner La Nuitée","Prénom","Nom de famille","Société","Adresse e-mail","Numéro de téléphone","Code postal","Ville","Pays","Personne De Contact Sur Place","Copier Depuis Les Informations Du Compte","Code promo","Référence de facture","Votre Offre","Votre Réservation","Vous pouvez vérifier tous les détails ici. Consultez également les suggestions que nous avons sélectionnées pour vous en fonction de notre expertise.","Télécharger Le PDF","Séjour","Remise","Mode De Paiement","Paiement Réussi","Votre réservation a été effectuée. Nous vous enverrons un e-mail avec vos détails.","Traitement Du Paiement","Votre paiement est en cours de traitement. Nous vous enverrons un e-mail dès que votre paiement sera approuvé.","Échec Du Paiement","Une erreur s'est produite lors du traitement de votre paiement. Veuillez réessayer.","Sous-Total (Hors TVA)","Sous-Total (Hors Taxe De Vente)","% TVA","% Taxe De Vente","Conditions Générales","Votre demande sera réservée pendant 1 minute de plus. Veuillez finaliser votre paiement rapidement pour la sécuriser.","Votre demande sera réservée pendant "," minutes de plus. Veuillez finaliser votre paiement rapidement pour la sécuriser.","Il vous reste 1 seconde pour finaliser votre paiement. Votre demande expirera bientôt.","Il vous reste "," secondes pour finaliser votre paiement. Votre demande expirera bientôt.","Temps Écoulé","Désolé, le temps pour finaliser votre paiement est écoulé. Ne vous inquiétez pas, nous avons enregistré votre demande et nous vous contacterons dès que possible.","Détails de la Réservation","Informations De Contact","Informations sur le compte","Adresse de facturation","Espaces événementiels","Espaces événementiels supplémentaires","Heure De Début","Heure De Fin","Le package prêt pour vous avec les articles associés.","1 Personne"," Personnes"," Par Personne","TVA Incluse","Hors Taxe De Vente","Location D'Espace","Prix","0 Chambres","1 Chambre"," Chambres","0 Personne Par Chambre","1 Personne Par Chambre"," Personnes Par Chambre","Non inclus","Inclus","0 Nuit","1 Nuit"," Nuits"," Par Chambre Par Nuit"," Par Personne Par Nuit"," Par Chambre","Hors Taxe De Séjour","Êtes-Vous Sûr De Vouloir Refuser Cette Offre ?","Cette action est irréversible.","J'accepte de refuser cette offre de manière irrévocable.","Êtes-Vous Sûr De Vouloir Annuler Cette Réservation ?","Les conditions générales s'appliquent.","J'ai lu, compris et j'accepte les conditions générales.","Confirmez Votre Réservation","Merci Beaucoup. Vos Modifications Ont Été Appliquées.","Merci Beaucoup. C'est Formidable De Voir Votre Intérêt Pour L'Organisation De Votre "," Chez Nous.","Vous recevrez une offre pour votre réservation dès que possible.","Cliquez ici pour visiter le site web de ","locationName","Vous recevrez une confirmation de votre réservation dès que possible.","Vous Avez Annulé La Réservation Pour Votre ","Vous Avez Refusé L'Offre Pour Votre ","Raison Pour L'Annulation","Veuillez préciser la raison de l'annulation de cette réservation.","Raison Du Refus","Veuillez préciser la raison de votre refus de cette offre.","Nous Soumettons Votre Demande","Cela peut prendre un certain temps. Veuillez ne pas fermer cette fenêtre.","Nous Créons Votre Réservation Optionnelle","Nous Créons Votre Demande De Renseignements","Nous vous contacterons dès que possible.","Nous Calculons Le Prix","Modifier La Réservation","Enregistrer L'Offre En PDF","Demander Une Offre","Étape Suivante","Étape Précédente","Accepter L'Offre","Annuler La Réservation","Refuser L'Offre","Appliquer Les Modifications","Demander Une Proposition","Demander Des Informations","Réserver Maintenant","Confirmer La Réservation","Payer","Aucun Résultat Trouvé","Sélectionner Une Option","Chargement...","Oui","Non","Sur Place","Carte De Crédit","Facture","Pré-Paiement","Bon","Otsikko","Kieli","Ohje","Jos tarvitset apua tai sinulla on kysyttävää, voit ottaa meihin yhteyttä sähköpostitse osoitteessa ","Tämä kenttä on pakollinen","Virheellinen sähköpostiosoite","Päättymisajan tulee olla alkamisajan jälkeen","Sinun on hyväksyttävä käyttöehdot jatkaaksesi","Virheellinen puhelinnumero. Kokeile lisätä maakoodi","Varauksesi:","Varaustiedot","Tarvittavat palvelut","Kohteen valinta","Yhteystiedot","Kokoustilat","Tapahtumasi","Tapahtuman tiedot","Lisätiedot","Hotellihuoneet","Tiedot","Tilitiedot","Laskutusosoite","Varauksen yhteenveto","Osoite","Puhelinnumero","Sähköpostiosoite","Valitse päivät, jolloin tapahtumasi järjestetään. Voit valita useita päiviä ja muuttaa tietoja päiväkohtaisesti.","Tapahtuman nimi","Tapahtuman tyyppi","Vieraiden määrä","Alkamisaika","Päättymisaika","Määrä","Yhteensä","Lisää","Asettelu","Haluatko lisätä toisen päivän?","Lisää päivä","Lisää tuote","Päivä ","Päivämäärä","Valitse päivämäärä","Tämä on tapahtumasi ",". päivä. Voit muokata tämän päivän tietoja alla.","Kokoustila","Lisätila","Lisätäksesi lisää toimintotiloja tälle päivälle, napsauta Lisää toimintotila -painiketta","Koska pakettisi ei sisällä kokoustilaa, sinun on lisättävä vähintään yksi","Lisää vähintään yksi toimintotila jatkaaksesi","Lisää kokoustila","Saatavilla olevat paketit","Valittu paketti","Lisätuotteet","Katso sisältyvät tuotteet","Sisältyvät kokoustilat","Hae","Tuotteita ei löytynyt","Valitse","Audiovisuaalinen","Ruoka ja juoma","Muu","Esimerkiksi: Mikrofonit","Esimerkiksi: Välipalat","Esimerkiksi: Kukat","Kopioi päivä","Valitse kokoustila","Piilota kokoustilat","Valitsemme sinulle sopivan kokoustilan yllä olevien tietojen perusteella.","Kapasiteetti asettelua kohden","Ei saatavilla","Valittu","Näytä lisää tiloja","Näytä vähemmän tiloja","Näytä tilat, jotka eivät ole saatavilla","Piilota tilat, jotka eivät ole saatavilla","Ei kuvaa saatavilla","Saatavilla","Ryhmän nimi","Saapumispäivä","Lähtöpäivä","Vieraita huoneessa","Vieraiden kokonaismäärä","Huonetyyppi","Myöhäinen uloskirjautuminen","Myöhäisen uloskirjautumisen huoneet","Aamiainen","Haluatko lisätä toisen yöpymisen?","Lisää yöpyminen","Yöpyminen","Kopioi yöpyminen","Etunimi","Sukunimi","Yritys","Postinumero","Kaupunki","Maa","Yhteyshenkilö paikan päällä","Kopioi tilitiedoista","Tarjouskoodi","Laskuviite","Tarjouksesi","Varauksesi","Voit tarkistaa kaikki tiedot täältä. Katso myös asiantuntemuksemme perusteella valitsemamme ehdotukset.","Lataa PDF","yöpyminen","Alennus","Maksutapa","Maksu onnistui","Varauksesi on tehty. Lähetämme sinulle sähköpostia tietoinesi.","Maksua käsitellään","Maksuasi käsitellään edelleen. Lähetämme sinulle sähköpostia, kun maksusi onnistuu.","Maksu epäonnistui","Maksun käsittelyssä tapahtui virhe. Yritä uudelleen.","Välisumma (ilman ALV:tä)","Välisumma (ilman myyntiveroa)","% ALV","% myyntivero","Käyttöehdot","Pyyntöäsi pidetään voimassa vielä 1 minuutin ajan. Suorita maksu pian varmistaaksesi sen.","Pyyntöäsi pidetään voimassa vielä "," minuuttia. Suorita maksu pian varmistaaksesi sen.","Sinulla on 1 sekunti aikaa suorittaa maksu. Pyyntösi vanhenee pian.","Sinulla on "," sekuntia aikaa suorittaa maksu. Pyyntösi vanhenee pian.","Aika loppui","Valitettavasti aikasi maksun suorittamiseen loppui. Mutta ei huolta, meillä on pyyntösi ja otamme sinuun yhteyttä mahdollisimman pian.","Lisäkokoustilat","Paketit","Sinulle valmiina oleva paketti liittyvine tuotteineen.","1 Henkilö"," Henkilöä"," per henkilö","sisältää ALV:n","ei sisällä myyntiveroa","Kokoustilan vuokra"," henkilöä","Hinta","Huoneet","0 Huonetta","1 Huone"," Huonetta","Käyttöaste","0 Henkilöä huoneessa","1 Henkilö huoneessa"," Henkilöä huoneessa","Ei sisälly","Sisältyy","0 yötä","1 yö"," yötä"," per huone per yö"," per henkilö per yö","Myöhäinen uloskirjautuminen: "," per huone","Ei sisällä kaupunkiveroa","Haluatko varmasti hylätä tämän tarjouksen?","Tätä ei voi perua.","Hyväksyn, että hylkään tämän tarjouksen peruuttamattomasti.","Haluatko varmasti peruuttaa tämän varauksen?","Käyttöehdot ovat voimassa.","Olen lukenut ja ymmärtänyt käyttöehdot ja hyväksyn ne.","Vahvista varauksesi","Kiitos paljon. Muutoksesi on tehty.","Kiitos paljon. On hienoa nähdä kiinnostuksesi järjestää "," kanssamme.","Saat tarjouksen varauksestasi mahdollisimman pian.","Klikkaa tästä vieraillaksesi "," verkkosivustolla","Saat vahvistuksen varauksestasi mahdollisimman pian.","Olet peruuttanut varauksen ","Olet hylännyt tarjouksen ","Peruutuksen syy","Kerro miksi peruutat tämän varauksen.","Hylkäämisen syy","Kerro miksi hylkäät tämän tarjouksen.","Käsittelemme pyyntöäsi","Tämä voi kestää hetken. Älä sulje tätä ikkunaa.","Luomme valinnaista varaustasi","Luomme tiedusteluasi","Otamme sinuun yhteyttä mahdollisimman pian.","Laskemme hintaa","Muokkaa varausta","Tallenna tarjous PDF-muodossa","Pyydä tarjous","Seuraava vaihe","Edellinen vaihe","Hyväksy tarjous","Peruuta varaus","Hylkää tarjous","Tallenna muutokset","Pyydä ehdotus","Tiedustele","Varaa nyt","Vahvista varaus","Maksa","Ei tuloksia","Valitse vaihtoehto","Ladataan...","Kyllä","Ei","Paikan päällä","Luottokortti","Lasku","Ennakkomaksu","Lahjakortti","en","nl","de","fr","fi","detectLanguage","userLocale","availableLocales","shortenedLocale","isCallable","isNullOrUndefined","merge","normalizeFormPath","pathArr","fullPath","RULES","defineRule","guardExtend","resolveRule","klona","FormContextKey","PublicFormContextKey","FieldContextKey","IS_ABSENT","isLocator","isTypedSchema","isYupValidator","hasCheckedAttr","isContainerValue","isEmptyContainer","isNotNestedPath","isNativeMultiSelect","isNativeSelect","isFormSubmitEvent","isEvent","isEqual","isFile","countUndefinedValues","cleanupNonNestedPath","getFromPath","propKey","setInPath","unset","unsetPath","pathValues","idx","record","injectWithSelf","resolveNextCheckboxValue","currentValue","checkedValue","uncheckedValue","debounceAsync","inner","ms","resolves","applyModelModifiers","withLatest","onDone","latestRun","pending","normalizeErrorItem","resolveFieldOrPathState","field","omit","debounceNextTick","lastTick","thisTick","getBoundValue","hasValueBinding","parseInputValue","normalizeEventValue","files","selectedOption","normalizeRules","params","normalizeParams","buildParams","rule","parsedRule","parseRule","provided","mapValueToLocator","createLocator","locator","crossTable","extractLocators","DEFAULT_CONFIG","currentConfig","getConfig","validate","shouldBail","_validate","validateFieldWithTypedSchema","pipeline","errors","_generateFieldError","normalizedContext","rulesKeys","_test","isYupError","yupToTypedSchema","yupSchema","fillTargetValues","fieldCtx","param","validateTypedSchema","schema","validationResult","validateObjectSchema","validations","strings","fieldResult","isAllValid","validationResults","ID_COUNTER","useFieldState","init","setInitialValue","_useFieldValue","setState","setErrors","createFieldErrors","createFieldMeta","modelRef","resolveInitialValue","resolveModelValue","isRequired","useField","useFieldWithChecked","_useField","validateOnMount","bails","label","validateOnValueUpdate","controlled","keepValueOnUnmount","syncVModel","controlForm","normalizeOptions","injectedForm","rulesValue","isTyped","flags","validate$1","errorMessage","useVModel","handleChange","handleBlur","shouldValidate","validateWithStateMutation","validateCurrentValue","validateValidStateOnly","setValue","setTouched","isTouched","resetField","valueProxy","dependencies","rulesVal","deps","depAcc","depName","depValue","oldDeps","shouldKeepValue","pathState","valueIdx","isVModelSynced","modelPropName","getCurrentModelValue","patchCheckedApi","checkedVal","handleCheckboxChange","propName","emitName","FORM_COUNTER","PRIVATE_PATH_STATE_KEYS","resolveInitialValues","providedValues","useForm","formId","FIELD_ID_COUNTER","isSubmitting","isValidating","submitCount","fieldArrays","formValues","pathStates","extraErrorsBag","pathStateLookup","rebuildPathLookup","setFieldError","findPathState","normalizedPath","paths","errorBag","pathErrors","fieldNames","fieldBailsMap","initialErrors","keepValuesOnUnmount","initialValues","originalInitialValues","setInitialValues","useFormInitialValues","useFormMeta","controlledValues","createPathState","pathStateExists","isCheckboxOrRadio","pathValue","unsetBatchIndex","UNSET_BATCH","_path","schemaValue","configSchemaValue","validateField","newPath","debouncedSilentValidation","_validateSchema","debouncedValidation","validateSchema","formResult","currentErrorsPaths","formCtx","validation","expectedPath","findHoistedPath","mergeValidationResults","mutateAllPathState","mutation","bestCandidate","candidate","PENDING_UNSET","unsetPathValue","makeSubmissionFactory","onlyControlled","onValidationError","submittedValues","setFieldTouched","setValues","setFieldValue","resetForm","returnVal","handleSubmit","removePathState","idIndex","unsetInitialValue","destroyPath","useFieldModel","defineInputBinds","defineComponentBinds","defineField","stageInitialValue","setFieldInitialValue","isFieldTouched","isFieldDirty","isFieldValid","clonedValue","forceSetValues","fields","createModel","resetState","newValues","updateOriginal","submitForm","evalConfig","onBlur","onInput","onChange","pathOrPaths","model","onUpdateModelValue","conf","pathsState","currentValues","MERGE_STRATEGIES","calculateFlags","states","mergeMethod","useIsFieldValid","fieldOrPath","useIsFormValid","getSingleParam","paramName","emailRE","emailValidator","minValidator","validDate","email","bind","getPrototypeOf","kindOf","thing","kindOfTest","typeOfTest","isArrayBuffer","isArrayBufferView","prototype","isBlob","isFileList","isStream","isFormData","kind","isURLSearchParams","isReadableStream","isRequest","isResponse","isHeaders","forEach","allOwnKeys","isContextDefined","caseless","targetKey","stripBOM","inherits","constructor","superConstructor","descriptors","toFlatObject","sourceObj","destObj","filter","propFilter","endsWith","searchString","toArray","TypedArray","forEachEntry","matchAll","regExp","isHTMLForm","toCamelCase","p1","p2","reduceDescriptors","reducer","reducedDescriptors","freezeMethods","toObjectSet","arrayOrString","define","toFiniteNumber","isSpecCompliantForm","toJSONObject","visit","reducedValue","isAsyncFn","isThenable","_setImmediate","setImmediateSupported","postMessageSupported","callbacks","asap","utils$1","AxiosError","request","response","utils","customProps","axiosError","httpAdapter","isVisitable","removeBrackets","renderKey","dots","isFlatArray","predicates","toFormData","formData","metaTokens","visitor","defaultVisitor","indexes","useBlob","convertValue","exposedHelpers","build","encode","charMap","AxiosURLSearchParams","encoder","_encode","buildURL","url","serializeFn","serializedParams","hashmarkIndex","InterceptorManager","fulfilled","rejected","transitionalDefaults","URLSearchParams$1","FormData$1","Blob$1","platform$1","URLSearchParams","FormData","Blob","hasBrowserEnv","_navigator","hasStandardBrowserEnv","hasStandardBrowserWebWorkerEnv","origin","platform","toURLEncodedForm","parsePropPath","arrayToObject","formDataToJSON","buildPath","isNumericKey","isLast","stringifySafely","parser","headers","contentType","hasJSONContentType","isObjectPayload","_FormData","transitional","forcedJSONParsing","JSONRequested","strictJSONParsing","status","ignoreDuplicateOf","parseHeaders","rawHeaders","line","$internals","normalizeHeader","header","normalizeValue","parseTokens","tokensRE","isValidHeaderName","matchHeaderValue","isHeaderNameFilter","formatHeader","w","char","buildAccessors","accessorName","methodName","AxiosHeaders$1","valueOrRewrite","rewrite","setHeader","_value","_header","_rewrite","lHeader","setHeaders","matcher","deleted","deleteHeader","targets","asStrings","first","accessors","defineAccessor","AxiosHeaders","mapped","headerValue","transformData","isCancel","CanceledError","settle","validateStatus","parseProtocol","speedometer","samplesCount","bytes","timestamps","firstSampleTS","chunkLength","startedAt","bytesCount","passed","freq","threshold","invoke","progressEventReducer","isDownloadStream","bytesNotified","_speedometer","total","progressBytes","rate","inRange","progressEventDecorator","throttled","lengthComputable","asyncDecorator","isURLSameOrigin","isMSIE","cookies","expires","secure","cookie","isAbsoluteURL","combineURLs","baseURL","relativeURL","buildFullPath","requestedURL","allowAbsoluteUrls","isRelativeUrl","headersToObject","config1","config2","getMergedValue","mergeDeepProperties","valueFromConfig2","defaultToConfig2","mergeDirectKeys","mergeMap","configValue","resolveConfig","newConfig","withXSRFToken","xsrfHeaderName","xsrfCookieName","auth","xsrfValue","isXHRAdapterSupported","xhrAdapter","_config","requestData","requestHeaders","responseType","onUploadProgress","onDownloadProgress","onCanceled","uploadThrottled","downloadThrottled","flushUpload","flushDownload","onloadend","responseHeaders","timeoutErrorMessage","protocol","composeSignals","signals","controller","aborted","onabort","reason","unsubscribe","signal","streamChunk","chunk","chunkSize","pos","readBytes","iterable","readStream","stream","reader","trackStream","onProgress","onFinish","_onFinish","loadedBytes","isFetchSupported","isReadableStreamSupported","encodeText","test","supportsRequestStream","duplexAccessed","hasContentType","DEFAULT_CHUNK_SIZE","supportsResponseStream","resolvers","getBodyLength","body","resolveBodyLength","fetchAdapter","cancelToken","withCredentials","fetchOptions","composedSignal","requestContentLength","_request","contentTypeHeader","isCredentialsSupported","isStreamResponse","responseContentLength","responseData","knownAdapters","renderReason","isResolvedHandle","adapter","adapters","nameOrAdapter","rejectedReasons","reasons","throwIfCancellationRequested","dispatchRequest","validators","deprecatedWarnings","formatMessage","correctSpelling","assertOptions","allowUnknown","Axios$1","instanceConfig","configOrUrl","dummy","paramsSerializer","contextHeaders","requestInterceptorChain","synchronousRequestInterceptors","interceptor","responseInterceptorChain","promise","onFulfilled","onRejected","Axios","generateHTTPMethod","isForm","CancelToken$1","CancelToken","executor","resolvePromise","onfulfilled","_resolve","abort","spread","isAxiosError","payload","HttpStatusCode","defaultConfig","axios","promises","all","Cancel","formToJSON","getAdapter","_typeof","o","isAxiosLike","migrateToMultipleInstances","isValidConfig","getVueVersion","registerOnVue2","registerOnVue3","BASE_PATH","BaseAPI","configuration","basePath","globalAxios","__publicField","RequiredError","operationServerMap","DUMMY_BASE_URL","assertParamExists","functionName","paramValue","setApiKeyToObject","keyParamName","localVarApiKeyValue","setFlattenedQueryParams","urlSearchParams","parameter","currentKey","setSearchParams","objects","searchParams","serializeDataIfNeeded","requestOptions","nonString","toPathString","createRequestFunction","axiosArgs","axiosRequestArgs","BookingApiAxiosParamCreator","localVarPath","localVarUrlObj","baseOptions","localVarRequestOptions","localVarHeaderParameter","localVarQueryParameter","headersFromBaseOptions","bookingReservationCancelBookingWrite","bookingJsonldBookingStatusWrite","bookingWrite","BookingApiFp","localVarAxiosParamCreator","localVarAxiosArgs","operationBasePath","BookingApi","requestParameters","EmplacementApiAxiosParamCreator","EmplacementApiFp","EmplacementApi","HallApiAxiosParamCreator","page","itemsPerPage","hall","hall2","emplacement","emplacement2","hallLocation","hallLocation2","paxBetween","paxGt","paxGte","paxLt","paxLte","hallSquareMetersBetween","hallSquareMetersGt","hallSquareMetersGte","hallSquareMetersLt","hallSquareMetersLte","hallEmplacementWrite","hallPeriodPricingWrite","location","location2","available","hallWrite","startTime","reservationDayHall","HallApiFp","HallApi","ItemApiAxiosParamCreator","orderTranslationsName","orderCategory","orderLocationName","orderPrice","orderAvailable","category","category2","translationsName","itemWrite","ItemApiFp","ItemApi","LocationApiAxiosParamCreator","orderName","orderCity","orderAbbreviation","search","locationWrite","LocationApiFp","LocationApi","LocationEmplacementApiAxiosParamCreator","orderEmplacementName","locationEmplacementWrite","LocationEmplacementApiFp","LocationEmplacementApi","LocationRoomTypeApiAxiosParamCreator","code2","orderCode","orderRoomsType","locationRoomTypeWrite","arrivalDate","departureDate","locationId","LocationRoomTypeApiFp","LocationRoomTypeApi","PackageDealApiAxiosParamCreator","orderType","type2","timeslots","timeslots2","period","period2","cateringPackage","includingHallRental","reservation","packageDealWrite","packageDealOrderPackagedealChangeOrder","PackageDealApiFp","PackageDealApi","PartnerApiAxiosParamCreator","slug","slug2","partnerWrite","PartnerApiFp","PartnerApi","ReservationApiAxiosParamCreator","reservationTransition","reservationCancel","company","userEmail","userEmail2","reservationNumber","createdAtBefore","createdAtStrictlyBefore","createdAtAfter","createdAtStrictlyAfter","updatedAtBefore","updatedAtStrictlyBefore","updatedAtAfter","updatedAtStrictlyAfter","daysDateBefore","daysDateStrictlyBefore","daysDateAfter","daysDateStrictlyAfter","roomsStartDateBefore","roomsStartDateStrictlyBefore","roomsStartDateAfter","roomsStartDateStrictlyAfter","reservationWrite","reservationId","reservationMailWrite","tagTogId","ReservationApiFp","ReservationApi","BookingRemarkBookingWriteTypeEnum","CaseReadFlagsEnum","LocationSettingsTranslationLocationReadTypeEnum","PartnerSettingsPartnerReadWebformFontEnum","PartnerSettingsTranslationPartnerReadTypeEnum","ReservationReadMarkingEnum","ReservationReadTypesEnum","ReservationRemarkWriteTypeEnum","ReservationTransitionApplyTransitionEnum","ReservationWriteSourceEnum","useScrollTo","scrollToElement","scrollTo","scrollToTop","scrollToFirstBlock","getDefaultState","FormSteps","isMiceReservation","isHotelReservation","getFunctionSpaceApi","FunctionSpaces","commit","settings","getItemApi","Items","isLoading","getLocationApi","Locations","locationApi","getPackageDealApi","PackageDeals","parameters","getPartnerApi","Partner","getReservationApiBypass","getReservationApi","getBookingApi","parseBookingData","booking","parseReservationData","deal","parseReservationDay","packageDeal","parseReservationDataBeforeRequest","breakfastSelectable","breakfastDefault","room","remark","parseReservationRoomToBookingRoom","remarks","parseReservationToBooking","_j","_k","_l","_m","_n","_o","_q","_p","_s","_r","_u","_t","_w","_v","_y","_x","parseURLParams","locations","hasMice","hasHotel","locationID","defaultHall","perRoom","Reservation","transitions","store","reservationApi","reservationData","api","username","getApi","RoomTypes","roomTypeID","roomType","getEmplacementApi","getLocationEmplacementApi","Emplacements","emplacements","locationEmplacement","fallbackResponse","getDevtoolsGlobalHook","getTarget","isProxyAvailable","HOOK_SETUP","HOOK_PLUGIN_SETTINGS_SET","supported","perf","isPerformanceSupported","ApiProxy","defaultSettings","localSettingsSaveId","currentSettings","pluginId","_target","setupDevtoolsPlugin","pluginDescriptor","setupFn","enableProxy","storeKey","useStore","forEachValue","partial","genericSubscribe","subs","resetStore","hot","installModule","resetStoreState","oldState","oldScope","wrappedGetters","computedObj","computedCache","enableStrictMode","rootState","module","isRoot","parentState","getNestedState","moduleName","local","makeLocalContext","namespacedType","registerMutation","registerAction","registerGetter","noNamespace","_payload","unifyObjectStyle","makeLocalGetters","gettersProxy","splitPos","localType","rawGetter","LABEL_VUEX_BINDINGS","MUTATIONS_LAYER_ID","ACTIONS_LAYER_ID","INSPECTOR_ID","actionId","addDevtools","COLOR_LIME_500","nodes","flattenStoreForInspectorTree","formatStoreForInspectorTree","modulePath","formatStoreForInspectorState","getStoreModule","COLOR_DARK","COLOR_WHITE","TAG_NAMESPACED","extractNameFromPath","getters","gettersKeys","storeState","tree","transformPathsToObjectTree","canThrow","leafKey","moduleMap","Module","rawModule","runtime","rawState","prototypeAccessors$1","ModuleCollection","rawRootModule","this$1$1","newModule","rawChildModule","targetModule","createStore","Store","strict","dispatch","prototypeAccessors","injectKey","useDevtools","committing","baseUseStore","useEmplacementsStore","useCache","usePartnerStore","primaryColor","secondaryColor","fontName","useRoundedBoxes","logoFile","faviconFilename","partnerName","partnerEmail","partnerPhone","termsUrl","lateCheckoutEnabled","headerImages","fetchPartner","texts","getIntroText","defaultEmplacement","bigGroupsDefaultEmplacement","bigGroupsThreshold","gtmId","partnerWebsite","partnerCurrency","useLocationsStore","locationsPromise","fetchLocations","reservationLocation","useReservationStore","getTranslation","meetingRoomDisclaimer","checkoutDisclaimer","checkoutPopup","bookPopup","locationCurrency","currency","eventTypes","isBrowser","isRouteComponent","isESModule","applyToParams","newParams","HASH_RE","AMPERSAND_RE","SLASH_RE","EQUAL_RE","IM_RE","PLUS_RE","ENC_BRACKET_OPEN_RE","ENC_BRACKET_CLOSE_RE","ENC_CARET_RE","ENC_BACKTICK_RE","ENC_CURLY_OPEN_RE","ENC_PIPE_RE","ENC_CURLY_CLOSE_RE","ENC_SPACE_RE","commonEncode","encodeHash","encodeQueryValue","encodeQueryKey","encodePath","encodeParam","decode","TRAILING_SLASH_RE","removeTrailingSlash","parseURL","parseQuery","currentLocation","query","hash","hashPos","searchPos","resolveRelativePath","stringifyURL","stringifyQuery","stripBase","pathname","isSameRouteLocation","aLastIndex","bLastIndex","isSameRouteRecord","isSameRouteLocationParams","isSameRouteLocationParamsValue","isEquivalentArray","fromSegments","toSegments","lastToSegment","toPosition","segment","START_LOCATION_NORMALIZED","NavigationType","NavigationDirection","normalizeBase","baseEl","BEFORE_HASH_RE","createHref","getElementPosition","docRect","elRect","computeScrollPosition","scrollToPosition","scrollToOptions","positionEl","isIdSelector","getScrollKey","delta","scrollPositions","saveScrollPosition","scrollPosition","getSavedScrollPosition","createBaseLocation","createCurrentLocation","slicePos","pathFromHash","useHistoryListeners","historyState","replace","teardowns","pauseState","popStateHandler","fromState","pauseListeners","listen","beforeUnloadListener","history","destroy","buildState","back","forward","replaced","computeScroll","useHistoryStateNavigation","changeLocation","hashIndex","push","currentState","createWebHistory","historyNavigation","historyListeners","go","triggerListeners","routerHistory","isRouteLocation","route","isRouteName","NavigationFailureSymbol","NavigationFailureType","createRouterError","isNavigationFailure","BASE_PARAM_PATTERN","BASE_PATH_PARSER_OPTIONS","REGEX_CHARS_RE","tokensToParser","score","segmentScores","tokenIndex","subSegmentScore","repeatable","optional","re","subPattern","stringify","avoidDuplicatedSlash","compareScoreArray","comparePathParserScore","aScore","bScore","isLastScoreNegative","ROOT_TOKEN","VALID_PARAM_RE","tokenizePath","crash","previousState","finalizeSegment","customRe","consumeBuffer","addCharToBuffer","createRouteRecordMatcher","createRouterMatcher","routes","globalOptions","matcherMap","getRecordMatcher","addRoute","originalRecord","isRootAdd","mainNormalizedRecord","normalizeRouteRecord","normalizedRecords","aliases","alias","originalMatcher","normalizedRecord","parentPath","connectingSlash","isAliasRecord","removeRoute","isMatchable","insertMatcher","matcherRef","getRoutes","paramsFromLocation","parentMatcher","mergeMetaFields","clearRoutes","normalizeRecordProps","propsObject","partialOptions","lower","upper","mid","insertionAncestor","getInsertionAncestor","ancestor","searchParam","eqPos","normalizeQuery","normalizedQuery","matchedRouteKey","viewDepthKey","routerKey","routeLocationKey","routerViewLocationKey","useCallbacks","handlers","guardToPromiseFn","runWithContext","enterCallbackArray","guardReturn","guardCall","extractComponentsGuards","guardType","guards","rawComponent","componentPromise","resolvedComponent","useLink","router","currentRoute","activeRecordIndex","routeMatched","currentMatched","parentRecordPath","getOriginalPath","includesParams","isExactActive","navigate","guardEvent","preferSingleVNode","RouterLinkImpl","elClass","getLinkClass","RouterLink","outer","innerValue","outerValue","propClass","globalClass","defaultClass","RouterViewImpl","injectedRoute","routeToDisplay","injectedDepth","initialDepth","matchedRoute","matchedRouteRef","viewRef","oldInstance","oldName","currentName","ViewComponent","routePropsOption","routeProps","slotContent","RouterView","createRouter","parseQuery$1","stringifyQuery$1","beforeGuards","beforeResolveGuards","afterGuards","pendingLocation","encodeParams","decodeParams","parentOrRoute","recordMatcher","routeMatcher","hasRoute","rawLocation","locationNormalized","href","matcherLocation","targetParams","locationAsObject","checkCanceledNavigation","pushWithRedirect","handleRedirectRecord","lastMatched","redirect","newTargetLocation","redirectedFrom","targetLocation","force","shouldRedirect","toLocation","failure","markAsReady","triggerError","finalizeNavigation","triggerAfterEach","checkCanceledNavigationAndReject","installedApps","leavingRecords","updatingRecords","enteringRecords","extractChangingRecords","canceledNavigationCheck","runGuardQueue","beforeEnter","isPush","isFirstNavigation","removeHistoryListener","setupListeners","_from","info","readyHandlers","errorListeners","isReady","scrollBehavior","started","reactiveRoute","recordFrom","recordTo","useRouter","useRoute","_name","reservationLoaded","retrievedReservation","debouncedCommit","cannotCancelMarkings","canAccept","canCancel","canTurnDown","getExistingReservation","getBooking","reservationChanged","retrieved","reservationLoading","reservationSubmitting","missingInfo","numRooms","websiteURL","website","addDay","findNextDate","nextPossibleDay","matchingIndex","cloneDay","curDay","newDay","nextDate","cloneRoom","acceptReservation","cancelReservation","deleteDay","setLocale","postReservation","putReservation","bookingId","postBooking","putBooking","updateBooking","earliestDate","bookingTransitions","methodsCalled","fetchMethod","useItemsStore","isLoadingItems","isObject_1","_freeGlobal","require$$0","_root","now_1","_trimmedEndIndex","_baseTrim","_Symbol","_getRawTag","_objectToString","require$$1","require$$2","_baseGetTag","isObjectLike_1","isSymbol_1","toNumber_1","debounce_1","useRoomTypesStore","roomTypes","getAvailableRoomTypes","availableRoom","availability","useFunctionSpacesStore","spaces","suitable","loading","fetchSuitable","dayHall","colorName","isArrayish","concat","slice","swizzle","simpleSwizzleModule","colorNames","reverseNames","cs","colorStringModule","prefix","abbr","per","keyword","hexAlpha","clamp","hwb","hexDouble","hsla","hwba","num","cssKeywords","reverseKeywords","convert","conversions","channels","labels","rdif","gdif","bdif","diffc","comparativeDistance","currentClosestDistance","currentClosestKeyword","distance","z","xyz","t2","t3","t1","smin","lmin","sv","hi","vmin","sl","wh","bl","ratio","cmyk","lab","y2","x2","z2","lch","hr","saturation","ansi","mult","rem","colorString","integer","chroma","grayscale","hcg","pure","mg","apple","gray","buildGraph","graph","models","deriveBFS","fromModel","adjacents","adjacent","wrapConversion","toModel","conversion","wrapRaw","arg0","wrapRounded","colorConvert","skippedModels","hashedModelKeys","limiters","Color","newArray","zeroArray","hashedKeys","limit","places","roundToPlace","getset","maxfn","rgbArray","alphaHex","lum","chan","color2","lum1","lum2","contrastRatio","degrees","mixinColor","weight","color1","w1","w2","assertArray","roundTo","channel","colorParsley","colorIn","parseString","objArray","retArray","namedColors","hexRex","hexProc","colorRex","sliceLast","divisor","convertPct","sat","light","white","black","hwbFact","slicesProc","SA98G","APCAcontrast","txtY","bgY","icp","SAPC","outputContrast","polCat","calcAPCA","bgColor","round","bgClr","txClr","alphaBlend","sRGBtoY","simpleExp","rgbaFG","rgbBG","compBlend","rgbOut","getAccessibleTextColor","backgroundColor","blackL","whiteL","useColor","primary","secondary","docStyle","primaryText","secondaryText","primaryDarkText","secondaryDarkText","toRef$1","defaultDocument","useFavicon","newIcon","baseUrl","rel","document","favicon","applyIcon","icon","elements","useMemoize","generateKey","_loadData","loadData","deleteData","clearData","V3_URL","V3_URL_REGEX","findScript","scripts","script","injectScript","queryString","headOrBody","registerWrapper","stripe","stripePromise","onErrorListener","onLoadListener","onLoad","loadScript","_script$parentNode","initStripe","maybeStripe","stripePromise$1","loadCalled","getStripePromise","loadStripe","_len","_sfc_main$4","setColors","newPrimary","newSecondary","chosenFont","useRounded","newFavicon","gtmScript","cookiebotEmbed","nlLocale","enLocale","deLocale","frLocale","fiLocale","curLocale","_resolveComponent","_openBlock","_withCtx","_component_ElConfigProvider","$setup","_component_router_view","_Locales","Locales","useLocaleSwitcher","currentLocale","setLocaleInReservation","switchLocale","newLocale","_sfc_main$3","_hoisted_3","_component_svg_icon","_createElementBlock","_hoisted_1","_createElementVNode","_hoisted_2","_toDisplayString","_hoisted_4","_Fragment","_renderList","_sfc_main$2","_resolveDirective","_withDirectives","canClose","_sfc_main$1","LocaleSwitcher","Modal","showHelp","logoAlt","trimURL","_createCommentVNode","_component_LocaleSwitcher","_createTextVNode","_createBlock","_component_Modal","PageHeader","activeItem","_component_el_carousel","_component_PageHeader","image","_component_el_carousel_item","_Transition","Home","__vitePreload","Offer","Booking","defaultLayout","initSentry","App","VueAxios","SvgIcon"],"ignoreList":[0,1,2,3,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,252,253,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,337,338,339,340,341,342,347,351,352,353,354,355,356,357,358,359,360,361,362,363,364,367,368,369,370,371,372,373,374,375,376,378,379,380,381,382,383,384],"sources":["../../node_modules/@vue/shared/dist/shared.esm-bundler.js","../../node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js","../../node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js","../../node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js","../../src/components/icons/SvgIcon.vue","../../src/plugins/clickOutside.ts","../../node_modules/element-plus/es/components/config-provider/src/constants.mjs","../../node_modules/element-plus/es/hooks/use-namespace/index.mjs","../../node_modules/lodash-es/_freeGlobal.js","../../node_modules/lodash-es/_root.js","../../node_modules/lodash-es/_Symbol.js","../../node_modules/lodash-es/_getRawTag.js","../../node_modules/lodash-es/_objectToString.js","../../node_modules/lodash-es/_baseGetTag.js","../../node_modules/lodash-es/isObjectLike.js","../../node_modules/lodash-es/isSymbol.js","../../node_modules/lodash-es/_arrayMap.js","../../node_modules/lodash-es/isArray.js","../../node_modules/lodash-es/_baseToString.js","../../node_modules/lodash-es/_trimmedEndIndex.js","../../node_modules/lodash-es/_baseTrim.js","../../node_modules/lodash-es/isObject.js","../../node_modules/lodash-es/toNumber.js","../../node_modules/lodash-es/isFunction.js","../../node_modules/lodash-es/_coreJsData.js","../../node_modules/lodash-es/_isMasked.js","../../node_modules/lodash-es/_toSource.js","../../node_modules/lodash-es/_baseIsNative.js","../../node_modules/lodash-es/_getValue.js","../../node_modules/lodash-es/_getNative.js","../../node_modules/lodash-es/_WeakMap.js","../../node_modules/lodash-es/_baseCreate.js","../../node_modules/lodash-es/_defineProperty.js","../../node_modules/lodash-es/_arrayEach.js","../../node_modules/lodash-es/_isIndex.js","../../node_modules/lodash-es/_baseAssignValue.js","../../node_modules/lodash-es/eq.js","../../node_modules/lodash-es/_assignValue.js","../../node_modules/lodash-es/isLength.js","../../node_modules/lodash-es/isArrayLike.js","../../node_modules/lodash-es/_isPrototype.js","../../node_modules/lodash-es/_baseTimes.js","../../node_modules/lodash-es/_baseIsArguments.js","../../node_modules/lodash-es/isArguments.js","../../node_modules/lodash-es/stubFalse.js","../../node_modules/lodash-es/isBuffer.js","../../node_modules/lodash-es/_baseIsTypedArray.js","../../node_modules/lodash-es/_baseUnary.js","../../node_modules/lodash-es/_nodeUtil.js","../../node_modules/lodash-es/isTypedArray.js","../../node_modules/lodash-es/_arrayLikeKeys.js","../../node_modules/lodash-es/_overArg.js","../../node_modules/lodash-es/_nativeKeys.js","../../node_modules/lodash-es/_baseKeys.js","../../node_modules/lodash-es/keys.js","../../node_modules/lodash-es/_isKey.js","../../node_modules/lodash-es/_nativeCreate.js","../../node_modules/lodash-es/_hashClear.js","../../node_modules/lodash-es/_hashDelete.js","../../node_modules/lodash-es/_hashGet.js","../../node_modules/lodash-es/_hashHas.js","../../node_modules/lodash-es/_hashSet.js","../../node_modules/lodash-es/_Hash.js","../../node_modules/lodash-es/_listCacheClear.js","../../node_modules/lodash-es/_assocIndexOf.js","../../node_modules/lodash-es/_listCacheDelete.js","../../node_modules/lodash-es/_listCacheGet.js","../../node_modules/lodash-es/_listCacheHas.js","../../node_modules/lodash-es/_listCacheSet.js","../../node_modules/lodash-es/_ListCache.js","../../node_modules/lodash-es/_Map.js","../../node_modules/lodash-es/_mapCacheClear.js","../../node_modules/lodash-es/_isKeyable.js","../../node_modules/lodash-es/_getMapData.js","../../node_modules/lodash-es/_mapCacheDelete.js","../../node_modules/lodash-es/_mapCacheGet.js","../../node_modules/lodash-es/_mapCacheHas.js","../../node_modules/lodash-es/_mapCacheSet.js","../../node_modules/lodash-es/_MapCache.js","../../node_modules/lodash-es/memoize.js","../../node_modules/lodash-es/_memoizeCapped.js","../../node_modules/lodash-es/_stringToPath.js","../../node_modules/lodash-es/toString.js","../../node_modules/lodash-es/_castPath.js","../../node_modules/lodash-es/_toKey.js","../../node_modules/lodash-es/_baseGet.js","../../node_modules/lodash-es/get.js","../../node_modules/lodash-es/_arrayPush.js","../../node_modules/lodash-es/_getPrototype.js","../../node_modules/lodash-es/_stackClear.js","../../node_modules/lodash-es/_stackDelete.js","../../node_modules/lodash-es/_stackGet.js","../../node_modules/lodash-es/_stackHas.js","../../node_modules/lodash-es/_stackSet.js","../../node_modules/lodash-es/_Stack.js","../../node_modules/lodash-es/_cloneBuffer.js","../../node_modules/lodash-es/_arrayFilter.js","../../node_modules/lodash-es/stubArray.js","../../node_modules/lodash-es/_getSymbols.js","../../node_modules/lodash-es/_baseGetAllKeys.js","../../node_modules/lodash-es/_getAllKeys.js","../../node_modules/lodash-es/_DataView.js","../../node_modules/lodash-es/_Promise.js","../../node_modules/lodash-es/_Set.js","../../node_modules/lodash-es/_getTag.js","../../node_modules/lodash-es/_initCloneArray.js","../../node_modules/lodash-es/_Uint8Array.js","../../node_modules/lodash-es/_cloneArrayBuffer.js","../../node_modules/lodash-es/_cloneDataView.js","../../node_modules/lodash-es/_cloneRegExp.js","../../node_modules/lodash-es/_cloneSymbol.js","../../node_modules/lodash-es/_cloneTypedArray.js","../../node_modules/lodash-es/_initCloneByTag.js","../../node_modules/lodash-es/_initCloneObject.js","../../node_modules/lodash-es/_baseIsMap.js","../../node_modules/lodash-es/isMap.js","../../node_modules/lodash-es/_baseIsSet.js","../../node_modules/lodash-es/isSet.js","../../node_modules/lodash-es/_baseClone.js","../../node_modules/lodash-es/cloneDeep.js","../../node_modules/lodash-es/now.js","../../node_modules/lodash-es/debounce.js","../../node_modules/lodash-es/fromPairs.js","../../node_modules/lodash-es/isNil.js","../../node_modules/lodash-es/throttle.js","../../node_modules/element-plus/es/utils/types.mjs","../../node_modules/element-plus/node_modules/@vueuse/shared/index.mjs","../../node_modules/element-plus/node_modules/@vueuse/core/index.mjs","../../node_modules/element-plus/es/utils/error.mjs","../../node_modules/element-plus/es/hooks/use-z-index/index.mjs","../../node_modules/element-plus/es/locale/lang/en.mjs","../../node_modules/element-plus/es/hooks/use-locale/index.mjs","../../node_modules/element-plus/es/utils/vue/props/runtime.mjs","../../node_modules/element-plus/es/constants/size.mjs","../../node_modules/element-plus/es/hooks/use-size/index.mjs","../../node_modules/element-plus/es/hooks/use-empty-values/index.mjs","../../node_modules/element-plus/es/utils/objects.mjs","../../node_modules/element-plus/es/components/config-provider/src/hooks/use-global-config.mjs","../../node_modules/element-plus/es/constants/event.mjs","../../node_modules/element-plus/es/components/affix/src/affix2.mjs","../../node_modules/element-plus/es/_virtual/plugin-vue_export-helper.mjs","../../node_modules/element-plus/es/utils/dom/style.mjs","../../node_modules/element-plus/es/utils/dom/scroll.mjs","../../node_modules/element-plus/es/components/affix/src/affix.mjs","../../node_modules/element-plus/es/utils/vue/install.mjs","../../node_modules/element-plus/es/components/affix/index.mjs","../../node_modules/element-plus/es/components/icon/src/icon2.mjs","../../node_modules/element-plus/es/components/icon/src/icon.mjs","../../node_modules/element-plus/es/components/icon/index.mjs","../../node_modules/@element-plus/icons-vue/dist/index.js","../../node_modules/element-plus/es/utils/vue/icon.mjs","../../node_modules/element-plus/es/utils/typescript.mjs","../../node_modules/element-plus/es/components/form/src/constants.mjs","../../node_modules/element-plus/es/hooks/use-id/index.mjs","../../node_modules/element-plus/es/components/form/src/hooks/use-form-item.mjs","../../node_modules/element-plus/es/hooks/use-prop/index.mjs","../../node_modules/element-plus/es/components/form/src/hooks/use-form-common-props.mjs","../../node_modules/element-plus/es/components/button/src/constants.mjs","../../node_modules/element-plus/es/hooks/use-deprecated/index.mjs","../../node_modules/element-plus/es/components/button/src/use-button.mjs","../../node_modules/element-plus/es/components/button/src/button.mjs","../../node_modules/@ctrl/tinycolor/dist/module/util.js","../../node_modules/@ctrl/tinycolor/dist/module/conversion.js","../../node_modules/@ctrl/tinycolor/dist/module/css-color-names.js","../../node_modules/@ctrl/tinycolor/dist/module/format-input.js","../../node_modules/@ctrl/tinycolor/dist/module/index.js","../../node_modules/element-plus/es/components/button/src/button-custom.mjs","../../node_modules/element-plus/es/components/button/src/button2.mjs","../../node_modules/element-plus/es/components/button/src/button-group2.mjs","../../node_modules/element-plus/es/components/button/src/button-group.mjs","../../node_modules/element-plus/es/components/button/index.mjs","../../node_modules/element-plus/es/components/carousel/src/carousel.mjs","../../node_modules/element-plus/es/components/carousel/src/constants.mjs","../../node_modules/element-plus/es/utils/vue/vnode.mjs","../../node_modules/element-plus/es/hooks/use-ordered-children/index.mjs","../../node_modules/element-plus/es/components/carousel/src/use-carousel.mjs","../../node_modules/element-plus/es/components/carousel/src/carousel2.mjs","../../node_modules/element-plus/es/components/carousel/src/carousel-item.mjs","../../node_modules/element-plus/es/components/carousel/src/use-carousel-item.mjs","../../node_modules/element-plus/es/components/carousel/src/carousel-item2.mjs","../../node_modules/element-plus/es/components/carousel/index.mjs","../../node_modules/element-plus/es/components/col/src/col.mjs","../../node_modules/element-plus/es/components/row/src/constants.mjs","../../node_modules/element-plus/es/components/col/src/col2.mjs","../../node_modules/element-plus/es/components/col/index.mjs","../../node_modules/element-plus/es/components/collapse-transition/src/collapse-transition.mjs","../../node_modules/element-plus/es/components/collapse-transition/index.mjs","../../node_modules/element-plus/es/components/config-provider/src/config-provider-props.mjs","../../node_modules/element-plus/es/components/config-provider/src/config-provider.mjs","../../node_modules/element-plus/es/components/config-provider/index.mjs","../../node_modules/element-plus/es/components/row/src/row.mjs","../../node_modules/element-plus/es/components/row/src/row2.mjs","../../node_modules/element-plus/es/components/row/index.mjs","../../node_modules/element-plus/es/components/loading/src/loading.mjs","../../node_modules/element-plus/es/components/loading/src/service.mjs","../../node_modules/element-plus/es/components/loading/src/directive.mjs","../../node_modules/element-plus/es/components/loading/index.mjs","../../src/plugins/elementPlus.ts","../../node_modules/date-fns/toDate.mjs","../../node_modules/date-fns/constructFrom.mjs","../../node_modules/date-fns/addDays.mjs","../../node_modules/date-fns/addMonths.mjs","../../node_modules/date-fns/add.mjs","../../node_modules/date-fns/constants.mjs","../../node_modules/date-fns/_lib/defaultOptions.mjs","../../node_modules/date-fns/startOfWeek.mjs","../../node_modules/date-fns/startOfISOWeek.mjs","../../node_modules/date-fns/getISOWeekYear.mjs","../../node_modules/date-fns/startOfDay.mjs","../../node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.mjs","../../node_modules/date-fns/differenceInCalendarDays.mjs","../../node_modules/date-fns/startOfISOWeekYear.mjs","../../node_modules/date-fns/isSameDay.mjs","../../node_modules/date-fns/isDate.mjs","../../node_modules/date-fns/isValid.mjs","../../node_modules/date-fns/eachDayOfInterval.mjs","../../node_modules/date-fns/startOfYear.mjs","../../node_modules/date-fns/locale/en-US/_lib/formatDistance.mjs","../../node_modules/date-fns/locale/_lib/buildFormatLongFn.mjs","../../node_modules/date-fns/locale/en-US/_lib/formatLong.mjs","../../node_modules/date-fns/locale/en-US/_lib/formatRelative.mjs","../../node_modules/date-fns/locale/_lib/buildLocalizeFn.mjs","../../node_modules/date-fns/locale/en-US/_lib/localize.mjs","../../node_modules/date-fns/locale/_lib/buildMatchFn.mjs","../../node_modules/date-fns/locale/_lib/buildMatchPatternFn.mjs","../../node_modules/date-fns/locale/en-US/_lib/match.mjs","../../node_modules/date-fns/locale/en-US.mjs","../../node_modules/date-fns/getDayOfYear.mjs","../../node_modules/date-fns/getISOWeek.mjs","../../node_modules/date-fns/getWeekYear.mjs","../../node_modules/date-fns/startOfWeekYear.mjs","../../node_modules/date-fns/getWeek.mjs","../../node_modules/date-fns/_lib/addLeadingZeros.mjs","../../node_modules/date-fns/_lib/format/lightFormatters.mjs","../../node_modules/date-fns/_lib/format/formatters.mjs","../../node_modules/date-fns/_lib/format/longFormatters.mjs","../../node_modules/date-fns/_lib/protectedTokens.mjs","../../node_modules/date-fns/format.mjs","../../node_modules/date-fns/lightFormat.mjs","../../node_modules/date-fns/parseISO.mjs","../../node_modules/@intlify/shared/dist/shared.mjs","../../node_modules/@intlify/message-compiler/dist/message-compiler.esm-browser.js","../../node_modules/@intlify/core-base/dist/core-base.mjs","../../node_modules/vue-i18n/dist/vue-i18n.runtime.mjs","../../src/services/helpers.ts","../../src/plugins/helpers.ts","../../src/locales/nl-NL.json","../../src/locales/en-US.json","../../src/locales/de-DE.json","../../src/locales/fr-FR.json","../../src/locales/fi-FI.json","../../src/plugins/i18n.ts","../../node_modules/vee-validate/dist/vee-validate.mjs","../../node_modules/@vee-validate/rules/dist/vee-validate-rules.mjs","../../src/plugins/vee-validate.ts","../../node_modules/axios/lib/helpers/bind.js","../../node_modules/axios/lib/utils.js","../../node_modules/axios/lib/core/AxiosError.js","../../node_modules/axios/lib/helpers/null.js","../../node_modules/axios/lib/helpers/toFormData.js","../../node_modules/axios/lib/helpers/AxiosURLSearchParams.js","../../node_modules/axios/lib/helpers/buildURL.js","../../node_modules/axios/lib/core/InterceptorManager.js","../../node_modules/axios/lib/defaults/transitional.js","../../node_modules/axios/lib/platform/browser/classes/URLSearchParams.js","../../node_modules/axios/lib/platform/browser/classes/FormData.js","../../node_modules/axios/lib/platform/browser/classes/Blob.js","../../node_modules/axios/lib/platform/browser/index.js","../../node_modules/axios/lib/platform/common/utils.js","../../node_modules/axios/lib/platform/index.js","../../node_modules/axios/lib/helpers/toURLEncodedForm.js","../../node_modules/axios/lib/helpers/formDataToJSON.js","../../node_modules/axios/lib/defaults/index.js","../../node_modules/axios/lib/helpers/parseHeaders.js","../../node_modules/axios/lib/core/AxiosHeaders.js","../../node_modules/axios/lib/core/transformData.js","../../node_modules/axios/lib/cancel/isCancel.js","../../node_modules/axios/lib/cancel/CanceledError.js","../../node_modules/axios/lib/core/settle.js","../../node_modules/axios/lib/helpers/parseProtocol.js","../../node_modules/axios/lib/helpers/speedometer.js","../../node_modules/axios/lib/helpers/throttle.js","../../node_modules/axios/lib/helpers/progressEventReducer.js","../../node_modules/axios/lib/helpers/isURLSameOrigin.js","../../node_modules/axios/lib/helpers/cookies.js","../../node_modules/axios/lib/helpers/isAbsoluteURL.js","../../node_modules/axios/lib/helpers/combineURLs.js","../../node_modules/axios/lib/core/buildFullPath.js","../../node_modules/axios/lib/core/mergeConfig.js","../../node_modules/axios/lib/helpers/resolveConfig.js","../../node_modules/axios/lib/adapters/xhr.js","../../node_modules/axios/lib/helpers/composeSignals.js","../../node_modules/axios/lib/helpers/trackStream.js","../../node_modules/axios/lib/adapters/fetch.js","../../node_modules/axios/lib/adapters/adapters.js","../../node_modules/axios/lib/core/dispatchRequest.js","../../node_modules/axios/lib/env/data.js","../../node_modules/axios/lib/helpers/validator.js","../../node_modules/axios/lib/core/Axios.js","../../node_modules/axios/lib/cancel/CancelToken.js","../../node_modules/axios/lib/helpers/spread.js","../../node_modules/axios/lib/helpers/isAxiosError.js","../../node_modules/axios/lib/helpers/HttpStatusCode.js","../../node_modules/axios/lib/axios.js","../../node_modules/axios/index.js","../../node_modules/vue-axios/dist/vue-axios.esm.min.js","../../src/api/base.ts","../../src/api/common.ts","../../src/api/api/booking-api.ts","../../src/api/api/emplacement-api.ts","../../src/api/api/hall-api.ts","../../src/api/api/item-api.ts","../../src/api/api/location-api.ts","../../src/api/api/location-emplacement-api.ts","../../src/api/api/location-room-type-api.ts","../../src/api/api/package-deal-api.ts","../../src/api/api/partner-api.ts","../../src/api/api/reservation-api.ts","../../src/api/model/booking-remark-booking-write.ts","../../src/api/model/case-read.ts","../../src/api/model/location-settings-translation-location-read.ts","../../src/api/model/partner-settings-partner-read.ts","../../src/api/model/partner-settings-translation-partner-read.ts","../../src/api/model/reservation-read.ts","../../src/api/model/reservation-remark-write.ts","../../src/api/model/reservation-transition.ts","../../src/api/model/reservation-write.ts","../../src/composables/useScrollTo.ts","../../src/store/formSteps.ts","../../src/store/function_spaces.ts","../../src/store/items.ts","../../src/store/locations.ts","../../src/store/package_deals.ts","../../src/store/partner.ts","../../src/store/reservation.ts","../../src/store/room_types.ts","../../src/store/emplacements.ts","../../node_modules/vuex/node_modules/@vue/devtools-api/lib/esm/env.js","../../node_modules/vuex/node_modules/@vue/devtools-api/lib/esm/const.js","../../node_modules/vuex/node_modules/@vue/devtools-api/lib/esm/time.js","../../node_modules/vuex/node_modules/@vue/devtools-api/lib/esm/proxy.js","../../node_modules/vuex/node_modules/@vue/devtools-api/lib/esm/index.js","../../node_modules/vuex/dist/vuex.esm-bundler.js","../../src/store/index.ts","../../src/composables/store/useEmplacementsStore.ts","../../src/composables/store/usePartnerStore.ts","../../src/composables/store/useLocationsStore.ts","../../node_modules/vue-router/dist/vue-router.mjs","../../src/composables/store/useReservationStore.ts","../../src/composables/useCache.ts","../../src/composables/store/useItemsStore.ts","../../node_modules/lodash/isObject.js","../../node_modules/lodash/_freeGlobal.js","../../node_modules/lodash/_root.js","../../node_modules/lodash/now.js","../../node_modules/lodash/_trimmedEndIndex.js","../../node_modules/lodash/_baseTrim.js","../../node_modules/lodash/_Symbol.js","../../node_modules/lodash/_getRawTag.js","../../node_modules/lodash/_objectToString.js","../../node_modules/lodash/_baseGetTag.js","../../node_modules/lodash/isObjectLike.js","../../node_modules/lodash/isSymbol.js","../../node_modules/lodash/toNumber.js","../../node_modules/lodash/debounce.js","../../src/composables/store/useRoomTypesStore.ts","../../src/composables/store/useFunctionSpacesStore.ts","../../node_modules/color-name/index.js","../../node_modules/simple-swizzle/node_modules/is-arrayish/index.js","../../node_modules/simple-swizzle/index.js","../../node_modules/color-string/index.js","../../node_modules/color-convert/conversions.js","../../node_modules/color-convert/route.js","../../node_modules/color-convert/index.js","../../node_modules/color/index.js","../../node_modules/colorparsley/src/colorparsley.js","../../node_modules/apca-w3/src/apca-w3.js","../../src/composables/useColor.ts","../../node_modules/@vueuse/shared/index.mjs","../../node_modules/@vueuse/core/index.mjs","../../node_modules/@stripe/stripe-js/dist/index.mjs","../../node_modules/element-plus/es/locale/lang/nl.mjs","../../node_modules/element-plus/es/locale/lang/de.mjs","../../node_modules/element-plus/es/locale/lang/fr.mjs","../../node_modules/element-plus/es/locale/lang/fi.mjs","../../src/App.vue","../../src/services/locales.ts","../../src/composables/useLocaleSwitcher.ts","../../src/components/layout/LocaleSwitcher.vue","../../src/components/Modal.vue","../../src/components/layout/Header.vue","../../src/layouts/Default.vue","../../src/router/index.ts","../../src/main.ts"],"sourcesContent":["/**\n* @vue/shared v3.5.13\n* (c) 2018-present Yuxi (Evan) You and Vue contributors\n* @license MIT\n**/\n/*! #__NO_SIDE_EFFECTS__ */\n// @__NO_SIDE_EFFECTS__\nfunction makeMap(str) {\n const map = /* @__PURE__ */ Object.create(null);\n for (const key of str.split(\",\")) map[key] = 1;\n return (val) => val in map;\n}\n\nconst EMPTY_OBJ = !!(process.env.NODE_ENV !== \"production\") ? Object.freeze({}) : {};\nconst EMPTY_ARR = !!(process.env.NODE_ENV !== \"production\") ? Object.freeze([]) : [];\nconst NOOP = () => {\n};\nconst NO = () => false;\nconst isOn = (key) => key.charCodeAt(0) === 111 && key.charCodeAt(1) === 110 && // uppercase letter\n(key.charCodeAt(2) > 122 || key.charCodeAt(2) < 97);\nconst isModelListener = (key) => key.startsWith(\"onUpdate:\");\nconst extend = Object.assign;\nconst remove = (arr, el) => {\n const i = arr.indexOf(el);\n if (i > -1) {\n arr.splice(i, 1);\n }\n};\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\nconst hasOwn = (val, key) => hasOwnProperty.call(val, key);\nconst isArray = Array.isArray;\nconst isMap = (val) => toTypeString(val) === \"[object Map]\";\nconst isSet = (val) => toTypeString(val) === \"[object Set]\";\nconst isDate = (val) => toTypeString(val) === \"[object Date]\";\nconst isRegExp = (val) => toTypeString(val) === \"[object RegExp]\";\nconst isFunction = (val) => typeof val === \"function\";\nconst isString = (val) => typeof val === \"string\";\nconst isSymbol = (val) => typeof val === \"symbol\";\nconst isObject = (val) => val !== null && typeof val === \"object\";\nconst isPromise = (val) => {\n return (isObject(val) || isFunction(val)) && isFunction(val.then) && isFunction(val.catch);\n};\nconst objectToString = Object.prototype.toString;\nconst toTypeString = (value) => objectToString.call(value);\nconst toRawType = (value) => {\n return toTypeString(value).slice(8, -1);\n};\nconst isPlainObject = (val) => toTypeString(val) === \"[object Object]\";\nconst isIntegerKey = (key) => isString(key) && key !== \"NaN\" && key[0] !== \"-\" && \"\" + parseInt(key, 10) === key;\nconst isReservedProp = /* @__PURE__ */ makeMap(\n // the leading comma is intentional so empty string \"\" is also included\n \",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted\"\n);\nconst isBuiltInDirective = /* @__PURE__ */ makeMap(\n \"bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo\"\n);\nconst cacheStringFunction = (fn) => {\n const cache = /* @__PURE__ */ Object.create(null);\n return (str) => {\n const hit = cache[str];\n return hit || (cache[str] = fn(str));\n };\n};\nconst camelizeRE = /-(\\w)/g;\nconst camelize = cacheStringFunction(\n (str) => {\n return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : \"\");\n }\n);\nconst hyphenateRE = /\\B([A-Z])/g;\nconst hyphenate = cacheStringFunction(\n (str) => str.replace(hyphenateRE, \"-$1\").toLowerCase()\n);\nconst capitalize = cacheStringFunction((str) => {\n return str.charAt(0).toUpperCase() + str.slice(1);\n});\nconst toHandlerKey = cacheStringFunction(\n (str) => {\n const s = str ? `on${capitalize(str)}` : ``;\n return s;\n }\n);\nconst hasChanged = (value, oldValue) => !Object.is(value, oldValue);\nconst invokeArrayFns = (fns, ...arg) => {\n for (let i = 0; i < fns.length; i++) {\n fns[i](...arg);\n }\n};\nconst def = (obj, key, value, writable = false) => {\n Object.defineProperty(obj, key, {\n configurable: true,\n enumerable: false,\n writable,\n value\n });\n};\nconst looseToNumber = (val) => {\n const n = parseFloat(val);\n return isNaN(n) ? val : n;\n};\nconst toNumber = (val) => {\n const n = isString(val) ? Number(val) : NaN;\n return isNaN(n) ? val : n;\n};\nlet _globalThis;\nconst getGlobalThis = () => {\n return _globalThis || (_globalThis = typeof globalThis !== \"undefined\" ? globalThis : typeof self !== \"undefined\" ? self : typeof window !== \"undefined\" ? window : typeof global !== \"undefined\" ? global : {});\n};\nconst identRE = /^[_$a-zA-Z\\xA0-\\uFFFF][_$a-zA-Z0-9\\xA0-\\uFFFF]*$/;\nfunction genPropsAccessExp(name) {\n return identRE.test(name) ? `__props.${name}` : `__props[${JSON.stringify(name)}]`;\n}\nfunction genCacheKey(source, options) {\n return source + JSON.stringify(\n options,\n (_, val) => typeof val === \"function\" ? val.toString() : val\n );\n}\n\nconst PatchFlags = {\n \"TEXT\": 1,\n \"1\": \"TEXT\",\n \"CLASS\": 2,\n \"2\": \"CLASS\",\n \"STYLE\": 4,\n \"4\": \"STYLE\",\n \"PROPS\": 8,\n \"8\": \"PROPS\",\n \"FULL_PROPS\": 16,\n \"16\": \"FULL_PROPS\",\n \"NEED_HYDRATION\": 32,\n \"32\": \"NEED_HYDRATION\",\n \"STABLE_FRAGMENT\": 64,\n \"64\": \"STABLE_FRAGMENT\",\n \"KEYED_FRAGMENT\": 128,\n \"128\": \"KEYED_FRAGMENT\",\n \"UNKEYED_FRAGMENT\": 256,\n \"256\": \"UNKEYED_FRAGMENT\",\n \"NEED_PATCH\": 512,\n \"512\": \"NEED_PATCH\",\n \"DYNAMIC_SLOTS\": 1024,\n \"1024\": \"DYNAMIC_SLOTS\",\n \"DEV_ROOT_FRAGMENT\": 2048,\n \"2048\": \"DEV_ROOT_FRAGMENT\",\n \"CACHED\": -1,\n \"-1\": \"CACHED\",\n \"BAIL\": -2,\n \"-2\": \"BAIL\"\n};\nconst PatchFlagNames = {\n [1]: `TEXT`,\n [2]: `CLASS`,\n [4]: `STYLE`,\n [8]: `PROPS`,\n [16]: `FULL_PROPS`,\n [32]: `NEED_HYDRATION`,\n [64]: `STABLE_FRAGMENT`,\n [128]: `KEYED_FRAGMENT`,\n [256]: `UNKEYED_FRAGMENT`,\n [512]: `NEED_PATCH`,\n [1024]: `DYNAMIC_SLOTS`,\n [2048]: `DEV_ROOT_FRAGMENT`,\n [-1]: `HOISTED`,\n [-2]: `BAIL`\n};\n\nconst ShapeFlags = {\n \"ELEMENT\": 1,\n \"1\": \"ELEMENT\",\n \"FUNCTIONAL_COMPONENT\": 2,\n \"2\": \"FUNCTIONAL_COMPONENT\",\n \"STATEFUL_COMPONENT\": 4,\n \"4\": \"STATEFUL_COMPONENT\",\n \"TEXT_CHILDREN\": 8,\n \"8\": \"TEXT_CHILDREN\",\n \"ARRAY_CHILDREN\": 16,\n \"16\": \"ARRAY_CHILDREN\",\n \"SLOTS_CHILDREN\": 32,\n \"32\": \"SLOTS_CHILDREN\",\n \"TELEPORT\": 64,\n \"64\": \"TELEPORT\",\n \"SUSPENSE\": 128,\n \"128\": \"SUSPENSE\",\n \"COMPONENT_SHOULD_KEEP_ALIVE\": 256,\n \"256\": \"COMPONENT_SHOULD_KEEP_ALIVE\",\n \"COMPONENT_KEPT_ALIVE\": 512,\n \"512\": \"COMPONENT_KEPT_ALIVE\",\n \"COMPONENT\": 6,\n \"6\": \"COMPONENT\"\n};\n\nconst SlotFlags = {\n \"STABLE\": 1,\n \"1\": \"STABLE\",\n \"DYNAMIC\": 2,\n \"2\": \"DYNAMIC\",\n \"FORWARDED\": 3,\n \"3\": \"FORWARDED\"\n};\nconst slotFlagsText = {\n [1]: \"STABLE\",\n [2]: \"DYNAMIC\",\n [3]: \"FORWARDED\"\n};\n\nconst GLOBALS_ALLOWED = \"Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol\";\nconst isGloballyAllowed = /* @__PURE__ */ makeMap(GLOBALS_ALLOWED);\nconst isGloballyWhitelisted = isGloballyAllowed;\n\nconst range = 2;\nfunction generateCodeFrame(source, start = 0, end = source.length) {\n start = Math.max(0, Math.min(start, source.length));\n end = Math.max(0, Math.min(end, source.length));\n if (start > end) return \"\";\n let lines = source.split(/(\\r?\\n)/);\n const newlineSequences = lines.filter((_, idx) => idx % 2 === 1);\n lines = lines.filter((_, idx) => idx % 2 === 0);\n let count = 0;\n const res = [];\n for (let i = 0; i < lines.length; i++) {\n count += lines[i].length + (newlineSequences[i] && newlineSequences[i].length || 0);\n if (count >= start) {\n for (let j = i - range; j <= i + range || end > count; j++) {\n if (j < 0 || j >= lines.length) continue;\n const line = j + 1;\n res.push(\n `${line}${\" \".repeat(Math.max(3 - String(line).length, 0))}| ${lines[j]}`\n );\n const lineLength = lines[j].length;\n const newLineSeqLength = newlineSequences[j] && newlineSequences[j].length || 0;\n if (j === i) {\n const pad = start - (count - (lineLength + newLineSeqLength));\n const length = Math.max(\n 1,\n end > count ? lineLength - pad : end - start\n );\n res.push(` | ` + \" \".repeat(pad) + \"^\".repeat(length));\n } else if (j > i) {\n if (end > count) {\n const length = Math.max(Math.min(end - count, lineLength), 1);\n res.push(` | ` + \"^\".repeat(length));\n }\n count += lineLength + newLineSeqLength;\n }\n }\n break;\n }\n }\n return res.join(\"\\n\");\n}\n\nfunction normalizeStyle(value) {\n if (isArray(value)) {\n const res = {};\n for (let i = 0; i < value.length; i++) {\n const item = value[i];\n const normalized = isString(item) ? parseStringStyle(item) : normalizeStyle(item);\n if (normalized) {\n for (const key in normalized) {\n res[key] = normalized[key];\n }\n }\n }\n return res;\n } else if (isString(value) || isObject(value)) {\n return value;\n }\n}\nconst listDelimiterRE = /;(?![^(]*\\))/g;\nconst propertyDelimiterRE = /:([^]+)/;\nconst styleCommentRE = /\\/\\*[^]*?\\*\\//g;\nfunction parseStringStyle(cssText) {\n const ret = {};\n cssText.replace(styleCommentRE, \"\").split(listDelimiterRE).forEach((item) => {\n if (item) {\n const tmp = item.split(propertyDelimiterRE);\n tmp.length > 1 && (ret[tmp[0].trim()] = tmp[1].trim());\n }\n });\n return ret;\n}\nfunction stringifyStyle(styles) {\n if (!styles) return \"\";\n if (isString(styles)) return styles;\n let ret = \"\";\n for (const key in styles) {\n const value = styles[key];\n if (isString(value) || typeof value === \"number\") {\n const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key);\n ret += `${normalizedKey}:${value};`;\n }\n }\n return ret;\n}\nfunction normalizeClass(value) {\n let res = \"\";\n if (isString(value)) {\n res = value;\n } else if (isArray(value)) {\n for (let i = 0; i < value.length; i++) {\n const normalized = normalizeClass(value[i]);\n if (normalized) {\n res += normalized + \" \";\n }\n }\n } else if (isObject(value)) {\n for (const name in value) {\n if (value[name]) {\n res += name + \" \";\n }\n }\n }\n return res.trim();\n}\nfunction normalizeProps(props) {\n if (!props) return null;\n let { class: klass, style } = props;\n if (klass && !isString(klass)) {\n props.class = normalizeClass(klass);\n }\n if (style) {\n props.style = normalizeStyle(style);\n }\n return props;\n}\n\nconst HTML_TAGS = \"html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,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,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,summary,template,blockquote,iframe,tfoot\";\nconst SVG_TAGS = \"svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view\";\nconst MATH_TAGS = \"annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics\";\nconst VOID_TAGS = \"area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr\";\nconst isHTMLTag = /* @__PURE__ */ makeMap(HTML_TAGS);\nconst isSVGTag = /* @__PURE__ */ makeMap(SVG_TAGS);\nconst isMathMLTag = /* @__PURE__ */ makeMap(MATH_TAGS);\nconst isVoidTag = /* @__PURE__ */ makeMap(VOID_TAGS);\n\nconst specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;\nconst isSpecialBooleanAttr = /* @__PURE__ */ makeMap(specialBooleanAttrs);\nconst isBooleanAttr = /* @__PURE__ */ makeMap(\n specialBooleanAttrs + `,async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected`\n);\nfunction includeBooleanAttr(value) {\n return !!value || value === \"\";\n}\nconst unsafeAttrCharRE = /[>/=\"'\\u0009\\u000a\\u000c\\u0020]/;\nconst attrValidationCache = {};\nfunction isSSRSafeAttrName(name) {\n if (attrValidationCache.hasOwnProperty(name)) {\n return attrValidationCache[name];\n }\n const isUnsafe = unsafeAttrCharRE.test(name);\n if (isUnsafe) {\n console.error(`unsafe attribute name: ${name}`);\n }\n return attrValidationCache[name] = !isUnsafe;\n}\nconst propsToAttrMap = {\n acceptCharset: \"accept-charset\",\n className: \"class\",\n htmlFor: \"for\",\n httpEquiv: \"http-equiv\"\n};\nconst isKnownHtmlAttr = /* @__PURE__ */ makeMap(\n `accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap`\n);\nconst isKnownSvgAttr = /* @__PURE__ */ makeMap(\n `xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan`\n);\nconst isKnownMathMLAttr = /* @__PURE__ */ makeMap(\n `accent,accentunder,actiontype,align,alignmentscope,altimg,altimg-height,altimg-valign,altimg-width,alttext,bevelled,close,columnsalign,columnlines,columnspan,denomalign,depth,dir,display,displaystyle,encoding,equalcolumns,equalrows,fence,fontstyle,fontweight,form,frame,framespacing,groupalign,height,href,id,indentalign,indentalignfirst,indentalignlast,indentshift,indentshiftfirst,indentshiftlast,indextype,justify,largetop,largeop,lquote,lspace,mathbackground,mathcolor,mathsize,mathvariant,maxsize,minlabelspacing,mode,other,overflow,position,rowalign,rowlines,rowspan,rquote,rspace,scriptlevel,scriptminsize,scriptsizemultiplier,selection,separator,separators,shift,side,src,stackalign,stretchy,subscriptshift,superscriptshift,symmetric,voffset,width,widths,xlink:href,xlink:show,xlink:type,xmlns`\n);\nfunction isRenderableAttrValue(value) {\n if (value == null) {\n return false;\n }\n const type = typeof value;\n return type === \"string\" || type === \"number\" || type === \"boolean\";\n}\n\nconst escapeRE = /[\"'&<>]/;\nfunction escapeHtml(string) {\n const str = \"\" + string;\n const match = escapeRE.exec(str);\n if (!match) {\n return str;\n }\n let html = \"\";\n let escaped;\n let index;\n let lastIndex = 0;\n for (index = match.index; index < str.length; index++) {\n switch (str.charCodeAt(index)) {\n case 34:\n escaped = \""\";\n break;\n case 38:\n escaped = \"&\";\n break;\n case 39:\n escaped = \"'\";\n break;\n case 60:\n escaped = \"<\";\n break;\n case 62:\n escaped = \">\";\n break;\n default:\n continue;\n }\n if (lastIndex !== index) {\n html += str.slice(lastIndex, index);\n }\n lastIndex = index + 1;\n html += escaped;\n }\n return lastIndex !== index ? html + str.slice(lastIndex, index) : html;\n}\nconst commentStripRE = /^-?>||--!>|?@[\\\\\\]^`{|}~]/g;\nfunction getEscapedCssVarName(key, doubleEscape) {\n return key.replace(\n cssVarNameEscapeSymbolsRE,\n (s) => doubleEscape ? s === '\"' ? '\\\\\\\\\\\\\"' : `\\\\\\\\${s}` : `\\\\${s}`\n );\n}\n\nfunction looseCompareArrays(a, b) {\n if (a.length !== b.length) return false;\n let equal = true;\n for (let i = 0; equal && i < a.length; i++) {\n equal = looseEqual(a[i], b[i]);\n }\n return equal;\n}\nfunction looseEqual(a, b) {\n if (a === b) return true;\n let aValidType = isDate(a);\n let bValidType = isDate(b);\n if (aValidType || bValidType) {\n return aValidType && bValidType ? a.getTime() === b.getTime() : false;\n }\n aValidType = isSymbol(a);\n bValidType = isSymbol(b);\n if (aValidType || bValidType) {\n return a === b;\n }\n aValidType = isArray(a);\n bValidType = isArray(b);\n if (aValidType || bValidType) {\n return aValidType && bValidType ? looseCompareArrays(a, b) : false;\n }\n aValidType = isObject(a);\n bValidType = isObject(b);\n if (aValidType || bValidType) {\n if (!aValidType || !bValidType) {\n return false;\n }\n const aKeysCount = Object.keys(a).length;\n const bKeysCount = Object.keys(b).length;\n if (aKeysCount !== bKeysCount) {\n return false;\n }\n for (const key in a) {\n const aHasKey = a.hasOwnProperty(key);\n const bHasKey = b.hasOwnProperty(key);\n if (aHasKey && !bHasKey || !aHasKey && bHasKey || !looseEqual(a[key], b[key])) {\n return false;\n }\n }\n }\n return String(a) === String(b);\n}\nfunction looseIndexOf(arr, val) {\n return arr.findIndex((item) => looseEqual(item, val));\n}\n\nconst isRef = (val) => {\n return !!(val && val[\"__v_isRef\"] === true);\n};\nconst toDisplayString = (val) => {\n return isString(val) ? val : val == null ? \"\" : isArray(val) || isObject(val) && (val.toString === objectToString || !isFunction(val.toString)) ? isRef(val) ? toDisplayString(val.value) : JSON.stringify(val, replacer, 2) : String(val);\n};\nconst replacer = (_key, val) => {\n if (isRef(val)) {\n return replacer(_key, val.value);\n } else if (isMap(val)) {\n return {\n [`Map(${val.size})`]: [...val.entries()].reduce(\n (entries, [key, val2], i) => {\n entries[stringifySymbol(key, i) + \" =>\"] = val2;\n return entries;\n },\n {}\n )\n };\n } else if (isSet(val)) {\n return {\n [`Set(${val.size})`]: [...val.values()].map((v) => stringifySymbol(v))\n };\n } else if (isSymbol(val)) {\n return stringifySymbol(val);\n } else if (isObject(val) && !isArray(val) && !isPlainObject(val)) {\n return String(val);\n }\n return val;\n};\nconst stringifySymbol = (v, i = \"\") => {\n var _a;\n return (\n // Symbol.description in es2019+ so we need to cast here to pass\n // the lib: es2016 check\n isSymbol(v) ? `Symbol(${(_a = v.description) != null ? _a : i})` : v\n );\n};\n\nexport { EMPTY_ARR, EMPTY_OBJ, NO, NOOP, PatchFlagNames, PatchFlags, ShapeFlags, SlotFlags, camelize, capitalize, cssVarNameEscapeSymbolsRE, def, escapeHtml, escapeHtmlComment, extend, genCacheKey, genPropsAccessExp, generateCodeFrame, getEscapedCssVarName, getGlobalThis, hasChanged, hasOwn, hyphenate, includeBooleanAttr, invokeArrayFns, isArray, isBooleanAttr, isBuiltInDirective, isDate, isFunction, isGloballyAllowed, isGloballyWhitelisted, isHTMLTag, isIntegerKey, isKnownHtmlAttr, isKnownMathMLAttr, isKnownSvgAttr, isMap, isMathMLTag, isModelListener, isObject, isOn, isPlainObject, isPromise, isRegExp, isRenderableAttrValue, isReservedProp, isSSRSafeAttrName, isSVGTag, isSet, isSpecialBooleanAttr, isString, isSymbol, isVoidTag, looseEqual, looseIndexOf, looseToNumber, makeMap, normalizeClass, normalizeProps, normalizeStyle, objectToString, parseStringStyle, propsToAttrMap, remove, slotFlagsText, stringifyStyle, toDisplayString, toHandlerKey, toNumber, toRawType, toTypeString };\n","/**\n* @vue/reactivity v3.5.13\n* (c) 2018-present Yuxi (Evan) You and Vue contributors\n* @license MIT\n**/\nimport { hasChanged, extend, isArray, isIntegerKey, isSymbol, isMap, hasOwn, isObject, makeMap, toRawType, capitalize, def, isFunction, EMPTY_OBJ, isSet, isPlainObject, NOOP, remove } from '@vue/shared';\n\nfunction warn(msg, ...args) {\n console.warn(`[Vue warn] ${msg}`, ...args);\n}\n\nlet activeEffectScope;\nclass EffectScope {\n constructor(detached = false) {\n this.detached = detached;\n /**\n * @internal\n */\n this._active = true;\n /**\n * @internal\n */\n this.effects = [];\n /**\n * @internal\n */\n this.cleanups = [];\n this._isPaused = false;\n this.parent = activeEffectScope;\n if (!detached && activeEffectScope) {\n this.index = (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(\n this\n ) - 1;\n }\n }\n get active() {\n return this._active;\n }\n pause() {\n if (this._active) {\n this._isPaused = true;\n let i, l;\n if (this.scopes) {\n for (i = 0, l = this.scopes.length; i < l; i++) {\n this.scopes[i].pause();\n }\n }\n for (i = 0, l = this.effects.length; i < l; i++) {\n this.effects[i].pause();\n }\n }\n }\n /**\n * Resumes the effect scope, including all child scopes and effects.\n */\n resume() {\n if (this._active) {\n if (this._isPaused) {\n this._isPaused = false;\n let i, l;\n if (this.scopes) {\n for (i = 0, l = this.scopes.length; i < l; i++) {\n this.scopes[i].resume();\n }\n }\n for (i = 0, l = this.effects.length; i < l; i++) {\n this.effects[i].resume();\n }\n }\n }\n }\n run(fn) {\n if (this._active) {\n const currentEffectScope = activeEffectScope;\n try {\n activeEffectScope = this;\n return fn();\n } finally {\n activeEffectScope = currentEffectScope;\n }\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(`cannot run an inactive effect scope.`);\n }\n }\n /**\n * This should only be called on non-detached scopes\n * @internal\n */\n on() {\n activeEffectScope = this;\n }\n /**\n * This should only be called on non-detached scopes\n * @internal\n */\n off() {\n activeEffectScope = this.parent;\n }\n stop(fromParent) {\n if (this._active) {\n this._active = false;\n let i, l;\n for (i = 0, l = this.effects.length; i < l; i++) {\n this.effects[i].stop();\n }\n this.effects.length = 0;\n for (i = 0, l = this.cleanups.length; i < l; i++) {\n this.cleanups[i]();\n }\n this.cleanups.length = 0;\n if (this.scopes) {\n for (i = 0, l = this.scopes.length; i < l; i++) {\n this.scopes[i].stop(true);\n }\n this.scopes.length = 0;\n }\n if (!this.detached && this.parent && !fromParent) {\n const last = this.parent.scopes.pop();\n if (last && last !== this) {\n this.parent.scopes[this.index] = last;\n last.index = this.index;\n }\n }\n this.parent = void 0;\n }\n }\n}\nfunction effectScope(detached) {\n return new EffectScope(detached);\n}\nfunction getCurrentScope() {\n return activeEffectScope;\n}\nfunction onScopeDispose(fn, failSilently = false) {\n if (activeEffectScope) {\n activeEffectScope.cleanups.push(fn);\n } else if (!!(process.env.NODE_ENV !== \"production\") && !failSilently) {\n warn(\n `onScopeDispose() is called when there is no active effect scope to be associated with.`\n );\n }\n}\n\nlet activeSub;\nconst EffectFlags = {\n \"ACTIVE\": 1,\n \"1\": \"ACTIVE\",\n \"RUNNING\": 2,\n \"2\": \"RUNNING\",\n \"TRACKING\": 4,\n \"4\": \"TRACKING\",\n \"NOTIFIED\": 8,\n \"8\": \"NOTIFIED\",\n \"DIRTY\": 16,\n \"16\": \"DIRTY\",\n \"ALLOW_RECURSE\": 32,\n \"32\": \"ALLOW_RECURSE\",\n \"PAUSED\": 64,\n \"64\": \"PAUSED\"\n};\nconst pausedQueueEffects = /* @__PURE__ */ new WeakSet();\nclass ReactiveEffect {\n constructor(fn) {\n this.fn = fn;\n /**\n * @internal\n */\n this.deps = void 0;\n /**\n * @internal\n */\n this.depsTail = void 0;\n /**\n * @internal\n */\n this.flags = 1 | 4;\n /**\n * @internal\n */\n this.next = void 0;\n /**\n * @internal\n */\n this.cleanup = void 0;\n this.scheduler = void 0;\n if (activeEffectScope && activeEffectScope.active) {\n activeEffectScope.effects.push(this);\n }\n }\n pause() {\n this.flags |= 64;\n }\n resume() {\n if (this.flags & 64) {\n this.flags &= ~64;\n if (pausedQueueEffects.has(this)) {\n pausedQueueEffects.delete(this);\n this.trigger();\n }\n }\n }\n /**\n * @internal\n */\n notify() {\n if (this.flags & 2 && !(this.flags & 32)) {\n return;\n }\n if (!(this.flags & 8)) {\n batch(this);\n }\n }\n run() {\n if (!(this.flags & 1)) {\n return this.fn();\n }\n this.flags |= 2;\n cleanupEffect(this);\n prepareDeps(this);\n const prevEffect = activeSub;\n const prevShouldTrack = shouldTrack;\n activeSub = this;\n shouldTrack = true;\n try {\n return this.fn();\n } finally {\n if (!!(process.env.NODE_ENV !== \"production\") && activeSub !== this) {\n warn(\n \"Active effect was not restored correctly - this is likely a Vue internal bug.\"\n );\n }\n cleanupDeps(this);\n activeSub = prevEffect;\n shouldTrack = prevShouldTrack;\n this.flags &= ~2;\n }\n }\n stop() {\n if (this.flags & 1) {\n for (let link = this.deps; link; link = link.nextDep) {\n removeSub(link);\n }\n this.deps = this.depsTail = void 0;\n cleanupEffect(this);\n this.onStop && this.onStop();\n this.flags &= ~1;\n }\n }\n trigger() {\n if (this.flags & 64) {\n pausedQueueEffects.add(this);\n } else if (this.scheduler) {\n this.scheduler();\n } else {\n this.runIfDirty();\n }\n }\n /**\n * @internal\n */\n runIfDirty() {\n if (isDirty(this)) {\n this.run();\n }\n }\n get dirty() {\n return isDirty(this);\n }\n}\nlet batchDepth = 0;\nlet batchedSub;\nlet batchedComputed;\nfunction batch(sub, isComputed = false) {\n sub.flags |= 8;\n if (isComputed) {\n sub.next = batchedComputed;\n batchedComputed = sub;\n return;\n }\n sub.next = batchedSub;\n batchedSub = sub;\n}\nfunction startBatch() {\n batchDepth++;\n}\nfunction endBatch() {\n if (--batchDepth > 0) {\n return;\n }\n if (batchedComputed) {\n let e = batchedComputed;\n batchedComputed = void 0;\n while (e) {\n const next = e.next;\n e.next = void 0;\n e.flags &= ~8;\n e = next;\n }\n }\n let error;\n while (batchedSub) {\n let e = batchedSub;\n batchedSub = void 0;\n while (e) {\n const next = e.next;\n e.next = void 0;\n e.flags &= ~8;\n if (e.flags & 1) {\n try {\n ;\n e.trigger();\n } catch (err) {\n if (!error) error = err;\n }\n }\n e = next;\n }\n }\n if (error) throw error;\n}\nfunction prepareDeps(sub) {\n for (let link = sub.deps; link; link = link.nextDep) {\n link.version = -1;\n link.prevActiveLink = link.dep.activeLink;\n link.dep.activeLink = link;\n }\n}\nfunction cleanupDeps(sub) {\n let head;\n let tail = sub.depsTail;\n let link = tail;\n while (link) {\n const prev = link.prevDep;\n if (link.version === -1) {\n if (link === tail) tail = prev;\n removeSub(link);\n removeDep(link);\n } else {\n head = link;\n }\n link.dep.activeLink = link.prevActiveLink;\n link.prevActiveLink = void 0;\n link = prev;\n }\n sub.deps = head;\n sub.depsTail = tail;\n}\nfunction isDirty(sub) {\n for (let link = sub.deps; link; link = link.nextDep) {\n if (link.dep.version !== link.version || link.dep.computed && (refreshComputed(link.dep.computed) || link.dep.version !== link.version)) {\n return true;\n }\n }\n if (sub._dirty) {\n return true;\n }\n return false;\n}\nfunction refreshComputed(computed) {\n if (computed.flags & 4 && !(computed.flags & 16)) {\n return;\n }\n computed.flags &= ~16;\n if (computed.globalVersion === globalVersion) {\n return;\n }\n computed.globalVersion = globalVersion;\n const dep = computed.dep;\n computed.flags |= 2;\n if (dep.version > 0 && !computed.isSSR && computed.deps && !isDirty(computed)) {\n computed.flags &= ~2;\n return;\n }\n const prevSub = activeSub;\n const prevShouldTrack = shouldTrack;\n activeSub = computed;\n shouldTrack = true;\n try {\n prepareDeps(computed);\n const value = computed.fn(computed._value);\n if (dep.version === 0 || hasChanged(value, computed._value)) {\n computed._value = value;\n dep.version++;\n }\n } catch (err) {\n dep.version++;\n throw err;\n } finally {\n activeSub = prevSub;\n shouldTrack = prevShouldTrack;\n cleanupDeps(computed);\n computed.flags &= ~2;\n }\n}\nfunction removeSub(link, soft = false) {\n const { dep, prevSub, nextSub } = link;\n if (prevSub) {\n prevSub.nextSub = nextSub;\n link.prevSub = void 0;\n }\n if (nextSub) {\n nextSub.prevSub = prevSub;\n link.nextSub = void 0;\n }\n if (!!(process.env.NODE_ENV !== \"production\") && dep.subsHead === link) {\n dep.subsHead = nextSub;\n }\n if (dep.subs === link) {\n dep.subs = prevSub;\n if (!prevSub && dep.computed) {\n dep.computed.flags &= ~4;\n for (let l = dep.computed.deps; l; l = l.nextDep) {\n removeSub(l, true);\n }\n }\n }\n if (!soft && !--dep.sc && dep.map) {\n dep.map.delete(dep.key);\n }\n}\nfunction removeDep(link) {\n const { prevDep, nextDep } = link;\n if (prevDep) {\n prevDep.nextDep = nextDep;\n link.prevDep = void 0;\n }\n if (nextDep) {\n nextDep.prevDep = prevDep;\n link.nextDep = void 0;\n }\n}\nfunction effect(fn, options) {\n if (fn.effect instanceof ReactiveEffect) {\n fn = fn.effect.fn;\n }\n const e = new ReactiveEffect(fn);\n if (options) {\n extend(e, options);\n }\n try {\n e.run();\n } catch (err) {\n e.stop();\n throw err;\n }\n const runner = e.run.bind(e);\n runner.effect = e;\n return runner;\n}\nfunction stop(runner) {\n runner.effect.stop();\n}\nlet shouldTrack = true;\nconst trackStack = [];\nfunction pauseTracking() {\n trackStack.push(shouldTrack);\n shouldTrack = false;\n}\nfunction enableTracking() {\n trackStack.push(shouldTrack);\n shouldTrack = true;\n}\nfunction resetTracking() {\n const last = trackStack.pop();\n shouldTrack = last === void 0 ? true : last;\n}\nfunction onEffectCleanup(fn, failSilently = false) {\n if (activeSub instanceof ReactiveEffect) {\n activeSub.cleanup = fn;\n } else if (!!(process.env.NODE_ENV !== \"production\") && !failSilently) {\n warn(\n `onEffectCleanup() was called when there was no active effect to associate with.`\n );\n }\n}\nfunction cleanupEffect(e) {\n const { cleanup } = e;\n e.cleanup = void 0;\n if (cleanup) {\n const prevSub = activeSub;\n activeSub = void 0;\n try {\n cleanup();\n } finally {\n activeSub = prevSub;\n }\n }\n}\n\nlet globalVersion = 0;\nclass Link {\n constructor(sub, dep) {\n this.sub = sub;\n this.dep = dep;\n this.version = dep.version;\n this.nextDep = this.prevDep = this.nextSub = this.prevSub = this.prevActiveLink = void 0;\n }\n}\nclass Dep {\n constructor(computed) {\n this.computed = computed;\n this.version = 0;\n /**\n * Link between this dep and the current active effect\n */\n this.activeLink = void 0;\n /**\n * Doubly linked list representing the subscribing effects (tail)\n */\n this.subs = void 0;\n /**\n * For object property deps cleanup\n */\n this.map = void 0;\n this.key = void 0;\n /**\n * Subscriber counter\n */\n this.sc = 0;\n if (!!(process.env.NODE_ENV !== \"production\")) {\n this.subsHead = void 0;\n }\n }\n track(debugInfo) {\n if (!activeSub || !shouldTrack || activeSub === this.computed) {\n return;\n }\n let link = this.activeLink;\n if (link === void 0 || link.sub !== activeSub) {\n link = this.activeLink = new Link(activeSub, this);\n if (!activeSub.deps) {\n activeSub.deps = activeSub.depsTail = link;\n } else {\n link.prevDep = activeSub.depsTail;\n activeSub.depsTail.nextDep = link;\n activeSub.depsTail = link;\n }\n addSub(link);\n } else if (link.version === -1) {\n link.version = this.version;\n if (link.nextDep) {\n const next = link.nextDep;\n next.prevDep = link.prevDep;\n if (link.prevDep) {\n link.prevDep.nextDep = next;\n }\n link.prevDep = activeSub.depsTail;\n link.nextDep = void 0;\n activeSub.depsTail.nextDep = link;\n activeSub.depsTail = link;\n if (activeSub.deps === link) {\n activeSub.deps = next;\n }\n }\n }\n if (!!(process.env.NODE_ENV !== \"production\") && activeSub.onTrack) {\n activeSub.onTrack(\n extend(\n {\n effect: activeSub\n },\n debugInfo\n )\n );\n }\n return link;\n }\n trigger(debugInfo) {\n this.version++;\n globalVersion++;\n this.notify(debugInfo);\n }\n notify(debugInfo) {\n startBatch();\n try {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n for (let head = this.subsHead; head; head = head.nextSub) {\n if (head.sub.onTrigger && !(head.sub.flags & 8)) {\n head.sub.onTrigger(\n extend(\n {\n effect: head.sub\n },\n debugInfo\n )\n );\n }\n }\n }\n for (let link = this.subs; link; link = link.prevSub) {\n if (link.sub.notify()) {\n ;\n link.sub.dep.notify();\n }\n }\n } finally {\n endBatch();\n }\n }\n}\nfunction addSub(link) {\n link.dep.sc++;\n if (link.sub.flags & 4) {\n const computed = link.dep.computed;\n if (computed && !link.dep.subs) {\n computed.flags |= 4 | 16;\n for (let l = computed.deps; l; l = l.nextDep) {\n addSub(l);\n }\n }\n const currentTail = link.dep.subs;\n if (currentTail !== link) {\n link.prevSub = currentTail;\n if (currentTail) currentTail.nextSub = link;\n }\n if (!!(process.env.NODE_ENV !== \"production\") && link.dep.subsHead === void 0) {\n link.dep.subsHead = link;\n }\n link.dep.subs = link;\n }\n}\nconst targetMap = /* @__PURE__ */ new WeakMap();\nconst ITERATE_KEY = Symbol(\n !!(process.env.NODE_ENV !== \"production\") ? \"Object iterate\" : \"\"\n);\nconst MAP_KEY_ITERATE_KEY = Symbol(\n !!(process.env.NODE_ENV !== \"production\") ? \"Map keys iterate\" : \"\"\n);\nconst ARRAY_ITERATE_KEY = Symbol(\n !!(process.env.NODE_ENV !== \"production\") ? \"Array iterate\" : \"\"\n);\nfunction track(target, type, key) {\n if (shouldTrack && activeSub) {\n let depsMap = targetMap.get(target);\n if (!depsMap) {\n targetMap.set(target, depsMap = /* @__PURE__ */ new Map());\n }\n let dep = depsMap.get(key);\n if (!dep) {\n depsMap.set(key, dep = new Dep());\n dep.map = depsMap;\n dep.key = key;\n }\n if (!!(process.env.NODE_ENV !== \"production\")) {\n dep.track({\n target,\n type,\n key\n });\n } else {\n dep.track();\n }\n }\n}\nfunction trigger(target, type, key, newValue, oldValue, oldTarget) {\n const depsMap = targetMap.get(target);\n if (!depsMap) {\n globalVersion++;\n return;\n }\n const run = (dep) => {\n if (dep) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n dep.trigger({\n target,\n type,\n key,\n newValue,\n oldValue,\n oldTarget\n });\n } else {\n dep.trigger();\n }\n }\n };\n startBatch();\n if (type === \"clear\") {\n depsMap.forEach(run);\n } else {\n const targetIsArray = isArray(target);\n const isArrayIndex = targetIsArray && isIntegerKey(key);\n if (targetIsArray && key === \"length\") {\n const newLength = Number(newValue);\n depsMap.forEach((dep, key2) => {\n if (key2 === \"length\" || key2 === ARRAY_ITERATE_KEY || !isSymbol(key2) && key2 >= newLength) {\n run(dep);\n }\n });\n } else {\n if (key !== void 0 || depsMap.has(void 0)) {\n run(depsMap.get(key));\n }\n if (isArrayIndex) {\n run(depsMap.get(ARRAY_ITERATE_KEY));\n }\n switch (type) {\n case \"add\":\n if (!targetIsArray) {\n run(depsMap.get(ITERATE_KEY));\n if (isMap(target)) {\n run(depsMap.get(MAP_KEY_ITERATE_KEY));\n }\n } else if (isArrayIndex) {\n run(depsMap.get(\"length\"));\n }\n break;\n case \"delete\":\n if (!targetIsArray) {\n run(depsMap.get(ITERATE_KEY));\n if (isMap(target)) {\n run(depsMap.get(MAP_KEY_ITERATE_KEY));\n }\n }\n break;\n case \"set\":\n if (isMap(target)) {\n run(depsMap.get(ITERATE_KEY));\n }\n break;\n }\n }\n }\n endBatch();\n}\nfunction getDepFromReactive(object, key) {\n const depMap = targetMap.get(object);\n return depMap && depMap.get(key);\n}\n\nfunction reactiveReadArray(array) {\n const raw = toRaw(array);\n if (raw === array) return raw;\n track(raw, \"iterate\", ARRAY_ITERATE_KEY);\n return isShallow(array) ? raw : raw.map(toReactive);\n}\nfunction shallowReadArray(arr) {\n track(arr = toRaw(arr), \"iterate\", ARRAY_ITERATE_KEY);\n return arr;\n}\nconst arrayInstrumentations = {\n __proto__: null,\n [Symbol.iterator]() {\n return iterator(this, Symbol.iterator, toReactive);\n },\n concat(...args) {\n return reactiveReadArray(this).concat(\n ...args.map((x) => isArray(x) ? reactiveReadArray(x) : x)\n );\n },\n entries() {\n return iterator(this, \"entries\", (value) => {\n value[1] = toReactive(value[1]);\n return value;\n });\n },\n every(fn, thisArg) {\n return apply(this, \"every\", fn, thisArg, void 0, arguments);\n },\n filter(fn, thisArg) {\n return apply(this, \"filter\", fn, thisArg, (v) => v.map(toReactive), arguments);\n },\n find(fn, thisArg) {\n return apply(this, \"find\", fn, thisArg, toReactive, arguments);\n },\n findIndex(fn, thisArg) {\n return apply(this, \"findIndex\", fn, thisArg, void 0, arguments);\n },\n findLast(fn, thisArg) {\n return apply(this, \"findLast\", fn, thisArg, toReactive, arguments);\n },\n findLastIndex(fn, thisArg) {\n return apply(this, \"findLastIndex\", fn, thisArg, void 0, arguments);\n },\n // flat, flatMap could benefit from ARRAY_ITERATE but are not straight-forward to implement\n forEach(fn, thisArg) {\n return apply(this, \"forEach\", fn, thisArg, void 0, arguments);\n },\n includes(...args) {\n return searchProxy(this, \"includes\", args);\n },\n indexOf(...args) {\n return searchProxy(this, \"indexOf\", args);\n },\n join(separator) {\n return reactiveReadArray(this).join(separator);\n },\n // keys() iterator only reads `length`, no optimisation required\n lastIndexOf(...args) {\n return searchProxy(this, \"lastIndexOf\", args);\n },\n map(fn, thisArg) {\n return apply(this, \"map\", fn, thisArg, void 0, arguments);\n },\n pop() {\n return noTracking(this, \"pop\");\n },\n push(...args) {\n return noTracking(this, \"push\", args);\n },\n reduce(fn, ...args) {\n return reduce(this, \"reduce\", fn, args);\n },\n reduceRight(fn, ...args) {\n return reduce(this, \"reduceRight\", fn, args);\n },\n shift() {\n return noTracking(this, \"shift\");\n },\n // slice could use ARRAY_ITERATE but also seems to beg for range tracking\n some(fn, thisArg) {\n return apply(this, \"some\", fn, thisArg, void 0, arguments);\n },\n splice(...args) {\n return noTracking(this, \"splice\", args);\n },\n toReversed() {\n return reactiveReadArray(this).toReversed();\n },\n toSorted(comparer) {\n return reactiveReadArray(this).toSorted(comparer);\n },\n toSpliced(...args) {\n return reactiveReadArray(this).toSpliced(...args);\n },\n unshift(...args) {\n return noTracking(this, \"unshift\", args);\n },\n values() {\n return iterator(this, \"values\", toReactive);\n }\n};\nfunction iterator(self, method, wrapValue) {\n const arr = shallowReadArray(self);\n const iter = arr[method]();\n if (arr !== self && !isShallow(self)) {\n iter._next = iter.next;\n iter.next = () => {\n const result = iter._next();\n if (result.value) {\n result.value = wrapValue(result.value);\n }\n return result;\n };\n }\n return iter;\n}\nconst arrayProto = Array.prototype;\nfunction apply(self, method, fn, thisArg, wrappedRetFn, args) {\n const arr = shallowReadArray(self);\n const needsWrap = arr !== self && !isShallow(self);\n const methodFn = arr[method];\n if (methodFn !== arrayProto[method]) {\n const result2 = methodFn.apply(self, args);\n return needsWrap ? toReactive(result2) : result2;\n }\n let wrappedFn = fn;\n if (arr !== self) {\n if (needsWrap) {\n wrappedFn = function(item, index) {\n return fn.call(this, toReactive(item), index, self);\n };\n } else if (fn.length > 2) {\n wrappedFn = function(item, index) {\n return fn.call(this, item, index, self);\n };\n }\n }\n const result = methodFn.call(arr, wrappedFn, thisArg);\n return needsWrap && wrappedRetFn ? wrappedRetFn(result) : result;\n}\nfunction reduce(self, method, fn, args) {\n const arr = shallowReadArray(self);\n let wrappedFn = fn;\n if (arr !== self) {\n if (!isShallow(self)) {\n wrappedFn = function(acc, item, index) {\n return fn.call(this, acc, toReactive(item), index, self);\n };\n } else if (fn.length > 3) {\n wrappedFn = function(acc, item, index) {\n return fn.call(this, acc, item, index, self);\n };\n }\n }\n return arr[method](wrappedFn, ...args);\n}\nfunction searchProxy(self, method, args) {\n const arr = toRaw(self);\n track(arr, \"iterate\", ARRAY_ITERATE_KEY);\n const res = arr[method](...args);\n if ((res === -1 || res === false) && isProxy(args[0])) {\n args[0] = toRaw(args[0]);\n return arr[method](...args);\n }\n return res;\n}\nfunction noTracking(self, method, args = []) {\n pauseTracking();\n startBatch();\n const res = toRaw(self)[method].apply(self, args);\n endBatch();\n resetTracking();\n return res;\n}\n\nconst isNonTrackableKeys = /* @__PURE__ */ makeMap(`__proto__,__v_isRef,__isVue`);\nconst builtInSymbols = new Set(\n /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((key) => key !== \"arguments\" && key !== \"caller\").map((key) => Symbol[key]).filter(isSymbol)\n);\nfunction hasOwnProperty(key) {\n if (!isSymbol(key)) key = String(key);\n const obj = toRaw(this);\n track(obj, \"has\", key);\n return obj.hasOwnProperty(key);\n}\nclass BaseReactiveHandler {\n constructor(_isReadonly = false, _isShallow = false) {\n this._isReadonly = _isReadonly;\n this._isShallow = _isShallow;\n }\n get(target, key, receiver) {\n if (key === \"__v_skip\") return target[\"__v_skip\"];\n const isReadonly2 = this._isReadonly, isShallow2 = this._isShallow;\n if (key === \"__v_isReactive\") {\n return !isReadonly2;\n } else if (key === \"__v_isReadonly\") {\n return isReadonly2;\n } else if (key === \"__v_isShallow\") {\n return isShallow2;\n } else if (key === \"__v_raw\") {\n if (receiver === (isReadonly2 ? isShallow2 ? shallowReadonlyMap : readonlyMap : isShallow2 ? shallowReactiveMap : reactiveMap).get(target) || // receiver is not the reactive proxy, but has the same prototype\n // this means the receiver is a user proxy of the reactive proxy\n Object.getPrototypeOf(target) === Object.getPrototypeOf(receiver)) {\n return target;\n }\n return;\n }\n const targetIsArray = isArray(target);\n if (!isReadonly2) {\n let fn;\n if (targetIsArray && (fn = arrayInstrumentations[key])) {\n return fn;\n }\n if (key === \"hasOwnProperty\") {\n return hasOwnProperty;\n }\n }\n const res = Reflect.get(\n target,\n key,\n // if this is a proxy wrapping a ref, return methods using the raw ref\n // as receiver so that we don't have to call `toRaw` on the ref in all\n // its class methods\n isRef(target) ? target : receiver\n );\n if (isSymbol(key) ? builtInSymbols.has(key) : isNonTrackableKeys(key)) {\n return res;\n }\n if (!isReadonly2) {\n track(target, \"get\", key);\n }\n if (isShallow2) {\n return res;\n }\n if (isRef(res)) {\n return targetIsArray && isIntegerKey(key) ? res : res.value;\n }\n if (isObject(res)) {\n return isReadonly2 ? readonly(res) : reactive(res);\n }\n return res;\n }\n}\nclass MutableReactiveHandler extends BaseReactiveHandler {\n constructor(isShallow2 = false) {\n super(false, isShallow2);\n }\n set(target, key, value, receiver) {\n let oldValue = target[key];\n if (!this._isShallow) {\n const isOldValueReadonly = isReadonly(oldValue);\n if (!isShallow(value) && !isReadonly(value)) {\n oldValue = toRaw(oldValue);\n value = toRaw(value);\n }\n if (!isArray(target) && isRef(oldValue) && !isRef(value)) {\n if (isOldValueReadonly) {\n return false;\n } else {\n oldValue.value = value;\n return true;\n }\n }\n }\n const hadKey = isArray(target) && isIntegerKey(key) ? Number(key) < target.length : hasOwn(target, key);\n const result = Reflect.set(\n target,\n key,\n value,\n isRef(target) ? target : receiver\n );\n if (target === toRaw(receiver)) {\n if (!hadKey) {\n trigger(target, \"add\", key, value);\n } else if (hasChanged(value, oldValue)) {\n trigger(target, \"set\", key, value, oldValue);\n }\n }\n return result;\n }\n deleteProperty(target, key) {\n const hadKey = hasOwn(target, key);\n const oldValue = target[key];\n const result = Reflect.deleteProperty(target, key);\n if (result && hadKey) {\n trigger(target, \"delete\", key, void 0, oldValue);\n }\n return result;\n }\n has(target, key) {\n const result = Reflect.has(target, key);\n if (!isSymbol(key) || !builtInSymbols.has(key)) {\n track(target, \"has\", key);\n }\n return result;\n }\n ownKeys(target) {\n track(\n target,\n \"iterate\",\n isArray(target) ? \"length\" : ITERATE_KEY\n );\n return Reflect.ownKeys(target);\n }\n}\nclass ReadonlyReactiveHandler extends BaseReactiveHandler {\n constructor(isShallow2 = false) {\n super(true, isShallow2);\n }\n set(target, key) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(\n `Set operation on key \"${String(key)}\" failed: target is readonly.`,\n target\n );\n }\n return true;\n }\n deleteProperty(target, key) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(\n `Delete operation on key \"${String(key)}\" failed: target is readonly.`,\n target\n );\n }\n return true;\n }\n}\nconst mutableHandlers = /* @__PURE__ */ new MutableReactiveHandler();\nconst readonlyHandlers = /* @__PURE__ */ new ReadonlyReactiveHandler();\nconst shallowReactiveHandlers = /* @__PURE__ */ new MutableReactiveHandler(true);\nconst shallowReadonlyHandlers = /* @__PURE__ */ new ReadonlyReactiveHandler(true);\n\nconst toShallow = (value) => value;\nconst getProto = (v) => Reflect.getPrototypeOf(v);\nfunction createIterableMethod(method, isReadonly2, isShallow2) {\n return function(...args) {\n const target = this[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const targetIsMap = isMap(rawTarget);\n const isPair = method === \"entries\" || method === Symbol.iterator && targetIsMap;\n const isKeyOnly = method === \"keys\" && targetIsMap;\n const innerIterator = target[method](...args);\n const wrap = isShallow2 ? toShallow : isReadonly2 ? toReadonly : toReactive;\n !isReadonly2 && track(\n rawTarget,\n \"iterate\",\n isKeyOnly ? MAP_KEY_ITERATE_KEY : ITERATE_KEY\n );\n return {\n // iterator protocol\n next() {\n const { value, done } = innerIterator.next();\n return done ? { value, done } : {\n value: isPair ? [wrap(value[0]), wrap(value[1])] : wrap(value),\n done\n };\n },\n // iterable protocol\n [Symbol.iterator]() {\n return this;\n }\n };\n };\n}\nfunction createReadonlyMethod(type) {\n return function(...args) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n const key = args[0] ? `on key \"${args[0]}\" ` : ``;\n warn(\n `${capitalize(type)} operation ${key}failed: target is readonly.`,\n toRaw(this)\n );\n }\n return type === \"delete\" ? false : type === \"clear\" ? void 0 : this;\n };\n}\nfunction createInstrumentations(readonly, shallow) {\n const instrumentations = {\n get(key) {\n const target = this[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const rawKey = toRaw(key);\n if (!readonly) {\n if (hasChanged(key, rawKey)) {\n track(rawTarget, \"get\", key);\n }\n track(rawTarget, \"get\", rawKey);\n }\n const { has } = getProto(rawTarget);\n const wrap = shallow ? toShallow : readonly ? toReadonly : toReactive;\n if (has.call(rawTarget, key)) {\n return wrap(target.get(key));\n } else if (has.call(rawTarget, rawKey)) {\n return wrap(target.get(rawKey));\n } else if (target !== rawTarget) {\n target.get(key);\n }\n },\n get size() {\n const target = this[\"__v_raw\"];\n !readonly && track(toRaw(target), \"iterate\", ITERATE_KEY);\n return Reflect.get(target, \"size\", target);\n },\n has(key) {\n const target = this[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const rawKey = toRaw(key);\n if (!readonly) {\n if (hasChanged(key, rawKey)) {\n track(rawTarget, \"has\", key);\n }\n track(rawTarget, \"has\", rawKey);\n }\n return key === rawKey ? target.has(key) : target.has(key) || target.has(rawKey);\n },\n forEach(callback, thisArg) {\n const observed = this;\n const target = observed[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const wrap = shallow ? toShallow : readonly ? toReadonly : toReactive;\n !readonly && track(rawTarget, \"iterate\", ITERATE_KEY);\n return target.forEach((value, key) => {\n return callback.call(thisArg, wrap(value), wrap(key), observed);\n });\n }\n };\n extend(\n instrumentations,\n readonly ? {\n add: createReadonlyMethod(\"add\"),\n set: createReadonlyMethod(\"set\"),\n delete: createReadonlyMethod(\"delete\"),\n clear: createReadonlyMethod(\"clear\")\n } : {\n add(value) {\n if (!shallow && !isShallow(value) && !isReadonly(value)) {\n value = toRaw(value);\n }\n const target = toRaw(this);\n const proto = getProto(target);\n const hadKey = proto.has.call(target, value);\n if (!hadKey) {\n target.add(value);\n trigger(target, \"add\", value, value);\n }\n return this;\n },\n set(key, value) {\n if (!shallow && !isShallow(value) && !isReadonly(value)) {\n value = toRaw(value);\n }\n const target = toRaw(this);\n const { has, get } = getProto(target);\n let hadKey = has.call(target, key);\n if (!hadKey) {\n key = toRaw(key);\n hadKey = has.call(target, key);\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n checkIdentityKeys(target, has, key);\n }\n const oldValue = get.call(target, key);\n target.set(key, value);\n if (!hadKey) {\n trigger(target, \"add\", key, value);\n } else if (hasChanged(value, oldValue)) {\n trigger(target, \"set\", key, value, oldValue);\n }\n return this;\n },\n delete(key) {\n const target = toRaw(this);\n const { has, get } = getProto(target);\n let hadKey = has.call(target, key);\n if (!hadKey) {\n key = toRaw(key);\n hadKey = has.call(target, key);\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n checkIdentityKeys(target, has, key);\n }\n const oldValue = get ? get.call(target, key) : void 0;\n const result = target.delete(key);\n if (hadKey) {\n trigger(target, \"delete\", key, void 0, oldValue);\n }\n return result;\n },\n clear() {\n const target = toRaw(this);\n const hadItems = target.size !== 0;\n const oldTarget = !!(process.env.NODE_ENV !== \"production\") ? isMap(target) ? new Map(target) : new Set(target) : void 0;\n const result = target.clear();\n if (hadItems) {\n trigger(\n target,\n \"clear\",\n void 0,\n void 0,\n oldTarget\n );\n }\n return result;\n }\n }\n );\n const iteratorMethods = [\n \"keys\",\n \"values\",\n \"entries\",\n Symbol.iterator\n ];\n iteratorMethods.forEach((method) => {\n instrumentations[method] = createIterableMethod(method, readonly, shallow);\n });\n return instrumentations;\n}\nfunction createInstrumentationGetter(isReadonly2, shallow) {\n const instrumentations = createInstrumentations(isReadonly2, shallow);\n return (target, key, receiver) => {\n if (key === \"__v_isReactive\") {\n return !isReadonly2;\n } else if (key === \"__v_isReadonly\") {\n return isReadonly2;\n } else if (key === \"__v_raw\") {\n return target;\n }\n return Reflect.get(\n hasOwn(instrumentations, key) && key in target ? instrumentations : target,\n key,\n receiver\n );\n };\n}\nconst mutableCollectionHandlers = {\n get: /* @__PURE__ */ createInstrumentationGetter(false, false)\n};\nconst shallowCollectionHandlers = {\n get: /* @__PURE__ */ createInstrumentationGetter(false, true)\n};\nconst readonlyCollectionHandlers = {\n get: /* @__PURE__ */ createInstrumentationGetter(true, false)\n};\nconst shallowReadonlyCollectionHandlers = {\n get: /* @__PURE__ */ createInstrumentationGetter(true, true)\n};\nfunction checkIdentityKeys(target, has, key) {\n const rawKey = toRaw(key);\n if (rawKey !== key && has.call(target, rawKey)) {\n const type = toRawType(target);\n warn(\n `Reactive ${type} contains both the raw and reactive versions of the same object${type === `Map` ? ` as keys` : ``}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`\n );\n }\n}\n\nconst reactiveMap = /* @__PURE__ */ new WeakMap();\nconst shallowReactiveMap = /* @__PURE__ */ new WeakMap();\nconst readonlyMap = /* @__PURE__ */ new WeakMap();\nconst shallowReadonlyMap = /* @__PURE__ */ new WeakMap();\nfunction targetTypeMap(rawType) {\n switch (rawType) {\n case \"Object\":\n case \"Array\":\n return 1 /* COMMON */;\n case \"Map\":\n case \"Set\":\n case \"WeakMap\":\n case \"WeakSet\":\n return 2 /* COLLECTION */;\n default:\n return 0 /* INVALID */;\n }\n}\nfunction getTargetType(value) {\n return value[\"__v_skip\"] || !Object.isExtensible(value) ? 0 /* INVALID */ : targetTypeMap(toRawType(value));\n}\nfunction reactive(target) {\n if (isReadonly(target)) {\n return target;\n }\n return createReactiveObject(\n target,\n false,\n mutableHandlers,\n mutableCollectionHandlers,\n reactiveMap\n );\n}\nfunction shallowReactive(target) {\n return createReactiveObject(\n target,\n false,\n shallowReactiveHandlers,\n shallowCollectionHandlers,\n shallowReactiveMap\n );\n}\nfunction readonly(target) {\n return createReactiveObject(\n target,\n true,\n readonlyHandlers,\n readonlyCollectionHandlers,\n readonlyMap\n );\n}\nfunction shallowReadonly(target) {\n return createReactiveObject(\n target,\n true,\n shallowReadonlyHandlers,\n shallowReadonlyCollectionHandlers,\n shallowReadonlyMap\n );\n}\nfunction createReactiveObject(target, isReadonly2, baseHandlers, collectionHandlers, proxyMap) {\n if (!isObject(target)) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(\n `value cannot be made ${isReadonly2 ? \"readonly\" : \"reactive\"}: ${String(\n target\n )}`\n );\n }\n return target;\n }\n if (target[\"__v_raw\"] && !(isReadonly2 && target[\"__v_isReactive\"])) {\n return target;\n }\n const existingProxy = proxyMap.get(target);\n if (existingProxy) {\n return existingProxy;\n }\n const targetType = getTargetType(target);\n if (targetType === 0 /* INVALID */) {\n return target;\n }\n const proxy = new Proxy(\n target,\n targetType === 2 /* COLLECTION */ ? collectionHandlers : baseHandlers\n );\n proxyMap.set(target, proxy);\n return proxy;\n}\nfunction isReactive(value) {\n if (isReadonly(value)) {\n return isReactive(value[\"__v_raw\"]);\n }\n return !!(value && value[\"__v_isReactive\"]);\n}\nfunction isReadonly(value) {\n return !!(value && value[\"__v_isReadonly\"]);\n}\nfunction isShallow(value) {\n return !!(value && value[\"__v_isShallow\"]);\n}\nfunction isProxy(value) {\n return value ? !!value[\"__v_raw\"] : false;\n}\nfunction toRaw(observed) {\n const raw = observed && observed[\"__v_raw\"];\n return raw ? toRaw(raw) : observed;\n}\nfunction markRaw(value) {\n if (!hasOwn(value, \"__v_skip\") && Object.isExtensible(value)) {\n def(value, \"__v_skip\", true);\n }\n return value;\n}\nconst toReactive = (value) => isObject(value) ? reactive(value) : value;\nconst toReadonly = (value) => isObject(value) ? readonly(value) : value;\n\nfunction isRef(r) {\n return r ? r[\"__v_isRef\"] === true : false;\n}\nfunction ref(value) {\n return createRef(value, false);\n}\nfunction shallowRef(value) {\n return createRef(value, true);\n}\nfunction createRef(rawValue, shallow) {\n if (isRef(rawValue)) {\n return rawValue;\n }\n return new RefImpl(rawValue, shallow);\n}\nclass RefImpl {\n constructor(value, isShallow2) {\n this.dep = new Dep();\n this[\"__v_isRef\"] = true;\n this[\"__v_isShallow\"] = false;\n this._rawValue = isShallow2 ? value : toRaw(value);\n this._value = isShallow2 ? value : toReactive(value);\n this[\"__v_isShallow\"] = isShallow2;\n }\n get value() {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n this.dep.track({\n target: this,\n type: \"get\",\n key: \"value\"\n });\n } else {\n this.dep.track();\n }\n return this._value;\n }\n set value(newValue) {\n const oldValue = this._rawValue;\n const useDirectValue = this[\"__v_isShallow\"] || isShallow(newValue) || isReadonly(newValue);\n newValue = useDirectValue ? newValue : toRaw(newValue);\n if (hasChanged(newValue, oldValue)) {\n this._rawValue = newValue;\n this._value = useDirectValue ? newValue : toReactive(newValue);\n if (!!(process.env.NODE_ENV !== \"production\")) {\n this.dep.trigger({\n target: this,\n type: \"set\",\n key: \"value\",\n newValue,\n oldValue\n });\n } else {\n this.dep.trigger();\n }\n }\n }\n}\nfunction triggerRef(ref2) {\n if (ref2.dep) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n ref2.dep.trigger({\n target: ref2,\n type: \"set\",\n key: \"value\",\n newValue: ref2._value\n });\n } else {\n ref2.dep.trigger();\n }\n }\n}\nfunction unref(ref2) {\n return isRef(ref2) ? ref2.value : ref2;\n}\nfunction toValue(source) {\n return isFunction(source) ? source() : unref(source);\n}\nconst shallowUnwrapHandlers = {\n get: (target, key, receiver) => key === \"__v_raw\" ? target : unref(Reflect.get(target, key, receiver)),\n set: (target, key, value, receiver) => {\n const oldValue = target[key];\n if (isRef(oldValue) && !isRef(value)) {\n oldValue.value = value;\n return true;\n } else {\n return Reflect.set(target, key, value, receiver);\n }\n }\n};\nfunction proxyRefs(objectWithRefs) {\n return isReactive(objectWithRefs) ? objectWithRefs : new Proxy(objectWithRefs, shallowUnwrapHandlers);\n}\nclass CustomRefImpl {\n constructor(factory) {\n this[\"__v_isRef\"] = true;\n this._value = void 0;\n const dep = this.dep = new Dep();\n const { get, set } = factory(dep.track.bind(dep), dep.trigger.bind(dep));\n this._get = get;\n this._set = set;\n }\n get value() {\n return this._value = this._get();\n }\n set value(newVal) {\n this._set(newVal);\n }\n}\nfunction customRef(factory) {\n return new CustomRefImpl(factory);\n}\nfunction toRefs(object) {\n if (!!(process.env.NODE_ENV !== \"production\") && !isProxy(object)) {\n warn(`toRefs() expects a reactive object but received a plain one.`);\n }\n const ret = isArray(object) ? new Array(object.length) : {};\n for (const key in object) {\n ret[key] = propertyToRef(object, key);\n }\n return ret;\n}\nclass ObjectRefImpl {\n constructor(_object, _key, _defaultValue) {\n this._object = _object;\n this._key = _key;\n this._defaultValue = _defaultValue;\n this[\"__v_isRef\"] = true;\n this._value = void 0;\n }\n get value() {\n const val = this._object[this._key];\n return this._value = val === void 0 ? this._defaultValue : val;\n }\n set value(newVal) {\n this._object[this._key] = newVal;\n }\n get dep() {\n return getDepFromReactive(toRaw(this._object), this._key);\n }\n}\nclass GetterRefImpl {\n constructor(_getter) {\n this._getter = _getter;\n this[\"__v_isRef\"] = true;\n this[\"__v_isReadonly\"] = true;\n this._value = void 0;\n }\n get value() {\n return this._value = this._getter();\n }\n}\nfunction toRef(source, key, defaultValue) {\n if (isRef(source)) {\n return source;\n } else if (isFunction(source)) {\n return new GetterRefImpl(source);\n } else if (isObject(source) && arguments.length > 1) {\n return propertyToRef(source, key, defaultValue);\n } else {\n return ref(source);\n }\n}\nfunction propertyToRef(source, key, defaultValue) {\n const val = source[key];\n return isRef(val) ? val : new ObjectRefImpl(source, key, defaultValue);\n}\n\nclass ComputedRefImpl {\n constructor(fn, setter, isSSR) {\n this.fn = fn;\n this.setter = setter;\n /**\n * @internal\n */\n this._value = void 0;\n /**\n * @internal\n */\n this.dep = new Dep(this);\n /**\n * @internal\n */\n this.__v_isRef = true;\n // TODO isolatedDeclarations \"__v_isReadonly\"\n // A computed is also a subscriber that tracks other deps\n /**\n * @internal\n */\n this.deps = void 0;\n /**\n * @internal\n */\n this.depsTail = void 0;\n /**\n * @internal\n */\n this.flags = 16;\n /**\n * @internal\n */\n this.globalVersion = globalVersion - 1;\n /**\n * @internal\n */\n this.next = void 0;\n // for backwards compat\n this.effect = this;\n this[\"__v_isReadonly\"] = !setter;\n this.isSSR = isSSR;\n }\n /**\n * @internal\n */\n notify() {\n this.flags |= 16;\n if (!(this.flags & 8) && // avoid infinite self recursion\n activeSub !== this) {\n batch(this, true);\n return true;\n } else if (!!(process.env.NODE_ENV !== \"production\")) ;\n }\n get value() {\n const link = !!(process.env.NODE_ENV !== \"production\") ? this.dep.track({\n target: this,\n type: \"get\",\n key: \"value\"\n }) : this.dep.track();\n refreshComputed(this);\n if (link) {\n link.version = this.dep.version;\n }\n return this._value;\n }\n set value(newValue) {\n if (this.setter) {\n this.setter(newValue);\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(\"Write operation failed: computed value is readonly\");\n }\n }\n}\nfunction computed(getterOrOptions, debugOptions, isSSR = false) {\n let getter;\n let setter;\n if (isFunction(getterOrOptions)) {\n getter = getterOrOptions;\n } else {\n getter = getterOrOptions.get;\n setter = getterOrOptions.set;\n }\n const cRef = new ComputedRefImpl(getter, setter, isSSR);\n if (!!(process.env.NODE_ENV !== \"production\") && debugOptions && !isSSR) {\n cRef.onTrack = debugOptions.onTrack;\n cRef.onTrigger = debugOptions.onTrigger;\n }\n return cRef;\n}\n\nconst TrackOpTypes = {\n \"GET\": \"get\",\n \"HAS\": \"has\",\n \"ITERATE\": \"iterate\"\n};\nconst TriggerOpTypes = {\n \"SET\": \"set\",\n \"ADD\": \"add\",\n \"DELETE\": \"delete\",\n \"CLEAR\": \"clear\"\n};\nconst ReactiveFlags = {\n \"SKIP\": \"__v_skip\",\n \"IS_REACTIVE\": \"__v_isReactive\",\n \"IS_READONLY\": \"__v_isReadonly\",\n \"IS_SHALLOW\": \"__v_isShallow\",\n \"RAW\": \"__v_raw\",\n \"IS_REF\": \"__v_isRef\"\n};\n\nconst WatchErrorCodes = {\n \"WATCH_GETTER\": 2,\n \"2\": \"WATCH_GETTER\",\n \"WATCH_CALLBACK\": 3,\n \"3\": \"WATCH_CALLBACK\",\n \"WATCH_CLEANUP\": 4,\n \"4\": \"WATCH_CLEANUP\"\n};\nconst INITIAL_WATCHER_VALUE = {};\nconst cleanupMap = /* @__PURE__ */ new WeakMap();\nlet activeWatcher = void 0;\nfunction getCurrentWatcher() {\n return activeWatcher;\n}\nfunction onWatcherCleanup(cleanupFn, failSilently = false, owner = activeWatcher) {\n if (owner) {\n let cleanups = cleanupMap.get(owner);\n if (!cleanups) cleanupMap.set(owner, cleanups = []);\n cleanups.push(cleanupFn);\n } else if (!!(process.env.NODE_ENV !== \"production\") && !failSilently) {\n warn(\n `onWatcherCleanup() was called when there was no active watcher to associate with.`\n );\n }\n}\nfunction watch(source, cb, options = EMPTY_OBJ) {\n const { immediate, deep, once, scheduler, augmentJob, call } = options;\n const warnInvalidSource = (s) => {\n (options.onWarn || warn)(\n `Invalid watch source: `,\n s,\n `A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.`\n );\n };\n const reactiveGetter = (source2) => {\n if (deep) return source2;\n if (isShallow(source2) || deep === false || deep === 0)\n return traverse(source2, 1);\n return traverse(source2);\n };\n let effect;\n let getter;\n let cleanup;\n let boundCleanup;\n let forceTrigger = false;\n let isMultiSource = false;\n if (isRef(source)) {\n getter = () => source.value;\n forceTrigger = isShallow(source);\n } else if (isReactive(source)) {\n getter = () => reactiveGetter(source);\n forceTrigger = true;\n } else if (isArray(source)) {\n isMultiSource = true;\n forceTrigger = source.some((s) => isReactive(s) || isShallow(s));\n getter = () => source.map((s) => {\n if (isRef(s)) {\n return s.value;\n } else if (isReactive(s)) {\n return reactiveGetter(s);\n } else if (isFunction(s)) {\n return call ? call(s, 2) : s();\n } else {\n !!(process.env.NODE_ENV !== \"production\") && warnInvalidSource(s);\n }\n });\n } else if (isFunction(source)) {\n if (cb) {\n getter = call ? () => call(source, 2) : source;\n } else {\n getter = () => {\n if (cleanup) {\n pauseTracking();\n try {\n cleanup();\n } finally {\n resetTracking();\n }\n }\n const currentEffect = activeWatcher;\n activeWatcher = effect;\n try {\n return call ? call(source, 3, [boundCleanup]) : source(boundCleanup);\n } finally {\n activeWatcher = currentEffect;\n }\n };\n }\n } else {\n getter = NOOP;\n !!(process.env.NODE_ENV !== \"production\") && warnInvalidSource(source);\n }\n if (cb && deep) {\n const baseGetter = getter;\n const depth = deep === true ? Infinity : deep;\n getter = () => traverse(baseGetter(), depth);\n }\n const scope = getCurrentScope();\n const watchHandle = () => {\n effect.stop();\n if (scope && scope.active) {\n remove(scope.effects, effect);\n }\n };\n if (once && cb) {\n const _cb = cb;\n cb = (...args) => {\n _cb(...args);\n watchHandle();\n };\n }\n let oldValue = isMultiSource ? new Array(source.length).fill(INITIAL_WATCHER_VALUE) : INITIAL_WATCHER_VALUE;\n const job = (immediateFirstRun) => {\n if (!(effect.flags & 1) || !effect.dirty && !immediateFirstRun) {\n return;\n }\n if (cb) {\n const newValue = effect.run();\n if (deep || forceTrigger || (isMultiSource ? newValue.some((v, i) => hasChanged(v, oldValue[i])) : hasChanged(newValue, oldValue))) {\n if (cleanup) {\n cleanup();\n }\n const currentWatcher = activeWatcher;\n activeWatcher = effect;\n try {\n const args = [\n newValue,\n // pass undefined as the old value when it's changed for the first time\n oldValue === INITIAL_WATCHER_VALUE ? void 0 : isMultiSource && oldValue[0] === INITIAL_WATCHER_VALUE ? [] : oldValue,\n boundCleanup\n ];\n call ? call(cb, 3, args) : (\n // @ts-expect-error\n cb(...args)\n );\n oldValue = newValue;\n } finally {\n activeWatcher = currentWatcher;\n }\n }\n } else {\n effect.run();\n }\n };\n if (augmentJob) {\n augmentJob(job);\n }\n effect = new ReactiveEffect(getter);\n effect.scheduler = scheduler ? () => scheduler(job, false) : job;\n boundCleanup = (fn) => onWatcherCleanup(fn, false, effect);\n cleanup = effect.onStop = () => {\n const cleanups = cleanupMap.get(effect);\n if (cleanups) {\n if (call) {\n call(cleanups, 4);\n } else {\n for (const cleanup2 of cleanups) cleanup2();\n }\n cleanupMap.delete(effect);\n }\n };\n if (!!(process.env.NODE_ENV !== \"production\")) {\n effect.onTrack = options.onTrack;\n effect.onTrigger = options.onTrigger;\n }\n if (cb) {\n if (immediate) {\n job(true);\n } else {\n oldValue = effect.run();\n }\n } else if (scheduler) {\n scheduler(job.bind(null, true), true);\n } else {\n effect.run();\n }\n watchHandle.pause = effect.pause.bind(effect);\n watchHandle.resume = effect.resume.bind(effect);\n watchHandle.stop = watchHandle;\n return watchHandle;\n}\nfunction traverse(value, depth = Infinity, seen) {\n if (depth <= 0 || !isObject(value) || value[\"__v_skip\"]) {\n return value;\n }\n seen = seen || /* @__PURE__ */ new Set();\n if (seen.has(value)) {\n return value;\n }\n seen.add(value);\n depth--;\n if (isRef(value)) {\n traverse(value.value, depth, seen);\n } else if (isArray(value)) {\n for (let i = 0; i < value.length; i++) {\n traverse(value[i], depth, seen);\n }\n } else if (isSet(value) || isMap(value)) {\n value.forEach((v) => {\n traverse(v, depth, seen);\n });\n } else if (isPlainObject(value)) {\n for (const key in value) {\n traverse(value[key], depth, seen);\n }\n for (const key of Object.getOwnPropertySymbols(value)) {\n if (Object.prototype.propertyIsEnumerable.call(value, key)) {\n traverse(value[key], depth, seen);\n }\n }\n }\n return value;\n}\n\nexport { ARRAY_ITERATE_KEY, EffectFlags, EffectScope, ITERATE_KEY, MAP_KEY_ITERATE_KEY, ReactiveEffect, ReactiveFlags, TrackOpTypes, TriggerOpTypes, WatchErrorCodes, computed, customRef, effect, effectScope, enableTracking, getCurrentScope, getCurrentWatcher, isProxy, isReactive, isReadonly, isRef, isShallow, markRaw, onEffectCleanup, onScopeDispose, onWatcherCleanup, pauseTracking, proxyRefs, reactive, reactiveReadArray, readonly, ref, resetTracking, shallowReactive, shallowReadArray, shallowReadonly, shallowRef, stop, toRaw, toReactive, toReadonly, toRef, toRefs, toValue, track, traverse, trigger, triggerRef, unref, watch };\n","/**\n* @vue/runtime-core v3.5.13\n* (c) 2018-present Yuxi (Evan) You and Vue contributors\n* @license MIT\n**/\nimport { pauseTracking, resetTracking, isRef, toRaw, traverse, shallowRef, readonly, isReactive, ref, isShallow, shallowReadArray, toReactive, shallowReadonly, track, reactive, shallowReactive, trigger, ReactiveEffect, watch as watch$1, customRef, isProxy, proxyRefs, markRaw, EffectScope, computed as computed$1, isReadonly } from '@vue/reactivity';\nexport { EffectScope, ReactiveEffect, TrackOpTypes, TriggerOpTypes, customRef, effect, effectScope, getCurrentScope, getCurrentWatcher, isProxy, isReactive, isReadonly, isRef, isShallow, markRaw, onScopeDispose, onWatcherCleanup, proxyRefs, reactive, readonly, ref, shallowReactive, shallowReadonly, shallowRef, stop, toRaw, toRef, toRefs, toValue, triggerRef, unref } from '@vue/reactivity';\nimport { isString, isFunction, isPromise, isArray, EMPTY_OBJ, NOOP, getGlobalThis, extend, isBuiltInDirective, hasOwn, remove, def, isOn, isReservedProp, normalizeClass, stringifyStyle, normalizeStyle, isKnownSvgAttr, isBooleanAttr, isKnownHtmlAttr, includeBooleanAttr, isRenderableAttrValue, getEscapedCssVarName, isObject, isRegExp, invokeArrayFns, toHandlerKey, capitalize, camelize, isSymbol, isGloballyAllowed, NO, hyphenate, EMPTY_ARR, toRawType, makeMap, hasChanged, looseToNumber, isModelListener, toNumber } from '@vue/shared';\nexport { camelize, capitalize, normalizeClass, normalizeProps, normalizeStyle, toDisplayString, toHandlerKey } from '@vue/shared';\n\nconst stack = [];\nfunction pushWarningContext(vnode) {\n stack.push(vnode);\n}\nfunction popWarningContext() {\n stack.pop();\n}\nlet isWarning = false;\nfunction warn$1(msg, ...args) {\n if (isWarning) return;\n isWarning = true;\n pauseTracking();\n const instance = stack.length ? stack[stack.length - 1].component : null;\n const appWarnHandler = instance && instance.appContext.config.warnHandler;\n const trace = getComponentTrace();\n if (appWarnHandler) {\n callWithErrorHandling(\n appWarnHandler,\n instance,\n 11,\n [\n // eslint-disable-next-line no-restricted-syntax\n msg + args.map((a) => {\n var _a, _b;\n return (_b = (_a = a.toString) == null ? void 0 : _a.call(a)) != null ? _b : JSON.stringify(a);\n }).join(\"\"),\n instance && instance.proxy,\n trace.map(\n ({ vnode }) => `at <${formatComponentName(instance, vnode.type)}>`\n ).join(\"\\n\"),\n trace\n ]\n );\n } else {\n const warnArgs = [`[Vue warn]: ${msg}`, ...args];\n if (trace.length && // avoid spamming console during tests\n true) {\n warnArgs.push(`\n`, ...formatTrace(trace));\n }\n console.warn(...warnArgs);\n }\n resetTracking();\n isWarning = false;\n}\nfunction getComponentTrace() {\n let currentVNode = stack[stack.length - 1];\n if (!currentVNode) {\n return [];\n }\n const normalizedStack = [];\n while (currentVNode) {\n const last = normalizedStack[0];\n if (last && last.vnode === currentVNode) {\n last.recurseCount++;\n } else {\n normalizedStack.push({\n vnode: currentVNode,\n recurseCount: 0\n });\n }\n const parentInstance = currentVNode.component && currentVNode.component.parent;\n currentVNode = parentInstance && parentInstance.vnode;\n }\n return normalizedStack;\n}\nfunction formatTrace(trace) {\n const logs = [];\n trace.forEach((entry, i) => {\n logs.push(...i === 0 ? [] : [`\n`], ...formatTraceEntry(entry));\n });\n return logs;\n}\nfunction formatTraceEntry({ vnode, recurseCount }) {\n const postfix = recurseCount > 0 ? `... (${recurseCount} recursive calls)` : ``;\n const isRoot = vnode.component ? vnode.component.parent == null : false;\n const open = ` at <${formatComponentName(\n vnode.component,\n vnode.type,\n isRoot\n )}`;\n const close = `>` + postfix;\n return vnode.props ? [open, ...formatProps(vnode.props), close] : [open + close];\n}\nfunction formatProps(props) {\n const res = [];\n const keys = Object.keys(props);\n keys.slice(0, 3).forEach((key) => {\n res.push(...formatProp(key, props[key]));\n });\n if (keys.length > 3) {\n res.push(` ...`);\n }\n return res;\n}\nfunction formatProp(key, value, raw) {\n if (isString(value)) {\n value = JSON.stringify(value);\n return raw ? value : [`${key}=${value}`];\n } else if (typeof value === \"number\" || typeof value === \"boolean\" || value == null) {\n return raw ? value : [`${key}=${value}`];\n } else if (isRef(value)) {\n value = formatProp(key, toRaw(value.value), true);\n return raw ? value : [`${key}=Ref<`, value, `>`];\n } else if (isFunction(value)) {\n return [`${key}=fn${value.name ? `<${value.name}>` : ``}`];\n } else {\n value = toRaw(value);\n return raw ? value : [`${key}=`, value];\n }\n}\nfunction assertNumber(val, type) {\n if (!!!(process.env.NODE_ENV !== \"production\")) return;\n if (val === void 0) {\n return;\n } else if (typeof val !== \"number\") {\n warn$1(`${type} is not a valid number - got ${JSON.stringify(val)}.`);\n } else if (isNaN(val)) {\n warn$1(`${type} is NaN - the duration expression might be incorrect.`);\n }\n}\n\nconst ErrorCodes = {\n \"SETUP_FUNCTION\": 0,\n \"0\": \"SETUP_FUNCTION\",\n \"RENDER_FUNCTION\": 1,\n \"1\": \"RENDER_FUNCTION\",\n \"NATIVE_EVENT_HANDLER\": 5,\n \"5\": \"NATIVE_EVENT_HANDLER\",\n \"COMPONENT_EVENT_HANDLER\": 6,\n \"6\": \"COMPONENT_EVENT_HANDLER\",\n \"VNODE_HOOK\": 7,\n \"7\": \"VNODE_HOOK\",\n \"DIRECTIVE_HOOK\": 8,\n \"8\": \"DIRECTIVE_HOOK\",\n \"TRANSITION_HOOK\": 9,\n \"9\": \"TRANSITION_HOOK\",\n \"APP_ERROR_HANDLER\": 10,\n \"10\": \"APP_ERROR_HANDLER\",\n \"APP_WARN_HANDLER\": 11,\n \"11\": \"APP_WARN_HANDLER\",\n \"FUNCTION_REF\": 12,\n \"12\": \"FUNCTION_REF\",\n \"ASYNC_COMPONENT_LOADER\": 13,\n \"13\": \"ASYNC_COMPONENT_LOADER\",\n \"SCHEDULER\": 14,\n \"14\": \"SCHEDULER\",\n \"COMPONENT_UPDATE\": 15,\n \"15\": \"COMPONENT_UPDATE\",\n \"APP_UNMOUNT_CLEANUP\": 16,\n \"16\": \"APP_UNMOUNT_CLEANUP\"\n};\nconst ErrorTypeStrings$1 = {\n [\"sp\"]: \"serverPrefetch hook\",\n [\"bc\"]: \"beforeCreate hook\",\n [\"c\"]: \"created hook\",\n [\"bm\"]: \"beforeMount hook\",\n [\"m\"]: \"mounted hook\",\n [\"bu\"]: \"beforeUpdate hook\",\n [\"u\"]: \"updated\",\n [\"bum\"]: \"beforeUnmount hook\",\n [\"um\"]: \"unmounted hook\",\n [\"a\"]: \"activated hook\",\n [\"da\"]: \"deactivated hook\",\n [\"ec\"]: \"errorCaptured hook\",\n [\"rtc\"]: \"renderTracked hook\",\n [\"rtg\"]: \"renderTriggered hook\",\n [0]: \"setup function\",\n [1]: \"render function\",\n [2]: \"watcher getter\",\n [3]: \"watcher callback\",\n [4]: \"watcher cleanup function\",\n [5]: \"native event handler\",\n [6]: \"component event handler\",\n [7]: \"vnode hook\",\n [8]: \"directive hook\",\n [9]: \"transition hook\",\n [10]: \"app errorHandler\",\n [11]: \"app warnHandler\",\n [12]: \"ref function\",\n [13]: \"async component loader\",\n [14]: \"scheduler flush\",\n [15]: \"component update\",\n [16]: \"app unmount cleanup function\"\n};\nfunction callWithErrorHandling(fn, instance, type, args) {\n try {\n return args ? fn(...args) : fn();\n } catch (err) {\n handleError(err, instance, type);\n }\n}\nfunction callWithAsyncErrorHandling(fn, instance, type, args) {\n if (isFunction(fn)) {\n const res = callWithErrorHandling(fn, instance, type, args);\n if (res && isPromise(res)) {\n res.catch((err) => {\n handleError(err, instance, type);\n });\n }\n return res;\n }\n if (isArray(fn)) {\n const values = [];\n for (let i = 0; i < fn.length; i++) {\n values.push(callWithAsyncErrorHandling(fn[i], instance, type, args));\n }\n return values;\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$1(\n `Invalid value type passed to callWithAsyncErrorHandling(): ${typeof fn}`\n );\n }\n}\nfunction handleError(err, instance, type, throwInDev = true) {\n const contextVNode = instance ? instance.vnode : null;\n const { errorHandler, throwUnhandledErrorInProduction } = instance && instance.appContext.config || EMPTY_OBJ;\n if (instance) {\n let cur = instance.parent;\n const exposedInstance = instance.proxy;\n const errorInfo = !!(process.env.NODE_ENV !== \"production\") ? ErrorTypeStrings$1[type] : `https://vuejs.org/error-reference/#runtime-${type}`;\n while (cur) {\n const errorCapturedHooks = cur.ec;\n if (errorCapturedHooks) {\n for (let i = 0; i < errorCapturedHooks.length; i++) {\n if (errorCapturedHooks[i](err, exposedInstance, errorInfo) === false) {\n return;\n }\n }\n }\n cur = cur.parent;\n }\n if (errorHandler) {\n pauseTracking();\n callWithErrorHandling(errorHandler, null, 10, [\n err,\n exposedInstance,\n errorInfo\n ]);\n resetTracking();\n return;\n }\n }\n logError(err, type, contextVNode, throwInDev, throwUnhandledErrorInProduction);\n}\nfunction logError(err, type, contextVNode, throwInDev = true, throwInProd = false) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n const info = ErrorTypeStrings$1[type];\n if (contextVNode) {\n pushWarningContext(contextVNode);\n }\n warn$1(`Unhandled error${info ? ` during execution of ${info}` : ``}`);\n if (contextVNode) {\n popWarningContext();\n }\n if (throwInDev) {\n throw err;\n } else {\n console.error(err);\n }\n } else if (throwInProd) {\n throw err;\n } else {\n console.error(err);\n }\n}\n\nconst queue = [];\nlet flushIndex = -1;\nconst pendingPostFlushCbs = [];\nlet activePostFlushCbs = null;\nlet postFlushIndex = 0;\nconst resolvedPromise = /* @__PURE__ */ Promise.resolve();\nlet currentFlushPromise = null;\nconst RECURSION_LIMIT = 100;\nfunction nextTick(fn) {\n const p = currentFlushPromise || resolvedPromise;\n return fn ? p.then(this ? fn.bind(this) : fn) : p;\n}\nfunction findInsertionIndex(id) {\n let start = flushIndex + 1;\n let end = queue.length;\n while (start < end) {\n const middle = start + end >>> 1;\n const middleJob = queue[middle];\n const middleJobId = getId(middleJob);\n if (middleJobId < id || middleJobId === id && middleJob.flags & 2) {\n start = middle + 1;\n } else {\n end = middle;\n }\n }\n return start;\n}\nfunction queueJob(job) {\n if (!(job.flags & 1)) {\n const jobId = getId(job);\n const lastJob = queue[queue.length - 1];\n if (!lastJob || // fast path when the job id is larger than the tail\n !(job.flags & 2) && jobId >= getId(lastJob)) {\n queue.push(job);\n } else {\n queue.splice(findInsertionIndex(jobId), 0, job);\n }\n job.flags |= 1;\n queueFlush();\n }\n}\nfunction queueFlush() {\n if (!currentFlushPromise) {\n currentFlushPromise = resolvedPromise.then(flushJobs);\n }\n}\nfunction queuePostFlushCb(cb) {\n if (!isArray(cb)) {\n if (activePostFlushCbs && cb.id === -1) {\n activePostFlushCbs.splice(postFlushIndex + 1, 0, cb);\n } else if (!(cb.flags & 1)) {\n pendingPostFlushCbs.push(cb);\n cb.flags |= 1;\n }\n } else {\n pendingPostFlushCbs.push(...cb);\n }\n queueFlush();\n}\nfunction flushPreFlushCbs(instance, seen, i = flushIndex + 1) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n seen = seen || /* @__PURE__ */ new Map();\n }\n for (; i < queue.length; i++) {\n const cb = queue[i];\n if (cb && cb.flags & 2) {\n if (instance && cb.id !== instance.uid) {\n continue;\n }\n if (!!(process.env.NODE_ENV !== \"production\") && checkRecursiveUpdates(seen, cb)) {\n continue;\n }\n queue.splice(i, 1);\n i--;\n if (cb.flags & 4) {\n cb.flags &= ~1;\n }\n cb();\n if (!(cb.flags & 4)) {\n cb.flags &= ~1;\n }\n }\n }\n}\nfunction flushPostFlushCbs(seen) {\n if (pendingPostFlushCbs.length) {\n const deduped = [...new Set(pendingPostFlushCbs)].sort(\n (a, b) => getId(a) - getId(b)\n );\n pendingPostFlushCbs.length = 0;\n if (activePostFlushCbs) {\n activePostFlushCbs.push(...deduped);\n return;\n }\n activePostFlushCbs = deduped;\n if (!!(process.env.NODE_ENV !== \"production\")) {\n seen = seen || /* @__PURE__ */ new Map();\n }\n for (postFlushIndex = 0; postFlushIndex < activePostFlushCbs.length; postFlushIndex++) {\n const cb = activePostFlushCbs[postFlushIndex];\n if (!!(process.env.NODE_ENV !== \"production\") && checkRecursiveUpdates(seen, cb)) {\n continue;\n }\n if (cb.flags & 4) {\n cb.flags &= ~1;\n }\n if (!(cb.flags & 8)) cb();\n cb.flags &= ~1;\n }\n activePostFlushCbs = null;\n postFlushIndex = 0;\n }\n}\nconst getId = (job) => job.id == null ? job.flags & 2 ? -1 : Infinity : job.id;\nfunction flushJobs(seen) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n seen = seen || /* @__PURE__ */ new Map();\n }\n const check = !!(process.env.NODE_ENV !== \"production\") ? (job) => checkRecursiveUpdates(seen, job) : NOOP;\n try {\n for (flushIndex = 0; flushIndex < queue.length; flushIndex++) {\n const job = queue[flushIndex];\n if (job && !(job.flags & 8)) {\n if (!!(process.env.NODE_ENV !== \"production\") && check(job)) {\n continue;\n }\n if (job.flags & 4) {\n job.flags &= ~1;\n }\n callWithErrorHandling(\n job,\n job.i,\n job.i ? 15 : 14\n );\n if (!(job.flags & 4)) {\n job.flags &= ~1;\n }\n }\n }\n } finally {\n for (; flushIndex < queue.length; flushIndex++) {\n const job = queue[flushIndex];\n if (job) {\n job.flags &= ~1;\n }\n }\n flushIndex = -1;\n queue.length = 0;\n flushPostFlushCbs(seen);\n currentFlushPromise = null;\n if (queue.length || pendingPostFlushCbs.length) {\n flushJobs(seen);\n }\n }\n}\nfunction checkRecursiveUpdates(seen, fn) {\n const count = seen.get(fn) || 0;\n if (count > RECURSION_LIMIT) {\n const instance = fn.i;\n const componentName = instance && getComponentName(instance.type);\n handleError(\n `Maximum recursive updates exceeded${componentName ? ` in component <${componentName}>` : ``}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,\n null,\n 10\n );\n return true;\n }\n seen.set(fn, count + 1);\n return false;\n}\n\nlet isHmrUpdating = false;\nconst hmrDirtyComponents = /* @__PURE__ */ new Map();\nif (!!(process.env.NODE_ENV !== \"production\")) {\n getGlobalThis().__VUE_HMR_RUNTIME__ = {\n createRecord: tryWrap(createRecord),\n rerender: tryWrap(rerender),\n reload: tryWrap(reload)\n };\n}\nconst map = /* @__PURE__ */ new Map();\nfunction registerHMR(instance) {\n const id = instance.type.__hmrId;\n let record = map.get(id);\n if (!record) {\n createRecord(id, instance.type);\n record = map.get(id);\n }\n record.instances.add(instance);\n}\nfunction unregisterHMR(instance) {\n map.get(instance.type.__hmrId).instances.delete(instance);\n}\nfunction createRecord(id, initialDef) {\n if (map.has(id)) {\n return false;\n }\n map.set(id, {\n initialDef: normalizeClassComponent(initialDef),\n instances: /* @__PURE__ */ new Set()\n });\n return true;\n}\nfunction normalizeClassComponent(component) {\n return isClassComponent(component) ? component.__vccOpts : component;\n}\nfunction rerender(id, newRender) {\n const record = map.get(id);\n if (!record) {\n return;\n }\n record.initialDef.render = newRender;\n [...record.instances].forEach((instance) => {\n if (newRender) {\n instance.render = newRender;\n normalizeClassComponent(instance.type).render = newRender;\n }\n instance.renderCache = [];\n isHmrUpdating = true;\n instance.update();\n isHmrUpdating = false;\n });\n}\nfunction reload(id, newComp) {\n const record = map.get(id);\n if (!record) return;\n newComp = normalizeClassComponent(newComp);\n updateComponentDef(record.initialDef, newComp);\n const instances = [...record.instances];\n for (let i = 0; i < instances.length; i++) {\n const instance = instances[i];\n const oldComp = normalizeClassComponent(instance.type);\n let dirtyInstances = hmrDirtyComponents.get(oldComp);\n if (!dirtyInstances) {\n if (oldComp !== record.initialDef) {\n updateComponentDef(oldComp, newComp);\n }\n hmrDirtyComponents.set(oldComp, dirtyInstances = /* @__PURE__ */ new Set());\n }\n dirtyInstances.add(instance);\n instance.appContext.propsCache.delete(instance.type);\n instance.appContext.emitsCache.delete(instance.type);\n instance.appContext.optionsCache.delete(instance.type);\n if (instance.ceReload) {\n dirtyInstances.add(instance);\n instance.ceReload(newComp.styles);\n dirtyInstances.delete(instance);\n } else if (instance.parent) {\n queueJob(() => {\n isHmrUpdating = true;\n instance.parent.update();\n isHmrUpdating = false;\n dirtyInstances.delete(instance);\n });\n } else if (instance.appContext.reload) {\n instance.appContext.reload();\n } else if (typeof window !== \"undefined\") {\n window.location.reload();\n } else {\n console.warn(\n \"[HMR] Root or manually mounted instance modified. Full reload required.\"\n );\n }\n if (instance.root.ce && instance !== instance.root) {\n instance.root.ce._removeChildStyle(oldComp);\n }\n }\n queuePostFlushCb(() => {\n hmrDirtyComponents.clear();\n });\n}\nfunction updateComponentDef(oldComp, newComp) {\n extend(oldComp, newComp);\n for (const key in oldComp) {\n if (key !== \"__file\" && !(key in newComp)) {\n delete oldComp[key];\n }\n }\n}\nfunction tryWrap(fn) {\n return (id, arg) => {\n try {\n return fn(id, arg);\n } catch (e) {\n console.error(e);\n console.warn(\n `[HMR] Something went wrong during Vue component hot-reload. Full reload required.`\n );\n }\n };\n}\n\nlet devtools$1;\nlet buffer = [];\nlet devtoolsNotInstalled = false;\nfunction emit$1(event, ...args) {\n if (devtools$1) {\n devtools$1.emit(event, ...args);\n } else if (!devtoolsNotInstalled) {\n buffer.push({ event, args });\n }\n}\nfunction setDevtoolsHook$1(hook, target) {\n var _a, _b;\n devtools$1 = hook;\n if (devtools$1) {\n devtools$1.enabled = true;\n buffer.forEach(({ event, args }) => devtools$1.emit(event, ...args));\n buffer = [];\n } else if (\n // handle late devtools injection - only do this if we are in an actual\n // browser environment to avoid the timer handle stalling test runner exit\n // (#4815)\n typeof window !== \"undefined\" && // some envs mock window but not fully\n window.HTMLElement && // also exclude jsdom\n // eslint-disable-next-line no-restricted-syntax\n !((_b = (_a = window.navigator) == null ? void 0 : _a.userAgent) == null ? void 0 : _b.includes(\"jsdom\"))\n ) {\n const replay = target.__VUE_DEVTOOLS_HOOK_REPLAY__ = target.__VUE_DEVTOOLS_HOOK_REPLAY__ || [];\n replay.push((newHook) => {\n setDevtoolsHook$1(newHook, target);\n });\n setTimeout(() => {\n if (!devtools$1) {\n target.__VUE_DEVTOOLS_HOOK_REPLAY__ = null;\n devtoolsNotInstalled = true;\n buffer = [];\n }\n }, 3e3);\n } else {\n devtoolsNotInstalled = true;\n buffer = [];\n }\n}\nfunction devtoolsInitApp(app, version) {\n emit$1(\"app:init\" /* APP_INIT */, app, version, {\n Fragment,\n Text,\n Comment,\n Static\n });\n}\nfunction devtoolsUnmountApp(app) {\n emit$1(\"app:unmount\" /* APP_UNMOUNT */, app);\n}\nconst devtoolsComponentAdded = /* @__PURE__ */ createDevtoolsComponentHook(\"component:added\" /* COMPONENT_ADDED */);\nconst devtoolsComponentUpdated = /* @__PURE__ */ createDevtoolsComponentHook(\"component:updated\" /* COMPONENT_UPDATED */);\nconst _devtoolsComponentRemoved = /* @__PURE__ */ createDevtoolsComponentHook(\n \"component:removed\" /* COMPONENT_REMOVED */\n);\nconst devtoolsComponentRemoved = (component) => {\n if (devtools$1 && typeof devtools$1.cleanupBuffer === \"function\" && // remove the component if it wasn't buffered\n !devtools$1.cleanupBuffer(component)) {\n _devtoolsComponentRemoved(component);\n }\n};\n/*! #__NO_SIDE_EFFECTS__ */\n// @__NO_SIDE_EFFECTS__\nfunction createDevtoolsComponentHook(hook) {\n return (component) => {\n emit$1(\n hook,\n component.appContext.app,\n component.uid,\n component.parent ? component.parent.uid : void 0,\n component\n );\n };\n}\nconst devtoolsPerfStart = /* @__PURE__ */ createDevtoolsPerformanceHook(\"perf:start\" /* PERFORMANCE_START */);\nconst devtoolsPerfEnd = /* @__PURE__ */ createDevtoolsPerformanceHook(\"perf:end\" /* PERFORMANCE_END */);\nfunction createDevtoolsPerformanceHook(hook) {\n return (component, type, time) => {\n emit$1(hook, component.appContext.app, component.uid, component, type, time);\n };\n}\nfunction devtoolsComponentEmit(component, event, params) {\n emit$1(\n \"component:emit\" /* COMPONENT_EMIT */,\n component.appContext.app,\n component,\n event,\n params\n );\n}\n\nlet currentRenderingInstance = null;\nlet currentScopeId = null;\nfunction setCurrentRenderingInstance(instance) {\n const prev = currentRenderingInstance;\n currentRenderingInstance = instance;\n currentScopeId = instance && instance.type.__scopeId || null;\n return prev;\n}\nfunction pushScopeId(id) {\n currentScopeId = id;\n}\nfunction popScopeId() {\n currentScopeId = null;\n}\nconst withScopeId = (_id) => withCtx;\nfunction withCtx(fn, ctx = currentRenderingInstance, isNonScopedSlot) {\n if (!ctx) return fn;\n if (fn._n) {\n return fn;\n }\n const renderFnWithContext = (...args) => {\n if (renderFnWithContext._d) {\n setBlockTracking(-1);\n }\n const prevInstance = setCurrentRenderingInstance(ctx);\n let res;\n try {\n res = fn(...args);\n } finally {\n setCurrentRenderingInstance(prevInstance);\n if (renderFnWithContext._d) {\n setBlockTracking(1);\n }\n }\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n devtoolsComponentUpdated(ctx);\n }\n return res;\n };\n renderFnWithContext._n = true;\n renderFnWithContext._c = true;\n renderFnWithContext._d = true;\n return renderFnWithContext;\n}\n\nfunction validateDirectiveName(name) {\n if (isBuiltInDirective(name)) {\n warn$1(\"Do not use built-in directive ids as custom directive id: \" + name);\n }\n}\nfunction withDirectives(vnode, directives) {\n if (currentRenderingInstance === null) {\n !!(process.env.NODE_ENV !== \"production\") && warn$1(`withDirectives can only be used inside render functions.`);\n return vnode;\n }\n const instance = getComponentPublicInstance(currentRenderingInstance);\n const bindings = vnode.dirs || (vnode.dirs = []);\n for (let i = 0; i < directives.length; i++) {\n let [dir, value, arg, modifiers = EMPTY_OBJ] = directives[i];\n if (dir) {\n if (isFunction(dir)) {\n dir = {\n mounted: dir,\n updated: dir\n };\n }\n if (dir.deep) {\n traverse(value);\n }\n bindings.push({\n dir,\n instance,\n value,\n oldValue: void 0,\n arg,\n modifiers\n });\n }\n }\n return vnode;\n}\nfunction invokeDirectiveHook(vnode, prevVNode, instance, name) {\n const bindings = vnode.dirs;\n const oldBindings = prevVNode && prevVNode.dirs;\n for (let i = 0; i < bindings.length; i++) {\n const binding = bindings[i];\n if (oldBindings) {\n binding.oldValue = oldBindings[i].value;\n }\n let hook = binding.dir[name];\n if (hook) {\n pauseTracking();\n callWithAsyncErrorHandling(hook, instance, 8, [\n vnode.el,\n binding,\n vnode,\n prevVNode\n ]);\n resetTracking();\n }\n }\n}\n\nconst TeleportEndKey = Symbol(\"_vte\");\nconst isTeleport = (type) => type.__isTeleport;\nconst isTeleportDisabled = (props) => props && (props.disabled || props.disabled === \"\");\nconst isTeleportDeferred = (props) => props && (props.defer || props.defer === \"\");\nconst isTargetSVG = (target) => typeof SVGElement !== \"undefined\" && target instanceof SVGElement;\nconst isTargetMathML = (target) => typeof MathMLElement === \"function\" && target instanceof MathMLElement;\nconst resolveTarget = (props, select) => {\n const targetSelector = props && props.to;\n if (isString(targetSelector)) {\n if (!select) {\n !!(process.env.NODE_ENV !== \"production\") && warn$1(\n `Current renderer does not support string target for Teleports. (missing querySelector renderer option)`\n );\n return null;\n } else {\n const target = select(targetSelector);\n if (!!(process.env.NODE_ENV !== \"production\") && !target && !isTeleportDisabled(props)) {\n warn$1(\n `Failed to locate Teleport target with selector \"${targetSelector}\". Note the target element must exist before the component is mounted - i.e. the target cannot be rendered by the component itself, and ideally should be outside of the entire Vue component tree.`\n );\n }\n return target;\n }\n } else {\n if (!!(process.env.NODE_ENV !== \"production\") && !targetSelector && !isTeleportDisabled(props)) {\n warn$1(`Invalid Teleport target: ${targetSelector}`);\n }\n return targetSelector;\n }\n};\nconst TeleportImpl = {\n name: \"Teleport\",\n __isTeleport: true,\n process(n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized, internals) {\n const {\n mc: mountChildren,\n pc: patchChildren,\n pbc: patchBlockChildren,\n o: { insert, querySelector, createText, createComment }\n } = internals;\n const disabled = isTeleportDisabled(n2.props);\n let { shapeFlag, children, dynamicChildren } = n2;\n if (!!(process.env.NODE_ENV !== \"production\") && isHmrUpdating) {\n optimized = false;\n dynamicChildren = null;\n }\n if (n1 == null) {\n const placeholder = n2.el = !!(process.env.NODE_ENV !== \"production\") ? createComment(\"teleport start\") : createText(\"\");\n const mainAnchor = n2.anchor = !!(process.env.NODE_ENV !== \"production\") ? createComment(\"teleport end\") : createText(\"\");\n insert(placeholder, container, anchor);\n insert(mainAnchor, container, anchor);\n const mount = (container2, anchor2) => {\n if (shapeFlag & 16) {\n if (parentComponent && parentComponent.isCE) {\n parentComponent.ce._teleportTarget = container2;\n }\n mountChildren(\n children,\n container2,\n anchor2,\n parentComponent,\n parentSuspense,\n namespace,\n slotScopeIds,\n optimized\n );\n }\n };\n const mountToTarget = () => {\n const target = n2.target = resolveTarget(n2.props, querySelector);\n const targetAnchor = prepareAnchor(target, n2, createText, insert);\n if (target) {\n if (namespace !== \"svg\" && isTargetSVG(target)) {\n namespace = \"svg\";\n } else if (namespace !== \"mathml\" && isTargetMathML(target)) {\n namespace = \"mathml\";\n }\n if (!disabled) {\n mount(target, targetAnchor);\n updateCssVars(n2, false);\n }\n } else if (!!(process.env.NODE_ENV !== \"production\") && !disabled) {\n warn$1(\n \"Invalid Teleport target on mount:\",\n target,\n `(${typeof target})`\n );\n }\n };\n if (disabled) {\n mount(container, mainAnchor);\n updateCssVars(n2, true);\n }\n if (isTeleportDeferred(n2.props)) {\n queuePostRenderEffect(() => {\n mountToTarget();\n n2.el.__isMounted = true;\n }, parentSuspense);\n } else {\n mountToTarget();\n }\n } else {\n if (isTeleportDeferred(n2.props) && !n1.el.__isMounted) {\n queuePostRenderEffect(() => {\n TeleportImpl.process(\n n1,\n n2,\n container,\n anchor,\n parentComponent,\n parentSuspense,\n namespace,\n slotScopeIds,\n optimized,\n internals\n );\n delete n1.el.__isMounted;\n }, parentSuspense);\n return;\n }\n n2.el = n1.el;\n n2.targetStart = n1.targetStart;\n const mainAnchor = n2.anchor = n1.anchor;\n const target = n2.target = n1.target;\n const targetAnchor = n2.targetAnchor = n1.targetAnchor;\n const wasDisabled = isTeleportDisabled(n1.props);\n const currentContainer = wasDisabled ? container : target;\n const currentAnchor = wasDisabled ? mainAnchor : targetAnchor;\n if (namespace === \"svg\" || isTargetSVG(target)) {\n namespace = \"svg\";\n } else if (namespace === \"mathml\" || isTargetMathML(target)) {\n namespace = \"mathml\";\n }\n if (dynamicChildren) {\n patchBlockChildren(\n n1.dynamicChildren,\n dynamicChildren,\n currentContainer,\n parentComponent,\n parentSuspense,\n namespace,\n slotScopeIds\n );\n traverseStaticChildren(n1, n2, true);\n } else if (!optimized) {\n patchChildren(\n n1,\n n2,\n currentContainer,\n currentAnchor,\n parentComponent,\n parentSuspense,\n namespace,\n slotScopeIds,\n false\n );\n }\n if (disabled) {\n if (!wasDisabled) {\n moveTeleport(\n n2,\n container,\n mainAnchor,\n internals,\n 1\n );\n } else {\n if (n2.props && n1.props && n2.props.to !== n1.props.to) {\n n2.props.to = n1.props.to;\n }\n }\n } else {\n if ((n2.props && n2.props.to) !== (n1.props && n1.props.to)) {\n const nextTarget = n2.target = resolveTarget(\n n2.props,\n querySelector\n );\n if (nextTarget) {\n moveTeleport(\n n2,\n nextTarget,\n null,\n internals,\n 0\n );\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$1(\n \"Invalid Teleport target on update:\",\n target,\n `(${typeof target})`\n );\n }\n } else if (wasDisabled) {\n moveTeleport(\n n2,\n target,\n targetAnchor,\n internals,\n 1\n );\n }\n }\n updateCssVars(n2, disabled);\n }\n },\n remove(vnode, parentComponent, parentSuspense, { um: unmount, o: { remove: hostRemove } }, doRemove) {\n const {\n shapeFlag,\n children,\n anchor,\n targetStart,\n targetAnchor,\n target,\n props\n } = vnode;\n if (target) {\n hostRemove(targetStart);\n hostRemove(targetAnchor);\n }\n doRemove && hostRemove(anchor);\n if (shapeFlag & 16) {\n const shouldRemove = doRemove || !isTeleportDisabled(props);\n for (let i = 0; i < children.length; i++) {\n const child = children[i];\n unmount(\n child,\n parentComponent,\n parentSuspense,\n shouldRemove,\n !!child.dynamicChildren\n );\n }\n }\n },\n move: moveTeleport,\n hydrate: hydrateTeleport\n};\nfunction moveTeleport(vnode, container, parentAnchor, { o: { insert }, m: move }, moveType = 2) {\n if (moveType === 0) {\n insert(vnode.targetAnchor, container, parentAnchor);\n }\n const { el, anchor, shapeFlag, children, props } = vnode;\n const isReorder = moveType === 2;\n if (isReorder) {\n insert(el, container, parentAnchor);\n }\n if (!isReorder || isTeleportDisabled(props)) {\n if (shapeFlag & 16) {\n for (let i = 0; i < children.length; i++) {\n move(\n children[i],\n container,\n parentAnchor,\n 2\n );\n }\n }\n }\n if (isReorder) {\n insert(anchor, container, parentAnchor);\n }\n}\nfunction hydrateTeleport(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized, {\n o: { nextSibling, parentNode, querySelector, insert, createText }\n}, hydrateChildren) {\n const target = vnode.target = resolveTarget(\n vnode.props,\n querySelector\n );\n if (target) {\n const disabled = isTeleportDisabled(vnode.props);\n const targetNode = target._lpa || target.firstChild;\n if (vnode.shapeFlag & 16) {\n if (disabled) {\n vnode.anchor = hydrateChildren(\n nextSibling(node),\n vnode,\n parentNode(node),\n parentComponent,\n parentSuspense,\n slotScopeIds,\n optimized\n );\n vnode.targetStart = targetNode;\n vnode.targetAnchor = targetNode && nextSibling(targetNode);\n } else {\n vnode.anchor = nextSibling(node);\n let targetAnchor = targetNode;\n while (targetAnchor) {\n if (targetAnchor && targetAnchor.nodeType === 8) {\n if (targetAnchor.data === \"teleport start anchor\") {\n vnode.targetStart = targetAnchor;\n } else if (targetAnchor.data === \"teleport anchor\") {\n vnode.targetAnchor = targetAnchor;\n target._lpa = vnode.targetAnchor && nextSibling(vnode.targetAnchor);\n break;\n }\n }\n targetAnchor = nextSibling(targetAnchor);\n }\n if (!vnode.targetAnchor) {\n prepareAnchor(target, vnode, createText, insert);\n }\n hydrateChildren(\n targetNode && nextSibling(targetNode),\n vnode,\n target,\n parentComponent,\n parentSuspense,\n slotScopeIds,\n optimized\n );\n }\n }\n updateCssVars(vnode, disabled);\n }\n return vnode.anchor && nextSibling(vnode.anchor);\n}\nconst Teleport = TeleportImpl;\nfunction updateCssVars(vnode, isDisabled) {\n const ctx = vnode.ctx;\n if (ctx && ctx.ut) {\n let node, anchor;\n if (isDisabled) {\n node = vnode.el;\n anchor = vnode.anchor;\n } else {\n node = vnode.targetStart;\n anchor = vnode.targetAnchor;\n }\n while (node && node !== anchor) {\n if (node.nodeType === 1) node.setAttribute(\"data-v-owner\", ctx.uid);\n node = node.nextSibling;\n }\n ctx.ut();\n }\n}\nfunction prepareAnchor(target, vnode, createText, insert) {\n const targetStart = vnode.targetStart = createText(\"\");\n const targetAnchor = vnode.targetAnchor = createText(\"\");\n targetStart[TeleportEndKey] = targetAnchor;\n if (target) {\n insert(targetStart, target);\n insert(targetAnchor, target);\n }\n return targetAnchor;\n}\n\nconst leaveCbKey = Symbol(\"_leaveCb\");\nconst enterCbKey = Symbol(\"_enterCb\");\nfunction useTransitionState() {\n const state = {\n isMounted: false,\n isLeaving: false,\n isUnmounting: false,\n leavingVNodes: /* @__PURE__ */ new Map()\n };\n onMounted(() => {\n state.isMounted = true;\n });\n onBeforeUnmount(() => {\n state.isUnmounting = true;\n });\n return state;\n}\nconst TransitionHookValidator = [Function, Array];\nconst BaseTransitionPropsValidators = {\n mode: String,\n appear: Boolean,\n persisted: Boolean,\n // enter\n onBeforeEnter: TransitionHookValidator,\n onEnter: TransitionHookValidator,\n onAfterEnter: TransitionHookValidator,\n onEnterCancelled: TransitionHookValidator,\n // leave\n onBeforeLeave: TransitionHookValidator,\n onLeave: TransitionHookValidator,\n onAfterLeave: TransitionHookValidator,\n onLeaveCancelled: TransitionHookValidator,\n // appear\n onBeforeAppear: TransitionHookValidator,\n onAppear: TransitionHookValidator,\n onAfterAppear: TransitionHookValidator,\n onAppearCancelled: TransitionHookValidator\n};\nconst recursiveGetSubtree = (instance) => {\n const subTree = instance.subTree;\n return subTree.component ? recursiveGetSubtree(subTree.component) : subTree;\n};\nconst BaseTransitionImpl = {\n name: `BaseTransition`,\n props: BaseTransitionPropsValidators,\n setup(props, { slots }) {\n const instance = getCurrentInstance();\n const state = useTransitionState();\n return () => {\n const children = slots.default && getTransitionRawChildren(slots.default(), true);\n if (!children || !children.length) {\n return;\n }\n const child = findNonCommentChild(children);\n const rawProps = toRaw(props);\n const { mode } = rawProps;\n if (!!(process.env.NODE_ENV !== \"production\") && mode && mode !== \"in-out\" && mode !== \"out-in\" && mode !== \"default\") {\n warn$1(`invalid mode: ${mode}`);\n }\n if (state.isLeaving) {\n return emptyPlaceholder(child);\n }\n const innerChild = getInnerChild$1(child);\n if (!innerChild) {\n return emptyPlaceholder(child);\n }\n let enterHooks = resolveTransitionHooks(\n innerChild,\n rawProps,\n state,\n instance,\n // #11061, ensure enterHooks is fresh after clone\n (hooks) => enterHooks = hooks\n );\n if (innerChild.type !== Comment) {\n setTransitionHooks(innerChild, enterHooks);\n }\n let oldInnerChild = instance.subTree && getInnerChild$1(instance.subTree);\n if (oldInnerChild && oldInnerChild.type !== Comment && !isSameVNodeType(innerChild, oldInnerChild) && recursiveGetSubtree(instance).type !== Comment) {\n let leavingHooks = resolveTransitionHooks(\n oldInnerChild,\n rawProps,\n state,\n instance\n );\n setTransitionHooks(oldInnerChild, leavingHooks);\n if (mode === \"out-in\" && innerChild.type !== Comment) {\n state.isLeaving = true;\n leavingHooks.afterLeave = () => {\n state.isLeaving = false;\n if (!(instance.job.flags & 8)) {\n instance.update();\n }\n delete leavingHooks.afterLeave;\n oldInnerChild = void 0;\n };\n return emptyPlaceholder(child);\n } else if (mode === \"in-out\" && innerChild.type !== Comment) {\n leavingHooks.delayLeave = (el, earlyRemove, delayedLeave) => {\n const leavingVNodesCache = getLeavingNodesForType(\n state,\n oldInnerChild\n );\n leavingVNodesCache[String(oldInnerChild.key)] = oldInnerChild;\n el[leaveCbKey] = () => {\n earlyRemove();\n el[leaveCbKey] = void 0;\n delete enterHooks.delayedLeave;\n oldInnerChild = void 0;\n };\n enterHooks.delayedLeave = () => {\n delayedLeave();\n delete enterHooks.delayedLeave;\n oldInnerChild = void 0;\n };\n };\n } else {\n oldInnerChild = void 0;\n }\n } else if (oldInnerChild) {\n oldInnerChild = void 0;\n }\n return child;\n };\n }\n};\nfunction findNonCommentChild(children) {\n let child = children[0];\n if (children.length > 1) {\n let hasFound = false;\n for (const c of children) {\n if (c.type !== Comment) {\n if (!!(process.env.NODE_ENV !== \"production\") && hasFound) {\n warn$1(\n \" can only be used on a single element or component. Use for lists.\"\n );\n break;\n }\n child = c;\n hasFound = true;\n if (!!!(process.env.NODE_ENV !== \"production\")) break;\n }\n }\n }\n return child;\n}\nconst BaseTransition = BaseTransitionImpl;\nfunction getLeavingNodesForType(state, vnode) {\n const { leavingVNodes } = state;\n let leavingVNodesCache = leavingVNodes.get(vnode.type);\n if (!leavingVNodesCache) {\n leavingVNodesCache = /* @__PURE__ */ Object.create(null);\n leavingVNodes.set(vnode.type, leavingVNodesCache);\n }\n return leavingVNodesCache;\n}\nfunction resolveTransitionHooks(vnode, props, state, instance, postClone) {\n const {\n appear,\n mode,\n persisted = false,\n onBeforeEnter,\n onEnter,\n onAfterEnter,\n onEnterCancelled,\n onBeforeLeave,\n onLeave,\n onAfterLeave,\n onLeaveCancelled,\n onBeforeAppear,\n onAppear,\n onAfterAppear,\n onAppearCancelled\n } = props;\n const key = String(vnode.key);\n const leavingVNodesCache = getLeavingNodesForType(state, vnode);\n const callHook = (hook, args) => {\n hook && callWithAsyncErrorHandling(\n hook,\n instance,\n 9,\n args\n );\n };\n const callAsyncHook = (hook, args) => {\n const done = args[1];\n callHook(hook, args);\n if (isArray(hook)) {\n if (hook.every((hook2) => hook2.length <= 1)) done();\n } else if (hook.length <= 1) {\n done();\n }\n };\n const hooks = {\n mode,\n persisted,\n beforeEnter(el) {\n let hook = onBeforeEnter;\n if (!state.isMounted) {\n if (appear) {\n hook = onBeforeAppear || onBeforeEnter;\n } else {\n return;\n }\n }\n if (el[leaveCbKey]) {\n el[leaveCbKey](\n true\n /* cancelled */\n );\n }\n const leavingVNode = leavingVNodesCache[key];\n if (leavingVNode && isSameVNodeType(vnode, leavingVNode) && leavingVNode.el[leaveCbKey]) {\n leavingVNode.el[leaveCbKey]();\n }\n callHook(hook, [el]);\n },\n enter(el) {\n let hook = onEnter;\n let afterHook = onAfterEnter;\n let cancelHook = onEnterCancelled;\n if (!state.isMounted) {\n if (appear) {\n hook = onAppear || onEnter;\n afterHook = onAfterAppear || onAfterEnter;\n cancelHook = onAppearCancelled || onEnterCancelled;\n } else {\n return;\n }\n }\n let called = false;\n const done = el[enterCbKey] = (cancelled) => {\n if (called) return;\n called = true;\n if (cancelled) {\n callHook(cancelHook, [el]);\n } else {\n callHook(afterHook, [el]);\n }\n if (hooks.delayedLeave) {\n hooks.delayedLeave();\n }\n el[enterCbKey] = void 0;\n };\n if (hook) {\n callAsyncHook(hook, [el, done]);\n } else {\n done();\n }\n },\n leave(el, remove) {\n const key2 = String(vnode.key);\n if (el[enterCbKey]) {\n el[enterCbKey](\n true\n /* cancelled */\n );\n }\n if (state.isUnmounting) {\n return remove();\n }\n callHook(onBeforeLeave, [el]);\n let called = false;\n const done = el[leaveCbKey] = (cancelled) => {\n if (called) return;\n called = true;\n remove();\n if (cancelled) {\n callHook(onLeaveCancelled, [el]);\n } else {\n callHook(onAfterLeave, [el]);\n }\n el[leaveCbKey] = void 0;\n if (leavingVNodesCache[key2] === vnode) {\n delete leavingVNodesCache[key2];\n }\n };\n leavingVNodesCache[key2] = vnode;\n if (onLeave) {\n callAsyncHook(onLeave, [el, done]);\n } else {\n done();\n }\n },\n clone(vnode2) {\n const hooks2 = resolveTransitionHooks(\n vnode2,\n props,\n state,\n instance,\n postClone\n );\n if (postClone) postClone(hooks2);\n return hooks2;\n }\n };\n return hooks;\n}\nfunction emptyPlaceholder(vnode) {\n if (isKeepAlive(vnode)) {\n vnode = cloneVNode(vnode);\n vnode.children = null;\n return vnode;\n }\n}\nfunction getInnerChild$1(vnode) {\n if (!isKeepAlive(vnode)) {\n if (isTeleport(vnode.type) && vnode.children) {\n return findNonCommentChild(vnode.children);\n }\n return vnode;\n }\n if (!!(process.env.NODE_ENV !== \"production\") && vnode.component) {\n return vnode.component.subTree;\n }\n const { shapeFlag, children } = vnode;\n if (children) {\n if (shapeFlag & 16) {\n return children[0];\n }\n if (shapeFlag & 32 && isFunction(children.default)) {\n return children.default();\n }\n }\n}\nfunction setTransitionHooks(vnode, hooks) {\n if (vnode.shapeFlag & 6 && vnode.component) {\n vnode.transition = hooks;\n setTransitionHooks(vnode.component.subTree, hooks);\n } else if (vnode.shapeFlag & 128) {\n vnode.ssContent.transition = hooks.clone(vnode.ssContent);\n vnode.ssFallback.transition = hooks.clone(vnode.ssFallback);\n } else {\n vnode.transition = hooks;\n }\n}\nfunction getTransitionRawChildren(children, keepComment = false, parentKey) {\n let ret = [];\n let keyedFragmentCount = 0;\n for (let i = 0; i < children.length; i++) {\n let child = children[i];\n const key = parentKey == null ? child.key : String(parentKey) + String(child.key != null ? child.key : i);\n if (child.type === Fragment) {\n if (child.patchFlag & 128) keyedFragmentCount++;\n ret = ret.concat(\n getTransitionRawChildren(child.children, keepComment, key)\n );\n } else if (keepComment || child.type !== Comment) {\n ret.push(key != null ? cloneVNode(child, { key }) : child);\n }\n }\n if (keyedFragmentCount > 1) {\n for (let i = 0; i < ret.length; i++) {\n ret[i].patchFlag = -2;\n }\n }\n return ret;\n}\n\n/*! #__NO_SIDE_EFFECTS__ */\n// @__NO_SIDE_EFFECTS__\nfunction defineComponent(options, extraOptions) {\n return isFunction(options) ? (\n // #8236: extend call and options.name access are considered side-effects\n // by Rollup, so we have to wrap it in a pure-annotated IIFE.\n /* @__PURE__ */ (() => extend({ name: options.name }, extraOptions, { setup: options }))()\n ) : options;\n}\n\nfunction useId() {\n const i = getCurrentInstance();\n if (i) {\n return (i.appContext.config.idPrefix || \"v\") + \"-\" + i.ids[0] + i.ids[1]++;\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$1(\n `useId() is called when there is no active component instance to be associated with.`\n );\n }\n return \"\";\n}\nfunction markAsyncBoundary(instance) {\n instance.ids = [instance.ids[0] + instance.ids[2]++ + \"-\", 0, 0];\n}\n\nconst knownTemplateRefs = /* @__PURE__ */ new WeakSet();\nfunction useTemplateRef(key) {\n const i = getCurrentInstance();\n const r = shallowRef(null);\n if (i) {\n const refs = i.refs === EMPTY_OBJ ? i.refs = {} : i.refs;\n let desc;\n if (!!(process.env.NODE_ENV !== \"production\") && (desc = Object.getOwnPropertyDescriptor(refs, key)) && !desc.configurable) {\n warn$1(`useTemplateRef('${key}') already exists.`);\n } else {\n Object.defineProperty(refs, key, {\n enumerable: true,\n get: () => r.value,\n set: (val) => r.value = val\n });\n }\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$1(\n `useTemplateRef() is called when there is no active component instance to be associated with.`\n );\n }\n const ret = !!(process.env.NODE_ENV !== \"production\") ? readonly(r) : r;\n if (!!(process.env.NODE_ENV !== \"production\")) {\n knownTemplateRefs.add(ret);\n }\n return ret;\n}\n\nfunction setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {\n if (isArray(rawRef)) {\n rawRef.forEach(\n (r, i) => setRef(\n r,\n oldRawRef && (isArray(oldRawRef) ? oldRawRef[i] : oldRawRef),\n parentSuspense,\n vnode,\n isUnmount\n )\n );\n return;\n }\n if (isAsyncWrapper(vnode) && !isUnmount) {\n if (vnode.shapeFlag & 512 && vnode.type.__asyncResolved && vnode.component.subTree.component) {\n setRef(rawRef, oldRawRef, parentSuspense, vnode.component.subTree);\n }\n return;\n }\n const refValue = vnode.shapeFlag & 4 ? getComponentPublicInstance(vnode.component) : vnode.el;\n const value = isUnmount ? null : refValue;\n const { i: owner, r: ref } = rawRef;\n if (!!(process.env.NODE_ENV !== \"production\") && !owner) {\n warn$1(\n `Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.`\n );\n return;\n }\n const oldRef = oldRawRef && oldRawRef.r;\n const refs = owner.refs === EMPTY_OBJ ? owner.refs = {} : owner.refs;\n const setupState = owner.setupState;\n const rawSetupState = toRaw(setupState);\n const canSetSetupRef = setupState === EMPTY_OBJ ? () => false : (key) => {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n if (hasOwn(rawSetupState, key) && !isRef(rawSetupState[key])) {\n warn$1(\n `Template ref \"${key}\" used on a non-ref value. It will not work in the production build.`\n );\n }\n if (knownTemplateRefs.has(rawSetupState[key])) {\n return false;\n }\n }\n return hasOwn(rawSetupState, key);\n };\n if (oldRef != null && oldRef !== ref) {\n if (isString(oldRef)) {\n refs[oldRef] = null;\n if (canSetSetupRef(oldRef)) {\n setupState[oldRef] = null;\n }\n } else if (isRef(oldRef)) {\n oldRef.value = null;\n }\n }\n if (isFunction(ref)) {\n callWithErrorHandling(ref, owner, 12, [value, refs]);\n } else {\n const _isString = isString(ref);\n const _isRef = isRef(ref);\n if (_isString || _isRef) {\n const doSet = () => {\n if (rawRef.f) {\n const existing = _isString ? canSetSetupRef(ref) ? setupState[ref] : refs[ref] : ref.value;\n if (isUnmount) {\n isArray(existing) && remove(existing, refValue);\n } else {\n if (!isArray(existing)) {\n if (_isString) {\n refs[ref] = [refValue];\n if (canSetSetupRef(ref)) {\n setupState[ref] = refs[ref];\n }\n } else {\n ref.value = [refValue];\n if (rawRef.k) refs[rawRef.k] = ref.value;\n }\n } else if (!existing.includes(refValue)) {\n existing.push(refValue);\n }\n }\n } else if (_isString) {\n refs[ref] = value;\n if (canSetSetupRef(ref)) {\n setupState[ref] = value;\n }\n } else if (_isRef) {\n ref.value = value;\n if (rawRef.k) refs[rawRef.k] = value;\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$1(\"Invalid template ref type:\", ref, `(${typeof ref})`);\n }\n };\n if (value) {\n doSet.id = -1;\n queuePostRenderEffect(doSet, parentSuspense);\n } else {\n doSet();\n }\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$1(\"Invalid template ref type:\", ref, `(${typeof ref})`);\n }\n }\n}\n\nlet hasLoggedMismatchError = false;\nconst logMismatchError = () => {\n if (hasLoggedMismatchError) {\n return;\n }\n console.error(\"Hydration completed but contains mismatches.\");\n hasLoggedMismatchError = true;\n};\nconst isSVGContainer = (container) => container.namespaceURI.includes(\"svg\") && container.tagName !== \"foreignObject\";\nconst isMathMLContainer = (container) => container.namespaceURI.includes(\"MathML\");\nconst getContainerType = (container) => {\n if (container.nodeType !== 1) return void 0;\n if (isSVGContainer(container)) return \"svg\";\n if (isMathMLContainer(container)) return \"mathml\";\n return void 0;\n};\nconst isComment = (node) => node.nodeType === 8;\nfunction createHydrationFunctions(rendererInternals) {\n const {\n mt: mountComponent,\n p: patch,\n o: {\n patchProp,\n createText,\n nextSibling,\n parentNode,\n remove,\n insert,\n createComment\n }\n } = rendererInternals;\n const hydrate = (vnode, container) => {\n if (!container.hasChildNodes()) {\n (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_HYDRATION_MISMATCH_DETAILS__) && warn$1(\n `Attempting to hydrate existing markup but container is empty. Performing full mount instead.`\n );\n patch(null, vnode, container);\n flushPostFlushCbs();\n container._vnode = vnode;\n return;\n }\n hydrateNode(container.firstChild, vnode, null, null, null);\n flushPostFlushCbs();\n container._vnode = vnode;\n };\n const hydrateNode = (node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized = false) => {\n optimized = optimized || !!vnode.dynamicChildren;\n const isFragmentStart = isComment(node) && node.data === \"[\";\n const onMismatch = () => handleMismatch(\n node,\n vnode,\n parentComponent,\n parentSuspense,\n slotScopeIds,\n isFragmentStart\n );\n const { type, ref, shapeFlag, patchFlag } = vnode;\n let domType = node.nodeType;\n vnode.el = node;\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n def(node, \"__vnode\", vnode, true);\n def(node, \"__vueParentComponent\", parentComponent, true);\n }\n if (patchFlag === -2) {\n optimized = false;\n vnode.dynamicChildren = null;\n }\n let nextNode = null;\n switch (type) {\n case Text:\n if (domType !== 3) {\n if (vnode.children === \"\") {\n insert(vnode.el = createText(\"\"), parentNode(node), node);\n nextNode = node;\n } else {\n nextNode = onMismatch();\n }\n } else {\n if (node.data !== vnode.children) {\n (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_HYDRATION_MISMATCH_DETAILS__) && warn$1(\n `Hydration text mismatch in`,\n node.parentNode,\n `\n - rendered on server: ${JSON.stringify(\n node.data\n )}\n - expected on client: ${JSON.stringify(vnode.children)}`\n );\n logMismatchError();\n node.data = vnode.children;\n }\n nextNode = nextSibling(node);\n }\n break;\n case Comment:\n if (isTemplateNode(node)) {\n nextNode = nextSibling(node);\n replaceNode(\n vnode.el = node.content.firstChild,\n node,\n parentComponent\n );\n } else if (domType !== 8 || isFragmentStart) {\n nextNode = onMismatch();\n } else {\n nextNode = nextSibling(node);\n }\n break;\n case Static:\n if (isFragmentStart) {\n node = nextSibling(node);\n domType = node.nodeType;\n }\n if (domType === 1 || domType === 3) {\n nextNode = node;\n const needToAdoptContent = !vnode.children.length;\n for (let i = 0; i < vnode.staticCount; i++) {\n if (needToAdoptContent)\n vnode.children += nextNode.nodeType === 1 ? nextNode.outerHTML : nextNode.data;\n if (i === vnode.staticCount - 1) {\n vnode.anchor = nextNode;\n }\n nextNode = nextSibling(nextNode);\n }\n return isFragmentStart ? nextSibling(nextNode) : nextNode;\n } else {\n onMismatch();\n }\n break;\n case Fragment:\n if (!isFragmentStart) {\n nextNode = onMismatch();\n } else {\n nextNode = hydrateFragment(\n node,\n vnode,\n parentComponent,\n parentSuspense,\n slotScopeIds,\n optimized\n );\n }\n break;\n default:\n if (shapeFlag & 1) {\n if ((domType !== 1 || vnode.type.toLowerCase() !== node.tagName.toLowerCase()) && !isTemplateNode(node)) {\n nextNode = onMismatch();\n } else {\n nextNode = hydrateElement(\n node,\n vnode,\n parentComponent,\n parentSuspense,\n slotScopeIds,\n optimized\n );\n }\n } else if (shapeFlag & 6) {\n vnode.slotScopeIds = slotScopeIds;\n const container = parentNode(node);\n if (isFragmentStart) {\n nextNode = locateClosingAnchor(node);\n } else if (isComment(node) && node.data === \"teleport start\") {\n nextNode = locateClosingAnchor(node, node.data, \"teleport end\");\n } else {\n nextNode = nextSibling(node);\n }\n mountComponent(\n vnode,\n container,\n null,\n parentComponent,\n parentSuspense,\n getContainerType(container),\n optimized\n );\n if (isAsyncWrapper(vnode) && !vnode.type.__asyncResolved) {\n let subTree;\n if (isFragmentStart) {\n subTree = createVNode(Fragment);\n subTree.anchor = nextNode ? nextNode.previousSibling : container.lastChild;\n } else {\n subTree = node.nodeType === 3 ? createTextVNode(\"\") : createVNode(\"div\");\n }\n subTree.el = node;\n vnode.component.subTree = subTree;\n }\n } else if (shapeFlag & 64) {\n if (domType !== 8) {\n nextNode = onMismatch();\n } else {\n nextNode = vnode.type.hydrate(\n node,\n vnode,\n parentComponent,\n parentSuspense,\n slotScopeIds,\n optimized,\n rendererInternals,\n hydrateChildren\n );\n }\n } else if (shapeFlag & 128) {\n nextNode = vnode.type.hydrate(\n node,\n vnode,\n parentComponent,\n parentSuspense,\n getContainerType(parentNode(node)),\n slotScopeIds,\n optimized,\n rendererInternals,\n hydrateNode\n );\n } else if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_HYDRATION_MISMATCH_DETAILS__) {\n warn$1(\"Invalid HostVNode type:\", type, `(${typeof type})`);\n }\n }\n if (ref != null) {\n setRef(ref, null, parentSuspense, vnode);\n }\n return nextNode;\n };\n const hydrateElement = (el, vnode, parentComponent, parentSuspense, slotScopeIds, optimized) => {\n optimized = optimized || !!vnode.dynamicChildren;\n const { type, props, patchFlag, shapeFlag, dirs, transition } = vnode;\n const forcePatch = type === \"input\" || type === \"option\";\n if (!!(process.env.NODE_ENV !== \"production\") || forcePatch || patchFlag !== -1) {\n if (dirs) {\n invokeDirectiveHook(vnode, null, parentComponent, \"created\");\n }\n let needCallTransitionHooks = false;\n if (isTemplateNode(el)) {\n needCallTransitionHooks = needTransition(\n null,\n // no need check parentSuspense in hydration\n transition\n ) && parentComponent && parentComponent.vnode.props && parentComponent.vnode.props.appear;\n const content = el.content.firstChild;\n if (needCallTransitionHooks) {\n transition.beforeEnter(content);\n }\n replaceNode(content, el, parentComponent);\n vnode.el = el = content;\n }\n if (shapeFlag & 16 && // skip if element has innerHTML / textContent\n !(props && (props.innerHTML || props.textContent))) {\n let next = hydrateChildren(\n el.firstChild,\n vnode,\n el,\n parentComponent,\n parentSuspense,\n slotScopeIds,\n optimized\n );\n let hasWarned = false;\n while (next) {\n if (!isMismatchAllowed(el, 1 /* CHILDREN */)) {\n if ((!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_HYDRATION_MISMATCH_DETAILS__) && !hasWarned) {\n warn$1(\n `Hydration children mismatch on`,\n el,\n `\nServer rendered element contains more child nodes than client vdom.`\n );\n hasWarned = true;\n }\n logMismatchError();\n }\n const cur = next;\n next = next.nextSibling;\n remove(cur);\n }\n } else if (shapeFlag & 8) {\n let clientText = vnode.children;\n if (clientText[0] === \"\\n\" && (el.tagName === \"PRE\" || el.tagName === \"TEXTAREA\")) {\n clientText = clientText.slice(1);\n }\n if (el.textContent !== clientText) {\n if (!isMismatchAllowed(el, 0 /* TEXT */)) {\n (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_HYDRATION_MISMATCH_DETAILS__) && warn$1(\n `Hydration text content mismatch on`,\n el,\n `\n - rendered on server: ${el.textContent}\n - expected on client: ${vnode.children}`\n );\n logMismatchError();\n }\n el.textContent = vnode.children;\n }\n }\n if (props) {\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_HYDRATION_MISMATCH_DETAILS__ || forcePatch || !optimized || patchFlag & (16 | 32)) {\n const isCustomElement = el.tagName.includes(\"-\");\n for (const key in props) {\n if ((!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_HYDRATION_MISMATCH_DETAILS__) && // #11189 skip if this node has directives that have created hooks\n // as it could have mutated the DOM in any possible way\n !(dirs && dirs.some((d) => d.dir.created)) && propHasMismatch(el, key, props[key], vnode, parentComponent)) {\n logMismatchError();\n }\n if (forcePatch && (key.endsWith(\"value\") || key === \"indeterminate\") || isOn(key) && !isReservedProp(key) || // force hydrate v-bind with .prop modifiers\n key[0] === \".\" || isCustomElement) {\n patchProp(el, key, null, props[key], void 0, parentComponent);\n }\n }\n } else if (props.onClick) {\n patchProp(\n el,\n \"onClick\",\n null,\n props.onClick,\n void 0,\n parentComponent\n );\n } else if (patchFlag & 4 && isReactive(props.style)) {\n for (const key in props.style) props.style[key];\n }\n }\n let vnodeHooks;\n if (vnodeHooks = props && props.onVnodeBeforeMount) {\n invokeVNodeHook(vnodeHooks, parentComponent, vnode);\n }\n if (dirs) {\n invokeDirectiveHook(vnode, null, parentComponent, \"beforeMount\");\n }\n if ((vnodeHooks = props && props.onVnodeMounted) || dirs || needCallTransitionHooks) {\n queueEffectWithSuspense(() => {\n vnodeHooks && invokeVNodeHook(vnodeHooks, parentComponent, vnode);\n needCallTransitionHooks && transition.enter(el);\n dirs && invokeDirectiveHook(vnode, null, parentComponent, \"mounted\");\n }, parentSuspense);\n }\n }\n return el.nextSibling;\n };\n const hydrateChildren = (node, parentVNode, container, parentComponent, parentSuspense, slotScopeIds, optimized) => {\n optimized = optimized || !!parentVNode.dynamicChildren;\n const children = parentVNode.children;\n const l = children.length;\n let hasWarned = false;\n for (let i = 0; i < l; i++) {\n const vnode = optimized ? children[i] : children[i] = normalizeVNode(children[i]);\n const isText = vnode.type === Text;\n if (node) {\n if (isText && !optimized) {\n if (i + 1 < l && normalizeVNode(children[i + 1]).type === Text) {\n insert(\n createText(\n node.data.slice(vnode.children.length)\n ),\n container,\n nextSibling(node)\n );\n node.data = vnode.children;\n }\n }\n node = hydrateNode(\n node,\n vnode,\n parentComponent,\n parentSuspense,\n slotScopeIds,\n optimized\n );\n } else if (isText && !vnode.children) {\n insert(vnode.el = createText(\"\"), container);\n } else {\n if (!isMismatchAllowed(container, 1 /* CHILDREN */)) {\n if ((!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_HYDRATION_MISMATCH_DETAILS__) && !hasWarned) {\n warn$1(\n `Hydration children mismatch on`,\n container,\n `\nServer rendered element contains fewer child nodes than client vdom.`\n );\n hasWarned = true;\n }\n logMismatchError();\n }\n patch(\n null,\n vnode,\n container,\n null,\n parentComponent,\n parentSuspense,\n getContainerType(container),\n slotScopeIds\n );\n }\n }\n return node;\n };\n const hydrateFragment = (node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized) => {\n const { slotScopeIds: fragmentSlotScopeIds } = vnode;\n if (fragmentSlotScopeIds) {\n slotScopeIds = slotScopeIds ? slotScopeIds.concat(fragmentSlotScopeIds) : fragmentSlotScopeIds;\n }\n const container = parentNode(node);\n const next = hydrateChildren(\n nextSibling(node),\n vnode,\n container,\n parentComponent,\n parentSuspense,\n slotScopeIds,\n optimized\n );\n if (next && isComment(next) && next.data === \"]\") {\n return nextSibling(vnode.anchor = next);\n } else {\n logMismatchError();\n insert(vnode.anchor = createComment(`]`), container, next);\n return next;\n }\n };\n const handleMismatch = (node, vnode, parentComponent, parentSuspense, slotScopeIds, isFragment) => {\n if (!isMismatchAllowed(node.parentElement, 1 /* CHILDREN */)) {\n (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_HYDRATION_MISMATCH_DETAILS__) && warn$1(\n `Hydration node mismatch:\n- rendered on server:`,\n node,\n node.nodeType === 3 ? `(text)` : isComment(node) && node.data === \"[\" ? `(start of fragment)` : ``,\n `\n- expected on client:`,\n vnode.type\n );\n logMismatchError();\n }\n vnode.el = null;\n if (isFragment) {\n const end = locateClosingAnchor(node);\n while (true) {\n const next2 = nextSibling(node);\n if (next2 && next2 !== end) {\n remove(next2);\n } else {\n break;\n }\n }\n }\n const next = nextSibling(node);\n const container = parentNode(node);\n remove(node);\n patch(\n null,\n vnode,\n container,\n next,\n parentComponent,\n parentSuspense,\n getContainerType(container),\n slotScopeIds\n );\n if (parentComponent) {\n parentComponent.vnode.el = vnode.el;\n updateHOCHostEl(parentComponent, vnode.el);\n }\n return next;\n };\n const locateClosingAnchor = (node, open = \"[\", close = \"]\") => {\n let match = 0;\n while (node) {\n node = nextSibling(node);\n if (node && isComment(node)) {\n if (node.data === open) match++;\n if (node.data === close) {\n if (match === 0) {\n return nextSibling(node);\n } else {\n match--;\n }\n }\n }\n }\n return node;\n };\n const replaceNode = (newNode, oldNode, parentComponent) => {\n const parentNode2 = oldNode.parentNode;\n if (parentNode2) {\n parentNode2.replaceChild(newNode, oldNode);\n }\n let parent = parentComponent;\n while (parent) {\n if (parent.vnode.el === oldNode) {\n parent.vnode.el = parent.subTree.el = newNode;\n }\n parent = parent.parent;\n }\n };\n const isTemplateNode = (node) => {\n return node.nodeType === 1 && node.tagName === \"TEMPLATE\";\n };\n return [hydrate, hydrateNode];\n}\nfunction propHasMismatch(el, key, clientValue, vnode, instance) {\n let mismatchType;\n let mismatchKey;\n let actual;\n let expected;\n if (key === \"class\") {\n actual = el.getAttribute(\"class\");\n expected = normalizeClass(clientValue);\n if (!isSetEqual(toClassSet(actual || \"\"), toClassSet(expected))) {\n mismatchType = 2 /* CLASS */;\n mismatchKey = `class`;\n }\n } else if (key === \"style\") {\n actual = el.getAttribute(\"style\") || \"\";\n expected = isString(clientValue) ? clientValue : stringifyStyle(normalizeStyle(clientValue));\n const actualMap = toStyleMap(actual);\n const expectedMap = toStyleMap(expected);\n if (vnode.dirs) {\n for (const { dir, value } of vnode.dirs) {\n if (dir.name === \"show\" && !value) {\n expectedMap.set(\"display\", \"none\");\n }\n }\n }\n if (instance) {\n resolveCssVars(instance, vnode, expectedMap);\n }\n if (!isMapEqual(actualMap, expectedMap)) {\n mismatchType = 3 /* STYLE */;\n mismatchKey = \"style\";\n }\n } else if (el instanceof SVGElement && isKnownSvgAttr(key) || el instanceof HTMLElement && (isBooleanAttr(key) || isKnownHtmlAttr(key))) {\n if (isBooleanAttr(key)) {\n actual = el.hasAttribute(key);\n expected = includeBooleanAttr(clientValue);\n } else if (clientValue == null) {\n actual = el.hasAttribute(key);\n expected = false;\n } else {\n if (el.hasAttribute(key)) {\n actual = el.getAttribute(key);\n } else if (key === \"value\" && el.tagName === \"TEXTAREA\") {\n actual = el.value;\n } else {\n actual = false;\n }\n expected = isRenderableAttrValue(clientValue) ? String(clientValue) : false;\n }\n if (actual !== expected) {\n mismatchType = 4 /* ATTRIBUTE */;\n mismatchKey = key;\n }\n }\n if (mismatchType != null && !isMismatchAllowed(el, mismatchType)) {\n const format = (v) => v === false ? `(not rendered)` : `${mismatchKey}=\"${v}\"`;\n const preSegment = `Hydration ${MismatchTypeString[mismatchType]} mismatch on`;\n const postSegment = `\n - rendered on server: ${format(actual)}\n - expected on client: ${format(expected)}\n Note: this mismatch is check-only. The DOM will not be rectified in production due to performance overhead.\n You should fix the source of the mismatch.`;\n {\n warn$1(preSegment, el, postSegment);\n }\n return true;\n }\n return false;\n}\nfunction toClassSet(str) {\n return new Set(str.trim().split(/\\s+/));\n}\nfunction isSetEqual(a, b) {\n if (a.size !== b.size) {\n return false;\n }\n for (const s of a) {\n if (!b.has(s)) {\n return false;\n }\n }\n return true;\n}\nfunction toStyleMap(str) {\n const styleMap = /* @__PURE__ */ new Map();\n for (const item of str.split(\";\")) {\n let [key, value] = item.split(\":\");\n key = key.trim();\n value = value && value.trim();\n if (key && value) {\n styleMap.set(key, value);\n }\n }\n return styleMap;\n}\nfunction isMapEqual(a, b) {\n if (a.size !== b.size) {\n return false;\n }\n for (const [key, value] of a) {\n if (value !== b.get(key)) {\n return false;\n }\n }\n return true;\n}\nfunction resolveCssVars(instance, vnode, expectedMap) {\n const root = instance.subTree;\n if (instance.getCssVars && (vnode === root || root && root.type === Fragment && root.children.includes(vnode))) {\n const cssVars = instance.getCssVars();\n for (const key in cssVars) {\n expectedMap.set(\n `--${getEscapedCssVarName(key, false)}`,\n String(cssVars[key])\n );\n }\n }\n if (vnode === root && instance.parent) {\n resolveCssVars(instance.parent, instance.vnode, expectedMap);\n }\n}\nconst allowMismatchAttr = \"data-allow-mismatch\";\nconst MismatchTypeString = {\n [0 /* TEXT */]: \"text\",\n [1 /* CHILDREN */]: \"children\",\n [2 /* CLASS */]: \"class\",\n [3 /* STYLE */]: \"style\",\n [4 /* ATTRIBUTE */]: \"attribute\"\n};\nfunction isMismatchAllowed(el, allowedType) {\n if (allowedType === 0 /* TEXT */ || allowedType === 1 /* CHILDREN */) {\n while (el && !el.hasAttribute(allowMismatchAttr)) {\n el = el.parentElement;\n }\n }\n const allowedAttr = el && el.getAttribute(allowMismatchAttr);\n if (allowedAttr == null) {\n return false;\n } else if (allowedAttr === \"\") {\n return true;\n } else {\n const list = allowedAttr.split(\",\");\n if (allowedType === 0 /* TEXT */ && list.includes(\"children\")) {\n return true;\n }\n return allowedAttr.split(\",\").includes(MismatchTypeString[allowedType]);\n }\n}\n\nconst requestIdleCallback = getGlobalThis().requestIdleCallback || ((cb) => setTimeout(cb, 1));\nconst cancelIdleCallback = getGlobalThis().cancelIdleCallback || ((id) => clearTimeout(id));\nconst hydrateOnIdle = (timeout = 1e4) => (hydrate) => {\n const id = requestIdleCallback(hydrate, { timeout });\n return () => cancelIdleCallback(id);\n};\nfunction elementIsVisibleInViewport(el) {\n const { top, left, bottom, right } = el.getBoundingClientRect();\n const { innerHeight, innerWidth } = window;\n return (top > 0 && top < innerHeight || bottom > 0 && bottom < innerHeight) && (left > 0 && left < innerWidth || right > 0 && right < innerWidth);\n}\nconst hydrateOnVisible = (opts) => (hydrate, forEach) => {\n const ob = new IntersectionObserver((entries) => {\n for (const e of entries) {\n if (!e.isIntersecting) continue;\n ob.disconnect();\n hydrate();\n break;\n }\n }, opts);\n forEach((el) => {\n if (!(el instanceof Element)) return;\n if (elementIsVisibleInViewport(el)) {\n hydrate();\n ob.disconnect();\n return false;\n }\n ob.observe(el);\n });\n return () => ob.disconnect();\n};\nconst hydrateOnMediaQuery = (query) => (hydrate) => {\n if (query) {\n const mql = matchMedia(query);\n if (mql.matches) {\n hydrate();\n } else {\n mql.addEventListener(\"change\", hydrate, { once: true });\n return () => mql.removeEventListener(\"change\", hydrate);\n }\n }\n};\nconst hydrateOnInteraction = (interactions = []) => (hydrate, forEach) => {\n if (isString(interactions)) interactions = [interactions];\n let hasHydrated = false;\n const doHydrate = (e) => {\n if (!hasHydrated) {\n hasHydrated = true;\n teardown();\n hydrate();\n e.target.dispatchEvent(new e.constructor(e.type, e));\n }\n };\n const teardown = () => {\n forEach((el) => {\n for (const i of interactions) {\n el.removeEventListener(i, doHydrate);\n }\n });\n };\n forEach((el) => {\n for (const i of interactions) {\n el.addEventListener(i, doHydrate, { once: true });\n }\n });\n return teardown;\n};\nfunction forEachElement(node, cb) {\n if (isComment(node) && node.data === \"[\") {\n let depth = 1;\n let next = node.nextSibling;\n while (next) {\n if (next.nodeType === 1) {\n const result = cb(next);\n if (result === false) {\n break;\n }\n } else if (isComment(next)) {\n if (next.data === \"]\") {\n if (--depth === 0) break;\n } else if (next.data === \"[\") {\n depth++;\n }\n }\n next = next.nextSibling;\n }\n } else {\n cb(node);\n }\n}\n\nconst isAsyncWrapper = (i) => !!i.type.__asyncLoader;\n/*! #__NO_SIDE_EFFECTS__ */\n// @__NO_SIDE_EFFECTS__\nfunction defineAsyncComponent(source) {\n if (isFunction(source)) {\n source = { loader: source };\n }\n const {\n loader,\n loadingComponent,\n errorComponent,\n delay = 200,\n hydrate: hydrateStrategy,\n timeout,\n // undefined = never times out\n suspensible = true,\n onError: userOnError\n } = source;\n let pendingRequest = null;\n let resolvedComp;\n let retries = 0;\n const retry = () => {\n retries++;\n pendingRequest = null;\n return load();\n };\n const load = () => {\n let thisRequest;\n return pendingRequest || (thisRequest = pendingRequest = loader().catch((err) => {\n err = err instanceof Error ? err : new Error(String(err));\n if (userOnError) {\n return new Promise((resolve, reject) => {\n const userRetry = () => resolve(retry());\n const userFail = () => reject(err);\n userOnError(err, userRetry, userFail, retries + 1);\n });\n } else {\n throw err;\n }\n }).then((comp) => {\n if (thisRequest !== pendingRequest && pendingRequest) {\n return pendingRequest;\n }\n if (!!(process.env.NODE_ENV !== \"production\") && !comp) {\n warn$1(\n `Async component loader resolved to undefined. If you are using retry(), make sure to return its return value.`\n );\n }\n if (comp && (comp.__esModule || comp[Symbol.toStringTag] === \"Module\")) {\n comp = comp.default;\n }\n if (!!(process.env.NODE_ENV !== \"production\") && comp && !isObject(comp) && !isFunction(comp)) {\n throw new Error(`Invalid async component load result: ${comp}`);\n }\n resolvedComp = comp;\n return comp;\n }));\n };\n return defineComponent({\n name: \"AsyncComponentWrapper\",\n __asyncLoader: load,\n __asyncHydrate(el, instance, hydrate) {\n const doHydrate = hydrateStrategy ? () => {\n const teardown = hydrateStrategy(\n hydrate,\n (cb) => forEachElement(el, cb)\n );\n if (teardown) {\n (instance.bum || (instance.bum = [])).push(teardown);\n }\n } : hydrate;\n if (resolvedComp) {\n doHydrate();\n } else {\n load().then(() => !instance.isUnmounted && doHydrate());\n }\n },\n get __asyncResolved() {\n return resolvedComp;\n },\n setup() {\n const instance = currentInstance;\n markAsyncBoundary(instance);\n if (resolvedComp) {\n return () => createInnerComp(resolvedComp, instance);\n }\n const onError = (err) => {\n pendingRequest = null;\n handleError(\n err,\n instance,\n 13,\n !errorComponent\n );\n };\n if (suspensible && instance.suspense || isInSSRComponentSetup) {\n return load().then((comp) => {\n return () => createInnerComp(comp, instance);\n }).catch((err) => {\n onError(err);\n return () => errorComponent ? createVNode(errorComponent, {\n error: err\n }) : null;\n });\n }\n const loaded = ref(false);\n const error = ref();\n const delayed = ref(!!delay);\n if (delay) {\n setTimeout(() => {\n delayed.value = false;\n }, delay);\n }\n if (timeout != null) {\n setTimeout(() => {\n if (!loaded.value && !error.value) {\n const err = new Error(\n `Async component timed out after ${timeout}ms.`\n );\n onError(err);\n error.value = err;\n }\n }, timeout);\n }\n load().then(() => {\n loaded.value = true;\n if (instance.parent && isKeepAlive(instance.parent.vnode)) {\n instance.parent.update();\n }\n }).catch((err) => {\n onError(err);\n error.value = err;\n });\n return () => {\n if (loaded.value && resolvedComp) {\n return createInnerComp(resolvedComp, instance);\n } else if (error.value && errorComponent) {\n return createVNode(errorComponent, {\n error: error.value\n });\n } else if (loadingComponent && !delayed.value) {\n return createVNode(loadingComponent);\n }\n };\n }\n });\n}\nfunction createInnerComp(comp, parent) {\n const { ref: ref2, props, children, ce } = parent.vnode;\n const vnode = createVNode(comp, props, children);\n vnode.ref = ref2;\n vnode.ce = ce;\n delete parent.vnode.ce;\n return vnode;\n}\n\nconst isKeepAlive = (vnode) => vnode.type.__isKeepAlive;\nconst KeepAliveImpl = {\n name: `KeepAlive`,\n // Marker for special handling inside the renderer. We are not using a ===\n // check directly on KeepAlive in the renderer, because importing it directly\n // would prevent it from being tree-shaken.\n __isKeepAlive: true,\n props: {\n include: [String, RegExp, Array],\n exclude: [String, RegExp, Array],\n max: [String, Number]\n },\n setup(props, { slots }) {\n const instance = getCurrentInstance();\n const sharedContext = instance.ctx;\n if (!sharedContext.renderer) {\n return () => {\n const children = slots.default && slots.default();\n return children && children.length === 1 ? children[0] : children;\n };\n }\n const cache = /* @__PURE__ */ new Map();\n const keys = /* @__PURE__ */ new Set();\n let current = null;\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n instance.__v_cache = cache;\n }\n const parentSuspense = instance.suspense;\n const {\n renderer: {\n p: patch,\n m: move,\n um: _unmount,\n o: { createElement }\n }\n } = sharedContext;\n const storageContainer = createElement(\"div\");\n sharedContext.activate = (vnode, container, anchor, namespace, optimized) => {\n const instance2 = vnode.component;\n move(vnode, container, anchor, 0, parentSuspense);\n patch(\n instance2.vnode,\n vnode,\n container,\n anchor,\n instance2,\n parentSuspense,\n namespace,\n vnode.slotScopeIds,\n optimized\n );\n queuePostRenderEffect(() => {\n instance2.isDeactivated = false;\n if (instance2.a) {\n invokeArrayFns(instance2.a);\n }\n const vnodeHook = vnode.props && vnode.props.onVnodeMounted;\n if (vnodeHook) {\n invokeVNodeHook(vnodeHook, instance2.parent, vnode);\n }\n }, parentSuspense);\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n devtoolsComponentAdded(instance2);\n }\n };\n sharedContext.deactivate = (vnode) => {\n const instance2 = vnode.component;\n invalidateMount(instance2.m);\n invalidateMount(instance2.a);\n move(vnode, storageContainer, null, 1, parentSuspense);\n queuePostRenderEffect(() => {\n if (instance2.da) {\n invokeArrayFns(instance2.da);\n }\n const vnodeHook = vnode.props && vnode.props.onVnodeUnmounted;\n if (vnodeHook) {\n invokeVNodeHook(vnodeHook, instance2.parent, vnode);\n }\n instance2.isDeactivated = true;\n }, parentSuspense);\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n devtoolsComponentAdded(instance2);\n }\n };\n function unmount(vnode) {\n resetShapeFlag(vnode);\n _unmount(vnode, instance, parentSuspense, true);\n }\n function pruneCache(filter) {\n cache.forEach((vnode, key) => {\n const name = getComponentName(vnode.type);\n if (name && !filter(name)) {\n pruneCacheEntry(key);\n }\n });\n }\n function pruneCacheEntry(key) {\n const cached = cache.get(key);\n if (cached && (!current || !isSameVNodeType(cached, current))) {\n unmount(cached);\n } else if (current) {\n resetShapeFlag(current);\n }\n cache.delete(key);\n keys.delete(key);\n }\n watch(\n () => [props.include, props.exclude],\n ([include, exclude]) => {\n include && pruneCache((name) => matches(include, name));\n exclude && pruneCache((name) => !matches(exclude, name));\n },\n // prune post-render after `current` has been updated\n { flush: \"post\", deep: true }\n );\n let pendingCacheKey = null;\n const cacheSubtree = () => {\n if (pendingCacheKey != null) {\n if (isSuspense(instance.subTree.type)) {\n queuePostRenderEffect(() => {\n cache.set(pendingCacheKey, getInnerChild(instance.subTree));\n }, instance.subTree.suspense);\n } else {\n cache.set(pendingCacheKey, getInnerChild(instance.subTree));\n }\n }\n };\n onMounted(cacheSubtree);\n onUpdated(cacheSubtree);\n onBeforeUnmount(() => {\n cache.forEach((cached) => {\n const { subTree, suspense } = instance;\n const vnode = getInnerChild(subTree);\n if (cached.type === vnode.type && cached.key === vnode.key) {\n resetShapeFlag(vnode);\n const da = vnode.component.da;\n da && queuePostRenderEffect(da, suspense);\n return;\n }\n unmount(cached);\n });\n });\n return () => {\n pendingCacheKey = null;\n if (!slots.default) {\n return current = null;\n }\n const children = slots.default();\n const rawVNode = children[0];\n if (children.length > 1) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$1(`KeepAlive should contain exactly one component child.`);\n }\n current = null;\n return children;\n } else if (!isVNode(rawVNode) || !(rawVNode.shapeFlag & 4) && !(rawVNode.shapeFlag & 128)) {\n current = null;\n return rawVNode;\n }\n let vnode = getInnerChild(rawVNode);\n if (vnode.type === Comment) {\n current = null;\n return vnode;\n }\n const comp = vnode.type;\n const name = getComponentName(\n isAsyncWrapper(vnode) ? vnode.type.__asyncResolved || {} : comp\n );\n const { include, exclude, max } = props;\n if (include && (!name || !matches(include, name)) || exclude && name && matches(exclude, name)) {\n vnode.shapeFlag &= ~256;\n current = vnode;\n return rawVNode;\n }\n const key = vnode.key == null ? comp : vnode.key;\n const cachedVNode = cache.get(key);\n if (vnode.el) {\n vnode = cloneVNode(vnode);\n if (rawVNode.shapeFlag & 128) {\n rawVNode.ssContent = vnode;\n }\n }\n pendingCacheKey = key;\n if (cachedVNode) {\n vnode.el = cachedVNode.el;\n vnode.component = cachedVNode.component;\n if (vnode.transition) {\n setTransitionHooks(vnode, vnode.transition);\n }\n vnode.shapeFlag |= 512;\n keys.delete(key);\n keys.add(key);\n } else {\n keys.add(key);\n if (max && keys.size > parseInt(max, 10)) {\n pruneCacheEntry(keys.values().next().value);\n }\n }\n vnode.shapeFlag |= 256;\n current = vnode;\n return isSuspense(rawVNode.type) ? rawVNode : vnode;\n };\n }\n};\nconst KeepAlive = KeepAliveImpl;\nfunction matches(pattern, name) {\n if (isArray(pattern)) {\n return pattern.some((p) => matches(p, name));\n } else if (isString(pattern)) {\n return pattern.split(\",\").includes(name);\n } else if (isRegExp(pattern)) {\n pattern.lastIndex = 0;\n return pattern.test(name);\n }\n return false;\n}\nfunction onActivated(hook, target) {\n registerKeepAliveHook(hook, \"a\", target);\n}\nfunction onDeactivated(hook, target) {\n registerKeepAliveHook(hook, \"da\", target);\n}\nfunction registerKeepAliveHook(hook, type, target = currentInstance) {\n const wrappedHook = hook.__wdc || (hook.__wdc = () => {\n let current = target;\n while (current) {\n if (current.isDeactivated) {\n return;\n }\n current = current.parent;\n }\n return hook();\n });\n injectHook(type, wrappedHook, target);\n if (target) {\n let current = target.parent;\n while (current && current.parent) {\n if (isKeepAlive(current.parent.vnode)) {\n injectToKeepAliveRoot(wrappedHook, type, target, current);\n }\n current = current.parent;\n }\n }\n}\nfunction injectToKeepAliveRoot(hook, type, target, keepAliveRoot) {\n const injected = injectHook(\n type,\n hook,\n keepAliveRoot,\n true\n /* prepend */\n );\n onUnmounted(() => {\n remove(keepAliveRoot[type], injected);\n }, target);\n}\nfunction resetShapeFlag(vnode) {\n vnode.shapeFlag &= ~256;\n vnode.shapeFlag &= ~512;\n}\nfunction getInnerChild(vnode) {\n return vnode.shapeFlag & 128 ? vnode.ssContent : vnode;\n}\n\nfunction injectHook(type, hook, target = currentInstance, prepend = false) {\n if (target) {\n const hooks = target[type] || (target[type] = []);\n const wrappedHook = hook.__weh || (hook.__weh = (...args) => {\n pauseTracking();\n const reset = setCurrentInstance(target);\n const res = callWithAsyncErrorHandling(hook, target, type, args);\n reset();\n resetTracking();\n return res;\n });\n if (prepend) {\n hooks.unshift(wrappedHook);\n } else {\n hooks.push(wrappedHook);\n }\n return wrappedHook;\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n const apiName = toHandlerKey(ErrorTypeStrings$1[type].replace(/ hook$/, \"\"));\n warn$1(\n `${apiName} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup().` + (` If you are using async setup(), make sure to register lifecycle hooks before the first await statement.` )\n );\n }\n}\nconst createHook = (lifecycle) => (hook, target = currentInstance) => {\n if (!isInSSRComponentSetup || lifecycle === \"sp\") {\n injectHook(lifecycle, (...args) => hook(...args), target);\n }\n};\nconst onBeforeMount = createHook(\"bm\");\nconst onMounted = createHook(\"m\");\nconst onBeforeUpdate = createHook(\n \"bu\"\n);\nconst onUpdated = createHook(\"u\");\nconst onBeforeUnmount = createHook(\n \"bum\"\n);\nconst onUnmounted = createHook(\"um\");\nconst onServerPrefetch = createHook(\n \"sp\"\n);\nconst onRenderTriggered = createHook(\"rtg\");\nconst onRenderTracked = createHook(\"rtc\");\nfunction onErrorCaptured(hook, target = currentInstance) {\n injectHook(\"ec\", hook, target);\n}\n\nconst COMPONENTS = \"components\";\nconst DIRECTIVES = \"directives\";\nfunction resolveComponent(name, maybeSelfReference) {\n return resolveAsset(COMPONENTS, name, true, maybeSelfReference) || name;\n}\nconst NULL_DYNAMIC_COMPONENT = Symbol.for(\"v-ndc\");\nfunction resolveDynamicComponent(component) {\n if (isString(component)) {\n return resolveAsset(COMPONENTS, component, false) || component;\n } else {\n return component || NULL_DYNAMIC_COMPONENT;\n }\n}\nfunction resolveDirective(name) {\n return resolveAsset(DIRECTIVES, name);\n}\nfunction resolveAsset(type, name, warnMissing = true, maybeSelfReference = false) {\n const instance = currentRenderingInstance || currentInstance;\n if (instance) {\n const Component = instance.type;\n if (type === COMPONENTS) {\n const selfName = getComponentName(\n Component,\n false\n );\n if (selfName && (selfName === name || selfName === camelize(name) || selfName === capitalize(camelize(name)))) {\n return Component;\n }\n }\n const res = (\n // local registration\n // check instance[type] first which is resolved for options API\n resolve(instance[type] || Component[type], name) || // global registration\n resolve(instance.appContext[type], name)\n );\n if (!res && maybeSelfReference) {\n return Component;\n }\n if (!!(process.env.NODE_ENV !== \"production\") && warnMissing && !res) {\n const extra = type === COMPONENTS ? `\nIf this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.` : ``;\n warn$1(`Failed to resolve ${type.slice(0, -1)}: ${name}${extra}`);\n }\n return res;\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$1(\n `resolve${capitalize(type.slice(0, -1))} can only be used in render() or setup().`\n );\n }\n}\nfunction resolve(registry, name) {\n return registry && (registry[name] || registry[camelize(name)] || registry[capitalize(camelize(name))]);\n}\n\nfunction renderList(source, renderItem, cache, index) {\n let ret;\n const cached = cache && cache[index];\n const sourceIsArray = isArray(source);\n if (sourceIsArray || isString(source)) {\n const sourceIsReactiveArray = sourceIsArray && isReactive(source);\n let needsWrap = false;\n if (sourceIsReactiveArray) {\n needsWrap = !isShallow(source);\n source = shallowReadArray(source);\n }\n ret = new Array(source.length);\n for (let i = 0, l = source.length; i < l; i++) {\n ret[i] = renderItem(\n needsWrap ? toReactive(source[i]) : source[i],\n i,\n void 0,\n cached && cached[i]\n );\n }\n } else if (typeof source === \"number\") {\n if (!!(process.env.NODE_ENV !== \"production\") && !Number.isInteger(source)) {\n warn$1(`The v-for range expect an integer value but got ${source}.`);\n }\n ret = new Array(source);\n for (let i = 0; i < source; i++) {\n ret[i] = renderItem(i + 1, i, void 0, cached && cached[i]);\n }\n } else if (isObject(source)) {\n if (source[Symbol.iterator]) {\n ret = Array.from(\n source,\n (item, i) => renderItem(item, i, void 0, cached && cached[i])\n );\n } else {\n const keys = Object.keys(source);\n ret = new Array(keys.length);\n for (let i = 0, l = keys.length; i < l; i++) {\n const key = keys[i];\n ret[i] = renderItem(source[key], key, i, cached && cached[i]);\n }\n }\n } else {\n ret = [];\n }\n if (cache) {\n cache[index] = ret;\n }\n return ret;\n}\n\nfunction createSlots(slots, dynamicSlots) {\n for (let i = 0; i < dynamicSlots.length; i++) {\n const slot = dynamicSlots[i];\n if (isArray(slot)) {\n for (let j = 0; j < slot.length; j++) {\n slots[slot[j].name] = slot[j].fn;\n }\n } else if (slot) {\n slots[slot.name] = slot.key ? (...args) => {\n const res = slot.fn(...args);\n if (res) res.key = slot.key;\n return res;\n } : slot.fn;\n }\n }\n return slots;\n}\n\nfunction renderSlot(slots, name, props = {}, fallback, noSlotted) {\n if (currentRenderingInstance.ce || currentRenderingInstance.parent && isAsyncWrapper(currentRenderingInstance.parent) && currentRenderingInstance.parent.ce) {\n if (name !== \"default\") props.name = name;\n return openBlock(), createBlock(\n Fragment,\n null,\n [createVNode(\"slot\", props, fallback && fallback())],\n 64\n );\n }\n let slot = slots[name];\n if (!!(process.env.NODE_ENV !== \"production\") && slot && slot.length > 1) {\n warn$1(\n `SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template.`\n );\n slot = () => [];\n }\n if (slot && slot._c) {\n slot._d = false;\n }\n openBlock();\n const validSlotContent = slot && ensureValidVNode(slot(props));\n const slotKey = props.key || // slot content array of a dynamic conditional slot may have a branch\n // key attached in the `createSlots` helper, respect that\n validSlotContent && validSlotContent.key;\n const rendered = createBlock(\n Fragment,\n {\n key: (slotKey && !isSymbol(slotKey) ? slotKey : `_${name}`) + // #7256 force differentiate fallback content from actual content\n (!validSlotContent && fallback ? \"_fb\" : \"\")\n },\n validSlotContent || (fallback ? fallback() : []),\n validSlotContent && slots._ === 1 ? 64 : -2\n );\n if (!noSlotted && rendered.scopeId) {\n rendered.slotScopeIds = [rendered.scopeId + \"-s\"];\n }\n if (slot && slot._c) {\n slot._d = true;\n }\n return rendered;\n}\nfunction ensureValidVNode(vnodes) {\n return vnodes.some((child) => {\n if (!isVNode(child)) return true;\n if (child.type === Comment) return false;\n if (child.type === Fragment && !ensureValidVNode(child.children))\n return false;\n return true;\n }) ? vnodes : null;\n}\n\nfunction toHandlers(obj, preserveCaseIfNecessary) {\n const ret = {};\n if (!!(process.env.NODE_ENV !== \"production\") && !isObject(obj)) {\n warn$1(`v-on with no argument expects an object value.`);\n return ret;\n }\n for (const key in obj) {\n ret[preserveCaseIfNecessary && /[A-Z]/.test(key) ? `on:${key}` : toHandlerKey(key)] = obj[key];\n }\n return ret;\n}\n\nconst getPublicInstance = (i) => {\n if (!i) return null;\n if (isStatefulComponent(i)) return getComponentPublicInstance(i);\n return getPublicInstance(i.parent);\n};\nconst publicPropertiesMap = (\n // Move PURE marker to new line to workaround compiler discarding it\n // due to type annotation\n /* @__PURE__ */ extend(/* @__PURE__ */ Object.create(null), {\n $: (i) => i,\n $el: (i) => i.vnode.el,\n $data: (i) => i.data,\n $props: (i) => !!(process.env.NODE_ENV !== \"production\") ? shallowReadonly(i.props) : i.props,\n $attrs: (i) => !!(process.env.NODE_ENV !== \"production\") ? shallowReadonly(i.attrs) : i.attrs,\n $slots: (i) => !!(process.env.NODE_ENV !== \"production\") ? shallowReadonly(i.slots) : i.slots,\n $refs: (i) => !!(process.env.NODE_ENV !== \"production\") ? shallowReadonly(i.refs) : i.refs,\n $parent: (i) => getPublicInstance(i.parent),\n $root: (i) => getPublicInstance(i.root),\n $host: (i) => i.ce,\n $emit: (i) => i.emit,\n $options: (i) => __VUE_OPTIONS_API__ ? resolveMergedOptions(i) : i.type,\n $forceUpdate: (i) => i.f || (i.f = () => {\n queueJob(i.update);\n }),\n $nextTick: (i) => i.n || (i.n = nextTick.bind(i.proxy)),\n $watch: (i) => __VUE_OPTIONS_API__ ? instanceWatch.bind(i) : NOOP\n })\n);\nconst isReservedPrefix = (key) => key === \"_\" || key === \"$\";\nconst hasSetupBinding = (state, key) => state !== EMPTY_OBJ && !state.__isScriptSetup && hasOwn(state, key);\nconst PublicInstanceProxyHandlers = {\n get({ _: instance }, key) {\n if (key === \"__v_skip\") {\n return true;\n }\n const { ctx, setupState, data, props, accessCache, type, appContext } = instance;\n if (!!(process.env.NODE_ENV !== \"production\") && key === \"__isVue\") {\n return true;\n }\n let normalizedProps;\n if (key[0] !== \"$\") {\n const n = accessCache[key];\n if (n !== void 0) {\n switch (n) {\n case 1 /* SETUP */:\n return setupState[key];\n case 2 /* DATA */:\n return data[key];\n case 4 /* CONTEXT */:\n return ctx[key];\n case 3 /* PROPS */:\n return props[key];\n }\n } else if (hasSetupBinding(setupState, key)) {\n accessCache[key] = 1 /* SETUP */;\n return setupState[key];\n } else if (data !== EMPTY_OBJ && hasOwn(data, key)) {\n accessCache[key] = 2 /* DATA */;\n return data[key];\n } else if (\n // only cache other properties when instance has declared (thus stable)\n // props\n (normalizedProps = instance.propsOptions[0]) && hasOwn(normalizedProps, key)\n ) {\n accessCache[key] = 3 /* PROPS */;\n return props[key];\n } else if (ctx !== EMPTY_OBJ && hasOwn(ctx, key)) {\n accessCache[key] = 4 /* CONTEXT */;\n return ctx[key];\n } else if (!__VUE_OPTIONS_API__ || shouldCacheAccess) {\n accessCache[key] = 0 /* OTHER */;\n }\n }\n const publicGetter = publicPropertiesMap[key];\n let cssModule, globalProperties;\n if (publicGetter) {\n if (key === \"$attrs\") {\n track(instance.attrs, \"get\", \"\");\n !!(process.env.NODE_ENV !== \"production\") && markAttrsAccessed();\n } else if (!!(process.env.NODE_ENV !== \"production\") && key === \"$slots\") {\n track(instance, \"get\", key);\n }\n return publicGetter(instance);\n } else if (\n // css module (injected by vue-loader)\n (cssModule = type.__cssModules) && (cssModule = cssModule[key])\n ) {\n return cssModule;\n } else if (ctx !== EMPTY_OBJ && hasOwn(ctx, key)) {\n accessCache[key] = 4 /* CONTEXT */;\n return ctx[key];\n } else if (\n // global properties\n globalProperties = appContext.config.globalProperties, hasOwn(globalProperties, key)\n ) {\n {\n return globalProperties[key];\n }\n } else if (!!(process.env.NODE_ENV !== \"production\") && currentRenderingInstance && (!isString(key) || // #1091 avoid internal isRef/isVNode checks on component instance leading\n // to infinite warning loop\n key.indexOf(\"__v\") !== 0)) {\n if (data !== EMPTY_OBJ && isReservedPrefix(key[0]) && hasOwn(data, key)) {\n warn$1(\n `Property ${JSON.stringify(\n key\n )} must be accessed via $data because it starts with a reserved character (\"$\" or \"_\") and is not proxied on the render context.`\n );\n } else if (instance === currentRenderingInstance) {\n warn$1(\n `Property ${JSON.stringify(key)} was accessed during render but is not defined on instance.`\n );\n }\n }\n },\n set({ _: instance }, key, value) {\n const { data, setupState, ctx } = instance;\n if (hasSetupBinding(setupState, key)) {\n setupState[key] = value;\n return true;\n } else if (!!(process.env.NODE_ENV !== \"production\") && setupState.__isScriptSetup && hasOwn(setupState, key)) {\n warn$1(`Cannot mutate \n\n\n","/**\n * Modified for Vue 3 from https://github.com/ndelvalle/v-click-outside\n * Cf. https://github.com/ndelvalle/v-click-outside/issues/238\n */\n\nimport { DirectiveBinding, ObjectDirective } from 'vue';\n\nconst HANDLERS_PROPERTY = '__v-click-outside';\nconst HAS_WINDOWS = typeof window !== 'undefined';\nconst HAS_NAVIGATOR = typeof navigator !== 'undefined';\nconst IS_TOUCH =\n HAS_WINDOWS &&\n ('ontouchstart' in window || (HAS_NAVIGATOR && navigator.maxTouchPoints > 0));\nconst EVENTS = IS_TOUCH ? ['touchstart'] : ['click'];\n\ninterface ClickOutsideElement extends HTMLElement {\n [HANDLERS_PROPERTY]: any;\n}\n\ninterface HandlerObject {\n event: string;\n srcTarget: ClickOutsideElement | (Window & typeof globalThis);\n handler: EventListener;\n capture: boolean;\n}\n\ntype Middleware = (evt: MouseEvent) => boolean;\ntype Handler = (evt: MouseEvent) => void;\n\ninterface EventObject {\n el: ClickOutsideElement;\n event: MouseEvent;\n handler: Handler;\n middleware: Middleware;\n}\n\nconst processDirectiveArguments = (bindingValue: DirectiveBinding['value']) => {\n const isFunction = typeof bindingValue === 'function';\n if (!isFunction && typeof bindingValue !== 'object') {\n throw new Error(\n 'v-click-outside: Binding value must be a function or an object',\n );\n }\n\n return {\n handler: (isFunction ? bindingValue : bindingValue.handler) as Handler,\n middleware: (bindingValue.middleware ||\n ((item: Event) => item)) as Middleware,\n events: (bindingValue.events as string[]) || EVENTS,\n isActive: bindingValue.isActive !== false,\n detectIframe: bindingValue.detectIframe !== false,\n capture: Boolean(bindingValue.capture),\n };\n};\n\nconst execHandler = ({\n event,\n handler,\n middleware,\n}: Omit) => {\n if (middleware(event)) {\n handler(event);\n }\n};\n\nconst onFauxIframeClick = ({ el, event, handler, middleware }: EventObject) => {\n // Note: on firefox clicking on iframe triggers blur, but only on\n // next event loop it becomes document.activeElement\n // https://stackoverflow.com/q/2381336#comment61192398_23231136\n setTimeout(() => {\n const { activeElement } = document;\n if (\n activeElement &&\n activeElement.tagName === 'IFRAME' &&\n !el.contains(activeElement)\n ) {\n execHandler({ event, handler, middleware });\n }\n }, 0);\n};\n\nconst onEvent = ({ el, event, handler, middleware }: EventObject) => {\n // Note: composedPath is not supported on IE and Edge, more information here:\n // https://developer.mozilla.org/en-US/docs/Web/API/Event/composedPath\n // In the meanwhile, we are using el.contains for those browsers, not\n // the ideal solution, but using IE or EDGE is not ideal either.\n const path =\n (event as any).path || (event.composedPath && event.composedPath());\n const isClickOutside = path\n ? path.indexOf(el) < 0\n : !el.contains(event.target as Node | null);\n\n if (!isClickOutside) {\n return;\n }\n\n execHandler({ event, handler, middleware });\n};\n\nconst beforeMount = (el: ClickOutsideElement, { value }: DirectiveBinding) => {\n const { events, handler, middleware, isActive, detectIframe, capture } =\n processDirectiveArguments(value);\n if (!isActive) {\n return;\n }\n\n el[HANDLERS_PROPERTY] = events.map((eventName) => ({\n event: eventName,\n srcTarget: document.documentElement,\n handler: (event: MouseEvent) => onEvent({ el, event, handler, middleware }),\n capture,\n }));\n\n if (detectIframe) {\n const detectIframeEvent = {\n event: 'blur',\n srcTarget: window,\n handler: (event: MouseEvent) =>\n onFauxIframeClick({ el, event, handler, middleware }),\n capture,\n };\n\n el[HANDLERS_PROPERTY] = [...el[HANDLERS_PROPERTY], detectIframeEvent];\n }\n\n el[HANDLERS_PROPERTY].forEach(\n ({ event, srcTarget, handler: thisHandler }: HandlerObject) =>\n setTimeout(() => {\n // Note: More info about this implementation can be found here:\n // https://github.com/ndelvalle/v-click-outside/issues/137\n if (!el[HANDLERS_PROPERTY]) {\n return;\n }\n srcTarget.addEventListener(event, thisHandler, capture);\n }, 0),\n );\n};\n\nconst unmounted = (el: ClickOutsideElement) => {\n const handlers = (el[HANDLERS_PROPERTY] as HandlerObject[]) || [];\n handlers.forEach(({ event, srcTarget, handler, capture }) =>\n srcTarget.removeEventListener(event, handler, capture),\n );\n delete el[HANDLERS_PROPERTY];\n};\n\nconst updated = (\n el: ClickOutsideElement,\n { value, oldValue }: DirectiveBinding,\n) => {\n if (JSON.stringify(value) === JSON.stringify(oldValue)) {\n return;\n }\n unmounted(el);\n beforeMount(el, { value } as DirectiveBinding);\n};\n\nconst directive: ObjectDirective = {\n beforeMount,\n updated,\n unmounted,\n};\n\nexport default HAS_WINDOWS ? directive : {};\n","const configProviderContextKey = Symbol();\n\nexport { configProviderContextKey };\n//# sourceMappingURL=constants.mjs.map\n","import { getCurrentInstance, inject, ref, computed, unref } from 'vue';\n\nconst defaultNamespace = \"el\";\nconst statePrefix = \"is-\";\nconst _bem = (namespace, block, blockSuffix, element, modifier) => {\n let cls = `${namespace}-${block}`;\n if (blockSuffix) {\n cls += `-${blockSuffix}`;\n }\n if (element) {\n cls += `__${element}`;\n }\n if (modifier) {\n cls += `--${modifier}`;\n }\n return cls;\n};\nconst namespaceContextKey = Symbol(\"namespaceContextKey\");\nconst useGetDerivedNamespace = (namespaceOverrides) => {\n const derivedNamespace = namespaceOverrides || (getCurrentInstance() ? inject(namespaceContextKey, ref(defaultNamespace)) : ref(defaultNamespace));\n const namespace = computed(() => {\n return unref(derivedNamespace) || defaultNamespace;\n });\n return namespace;\n};\nconst useNamespace = (block, namespaceOverrides) => {\n const namespace = useGetDerivedNamespace(namespaceOverrides);\n const b = (blockSuffix = \"\") => _bem(namespace.value, block, blockSuffix, \"\", \"\");\n const e = (element) => element ? _bem(namespace.value, block, \"\", element, \"\") : \"\";\n const m = (modifier) => modifier ? _bem(namespace.value, block, \"\", \"\", modifier) : \"\";\n const be = (blockSuffix, element) => blockSuffix && element ? _bem(namespace.value, block, blockSuffix, element, \"\") : \"\";\n const em = (element, modifier) => element && modifier ? _bem(namespace.value, block, \"\", element, modifier) : \"\";\n const bm = (blockSuffix, modifier) => blockSuffix && modifier ? _bem(namespace.value, block, blockSuffix, \"\", modifier) : \"\";\n const bem = (blockSuffix, element, modifier) => blockSuffix && element && modifier ? _bem(namespace.value, block, blockSuffix, element, modifier) : \"\";\n const is = (name, ...args) => {\n const state = args.length >= 1 ? args[0] : true;\n return name && state ? `${statePrefix}${name}` : \"\";\n };\n const cssVar = (object) => {\n const styles = {};\n for (const key in object) {\n if (object[key]) {\n styles[`--${namespace.value}-${key}`] = object[key];\n }\n }\n return styles;\n };\n const cssVarBlock = (object) => {\n const styles = {};\n for (const key in object) {\n if (object[key]) {\n styles[`--${namespace.value}-${block}-${key}`] = object[key];\n }\n }\n return styles;\n };\n const cssVarName = (name) => `--${namespace.value}-${name}`;\n const cssVarBlockName = (name) => `--${namespace.value}-${block}-${name}`;\n return {\n namespace,\n b,\n e,\n m,\n be,\n em,\n bm,\n bem,\n is,\n cssVar,\n cssVarName,\n cssVarBlock,\n cssVarBlockName\n };\n};\n\nexport { defaultNamespace, namespaceContextKey, useGetDerivedNamespace, useNamespace };\n//# sourceMappingURL=index.mjs.map\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nexport default freeGlobal;\n","import freeGlobal from './_freeGlobal.js';\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nexport default root;\n","import root from './_root.js';\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nexport default Symbol;\n","import Symbol from './_Symbol.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nexport default getRawTag;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nexport default objectToString;\n","import Symbol from './_Symbol.js';\nimport getRawTag from './_getRawTag.js';\nimport objectToString from './_objectToString.js';\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nexport default baseGetTag;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nexport default isObjectLike;\n","import baseGetTag from './_baseGetTag.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nexport default isSymbol;\n","/**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction arrayMap(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n return result;\n}\n\nexport default arrayMap;\n","/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nexport default isArray;\n","import Symbol from './_Symbol.js';\nimport arrayMap from './_arrayMap.js';\nimport isArray from './isArray.js';\nimport isSymbol from './isSymbol.js';\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n/**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\nfunction baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isArray(value)) {\n // Recursively convert values (susceptible to call stack limits).\n return arrayMap(value, baseToString) + '';\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nexport default baseToString;\n","/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nexport default trimmedEndIndex;\n","import trimmedEndIndex from './_trimmedEndIndex.js';\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nexport default baseTrim;\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nexport default isObject;\n","import baseTrim from './_baseTrim.js';\nimport isObject from './isObject.js';\nimport isSymbol from './isSymbol.js';\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nexport default toNumber;\n","import baseGetTag from './_baseGetTag.js';\nimport isObject from './isObject.js';\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\nexport default isFunction;\n","import root from './_root.js';\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\nexport default coreJsData;\n","import coreJsData from './_coreJsData.js';\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\nexport default isMasked;\n","/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\nexport default toSource;\n","import isFunction from './isFunction.js';\nimport isMasked from './_isMasked.js';\nimport isObject from './isObject.js';\nimport toSource from './_toSource.js';\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\nexport default baseIsNative;\n","/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\nexport default getValue;\n","import baseIsNative from './_baseIsNative.js';\nimport getValue from './_getValue.js';\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\nexport default getNative;\n","import getNative from './_getNative.js';\nimport root from './_root.js';\n\n/* Built-in method references that are verified to be native. */\nvar WeakMap = getNative(root, 'WeakMap');\n\nexport default WeakMap;\n","import isObject from './isObject.js';\n\n/** Built-in value references. */\nvar objectCreate = Object.create;\n\n/**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\nvar baseCreate = (function() {\n function object() {}\n return function(proto) {\n if (!isObject(proto)) {\n return {};\n }\n if (objectCreate) {\n return objectCreate(proto);\n }\n object.prototype = proto;\n var result = new object;\n object.prototype = undefined;\n return result;\n };\n}());\n\nexport default baseCreate;\n","import getNative from './_getNative.js';\n\nvar defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n}());\n\nexport default defineProperty;\n","/**\n * A specialized version of `_.forEach` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\nfunction arrayEach(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (iteratee(array[index], index, array) === false) {\n break;\n }\n }\n return array;\n}\n\nexport default arrayEach;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\nexport default isIndex;\n","import defineProperty from './_defineProperty.js';\n\n/**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction baseAssignValue(object, key, value) {\n if (key == '__proto__' && defineProperty) {\n defineProperty(object, key, {\n 'configurable': true,\n 'enumerable': true,\n 'value': value,\n 'writable': true\n });\n } else {\n object[key] = value;\n }\n}\n\nexport default baseAssignValue;\n","/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\nexport default eq;\n","import baseAssignValue from './_baseAssignValue.js';\nimport eq from './eq.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\nexport default assignValue;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nexport default isLength;\n","import isFunction from './isFunction.js';\nimport isLength from './isLength.js';\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\nexport default isArrayLike;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\nexport default isPrototype;\n","/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\nexport default baseTimes;\n","import baseGetTag from './_baseGetTag.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]';\n\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\nexport default baseIsArguments;\n","import baseIsArguments from './_baseIsArguments.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\nexport default isArguments;\n","/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nexport default stubFalse;\n","import root from './_root.js';\nimport stubFalse from './stubFalse.js';\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\nexport default isBuffer;\n","import baseGetTag from './_baseGetTag.js';\nimport isLength from './isLength.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\nexport default baseIsTypedArray;\n","/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\nexport default baseUnary;\n","import freeGlobal from './_freeGlobal.js';\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\nexport default nodeUtil;\n","import baseIsTypedArray from './_baseIsTypedArray.js';\nimport baseUnary from './_baseUnary.js';\nimport nodeUtil from './_nodeUtil.js';\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\nexport default isTypedArray;\n","import baseTimes from './_baseTimes.js';\nimport isArguments from './isArguments.js';\nimport isArray from './isArray.js';\nimport isBuffer from './isBuffer.js';\nimport isIndex from './_isIndex.js';\nimport isTypedArray from './isTypedArray.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n}\n\nexport default arrayLikeKeys;\n","/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\nexport default overArg;\n","import overArg from './_overArg.js';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeKeys = overArg(Object.keys, Object);\n\nexport default nativeKeys;\n","import isPrototype from './_isPrototype.js';\nimport nativeKeys from './_nativeKeys.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n}\n\nexport default baseKeys;\n","import arrayLikeKeys from './_arrayLikeKeys.js';\nimport baseKeys from './_baseKeys.js';\nimport isArrayLike from './isArrayLike.js';\n\n/**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\nfunction keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\n\nexport default keys;\n","import isArray from './isArray.js';\nimport isSymbol from './isSymbol.js';\n\n/** Used to match property names within property paths. */\nvar reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/;\n\n/**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\nfunction isKey(value, object) {\n if (isArray(value)) {\n return false;\n }\n var type = typeof value;\n if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n value == null || isSymbol(value)) {\n return true;\n }\n return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n (object != null && value in Object(object));\n}\n\nexport default isKey;\n","import getNative from './_getNative.js';\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\nexport default nativeCreate;\n","import nativeCreate from './_nativeCreate.js';\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\nexport default hashClear;\n","/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\nexport default hashDelete;\n","import nativeCreate from './_nativeCreate.js';\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\nexport default hashGet;\n","import nativeCreate from './_nativeCreate.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\nexport default hashHas;\n","import nativeCreate from './_nativeCreate.js';\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\nexport default hashSet;\n","import hashClear from './_hashClear.js';\nimport hashDelete from './_hashDelete.js';\nimport hashGet from './_hashGet.js';\nimport hashHas from './_hashHas.js';\nimport hashSet from './_hashSet.js';\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\nexport default Hash;\n","/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\nexport default listCacheClear;\n","import eq from './eq.js';\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\nexport default assocIndexOf;\n","import assocIndexOf from './_assocIndexOf.js';\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype;\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n}\n\nexport default listCacheDelete;\n","import assocIndexOf from './_assocIndexOf.js';\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\nexport default listCacheGet;\n","import assocIndexOf from './_assocIndexOf.js';\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\nexport default listCacheHas;\n","import assocIndexOf from './_assocIndexOf.js';\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\nexport default listCacheSet;\n","import listCacheClear from './_listCacheClear.js';\nimport listCacheDelete from './_listCacheDelete.js';\nimport listCacheGet from './_listCacheGet.js';\nimport listCacheHas from './_listCacheHas.js';\nimport listCacheSet from './_listCacheSet.js';\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\nexport default ListCache;\n","import getNative from './_getNative.js';\nimport root from './_root.js';\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map');\n\nexport default Map;\n","import Hash from './_Hash.js';\nimport ListCache from './_ListCache.js';\nimport Map from './_Map.js';\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\nexport default mapCacheClear;\n","/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\nexport default isKeyable;\n","import isKeyable from './_isKeyable.js';\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nexport default getMapData;\n","import getMapData from './_getMapData.js';\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\nexport default mapCacheDelete;\n","import getMapData from './_getMapData.js';\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\nexport default mapCacheGet;\n","import getMapData from './_getMapData.js';\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\nexport default mapCacheHas;\n","import getMapData from './_getMapData.js';\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\nexport default mapCacheSet;\n","import mapCacheClear from './_mapCacheClear.js';\nimport mapCacheDelete from './_mapCacheDelete.js';\nimport mapCacheGet from './_mapCacheGet.js';\nimport mapCacheHas from './_mapCacheHas.js';\nimport mapCacheSet from './_mapCacheSet.js';\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\nexport default MapCache;\n","import MapCache from './_MapCache.js';\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `clear`, `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\nfunction memoize(func, resolver) {\n if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var memoized = function() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result) || cache;\n return result;\n };\n memoized.cache = new (memoize.Cache || MapCache);\n return memoized;\n}\n\n// Expose `MapCache`.\nmemoize.Cache = MapCache;\n\nexport default memoize;\n","import memoize from './memoize.js';\n\n/** Used as the maximum memoize cache size. */\nvar MAX_MEMOIZE_SIZE = 500;\n\n/**\n * A specialized version of `_.memoize` which clears the memoized function's\n * cache when it exceeds `MAX_MEMOIZE_SIZE`.\n *\n * @private\n * @param {Function} func The function to have its output memoized.\n * @returns {Function} Returns the new memoized function.\n */\nfunction memoizeCapped(func) {\n var result = memoize(func, function(key) {\n if (cache.size === MAX_MEMOIZE_SIZE) {\n cache.clear();\n }\n return key;\n });\n\n var cache = result.cache;\n return result;\n}\n\nexport default memoizeCapped;\n","import memoizeCapped from './_memoizeCapped.js';\n\n/** Used to match property names within property paths. */\nvar rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n/** Used to match backslashes in property paths. */\nvar reEscapeChar = /\\\\(\\\\)?/g;\n\n/**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\nvar stringToPath = memoizeCapped(function(string) {\n var result = [];\n if (string.charCodeAt(0) === 46 /* . */) {\n result.push('');\n }\n string.replace(rePropName, function(match, number, quote, subString) {\n result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n});\n\nexport default stringToPath;\n","import baseToString from './_baseToString.js';\n\n/**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\nfunction toString(value) {\n return value == null ? '' : baseToString(value);\n}\n\nexport default toString;\n","import isArray from './isArray.js';\nimport isKey from './_isKey.js';\nimport stringToPath from './_stringToPath.js';\nimport toString from './toString.js';\n\n/**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {Object} [object] The object to query keys on.\n * @returns {Array} Returns the cast property path array.\n */\nfunction castPath(value, object) {\n if (isArray(value)) {\n return value;\n }\n return isKey(value, object) ? [value] : stringToPath(toString(value));\n}\n\nexport default castPath;\n","import isSymbol from './isSymbol.js';\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\nfunction toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nexport default toKey;\n","import castPath from './_castPath.js';\nimport toKey from './_toKey.js';\n\n/**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\nfunction baseGet(object, path) {\n path = castPath(path, object);\n\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[toKey(path[index++])];\n }\n return (index && index == length) ? object : undefined;\n}\n\nexport default baseGet;\n","import baseGet from './_baseGet.js';\n\n/**\n * Gets the value at `path` of `object`. If the resolved value is\n * `undefined`, the `defaultValue` is returned in its place.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.get(object, 'a[0].b.c');\n * // => 3\n *\n * _.get(object, ['a', '0', 'b', 'c']);\n * // => 3\n *\n * _.get(object, 'a.b.c', 'default');\n * // => 'default'\n */\nfunction get(object, path, defaultValue) {\n var result = object == null ? undefined : baseGet(object, path);\n return result === undefined ? defaultValue : result;\n}\n\nexport default get;\n","/**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\nfunction arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n}\n\nexport default arrayPush;\n","import overArg from './_overArg.js';\n\n/** Built-in value references. */\nvar getPrototype = overArg(Object.getPrototypeOf, Object);\n\nexport default getPrototype;\n","import ListCache from './_ListCache.js';\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\nexport default stackClear;\n","/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\nexport default stackDelete;\n","/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\nexport default stackGet;\n","/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\nexport default stackHas;\n","import ListCache from './_ListCache.js';\nimport Map from './_Map.js';\nimport MapCache from './_MapCache.js';\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n}\n\nexport default stackSet;\n","import ListCache from './_ListCache.js';\nimport stackClear from './_stackClear.js';\nimport stackDelete from './_stackDelete.js';\nimport stackGet from './_stackGet.js';\nimport stackHas from './_stackHas.js';\nimport stackSet from './_stackSet.js';\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\nexport default Stack;\n","import root from './_root.js';\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;\n\n/**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\nfunction cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n buffer.copy(result);\n return result;\n}\n\nexport default cloneBuffer;\n","/**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n return result;\n}\n\nexport default arrayFilter;\n","/**\n * This method returns a new empty array.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {Array} Returns the new empty array.\n * @example\n *\n * var arrays = _.times(2, _.stubArray);\n *\n * console.log(arrays);\n * // => [[], []]\n *\n * console.log(arrays[0] === arrays[1]);\n * // => false\n */\nfunction stubArray() {\n return [];\n}\n\nexport default stubArray;\n","import arrayFilter from './_arrayFilter.js';\nimport stubArray from './stubArray.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n if (object == null) {\n return [];\n }\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function(symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n};\n\nexport default getSymbols;\n","import arrayPush from './_arrayPush.js';\nimport isArray from './isArray.js';\n\n/**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n}\n\nexport default baseGetAllKeys;\n","import baseGetAllKeys from './_baseGetAllKeys.js';\nimport getSymbols from './_getSymbols.js';\nimport keys from './keys.js';\n\n/**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n}\n\nexport default getAllKeys;\n","import getNative from './_getNative.js';\nimport root from './_root.js';\n\n/* Built-in method references that are verified to be native. */\nvar DataView = getNative(root, 'DataView');\n\nexport default DataView;\n","import getNative from './_getNative.js';\nimport root from './_root.js';\n\n/* Built-in method references that are verified to be native. */\nvar Promise = getNative(root, 'Promise');\n\nexport default Promise;\n","import getNative from './_getNative.js';\nimport root from './_root.js';\n\n/* Built-in method references that are verified to be native. */\nvar Set = getNative(root, 'Set');\n\nexport default Set;\n","import DataView from './_DataView.js';\nimport Map from './_Map.js';\nimport Promise from './_Promise.js';\nimport Set from './_Set.js';\nimport WeakMap from './_WeakMap.js';\nimport baseGetTag from './_baseGetTag.js';\nimport toSource from './_toSource.js';\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n setTag = '[object Set]',\n weakMapTag = '[object WeakMap]';\n\nvar dataViewTag = '[object DataView]';\n\n/** Used to detect maps, sets, and weakmaps. */\nvar dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n/**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nvar getTag = baseGetTag;\n\n// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\nif ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n}\n\nexport default getTag;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Initializes an array clone.\n *\n * @private\n * @param {Array} array The array to clone.\n * @returns {Array} Returns the initialized clone.\n */\nfunction initCloneArray(array) {\n var length = array.length,\n result = new array.constructor(length);\n\n // Add properties assigned by `RegExp#exec`.\n if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n result.index = array.index;\n result.input = array.input;\n }\n return result;\n}\n\nexport default initCloneArray;\n","import root from './_root.js';\n\n/** Built-in value references. */\nvar Uint8Array = root.Uint8Array;\n\nexport default Uint8Array;\n","import Uint8Array from './_Uint8Array.js';\n\n/**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\nfunction cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n}\n\nexport default cloneArrayBuffer;\n","import cloneArrayBuffer from './_cloneArrayBuffer.js';\n\n/**\n * Creates a clone of `dataView`.\n *\n * @private\n * @param {Object} dataView The data view to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned data view.\n */\nfunction cloneDataView(dataView, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n}\n\nexport default cloneDataView;\n","/** Used to match `RegExp` flags from their coerced string values. */\nvar reFlags = /\\w*$/;\n\n/**\n * Creates a clone of `regexp`.\n *\n * @private\n * @param {Object} regexp The regexp to clone.\n * @returns {Object} Returns the cloned regexp.\n */\nfunction cloneRegExp(regexp) {\n var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n result.lastIndex = regexp.lastIndex;\n return result;\n}\n\nexport default cloneRegExp;\n","import Symbol from './_Symbol.js';\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * Creates a clone of the `symbol` object.\n *\n * @private\n * @param {Object} symbol The symbol object to clone.\n * @returns {Object} Returns the cloned symbol object.\n */\nfunction cloneSymbol(symbol) {\n return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n}\n\nexport default cloneSymbol;\n","import cloneArrayBuffer from './_cloneArrayBuffer.js';\n\n/**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\nfunction cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n}\n\nexport default cloneTypedArray;\n","import cloneArrayBuffer from './_cloneArrayBuffer.js';\nimport cloneDataView from './_cloneDataView.js';\nimport cloneRegExp from './_cloneRegExp.js';\nimport cloneSymbol from './_cloneSymbol.js';\nimport cloneTypedArray from './_cloneTypedArray.js';\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/**\n * Initializes an object clone based on its `toStringTag`.\n *\n * **Note:** This function only supports cloning values with tags of\n * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.\n *\n * @private\n * @param {Object} object The object to clone.\n * @param {string} tag The `toStringTag` of the object to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneByTag(object, tag, isDeep) {\n var Ctor = object.constructor;\n switch (tag) {\n case arrayBufferTag:\n return cloneArrayBuffer(object);\n\n case boolTag:\n case dateTag:\n return new Ctor(+object);\n\n case dataViewTag:\n return cloneDataView(object, isDeep);\n\n case float32Tag: case float64Tag:\n case int8Tag: case int16Tag: case int32Tag:\n case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n return cloneTypedArray(object, isDeep);\n\n case mapTag:\n return new Ctor;\n\n case numberTag:\n case stringTag:\n return new Ctor(object);\n\n case regexpTag:\n return cloneRegExp(object);\n\n case setTag:\n return new Ctor;\n\n case symbolTag:\n return cloneSymbol(object);\n }\n}\n\nexport default initCloneByTag;\n","import baseCreate from './_baseCreate.js';\nimport getPrototype from './_getPrototype.js';\nimport isPrototype from './_isPrototype.js';\n\n/**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n}\n\nexport default initCloneObject;\n","import getTag from './_getTag.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]';\n\n/**\n * The base implementation of `_.isMap` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n */\nfunction baseIsMap(value) {\n return isObjectLike(value) && getTag(value) == mapTag;\n}\n\nexport default baseIsMap;\n","import baseIsMap from './_baseIsMap.js';\nimport baseUnary from './_baseUnary.js';\nimport nodeUtil from './_nodeUtil.js';\n\n/* Node.js helper references. */\nvar nodeIsMap = nodeUtil && nodeUtil.isMap;\n\n/**\n * Checks if `value` is classified as a `Map` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n * @example\n *\n * _.isMap(new Map);\n * // => true\n *\n * _.isMap(new WeakMap);\n * // => false\n */\nvar isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\nexport default isMap;\n","import getTag from './_getTag.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar setTag = '[object Set]';\n\n/**\n * The base implementation of `_.isSet` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n */\nfunction baseIsSet(value) {\n return isObjectLike(value) && getTag(value) == setTag;\n}\n\nexport default baseIsSet;\n","import baseIsSet from './_baseIsSet.js';\nimport baseUnary from './_baseUnary.js';\nimport nodeUtil from './_nodeUtil.js';\n\n/* Node.js helper references. */\nvar nodeIsSet = nodeUtil && nodeUtil.isSet;\n\n/**\n * Checks if `value` is classified as a `Set` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n * @example\n *\n * _.isSet(new Set);\n * // => true\n *\n * _.isSet(new WeakSet);\n * // => false\n */\nvar isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n\nexport default isSet;\n","import Stack from './_Stack.js';\nimport arrayEach from './_arrayEach.js';\nimport assignValue from './_assignValue.js';\nimport baseAssign from './_baseAssign.js';\nimport baseAssignIn from './_baseAssignIn.js';\nimport cloneBuffer from './_cloneBuffer.js';\nimport copyArray from './_copyArray.js';\nimport copySymbols from './_copySymbols.js';\nimport copySymbolsIn from './_copySymbolsIn.js';\nimport getAllKeys from './_getAllKeys.js';\nimport getAllKeysIn from './_getAllKeysIn.js';\nimport getTag from './_getTag.js';\nimport initCloneArray from './_initCloneArray.js';\nimport initCloneByTag from './_initCloneByTag.js';\nimport initCloneObject from './_initCloneObject.js';\nimport isArray from './isArray.js';\nimport isBuffer from './isBuffer.js';\nimport isMap from './isMap.js';\nimport isObject from './isObject.js';\nimport isSet from './isSet.js';\nimport keys from './keys.js';\nimport keysIn from './keysIn.js';\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values supported by `_.clone`. */\nvar cloneableTags = {};\ncloneableTags[argsTag] = cloneableTags[arrayTag] =\ncloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =\ncloneableTags[boolTag] = cloneableTags[dateTag] =\ncloneableTags[float32Tag] = cloneableTags[float64Tag] =\ncloneableTags[int8Tag] = cloneableTags[int16Tag] =\ncloneableTags[int32Tag] = cloneableTags[mapTag] =\ncloneableTags[numberTag] = cloneableTags[objectTag] =\ncloneableTags[regexpTag] = cloneableTags[setTag] =\ncloneableTags[stringTag] = cloneableTags[symbolTag] =\ncloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\ncloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\ncloneableTags[errorTag] = cloneableTags[funcTag] =\ncloneableTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.clone` and `_.cloneDeep` which tracks\n * traversed objects.\n *\n * @private\n * @param {*} value The value to clone.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Deep clone\n * 2 - Flatten inherited properties\n * 4 - Clone symbols\n * @param {Function} [customizer] The function to customize cloning.\n * @param {string} [key] The key of `value`.\n * @param {Object} [object] The parent object of `value`.\n * @param {Object} [stack] Tracks traversed objects and their clone counterparts.\n * @returns {*} Returns the cloned value.\n */\nfunction baseClone(value, bitmask, customizer, key, object, stack) {\n var result,\n isDeep = bitmask & CLONE_DEEP_FLAG,\n isFlat = bitmask & CLONE_FLAT_FLAG,\n isFull = bitmask & CLONE_SYMBOLS_FLAG;\n\n if (customizer) {\n result = object ? customizer(value, key, object, stack) : customizer(value);\n }\n if (result !== undefined) {\n return result;\n }\n if (!isObject(value)) {\n return value;\n }\n var isArr = isArray(value);\n if (isArr) {\n result = initCloneArray(value);\n if (!isDeep) {\n return copyArray(value, result);\n }\n } else {\n var tag = getTag(value),\n isFunc = tag == funcTag || tag == genTag;\n\n if (isBuffer(value)) {\n return cloneBuffer(value, isDeep);\n }\n if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n result = (isFlat || isFunc) ? {} : initCloneObject(value);\n if (!isDeep) {\n return isFlat\n ? copySymbolsIn(value, baseAssignIn(result, value))\n : copySymbols(value, baseAssign(result, value));\n }\n } else {\n if (!cloneableTags[tag]) {\n return object ? value : {};\n }\n result = initCloneByTag(value, tag, isDeep);\n }\n }\n // Check for circular references and return its corresponding clone.\n stack || (stack = new Stack);\n var stacked = stack.get(value);\n if (stacked) {\n return stacked;\n }\n stack.set(value, result);\n\n if (isSet(value)) {\n value.forEach(function(subValue) {\n result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));\n });\n } else if (isMap(value)) {\n value.forEach(function(subValue, key) {\n result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n }\n\n var keysFunc = isFull\n ? (isFlat ? getAllKeysIn : getAllKeys)\n : (isFlat ? keysIn : keys);\n\n var props = isArr ? undefined : keysFunc(value);\n arrayEach(props || value, function(subValue, key) {\n if (props) {\n key = subValue;\n subValue = value[key];\n }\n // Recursively populate clone (susceptible to call stack limits).\n assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n return result;\n}\n\nexport default baseClone;\n","import baseClone from './_baseClone.js';\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_SYMBOLS_FLAG = 4;\n\n/**\n * This method is like `_.clone` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @returns {*} Returns the deep cloned value.\n * @see _.clone\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var deep = _.cloneDeep(objects);\n * console.log(deep[0] === objects[0]);\n * // => false\n */\nfunction cloneDeep(value) {\n return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);\n}\n\nexport default cloneDeep;\n","import root from './_root.js';\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nexport default now;\n","import isObject from './isObject.js';\nimport now from './now.js';\nimport toNumber from './toNumber.js';\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nexport default debounce;\n","/**\n * The inverse of `_.toPairs`; this method returns an object composed\n * from key-value `pairs`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} pairs The key-value pairs.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.fromPairs([['a', 1], ['b', 2]]);\n * // => { 'a': 1, 'b': 2 }\n */\nfunction fromPairs(pairs) {\n var index = -1,\n length = pairs == null ? 0 : pairs.length,\n result = {};\n\n while (++index < length) {\n var pair = pairs[index];\n result[pair[0]] = pair[1];\n }\n return result;\n}\n\nexport default fromPairs;\n","/**\n * Checks if `value` is `null` or `undefined`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is nullish, else `false`.\n * @example\n *\n * _.isNil(null);\n * // => true\n *\n * _.isNil(void 0);\n * // => true\n *\n * _.isNil(NaN);\n * // => false\n */\nfunction isNil(value) {\n return value == null;\n}\n\nexport default isNil;\n","import debounce from './debounce.js';\nimport isObject from './isObject.js';\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\nfunction throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n}\n\nexport default throttle;\n","import { isArray, isObject, isString } from '@vue/shared';\nexport { isArray, isDate, isFunction, isObject, isPlainObject, isPromise, isString, isSymbol } from '@vue/shared';\nimport { isNil } from 'lodash-unified';\n\nconst isUndefined = (val) => val === void 0;\nconst isBoolean = (val) => typeof val === \"boolean\";\nconst isNumber = (val) => typeof val === \"number\";\nconst isEmpty = (val) => !val && val !== 0 || isArray(val) && val.length === 0 || isObject(val) && !Object.keys(val).length;\nconst isElement = (e) => {\n if (typeof Element === \"undefined\")\n return false;\n return e instanceof Element;\n};\nconst isPropAbsent = (prop) => isNil(prop);\nconst isStringNumber = (val) => {\n if (!isString(val)) {\n return false;\n }\n return !Number.isNaN(Number(val));\n};\nconst isWindow = (val) => val === window;\n\nexport { isBoolean, isElement, isEmpty, isNumber, isPropAbsent, isStringNumber, isUndefined, isWindow };\n//# sourceMappingURL=types.mjs.map\n","import { shallowRef, watchEffect, readonly, unref, ref, isVue3, version, watch, customRef, getCurrentScope, onScopeDispose, effectScope, provide, inject, isRef, computed, reactive, toRefs as toRefs$1, toRef, isVue2, set as set$1, getCurrentInstance, onBeforeMount, nextTick, onBeforeUnmount, onMounted, onUnmounted, isReactive } from 'vue-demi';\n\nvar __defProp$9 = Object.defineProperty;\nvar __defProps$6 = Object.defineProperties;\nvar __getOwnPropDescs$6 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$b = Object.getOwnPropertySymbols;\nvar __hasOwnProp$b = Object.prototype.hasOwnProperty;\nvar __propIsEnum$b = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$9 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$b.call(b, prop))\n __defNormalProp$9(a, prop, b[prop]);\n if (__getOwnPropSymbols$b)\n for (var prop of __getOwnPropSymbols$b(b)) {\n if (__propIsEnum$b.call(b, prop))\n __defNormalProp$9(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$6 = (a, b) => __defProps$6(a, __getOwnPropDescs$6(b));\nfunction computedEager(fn, options) {\n var _a;\n const result = shallowRef();\n watchEffect(() => {\n result.value = fn();\n }, __spreadProps$6(__spreadValues$9({}, options), {\n flush: (_a = options == null ? void 0 : options.flush) != null ? _a : \"sync\"\n }));\n return readonly(result);\n}\n\nvar _a;\nconst isClient = typeof window !== \"undefined\";\nconst isDef = (val) => typeof val !== \"undefined\";\nconst assert = (condition, ...infos) => {\n if (!condition)\n console.warn(...infos);\n};\nconst toString = Object.prototype.toString;\nconst isBoolean = (val) => typeof val === \"boolean\";\nconst isFunction = (val) => typeof val === \"function\";\nconst isNumber = (val) => typeof val === \"number\";\nconst isString = (val) => typeof val === \"string\";\nconst isObject = (val) => toString.call(val) === \"[object Object]\";\nconst isWindow = (val) => typeof window !== \"undefined\" && toString.call(val) === \"[object Window]\";\nconst now = () => Date.now();\nconst timestamp = () => +Date.now();\nconst clamp = (n, min, max) => Math.min(max, Math.max(min, n));\nconst noop = () => {\n};\nconst rand = (min, max) => {\n min = Math.ceil(min);\n max = Math.floor(max);\n return Math.floor(Math.random() * (max - min + 1)) + min;\n};\nconst isIOS = isClient && ((_a = window == null ? void 0 : window.navigator) == null ? void 0 : _a.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);\nconst hasOwn = (val, key) => Object.prototype.hasOwnProperty.call(val, key);\n\nfunction resolveUnref(r) {\n return typeof r === \"function\" ? r() : unref(r);\n}\n\nfunction createFilterWrapper(filter, fn) {\n function wrapper(...args) {\n return new Promise((resolve, reject) => {\n Promise.resolve(filter(() => fn.apply(this, args), { fn, thisArg: this, args })).then(resolve).catch(reject);\n });\n }\n return wrapper;\n}\nconst bypassFilter = (invoke) => {\n return invoke();\n};\nfunction debounceFilter(ms, options = {}) {\n let timer;\n let maxTimer;\n let lastRejector = noop;\n const _clearTimeout = (timer2) => {\n clearTimeout(timer2);\n lastRejector();\n lastRejector = noop;\n };\n const filter = (invoke) => {\n const duration = resolveUnref(ms);\n const maxDuration = resolveUnref(options.maxWait);\n if (timer)\n _clearTimeout(timer);\n if (duration <= 0 || maxDuration !== void 0 && maxDuration <= 0) {\n if (maxTimer) {\n _clearTimeout(maxTimer);\n maxTimer = null;\n }\n return Promise.resolve(invoke());\n }\n return new Promise((resolve, reject) => {\n lastRejector = options.rejectOnCancel ? reject : resolve;\n if (maxDuration && !maxTimer) {\n maxTimer = setTimeout(() => {\n if (timer)\n _clearTimeout(timer);\n maxTimer = null;\n resolve(invoke());\n }, maxDuration);\n }\n timer = setTimeout(() => {\n if (maxTimer)\n _clearTimeout(maxTimer);\n maxTimer = null;\n resolve(invoke());\n }, duration);\n });\n };\n return filter;\n}\nfunction throttleFilter(ms, trailing = true, leading = true, rejectOnCancel = false) {\n let lastExec = 0;\n let timer;\n let isLeading = true;\n let lastRejector = noop;\n let lastValue;\n const clear = () => {\n if (timer) {\n clearTimeout(timer);\n timer = void 0;\n lastRejector();\n lastRejector = noop;\n }\n };\n const filter = (_invoke) => {\n const duration = resolveUnref(ms);\n const elapsed = Date.now() - lastExec;\n const invoke = () => {\n return lastValue = _invoke();\n };\n clear();\n if (duration <= 0) {\n lastExec = Date.now();\n return invoke();\n }\n if (elapsed > duration && (leading || !isLeading)) {\n lastExec = Date.now();\n invoke();\n } else if (trailing) {\n lastValue = new Promise((resolve, reject) => {\n lastRejector = rejectOnCancel ? reject : resolve;\n timer = setTimeout(() => {\n lastExec = Date.now();\n isLeading = true;\n resolve(invoke());\n clear();\n }, Math.max(0, duration - elapsed));\n });\n }\n if (!leading && !timer)\n timer = setTimeout(() => isLeading = true, duration);\n isLeading = false;\n return lastValue;\n };\n return filter;\n}\nfunction pausableFilter(extendFilter = bypassFilter) {\n const isActive = ref(true);\n function pause() {\n isActive.value = false;\n }\n function resume() {\n isActive.value = true;\n }\n const eventFilter = (...args) => {\n if (isActive.value)\n extendFilter(...args);\n };\n return { isActive: readonly(isActive), pause, resume, eventFilter };\n}\n\nfunction __onlyVue3(name = \"this function\") {\n if (isVue3)\n return;\n throw new Error(`[VueUse] ${name} is only works on Vue 3.`);\n}\nfunction __onlyVue27Plus(name = \"this function\") {\n if (isVue3 || version.startsWith(\"2.7.\"))\n return;\n throw new Error(`[VueUse] ${name} is only works on Vue 2.7 or above.`);\n}\nconst directiveHooks = {\n mounted: isVue3 ? \"mounted\" : \"inserted\",\n updated: isVue3 ? \"updated\" : \"componentUpdated\",\n unmounted: isVue3 ? \"unmounted\" : \"unbind\"\n};\n\nfunction promiseTimeout(ms, throwOnTimeout = false, reason = \"Timeout\") {\n return new Promise((resolve, reject) => {\n if (throwOnTimeout)\n setTimeout(() => reject(reason), ms);\n else\n setTimeout(resolve, ms);\n });\n}\nfunction identity(arg) {\n return arg;\n}\nfunction createSingletonPromise(fn) {\n let _promise;\n function wrapper() {\n if (!_promise)\n _promise = fn();\n return _promise;\n }\n wrapper.reset = async () => {\n const _prev = _promise;\n _promise = void 0;\n if (_prev)\n await _prev;\n };\n return wrapper;\n}\nfunction invoke(fn) {\n return fn();\n}\nfunction containsProp(obj, ...props) {\n return props.some((k) => k in obj);\n}\nfunction increaseWithUnit(target, delta) {\n var _a;\n if (typeof target === \"number\")\n return target + delta;\n const value = ((_a = target.match(/^-?[0-9]+\\.?[0-9]*/)) == null ? void 0 : _a[0]) || \"\";\n const unit = target.slice(value.length);\n const result = parseFloat(value) + delta;\n if (Number.isNaN(result))\n return target;\n return result + unit;\n}\nfunction objectPick(obj, keys, omitUndefined = false) {\n return keys.reduce((n, k) => {\n if (k in obj) {\n if (!omitUndefined || obj[k] !== void 0)\n n[k] = obj[k];\n }\n return n;\n }, {});\n}\n\nfunction computedWithControl(source, fn) {\n let v = void 0;\n let track;\n let trigger;\n const dirty = ref(true);\n const update = () => {\n dirty.value = true;\n trigger();\n };\n watch(source, update, { flush: \"sync\" });\n const get = isFunction(fn) ? fn : fn.get;\n const set = isFunction(fn) ? void 0 : fn.set;\n const result = customRef((_track, _trigger) => {\n track = _track;\n trigger = _trigger;\n return {\n get() {\n if (dirty.value) {\n v = get();\n dirty.value = false;\n }\n track();\n return v;\n },\n set(v2) {\n set == null ? void 0 : set(v2);\n }\n };\n });\n if (Object.isExtensible(result))\n result.trigger = update;\n return result;\n}\n\nfunction tryOnScopeDispose(fn) {\n if (getCurrentScope()) {\n onScopeDispose(fn);\n return true;\n }\n return false;\n}\n\nfunction createEventHook() {\n const fns = [];\n const off = (fn) => {\n const index = fns.indexOf(fn);\n if (index !== -1)\n fns.splice(index, 1);\n };\n const on = (fn) => {\n fns.push(fn);\n const offFn = () => off(fn);\n tryOnScopeDispose(offFn);\n return {\n off: offFn\n };\n };\n const trigger = (param) => {\n fns.forEach((fn) => fn(param));\n };\n return {\n on,\n off,\n trigger\n };\n}\n\nfunction createGlobalState(stateFactory) {\n let initialized = false;\n let state;\n const scope = effectScope(true);\n return () => {\n if (!initialized) {\n state = scope.run(stateFactory);\n initialized = true;\n }\n return state;\n };\n}\n\nfunction createInjectionState(composable) {\n const key = Symbol(\"InjectionState\");\n const useProvidingState = (...args) => {\n const state = composable(...args);\n provide(key, state);\n return state;\n };\n const useInjectedState = () => inject(key);\n return [useProvidingState, useInjectedState];\n}\n\nfunction createSharedComposable(composable) {\n let subscribers = 0;\n let state;\n let scope;\n const dispose = () => {\n subscribers -= 1;\n if (scope && subscribers <= 0) {\n scope.stop();\n state = void 0;\n scope = void 0;\n }\n };\n return (...args) => {\n subscribers += 1;\n if (!state) {\n scope = effectScope(true);\n state = scope.run(() => composable(...args));\n }\n tryOnScopeDispose(dispose);\n return state;\n };\n}\n\nfunction extendRef(ref, extend, { enumerable = false, unwrap = true } = {}) {\n __onlyVue27Plus();\n for (const [key, value] of Object.entries(extend)) {\n if (key === \"value\")\n continue;\n if (isRef(value) && unwrap) {\n Object.defineProperty(ref, key, {\n get() {\n return value.value;\n },\n set(v) {\n value.value = v;\n },\n enumerable\n });\n } else {\n Object.defineProperty(ref, key, { value, enumerable });\n }\n }\n return ref;\n}\n\nfunction get(obj, key) {\n if (key == null)\n return unref(obj);\n return unref(obj)[key];\n}\n\nfunction isDefined(v) {\n return unref(v) != null;\n}\n\nvar __defProp$8 = Object.defineProperty;\nvar __getOwnPropSymbols$a = Object.getOwnPropertySymbols;\nvar __hasOwnProp$a = Object.prototype.hasOwnProperty;\nvar __propIsEnum$a = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$8 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$a.call(b, prop))\n __defNormalProp$8(a, prop, b[prop]);\n if (__getOwnPropSymbols$a)\n for (var prop of __getOwnPropSymbols$a(b)) {\n if (__propIsEnum$a.call(b, prop))\n __defNormalProp$8(a, prop, b[prop]);\n }\n return a;\n};\nfunction makeDestructurable(obj, arr) {\n if (typeof Symbol !== \"undefined\") {\n const clone = __spreadValues$8({}, obj);\n Object.defineProperty(clone, Symbol.iterator, {\n enumerable: false,\n value() {\n let index = 0;\n return {\n next: () => ({\n value: arr[index++],\n done: index > arr.length\n })\n };\n }\n });\n return clone;\n } else {\n return Object.assign([...arr], obj);\n }\n}\n\nfunction reactify(fn, options) {\n const unrefFn = (options == null ? void 0 : options.computedGetter) === false ? unref : resolveUnref;\n return function(...args) {\n return computed(() => fn.apply(this, args.map((i) => unrefFn(i))));\n };\n}\n\nfunction reactifyObject(obj, optionsOrKeys = {}) {\n let keys = [];\n let options;\n if (Array.isArray(optionsOrKeys)) {\n keys = optionsOrKeys;\n } else {\n options = optionsOrKeys;\n const { includeOwnProperties = true } = optionsOrKeys;\n keys.push(...Object.keys(obj));\n if (includeOwnProperties)\n keys.push(...Object.getOwnPropertyNames(obj));\n }\n return Object.fromEntries(keys.map((key) => {\n const value = obj[key];\n return [\n key,\n typeof value === \"function\" ? reactify(value.bind(obj), options) : value\n ];\n }));\n}\n\nfunction toReactive(objectRef) {\n if (!isRef(objectRef))\n return reactive(objectRef);\n const proxy = new Proxy({}, {\n get(_, p, receiver) {\n return unref(Reflect.get(objectRef.value, p, receiver));\n },\n set(_, p, value) {\n if (isRef(objectRef.value[p]) && !isRef(value))\n objectRef.value[p].value = value;\n else\n objectRef.value[p] = value;\n return true;\n },\n deleteProperty(_, p) {\n return Reflect.deleteProperty(objectRef.value, p);\n },\n has(_, p) {\n return Reflect.has(objectRef.value, p);\n },\n ownKeys() {\n return Object.keys(objectRef.value);\n },\n getOwnPropertyDescriptor() {\n return {\n enumerable: true,\n configurable: true\n };\n }\n });\n return reactive(proxy);\n}\n\nfunction reactiveComputed(fn) {\n return toReactive(computed(fn));\n}\n\nfunction reactiveOmit(obj, ...keys) {\n const flatKeys = keys.flat();\n return reactiveComputed(() => Object.fromEntries(Object.entries(toRefs$1(obj)).filter((e) => !flatKeys.includes(e[0]))));\n}\n\nfunction reactivePick(obj, ...keys) {\n const flatKeys = keys.flat();\n return reactive(Object.fromEntries(flatKeys.map((k) => [k, toRef(obj, k)])));\n}\n\nfunction refAutoReset(defaultValue, afterMs = 1e4) {\n return customRef((track, trigger) => {\n let value = defaultValue;\n let timer;\n const resetAfter = () => setTimeout(() => {\n value = defaultValue;\n trigger();\n }, resolveUnref(afterMs));\n tryOnScopeDispose(() => {\n clearTimeout(timer);\n });\n return {\n get() {\n track();\n return value;\n },\n set(newValue) {\n value = newValue;\n trigger();\n clearTimeout(timer);\n timer = resetAfter();\n }\n };\n });\n}\n\nfunction useDebounceFn(fn, ms = 200, options = {}) {\n return createFilterWrapper(debounceFilter(ms, options), fn);\n}\n\nfunction refDebounced(value, ms = 200, options = {}) {\n const debounced = ref(value.value);\n const updater = useDebounceFn(() => {\n debounced.value = value.value;\n }, ms, options);\n watch(value, () => updater());\n return debounced;\n}\n\nfunction refDefault(source, defaultValue) {\n return computed({\n get() {\n var _a;\n return (_a = source.value) != null ? _a : defaultValue;\n },\n set(value) {\n source.value = value;\n }\n });\n}\n\nfunction useThrottleFn(fn, ms = 200, trailing = false, leading = true, rejectOnCancel = false) {\n return createFilterWrapper(throttleFilter(ms, trailing, leading, rejectOnCancel), fn);\n}\n\nfunction refThrottled(value, delay = 200, trailing = true, leading = true) {\n if (delay <= 0)\n return value;\n const throttled = ref(value.value);\n const updater = useThrottleFn(() => {\n throttled.value = value.value;\n }, delay, trailing, leading);\n watch(value, () => updater());\n return throttled;\n}\n\nfunction refWithControl(initial, options = {}) {\n let source = initial;\n let track;\n let trigger;\n const ref = customRef((_track, _trigger) => {\n track = _track;\n trigger = _trigger;\n return {\n get() {\n return get();\n },\n set(v) {\n set(v);\n }\n };\n });\n function get(tracking = true) {\n if (tracking)\n track();\n return source;\n }\n function set(value, triggering = true) {\n var _a, _b;\n if (value === source)\n return;\n const old = source;\n if (((_a = options.onBeforeChange) == null ? void 0 : _a.call(options, value, old)) === false)\n return;\n source = value;\n (_b = options.onChanged) == null ? void 0 : _b.call(options, value, old);\n if (triggering)\n trigger();\n }\n const untrackedGet = () => get(false);\n const silentSet = (v) => set(v, false);\n const peek = () => get(false);\n const lay = (v) => set(v, false);\n return extendRef(ref, {\n get,\n set,\n untrackedGet,\n silentSet,\n peek,\n lay\n }, { enumerable: true });\n}\nconst controlledRef = refWithControl;\n\nfunction resolveRef(r) {\n return typeof r === \"function\" ? computed(r) : ref(r);\n}\n\nfunction set(...args) {\n if (args.length === 2) {\n const [ref, value] = args;\n ref.value = value;\n }\n if (args.length === 3) {\n if (isVue2) {\n set$1(...args);\n } else {\n const [target, key, value] = args;\n target[key] = value;\n }\n }\n}\n\nfunction syncRef(left, right, options = {}) {\n var _a, _b;\n const {\n flush = \"sync\",\n deep = false,\n immediate = true,\n direction = \"both\",\n transform = {}\n } = options;\n let watchLeft;\n let watchRight;\n const transformLTR = (_a = transform.ltr) != null ? _a : (v) => v;\n const transformRTL = (_b = transform.rtl) != null ? _b : (v) => v;\n if (direction === \"both\" || direction === \"ltr\") {\n watchLeft = watch(left, (newValue) => right.value = transformLTR(newValue), { flush, deep, immediate });\n }\n if (direction === \"both\" || direction === \"rtl\") {\n watchRight = watch(right, (newValue) => left.value = transformRTL(newValue), { flush, deep, immediate });\n }\n return () => {\n watchLeft == null ? void 0 : watchLeft();\n watchRight == null ? void 0 : watchRight();\n };\n}\n\nfunction syncRefs(source, targets, options = {}) {\n const {\n flush = \"sync\",\n deep = false,\n immediate = true\n } = options;\n if (!Array.isArray(targets))\n targets = [targets];\n return watch(source, (newValue) => targets.forEach((target) => target.value = newValue), { flush, deep, immediate });\n}\n\nvar __defProp$7 = Object.defineProperty;\nvar __defProps$5 = Object.defineProperties;\nvar __getOwnPropDescs$5 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$9 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$9 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$9 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$7 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$9.call(b, prop))\n __defNormalProp$7(a, prop, b[prop]);\n if (__getOwnPropSymbols$9)\n for (var prop of __getOwnPropSymbols$9(b)) {\n if (__propIsEnum$9.call(b, prop))\n __defNormalProp$7(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$5 = (a, b) => __defProps$5(a, __getOwnPropDescs$5(b));\nfunction toRefs(objectRef) {\n if (!isRef(objectRef))\n return toRefs$1(objectRef);\n const result = Array.isArray(objectRef.value) ? new Array(objectRef.value.length) : {};\n for (const key in objectRef.value) {\n result[key] = customRef(() => ({\n get() {\n return objectRef.value[key];\n },\n set(v) {\n if (Array.isArray(objectRef.value)) {\n const copy = [...objectRef.value];\n copy[key] = v;\n objectRef.value = copy;\n } else {\n const newObject = __spreadProps$5(__spreadValues$7({}, objectRef.value), { [key]: v });\n Object.setPrototypeOf(newObject, objectRef.value);\n objectRef.value = newObject;\n }\n }\n }));\n }\n return result;\n}\n\nfunction tryOnBeforeMount(fn, sync = true) {\n if (getCurrentInstance())\n onBeforeMount(fn);\n else if (sync)\n fn();\n else\n nextTick(fn);\n}\n\nfunction tryOnBeforeUnmount(fn) {\n if (getCurrentInstance())\n onBeforeUnmount(fn);\n}\n\nfunction tryOnMounted(fn, sync = true) {\n if (getCurrentInstance())\n onMounted(fn);\n else if (sync)\n fn();\n else\n nextTick(fn);\n}\n\nfunction tryOnUnmounted(fn) {\n if (getCurrentInstance())\n onUnmounted(fn);\n}\n\nfunction createUntil(r, isNot = false) {\n function toMatch(condition, { flush = \"sync\", deep = false, timeout, throwOnTimeout } = {}) {\n let stop = null;\n const watcher = new Promise((resolve) => {\n stop = watch(r, (v) => {\n if (condition(v) !== isNot) {\n stop == null ? void 0 : stop();\n resolve(v);\n }\n }, {\n flush,\n deep,\n immediate: true\n });\n });\n const promises = [watcher];\n if (timeout != null) {\n promises.push(promiseTimeout(timeout, throwOnTimeout).then(() => resolveUnref(r)).finally(() => stop == null ? void 0 : stop()));\n }\n return Promise.race(promises);\n }\n function toBe(value, options) {\n if (!isRef(value))\n return toMatch((v) => v === value, options);\n const { flush = \"sync\", deep = false, timeout, throwOnTimeout } = options != null ? options : {};\n let stop = null;\n const watcher = new Promise((resolve) => {\n stop = watch([r, value], ([v1, v2]) => {\n if (isNot !== (v1 === v2)) {\n stop == null ? void 0 : stop();\n resolve(v1);\n }\n }, {\n flush,\n deep,\n immediate: true\n });\n });\n const promises = [watcher];\n if (timeout != null) {\n promises.push(promiseTimeout(timeout, throwOnTimeout).then(() => resolveUnref(r)).finally(() => {\n stop == null ? void 0 : stop();\n return resolveUnref(r);\n }));\n }\n return Promise.race(promises);\n }\n function toBeTruthy(options) {\n return toMatch((v) => Boolean(v), options);\n }\n function toBeNull(options) {\n return toBe(null, options);\n }\n function toBeUndefined(options) {\n return toBe(void 0, options);\n }\n function toBeNaN(options) {\n return toMatch(Number.isNaN, options);\n }\n function toContains(value, options) {\n return toMatch((v) => {\n const array = Array.from(v);\n return array.includes(value) || array.includes(resolveUnref(value));\n }, options);\n }\n function changed(options) {\n return changedTimes(1, options);\n }\n function changedTimes(n = 1, options) {\n let count = -1;\n return toMatch(() => {\n count += 1;\n return count >= n;\n }, options);\n }\n if (Array.isArray(resolveUnref(r))) {\n const instance = {\n toMatch,\n toContains,\n changed,\n changedTimes,\n get not() {\n return createUntil(r, !isNot);\n }\n };\n return instance;\n } else {\n const instance = {\n toMatch,\n toBe,\n toBeTruthy,\n toBeNull,\n toBeNaN,\n toBeUndefined,\n changed,\n changedTimes,\n get not() {\n return createUntil(r, !isNot);\n }\n };\n return instance;\n }\n}\nfunction until(r) {\n return createUntil(r);\n}\n\nfunction useArrayEvery(list, fn) {\n return computed(() => resolveUnref(list).every((element, index, array) => fn(resolveUnref(element), index, array)));\n}\n\nfunction useArrayFilter(list, fn) {\n return computed(() => resolveUnref(list).map((i) => resolveUnref(i)).filter(fn));\n}\n\nfunction useArrayFind(list, fn) {\n return computed(() => resolveUnref(resolveUnref(list).find((element, index, array) => fn(resolveUnref(element), index, array))));\n}\n\nfunction useArrayFindIndex(list, fn) {\n return computed(() => resolveUnref(list).findIndex((element, index, array) => fn(resolveUnref(element), index, array)));\n}\n\nfunction findLast(arr, cb) {\n let index = arr.length;\n while (index-- > 0) {\n if (cb(arr[index], index, arr))\n return arr[index];\n }\n return void 0;\n}\nfunction useArrayFindLast(list, fn) {\n return computed(() => resolveUnref(!Array.prototype.findLast ? findLast(resolveUnref(list), (element, index, array) => fn(resolveUnref(element), index, array)) : resolveUnref(list).findLast((element, index, array) => fn(resolveUnref(element), index, array))));\n}\n\nfunction useArrayJoin(list, separator) {\n return computed(() => resolveUnref(list).map((i) => resolveUnref(i)).join(resolveUnref(separator)));\n}\n\nfunction useArrayMap(list, fn) {\n return computed(() => resolveUnref(list).map((i) => resolveUnref(i)).map(fn));\n}\n\nfunction useArrayReduce(list, reducer, ...args) {\n const reduceCallback = (sum, value, index) => reducer(resolveUnref(sum), resolveUnref(value), index);\n return computed(() => {\n const resolved = resolveUnref(list);\n return args.length ? resolved.reduce(reduceCallback, resolveUnref(args[0])) : resolved.reduce(reduceCallback);\n });\n}\n\nfunction useArraySome(list, fn) {\n return computed(() => resolveUnref(list).some((element, index, array) => fn(resolveUnref(element), index, array)));\n}\n\nfunction useArrayUnique(list) {\n return computed(() => [...new Set(resolveUnref(list).map((element) => resolveUnref(element)))]);\n}\n\nfunction useCounter(initialValue = 0, options = {}) {\n const count = ref(initialValue);\n const {\n max = Infinity,\n min = -Infinity\n } = options;\n const inc = (delta = 1) => count.value = Math.min(max, count.value + delta);\n const dec = (delta = 1) => count.value = Math.max(min, count.value - delta);\n const get = () => count.value;\n const set = (val) => count.value = Math.max(min, Math.min(max, val));\n const reset = (val = initialValue) => {\n initialValue = val;\n return set(val);\n };\n return { count, inc, dec, get, set, reset };\n}\n\nconst REGEX_PARSE = /^(\\d{4})[-/]?(\\d{1,2})?[-/]?(\\d{0,2})[Tt\\s]*(\\d{1,2})?:?(\\d{1,2})?:?(\\d{1,2})?[.:]?(\\d+)?$/;\nconst REGEX_FORMAT = /\\[([^\\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|SSS/g;\nconst defaultMeridiem = (hours, minutes, isLowercase, hasPeriod) => {\n let m = hours < 12 ? \"AM\" : \"PM\";\n if (hasPeriod)\n m = m.split(\"\").reduce((acc, curr) => acc += `${curr}.`, \"\");\n return isLowercase ? m.toLowerCase() : m;\n};\nconst formatDate = (date, formatStr, options = {}) => {\n var _a;\n const years = date.getFullYear();\n const month = date.getMonth();\n const days = date.getDate();\n const hours = date.getHours();\n const minutes = date.getMinutes();\n const seconds = date.getSeconds();\n const milliseconds = date.getMilliseconds();\n const day = date.getDay();\n const meridiem = (_a = options.customMeridiem) != null ? _a : defaultMeridiem;\n const matches = {\n YY: () => String(years).slice(-2),\n YYYY: () => years,\n M: () => month + 1,\n MM: () => `${month + 1}`.padStart(2, \"0\"),\n MMM: () => date.toLocaleDateString(options.locales, { month: \"short\" }),\n MMMM: () => date.toLocaleDateString(options.locales, { month: \"long\" }),\n D: () => String(days),\n DD: () => `${days}`.padStart(2, \"0\"),\n H: () => String(hours),\n HH: () => `${hours}`.padStart(2, \"0\"),\n h: () => `${hours % 12 || 12}`.padStart(1, \"0\"),\n hh: () => `${hours % 12 || 12}`.padStart(2, \"0\"),\n m: () => String(minutes),\n mm: () => `${minutes}`.padStart(2, \"0\"),\n s: () => String(seconds),\n ss: () => `${seconds}`.padStart(2, \"0\"),\n SSS: () => `${milliseconds}`.padStart(3, \"0\"),\n d: () => day,\n dd: () => date.toLocaleDateString(options.locales, { weekday: \"narrow\" }),\n ddd: () => date.toLocaleDateString(options.locales, { weekday: \"short\" }),\n dddd: () => date.toLocaleDateString(options.locales, { weekday: \"long\" }),\n A: () => meridiem(hours, minutes),\n AA: () => meridiem(hours, minutes, false, true),\n a: () => meridiem(hours, minutes, true),\n aa: () => meridiem(hours, minutes, true, true)\n };\n return formatStr.replace(REGEX_FORMAT, (match, $1) => $1 || matches[match]());\n};\nconst normalizeDate = (date) => {\n if (date === null)\n return new Date(NaN);\n if (date === void 0)\n return new Date();\n if (date instanceof Date)\n return new Date(date);\n if (typeof date === \"string\" && !/Z$/i.test(date)) {\n const d = date.match(REGEX_PARSE);\n if (d) {\n const m = d[2] - 1 || 0;\n const ms = (d[7] || \"0\").substring(0, 3);\n return new Date(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms);\n }\n }\n return new Date(date);\n};\nfunction useDateFormat(date, formatStr = \"HH:mm:ss\", options = {}) {\n return computed(() => formatDate(normalizeDate(resolveUnref(date)), resolveUnref(formatStr), options));\n}\n\nfunction useIntervalFn(cb, interval = 1e3, options = {}) {\n const {\n immediate = true,\n immediateCallback = false\n } = options;\n let timer = null;\n const isActive = ref(false);\n function clean() {\n if (timer) {\n clearInterval(timer);\n timer = null;\n }\n }\n function pause() {\n isActive.value = false;\n clean();\n }\n function resume() {\n const intervalValue = resolveUnref(interval);\n if (intervalValue <= 0)\n return;\n isActive.value = true;\n if (immediateCallback)\n cb();\n clean();\n timer = setInterval(cb, intervalValue);\n }\n if (immediate && isClient)\n resume();\n if (isRef(interval) || isFunction(interval)) {\n const stopWatch = watch(interval, () => {\n if (isActive.value && isClient)\n resume();\n });\n tryOnScopeDispose(stopWatch);\n }\n tryOnScopeDispose(pause);\n return {\n isActive,\n pause,\n resume\n };\n}\n\nvar __defProp$6 = Object.defineProperty;\nvar __getOwnPropSymbols$8 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$8 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$8 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$6 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$8.call(b, prop))\n __defNormalProp$6(a, prop, b[prop]);\n if (__getOwnPropSymbols$8)\n for (var prop of __getOwnPropSymbols$8(b)) {\n if (__propIsEnum$8.call(b, prop))\n __defNormalProp$6(a, prop, b[prop]);\n }\n return a;\n};\nfunction useInterval(interval = 1e3, options = {}) {\n const {\n controls: exposeControls = false,\n immediate = true,\n callback\n } = options;\n const counter = ref(0);\n const update = () => counter.value += 1;\n const reset = () => {\n counter.value = 0;\n };\n const controls = useIntervalFn(callback ? () => {\n update();\n callback(counter.value);\n } : update, interval, { immediate });\n if (exposeControls) {\n return __spreadValues$6({\n counter,\n reset\n }, controls);\n } else {\n return counter;\n }\n}\n\nfunction useLastChanged(source, options = {}) {\n var _a;\n const ms = ref((_a = options.initialValue) != null ? _a : null);\n watch(source, () => ms.value = timestamp(), options);\n return ms;\n}\n\nfunction useTimeoutFn(cb, interval, options = {}) {\n const {\n immediate = true\n } = options;\n const isPending = ref(false);\n let timer = null;\n function clear() {\n if (timer) {\n clearTimeout(timer);\n timer = null;\n }\n }\n function stop() {\n isPending.value = false;\n clear();\n }\n function start(...args) {\n clear();\n isPending.value = true;\n timer = setTimeout(() => {\n isPending.value = false;\n timer = null;\n cb(...args);\n }, resolveUnref(interval));\n }\n if (immediate) {\n isPending.value = true;\n if (isClient)\n start();\n }\n tryOnScopeDispose(stop);\n return {\n isPending: readonly(isPending),\n start,\n stop\n };\n}\n\nvar __defProp$5 = Object.defineProperty;\nvar __getOwnPropSymbols$7 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$7 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$7 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$5 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$7.call(b, prop))\n __defNormalProp$5(a, prop, b[prop]);\n if (__getOwnPropSymbols$7)\n for (var prop of __getOwnPropSymbols$7(b)) {\n if (__propIsEnum$7.call(b, prop))\n __defNormalProp$5(a, prop, b[prop]);\n }\n return a;\n};\nfunction useTimeout(interval = 1e3, options = {}) {\n const {\n controls: exposeControls = false,\n callback\n } = options;\n const controls = useTimeoutFn(callback != null ? callback : noop, interval, options);\n const ready = computed(() => !controls.isPending.value);\n if (exposeControls) {\n return __spreadValues$5({\n ready\n }, controls);\n } else {\n return ready;\n }\n}\n\nfunction useToNumber(value, options = {}) {\n const {\n method = \"parseFloat\",\n radix,\n nanToZero\n } = options;\n return computed(() => {\n let resolved = resolveUnref(value);\n if (typeof resolved === \"string\")\n resolved = Number[method](resolved, radix);\n if (nanToZero && isNaN(resolved))\n resolved = 0;\n return resolved;\n });\n}\n\nfunction useToString(value) {\n return computed(() => `${resolveUnref(value)}`);\n}\n\nfunction useToggle(initialValue = false, options = {}) {\n const {\n truthyValue = true,\n falsyValue = false\n } = options;\n const valueIsRef = isRef(initialValue);\n const _value = ref(initialValue);\n function toggle(value) {\n if (arguments.length) {\n _value.value = value;\n return _value.value;\n } else {\n const truthy = resolveUnref(truthyValue);\n _value.value = _value.value === truthy ? resolveUnref(falsyValue) : truthy;\n return _value.value;\n }\n }\n if (valueIsRef)\n return toggle;\n else\n return [_value, toggle];\n}\n\nfunction watchArray(source, cb, options) {\n let oldList = (options == null ? void 0 : options.immediate) ? [] : [\n ...source instanceof Function ? source() : Array.isArray(source) ? source : unref(source)\n ];\n return watch(source, (newList, _, onCleanup) => {\n const oldListRemains = new Array(oldList.length);\n const added = [];\n for (const obj of newList) {\n let found = false;\n for (let i = 0; i < oldList.length; i++) {\n if (!oldListRemains[i] && obj === oldList[i]) {\n oldListRemains[i] = true;\n found = true;\n break;\n }\n }\n if (!found)\n added.push(obj);\n }\n const removed = oldList.filter((_2, i) => !oldListRemains[i]);\n cb(newList, oldList, added, removed, onCleanup);\n oldList = [...newList];\n }, options);\n}\n\nvar __getOwnPropSymbols$6 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$6 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$6 = Object.prototype.propertyIsEnumerable;\nvar __objRest$5 = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp$6.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols$6)\n for (var prop of __getOwnPropSymbols$6(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum$6.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\nfunction watchWithFilter(source, cb, options = {}) {\n const _a = options, {\n eventFilter = bypassFilter\n } = _a, watchOptions = __objRest$5(_a, [\n \"eventFilter\"\n ]);\n return watch(source, createFilterWrapper(eventFilter, cb), watchOptions);\n}\n\nvar __getOwnPropSymbols$5 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$5 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$5 = Object.prototype.propertyIsEnumerable;\nvar __objRest$4 = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp$5.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols$5)\n for (var prop of __getOwnPropSymbols$5(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum$5.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\nfunction watchAtMost(source, cb, options) {\n const _a = options, {\n count\n } = _a, watchOptions = __objRest$4(_a, [\n \"count\"\n ]);\n const current = ref(0);\n const stop = watchWithFilter(source, (...args) => {\n current.value += 1;\n if (current.value >= resolveUnref(count))\n nextTick(() => stop());\n cb(...args);\n }, watchOptions);\n return { count: current, stop };\n}\n\nvar __defProp$4 = Object.defineProperty;\nvar __defProps$4 = Object.defineProperties;\nvar __getOwnPropDescs$4 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$4 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$4 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$4 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$4 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$4.call(b, prop))\n __defNormalProp$4(a, prop, b[prop]);\n if (__getOwnPropSymbols$4)\n for (var prop of __getOwnPropSymbols$4(b)) {\n if (__propIsEnum$4.call(b, prop))\n __defNormalProp$4(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$4 = (a, b) => __defProps$4(a, __getOwnPropDescs$4(b));\nvar __objRest$3 = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp$4.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols$4)\n for (var prop of __getOwnPropSymbols$4(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum$4.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\nfunction watchDebounced(source, cb, options = {}) {\n const _a = options, {\n debounce = 0,\n maxWait = void 0\n } = _a, watchOptions = __objRest$3(_a, [\n \"debounce\",\n \"maxWait\"\n ]);\n return watchWithFilter(source, cb, __spreadProps$4(__spreadValues$4({}, watchOptions), {\n eventFilter: debounceFilter(debounce, { maxWait })\n }));\n}\n\nvar __defProp$3 = Object.defineProperty;\nvar __defProps$3 = Object.defineProperties;\nvar __getOwnPropDescs$3 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$3 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$3 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$3 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$3 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$3.call(b, prop))\n __defNormalProp$3(a, prop, b[prop]);\n if (__getOwnPropSymbols$3)\n for (var prop of __getOwnPropSymbols$3(b)) {\n if (__propIsEnum$3.call(b, prop))\n __defNormalProp$3(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$3 = (a, b) => __defProps$3(a, __getOwnPropDescs$3(b));\nvar __objRest$2 = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp$3.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols$3)\n for (var prop of __getOwnPropSymbols$3(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum$3.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\nfunction watchIgnorable(source, cb, options = {}) {\n const _a = options, {\n eventFilter = bypassFilter\n } = _a, watchOptions = __objRest$2(_a, [\n \"eventFilter\"\n ]);\n const filteredCb = createFilterWrapper(eventFilter, cb);\n let ignoreUpdates;\n let ignorePrevAsyncUpdates;\n let stop;\n if (watchOptions.flush === \"sync\") {\n const ignore = ref(false);\n ignorePrevAsyncUpdates = () => {\n };\n ignoreUpdates = (updater) => {\n ignore.value = true;\n updater();\n ignore.value = false;\n };\n stop = watch(source, (...args) => {\n if (!ignore.value)\n filteredCb(...args);\n }, watchOptions);\n } else {\n const disposables = [];\n const ignoreCounter = ref(0);\n const syncCounter = ref(0);\n ignorePrevAsyncUpdates = () => {\n ignoreCounter.value = syncCounter.value;\n };\n disposables.push(watch(source, () => {\n syncCounter.value++;\n }, __spreadProps$3(__spreadValues$3({}, watchOptions), { flush: \"sync\" })));\n ignoreUpdates = (updater) => {\n const syncCounterPrev = syncCounter.value;\n updater();\n ignoreCounter.value += syncCounter.value - syncCounterPrev;\n };\n disposables.push(watch(source, (...args) => {\n const ignore = ignoreCounter.value > 0 && ignoreCounter.value === syncCounter.value;\n ignoreCounter.value = 0;\n syncCounter.value = 0;\n if (ignore)\n return;\n filteredCb(...args);\n }, watchOptions));\n stop = () => {\n disposables.forEach((fn) => fn());\n };\n }\n return { stop, ignoreUpdates, ignorePrevAsyncUpdates };\n}\n\nfunction watchOnce(source, cb, options) {\n const stop = watch(source, (...args) => {\n nextTick(() => stop());\n return cb(...args);\n }, options);\n}\n\nvar __defProp$2 = Object.defineProperty;\nvar __defProps$2 = Object.defineProperties;\nvar __getOwnPropDescs$2 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$2 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$2 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$2 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$2 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$2.call(b, prop))\n __defNormalProp$2(a, prop, b[prop]);\n if (__getOwnPropSymbols$2)\n for (var prop of __getOwnPropSymbols$2(b)) {\n if (__propIsEnum$2.call(b, prop))\n __defNormalProp$2(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$2 = (a, b) => __defProps$2(a, __getOwnPropDescs$2(b));\nvar __objRest$1 = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp$2.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols$2)\n for (var prop of __getOwnPropSymbols$2(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum$2.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\nfunction watchPausable(source, cb, options = {}) {\n const _a = options, {\n eventFilter: filter\n } = _a, watchOptions = __objRest$1(_a, [\n \"eventFilter\"\n ]);\n const { eventFilter, pause, resume, isActive } = pausableFilter(filter);\n const stop = watchWithFilter(source, cb, __spreadProps$2(__spreadValues$2({}, watchOptions), {\n eventFilter\n }));\n return { stop, pause, resume, isActive };\n}\n\nvar __defProp$1 = Object.defineProperty;\nvar __defProps$1 = Object.defineProperties;\nvar __getOwnPropDescs$1 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$1 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$1 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$1 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$1 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$1.call(b, prop))\n __defNormalProp$1(a, prop, b[prop]);\n if (__getOwnPropSymbols$1)\n for (var prop of __getOwnPropSymbols$1(b)) {\n if (__propIsEnum$1.call(b, prop))\n __defNormalProp$1(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$1 = (a, b) => __defProps$1(a, __getOwnPropDescs$1(b));\nvar __objRest = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp$1.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols$1)\n for (var prop of __getOwnPropSymbols$1(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum$1.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\nfunction watchThrottled(source, cb, options = {}) {\n const _a = options, {\n throttle = 0,\n trailing = true,\n leading = true\n } = _a, watchOptions = __objRest(_a, [\n \"throttle\",\n \"trailing\",\n \"leading\"\n ]);\n return watchWithFilter(source, cb, __spreadProps$1(__spreadValues$1({}, watchOptions), {\n eventFilter: throttleFilter(throttle, trailing, leading)\n }));\n}\n\nvar __defProp = Object.defineProperty;\nvar __defProps = Object.defineProperties;\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));\nfunction watchTriggerable(source, cb, options = {}) {\n let cleanupFn;\n function onEffect() {\n if (!cleanupFn)\n return;\n const fn = cleanupFn;\n cleanupFn = void 0;\n fn();\n }\n function onCleanup(callback) {\n cleanupFn = callback;\n }\n const _cb = (value, oldValue) => {\n onEffect();\n return cb(value, oldValue, onCleanup);\n };\n const res = watchIgnorable(source, _cb, options);\n const { ignoreUpdates } = res;\n const trigger = () => {\n let res2;\n ignoreUpdates(() => {\n res2 = _cb(getWatchSources(source), getOldValue(source));\n });\n return res2;\n };\n return __spreadProps(__spreadValues({}, res), {\n trigger\n });\n}\nfunction getWatchSources(sources) {\n if (isReactive(sources))\n return sources;\n if (Array.isArray(sources))\n return sources.map((item) => getOneWatchSource(item));\n return getOneWatchSource(sources);\n}\nfunction getOneWatchSource(source) {\n return typeof source === \"function\" ? source() : unref(source);\n}\nfunction getOldValue(source) {\n return Array.isArray(source) ? source.map(() => void 0) : void 0;\n}\n\nfunction whenever(source, cb, options) {\n return watch(source, (v, ov, onInvalidate) => {\n if (v)\n cb(v, ov, onInvalidate);\n }, options);\n}\n\nexport { __onlyVue27Plus, __onlyVue3, assert, refAutoReset as autoResetRef, bypassFilter, clamp, computedEager, computedWithControl, containsProp, computedWithControl as controlledComputed, controlledRef, createEventHook, createFilterWrapper, createGlobalState, createInjectionState, reactify as createReactiveFn, createSharedComposable, createSingletonPromise, debounceFilter, refDebounced as debouncedRef, watchDebounced as debouncedWatch, directiveHooks, computedEager as eagerComputed, extendRef, formatDate, get, hasOwn, identity, watchIgnorable as ignorableWatch, increaseWithUnit, invoke, isBoolean, isClient, isDef, isDefined, isFunction, isIOS, isNumber, isObject, isString, isWindow, makeDestructurable, noop, normalizeDate, now, objectPick, pausableFilter, watchPausable as pausableWatch, promiseTimeout, rand, reactify, reactifyObject, reactiveComputed, reactiveOmit, reactivePick, refAutoReset, refDebounced, refDefault, refThrottled, refWithControl, resolveRef, resolveUnref, set, syncRef, syncRefs, throttleFilter, refThrottled as throttledRef, watchThrottled as throttledWatch, timestamp, toReactive, toRefs, tryOnBeforeMount, tryOnBeforeUnmount, tryOnMounted, tryOnScopeDispose, tryOnUnmounted, until, useArrayEvery, useArrayFilter, useArrayFind, useArrayFindIndex, useArrayFindLast, useArrayJoin, useArrayMap, useArrayReduce, useArraySome, useArrayUnique, useCounter, useDateFormat, refDebounced as useDebounce, useDebounceFn, useInterval, useIntervalFn, useLastChanged, refThrottled as useThrottle, useThrottleFn, useTimeout, useTimeoutFn, useToNumber, useToString, useToggle, watchArray, watchAtMost, watchDebounced, watchIgnorable, watchOnce, watchPausable, watchThrottled, watchTriggerable, watchWithFilter, whenever };\n","import { noop, resolveUnref, isClient, isString, tryOnScopeDispose, isIOS, tryOnMounted, computedWithControl, promiseTimeout, isFunction, resolveRef, increaseWithUnit, useTimeoutFn, pausableWatch, createEventHook, timestamp, pausableFilter, watchIgnorable, debounceFilter, createFilterWrapper, bypassFilter, createSingletonPromise, toRefs, containsProp, until, hasOwn, throttleFilter, useDebounceFn, useThrottleFn, isObject, isNumber, useIntervalFn, clamp, syncRef, objectPick, tryOnUnmounted, watchWithFilter, identity, isDef } from '@vueuse/shared';\nexport * from '@vueuse/shared';\nimport { isRef, ref, shallowRef, watchEffect, computed, inject, unref, watch, getCurrentInstance, customRef, onUpdated, reactive, nextTick, onMounted, markRaw, readonly, getCurrentScope, isVue2, set, del, isReadonly, onBeforeUpdate } from 'vue-demi';\n\nfunction computedAsync(evaluationCallback, initialState, optionsOrRef) {\n let options;\n if (isRef(optionsOrRef)) {\n options = {\n evaluating: optionsOrRef\n };\n } else {\n options = optionsOrRef || {};\n }\n const {\n lazy = false,\n evaluating = void 0,\n shallow = false,\n onError = noop\n } = options;\n const started = ref(!lazy);\n const current = shallow ? shallowRef(initialState) : ref(initialState);\n let counter = 0;\n watchEffect(async (onInvalidate) => {\n if (!started.value)\n return;\n counter++;\n const counterAtBeginning = counter;\n let hasFinished = false;\n if (evaluating) {\n Promise.resolve().then(() => {\n evaluating.value = true;\n });\n }\n try {\n const result = await evaluationCallback((cancelCallback) => {\n onInvalidate(() => {\n if (evaluating)\n evaluating.value = false;\n if (!hasFinished)\n cancelCallback();\n });\n });\n if (counterAtBeginning === counter)\n current.value = result;\n } catch (e) {\n onError(e);\n } finally {\n if (evaluating && counterAtBeginning === counter)\n evaluating.value = false;\n hasFinished = true;\n }\n });\n if (lazy) {\n return computed(() => {\n started.value = true;\n return current.value;\n });\n } else {\n return current;\n }\n}\n\nfunction computedInject(key, options, defaultSource, treatDefaultAsFactory) {\n let source = inject(key);\n if (defaultSource)\n source = inject(key, defaultSource);\n if (treatDefaultAsFactory)\n source = inject(key, defaultSource, treatDefaultAsFactory);\n if (typeof options === \"function\") {\n return computed((ctx) => options(source, ctx));\n } else {\n return computed({\n get: (ctx) => options.get(source, ctx),\n set: options.set\n });\n }\n}\n\nconst createUnrefFn = (fn) => {\n return function(...args) {\n return fn.apply(this, args.map((i) => unref(i)));\n };\n};\n\nfunction unrefElement(elRef) {\n var _a;\n const plain = resolveUnref(elRef);\n return (_a = plain == null ? void 0 : plain.$el) != null ? _a : plain;\n}\n\nconst defaultWindow = isClient ? window : void 0;\nconst defaultDocument = isClient ? window.document : void 0;\nconst defaultNavigator = isClient ? window.navigator : void 0;\nconst defaultLocation = isClient ? window.location : void 0;\n\nfunction useEventListener(...args) {\n let target;\n let events;\n let listeners;\n let options;\n if (isString(args[0]) || Array.isArray(args[0])) {\n [events, listeners, options] = args;\n target = defaultWindow;\n } else {\n [target, events, listeners, options] = args;\n }\n if (!target)\n return noop;\n if (!Array.isArray(events))\n events = [events];\n if (!Array.isArray(listeners))\n listeners = [listeners];\n const cleanups = [];\n const cleanup = () => {\n cleanups.forEach((fn) => fn());\n cleanups.length = 0;\n };\n const register = (el, event, listener, options2) => {\n el.addEventListener(event, listener, options2);\n return () => el.removeEventListener(event, listener, options2);\n };\n const stopWatch = watch(() => [unrefElement(target), resolveUnref(options)], ([el, options2]) => {\n cleanup();\n if (!el)\n return;\n cleanups.push(...events.flatMap((event) => {\n return listeners.map((listener) => register(el, event, listener, options2));\n }));\n }, { immediate: true, flush: \"post\" });\n const stop = () => {\n stopWatch();\n cleanup();\n };\n tryOnScopeDispose(stop);\n return stop;\n}\n\nlet _iOSWorkaround = false;\nfunction onClickOutside(target, handler, options = {}) {\n const { window = defaultWindow, ignore = [], capture = true, detectIframe = false } = options;\n if (!window)\n return;\n if (isIOS && !_iOSWorkaround) {\n _iOSWorkaround = true;\n Array.from(window.document.body.children).forEach((el) => el.addEventListener(\"click\", noop));\n }\n let shouldListen = true;\n const shouldIgnore = (event) => {\n return ignore.some((target2) => {\n if (typeof target2 === \"string\") {\n return Array.from(window.document.querySelectorAll(target2)).some((el) => el === event.target || event.composedPath().includes(el));\n } else {\n const el = unrefElement(target2);\n return el && (event.target === el || event.composedPath().includes(el));\n }\n });\n };\n const listener = (event) => {\n const el = unrefElement(target);\n if (!el || el === event.target || event.composedPath().includes(el))\n return;\n if (event.detail === 0)\n shouldListen = !shouldIgnore(event);\n if (!shouldListen) {\n shouldListen = true;\n return;\n }\n handler(event);\n };\n const cleanup = [\n useEventListener(window, \"click\", listener, { passive: true, capture }),\n useEventListener(window, \"pointerdown\", (e) => {\n const el = unrefElement(target);\n if (el)\n shouldListen = !e.composedPath().includes(el) && !shouldIgnore(e);\n }, { passive: true }),\n detectIframe && useEventListener(window, \"blur\", (event) => {\n var _a;\n const el = unrefElement(target);\n if (((_a = window.document.activeElement) == null ? void 0 : _a.tagName) === \"IFRAME\" && !(el == null ? void 0 : el.contains(window.document.activeElement)))\n handler(event);\n })\n ].filter(Boolean);\n const stop = () => cleanup.forEach((fn) => fn());\n return stop;\n}\n\nvar __defProp$n = Object.defineProperty;\nvar __defProps$9 = Object.defineProperties;\nvar __getOwnPropDescs$9 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$p = Object.getOwnPropertySymbols;\nvar __hasOwnProp$p = Object.prototype.hasOwnProperty;\nvar __propIsEnum$p = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$n = (obj, key, value) => key in obj ? __defProp$n(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$n = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$p.call(b, prop))\n __defNormalProp$n(a, prop, b[prop]);\n if (__getOwnPropSymbols$p)\n for (var prop of __getOwnPropSymbols$p(b)) {\n if (__propIsEnum$p.call(b, prop))\n __defNormalProp$n(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$9 = (a, b) => __defProps$9(a, __getOwnPropDescs$9(b));\nconst createKeyPredicate = (keyFilter) => {\n if (typeof keyFilter === \"function\")\n return keyFilter;\n else if (typeof keyFilter === \"string\")\n return (event) => event.key === keyFilter;\n else if (Array.isArray(keyFilter))\n return (event) => keyFilter.includes(event.key);\n return () => true;\n};\nfunction onKeyStroke(...args) {\n let key;\n let handler;\n let options = {};\n if (args.length === 3) {\n key = args[0];\n handler = args[1];\n options = args[2];\n } else if (args.length === 2) {\n if (typeof args[1] === \"object\") {\n key = true;\n handler = args[0];\n options = args[1];\n } else {\n key = args[0];\n handler = args[1];\n }\n } else {\n key = true;\n handler = args[0];\n }\n const { target = defaultWindow, eventName = \"keydown\", passive = false } = options;\n const predicate = createKeyPredicate(key);\n const listener = (e) => {\n if (predicate(e))\n handler(e);\n };\n return useEventListener(target, eventName, listener, passive);\n}\nfunction onKeyDown(key, handler, options = {}) {\n return onKeyStroke(key, handler, __spreadProps$9(__spreadValues$n({}, options), { eventName: \"keydown\" }));\n}\nfunction onKeyPressed(key, handler, options = {}) {\n return onKeyStroke(key, handler, __spreadProps$9(__spreadValues$n({}, options), { eventName: \"keypress\" }));\n}\nfunction onKeyUp(key, handler, options = {}) {\n return onKeyStroke(key, handler, __spreadProps$9(__spreadValues$n({}, options), { eventName: \"keyup\" }));\n}\n\nconst DEFAULT_DELAY = 500;\nfunction onLongPress(target, handler, options) {\n var _a, _b;\n const elementRef = computed(() => unrefElement(target));\n let timeout;\n function clear() {\n if (timeout) {\n clearTimeout(timeout);\n timeout = void 0;\n }\n }\n function onDown(ev) {\n var _a2, _b2, _c, _d;\n if (((_a2 = options == null ? void 0 : options.modifiers) == null ? void 0 : _a2.self) && ev.target !== elementRef.value)\n return;\n clear();\n if ((_b2 = options == null ? void 0 : options.modifiers) == null ? void 0 : _b2.prevent)\n ev.preventDefault();\n if ((_c = options == null ? void 0 : options.modifiers) == null ? void 0 : _c.stop)\n ev.stopPropagation();\n timeout = setTimeout(() => handler(ev), (_d = options == null ? void 0 : options.delay) != null ? _d : DEFAULT_DELAY);\n }\n const listenerOptions = {\n capture: (_a = options == null ? void 0 : options.modifiers) == null ? void 0 : _a.capture,\n once: (_b = options == null ? void 0 : options.modifiers) == null ? void 0 : _b.once\n };\n useEventListener(elementRef, \"pointerdown\", onDown, listenerOptions);\n useEventListener(elementRef, \"pointerup\", clear, listenerOptions);\n useEventListener(elementRef, \"pointerleave\", clear, listenerOptions);\n}\n\nconst isFocusedElementEditable = () => {\n const { activeElement, body } = document;\n if (!activeElement)\n return false;\n if (activeElement === body)\n return false;\n switch (activeElement.tagName) {\n case \"INPUT\":\n case \"TEXTAREA\":\n return true;\n }\n return activeElement.hasAttribute(\"contenteditable\");\n};\nconst isTypedCharValid = ({\n keyCode,\n metaKey,\n ctrlKey,\n altKey\n}) => {\n if (metaKey || ctrlKey || altKey)\n return false;\n if (keyCode >= 48 && keyCode <= 57 || keyCode >= 96 && keyCode <= 105)\n return true;\n if (keyCode >= 65 && keyCode <= 90)\n return true;\n return false;\n};\nfunction onStartTyping(callback, options = {}) {\n const { document: document2 = defaultDocument } = options;\n const keydown = (event) => {\n !isFocusedElementEditable() && isTypedCharValid(event) && callback(event);\n };\n if (document2)\n useEventListener(document2, \"keydown\", keydown, { passive: true });\n}\n\nfunction templateRef(key, initialValue = null) {\n const instance = getCurrentInstance();\n let _trigger = () => {\n };\n const element = customRef((track, trigger) => {\n _trigger = trigger;\n return {\n get() {\n var _a, _b;\n track();\n return (_b = (_a = instance == null ? void 0 : instance.proxy) == null ? void 0 : _a.$refs[key]) != null ? _b : initialValue;\n },\n set() {\n }\n };\n });\n tryOnMounted(_trigger);\n onUpdated(_trigger);\n return element;\n}\n\nfunction useActiveElement(options = {}) {\n var _a;\n const { window = defaultWindow } = options;\n const document = (_a = options.document) != null ? _a : window == null ? void 0 : window.document;\n const activeElement = computedWithControl(() => null, () => document == null ? void 0 : document.activeElement);\n if (window) {\n useEventListener(window, \"blur\", (event) => {\n if (event.relatedTarget !== null)\n return;\n activeElement.trigger();\n }, true);\n useEventListener(window, \"focus\", activeElement.trigger, true);\n }\n return activeElement;\n}\n\nfunction useAsyncQueue(tasks, options = {}) {\n const {\n interrupt = true,\n onError = noop,\n onFinished = noop\n } = options;\n const promiseState = {\n pending: \"pending\",\n rejected: \"rejected\",\n fulfilled: \"fulfilled\"\n };\n const initialResult = Array.from(new Array(tasks.length), () => ({ state: promiseState.pending, data: null }));\n const result = reactive(initialResult);\n const activeIndex = ref(-1);\n if (!tasks || tasks.length === 0) {\n onFinished();\n return {\n activeIndex,\n result\n };\n }\n function updateResult(state, res) {\n activeIndex.value++;\n result[activeIndex.value].data = res;\n result[activeIndex.value].state = state;\n }\n tasks.reduce((prev, curr) => {\n return prev.then((prevRes) => {\n var _a;\n if (((_a = result[activeIndex.value]) == null ? void 0 : _a.state) === promiseState.rejected && interrupt) {\n onFinished();\n return;\n }\n return curr(prevRes).then((currentRes) => {\n updateResult(promiseState.fulfilled, currentRes);\n activeIndex.value === tasks.length - 1 && onFinished();\n return currentRes;\n });\n }).catch((e) => {\n updateResult(promiseState.rejected, e);\n onError();\n return e;\n });\n }, Promise.resolve());\n return {\n activeIndex,\n result\n };\n}\n\nfunction useAsyncState(promise, initialState, options) {\n const {\n immediate = true,\n delay = 0,\n onError = noop,\n onSuccess = noop,\n resetOnExecute = true,\n shallow = true,\n throwError\n } = options != null ? options : {};\n const state = shallow ? shallowRef(initialState) : ref(initialState);\n const isReady = ref(false);\n const isLoading = ref(false);\n const error = ref(void 0);\n async function execute(delay2 = 0, ...args) {\n if (resetOnExecute)\n state.value = initialState;\n error.value = void 0;\n isReady.value = false;\n isLoading.value = true;\n if (delay2 > 0)\n await promiseTimeout(delay2);\n const _promise = typeof promise === \"function\" ? promise(...args) : promise;\n try {\n const data = await _promise;\n state.value = data;\n isReady.value = true;\n onSuccess(data);\n } catch (e) {\n error.value = e;\n onError(e);\n if (throwError)\n throw error;\n } finally {\n isLoading.value = false;\n }\n return state.value;\n }\n if (immediate)\n execute(delay);\n return {\n state,\n isReady,\n isLoading,\n error,\n execute\n };\n}\n\nconst defaults = {\n array: (v) => JSON.stringify(v),\n object: (v) => JSON.stringify(v),\n set: (v) => JSON.stringify(Array.from(v)),\n map: (v) => JSON.stringify(Object.fromEntries(v)),\n null: () => \"\"\n};\nfunction getDefaultSerialization(target) {\n if (!target)\n return defaults.null;\n if (target instanceof Map)\n return defaults.map;\n else if (target instanceof Set)\n return defaults.set;\n else if (Array.isArray(target))\n return defaults.array;\n else\n return defaults.object;\n}\n\nfunction useBase64(target, options) {\n const base64 = ref(\"\");\n const promise = ref();\n function execute() {\n if (!isClient)\n return;\n promise.value = new Promise((resolve, reject) => {\n try {\n const _target = resolveUnref(target);\n if (_target == null) {\n resolve(\"\");\n } else if (typeof _target === \"string\") {\n resolve(blobToBase64(new Blob([_target], { type: \"text/plain\" })));\n } else if (_target instanceof Blob) {\n resolve(blobToBase64(_target));\n } else if (_target instanceof ArrayBuffer) {\n resolve(window.btoa(String.fromCharCode(...new Uint8Array(_target))));\n } else if (_target instanceof HTMLCanvasElement) {\n resolve(_target.toDataURL(options == null ? void 0 : options.type, options == null ? void 0 : options.quality));\n } else if (_target instanceof HTMLImageElement) {\n const img = _target.cloneNode(false);\n img.crossOrigin = \"Anonymous\";\n imgLoaded(img).then(() => {\n const canvas = document.createElement(\"canvas\");\n const ctx = canvas.getContext(\"2d\");\n canvas.width = img.width;\n canvas.height = img.height;\n ctx.drawImage(img, 0, 0, canvas.width, canvas.height);\n resolve(canvas.toDataURL(options == null ? void 0 : options.type, options == null ? void 0 : options.quality));\n }).catch(reject);\n } else if (typeof _target === \"object\") {\n const _serializeFn = (options == null ? void 0 : options.serializer) || getDefaultSerialization(_target);\n const serialized = _serializeFn(_target);\n return resolve(blobToBase64(new Blob([serialized], { type: \"application/json\" })));\n } else {\n reject(new Error(\"target is unsupported types\"));\n }\n } catch (error) {\n reject(error);\n }\n });\n promise.value.then((res) => base64.value = res);\n return promise.value;\n }\n if (isRef(target) || isFunction(target))\n watch(target, execute, { immediate: true });\n else\n execute();\n return {\n base64,\n promise,\n execute\n };\n}\nfunction imgLoaded(img) {\n return new Promise((resolve, reject) => {\n if (!img.complete) {\n img.onload = () => {\n resolve();\n };\n img.onerror = reject;\n } else {\n resolve();\n }\n });\n}\nfunction blobToBase64(blob) {\n return new Promise((resolve, reject) => {\n const fr = new FileReader();\n fr.onload = (e) => {\n resolve(e.target.result);\n };\n fr.onerror = reject;\n fr.readAsDataURL(blob);\n });\n}\n\nfunction useSupported(callback, sync = false) {\n const isSupported = ref();\n const update = () => isSupported.value = Boolean(callback());\n update();\n tryOnMounted(update, sync);\n return isSupported;\n}\n\nfunction useBattery({ navigator = defaultNavigator } = {}) {\n const events = [\"chargingchange\", \"chargingtimechange\", \"dischargingtimechange\", \"levelchange\"];\n const isSupported = useSupported(() => navigator && \"getBattery\" in navigator);\n const charging = ref(false);\n const chargingTime = ref(0);\n const dischargingTime = ref(0);\n const level = ref(1);\n let battery;\n function updateBatteryInfo() {\n charging.value = this.charging;\n chargingTime.value = this.chargingTime || 0;\n dischargingTime.value = this.dischargingTime || 0;\n level.value = this.level;\n }\n if (isSupported.value) {\n navigator.getBattery().then((_battery) => {\n battery = _battery;\n updateBatteryInfo.call(battery);\n for (const event of events)\n useEventListener(battery, event, updateBatteryInfo, { passive: true });\n });\n }\n return {\n isSupported,\n charging,\n chargingTime,\n dischargingTime,\n level\n };\n}\n\nfunction useBluetooth(options) {\n let {\n acceptAllDevices = false\n } = options || {};\n const {\n filters = void 0,\n optionalServices = void 0,\n navigator = defaultNavigator\n } = options || {};\n const isSupported = useSupported(() => navigator && \"bluetooth\" in navigator);\n const device = shallowRef(void 0);\n const error = shallowRef(null);\n watch(device, () => {\n connectToBluetoothGATTServer();\n });\n async function requestDevice() {\n if (!isSupported.value)\n return;\n error.value = null;\n if (filters && filters.length > 0)\n acceptAllDevices = false;\n try {\n device.value = await (navigator == null ? void 0 : navigator.bluetooth.requestDevice({\n acceptAllDevices,\n filters,\n optionalServices\n }));\n } catch (err) {\n error.value = err;\n }\n }\n const server = ref();\n const isConnected = computed(() => {\n var _a;\n return ((_a = server.value) == null ? void 0 : _a.connected) || false;\n });\n async function connectToBluetoothGATTServer() {\n error.value = null;\n if (device.value && device.value.gatt) {\n device.value.addEventListener(\"gattserverdisconnected\", () => {\n });\n try {\n server.value = await device.value.gatt.connect();\n } catch (err) {\n error.value = err;\n }\n }\n }\n tryOnMounted(() => {\n var _a;\n if (device.value)\n (_a = device.value.gatt) == null ? void 0 : _a.connect();\n });\n tryOnScopeDispose(() => {\n var _a;\n if (device.value)\n (_a = device.value.gatt) == null ? void 0 : _a.disconnect();\n });\n return {\n isSupported,\n isConnected,\n device,\n requestDevice,\n server,\n error\n };\n}\n\nfunction useMediaQuery(query, options = {}) {\n const { window = defaultWindow } = options;\n const isSupported = useSupported(() => window && \"matchMedia\" in window && typeof window.matchMedia === \"function\");\n let mediaQuery;\n const matches = ref(false);\n const cleanup = () => {\n if (!mediaQuery)\n return;\n if (\"removeEventListener\" in mediaQuery)\n mediaQuery.removeEventListener(\"change\", update);\n else\n mediaQuery.removeListener(update);\n };\n const update = () => {\n if (!isSupported.value)\n return;\n cleanup();\n mediaQuery = window.matchMedia(resolveRef(query).value);\n matches.value = mediaQuery.matches;\n if (\"addEventListener\" in mediaQuery)\n mediaQuery.addEventListener(\"change\", update);\n else\n mediaQuery.addListener(update);\n };\n watchEffect(update);\n tryOnScopeDispose(() => cleanup());\n return matches;\n}\n\nconst breakpointsTailwind = {\n \"sm\": 640,\n \"md\": 768,\n \"lg\": 1024,\n \"xl\": 1280,\n \"2xl\": 1536\n};\nconst breakpointsBootstrapV5 = {\n sm: 576,\n md: 768,\n lg: 992,\n xl: 1200,\n xxl: 1400\n};\nconst breakpointsVuetify = {\n xs: 600,\n sm: 960,\n md: 1264,\n lg: 1904\n};\nconst breakpointsAntDesign = {\n xs: 480,\n sm: 576,\n md: 768,\n lg: 992,\n xl: 1200,\n xxl: 1600\n};\nconst breakpointsQuasar = {\n xs: 600,\n sm: 1024,\n md: 1440,\n lg: 1920\n};\nconst breakpointsSematic = {\n mobileS: 320,\n mobileM: 375,\n mobileL: 425,\n tablet: 768,\n laptop: 1024,\n laptopL: 1440,\n desktop4K: 2560\n};\nconst breakpointsMasterCss = {\n \"3xs\": 360,\n \"2xs\": 480,\n \"xs\": 600,\n \"sm\": 768,\n \"md\": 1024,\n \"lg\": 1280,\n \"xl\": 1440,\n \"2xl\": 1600,\n \"3xl\": 1920,\n \"4xl\": 2560\n};\n\nvar __defProp$m = Object.defineProperty;\nvar __getOwnPropSymbols$o = Object.getOwnPropertySymbols;\nvar __hasOwnProp$o = Object.prototype.hasOwnProperty;\nvar __propIsEnum$o = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$m = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$o.call(b, prop))\n __defNormalProp$m(a, prop, b[prop]);\n if (__getOwnPropSymbols$o)\n for (var prop of __getOwnPropSymbols$o(b)) {\n if (__propIsEnum$o.call(b, prop))\n __defNormalProp$m(a, prop, b[prop]);\n }\n return a;\n};\nfunction useBreakpoints(breakpoints, options = {}) {\n function getValue(k, delta) {\n let v = breakpoints[k];\n if (delta != null)\n v = increaseWithUnit(v, delta);\n if (typeof v === \"number\")\n v = `${v}px`;\n return v;\n }\n const { window = defaultWindow } = options;\n function match(query) {\n if (!window)\n return false;\n return window.matchMedia(query).matches;\n }\n const greaterOrEqual = (k) => {\n return useMediaQuery(`(min-width: ${getValue(k)})`, options);\n };\n const shortcutMethods = Object.keys(breakpoints).reduce((shortcuts, k) => {\n Object.defineProperty(shortcuts, k, {\n get: () => greaterOrEqual(k),\n enumerable: true,\n configurable: true\n });\n return shortcuts;\n }, {});\n return __spreadValues$m({\n greater(k) {\n return useMediaQuery(`(min-width: ${getValue(k, 0.1)})`, options);\n },\n greaterOrEqual,\n smaller(k) {\n return useMediaQuery(`(max-width: ${getValue(k, -0.1)})`, options);\n },\n smallerOrEqual(k) {\n return useMediaQuery(`(max-width: ${getValue(k)})`, options);\n },\n between(a, b) {\n return useMediaQuery(`(min-width: ${getValue(a)}) and (max-width: ${getValue(b, -0.1)})`, options);\n },\n isGreater(k) {\n return match(`(min-width: ${getValue(k, 0.1)})`);\n },\n isGreaterOrEqual(k) {\n return match(`(min-width: ${getValue(k)})`);\n },\n isSmaller(k) {\n return match(`(max-width: ${getValue(k, -0.1)})`);\n },\n isSmallerOrEqual(k) {\n return match(`(max-width: ${getValue(k)})`);\n },\n isInBetween(a, b) {\n return match(`(min-width: ${getValue(a)}) and (max-width: ${getValue(b, -0.1)})`);\n }\n }, shortcutMethods);\n}\n\nconst useBroadcastChannel = (options) => {\n const {\n name,\n window = defaultWindow\n } = options;\n const isSupported = useSupported(() => window && \"BroadcastChannel\" in window);\n const isClosed = ref(false);\n const channel = ref();\n const data = ref();\n const error = ref(null);\n const post = (data2) => {\n if (channel.value)\n channel.value.postMessage(data2);\n };\n const close = () => {\n if (channel.value)\n channel.value.close();\n isClosed.value = true;\n };\n if (isSupported.value) {\n tryOnMounted(() => {\n error.value = null;\n channel.value = new BroadcastChannel(name);\n channel.value.addEventListener(\"message\", (e) => {\n data.value = e.data;\n }, { passive: true });\n channel.value.addEventListener(\"messageerror\", (e) => {\n error.value = e;\n }, { passive: true });\n channel.value.addEventListener(\"close\", () => {\n isClosed.value = true;\n });\n });\n }\n tryOnScopeDispose(() => {\n close();\n });\n return {\n isSupported,\n channel,\n data,\n post,\n close,\n error,\n isClosed\n };\n};\n\nfunction useBrowserLocation({ window = defaultWindow } = {}) {\n const buildState = (trigger) => {\n const { state: state2, length } = (window == null ? void 0 : window.history) || {};\n const { hash, host, hostname, href, origin, pathname, port, protocol, search } = (window == null ? void 0 : window.location) || {};\n return {\n trigger,\n state: state2,\n length,\n hash,\n host,\n hostname,\n href,\n origin,\n pathname,\n port,\n protocol,\n search\n };\n };\n const state = ref(buildState(\"load\"));\n if (window) {\n useEventListener(window, \"popstate\", () => state.value = buildState(\"popstate\"), { passive: true });\n useEventListener(window, \"hashchange\", () => state.value = buildState(\"hashchange\"), { passive: true });\n }\n return state;\n}\n\nfunction useCached(refValue, comparator = (a, b) => a === b, watchOptions) {\n const cachedValue = ref(refValue.value);\n watch(() => refValue.value, (value) => {\n if (!comparator(value, cachedValue.value))\n cachedValue.value = value;\n }, watchOptions);\n return cachedValue;\n}\n\nfunction useClipboard(options = {}) {\n const {\n navigator = defaultNavigator,\n read = false,\n source,\n copiedDuring = 1500,\n legacy = false\n } = options;\n const events = [\"copy\", \"cut\"];\n const isClipboardApiSupported = useSupported(() => navigator && \"clipboard\" in navigator);\n const isSupported = computed(() => isClipboardApiSupported.value || legacy);\n const text = ref(\"\");\n const copied = ref(false);\n const timeout = useTimeoutFn(() => copied.value = false, copiedDuring);\n function updateText() {\n if (isClipboardApiSupported.value) {\n navigator.clipboard.readText().then((value) => {\n text.value = value;\n });\n } else {\n text.value = legacyRead();\n }\n }\n if (isSupported.value && read) {\n for (const event of events)\n useEventListener(event, updateText);\n }\n async function copy(value = resolveUnref(source)) {\n if (isSupported.value && value != null) {\n if (isClipboardApiSupported.value)\n await navigator.clipboard.writeText(value);\n else\n legacyCopy(value);\n text.value = value;\n copied.value = true;\n timeout.start();\n }\n }\n function legacyCopy(value) {\n const ta = document.createElement(\"textarea\");\n ta.value = value != null ? value : \"\";\n ta.style.position = \"absolute\";\n ta.style.opacity = \"0\";\n document.body.appendChild(ta);\n ta.select();\n document.execCommand(\"copy\");\n ta.remove();\n }\n function legacyRead() {\n var _a, _b, _c;\n return (_c = (_b = (_a = document == null ? void 0 : document.getSelection) == null ? void 0 : _a.call(document)) == null ? void 0 : _b.toString()) != null ? _c : \"\";\n }\n return {\n isSupported,\n text,\n copied,\n copy\n };\n}\n\nvar __defProp$l = Object.defineProperty;\nvar __defProps$8 = Object.defineProperties;\nvar __getOwnPropDescs$8 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$n = Object.getOwnPropertySymbols;\nvar __hasOwnProp$n = Object.prototype.hasOwnProperty;\nvar __propIsEnum$n = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$l = (obj, key, value) => key in obj ? __defProp$l(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$l = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$n.call(b, prop))\n __defNormalProp$l(a, prop, b[prop]);\n if (__getOwnPropSymbols$n)\n for (var prop of __getOwnPropSymbols$n(b)) {\n if (__propIsEnum$n.call(b, prop))\n __defNormalProp$l(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$8 = (a, b) => __defProps$8(a, __getOwnPropDescs$8(b));\nfunction cloneFnJSON(source) {\n return JSON.parse(JSON.stringify(source));\n}\nfunction useCloned(source, options = {}) {\n const cloned = ref({});\n const {\n manual,\n clone = cloneFnJSON,\n deep = true,\n immediate = true\n } = options;\n function sync() {\n cloned.value = clone(unref(source));\n }\n if (!manual && isRef(source)) {\n watch(source, sync, __spreadProps$8(__spreadValues$l({}, options), {\n deep,\n immediate\n }));\n } else {\n sync();\n }\n return { cloned, sync };\n}\n\nconst _global = typeof globalThis !== \"undefined\" ? globalThis : typeof window !== \"undefined\" ? window : typeof global !== \"undefined\" ? global : typeof self !== \"undefined\" ? self : {};\nconst globalKey = \"__vueuse_ssr_handlers__\";\n_global[globalKey] = _global[globalKey] || {};\nconst handlers = _global[globalKey];\nfunction getSSRHandler(key, fallback) {\n return handlers[key] || fallback;\n}\nfunction setSSRHandler(key, fn) {\n handlers[key] = fn;\n}\n\nfunction guessSerializerType(rawInit) {\n return rawInit == null ? \"any\" : rawInit instanceof Set ? \"set\" : rawInit instanceof Map ? \"map\" : rawInit instanceof Date ? \"date\" : typeof rawInit === \"boolean\" ? \"boolean\" : typeof rawInit === \"string\" ? \"string\" : typeof rawInit === \"object\" ? \"object\" : !Number.isNaN(rawInit) ? \"number\" : \"any\";\n}\n\nvar __defProp$k = Object.defineProperty;\nvar __getOwnPropSymbols$m = Object.getOwnPropertySymbols;\nvar __hasOwnProp$m = Object.prototype.hasOwnProperty;\nvar __propIsEnum$m = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$k = (obj, key, value) => key in obj ? __defProp$k(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$k = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$m.call(b, prop))\n __defNormalProp$k(a, prop, b[prop]);\n if (__getOwnPropSymbols$m)\n for (var prop of __getOwnPropSymbols$m(b)) {\n if (__propIsEnum$m.call(b, prop))\n __defNormalProp$k(a, prop, b[prop]);\n }\n return a;\n};\nconst StorageSerializers = {\n boolean: {\n read: (v) => v === \"true\",\n write: (v) => String(v)\n },\n object: {\n read: (v) => JSON.parse(v),\n write: (v) => JSON.stringify(v)\n },\n number: {\n read: (v) => Number.parseFloat(v),\n write: (v) => String(v)\n },\n any: {\n read: (v) => v,\n write: (v) => String(v)\n },\n string: {\n read: (v) => v,\n write: (v) => String(v)\n },\n map: {\n read: (v) => new Map(JSON.parse(v)),\n write: (v) => JSON.stringify(Array.from(v.entries()))\n },\n set: {\n read: (v) => new Set(JSON.parse(v)),\n write: (v) => JSON.stringify(Array.from(v))\n },\n date: {\n read: (v) => new Date(v),\n write: (v) => v.toISOString()\n }\n};\nconst customStorageEventName = \"vueuse-storage\";\nfunction useStorage(key, defaults, storage, options = {}) {\n var _a;\n const {\n flush = \"pre\",\n deep = true,\n listenToStorageChanges = true,\n writeDefaults = true,\n mergeDefaults = false,\n shallow,\n window = defaultWindow,\n eventFilter,\n onError = (e) => {\n console.error(e);\n }\n } = options;\n const data = (shallow ? shallowRef : ref)(defaults);\n if (!storage) {\n try {\n storage = getSSRHandler(\"getDefaultStorage\", () => {\n var _a2;\n return (_a2 = defaultWindow) == null ? void 0 : _a2.localStorage;\n })();\n } catch (e) {\n onError(e);\n }\n }\n if (!storage)\n return data;\n const rawInit = resolveUnref(defaults);\n const type = guessSerializerType(rawInit);\n const serializer = (_a = options.serializer) != null ? _a : StorageSerializers[type];\n const { pause: pauseWatch, resume: resumeWatch } = pausableWatch(data, () => write(data.value), { flush, deep, eventFilter });\n if (window && listenToStorageChanges) {\n useEventListener(window, \"storage\", update);\n useEventListener(window, customStorageEventName, updateFromCustomEvent);\n }\n update();\n return data;\n function write(v) {\n try {\n if (v == null) {\n storage.removeItem(key);\n } else {\n const serialized = serializer.write(v);\n const oldValue = storage.getItem(key);\n if (oldValue !== serialized) {\n storage.setItem(key, serialized);\n if (window) {\n window.dispatchEvent(new CustomEvent(customStorageEventName, {\n detail: {\n key,\n oldValue,\n newValue: serialized,\n storageArea: storage\n }\n }));\n }\n }\n }\n } catch (e) {\n onError(e);\n }\n }\n function read(event) {\n const rawValue = event ? event.newValue : storage.getItem(key);\n if (rawValue == null) {\n if (writeDefaults && rawInit !== null)\n storage.setItem(key, serializer.write(rawInit));\n return rawInit;\n } else if (!event && mergeDefaults) {\n const value = serializer.read(rawValue);\n if (isFunction(mergeDefaults))\n return mergeDefaults(value, rawInit);\n else if (type === \"object\" && !Array.isArray(value))\n return __spreadValues$k(__spreadValues$k({}, rawInit), value);\n return value;\n } else if (typeof rawValue !== \"string\") {\n return rawValue;\n } else {\n return serializer.read(rawValue);\n }\n }\n function updateFromCustomEvent(event) {\n update(event.detail);\n }\n function update(event) {\n if (event && event.storageArea !== storage)\n return;\n if (event && event.key == null) {\n data.value = rawInit;\n return;\n }\n if (event && event.key !== key)\n return;\n pauseWatch();\n try {\n data.value = read(event);\n } catch (e) {\n onError(e);\n } finally {\n if (event)\n nextTick(resumeWatch);\n else\n resumeWatch();\n }\n }\n}\n\nfunction usePreferredDark(options) {\n return useMediaQuery(\"(prefers-color-scheme: dark)\", options);\n}\n\nvar __defProp$j = Object.defineProperty;\nvar __getOwnPropSymbols$l = Object.getOwnPropertySymbols;\nvar __hasOwnProp$l = Object.prototype.hasOwnProperty;\nvar __propIsEnum$l = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$j = (obj, key, value) => key in obj ? __defProp$j(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$j = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$l.call(b, prop))\n __defNormalProp$j(a, prop, b[prop]);\n if (__getOwnPropSymbols$l)\n for (var prop of __getOwnPropSymbols$l(b)) {\n if (__propIsEnum$l.call(b, prop))\n __defNormalProp$j(a, prop, b[prop]);\n }\n return a;\n};\nfunction useColorMode(options = {}) {\n const {\n selector = \"html\",\n attribute = \"class\",\n initialValue = \"auto\",\n window = defaultWindow,\n storage,\n storageKey = \"vueuse-color-scheme\",\n listenToStorageChanges = true,\n storageRef,\n emitAuto\n } = options;\n const modes = __spreadValues$j({\n auto: \"\",\n light: \"light\",\n dark: \"dark\"\n }, options.modes || {});\n const preferredDark = usePreferredDark({ window });\n const preferredMode = computed(() => preferredDark.value ? \"dark\" : \"light\");\n const store = storageRef || (storageKey == null ? ref(initialValue) : useStorage(storageKey, initialValue, storage, { window, listenToStorageChanges }));\n const state = computed({\n get() {\n return store.value === \"auto\" && !emitAuto ? preferredMode.value : store.value;\n },\n set(v) {\n store.value = v;\n }\n });\n const updateHTMLAttrs = getSSRHandler(\"updateHTMLAttrs\", (selector2, attribute2, value) => {\n const el = window == null ? void 0 : window.document.querySelector(selector2);\n if (!el)\n return;\n if (attribute2 === \"class\") {\n const current = value.split(/\\s/g);\n Object.values(modes).flatMap((i) => (i || \"\").split(/\\s/g)).filter(Boolean).forEach((v) => {\n if (current.includes(v))\n el.classList.add(v);\n else\n el.classList.remove(v);\n });\n } else {\n el.setAttribute(attribute2, value);\n }\n });\n function defaultOnChanged(mode) {\n var _a;\n const resolvedMode = mode === \"auto\" ? preferredMode.value : mode;\n updateHTMLAttrs(selector, attribute, (_a = modes[resolvedMode]) != null ? _a : resolvedMode);\n }\n function onChanged(mode) {\n if (options.onChanged)\n options.onChanged(mode, defaultOnChanged);\n else\n defaultOnChanged(mode);\n }\n watch(state, onChanged, { flush: \"post\", immediate: true });\n if (emitAuto)\n watch(preferredMode, () => onChanged(state.value), { flush: \"post\" });\n tryOnMounted(() => onChanged(state.value));\n return state;\n}\n\nfunction useConfirmDialog(revealed = ref(false)) {\n const confirmHook = createEventHook();\n const cancelHook = createEventHook();\n const revealHook = createEventHook();\n let _resolve = noop;\n const reveal = (data) => {\n revealHook.trigger(data);\n revealed.value = true;\n return new Promise((resolve) => {\n _resolve = resolve;\n });\n };\n const confirm = (data) => {\n revealed.value = false;\n confirmHook.trigger(data);\n _resolve({ data, isCanceled: false });\n };\n const cancel = (data) => {\n revealed.value = false;\n cancelHook.trigger(data);\n _resolve({ data, isCanceled: true });\n };\n return {\n isRevealed: computed(() => revealed.value),\n reveal,\n confirm,\n cancel,\n onReveal: revealHook.on,\n onConfirm: confirmHook.on,\n onCancel: cancelHook.on\n };\n}\n\nfunction useCssVar(prop, target, { window = defaultWindow, initialValue = \"\" } = {}) {\n const variable = ref(initialValue);\n const elRef = computed(() => {\n var _a;\n return unrefElement(target) || ((_a = window == null ? void 0 : window.document) == null ? void 0 : _a.documentElement);\n });\n watch([elRef, () => resolveUnref(prop)], ([el, prop2]) => {\n var _a;\n if (el && window) {\n const value = (_a = window.getComputedStyle(el).getPropertyValue(prop2)) == null ? void 0 : _a.trim();\n variable.value = value || initialValue;\n }\n }, { immediate: true });\n watch(variable, (val) => {\n var _a;\n if ((_a = elRef.value) == null ? void 0 : _a.style)\n elRef.value.style.setProperty(resolveUnref(prop), val);\n });\n return variable;\n}\n\nfunction useCurrentElement() {\n const vm = getCurrentInstance();\n const currentElement = computedWithControl(() => null, () => vm.proxy.$el);\n onUpdated(currentElement.trigger);\n onMounted(currentElement.trigger);\n return currentElement;\n}\n\nfunction useCycleList(list, options) {\n var _a;\n const state = shallowRef((_a = options == null ? void 0 : options.initialValue) != null ? _a : list[0]);\n const index = computed({\n get() {\n var _a2;\n let index2 = (options == null ? void 0 : options.getIndexOf) ? options.getIndexOf(state.value, list) : list.indexOf(state.value);\n if (index2 < 0)\n index2 = (_a2 = options == null ? void 0 : options.fallbackIndex) != null ? _a2 : 0;\n return index2;\n },\n set(v) {\n set(v);\n }\n });\n function set(i) {\n const length = list.length;\n const index2 = (i % length + length) % length;\n const value = list[index2];\n state.value = value;\n return value;\n }\n function shift(delta = 1) {\n return set(index.value + delta);\n }\n function next(n = 1) {\n return shift(n);\n }\n function prev(n = 1) {\n return shift(-n);\n }\n return {\n state,\n index,\n next,\n prev\n };\n}\n\nvar __defProp$i = Object.defineProperty;\nvar __defProps$7 = Object.defineProperties;\nvar __getOwnPropDescs$7 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$k = Object.getOwnPropertySymbols;\nvar __hasOwnProp$k = Object.prototype.hasOwnProperty;\nvar __propIsEnum$k = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$i = (obj, key, value) => key in obj ? __defProp$i(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$i = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$k.call(b, prop))\n __defNormalProp$i(a, prop, b[prop]);\n if (__getOwnPropSymbols$k)\n for (var prop of __getOwnPropSymbols$k(b)) {\n if (__propIsEnum$k.call(b, prop))\n __defNormalProp$i(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$7 = (a, b) => __defProps$7(a, __getOwnPropDescs$7(b));\nfunction useDark(options = {}) {\n const {\n valueDark = \"dark\",\n valueLight = \"\",\n window = defaultWindow\n } = options;\n const mode = useColorMode(__spreadProps$7(__spreadValues$i({}, options), {\n onChanged: (mode2, defaultHandler) => {\n var _a;\n if (options.onChanged)\n (_a = options.onChanged) == null ? void 0 : _a.call(options, mode2 === \"dark\");\n else\n defaultHandler(mode2);\n },\n modes: {\n dark: valueDark,\n light: valueLight\n }\n }));\n const preferredDark = usePreferredDark({ window });\n const isDark = computed({\n get() {\n return mode.value === \"dark\";\n },\n set(v) {\n if (v === preferredDark.value)\n mode.value = \"auto\";\n else\n mode.value = v ? \"dark\" : \"light\";\n }\n });\n return isDark;\n}\n\nconst fnBypass = (v) => v;\nconst fnSetSource = (source, value) => source.value = value;\nfunction defaultDump(clone) {\n return clone ? isFunction(clone) ? clone : cloneFnJSON : fnBypass;\n}\nfunction defaultParse(clone) {\n return clone ? isFunction(clone) ? clone : cloneFnJSON : fnBypass;\n}\nfunction useManualRefHistory(source, options = {}) {\n const {\n clone = false,\n dump = defaultDump(clone),\n parse = defaultParse(clone),\n setSource = fnSetSource\n } = options;\n function _createHistoryRecord() {\n return markRaw({\n snapshot: dump(source.value),\n timestamp: timestamp()\n });\n }\n const last = ref(_createHistoryRecord());\n const undoStack = ref([]);\n const redoStack = ref([]);\n const _setSource = (record) => {\n setSource(source, parse(record.snapshot));\n last.value = record;\n };\n const commit = () => {\n undoStack.value.unshift(last.value);\n last.value = _createHistoryRecord();\n if (options.capacity && undoStack.value.length > options.capacity)\n undoStack.value.splice(options.capacity, Infinity);\n if (redoStack.value.length)\n redoStack.value.splice(0, redoStack.value.length);\n };\n const clear = () => {\n undoStack.value.splice(0, undoStack.value.length);\n redoStack.value.splice(0, redoStack.value.length);\n };\n const undo = () => {\n const state = undoStack.value.shift();\n if (state) {\n redoStack.value.unshift(last.value);\n _setSource(state);\n }\n };\n const redo = () => {\n const state = redoStack.value.shift();\n if (state) {\n undoStack.value.unshift(last.value);\n _setSource(state);\n }\n };\n const reset = () => {\n _setSource(last.value);\n };\n const history = computed(() => [last.value, ...undoStack.value]);\n const canUndo = computed(() => undoStack.value.length > 0);\n const canRedo = computed(() => redoStack.value.length > 0);\n return {\n source,\n undoStack,\n redoStack,\n last,\n history,\n canUndo,\n canRedo,\n clear,\n commit,\n reset,\n undo,\n redo\n };\n}\n\nvar __defProp$h = Object.defineProperty;\nvar __defProps$6 = Object.defineProperties;\nvar __getOwnPropDescs$6 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$j = Object.getOwnPropertySymbols;\nvar __hasOwnProp$j = Object.prototype.hasOwnProperty;\nvar __propIsEnum$j = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$h = (obj, key, value) => key in obj ? __defProp$h(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$h = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$j.call(b, prop))\n __defNormalProp$h(a, prop, b[prop]);\n if (__getOwnPropSymbols$j)\n for (var prop of __getOwnPropSymbols$j(b)) {\n if (__propIsEnum$j.call(b, prop))\n __defNormalProp$h(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$6 = (a, b) => __defProps$6(a, __getOwnPropDescs$6(b));\nfunction useRefHistory(source, options = {}) {\n const {\n deep = false,\n flush = \"pre\",\n eventFilter\n } = options;\n const {\n eventFilter: composedFilter,\n pause,\n resume: resumeTracking,\n isActive: isTracking\n } = pausableFilter(eventFilter);\n const {\n ignoreUpdates,\n ignorePrevAsyncUpdates,\n stop\n } = watchIgnorable(source, commit, { deep, flush, eventFilter: composedFilter });\n function setSource(source2, value) {\n ignorePrevAsyncUpdates();\n ignoreUpdates(() => {\n source2.value = value;\n });\n }\n const manualHistory = useManualRefHistory(source, __spreadProps$6(__spreadValues$h({}, options), { clone: options.clone || deep, setSource }));\n const { clear, commit: manualCommit } = manualHistory;\n function commit() {\n ignorePrevAsyncUpdates();\n manualCommit();\n }\n function resume(commitNow) {\n resumeTracking();\n if (commitNow)\n commit();\n }\n function batch(fn) {\n let canceled = false;\n const cancel = () => canceled = true;\n ignoreUpdates(() => {\n fn(cancel);\n });\n if (!canceled)\n commit();\n }\n function dispose() {\n stop();\n clear();\n }\n return __spreadProps$6(__spreadValues$h({}, manualHistory), {\n isTracking,\n pause,\n resume,\n commit,\n batch,\n dispose\n });\n}\n\nvar __defProp$g = Object.defineProperty;\nvar __defProps$5 = Object.defineProperties;\nvar __getOwnPropDescs$5 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$i = Object.getOwnPropertySymbols;\nvar __hasOwnProp$i = Object.prototype.hasOwnProperty;\nvar __propIsEnum$i = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$g = (obj, key, value) => key in obj ? __defProp$g(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$g = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$i.call(b, prop))\n __defNormalProp$g(a, prop, b[prop]);\n if (__getOwnPropSymbols$i)\n for (var prop of __getOwnPropSymbols$i(b)) {\n if (__propIsEnum$i.call(b, prop))\n __defNormalProp$g(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$5 = (a, b) => __defProps$5(a, __getOwnPropDescs$5(b));\nfunction useDebouncedRefHistory(source, options = {}) {\n const filter = options.debounce ? debounceFilter(options.debounce) : void 0;\n const history = useRefHistory(source, __spreadProps$5(__spreadValues$g({}, options), { eventFilter: filter }));\n return __spreadValues$g({}, history);\n}\n\nfunction useDeviceMotion(options = {}) {\n const {\n window = defaultWindow,\n eventFilter = bypassFilter\n } = options;\n const acceleration = ref({ x: null, y: null, z: null });\n const rotationRate = ref({ alpha: null, beta: null, gamma: null });\n const interval = ref(0);\n const accelerationIncludingGravity = ref({\n x: null,\n y: null,\n z: null\n });\n if (window) {\n const onDeviceMotion = createFilterWrapper(eventFilter, (event) => {\n acceleration.value = event.acceleration;\n accelerationIncludingGravity.value = event.accelerationIncludingGravity;\n rotationRate.value = event.rotationRate;\n interval.value = event.interval;\n });\n useEventListener(window, \"devicemotion\", onDeviceMotion);\n }\n return {\n acceleration,\n accelerationIncludingGravity,\n rotationRate,\n interval\n };\n}\n\nfunction useDeviceOrientation(options = {}) {\n const { window = defaultWindow } = options;\n const isSupported = useSupported(() => window && \"DeviceOrientationEvent\" in window);\n const isAbsolute = ref(false);\n const alpha = ref(null);\n const beta = ref(null);\n const gamma = ref(null);\n if (window && isSupported.value) {\n useEventListener(window, \"deviceorientation\", (event) => {\n isAbsolute.value = event.absolute;\n alpha.value = event.alpha;\n beta.value = event.beta;\n gamma.value = event.gamma;\n });\n }\n return {\n isSupported,\n isAbsolute,\n alpha,\n beta,\n gamma\n };\n}\n\nfunction useDevicePixelRatio({\n window = defaultWindow\n} = {}) {\n const pixelRatio = ref(1);\n if (window) {\n let observe = function() {\n pixelRatio.value = window.devicePixelRatio;\n cleanup();\n media = window.matchMedia(`(resolution: ${pixelRatio.value}dppx)`);\n media.addEventListener(\"change\", observe, { once: true });\n }, cleanup = function() {\n media == null ? void 0 : media.removeEventListener(\"change\", observe);\n };\n let media;\n observe();\n tryOnScopeDispose(cleanup);\n }\n return { pixelRatio };\n}\n\nfunction usePermission(permissionDesc, options = {}) {\n const {\n controls = false,\n navigator = defaultNavigator\n } = options;\n const isSupported = useSupported(() => navigator && \"permissions\" in navigator);\n let permissionStatus;\n const desc = typeof permissionDesc === \"string\" ? { name: permissionDesc } : permissionDesc;\n const state = ref();\n const onChange = () => {\n if (permissionStatus)\n state.value = permissionStatus.state;\n };\n const query = createSingletonPromise(async () => {\n if (!isSupported.value)\n return;\n if (!permissionStatus) {\n try {\n permissionStatus = await navigator.permissions.query(desc);\n useEventListener(permissionStatus, \"change\", onChange);\n onChange();\n } catch (e) {\n state.value = \"prompt\";\n }\n }\n return permissionStatus;\n });\n query();\n if (controls) {\n return {\n state,\n isSupported,\n query\n };\n } else {\n return state;\n }\n}\n\nfunction useDevicesList(options = {}) {\n const {\n navigator = defaultNavigator,\n requestPermissions = false,\n constraints = { audio: true, video: true },\n onUpdated\n } = options;\n const devices = ref([]);\n const videoInputs = computed(() => devices.value.filter((i) => i.kind === \"videoinput\"));\n const audioInputs = computed(() => devices.value.filter((i) => i.kind === \"audioinput\"));\n const audioOutputs = computed(() => devices.value.filter((i) => i.kind === \"audiooutput\"));\n const isSupported = useSupported(() => navigator && navigator.mediaDevices && navigator.mediaDevices.enumerateDevices);\n const permissionGranted = ref(false);\n async function update() {\n if (!isSupported.value)\n return;\n devices.value = await navigator.mediaDevices.enumerateDevices();\n onUpdated == null ? void 0 : onUpdated(devices.value);\n }\n async function ensurePermissions() {\n if (!isSupported.value)\n return false;\n if (permissionGranted.value)\n return true;\n const { state, query } = usePermission(\"camera\", { controls: true });\n await query();\n if (state.value !== \"granted\") {\n const stream = await navigator.mediaDevices.getUserMedia(constraints);\n stream.getTracks().forEach((t) => t.stop());\n update();\n permissionGranted.value = true;\n } else {\n permissionGranted.value = true;\n }\n return permissionGranted.value;\n }\n if (isSupported.value) {\n if (requestPermissions)\n ensurePermissions();\n useEventListener(navigator.mediaDevices, \"devicechange\", update);\n update();\n }\n return {\n devices,\n ensurePermissions,\n permissionGranted,\n videoInputs,\n audioInputs,\n audioOutputs,\n isSupported\n };\n}\n\nfunction useDisplayMedia(options = {}) {\n var _a;\n const enabled = ref((_a = options.enabled) != null ? _a : false);\n const video = options.video;\n const audio = options.audio;\n const { navigator = defaultNavigator } = options;\n const isSupported = useSupported(() => {\n var _a2;\n return (_a2 = navigator == null ? void 0 : navigator.mediaDevices) == null ? void 0 : _a2.getDisplayMedia;\n });\n const constraint = { audio, video };\n const stream = shallowRef();\n async function _start() {\n if (!isSupported.value || stream.value)\n return;\n stream.value = await navigator.mediaDevices.getDisplayMedia(constraint);\n return stream.value;\n }\n async function _stop() {\n var _a2;\n (_a2 = stream.value) == null ? void 0 : _a2.getTracks().forEach((t) => t.stop());\n stream.value = void 0;\n }\n function stop() {\n _stop();\n enabled.value = false;\n }\n async function start() {\n await _start();\n if (stream.value)\n enabled.value = true;\n return stream.value;\n }\n watch(enabled, (v) => {\n if (v)\n _start();\n else\n _stop();\n }, { immediate: true });\n return {\n isSupported,\n stream,\n start,\n stop,\n enabled\n };\n}\n\nfunction useDocumentVisibility({ document = defaultDocument } = {}) {\n if (!document)\n return ref(\"visible\");\n const visibility = ref(document.visibilityState);\n useEventListener(document, \"visibilitychange\", () => {\n visibility.value = document.visibilityState;\n });\n return visibility;\n}\n\nvar __defProp$f = Object.defineProperty;\nvar __defProps$4 = Object.defineProperties;\nvar __getOwnPropDescs$4 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$h = Object.getOwnPropertySymbols;\nvar __hasOwnProp$h = Object.prototype.hasOwnProperty;\nvar __propIsEnum$h = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$f = (obj, key, value) => key in obj ? __defProp$f(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$f = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$h.call(b, prop))\n __defNormalProp$f(a, prop, b[prop]);\n if (__getOwnPropSymbols$h)\n for (var prop of __getOwnPropSymbols$h(b)) {\n if (__propIsEnum$h.call(b, prop))\n __defNormalProp$f(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$4 = (a, b) => __defProps$4(a, __getOwnPropDescs$4(b));\nfunction useDraggable(target, options = {}) {\n var _a, _b, _c;\n const draggingElement = (_a = options.draggingElement) != null ? _a : defaultWindow;\n const draggingHandle = (_b = options.handle) != null ? _b : target;\n const position = ref((_c = resolveUnref(options.initialValue)) != null ? _c : { x: 0, y: 0 });\n const pressedDelta = ref();\n const filterEvent = (e) => {\n if (options.pointerTypes)\n return options.pointerTypes.includes(e.pointerType);\n return true;\n };\n const handleEvent = (e) => {\n if (resolveUnref(options.preventDefault))\n e.preventDefault();\n if (resolveUnref(options.stopPropagation))\n e.stopPropagation();\n };\n const start = (e) => {\n var _a2;\n if (!filterEvent(e))\n return;\n if (resolveUnref(options.exact) && e.target !== resolveUnref(target))\n return;\n const rect = resolveUnref(target).getBoundingClientRect();\n const pos = {\n x: e.clientX - rect.left,\n y: e.clientY - rect.top\n };\n if (((_a2 = options.onStart) == null ? void 0 : _a2.call(options, pos, e)) === false)\n return;\n pressedDelta.value = pos;\n handleEvent(e);\n };\n const move = (e) => {\n var _a2;\n if (!filterEvent(e))\n return;\n if (!pressedDelta.value)\n return;\n position.value = {\n x: e.clientX - pressedDelta.value.x,\n y: e.clientY - pressedDelta.value.y\n };\n (_a2 = options.onMove) == null ? void 0 : _a2.call(options, position.value, e);\n handleEvent(e);\n };\n const end = (e) => {\n var _a2;\n if (!filterEvent(e))\n return;\n if (!pressedDelta.value)\n return;\n pressedDelta.value = void 0;\n (_a2 = options.onEnd) == null ? void 0 : _a2.call(options, position.value, e);\n handleEvent(e);\n };\n if (isClient) {\n useEventListener(draggingHandle, \"pointerdown\", start, true);\n useEventListener(draggingElement, \"pointermove\", move, true);\n useEventListener(draggingElement, \"pointerup\", end, true);\n }\n return __spreadProps$4(__spreadValues$f({}, toRefs(position)), {\n position,\n isDragging: computed(() => !!pressedDelta.value),\n style: computed(() => `left:${position.value.x}px;top:${position.value.y}px;`)\n });\n}\n\nfunction useDropZone(target, onDrop) {\n const isOverDropZone = ref(false);\n let counter = 0;\n if (isClient) {\n useEventListener(target, \"dragenter\", (event) => {\n event.preventDefault();\n counter += 1;\n isOverDropZone.value = true;\n });\n useEventListener(target, \"dragover\", (event) => {\n event.preventDefault();\n });\n useEventListener(target, \"dragleave\", (event) => {\n event.preventDefault();\n counter -= 1;\n if (counter === 0)\n isOverDropZone.value = false;\n });\n useEventListener(target, \"drop\", (event) => {\n var _a, _b;\n event.preventDefault();\n counter = 0;\n isOverDropZone.value = false;\n const files = Array.from((_b = (_a = event.dataTransfer) == null ? void 0 : _a.files) != null ? _b : []);\n onDrop == null ? void 0 : onDrop(files.length === 0 ? null : files);\n });\n }\n return {\n isOverDropZone\n };\n}\n\nvar __getOwnPropSymbols$g = Object.getOwnPropertySymbols;\nvar __hasOwnProp$g = Object.prototype.hasOwnProperty;\nvar __propIsEnum$g = Object.prototype.propertyIsEnumerable;\nvar __objRest$2 = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp$g.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols$g)\n for (var prop of __getOwnPropSymbols$g(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum$g.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\nfunction useResizeObserver(target, callback, options = {}) {\n const _a = options, { window = defaultWindow } = _a, observerOptions = __objRest$2(_a, [\"window\"]);\n let observer;\n const isSupported = useSupported(() => window && \"ResizeObserver\" in window);\n const cleanup = () => {\n if (observer) {\n observer.disconnect();\n observer = void 0;\n }\n };\n const stopWatch = watch(() => unrefElement(target), (el) => {\n cleanup();\n if (isSupported.value && window && el) {\n observer = new ResizeObserver(callback);\n observer.observe(el, observerOptions);\n }\n }, { immediate: true, flush: \"post\" });\n const stop = () => {\n cleanup();\n stopWatch();\n };\n tryOnScopeDispose(stop);\n return {\n isSupported,\n stop\n };\n}\n\nfunction useElementBounding(target, options = {}) {\n const {\n reset = true,\n windowResize = true,\n windowScroll = true,\n immediate = true\n } = options;\n const height = ref(0);\n const bottom = ref(0);\n const left = ref(0);\n const right = ref(0);\n const top = ref(0);\n const width = ref(0);\n const x = ref(0);\n const y = ref(0);\n function update() {\n const el = unrefElement(target);\n if (!el) {\n if (reset) {\n height.value = 0;\n bottom.value = 0;\n left.value = 0;\n right.value = 0;\n top.value = 0;\n width.value = 0;\n x.value = 0;\n y.value = 0;\n }\n return;\n }\n const rect = el.getBoundingClientRect();\n height.value = rect.height;\n bottom.value = rect.bottom;\n left.value = rect.left;\n right.value = rect.right;\n top.value = rect.top;\n width.value = rect.width;\n x.value = rect.x;\n y.value = rect.y;\n }\n useResizeObserver(target, update);\n watch(() => unrefElement(target), (ele) => !ele && update());\n if (windowScroll)\n useEventListener(\"scroll\", update, { capture: true, passive: true });\n if (windowResize)\n useEventListener(\"resize\", update, { passive: true });\n tryOnMounted(() => {\n if (immediate)\n update();\n });\n return {\n height,\n bottom,\n left,\n right,\n top,\n width,\n x,\n y,\n update\n };\n}\n\nfunction useRafFn(fn, options = {}) {\n const {\n immediate = true,\n window = defaultWindow\n } = options;\n const isActive = ref(false);\n let previousFrameTimestamp = 0;\n let rafId = null;\n function loop(timestamp) {\n if (!isActive.value || !window)\n return;\n const delta = timestamp - previousFrameTimestamp;\n fn({ delta, timestamp });\n previousFrameTimestamp = timestamp;\n rafId = window.requestAnimationFrame(loop);\n }\n function resume() {\n if (!isActive.value && window) {\n isActive.value = true;\n rafId = window.requestAnimationFrame(loop);\n }\n }\n function pause() {\n isActive.value = false;\n if (rafId != null && window) {\n window.cancelAnimationFrame(rafId);\n rafId = null;\n }\n }\n if (immediate)\n resume();\n tryOnScopeDispose(pause);\n return {\n isActive: readonly(isActive),\n pause,\n resume\n };\n}\n\nvar __defProp$e = Object.defineProperty;\nvar __getOwnPropSymbols$f = Object.getOwnPropertySymbols;\nvar __hasOwnProp$f = Object.prototype.hasOwnProperty;\nvar __propIsEnum$f = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$e = (obj, key, value) => key in obj ? __defProp$e(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$e = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$f.call(b, prop))\n __defNormalProp$e(a, prop, b[prop]);\n if (__getOwnPropSymbols$f)\n for (var prop of __getOwnPropSymbols$f(b)) {\n if (__propIsEnum$f.call(b, prop))\n __defNormalProp$e(a, prop, b[prop]);\n }\n return a;\n};\nfunction useElementByPoint(options) {\n const element = ref(null);\n const { x, y, document = defaultDocument } = options;\n const controls = useRafFn(() => {\n element.value = (document == null ? void 0 : document.elementFromPoint(resolveUnref(x), resolveUnref(y))) || null;\n });\n return __spreadValues$e({\n element\n }, controls);\n}\n\nfunction useElementHover(el, options = {}) {\n const delayEnter = options ? options.delayEnter : 0;\n const delayLeave = options ? options.delayLeave : 0;\n const isHovered = ref(false);\n let timer;\n const toggle = (entering) => {\n const delay = entering ? delayEnter : delayLeave;\n if (timer) {\n clearTimeout(timer);\n timer = void 0;\n }\n if (delay)\n timer = setTimeout(() => isHovered.value = entering, delay);\n else\n isHovered.value = entering;\n };\n if (!window)\n return isHovered;\n useEventListener(el, \"mouseenter\", () => toggle(true), { passive: true });\n useEventListener(el, \"mouseleave\", () => toggle(false), { passive: true });\n return isHovered;\n}\n\nfunction useElementSize(target, initialSize = { width: 0, height: 0 }, options = {}) {\n const { window = defaultWindow, box = \"content-box\" } = options;\n const isSVG = computed(() => {\n var _a, _b;\n return (_b = (_a = unrefElement(target)) == null ? void 0 : _a.namespaceURI) == null ? void 0 : _b.includes(\"svg\");\n });\n const width = ref(initialSize.width);\n const height = ref(initialSize.height);\n useResizeObserver(target, ([entry]) => {\n const boxSize = box === \"border-box\" ? entry.borderBoxSize : box === \"content-box\" ? entry.contentBoxSize : entry.devicePixelContentBoxSize;\n if (window && isSVG.value) {\n const $elem = unrefElement(target);\n if ($elem) {\n const styles = window.getComputedStyle($elem);\n width.value = parseFloat(styles.width);\n height.value = parseFloat(styles.height);\n }\n } else {\n if (boxSize) {\n const formatBoxSize = Array.isArray(boxSize) ? boxSize : [boxSize];\n width.value = formatBoxSize.reduce((acc, { inlineSize }) => acc + inlineSize, 0);\n height.value = formatBoxSize.reduce((acc, { blockSize }) => acc + blockSize, 0);\n } else {\n width.value = entry.contentRect.width;\n height.value = entry.contentRect.height;\n }\n }\n }, options);\n watch(() => unrefElement(target), (ele) => {\n width.value = ele ? initialSize.width : 0;\n height.value = ele ? initialSize.height : 0;\n });\n return {\n width,\n height\n };\n}\n\nfunction useElementVisibility(element, { window = defaultWindow, scrollTarget } = {}) {\n const elementIsVisible = ref(false);\n const testBounding = () => {\n if (!window)\n return;\n const document = window.document;\n const el = unrefElement(element);\n if (!el) {\n elementIsVisible.value = false;\n } else {\n const rect = el.getBoundingClientRect();\n elementIsVisible.value = rect.top <= (window.innerHeight || document.documentElement.clientHeight) && rect.left <= (window.innerWidth || document.documentElement.clientWidth) && rect.bottom >= 0 && rect.right >= 0;\n }\n };\n watch(() => unrefElement(element), () => testBounding(), { immediate: true, flush: \"post\" });\n if (window) {\n useEventListener(scrollTarget || window, \"scroll\", testBounding, {\n capture: false,\n passive: true\n });\n }\n return elementIsVisible;\n}\n\nconst events = new Map();\n\nfunction useEventBus(key) {\n const scope = getCurrentScope();\n function on(listener) {\n var _a;\n const listeners = events.get(key) || [];\n listeners.push(listener);\n events.set(key, listeners);\n const _off = () => off(listener);\n (_a = scope == null ? void 0 : scope.cleanups) == null ? void 0 : _a.push(_off);\n return _off;\n }\n function once(listener) {\n function _listener(...args) {\n off(_listener);\n listener(...args);\n }\n return on(_listener);\n }\n function off(listener) {\n const listeners = events.get(key);\n if (!listeners)\n return;\n const index = listeners.indexOf(listener);\n if (index > -1)\n listeners.splice(index, 1);\n if (!listeners.length)\n events.delete(key);\n }\n function reset() {\n events.delete(key);\n }\n function emit(event, payload) {\n var _a;\n (_a = events.get(key)) == null ? void 0 : _a.forEach((v) => v(event, payload));\n }\n return { on, once, off, emit, reset };\n}\n\nfunction useEventSource(url, events = [], options = {}) {\n const event = ref(null);\n const data = ref(null);\n const status = ref(\"CONNECTING\");\n const eventSource = ref(null);\n const error = ref(null);\n const {\n withCredentials = false\n } = options;\n const close = () => {\n if (eventSource.value) {\n eventSource.value.close();\n eventSource.value = null;\n status.value = \"CLOSED\";\n }\n };\n const es = new EventSource(url, { withCredentials });\n eventSource.value = es;\n es.onopen = () => {\n status.value = \"OPEN\";\n error.value = null;\n };\n es.onerror = (e) => {\n status.value = \"CLOSED\";\n error.value = e;\n };\n es.onmessage = (e) => {\n event.value = null;\n data.value = e.data;\n };\n for (const event_name of events) {\n useEventListener(es, event_name, (e) => {\n event.value = event_name;\n data.value = e.data || null;\n });\n }\n tryOnScopeDispose(() => {\n close();\n });\n return {\n eventSource,\n event,\n data,\n status,\n error,\n close\n };\n}\n\nfunction useEyeDropper(options = {}) {\n const { initialValue = \"\" } = options;\n const isSupported = useSupported(() => typeof window !== \"undefined\" && \"EyeDropper\" in window);\n const sRGBHex = ref(initialValue);\n async function open(openOptions) {\n if (!isSupported.value)\n return;\n const eyeDropper = new window.EyeDropper();\n const result = await eyeDropper.open(openOptions);\n sRGBHex.value = result.sRGBHex;\n return result;\n }\n return { isSupported, sRGBHex, open };\n}\n\nfunction useFavicon(newIcon = null, options = {}) {\n const {\n baseUrl = \"\",\n rel = \"icon\",\n document = defaultDocument\n } = options;\n const favicon = resolveRef(newIcon);\n const applyIcon = (icon) => {\n document == null ? void 0 : document.head.querySelectorAll(`link[rel*=\"${rel}\"]`).forEach((el) => el.href = `${baseUrl}${icon}`);\n };\n watch(favicon, (i, o) => {\n if (isString(i) && i !== o)\n applyIcon(i);\n }, { immediate: true });\n return favicon;\n}\n\nvar __defProp$d = Object.defineProperty;\nvar __defProps$3 = Object.defineProperties;\nvar __getOwnPropDescs$3 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$e = Object.getOwnPropertySymbols;\nvar __hasOwnProp$e = Object.prototype.hasOwnProperty;\nvar __propIsEnum$e = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$d = (obj, key, value) => key in obj ? __defProp$d(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$d = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$e.call(b, prop))\n __defNormalProp$d(a, prop, b[prop]);\n if (__getOwnPropSymbols$e)\n for (var prop of __getOwnPropSymbols$e(b)) {\n if (__propIsEnum$e.call(b, prop))\n __defNormalProp$d(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$3 = (a, b) => __defProps$3(a, __getOwnPropDescs$3(b));\nconst payloadMapping = {\n json: \"application/json\",\n text: \"text/plain\"\n};\nfunction isFetchOptions(obj) {\n return obj && containsProp(obj, \"immediate\", \"refetch\", \"initialData\", \"timeout\", \"beforeFetch\", \"afterFetch\", \"onFetchError\", \"fetch\");\n}\nfunction isAbsoluteURL(url) {\n return /^([a-z][a-z\\d+\\-.]*:)?\\/\\//i.test(url);\n}\nfunction headersToObject(headers) {\n if (typeof Headers !== \"undefined\" && headers instanceof Headers)\n return Object.fromEntries([...headers.entries()]);\n return headers;\n}\nfunction combineCallbacks(combination, ...callbacks) {\n if (combination === \"overwrite\") {\n return async (ctx) => {\n const callback = callbacks[callbacks.length - 1];\n if (callback !== void 0)\n await callback(ctx);\n return ctx;\n };\n } else {\n return async (ctx) => {\n await callbacks.reduce((prevCallback, callback) => prevCallback.then(async () => {\n if (callback)\n ctx = __spreadValues$d(__spreadValues$d({}, ctx), await callback(ctx));\n }), Promise.resolve());\n return ctx;\n };\n }\n}\nfunction createFetch(config = {}) {\n const _combination = config.combination || \"chain\";\n const _options = config.options || {};\n const _fetchOptions = config.fetchOptions || {};\n function useFactoryFetch(url, ...args) {\n const computedUrl = computed(() => {\n const baseUrl = resolveUnref(config.baseUrl);\n const targetUrl = resolveUnref(url);\n return baseUrl && !isAbsoluteURL(targetUrl) ? joinPaths(baseUrl, targetUrl) : targetUrl;\n });\n let options = _options;\n let fetchOptions = _fetchOptions;\n if (args.length > 0) {\n if (isFetchOptions(args[0])) {\n options = __spreadProps$3(__spreadValues$d(__spreadValues$d({}, options), args[0]), {\n beforeFetch: combineCallbacks(_combination, _options.beforeFetch, args[0].beforeFetch),\n afterFetch: combineCallbacks(_combination, _options.afterFetch, args[0].afterFetch),\n onFetchError: combineCallbacks(_combination, _options.onFetchError, args[0].onFetchError)\n });\n } else {\n fetchOptions = __spreadProps$3(__spreadValues$d(__spreadValues$d({}, fetchOptions), args[0]), {\n headers: __spreadValues$d(__spreadValues$d({}, headersToObject(fetchOptions.headers) || {}), headersToObject(args[0].headers) || {})\n });\n }\n }\n if (args.length > 1 && isFetchOptions(args[1])) {\n options = __spreadProps$3(__spreadValues$d(__spreadValues$d({}, options), args[1]), {\n beforeFetch: combineCallbacks(_combination, _options.beforeFetch, args[1].beforeFetch),\n afterFetch: combineCallbacks(_combination, _options.afterFetch, args[1].afterFetch),\n onFetchError: combineCallbacks(_combination, _options.onFetchError, args[1].onFetchError)\n });\n }\n return useFetch(computedUrl, fetchOptions, options);\n }\n return useFactoryFetch;\n}\nfunction useFetch(url, ...args) {\n var _a;\n const supportsAbort = typeof AbortController === \"function\";\n let fetchOptions = {};\n let options = { immediate: true, refetch: false, timeout: 0 };\n const config = {\n method: \"GET\",\n type: \"text\",\n payload: void 0\n };\n if (args.length > 0) {\n if (isFetchOptions(args[0]))\n options = __spreadValues$d(__spreadValues$d({}, options), args[0]);\n else\n fetchOptions = args[0];\n }\n if (args.length > 1) {\n if (isFetchOptions(args[1]))\n options = __spreadValues$d(__spreadValues$d({}, options), args[1]);\n }\n const {\n fetch = (_a = defaultWindow) == null ? void 0 : _a.fetch,\n initialData,\n timeout\n } = options;\n const responseEvent = createEventHook();\n const errorEvent = createEventHook();\n const finallyEvent = createEventHook();\n const isFinished = ref(false);\n const isFetching = ref(false);\n const aborted = ref(false);\n const statusCode = ref(null);\n const response = shallowRef(null);\n const error = shallowRef(null);\n const data = shallowRef(initialData);\n const canAbort = computed(() => supportsAbort && isFetching.value);\n let controller;\n let timer;\n const abort = () => {\n if (supportsAbort && controller) {\n controller.abort();\n controller = void 0;\n }\n };\n const loading = (isLoading) => {\n isFetching.value = isLoading;\n isFinished.value = !isLoading;\n };\n if (timeout)\n timer = useTimeoutFn(abort, timeout, { immediate: false });\n const execute = async (throwOnFailed = false) => {\n var _a2;\n loading(true);\n error.value = null;\n statusCode.value = null;\n aborted.value = false;\n if (supportsAbort) {\n abort();\n controller = new AbortController();\n controller.signal.onabort = () => aborted.value = true;\n fetchOptions = __spreadProps$3(__spreadValues$d({}, fetchOptions), {\n signal: controller.signal\n });\n }\n const defaultFetchOptions = {\n method: config.method,\n headers: {}\n };\n if (config.payload) {\n const headers = headersToObject(defaultFetchOptions.headers);\n if (config.payloadType)\n headers[\"Content-Type\"] = (_a2 = payloadMapping[config.payloadType]) != null ? _a2 : config.payloadType;\n const payload = resolveUnref(config.payload);\n defaultFetchOptions.body = config.payloadType === \"json\" ? JSON.stringify(payload) : payload;\n }\n let isCanceled = false;\n const context = {\n url: resolveUnref(url),\n options: __spreadValues$d(__spreadValues$d({}, defaultFetchOptions), fetchOptions),\n cancel: () => {\n isCanceled = true;\n }\n };\n if (options.beforeFetch)\n Object.assign(context, await options.beforeFetch(context));\n if (isCanceled || !fetch) {\n loading(false);\n return Promise.resolve(null);\n }\n let responseData = null;\n if (timer)\n timer.start();\n return new Promise((resolve, reject) => {\n var _a3;\n fetch(context.url, __spreadProps$3(__spreadValues$d(__spreadValues$d({}, defaultFetchOptions), context.options), {\n headers: __spreadValues$d(__spreadValues$d({}, headersToObject(defaultFetchOptions.headers)), headersToObject((_a3 = context.options) == null ? void 0 : _a3.headers))\n })).then(async (fetchResponse) => {\n response.value = fetchResponse;\n statusCode.value = fetchResponse.status;\n responseData = await fetchResponse[config.type]();\n if (options.afterFetch && statusCode.value >= 200 && statusCode.value < 300)\n ({ data: responseData } = await options.afterFetch({ data: responseData, response: fetchResponse }));\n data.value = responseData;\n if (!fetchResponse.ok)\n throw new Error(fetchResponse.statusText);\n responseEvent.trigger(fetchResponse);\n return resolve(fetchResponse);\n }).catch(async (fetchError) => {\n let errorData = fetchError.message || fetchError.name;\n if (options.onFetchError)\n ({ data: responseData, error: errorData } = await options.onFetchError({ data: responseData, error: fetchError, response: response.value }));\n data.value = responseData;\n error.value = errorData;\n errorEvent.trigger(fetchError);\n if (throwOnFailed)\n return reject(fetchError);\n return resolve(null);\n }).finally(() => {\n loading(false);\n if (timer)\n timer.stop();\n finallyEvent.trigger(null);\n });\n });\n };\n const refetch = resolveRef(options.refetch);\n watch([\n refetch,\n resolveRef(url)\n ], ([refetch2]) => refetch2 && execute(), { deep: true });\n const shell = {\n isFinished,\n statusCode,\n response,\n error,\n data,\n isFetching,\n canAbort,\n aborted,\n abort,\n execute,\n onFetchResponse: responseEvent.on,\n onFetchError: errorEvent.on,\n onFetchFinally: finallyEvent.on,\n get: setMethod(\"GET\"),\n put: setMethod(\"PUT\"),\n post: setMethod(\"POST\"),\n delete: setMethod(\"DELETE\"),\n patch: setMethod(\"PATCH\"),\n head: setMethod(\"HEAD\"),\n options: setMethod(\"OPTIONS\"),\n json: setType(\"json\"),\n text: setType(\"text\"),\n blob: setType(\"blob\"),\n arrayBuffer: setType(\"arrayBuffer\"),\n formData: setType(\"formData\")\n };\n function setMethod(method) {\n return (payload, payloadType) => {\n if (!isFetching.value) {\n config.method = method;\n config.payload = payload;\n config.payloadType = payloadType;\n if (isRef(config.payload)) {\n watch([\n refetch,\n resolveRef(config.payload)\n ], ([refetch2]) => refetch2 && execute(), { deep: true });\n }\n const rawPayload = resolveUnref(config.payload);\n if (!payloadType && rawPayload && Object.getPrototypeOf(rawPayload) === Object.prototype && !(rawPayload instanceof FormData))\n config.payloadType = \"json\";\n return __spreadProps$3(__spreadValues$d({}, shell), {\n then(onFulfilled, onRejected) {\n return waitUntilFinished().then(onFulfilled, onRejected);\n }\n });\n }\n return void 0;\n };\n }\n function waitUntilFinished() {\n return new Promise((resolve, reject) => {\n until(isFinished).toBe(true).then(() => resolve(shell)).catch((error2) => reject(error2));\n });\n }\n function setType(type) {\n return () => {\n if (!isFetching.value) {\n config.type = type;\n return __spreadProps$3(__spreadValues$d({}, shell), {\n then(onFulfilled, onRejected) {\n return waitUntilFinished().then(onFulfilled, onRejected);\n }\n });\n }\n return void 0;\n };\n }\n if (options.immediate)\n setTimeout(execute, 0);\n return __spreadProps$3(__spreadValues$d({}, shell), {\n then(onFulfilled, onRejected) {\n return waitUntilFinished().then(onFulfilled, onRejected);\n }\n });\n}\nfunction joinPaths(start, end) {\n if (!start.endsWith(\"/\") && !end.startsWith(\"/\"))\n return `${start}/${end}`;\n return `${start}${end}`;\n}\n\nvar __defProp$c = Object.defineProperty;\nvar __getOwnPropSymbols$d = Object.getOwnPropertySymbols;\nvar __hasOwnProp$d = Object.prototype.hasOwnProperty;\nvar __propIsEnum$d = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$c = (obj, key, value) => key in obj ? __defProp$c(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$c = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$d.call(b, prop))\n __defNormalProp$c(a, prop, b[prop]);\n if (__getOwnPropSymbols$d)\n for (var prop of __getOwnPropSymbols$d(b)) {\n if (__propIsEnum$d.call(b, prop))\n __defNormalProp$c(a, prop, b[prop]);\n }\n return a;\n};\nconst DEFAULT_OPTIONS = {\n multiple: true,\n accept: \"*\"\n};\nfunction useFileDialog(options = {}) {\n const {\n document = defaultDocument\n } = options;\n const files = ref(null);\n let input;\n if (document) {\n input = document.createElement(\"input\");\n input.type = \"file\";\n input.onchange = (event) => {\n const result = event.target;\n files.value = result.files;\n };\n }\n const open = (localOptions) => {\n if (!input)\n return;\n const _options = __spreadValues$c(__spreadValues$c(__spreadValues$c({}, DEFAULT_OPTIONS), options), localOptions);\n input.multiple = _options.multiple;\n input.accept = _options.accept;\n if (hasOwn(_options, \"capture\"))\n input.capture = _options.capture;\n input.click();\n };\n const reset = () => {\n files.value = null;\n if (input)\n input.value = \"\";\n };\n return {\n files: readonly(files),\n open,\n reset\n };\n}\n\nvar __defProp$b = Object.defineProperty;\nvar __getOwnPropSymbols$c = Object.getOwnPropertySymbols;\nvar __hasOwnProp$c = Object.prototype.hasOwnProperty;\nvar __propIsEnum$c = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$b = (obj, key, value) => key in obj ? __defProp$b(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$b = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$c.call(b, prop))\n __defNormalProp$b(a, prop, b[prop]);\n if (__getOwnPropSymbols$c)\n for (var prop of __getOwnPropSymbols$c(b)) {\n if (__propIsEnum$c.call(b, prop))\n __defNormalProp$b(a, prop, b[prop]);\n }\n return a;\n};\nfunction useFileSystemAccess(options = {}) {\n const {\n window: _window = defaultWindow,\n dataType = \"Text\"\n } = unref(options);\n const window = _window;\n const isSupported = useSupported(() => window && \"showSaveFilePicker\" in window && \"showOpenFilePicker\" in window);\n const fileHandle = ref();\n const data = ref();\n const file = ref();\n const fileName = computed(() => {\n var _a, _b;\n return (_b = (_a = file.value) == null ? void 0 : _a.name) != null ? _b : \"\";\n });\n const fileMIME = computed(() => {\n var _a, _b;\n return (_b = (_a = file.value) == null ? void 0 : _a.type) != null ? _b : \"\";\n });\n const fileSize = computed(() => {\n var _a, _b;\n return (_b = (_a = file.value) == null ? void 0 : _a.size) != null ? _b : 0;\n });\n const fileLastModified = computed(() => {\n var _a, _b;\n return (_b = (_a = file.value) == null ? void 0 : _a.lastModified) != null ? _b : 0;\n });\n async function open(_options = {}) {\n if (!isSupported.value)\n return;\n const [handle] = await window.showOpenFilePicker(__spreadValues$b(__spreadValues$b({}, unref(options)), _options));\n fileHandle.value = handle;\n await updateFile();\n await updateData();\n }\n async function create(_options = {}) {\n if (!isSupported.value)\n return;\n fileHandle.value = await window.showSaveFilePicker(__spreadValues$b(__spreadValues$b({}, unref(options)), _options));\n data.value = void 0;\n await updateFile();\n await updateData();\n }\n async function save(_options = {}) {\n if (!isSupported.value)\n return;\n if (!fileHandle.value)\n return saveAs(_options);\n if (data.value) {\n const writableStream = await fileHandle.value.createWritable();\n await writableStream.write(data.value);\n await writableStream.close();\n }\n await updateFile();\n }\n async function saveAs(_options = {}) {\n if (!isSupported.value)\n return;\n fileHandle.value = await window.showSaveFilePicker(__spreadValues$b(__spreadValues$b({}, unref(options)), _options));\n if (data.value) {\n const writableStream = await fileHandle.value.createWritable();\n await writableStream.write(data.value);\n await writableStream.close();\n }\n await updateFile();\n }\n async function updateFile() {\n var _a;\n file.value = await ((_a = fileHandle.value) == null ? void 0 : _a.getFile());\n }\n async function updateData() {\n var _a, _b;\n if (unref(dataType) === \"Text\")\n data.value = await ((_a = file.value) == null ? void 0 : _a.text());\n if (unref(dataType) === \"ArrayBuffer\")\n data.value = await ((_b = file.value) == null ? void 0 : _b.arrayBuffer());\n if (unref(dataType) === \"Blob\")\n data.value = file.value;\n }\n watch(() => unref(dataType), updateData);\n return {\n isSupported,\n data,\n file,\n fileName,\n fileMIME,\n fileSize,\n fileLastModified,\n open,\n create,\n save,\n saveAs,\n updateData\n };\n}\n\nfunction useFocus(target, options = {}) {\n const { initialValue = false } = options;\n const innerFocused = ref(false);\n const targetElement = computed(() => unrefElement(target));\n useEventListener(targetElement, \"focus\", () => innerFocused.value = true);\n useEventListener(targetElement, \"blur\", () => innerFocused.value = false);\n const focused = computed({\n get: () => innerFocused.value,\n set(value) {\n var _a, _b;\n if (!value && innerFocused.value)\n (_a = targetElement.value) == null ? void 0 : _a.blur();\n else if (value && !innerFocused.value)\n (_b = targetElement.value) == null ? void 0 : _b.focus();\n }\n });\n watch(targetElement, () => {\n focused.value = initialValue;\n }, { immediate: true, flush: \"post\" });\n return { focused };\n}\n\nfunction useFocusWithin(target, options = {}) {\n const activeElement = useActiveElement(options);\n const targetElement = computed(() => unrefElement(target));\n const focused = computed(() => targetElement.value && activeElement.value ? targetElement.value.contains(activeElement.value) : false);\n return { focused };\n}\n\nfunction useFps(options) {\n var _a;\n const fps = ref(0);\n if (typeof performance === \"undefined\")\n return fps;\n const every = (_a = options == null ? void 0 : options.every) != null ? _a : 10;\n let last = performance.now();\n let ticks = 0;\n useRafFn(() => {\n ticks += 1;\n if (ticks >= every) {\n const now = performance.now();\n const diff = now - last;\n fps.value = Math.round(1e3 / (diff / ticks));\n last = now;\n ticks = 0;\n }\n });\n return fps;\n}\n\nconst functionsMap = [\n [\n \"requestFullscreen\",\n \"exitFullscreen\",\n \"fullscreenElement\",\n \"fullscreenEnabled\",\n \"fullscreenchange\",\n \"fullscreenerror\"\n ],\n [\n \"webkitRequestFullscreen\",\n \"webkitExitFullscreen\",\n \"webkitFullscreenElement\",\n \"webkitFullscreenEnabled\",\n \"webkitfullscreenchange\",\n \"webkitfullscreenerror\"\n ],\n [\n \"webkitRequestFullScreen\",\n \"webkitCancelFullScreen\",\n \"webkitCurrentFullScreenElement\",\n \"webkitCancelFullScreen\",\n \"webkitfullscreenchange\",\n \"webkitfullscreenerror\"\n ],\n [\n \"mozRequestFullScreen\",\n \"mozCancelFullScreen\",\n \"mozFullScreenElement\",\n \"mozFullScreenEnabled\",\n \"mozfullscreenchange\",\n \"mozfullscreenerror\"\n ],\n [\n \"msRequestFullscreen\",\n \"msExitFullscreen\",\n \"msFullscreenElement\",\n \"msFullscreenEnabled\",\n \"MSFullscreenChange\",\n \"MSFullscreenError\"\n ]\n];\nfunction useFullscreen(target, options = {}) {\n const { document = defaultDocument, autoExit = false } = options;\n const targetRef = target || (document == null ? void 0 : document.querySelector(\"html\"));\n const isFullscreen = ref(false);\n let map = functionsMap[0];\n const isSupported = useSupported(() => {\n if (!document) {\n return false;\n } else {\n for (const m of functionsMap) {\n if (m[1] in document) {\n map = m;\n return true;\n }\n }\n }\n return false;\n });\n const [REQUEST, EXIT, ELEMENT, , EVENT] = map;\n async function exit() {\n if (!isSupported.value)\n return;\n if (document == null ? void 0 : document[ELEMENT])\n await document[EXIT]();\n isFullscreen.value = false;\n }\n async function enter() {\n if (!isSupported.value)\n return;\n await exit();\n const target2 = unrefElement(targetRef);\n if (target2) {\n await target2[REQUEST]();\n isFullscreen.value = true;\n }\n }\n async function toggle() {\n if (isFullscreen.value)\n await exit();\n else\n await enter();\n }\n if (document) {\n useEventListener(document, EVENT, () => {\n isFullscreen.value = !!(document == null ? void 0 : document[ELEMENT]);\n }, false);\n }\n if (autoExit)\n tryOnScopeDispose(exit);\n return {\n isSupported,\n isFullscreen,\n enter,\n exit,\n toggle\n };\n}\n\nfunction mapGamepadToXbox360Controller(gamepad) {\n return computed(() => {\n if (gamepad.value) {\n return {\n buttons: {\n a: gamepad.value.buttons[0],\n b: gamepad.value.buttons[1],\n x: gamepad.value.buttons[2],\n y: gamepad.value.buttons[3]\n },\n bumper: {\n left: gamepad.value.buttons[4],\n right: gamepad.value.buttons[5]\n },\n triggers: {\n left: gamepad.value.buttons[6],\n right: gamepad.value.buttons[7]\n },\n stick: {\n left: {\n horizontal: gamepad.value.axes[0],\n vertical: gamepad.value.axes[1],\n button: gamepad.value.buttons[10]\n },\n right: {\n horizontal: gamepad.value.axes[2],\n vertical: gamepad.value.axes[3],\n button: gamepad.value.buttons[11]\n }\n },\n dpad: {\n up: gamepad.value.buttons[12],\n down: gamepad.value.buttons[13],\n left: gamepad.value.buttons[14],\n right: gamepad.value.buttons[15]\n },\n back: gamepad.value.buttons[8],\n start: gamepad.value.buttons[9]\n };\n }\n return null;\n });\n}\nfunction useGamepad(options = {}) {\n const {\n navigator = defaultNavigator\n } = options;\n const isSupported = useSupported(() => navigator && \"getGamepads\" in navigator);\n const gamepads = ref([]);\n const onConnectedHook = createEventHook();\n const onDisconnectedHook = createEventHook();\n const stateFromGamepad = (gamepad) => {\n const hapticActuators = [];\n const vibrationActuator = \"vibrationActuator\" in gamepad ? gamepad.vibrationActuator : null;\n if (vibrationActuator)\n hapticActuators.push(vibrationActuator);\n if (gamepad.hapticActuators)\n hapticActuators.push(...gamepad.hapticActuators);\n return {\n id: gamepad.id,\n hapticActuators,\n index: gamepad.index,\n mapping: gamepad.mapping,\n connected: gamepad.connected,\n timestamp: gamepad.timestamp,\n axes: gamepad.axes.map((axes) => axes),\n buttons: gamepad.buttons.map((button) => ({ pressed: button.pressed, touched: button.touched, value: button.value }))\n };\n };\n const updateGamepadState = () => {\n const _gamepads = (navigator == null ? void 0 : navigator.getGamepads()) || [];\n for (let i = 0; i < _gamepads.length; ++i) {\n const gamepad = _gamepads[i];\n if (gamepad) {\n const index = gamepads.value.findIndex(({ index: index2 }) => index2 === gamepad.index);\n if (index > -1)\n gamepads.value[index] = stateFromGamepad(gamepad);\n }\n }\n };\n const { isActive, pause, resume } = useRafFn(updateGamepadState);\n const onGamepadConnected = (gamepad) => {\n if (!gamepads.value.some(({ index }) => index === gamepad.index)) {\n gamepads.value.push(stateFromGamepad(gamepad));\n onConnectedHook.trigger(gamepad.index);\n }\n resume();\n };\n const onGamepadDisconnected = (gamepad) => {\n gamepads.value = gamepads.value.filter((x) => x.index !== gamepad.index);\n onDisconnectedHook.trigger(gamepad.index);\n };\n useEventListener(\"gamepadconnected\", (e) => onGamepadConnected(e.gamepad));\n useEventListener(\"gamepaddisconnected\", (e) => onGamepadDisconnected(e.gamepad));\n tryOnMounted(() => {\n const _gamepads = (navigator == null ? void 0 : navigator.getGamepads()) || [];\n if (_gamepads) {\n for (let i = 0; i < _gamepads.length; ++i) {\n const gamepad = _gamepads[i];\n if (gamepad)\n onGamepadConnected(gamepad);\n }\n }\n });\n pause();\n return {\n isSupported,\n onConnected: onConnectedHook.on,\n onDisconnected: onDisconnectedHook.on,\n gamepads,\n pause,\n resume,\n isActive\n };\n}\n\nfunction useGeolocation(options = {}) {\n const {\n enableHighAccuracy = true,\n maximumAge = 3e4,\n timeout = 27e3,\n navigator = defaultNavigator,\n immediate = true\n } = options;\n const isSupported = useSupported(() => navigator && \"geolocation\" in navigator);\n const locatedAt = ref(null);\n const error = ref(null);\n const coords = ref({\n accuracy: 0,\n latitude: Infinity,\n longitude: Infinity,\n altitude: null,\n altitudeAccuracy: null,\n heading: null,\n speed: null\n });\n function updatePosition(position) {\n locatedAt.value = position.timestamp;\n coords.value = position.coords;\n error.value = null;\n }\n let watcher;\n function resume() {\n if (isSupported.value) {\n watcher = navigator.geolocation.watchPosition(updatePosition, (err) => error.value = err, {\n enableHighAccuracy,\n maximumAge,\n timeout\n });\n }\n }\n if (immediate)\n resume();\n function pause() {\n if (watcher && navigator)\n navigator.geolocation.clearWatch(watcher);\n }\n tryOnScopeDispose(() => {\n pause();\n });\n return {\n isSupported,\n coords,\n locatedAt,\n error,\n resume,\n pause\n };\n}\n\nconst defaultEvents$1 = [\"mousemove\", \"mousedown\", \"resize\", \"keydown\", \"touchstart\", \"wheel\"];\nconst oneMinute = 6e4;\nfunction useIdle(timeout = oneMinute, options = {}) {\n const {\n initialState = false,\n listenForVisibilityChange = true,\n events = defaultEvents$1,\n window = defaultWindow,\n eventFilter = throttleFilter(50)\n } = options;\n const idle = ref(initialState);\n const lastActive = ref(timestamp());\n let timer;\n const onEvent = createFilterWrapper(eventFilter, () => {\n idle.value = false;\n lastActive.value = timestamp();\n clearTimeout(timer);\n timer = setTimeout(() => idle.value = true, timeout);\n });\n if (window) {\n const document = window.document;\n for (const event of events)\n useEventListener(window, event, onEvent, { passive: true });\n if (listenForVisibilityChange) {\n useEventListener(document, \"visibilitychange\", () => {\n if (!document.hidden)\n onEvent();\n });\n }\n }\n timer = setTimeout(() => idle.value = true, timeout);\n return { idle, lastActive };\n}\n\nvar __defProp$a = Object.defineProperty;\nvar __getOwnPropSymbols$b = Object.getOwnPropertySymbols;\nvar __hasOwnProp$b = Object.prototype.hasOwnProperty;\nvar __propIsEnum$b = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$a = (obj, key, value) => key in obj ? __defProp$a(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$a = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$b.call(b, prop))\n __defNormalProp$a(a, prop, b[prop]);\n if (__getOwnPropSymbols$b)\n for (var prop of __getOwnPropSymbols$b(b)) {\n if (__propIsEnum$b.call(b, prop))\n __defNormalProp$a(a, prop, b[prop]);\n }\n return a;\n};\nasync function loadImage(options) {\n return new Promise((resolve, reject) => {\n const img = new Image();\n const { src, srcset, sizes } = options;\n img.src = src;\n if (srcset)\n img.srcset = srcset;\n if (sizes)\n img.sizes = sizes;\n img.onload = () => resolve(img);\n img.onerror = reject;\n });\n}\nconst useImage = (options, asyncStateOptions = {}) => {\n const state = useAsyncState(() => loadImage(resolveUnref(options)), void 0, __spreadValues$a({\n resetOnExecute: true\n }, asyncStateOptions));\n watch(() => resolveUnref(options), () => state.execute(asyncStateOptions.delay), { deep: true });\n return state;\n};\n\nconst ARRIVED_STATE_THRESHOLD_PIXELS = 1;\nfunction useScroll(element, options = {}) {\n const {\n throttle = 0,\n idle = 200,\n onStop = noop,\n onScroll = noop,\n offset = {\n left: 0,\n right: 0,\n top: 0,\n bottom: 0\n },\n eventListenerOptions = {\n capture: false,\n passive: true\n },\n behavior = \"auto\"\n } = options;\n const internalX = ref(0);\n const internalY = ref(0);\n const x = computed({\n get() {\n return internalX.value;\n },\n set(x2) {\n scrollTo(x2, void 0);\n }\n });\n const y = computed({\n get() {\n return internalY.value;\n },\n set(y2) {\n scrollTo(void 0, y2);\n }\n });\n function scrollTo(_x, _y) {\n var _a, _b, _c;\n const _element = resolveUnref(element);\n if (!_element)\n return;\n (_c = _element instanceof Document ? document.body : _element) == null ? void 0 : _c.scrollTo({\n top: (_a = resolveUnref(_y)) != null ? _a : y.value,\n left: (_b = resolveUnref(_x)) != null ? _b : x.value,\n behavior: resolveUnref(behavior)\n });\n }\n const isScrolling = ref(false);\n const arrivedState = reactive({\n left: true,\n right: false,\n top: true,\n bottom: false\n });\n const directions = reactive({\n left: false,\n right: false,\n top: false,\n bottom: false\n });\n const onScrollEnd = (e) => {\n if (!isScrolling.value)\n return;\n isScrolling.value = false;\n directions.left = false;\n directions.right = false;\n directions.top = false;\n directions.bottom = false;\n onStop(e);\n };\n const onScrollEndDebounced = useDebounceFn(onScrollEnd, throttle + idle);\n const onScrollHandler = (e) => {\n const eventTarget = e.target === document ? e.target.documentElement : e.target;\n const scrollLeft = eventTarget.scrollLeft;\n directions.left = scrollLeft < internalX.value;\n directions.right = scrollLeft > internalY.value;\n arrivedState.left = scrollLeft <= 0 + (offset.left || 0);\n arrivedState.right = scrollLeft + eventTarget.clientWidth >= eventTarget.scrollWidth - (offset.right || 0) - ARRIVED_STATE_THRESHOLD_PIXELS;\n internalX.value = scrollLeft;\n let scrollTop = eventTarget.scrollTop;\n if (e.target === document && !scrollTop)\n scrollTop = document.body.scrollTop;\n directions.top = scrollTop < internalY.value;\n directions.bottom = scrollTop > internalY.value;\n arrivedState.top = scrollTop <= 0 + (offset.top || 0);\n arrivedState.bottom = scrollTop + eventTarget.clientHeight >= eventTarget.scrollHeight - (offset.bottom || 0) - ARRIVED_STATE_THRESHOLD_PIXELS;\n internalY.value = scrollTop;\n isScrolling.value = true;\n onScrollEndDebounced(e);\n onScroll(e);\n };\n useEventListener(element, \"scroll\", throttle ? useThrottleFn(onScrollHandler, throttle, true, false) : onScrollHandler, eventListenerOptions);\n useEventListener(element, \"scrollend\", onScrollEnd, eventListenerOptions);\n return {\n x,\n y,\n isScrolling,\n arrivedState,\n directions\n };\n}\n\nvar __defProp$9 = Object.defineProperty;\nvar __defProps$2 = Object.defineProperties;\nvar __getOwnPropDescs$2 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$a = Object.getOwnPropertySymbols;\nvar __hasOwnProp$a = Object.prototype.hasOwnProperty;\nvar __propIsEnum$a = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$9 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$a.call(b, prop))\n __defNormalProp$9(a, prop, b[prop]);\n if (__getOwnPropSymbols$a)\n for (var prop of __getOwnPropSymbols$a(b)) {\n if (__propIsEnum$a.call(b, prop))\n __defNormalProp$9(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$2 = (a, b) => __defProps$2(a, __getOwnPropDescs$2(b));\nfunction useInfiniteScroll(element, onLoadMore, options = {}) {\n var _a, _b;\n const direction = (_a = options.direction) != null ? _a : \"bottom\";\n const state = reactive(useScroll(element, __spreadProps$2(__spreadValues$9({}, options), {\n offset: __spreadValues$9({\n [direction]: (_b = options.distance) != null ? _b : 0\n }, options.offset)\n })));\n watch(() => state.arrivedState[direction], async (v) => {\n var _a2, _b2;\n if (v) {\n const elem = resolveUnref(element);\n const previous = {\n height: (_a2 = elem == null ? void 0 : elem.scrollHeight) != null ? _a2 : 0,\n width: (_b2 = elem == null ? void 0 : elem.scrollWidth) != null ? _b2 : 0\n };\n await onLoadMore(state);\n if (options.preserveScrollPosition && elem) {\n nextTick(() => {\n elem.scrollTo({\n top: elem.scrollHeight - previous.height,\n left: elem.scrollWidth - previous.width\n });\n });\n }\n }\n });\n}\n\nfunction useIntersectionObserver(target, callback, options = {}) {\n const {\n root,\n rootMargin = \"0px\",\n threshold = 0.1,\n window = defaultWindow\n } = options;\n const isSupported = useSupported(() => window && \"IntersectionObserver\" in window);\n let cleanup = noop;\n const stopWatch = isSupported.value ? watch(() => ({\n el: unrefElement(target),\n root: unrefElement(root)\n }), ({ el, root: root2 }) => {\n cleanup();\n if (!el)\n return;\n const observer = new IntersectionObserver(callback, {\n root: root2,\n rootMargin,\n threshold\n });\n observer.observe(el);\n cleanup = () => {\n observer.disconnect();\n cleanup = noop;\n };\n }, { immediate: true, flush: \"post\" }) : noop;\n const stop = () => {\n cleanup();\n stopWatch();\n };\n tryOnScopeDispose(stop);\n return {\n isSupported,\n stop\n };\n}\n\nconst defaultEvents = [\"mousedown\", \"mouseup\", \"keydown\", \"keyup\"];\nfunction useKeyModifier(modifier, options = {}) {\n const {\n events = defaultEvents,\n document = defaultDocument,\n initial = null\n } = options;\n const state = ref(initial);\n if (document) {\n events.forEach((listenerEvent) => {\n useEventListener(document, listenerEvent, (evt) => {\n if (typeof evt.getModifierState === \"function\")\n state.value = evt.getModifierState(modifier);\n });\n });\n }\n return state;\n}\n\nfunction useLocalStorage(key, initialValue, options = {}) {\n const { window = defaultWindow } = options;\n return useStorage(key, initialValue, window == null ? void 0 : window.localStorage, options);\n}\n\nconst DefaultMagicKeysAliasMap = {\n ctrl: \"control\",\n command: \"meta\",\n cmd: \"meta\",\n option: \"alt\",\n up: \"arrowup\",\n down: \"arrowdown\",\n left: \"arrowleft\",\n right: \"arrowright\"\n};\n\nfunction useMagicKeys(options = {}) {\n const {\n reactive: useReactive = false,\n target = defaultWindow,\n aliasMap = DefaultMagicKeysAliasMap,\n passive = true,\n onEventFired = noop\n } = options;\n const current = reactive(new Set());\n const obj = {\n toJSON() {\n return {};\n },\n current\n };\n const refs = useReactive ? reactive(obj) : obj;\n const metaDeps = new Set();\n const usedKeys = new Set();\n function setRefs(key, value) {\n if (key in refs) {\n if (useReactive)\n refs[key] = value;\n else\n refs[key].value = value;\n }\n }\n function reset() {\n current.clear();\n for (const key of usedKeys)\n setRefs(key, false);\n }\n function updateRefs(e, value) {\n var _a, _b;\n const key = (_a = e.key) == null ? void 0 : _a.toLowerCase();\n const code = (_b = e.code) == null ? void 0 : _b.toLowerCase();\n const values = [code, key].filter(Boolean);\n if (key) {\n if (value)\n current.add(key);\n else\n current.delete(key);\n }\n for (const key2 of values) {\n usedKeys.add(key2);\n setRefs(key2, value);\n }\n if (key === \"meta\" && !value) {\n metaDeps.forEach((key2) => {\n current.delete(key2);\n setRefs(key2, false);\n });\n metaDeps.clear();\n } else if (typeof e.getModifierState === \"function\" && e.getModifierState(\"Meta\") && value) {\n [...current, ...values].forEach((key2) => metaDeps.add(key2));\n }\n }\n useEventListener(target, \"keydown\", (e) => {\n updateRefs(e, true);\n return onEventFired(e);\n }, { passive });\n useEventListener(target, \"keyup\", (e) => {\n updateRefs(e, false);\n return onEventFired(e);\n }, { passive });\n useEventListener(\"blur\", reset, { passive: true });\n useEventListener(\"focus\", reset, { passive: true });\n const proxy = new Proxy(refs, {\n get(target2, prop, rec) {\n if (typeof prop !== \"string\")\n return Reflect.get(target2, prop, rec);\n prop = prop.toLowerCase();\n if (prop in aliasMap)\n prop = aliasMap[prop];\n if (!(prop in refs)) {\n if (/[+_-]/.test(prop)) {\n const keys = prop.split(/[+_-]/g).map((i) => i.trim());\n refs[prop] = computed(() => keys.every((key) => unref(proxy[key])));\n } else {\n refs[prop] = ref(false);\n }\n }\n const r = Reflect.get(target2, prop, rec);\n return useReactive ? unref(r) : r;\n }\n });\n return proxy;\n}\n\nvar __defProp$8 = Object.defineProperty;\nvar __getOwnPropSymbols$9 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$9 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$9 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$8 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$9.call(b, prop))\n __defNormalProp$8(a, prop, b[prop]);\n if (__getOwnPropSymbols$9)\n for (var prop of __getOwnPropSymbols$9(b)) {\n if (__propIsEnum$9.call(b, prop))\n __defNormalProp$8(a, prop, b[prop]);\n }\n return a;\n};\nfunction usingElRef(source, cb) {\n if (resolveUnref(source))\n cb(resolveUnref(source));\n}\nfunction timeRangeToArray(timeRanges) {\n let ranges = [];\n for (let i = 0; i < timeRanges.length; ++i)\n ranges = [...ranges, [timeRanges.start(i), timeRanges.end(i)]];\n return ranges;\n}\nfunction tracksToArray(tracks) {\n return Array.from(tracks).map(({ label, kind, language, mode, activeCues, cues, inBandMetadataTrackDispatchType }, id) => ({ id, label, kind, language, mode, activeCues, cues, inBandMetadataTrackDispatchType }));\n}\nconst defaultOptions = {\n src: \"\",\n tracks: []\n};\nfunction useMediaControls(target, options = {}) {\n options = __spreadValues$8(__spreadValues$8({}, defaultOptions), options);\n const {\n document = defaultDocument\n } = options;\n const currentTime = ref(0);\n const duration = ref(0);\n const seeking = ref(false);\n const volume = ref(1);\n const waiting = ref(false);\n const ended = ref(false);\n const playing = ref(false);\n const rate = ref(1);\n const stalled = ref(false);\n const buffered = ref([]);\n const tracks = ref([]);\n const selectedTrack = ref(-1);\n const isPictureInPicture = ref(false);\n const muted = ref(false);\n const supportsPictureInPicture = document && \"pictureInPictureEnabled\" in document;\n const sourceErrorEvent = createEventHook();\n const disableTrack = (track) => {\n usingElRef(target, (el) => {\n if (track) {\n const id = isNumber(track) ? track : track.id;\n el.textTracks[id].mode = \"disabled\";\n } else {\n for (let i = 0; i < el.textTracks.length; ++i)\n el.textTracks[i].mode = \"disabled\";\n }\n selectedTrack.value = -1;\n });\n };\n const enableTrack = (track, disableTracks = true) => {\n usingElRef(target, (el) => {\n const id = isNumber(track) ? track : track.id;\n if (disableTracks)\n disableTrack();\n el.textTracks[id].mode = \"showing\";\n selectedTrack.value = id;\n });\n };\n const togglePictureInPicture = () => {\n return new Promise((resolve, reject) => {\n usingElRef(target, async (el) => {\n if (supportsPictureInPicture) {\n if (!isPictureInPicture.value) {\n el.requestPictureInPicture().then(resolve).catch(reject);\n } else {\n document.exitPictureInPicture().then(resolve).catch(reject);\n }\n }\n });\n });\n };\n watchEffect(() => {\n if (!document)\n return;\n const el = resolveUnref(target);\n if (!el)\n return;\n const src = resolveUnref(options.src);\n let sources = [];\n if (!src)\n return;\n if (isString(src))\n sources = [{ src }];\n else if (Array.isArray(src))\n sources = src;\n else if (isObject(src))\n sources = [src];\n el.querySelectorAll(\"source\").forEach((e) => {\n e.removeEventListener(\"error\", sourceErrorEvent.trigger);\n e.remove();\n });\n sources.forEach(({ src: src2, type }) => {\n const source = document.createElement(\"source\");\n source.setAttribute(\"src\", src2);\n source.setAttribute(\"type\", type || \"\");\n source.addEventListener(\"error\", sourceErrorEvent.trigger);\n el.appendChild(source);\n });\n el.load();\n });\n tryOnScopeDispose(() => {\n const el = resolveUnref(target);\n if (!el)\n return;\n el.querySelectorAll(\"source\").forEach((e) => e.removeEventListener(\"error\", sourceErrorEvent.trigger));\n });\n watch(volume, (vol) => {\n const el = resolveUnref(target);\n if (!el)\n return;\n el.volume = vol;\n });\n watch(muted, (mute) => {\n const el = resolveUnref(target);\n if (!el)\n return;\n el.muted = mute;\n });\n watch(rate, (rate2) => {\n const el = resolveUnref(target);\n if (!el)\n return;\n el.playbackRate = rate2;\n });\n watchEffect(() => {\n if (!document)\n return;\n const textTracks = resolveUnref(options.tracks);\n const el = resolveUnref(target);\n if (!textTracks || !textTracks.length || !el)\n return;\n el.querySelectorAll(\"track\").forEach((e) => e.remove());\n textTracks.forEach(({ default: isDefault, kind, label, src, srcLang }, i) => {\n const track = document.createElement(\"track\");\n track.default = isDefault || false;\n track.kind = kind;\n track.label = label;\n track.src = src;\n track.srclang = srcLang;\n if (track.default)\n selectedTrack.value = i;\n el.appendChild(track);\n });\n });\n const { ignoreUpdates: ignoreCurrentTimeUpdates } = watchIgnorable(currentTime, (time) => {\n const el = resolveUnref(target);\n if (!el)\n return;\n el.currentTime = time;\n });\n const { ignoreUpdates: ignorePlayingUpdates } = watchIgnorable(playing, (isPlaying) => {\n const el = resolveUnref(target);\n if (!el)\n return;\n isPlaying ? el.play() : el.pause();\n });\n useEventListener(target, \"timeupdate\", () => ignoreCurrentTimeUpdates(() => currentTime.value = resolveUnref(target).currentTime));\n useEventListener(target, \"durationchange\", () => duration.value = resolveUnref(target).duration);\n useEventListener(target, \"progress\", () => buffered.value = timeRangeToArray(resolveUnref(target).buffered));\n useEventListener(target, \"seeking\", () => seeking.value = true);\n useEventListener(target, \"seeked\", () => seeking.value = false);\n useEventListener(target, \"waiting\", () => waiting.value = true);\n useEventListener(target, \"playing\", () => {\n waiting.value = false;\n ended.value = false;\n });\n useEventListener(target, \"ratechange\", () => rate.value = resolveUnref(target).playbackRate);\n useEventListener(target, \"stalled\", () => stalled.value = true);\n useEventListener(target, \"ended\", () => ended.value = true);\n useEventListener(target, \"pause\", () => ignorePlayingUpdates(() => playing.value = false));\n useEventListener(target, \"play\", () => ignorePlayingUpdates(() => playing.value = true));\n useEventListener(target, \"enterpictureinpicture\", () => isPictureInPicture.value = true);\n useEventListener(target, \"leavepictureinpicture\", () => isPictureInPicture.value = false);\n useEventListener(target, \"volumechange\", () => {\n const el = resolveUnref(target);\n if (!el)\n return;\n volume.value = el.volume;\n muted.value = el.muted;\n });\n const listeners = [];\n const stop = watch([target], () => {\n const el = resolveUnref(target);\n if (!el)\n return;\n stop();\n listeners[0] = useEventListener(el.textTracks, \"addtrack\", () => tracks.value = tracksToArray(el.textTracks));\n listeners[1] = useEventListener(el.textTracks, \"removetrack\", () => tracks.value = tracksToArray(el.textTracks));\n listeners[2] = useEventListener(el.textTracks, \"change\", () => tracks.value = tracksToArray(el.textTracks));\n });\n tryOnScopeDispose(() => listeners.forEach((listener) => listener()));\n return {\n currentTime,\n duration,\n waiting,\n seeking,\n ended,\n stalled,\n buffered,\n playing,\n rate,\n volume,\n muted,\n tracks,\n selectedTrack,\n enableTrack,\n disableTrack,\n supportsPictureInPicture,\n togglePictureInPicture,\n isPictureInPicture,\n onSourceError: sourceErrorEvent.on\n };\n}\n\nconst getMapVue2Compat = () => {\n const data = reactive({});\n return {\n get: (key) => data[key],\n set: (key, value) => set(data, key, value),\n has: (key) => hasOwn(data, key),\n delete: (key) => del(data, key),\n clear: () => {\n Object.keys(data).forEach((key) => {\n del(data, key);\n });\n }\n };\n};\nfunction useMemoize(resolver, options) {\n const initCache = () => {\n if (options == null ? void 0 : options.cache)\n return reactive(options.cache);\n if (isVue2)\n return getMapVue2Compat();\n return reactive(new Map());\n };\n const cache = initCache();\n const generateKey = (...args) => (options == null ? void 0 : options.getKey) ? options.getKey(...args) : JSON.stringify(args);\n const _loadData = (key, ...args) => {\n cache.set(key, resolver(...args));\n return cache.get(key);\n };\n const loadData = (...args) => _loadData(generateKey(...args), ...args);\n const deleteData = (...args) => {\n cache.delete(generateKey(...args));\n };\n const clearData = () => {\n cache.clear();\n };\n const memoized = (...args) => {\n const key = generateKey(...args);\n if (cache.has(key))\n return cache.get(key);\n return _loadData(key, ...args);\n };\n memoized.load = loadData;\n memoized.delete = deleteData;\n memoized.clear = clearData;\n memoized.generateKey = generateKey;\n memoized.cache = cache;\n return memoized;\n}\n\nfunction useMemory(options = {}) {\n const memory = ref();\n const isSupported = useSupported(() => typeof performance !== \"undefined\" && \"memory\" in performance);\n if (isSupported.value) {\n const { interval = 1e3 } = options;\n useIntervalFn(() => {\n memory.value = performance.memory;\n }, interval, { immediate: options.immediate, immediateCallback: options.immediateCallback });\n }\n return { isSupported, memory };\n}\n\nfunction useMounted() {\n const isMounted = ref(false);\n onMounted(() => {\n isMounted.value = true;\n });\n return isMounted;\n}\n\nfunction useMouse(options = {}) {\n const {\n type = \"page\",\n touch = true,\n resetOnTouchEnds = false,\n initialValue = { x: 0, y: 0 },\n window = defaultWindow,\n eventFilter\n } = options;\n const x = ref(initialValue.x);\n const y = ref(initialValue.y);\n const sourceType = ref(null);\n const mouseHandler = (event) => {\n if (type === \"page\") {\n x.value = event.pageX;\n y.value = event.pageY;\n } else if (type === \"client\") {\n x.value = event.clientX;\n y.value = event.clientY;\n } else if (type === \"movement\") {\n x.value = event.movementX;\n y.value = event.movementY;\n }\n sourceType.value = \"mouse\";\n };\n const reset = () => {\n x.value = initialValue.x;\n y.value = initialValue.y;\n };\n const touchHandler = (event) => {\n if (event.touches.length > 0) {\n const touch2 = event.touches[0];\n if (type === \"page\") {\n x.value = touch2.pageX;\n y.value = touch2.pageY;\n } else if (type === \"client\") {\n x.value = touch2.clientX;\n y.value = touch2.clientY;\n }\n sourceType.value = \"touch\";\n }\n };\n const mouseHandlerWrapper = (event) => {\n return eventFilter === void 0 ? mouseHandler(event) : eventFilter(() => mouseHandler(event), {});\n };\n const touchHandlerWrapper = (event) => {\n return eventFilter === void 0 ? touchHandler(event) : eventFilter(() => touchHandler(event), {});\n };\n if (window) {\n useEventListener(window, \"mousemove\", mouseHandlerWrapper, { passive: true });\n useEventListener(window, \"dragover\", mouseHandlerWrapper, { passive: true });\n if (touch && type !== \"movement\") {\n useEventListener(window, \"touchstart\", touchHandlerWrapper, { passive: true });\n useEventListener(window, \"touchmove\", touchHandlerWrapper, { passive: true });\n if (resetOnTouchEnds)\n useEventListener(window, \"touchend\", reset, { passive: true });\n }\n }\n return {\n x,\n y,\n sourceType\n };\n}\n\nfunction useMouseInElement(target, options = {}) {\n const {\n handleOutside = true,\n window = defaultWindow\n } = options;\n const { x, y, sourceType } = useMouse(options);\n const targetRef = ref(target != null ? target : window == null ? void 0 : window.document.body);\n const elementX = ref(0);\n const elementY = ref(0);\n const elementPositionX = ref(0);\n const elementPositionY = ref(0);\n const elementHeight = ref(0);\n const elementWidth = ref(0);\n const isOutside = ref(true);\n let stop = () => {\n };\n if (window) {\n stop = watch([targetRef, x, y], () => {\n const el = unrefElement(targetRef);\n if (!el)\n return;\n const {\n left,\n top,\n width,\n height\n } = el.getBoundingClientRect();\n elementPositionX.value = left + window.pageXOffset;\n elementPositionY.value = top + window.pageYOffset;\n elementHeight.value = height;\n elementWidth.value = width;\n const elX = x.value - elementPositionX.value;\n const elY = y.value - elementPositionY.value;\n isOutside.value = width === 0 || height === 0 || elX < 0 || elY < 0 || elX > width || elY > height;\n if (handleOutside || !isOutside.value) {\n elementX.value = elX;\n elementY.value = elY;\n }\n }, { immediate: true });\n useEventListener(document, \"mouseleave\", () => {\n isOutside.value = true;\n });\n }\n return {\n x,\n y,\n sourceType,\n elementX,\n elementY,\n elementPositionX,\n elementPositionY,\n elementHeight,\n elementWidth,\n isOutside,\n stop\n };\n}\n\nfunction useMousePressed(options = {}) {\n const {\n touch = true,\n drag = true,\n initialValue = false,\n window = defaultWindow\n } = options;\n const pressed = ref(initialValue);\n const sourceType = ref(null);\n if (!window) {\n return {\n pressed,\n sourceType\n };\n }\n const onPressed = (srcType) => () => {\n pressed.value = true;\n sourceType.value = srcType;\n };\n const onReleased = () => {\n pressed.value = false;\n sourceType.value = null;\n };\n const target = computed(() => unrefElement(options.target) || window);\n useEventListener(target, \"mousedown\", onPressed(\"mouse\"), { passive: true });\n useEventListener(window, \"mouseleave\", onReleased, { passive: true });\n useEventListener(window, \"mouseup\", onReleased, { passive: true });\n if (drag) {\n useEventListener(target, \"dragstart\", onPressed(\"mouse\"), { passive: true });\n useEventListener(window, \"drop\", onReleased, { passive: true });\n useEventListener(window, \"dragend\", onReleased, { passive: true });\n }\n if (touch) {\n useEventListener(target, \"touchstart\", onPressed(\"touch\"), { passive: true });\n useEventListener(window, \"touchend\", onReleased, { passive: true });\n useEventListener(window, \"touchcancel\", onReleased, { passive: true });\n }\n return {\n pressed,\n sourceType\n };\n}\n\nvar __getOwnPropSymbols$8 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$8 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$8 = Object.prototype.propertyIsEnumerable;\nvar __objRest$1 = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp$8.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols$8)\n for (var prop of __getOwnPropSymbols$8(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum$8.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\nfunction useMutationObserver(target, callback, options = {}) {\n const _a = options, { window = defaultWindow } = _a, mutationOptions = __objRest$1(_a, [\"window\"]);\n let observer;\n const isSupported = useSupported(() => window && \"MutationObserver\" in window);\n const cleanup = () => {\n if (observer) {\n observer.disconnect();\n observer = void 0;\n }\n };\n const stopWatch = watch(() => unrefElement(target), (el) => {\n cleanup();\n if (isSupported.value && window && el) {\n observer = new MutationObserver(callback);\n observer.observe(el, mutationOptions);\n }\n }, { immediate: true });\n const stop = () => {\n cleanup();\n stopWatch();\n };\n tryOnScopeDispose(stop);\n return {\n isSupported,\n stop\n };\n}\n\nconst useNavigatorLanguage = (options = {}) => {\n const { window = defaultWindow } = options;\n const navigator = window == null ? void 0 : window.navigator;\n const isSupported = useSupported(() => navigator && \"language\" in navigator);\n const language = ref(navigator == null ? void 0 : navigator.language);\n useEventListener(window, \"languagechange\", () => {\n if (navigator)\n language.value = navigator.language;\n });\n return {\n isSupported,\n language\n };\n};\n\nfunction useNetwork(options = {}) {\n const { window = defaultWindow } = options;\n const navigator = window == null ? void 0 : window.navigator;\n const isSupported = useSupported(() => navigator && \"connection\" in navigator);\n const isOnline = ref(true);\n const saveData = ref(false);\n const offlineAt = ref(void 0);\n const onlineAt = ref(void 0);\n const downlink = ref(void 0);\n const downlinkMax = ref(void 0);\n const rtt = ref(void 0);\n const effectiveType = ref(void 0);\n const type = ref(\"unknown\");\n const connection = isSupported.value && navigator.connection;\n function updateNetworkInformation() {\n if (!navigator)\n return;\n isOnline.value = navigator.onLine;\n offlineAt.value = isOnline.value ? void 0 : Date.now();\n onlineAt.value = isOnline.value ? Date.now() : void 0;\n if (connection) {\n downlink.value = connection.downlink;\n downlinkMax.value = connection.downlinkMax;\n effectiveType.value = connection.effectiveType;\n rtt.value = connection.rtt;\n saveData.value = connection.saveData;\n type.value = connection.type;\n }\n }\n if (window) {\n useEventListener(window, \"offline\", () => {\n isOnline.value = false;\n offlineAt.value = Date.now();\n });\n useEventListener(window, \"online\", () => {\n isOnline.value = true;\n onlineAt.value = Date.now();\n });\n }\n if (connection)\n useEventListener(connection, \"change\", updateNetworkInformation, false);\n updateNetworkInformation();\n return {\n isSupported,\n isOnline,\n saveData,\n offlineAt,\n onlineAt,\n downlink,\n downlinkMax,\n effectiveType,\n rtt,\n type\n };\n}\n\nvar __defProp$7 = Object.defineProperty;\nvar __getOwnPropSymbols$7 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$7 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$7 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$7 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$7.call(b, prop))\n __defNormalProp$7(a, prop, b[prop]);\n if (__getOwnPropSymbols$7)\n for (var prop of __getOwnPropSymbols$7(b)) {\n if (__propIsEnum$7.call(b, prop))\n __defNormalProp$7(a, prop, b[prop]);\n }\n return a;\n};\nfunction useNow(options = {}) {\n const {\n controls: exposeControls = false,\n interval = \"requestAnimationFrame\"\n } = options;\n const now = ref(new Date());\n const update = () => now.value = new Date();\n const controls = interval === \"requestAnimationFrame\" ? useRafFn(update, { immediate: true }) : useIntervalFn(update, interval, { immediate: true });\n if (exposeControls) {\n return __spreadValues$7({\n now\n }, controls);\n } else {\n return now;\n }\n}\n\nfunction useObjectUrl(object) {\n const url = ref();\n const release = () => {\n if (url.value)\n URL.revokeObjectURL(url.value);\n url.value = void 0;\n };\n watch(() => unref(object), (newObject) => {\n release();\n if (newObject)\n url.value = URL.createObjectURL(newObject);\n }, { immediate: true });\n tryOnScopeDispose(release);\n return readonly(url);\n}\n\nfunction useClamp(value, min, max) {\n if (isFunction(value) || isReadonly(value))\n return computed(() => clamp(resolveUnref(value), resolveUnref(min), resolveUnref(max)));\n const _value = ref(value);\n return computed({\n get() {\n return _value.value = clamp(_value.value, resolveUnref(min), resolveUnref(max));\n },\n set(value2) {\n _value.value = clamp(value2, resolveUnref(min), resolveUnref(max));\n }\n });\n}\n\nfunction useOffsetPagination(options) {\n const {\n total = Infinity,\n pageSize = 10,\n page = 1,\n onPageChange = noop,\n onPageSizeChange = noop,\n onPageCountChange = noop\n } = options;\n const currentPageSize = useClamp(pageSize, 1, Infinity);\n const pageCount = computed(() => Math.max(1, Math.ceil(unref(total) / unref(currentPageSize))));\n const currentPage = useClamp(page, 1, pageCount);\n const isFirstPage = computed(() => currentPage.value === 1);\n const isLastPage = computed(() => currentPage.value === pageCount.value);\n if (isRef(page))\n syncRef(page, currentPage);\n if (isRef(pageSize))\n syncRef(pageSize, currentPageSize);\n function prev() {\n currentPage.value--;\n }\n function next() {\n currentPage.value++;\n }\n const returnValue = {\n currentPage,\n currentPageSize,\n pageCount,\n isFirstPage,\n isLastPage,\n prev,\n next\n };\n watch(currentPage, () => {\n onPageChange(reactive(returnValue));\n });\n watch(currentPageSize, () => {\n onPageSizeChange(reactive(returnValue));\n });\n watch(pageCount, () => {\n onPageCountChange(reactive(returnValue));\n });\n return returnValue;\n}\n\nfunction useOnline(options = {}) {\n const { isOnline } = useNetwork(options);\n return isOnline;\n}\n\nfunction usePageLeave(options = {}) {\n const { window = defaultWindow } = options;\n const isLeft = ref(false);\n const handler = (event) => {\n if (!window)\n return;\n event = event || window.event;\n const from = event.relatedTarget || event.toElement;\n isLeft.value = !from;\n };\n if (window) {\n useEventListener(window, \"mouseout\", handler, { passive: true });\n useEventListener(window.document, \"mouseleave\", handler, { passive: true });\n useEventListener(window.document, \"mouseenter\", handler, { passive: true });\n }\n return isLeft;\n}\n\nfunction useParallax(target, options = {}) {\n const {\n deviceOrientationTiltAdjust = (i) => i,\n deviceOrientationRollAdjust = (i) => i,\n mouseTiltAdjust = (i) => i,\n mouseRollAdjust = (i) => i,\n window = defaultWindow\n } = options;\n const orientation = reactive(useDeviceOrientation({ window }));\n const {\n elementX: x,\n elementY: y,\n elementWidth: width,\n elementHeight: height\n } = useMouseInElement(target, { handleOutside: false, window });\n const source = computed(() => {\n if (orientation.isSupported && (orientation.alpha != null && orientation.alpha !== 0 || orientation.gamma != null && orientation.gamma !== 0))\n return \"deviceOrientation\";\n return \"mouse\";\n });\n const roll = computed(() => {\n if (source.value === \"deviceOrientation\") {\n const value = -orientation.beta / 90;\n return deviceOrientationRollAdjust(value);\n } else {\n const value = -(y.value - height.value / 2) / height.value;\n return mouseRollAdjust(value);\n }\n });\n const tilt = computed(() => {\n if (source.value === \"deviceOrientation\") {\n const value = orientation.gamma / 90;\n return deviceOrientationTiltAdjust(value);\n } else {\n const value = (x.value - width.value / 2) / width.value;\n return mouseTiltAdjust(value);\n }\n });\n return { roll, tilt, source };\n}\n\nvar __defProp$6 = Object.defineProperty;\nvar __defProps$1 = Object.defineProperties;\nvar __getOwnPropDescs$1 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$6 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$6 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$6 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$6 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$6.call(b, prop))\n __defNormalProp$6(a, prop, b[prop]);\n if (__getOwnPropSymbols$6)\n for (var prop of __getOwnPropSymbols$6(b)) {\n if (__propIsEnum$6.call(b, prop))\n __defNormalProp$6(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$1 = (a, b) => __defProps$1(a, __getOwnPropDescs$1(b));\nconst defaultState = {\n x: 0,\n y: 0,\n pointerId: 0,\n pressure: 0,\n tiltX: 0,\n tiltY: 0,\n width: 0,\n height: 0,\n twist: 0,\n pointerType: null\n};\nconst keys = /* @__PURE__ */ Object.keys(defaultState);\nfunction usePointer(options = {}) {\n const {\n target = defaultWindow\n } = options;\n const isInside = ref(false);\n const state = ref(options.initialValue || {});\n Object.assign(state.value, defaultState, state.value);\n const handler = (event) => {\n isInside.value = true;\n if (options.pointerTypes && !options.pointerTypes.includes(event.pointerType))\n return;\n state.value = objectPick(event, keys, false);\n };\n if (target) {\n useEventListener(target, \"pointerdown\", handler, { passive: true });\n useEventListener(target, \"pointermove\", handler, { passive: true });\n useEventListener(target, \"pointerleave\", () => isInside.value = false, { passive: true });\n }\n return __spreadProps$1(__spreadValues$6({}, toRefs(state)), {\n isInside\n });\n}\n\nfunction usePointerLock(target, options = {}) {\n const { document = defaultDocument, pointerLockOptions } = options;\n const isSupported = useSupported(() => document && \"pointerLockElement\" in document);\n const element = ref();\n const triggerElement = ref();\n let targetElement;\n if (isSupported.value) {\n useEventListener(document, \"pointerlockchange\", () => {\n var _a;\n const currentElement = (_a = document.pointerLockElement) != null ? _a : element.value;\n if (targetElement && currentElement === targetElement) {\n element.value = document.pointerLockElement;\n if (!element.value)\n targetElement = triggerElement.value = null;\n }\n });\n useEventListener(document, \"pointerlockerror\", () => {\n var _a;\n const currentElement = (_a = document.pointerLockElement) != null ? _a : element.value;\n if (targetElement && currentElement === targetElement) {\n const action = document.pointerLockElement ? \"release\" : \"acquire\";\n throw new Error(`Failed to ${action} pointer lock.`);\n }\n });\n }\n async function lock(e, options2) {\n var _a;\n if (!isSupported.value)\n throw new Error(\"Pointer Lock API is not supported by your browser.\");\n triggerElement.value = e instanceof Event ? e.currentTarget : null;\n targetElement = e instanceof Event ? (_a = unrefElement(target)) != null ? _a : triggerElement.value : unrefElement(e);\n if (!targetElement)\n throw new Error(\"Target element undefined.\");\n targetElement.requestPointerLock(options2 != null ? options2 : pointerLockOptions);\n return await until(element).toBe(targetElement);\n }\n async function unlock() {\n if (!element.value)\n return false;\n document.exitPointerLock();\n await until(element).toBeNull();\n return true;\n }\n return {\n isSupported,\n element,\n triggerElement,\n lock,\n unlock\n };\n}\n\nvar SwipeDirection;\n(function(SwipeDirection2) {\n SwipeDirection2[\"UP\"] = \"UP\";\n SwipeDirection2[\"RIGHT\"] = \"RIGHT\";\n SwipeDirection2[\"DOWN\"] = \"DOWN\";\n SwipeDirection2[\"LEFT\"] = \"LEFT\";\n SwipeDirection2[\"NONE\"] = \"NONE\";\n})(SwipeDirection || (SwipeDirection = {}));\nfunction useSwipe(target, options = {}) {\n const {\n threshold = 50,\n onSwipe,\n onSwipeEnd,\n onSwipeStart,\n passive = true,\n window = defaultWindow\n } = options;\n const coordsStart = reactive({ x: 0, y: 0 });\n const coordsEnd = reactive({ x: 0, y: 0 });\n const diffX = computed(() => coordsStart.x - coordsEnd.x);\n const diffY = computed(() => coordsStart.y - coordsEnd.y);\n const { max, abs } = Math;\n const isThresholdExceeded = computed(() => max(abs(diffX.value), abs(diffY.value)) >= threshold);\n const isSwiping = ref(false);\n const direction = computed(() => {\n if (!isThresholdExceeded.value)\n return SwipeDirection.NONE;\n if (abs(diffX.value) > abs(diffY.value)) {\n return diffX.value > 0 ? SwipeDirection.LEFT : SwipeDirection.RIGHT;\n } else {\n return diffY.value > 0 ? SwipeDirection.UP : SwipeDirection.DOWN;\n }\n });\n const getTouchEventCoords = (e) => [e.touches[0].clientX, e.touches[0].clientY];\n const updateCoordsStart = (x, y) => {\n coordsStart.x = x;\n coordsStart.y = y;\n };\n const updateCoordsEnd = (x, y) => {\n coordsEnd.x = x;\n coordsEnd.y = y;\n };\n let listenerOptions;\n const isPassiveEventSupported = checkPassiveEventSupport(window == null ? void 0 : window.document);\n if (!passive)\n listenerOptions = isPassiveEventSupported ? { passive: false, capture: true } : { capture: true };\n else\n listenerOptions = isPassiveEventSupported ? { passive: true } : { capture: false };\n const onTouchEnd = (e) => {\n if (isSwiping.value)\n onSwipeEnd == null ? void 0 : onSwipeEnd(e, direction.value);\n isSwiping.value = false;\n };\n const stops = [\n useEventListener(target, \"touchstart\", (e) => {\n if (listenerOptions.capture && !listenerOptions.passive)\n e.preventDefault();\n const [x, y] = getTouchEventCoords(e);\n updateCoordsStart(x, y);\n updateCoordsEnd(x, y);\n onSwipeStart == null ? void 0 : onSwipeStart(e);\n }, listenerOptions),\n useEventListener(target, \"touchmove\", (e) => {\n const [x, y] = getTouchEventCoords(e);\n updateCoordsEnd(x, y);\n if (!isSwiping.value && isThresholdExceeded.value)\n isSwiping.value = true;\n if (isSwiping.value)\n onSwipe == null ? void 0 : onSwipe(e);\n }, listenerOptions),\n useEventListener(target, \"touchend\", onTouchEnd, listenerOptions),\n useEventListener(target, \"touchcancel\", onTouchEnd, listenerOptions)\n ];\n const stop = () => stops.forEach((s) => s());\n return {\n isPassiveEventSupported,\n isSwiping,\n direction,\n coordsStart,\n coordsEnd,\n lengthX: diffX,\n lengthY: diffY,\n stop\n };\n}\nfunction checkPassiveEventSupport(document) {\n if (!document)\n return false;\n let supportsPassive = false;\n const optionsBlock = {\n get passive() {\n supportsPassive = true;\n return false;\n }\n };\n document.addEventListener(\"x\", noop, optionsBlock);\n document.removeEventListener(\"x\", noop);\n return supportsPassive;\n}\n\nfunction usePointerSwipe(target, options = {}) {\n const targetRef = resolveRef(target);\n const {\n threshold = 50,\n onSwipe,\n onSwipeEnd,\n onSwipeStart\n } = options;\n const posStart = reactive({ x: 0, y: 0 });\n const updatePosStart = (x, y) => {\n posStart.x = x;\n posStart.y = y;\n };\n const posEnd = reactive({ x: 0, y: 0 });\n const updatePosEnd = (x, y) => {\n posEnd.x = x;\n posEnd.y = y;\n };\n const distanceX = computed(() => posStart.x - posEnd.x);\n const distanceY = computed(() => posStart.y - posEnd.y);\n const { max, abs } = Math;\n const isThresholdExceeded = computed(() => max(abs(distanceX.value), abs(distanceY.value)) >= threshold);\n const isSwiping = ref(false);\n const isPointerDown = ref(false);\n const direction = computed(() => {\n if (!isThresholdExceeded.value)\n return SwipeDirection.NONE;\n if (abs(distanceX.value) > abs(distanceY.value)) {\n return distanceX.value > 0 ? SwipeDirection.LEFT : SwipeDirection.RIGHT;\n } else {\n return distanceY.value > 0 ? SwipeDirection.UP : SwipeDirection.DOWN;\n }\n });\n const eventIsAllowed = (e) => {\n var _a, _b, _c;\n const isReleasingButton = e.buttons === 0;\n const isPrimaryButton = e.buttons === 1;\n return (_c = (_b = (_a = options.pointerTypes) == null ? void 0 : _a.includes(e.pointerType)) != null ? _b : isReleasingButton || isPrimaryButton) != null ? _c : true;\n };\n const stops = [\n useEventListener(target, \"pointerdown\", (e) => {\n var _a, _b;\n if (!eventIsAllowed(e))\n return;\n isPointerDown.value = true;\n (_b = (_a = targetRef.value) == null ? void 0 : _a.style) == null ? void 0 : _b.setProperty(\"touch-action\", \"none\");\n const eventTarget = e.target;\n eventTarget == null ? void 0 : eventTarget.setPointerCapture(e.pointerId);\n const { clientX: x, clientY: y } = e;\n updatePosStart(x, y);\n updatePosEnd(x, y);\n onSwipeStart == null ? void 0 : onSwipeStart(e);\n }),\n useEventListener(target, \"pointermove\", (e) => {\n if (!eventIsAllowed(e))\n return;\n if (!isPointerDown.value)\n return;\n const { clientX: x, clientY: y } = e;\n updatePosEnd(x, y);\n if (!isSwiping.value && isThresholdExceeded.value)\n isSwiping.value = true;\n if (isSwiping.value)\n onSwipe == null ? void 0 : onSwipe(e);\n }),\n useEventListener(target, \"pointerup\", (e) => {\n var _a, _b;\n if (!eventIsAllowed(e))\n return;\n if (isSwiping.value)\n onSwipeEnd == null ? void 0 : onSwipeEnd(e, direction.value);\n isPointerDown.value = false;\n isSwiping.value = false;\n (_b = (_a = targetRef.value) == null ? void 0 : _a.style) == null ? void 0 : _b.setProperty(\"touch-action\", \"initial\");\n })\n ];\n const stop = () => stops.forEach((s) => s());\n return {\n isSwiping: readonly(isSwiping),\n direction: readonly(direction),\n posStart: readonly(posStart),\n posEnd: readonly(posEnd),\n distanceX,\n distanceY,\n stop\n };\n}\n\nfunction usePreferredColorScheme(options) {\n const isLight = useMediaQuery(\"(prefers-color-scheme: light)\", options);\n const isDark = useMediaQuery(\"(prefers-color-scheme: dark)\", options);\n return computed(() => {\n if (isDark.value)\n return \"dark\";\n if (isLight.value)\n return \"light\";\n return \"no-preference\";\n });\n}\n\nfunction usePreferredContrast(options) {\n const isMore = useMediaQuery(\"(prefers-contrast: more)\", options);\n const isLess = useMediaQuery(\"(prefers-contrast: less)\", options);\n const isCustom = useMediaQuery(\"(prefers-contrast: custom)\", options);\n return computed(() => {\n if (isMore.value)\n return \"more\";\n if (isLess.value)\n return \"less\";\n if (isCustom.value)\n return \"custom\";\n return \"no-preference\";\n });\n}\n\nfunction usePreferredLanguages(options = {}) {\n const { window = defaultWindow } = options;\n if (!window)\n return ref([\"en\"]);\n const navigator = window.navigator;\n const value = ref(navigator.languages);\n useEventListener(window, \"languagechange\", () => {\n value.value = navigator.languages;\n });\n return value;\n}\n\nfunction usePreferredReducedMotion(options) {\n const isReduced = useMediaQuery(\"(prefers-reduced-motion: reduce)\", options);\n return computed(() => {\n if (isReduced.value)\n return \"reduce\";\n return \"no-preference\";\n });\n}\n\nfunction usePrevious(value, initialValue) {\n const previous = shallowRef(initialValue);\n watch(resolveRef(value), (_, oldValue) => {\n previous.value = oldValue;\n }, { flush: \"sync\" });\n return readonly(previous);\n}\n\nconst useScreenOrientation = (options = {}) => {\n const {\n window = defaultWindow\n } = options;\n const isSupported = useSupported(() => window && \"screen\" in window && \"orientation\" in window.screen);\n const screenOrientation = isSupported.value ? window.screen.orientation : {};\n const orientation = ref(screenOrientation.type);\n const angle = ref(screenOrientation.angle || 0);\n if (isSupported.value) {\n useEventListener(window, \"orientationchange\", () => {\n orientation.value = screenOrientation.type;\n angle.value = screenOrientation.angle;\n });\n }\n const lockOrientation = (type) => {\n if (!isSupported.value)\n return Promise.reject(new Error(\"Not supported\"));\n return screenOrientation.lock(type);\n };\n const unlockOrientation = () => {\n if (isSupported.value)\n screenOrientation.unlock();\n };\n return {\n isSupported,\n orientation,\n angle,\n lockOrientation,\n unlockOrientation\n };\n};\n\nconst topVarName = \"--vueuse-safe-area-top\";\nconst rightVarName = \"--vueuse-safe-area-right\";\nconst bottomVarName = \"--vueuse-safe-area-bottom\";\nconst leftVarName = \"--vueuse-safe-area-left\";\nfunction useScreenSafeArea() {\n const top = ref(\"\");\n const right = ref(\"\");\n const bottom = ref(\"\");\n const left = ref(\"\");\n if (isClient) {\n const topCssVar = useCssVar(topVarName);\n const rightCssVar = useCssVar(rightVarName);\n const bottomCssVar = useCssVar(bottomVarName);\n const leftCssVar = useCssVar(leftVarName);\n topCssVar.value = \"env(safe-area-inset-top, 0px)\";\n rightCssVar.value = \"env(safe-area-inset-right, 0px)\";\n bottomCssVar.value = \"env(safe-area-inset-bottom, 0px)\";\n leftCssVar.value = \"env(safe-area-inset-left, 0px)\";\n update();\n useEventListener(\"resize\", useDebounceFn(update));\n }\n function update() {\n top.value = getValue(topVarName);\n right.value = getValue(rightVarName);\n bottom.value = getValue(bottomVarName);\n left.value = getValue(leftVarName);\n }\n return {\n top,\n right,\n bottom,\n left,\n update\n };\n}\nfunction getValue(position) {\n return getComputedStyle(document.documentElement).getPropertyValue(position);\n}\n\nfunction useScriptTag(src, onLoaded = noop, options = {}) {\n const {\n immediate = true,\n manual = false,\n type = \"text/javascript\",\n async = true,\n crossOrigin,\n referrerPolicy,\n noModule,\n defer,\n document = defaultDocument,\n attrs = {}\n } = options;\n const scriptTag = ref(null);\n let _promise = null;\n const loadScript = (waitForScriptLoad) => new Promise((resolve, reject) => {\n const resolveWithElement = (el2) => {\n scriptTag.value = el2;\n resolve(el2);\n return el2;\n };\n if (!document) {\n resolve(false);\n return;\n }\n let shouldAppend = false;\n let el = document.querySelector(`script[src=\"${resolveUnref(src)}\"]`);\n if (!el) {\n el = document.createElement(\"script\");\n el.type = type;\n el.async = async;\n el.src = resolveUnref(src);\n if (defer)\n el.defer = defer;\n if (crossOrigin)\n el.crossOrigin = crossOrigin;\n if (noModule)\n el.noModule = noModule;\n if (referrerPolicy)\n el.referrerPolicy = referrerPolicy;\n Object.entries(attrs).forEach(([name, value]) => el == null ? void 0 : el.setAttribute(name, value));\n shouldAppend = true;\n } else if (el.hasAttribute(\"data-loaded\")) {\n resolveWithElement(el);\n }\n el.addEventListener(\"error\", (event) => reject(event));\n el.addEventListener(\"abort\", (event) => reject(event));\n el.addEventListener(\"load\", () => {\n el.setAttribute(\"data-loaded\", \"true\");\n onLoaded(el);\n resolveWithElement(el);\n });\n if (shouldAppend)\n el = document.head.appendChild(el);\n if (!waitForScriptLoad)\n resolveWithElement(el);\n });\n const load = (waitForScriptLoad = true) => {\n if (!_promise)\n _promise = loadScript(waitForScriptLoad);\n return _promise;\n };\n const unload = () => {\n if (!document)\n return;\n _promise = null;\n if (scriptTag.value)\n scriptTag.value = null;\n const el = document.querySelector(`script[src=\"${resolveUnref(src)}\"]`);\n if (el)\n document.head.removeChild(el);\n };\n if (immediate && !manual)\n tryOnMounted(load);\n if (!manual)\n tryOnUnmounted(unload);\n return { scriptTag, load, unload };\n}\n\nfunction checkOverflowScroll(ele) {\n const style = window.getComputedStyle(ele);\n if (style.overflowX === \"scroll\" || style.overflowY === \"scroll\" || style.overflowX === \"auto\" && ele.clientHeight < ele.scrollHeight || style.overflowY === \"auto\" && ele.clientWidth < ele.scrollWidth) {\n return true;\n } else {\n const parent = ele.parentNode;\n if (!parent || parent.tagName === \"BODY\")\n return false;\n return checkOverflowScroll(parent);\n }\n}\nfunction preventDefault(rawEvent) {\n const e = rawEvent || window.event;\n const _target = e.target;\n if (checkOverflowScroll(_target))\n return false;\n if (e.touches.length > 1)\n return true;\n if (e.preventDefault)\n e.preventDefault();\n return false;\n}\nfunction useScrollLock(element, initialState = false) {\n const isLocked = ref(initialState);\n let stopTouchMoveListener = null;\n let initialOverflow;\n watch(resolveRef(element), (el) => {\n if (el) {\n const ele = el;\n initialOverflow = ele.style.overflow;\n if (isLocked.value)\n ele.style.overflow = \"hidden\";\n }\n }, {\n immediate: true\n });\n const lock = () => {\n const ele = resolveUnref(element);\n if (!ele || isLocked.value)\n return;\n if (isIOS) {\n stopTouchMoveListener = useEventListener(ele, \"touchmove\", (e) => {\n preventDefault(e);\n }, { passive: false });\n }\n ele.style.overflow = \"hidden\";\n isLocked.value = true;\n };\n const unlock = () => {\n const ele = resolveUnref(element);\n if (!ele || !isLocked.value)\n return;\n isIOS && (stopTouchMoveListener == null ? void 0 : stopTouchMoveListener());\n ele.style.overflow = initialOverflow;\n isLocked.value = false;\n };\n tryOnScopeDispose(unlock);\n return computed({\n get() {\n return isLocked.value;\n },\n set(v) {\n if (v)\n lock();\n else\n unlock();\n }\n });\n}\n\nfunction useSessionStorage(key, initialValue, options = {}) {\n const { window = defaultWindow } = options;\n return useStorage(key, initialValue, window == null ? void 0 : window.sessionStorage, options);\n}\n\nvar __defProp$5 = Object.defineProperty;\nvar __getOwnPropSymbols$5 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$5 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$5 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$5 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$5.call(b, prop))\n __defNormalProp$5(a, prop, b[prop]);\n if (__getOwnPropSymbols$5)\n for (var prop of __getOwnPropSymbols$5(b)) {\n if (__propIsEnum$5.call(b, prop))\n __defNormalProp$5(a, prop, b[prop]);\n }\n return a;\n};\nfunction useShare(shareOptions = {}, options = {}) {\n const { navigator = defaultNavigator } = options;\n const _navigator = navigator;\n const isSupported = useSupported(() => _navigator && \"canShare\" in _navigator);\n const share = async (overrideOptions = {}) => {\n if (isSupported.value) {\n const data = __spreadValues$5(__spreadValues$5({}, resolveUnref(shareOptions)), resolveUnref(overrideOptions));\n let granted = true;\n if (data.files && _navigator.canShare)\n granted = _navigator.canShare({ files: data.files });\n if (granted)\n return _navigator.share(data);\n }\n };\n return {\n isSupported,\n share\n };\n}\n\nconst defaultSortFn = (source, compareFn) => source.sort(compareFn);\nconst defaultCompare = (a, b) => a - b;\nfunction useSorted(...args) {\n var _a, _b, _c, _d;\n const [source] = args;\n let compareFn = defaultCompare;\n let options = {};\n if (args.length === 2) {\n if (typeof args[1] === \"object\") {\n options = args[1];\n compareFn = (_a = options.compareFn) != null ? _a : defaultCompare;\n } else {\n compareFn = (_b = args[1]) != null ? _b : defaultCompare;\n }\n } else if (args.length > 2) {\n compareFn = (_c = args[1]) != null ? _c : defaultCompare;\n options = (_d = args[2]) != null ? _d : {};\n }\n const {\n dirty = false,\n sortFn = defaultSortFn\n } = options;\n if (!dirty)\n return computed(() => sortFn([...unref(source)], compareFn));\n watchEffect(() => {\n const result = sortFn(unref(source), compareFn);\n if (isRef(source))\n source.value = result;\n else\n source.splice(0, source.length, ...result);\n });\n return source;\n}\n\nfunction useSpeechRecognition(options = {}) {\n const {\n interimResults = true,\n continuous = true,\n window = defaultWindow\n } = options;\n const lang = resolveRef(options.lang || \"en-US\");\n const isListening = ref(false);\n const isFinal = ref(false);\n const result = ref(\"\");\n const error = shallowRef(void 0);\n const toggle = (value = !isListening.value) => {\n isListening.value = value;\n };\n const start = () => {\n isListening.value = true;\n };\n const stop = () => {\n isListening.value = false;\n };\n const SpeechRecognition = window && (window.SpeechRecognition || window.webkitSpeechRecognition);\n const isSupported = useSupported(() => SpeechRecognition);\n let recognition;\n if (isSupported.value) {\n recognition = new SpeechRecognition();\n recognition.continuous = continuous;\n recognition.interimResults = interimResults;\n recognition.lang = unref(lang);\n recognition.onstart = () => {\n isFinal.value = false;\n };\n watch(lang, (lang2) => {\n if (recognition && !isListening.value)\n recognition.lang = lang2;\n });\n recognition.onresult = (event) => {\n const transcript = Array.from(event.results).map((result2) => {\n isFinal.value = result2.isFinal;\n return result2[0];\n }).map((result2) => result2.transcript).join(\"\");\n result.value = transcript;\n error.value = void 0;\n };\n recognition.onerror = (event) => {\n error.value = event;\n };\n recognition.onend = () => {\n isListening.value = false;\n recognition.lang = unref(lang);\n };\n watch(isListening, () => {\n if (isListening.value)\n recognition.start();\n else\n recognition.stop();\n });\n }\n tryOnScopeDispose(() => {\n isListening.value = false;\n });\n return {\n isSupported,\n isListening,\n isFinal,\n recognition,\n result,\n error,\n toggle,\n start,\n stop\n };\n}\n\nfunction useSpeechSynthesis(text, options = {}) {\n const {\n pitch = 1,\n rate = 1,\n volume = 1,\n window = defaultWindow\n } = options;\n const synth = window && window.speechSynthesis;\n const isSupported = useSupported(() => synth);\n const isPlaying = ref(false);\n const status = ref(\"init\");\n const spokenText = resolveRef(text || \"\");\n const lang = resolveRef(options.lang || \"en-US\");\n const error = shallowRef(void 0);\n const toggle = (value = !isPlaying.value) => {\n isPlaying.value = value;\n };\n const bindEventsForUtterance = (utterance2) => {\n utterance2.lang = unref(lang);\n utterance2.voice = unref(options.voice) || null;\n utterance2.pitch = pitch;\n utterance2.rate = rate;\n utterance2.volume = volume;\n utterance2.onstart = () => {\n isPlaying.value = true;\n status.value = \"play\";\n };\n utterance2.onpause = () => {\n isPlaying.value = false;\n status.value = \"pause\";\n };\n utterance2.onresume = () => {\n isPlaying.value = true;\n status.value = \"play\";\n };\n utterance2.onend = () => {\n isPlaying.value = false;\n status.value = \"end\";\n };\n utterance2.onerror = (event) => {\n error.value = event;\n };\n };\n const utterance = computed(() => {\n isPlaying.value = false;\n status.value = \"init\";\n const newUtterance = new SpeechSynthesisUtterance(spokenText.value);\n bindEventsForUtterance(newUtterance);\n return newUtterance;\n });\n const speak = () => {\n synth.cancel();\n utterance && synth.speak(utterance.value);\n };\n const stop = () => {\n synth.cancel();\n isPlaying.value = false;\n };\n if (isSupported.value) {\n bindEventsForUtterance(utterance.value);\n watch(lang, (lang2) => {\n if (utterance.value && !isPlaying.value)\n utterance.value.lang = lang2;\n });\n if (options.voice) {\n watch(options.voice, () => {\n synth.cancel();\n });\n }\n watch(isPlaying, () => {\n if (isPlaying.value)\n synth.resume();\n else\n synth.pause();\n });\n }\n tryOnScopeDispose(() => {\n isPlaying.value = false;\n });\n return {\n isSupported,\n isPlaying,\n status,\n utterance,\n error,\n stop,\n toggle,\n speak\n };\n}\n\nfunction useStepper(steps, initialStep) {\n const stepsRef = ref(steps);\n const stepNames = computed(() => Array.isArray(stepsRef.value) ? stepsRef.value : Object.keys(stepsRef.value));\n const index = ref(stepNames.value.indexOf(initialStep != null ? initialStep : stepNames.value[0]));\n const current = computed(() => at(index.value));\n const isFirst = computed(() => index.value === 0);\n const isLast = computed(() => index.value === stepNames.value.length - 1);\n const next = computed(() => stepNames.value[index.value + 1]);\n const previous = computed(() => stepNames.value[index.value - 1]);\n function at(index2) {\n if (Array.isArray(stepsRef.value))\n return stepsRef.value[index2];\n return stepsRef.value[stepNames.value[index2]];\n }\n function get(step) {\n if (!stepNames.value.includes(step))\n return;\n return at(stepNames.value.indexOf(step));\n }\n function goTo(step) {\n if (stepNames.value.includes(step))\n index.value = stepNames.value.indexOf(step);\n }\n function goToNext() {\n if (isLast.value)\n return;\n index.value++;\n }\n function goToPrevious() {\n if (isFirst.value)\n return;\n index.value--;\n }\n function goBackTo(step) {\n if (isAfter(step))\n goTo(step);\n }\n function isNext(step) {\n return stepNames.value.indexOf(step) === index.value + 1;\n }\n function isPrevious(step) {\n return stepNames.value.indexOf(step) === index.value - 1;\n }\n function isCurrent(step) {\n return stepNames.value.indexOf(step) === index.value;\n }\n function isBefore(step) {\n return index.value < stepNames.value.indexOf(step);\n }\n function isAfter(step) {\n return index.value > stepNames.value.indexOf(step);\n }\n return {\n steps: stepsRef,\n stepNames,\n index,\n current,\n next,\n previous,\n isFirst,\n isLast,\n at,\n get,\n goTo,\n goToNext,\n goToPrevious,\n goBackTo,\n isNext,\n isPrevious,\n isCurrent,\n isBefore,\n isAfter\n };\n}\n\nvar __defProp$4 = Object.defineProperty;\nvar __getOwnPropSymbols$4 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$4 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$4 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$4 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$4.call(b, prop))\n __defNormalProp$4(a, prop, b[prop]);\n if (__getOwnPropSymbols$4)\n for (var prop of __getOwnPropSymbols$4(b)) {\n if (__propIsEnum$4.call(b, prop))\n __defNormalProp$4(a, prop, b[prop]);\n }\n return a;\n};\nfunction useStorageAsync(key, initialValue, storage, options = {}) {\n var _a;\n const {\n flush = \"pre\",\n deep = true,\n listenToStorageChanges = true,\n writeDefaults = true,\n mergeDefaults = false,\n shallow,\n window = defaultWindow,\n eventFilter,\n onError = (e) => {\n console.error(e);\n }\n } = options;\n const rawInit = resolveUnref(initialValue);\n const type = guessSerializerType(rawInit);\n const data = (shallow ? shallowRef : ref)(initialValue);\n const serializer = (_a = options.serializer) != null ? _a : StorageSerializers[type];\n if (!storage) {\n try {\n storage = getSSRHandler(\"getDefaultStorage\", () => {\n var _a2;\n return (_a2 = defaultWindow) == null ? void 0 : _a2.localStorage;\n })();\n } catch (e) {\n onError(e);\n }\n }\n async function read(event) {\n if (!storage || event && event.key !== key)\n return;\n try {\n const rawValue = event ? event.newValue : await storage.getItem(key);\n if (rawValue == null) {\n data.value = rawInit;\n if (writeDefaults && rawInit !== null)\n await storage.setItem(key, await serializer.write(rawInit));\n } else if (mergeDefaults) {\n const value = await serializer.read(rawValue);\n if (isFunction(mergeDefaults))\n data.value = mergeDefaults(value, rawInit);\n else if (type === \"object\" && !Array.isArray(value))\n data.value = __spreadValues$4(__spreadValues$4({}, rawInit), value);\n else\n data.value = value;\n } else {\n data.value = await serializer.read(rawValue);\n }\n } catch (e) {\n onError(e);\n }\n }\n read();\n if (window && listenToStorageChanges)\n useEventListener(window, \"storage\", (e) => setTimeout(() => read(e), 0));\n if (storage) {\n watchWithFilter(data, async () => {\n try {\n if (data.value == null)\n await storage.removeItem(key);\n else\n await storage.setItem(key, await serializer.write(data.value));\n } catch (e) {\n onError(e);\n }\n }, {\n flush,\n deep,\n eventFilter\n });\n }\n return data;\n}\n\nlet _id = 0;\nfunction useStyleTag(css, options = {}) {\n const isLoaded = ref(false);\n const {\n document = defaultDocument,\n immediate = true,\n manual = false,\n id = `vueuse_styletag_${++_id}`\n } = options;\n const cssRef = ref(css);\n let stop = () => {\n };\n const load = () => {\n if (!document)\n return;\n const el = document.getElementById(id) || document.createElement(\"style\");\n if (!el.isConnected) {\n el.type = \"text/css\";\n el.id = id;\n if (options.media)\n el.media = options.media;\n document.head.appendChild(el);\n }\n if (isLoaded.value)\n return;\n stop = watch(cssRef, (value) => {\n el.textContent = value;\n }, { immediate: true });\n isLoaded.value = true;\n };\n const unload = () => {\n if (!document || !isLoaded.value)\n return;\n stop();\n document.head.removeChild(document.getElementById(id));\n isLoaded.value = false;\n };\n if (immediate && !manual)\n tryOnMounted(load);\n if (!manual)\n tryOnScopeDispose(unload);\n return {\n id,\n css: cssRef,\n unload,\n load,\n isLoaded: readonly(isLoaded)\n };\n}\n\nfunction useTemplateRefsList() {\n const refs = ref([]);\n refs.value.set = (el) => {\n if (el)\n refs.value.push(el);\n };\n onBeforeUpdate(() => {\n refs.value.length = 0;\n });\n return refs;\n}\n\nfunction useTextDirection(options = {}) {\n const {\n document = defaultDocument,\n selector = \"html\",\n observe = false,\n initialValue = \"ltr\"\n } = options;\n function getValue() {\n var _a, _b;\n return (_b = (_a = document == null ? void 0 : document.querySelector(selector)) == null ? void 0 : _a.getAttribute(\"dir\")) != null ? _b : initialValue;\n }\n const dir = ref(getValue());\n tryOnMounted(() => dir.value = getValue());\n if (observe && document) {\n useMutationObserver(document.querySelector(selector), () => dir.value = getValue(), { attributes: true });\n }\n return computed({\n get() {\n return dir.value;\n },\n set(v) {\n var _a, _b;\n dir.value = v;\n if (!document)\n return;\n if (dir.value)\n (_a = document.querySelector(selector)) == null ? void 0 : _a.setAttribute(\"dir\", dir.value);\n else\n (_b = document.querySelector(selector)) == null ? void 0 : _b.removeAttribute(\"dir\");\n }\n });\n}\n\nfunction getRangesFromSelection(selection) {\n var _a;\n const rangeCount = (_a = selection.rangeCount) != null ? _a : 0;\n const ranges = new Array(rangeCount);\n for (let i = 0; i < rangeCount; i++) {\n const range = selection.getRangeAt(i);\n ranges[i] = range;\n }\n return ranges;\n}\nfunction useTextSelection(options = {}) {\n const {\n window = defaultWindow\n } = options;\n const selection = ref(null);\n const text = computed(() => {\n var _a, _b;\n return (_b = (_a = selection.value) == null ? void 0 : _a.toString()) != null ? _b : \"\";\n });\n const ranges = computed(() => selection.value ? getRangesFromSelection(selection.value) : []);\n const rects = computed(() => ranges.value.map((range) => range.getBoundingClientRect()));\n function onSelectionChange() {\n selection.value = null;\n if (window)\n selection.value = window.getSelection();\n }\n if (window)\n useEventListener(window.document, \"selectionchange\", onSelectionChange);\n return {\n text,\n rects,\n ranges,\n selection\n };\n}\n\nfunction useTextareaAutosize(options) {\n const textarea = ref(options == null ? void 0 : options.element);\n const input = ref(options == null ? void 0 : options.input);\n function triggerResize() {\n var _a, _b;\n if (!textarea.value)\n return;\n textarea.value.style.height = \"1px\";\n textarea.value.style.height = `${(_a = textarea.value) == null ? void 0 : _a.scrollHeight}px`;\n (_b = options == null ? void 0 : options.onResize) == null ? void 0 : _b.call(options);\n }\n watch([input, textarea], triggerResize, { immediate: true });\n useResizeObserver(textarea, () => triggerResize());\n if (options == null ? void 0 : options.watch)\n watch(options.watch, triggerResize, { immediate: true, deep: true });\n return {\n textarea,\n input,\n triggerResize\n };\n}\n\nvar __defProp$3 = Object.defineProperty;\nvar __defProps = Object.defineProperties;\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$3 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$3 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$3 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$3 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$3.call(b, prop))\n __defNormalProp$3(a, prop, b[prop]);\n if (__getOwnPropSymbols$3)\n for (var prop of __getOwnPropSymbols$3(b)) {\n if (__propIsEnum$3.call(b, prop))\n __defNormalProp$3(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));\nfunction useThrottledRefHistory(source, options = {}) {\n const { throttle = 200, trailing = true } = options;\n const filter = throttleFilter(throttle, trailing);\n const history = useRefHistory(source, __spreadProps(__spreadValues$3({}, options), { eventFilter: filter }));\n return __spreadValues$3({}, history);\n}\n\nvar __defProp$2 = Object.defineProperty;\nvar __getOwnPropSymbols$2 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$2 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$2 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$2 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$2.call(b, prop))\n __defNormalProp$2(a, prop, b[prop]);\n if (__getOwnPropSymbols$2)\n for (var prop of __getOwnPropSymbols$2(b)) {\n if (__propIsEnum$2.call(b, prop))\n __defNormalProp$2(a, prop, b[prop]);\n }\n return a;\n};\nvar __objRest = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp$2.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols$2)\n for (var prop of __getOwnPropSymbols$2(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum$2.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\nconst DEFAULT_UNITS = [\n { max: 6e4, value: 1e3, name: \"second\" },\n { max: 276e4, value: 6e4, name: \"minute\" },\n { max: 72e6, value: 36e5, name: \"hour\" },\n { max: 5184e5, value: 864e5, name: \"day\" },\n { max: 24192e5, value: 6048e5, name: \"week\" },\n { max: 28512e6, value: 2592e6, name: \"month\" },\n { max: Infinity, value: 31536e6, name: \"year\" }\n];\nconst DEFAULT_MESSAGES = {\n justNow: \"just now\",\n past: (n) => n.match(/\\d/) ? `${n} ago` : n,\n future: (n) => n.match(/\\d/) ? `in ${n}` : n,\n month: (n, past) => n === 1 ? past ? \"last month\" : \"next month\" : `${n} month${n > 1 ? \"s\" : \"\"}`,\n year: (n, past) => n === 1 ? past ? \"last year\" : \"next year\" : `${n} year${n > 1 ? \"s\" : \"\"}`,\n day: (n, past) => n === 1 ? past ? \"yesterday\" : \"tomorrow\" : `${n} day${n > 1 ? \"s\" : \"\"}`,\n week: (n, past) => n === 1 ? past ? \"last week\" : \"next week\" : `${n} week${n > 1 ? \"s\" : \"\"}`,\n hour: (n) => `${n} hour${n > 1 ? \"s\" : \"\"}`,\n minute: (n) => `${n} minute${n > 1 ? \"s\" : \"\"}`,\n second: (n) => `${n} second${n > 1 ? \"s\" : \"\"}`,\n invalid: \"\"\n};\nconst DEFAULT_FORMATTER = (date) => date.toISOString().slice(0, 10);\nfunction useTimeAgo(time, options = {}) {\n const {\n controls: exposeControls = false,\n updateInterval = 3e4\n } = options;\n const _a = useNow({ interval: updateInterval, controls: true }), { now } = _a, controls = __objRest(_a, [\"now\"]);\n const timeAgo = computed(() => formatTimeAgo(new Date(resolveUnref(time)), options, unref(now.value)));\n if (exposeControls) {\n return __spreadValues$2({\n timeAgo\n }, controls);\n } else {\n return timeAgo;\n }\n}\nfunction formatTimeAgo(from, options = {}, now = Date.now()) {\n var _a;\n const {\n max,\n messages = DEFAULT_MESSAGES,\n fullDateFormatter = DEFAULT_FORMATTER,\n units = DEFAULT_UNITS,\n showSecond = false,\n rounding = \"round\"\n } = options;\n const roundFn = typeof rounding === \"number\" ? (n) => +n.toFixed(rounding) : Math[rounding];\n const diff = +now - +from;\n const absDiff = Math.abs(diff);\n function getValue(diff2, unit) {\n return roundFn(Math.abs(diff2) / unit.value);\n }\n function format(diff2, unit) {\n const val = getValue(diff2, unit);\n const past = diff2 > 0;\n const str = applyFormat(unit.name, val, past);\n return applyFormat(past ? \"past\" : \"future\", str, past);\n }\n function applyFormat(name, val, isPast) {\n const formatter = messages[name];\n if (typeof formatter === \"function\")\n return formatter(val, isPast);\n return formatter.replace(\"{0}\", val.toString());\n }\n if (absDiff < 6e4 && !showSecond)\n return messages.justNow;\n if (typeof max === \"number\" && absDiff > max)\n return fullDateFormatter(new Date(from));\n if (typeof max === \"string\") {\n const unitMax = (_a = units.find((i) => i.name === max)) == null ? void 0 : _a.max;\n if (unitMax && absDiff > unitMax)\n return fullDateFormatter(new Date(from));\n }\n for (const [idx, unit] of units.entries()) {\n const val = getValue(diff, unit);\n if (val <= 0 && units[idx - 1])\n return format(diff, units[idx - 1]);\n if (absDiff < unit.max)\n return format(diff, unit);\n }\n return messages.invalid;\n}\n\nfunction useTimeoutPoll(fn, interval, timeoutPollOptions) {\n const { start } = useTimeoutFn(loop, interval);\n const isActive = ref(false);\n async function loop() {\n if (!isActive.value)\n return;\n await fn();\n start();\n }\n function resume() {\n if (!isActive.value) {\n isActive.value = true;\n loop();\n }\n }\n function pause() {\n isActive.value = false;\n }\n if (timeoutPollOptions == null ? void 0 : timeoutPollOptions.immediate)\n resume();\n tryOnScopeDispose(pause);\n return {\n isActive,\n pause,\n resume\n };\n}\n\nvar __defProp$1 = Object.defineProperty;\nvar __getOwnPropSymbols$1 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$1 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$1 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$1 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$1.call(b, prop))\n __defNormalProp$1(a, prop, b[prop]);\n if (__getOwnPropSymbols$1)\n for (var prop of __getOwnPropSymbols$1(b)) {\n if (__propIsEnum$1.call(b, prop))\n __defNormalProp$1(a, prop, b[prop]);\n }\n return a;\n};\nfunction useTimestamp(options = {}) {\n const {\n controls: exposeControls = false,\n offset = 0,\n immediate = true,\n interval = \"requestAnimationFrame\",\n callback\n } = options;\n const ts = ref(timestamp() + offset);\n const update = () => ts.value = timestamp() + offset;\n const cb = callback ? () => {\n update();\n callback(ts.value);\n } : update;\n const controls = interval === \"requestAnimationFrame\" ? useRafFn(cb, { immediate }) : useIntervalFn(cb, interval, { immediate });\n if (exposeControls) {\n return __spreadValues$1({\n timestamp: ts\n }, controls);\n } else {\n return ts;\n }\n}\n\nfunction useTitle(newTitle = null, options = {}) {\n var _a, _b;\n const {\n document = defaultDocument\n } = options;\n const title = resolveRef((_a = newTitle != null ? newTitle : document == null ? void 0 : document.title) != null ? _a : null);\n const isReadonly = newTitle && isFunction(newTitle);\n function format(t) {\n if (!(\"titleTemplate\" in options))\n return t;\n const template = options.titleTemplate || \"%s\";\n return isFunction(template) ? template(t) : unref(template).replace(/%s/g, t);\n }\n watch(title, (t, o) => {\n if (t !== o && document)\n document.title = format(isString(t) ? t : \"\");\n }, { immediate: true });\n if (options.observe && !options.titleTemplate && document && !isReadonly) {\n useMutationObserver((_b = document.head) == null ? void 0 : _b.querySelector(\"title\"), () => {\n if (document && document.title !== title.value)\n title.value = format(document.title);\n }, { childList: true });\n }\n return title;\n}\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nconst _TransitionPresets = {\n easeInSine: [0.12, 0, 0.39, 0],\n easeOutSine: [0.61, 1, 0.88, 1],\n easeInOutSine: [0.37, 0, 0.63, 1],\n easeInQuad: [0.11, 0, 0.5, 0],\n easeOutQuad: [0.5, 1, 0.89, 1],\n easeInOutQuad: [0.45, 0, 0.55, 1],\n easeInCubic: [0.32, 0, 0.67, 0],\n easeOutCubic: [0.33, 1, 0.68, 1],\n easeInOutCubic: [0.65, 0, 0.35, 1],\n easeInQuart: [0.5, 0, 0.75, 0],\n easeOutQuart: [0.25, 1, 0.5, 1],\n easeInOutQuart: [0.76, 0, 0.24, 1],\n easeInQuint: [0.64, 0, 0.78, 0],\n easeOutQuint: [0.22, 1, 0.36, 1],\n easeInOutQuint: [0.83, 0, 0.17, 1],\n easeInExpo: [0.7, 0, 0.84, 0],\n easeOutExpo: [0.16, 1, 0.3, 1],\n easeInOutExpo: [0.87, 0, 0.13, 1],\n easeInCirc: [0.55, 0, 1, 0.45],\n easeOutCirc: [0, 0.55, 0.45, 1],\n easeInOutCirc: [0.85, 0, 0.15, 1],\n easeInBack: [0.36, 0, 0.66, -0.56],\n easeOutBack: [0.34, 1.56, 0.64, 1],\n easeInOutBack: [0.68, -0.6, 0.32, 1.6]\n};\nconst TransitionPresets = __spreadValues({\n linear: identity\n}, _TransitionPresets);\nfunction createEasingFunction([p0, p1, p2, p3]) {\n const a = (a1, a2) => 1 - 3 * a2 + 3 * a1;\n const b = (a1, a2) => 3 * a2 - 6 * a1;\n const c = (a1) => 3 * a1;\n const calcBezier = (t, a1, a2) => ((a(a1, a2) * t + b(a1, a2)) * t + c(a1)) * t;\n const getSlope = (t, a1, a2) => 3 * a(a1, a2) * t * t + 2 * b(a1, a2) * t + c(a1);\n const getTforX = (x) => {\n let aGuessT = x;\n for (let i = 0; i < 4; ++i) {\n const currentSlope = getSlope(aGuessT, p0, p2);\n if (currentSlope === 0)\n return aGuessT;\n const currentX = calcBezier(aGuessT, p0, p2) - x;\n aGuessT -= currentX / currentSlope;\n }\n return aGuessT;\n };\n return (x) => p0 === p1 && p2 === p3 ? x : calcBezier(getTforX(x), p1, p3);\n}\nfunction useTransition(source, options = {}) {\n const {\n delay = 0,\n disabled = false,\n duration = 1e3,\n onFinished = noop,\n onStarted = noop,\n transition = identity\n } = options;\n const currentTransition = computed(() => {\n const t = unref(transition);\n return isFunction(t) ? t : createEasingFunction(t);\n });\n const sourceValue = computed(() => {\n const s = unref(source);\n return isNumber(s) ? s : s.map(unref);\n });\n const sourceVector = computed(() => isNumber(sourceValue.value) ? [sourceValue.value] : sourceValue.value);\n const outputVector = ref(sourceVector.value.slice(0));\n let currentDuration;\n let diffVector;\n let endAt;\n let startAt;\n let startVector;\n const { resume, pause } = useRafFn(() => {\n const now = Date.now();\n const progress = clamp(1 - (endAt - now) / currentDuration, 0, 1);\n outputVector.value = startVector.map((val, i) => {\n var _a;\n return val + ((_a = diffVector[i]) != null ? _a : 0) * currentTransition.value(progress);\n });\n if (progress >= 1) {\n pause();\n onFinished();\n }\n }, { immediate: false });\n const start = () => {\n pause();\n currentDuration = unref(duration);\n diffVector = outputVector.value.map((n, i) => {\n var _a, _b;\n return ((_a = sourceVector.value[i]) != null ? _a : 0) - ((_b = outputVector.value[i]) != null ? _b : 0);\n });\n startVector = outputVector.value.slice(0);\n startAt = Date.now();\n endAt = startAt + currentDuration;\n resume();\n onStarted();\n };\n const timeout = useTimeoutFn(start, delay, { immediate: false });\n watch(sourceVector, () => {\n if (unref(disabled))\n return;\n if (unref(delay) <= 0)\n start();\n else\n timeout.start();\n }, { deep: true });\n watch(() => unref(disabled), (v) => {\n if (v) {\n outputVector.value = sourceVector.value.slice(0);\n pause();\n }\n });\n return computed(() => {\n const targetVector = unref(disabled) ? sourceVector : outputVector;\n return isNumber(sourceValue.value) ? targetVector.value[0] : targetVector.value;\n });\n}\n\nfunction useUrlSearchParams(mode = \"history\", options = {}) {\n const {\n initialValue = {},\n removeNullishValues = true,\n removeFalsyValues = false,\n write: enableWrite = true,\n window = defaultWindow\n } = options;\n if (!window)\n return reactive(initialValue);\n const state = reactive({});\n function getRawParams() {\n if (mode === \"history\") {\n return window.location.search || \"\";\n } else if (mode === \"hash\") {\n const hash = window.location.hash || \"\";\n const index = hash.indexOf(\"?\");\n return index > 0 ? hash.slice(index) : \"\";\n } else {\n return (window.location.hash || \"\").replace(/^#/, \"\");\n }\n }\n function constructQuery(params) {\n const stringified = params.toString();\n if (mode === \"history\")\n return `${stringified ? `?${stringified}` : \"\"}${window.location.hash || \"\"}`;\n if (mode === \"hash-params\")\n return `${window.location.search || \"\"}${stringified ? `#${stringified}` : \"\"}`;\n const hash = window.location.hash || \"#\";\n const index = hash.indexOf(\"?\");\n if (index > 0)\n return `${hash.slice(0, index)}${stringified ? `?${stringified}` : \"\"}`;\n return `${hash}${stringified ? `?${stringified}` : \"\"}`;\n }\n function read() {\n return new URLSearchParams(getRawParams());\n }\n function updateState(params) {\n const unusedKeys = new Set(Object.keys(state));\n for (const key of params.keys()) {\n const paramsForKey = params.getAll(key);\n state[key] = paramsForKey.length > 1 ? paramsForKey : params.get(key) || \"\";\n unusedKeys.delete(key);\n }\n Array.from(unusedKeys).forEach((key) => delete state[key]);\n }\n const { pause, resume } = pausableWatch(state, () => {\n const params = new URLSearchParams(\"\");\n Object.keys(state).forEach((key) => {\n const mapEntry = state[key];\n if (Array.isArray(mapEntry))\n mapEntry.forEach((value) => params.append(key, value));\n else if (removeNullishValues && mapEntry == null)\n params.delete(key);\n else if (removeFalsyValues && !mapEntry)\n params.delete(key);\n else\n params.set(key, mapEntry);\n });\n write(params);\n }, { deep: true });\n function write(params, shouldUpdate) {\n pause();\n if (shouldUpdate)\n updateState(params);\n window.history.replaceState(window.history.state, window.document.title, window.location.pathname + constructQuery(params));\n resume();\n }\n function onChanged() {\n if (!enableWrite)\n return;\n write(read(), true);\n }\n useEventListener(window, \"popstate\", onChanged, false);\n if (mode !== \"history\")\n useEventListener(window, \"hashchange\", onChanged, false);\n const initial = read();\n if (initial.keys().next().value)\n updateState(initial);\n else\n Object.assign(state, initialValue);\n return state;\n}\n\nfunction useUserMedia(options = {}) {\n var _a, _b;\n const enabled = ref((_a = options.enabled) != null ? _a : false);\n const autoSwitch = ref((_b = options.autoSwitch) != null ? _b : true);\n const videoDeviceId = ref(options.videoDeviceId);\n const audioDeviceId = ref(options.audioDeviceId);\n const { navigator = defaultNavigator } = options;\n const isSupported = useSupported(() => {\n var _a2;\n return (_a2 = navigator == null ? void 0 : navigator.mediaDevices) == null ? void 0 : _a2.getUserMedia;\n });\n const stream = shallowRef();\n function getDeviceOptions(device) {\n if (device.value === \"none\" || device.value === false)\n return false;\n if (device.value == null)\n return true;\n return {\n deviceId: device.value\n };\n }\n async function _start() {\n if (!isSupported.value || stream.value)\n return;\n stream.value = await navigator.mediaDevices.getUserMedia({\n video: getDeviceOptions(videoDeviceId),\n audio: getDeviceOptions(audioDeviceId)\n });\n return stream.value;\n }\n async function _stop() {\n var _a2;\n (_a2 = stream.value) == null ? void 0 : _a2.getTracks().forEach((t) => t.stop());\n stream.value = void 0;\n }\n function stop() {\n _stop();\n enabled.value = false;\n }\n async function start() {\n await _start();\n if (stream.value)\n enabled.value = true;\n return stream.value;\n }\n async function restart() {\n _stop();\n return await start();\n }\n watch(enabled, (v) => {\n if (v)\n _start();\n else\n _stop();\n }, { immediate: true });\n watch([videoDeviceId, audioDeviceId], () => {\n if (autoSwitch.value && stream.value)\n restart();\n }, { immediate: true });\n return {\n isSupported,\n stream,\n start,\n stop,\n restart,\n videoDeviceId,\n audioDeviceId,\n enabled,\n autoSwitch\n };\n}\n\nfunction useVModel(props, key, emit, options = {}) {\n var _a, _b, _c, _d, _e;\n const {\n clone = false,\n passive = false,\n eventName,\n deep = false,\n defaultValue\n } = options;\n const vm = getCurrentInstance();\n const _emit = emit || (vm == null ? void 0 : vm.emit) || ((_a = vm == null ? void 0 : vm.$emit) == null ? void 0 : _a.bind(vm)) || ((_c = (_b = vm == null ? void 0 : vm.proxy) == null ? void 0 : _b.$emit) == null ? void 0 : _c.bind(vm == null ? void 0 : vm.proxy));\n let event = eventName;\n if (!key) {\n if (isVue2) {\n const modelOptions = (_e = (_d = vm == null ? void 0 : vm.proxy) == null ? void 0 : _d.$options) == null ? void 0 : _e.model;\n key = (modelOptions == null ? void 0 : modelOptions.value) || \"value\";\n if (!eventName)\n event = (modelOptions == null ? void 0 : modelOptions.event) || \"input\";\n } else {\n key = \"modelValue\";\n }\n }\n event = eventName || event || `update:${key.toString()}`;\n const cloneFn = (val) => !clone ? val : isFunction(clone) ? clone(val) : cloneFnJSON(val);\n const getValue = () => isDef(props[key]) ? cloneFn(props[key]) : defaultValue;\n if (passive) {\n const initialValue = getValue();\n const proxy = ref(initialValue);\n watch(() => props[key], (v) => proxy.value = cloneFn(v));\n watch(proxy, (v) => {\n if (v !== props[key] || deep)\n _emit(event, v);\n }, { deep });\n return proxy;\n } else {\n return computed({\n get() {\n return getValue();\n },\n set(value) {\n _emit(event, value);\n }\n });\n }\n}\n\nfunction useVModels(props, emit, options = {}) {\n const ret = {};\n for (const key in props)\n ret[key] = useVModel(props, key, emit, options);\n return ret;\n}\n\nfunction useVibrate(options) {\n const {\n pattern = [],\n interval = 0,\n navigator = defaultNavigator\n } = options || {};\n const isSupported = useSupported(() => typeof navigator !== \"undefined\" && \"vibrate\" in navigator);\n const patternRef = resolveRef(pattern);\n let intervalControls;\n const vibrate = (pattern2 = patternRef.value) => {\n if (isSupported.value)\n navigator.vibrate(pattern2);\n };\n const stop = () => {\n if (isSupported.value)\n navigator.vibrate(0);\n intervalControls == null ? void 0 : intervalControls.pause();\n };\n if (interval > 0) {\n intervalControls = useIntervalFn(vibrate, interval, {\n immediate: false,\n immediateCallback: false\n });\n }\n return {\n isSupported,\n pattern,\n intervalControls,\n vibrate,\n stop\n };\n}\n\nfunction useVirtualList(list, options) {\n const { containerStyle, wrapperProps, scrollTo, calculateRange, currentList, containerRef } = \"itemHeight\" in options ? useVerticalVirtualList(options, list) : useHorizontalVirtualList(options, list);\n return {\n list: currentList,\n scrollTo,\n containerProps: {\n ref: containerRef,\n onScroll: () => {\n calculateRange();\n },\n style: containerStyle\n },\n wrapperProps\n };\n}\nfunction useVirtualListResources(list) {\n const containerRef = ref(null);\n const size = useElementSize(containerRef);\n const currentList = ref([]);\n const source = shallowRef(list);\n const state = ref({ start: 0, end: 10 });\n return { state, source, currentList, size, containerRef };\n}\nfunction createGetViewCapacity(state, source, itemSize) {\n return (containerSize) => {\n if (typeof itemSize === \"number\")\n return Math.ceil(containerSize / itemSize);\n const { start = 0 } = state.value;\n let sum = 0;\n let capacity = 0;\n for (let i = start; i < source.value.length; i++) {\n const size = itemSize(i);\n sum += size;\n capacity = i;\n if (sum > containerSize)\n break;\n }\n return capacity - start;\n };\n}\nfunction createGetOffset(source, itemSize) {\n return (scrollDirection) => {\n if (typeof itemSize === \"number\")\n return Math.floor(scrollDirection / itemSize) + 1;\n let sum = 0;\n let offset = 0;\n for (let i = 0; i < source.value.length; i++) {\n const size = itemSize(i);\n sum += size;\n if (sum >= scrollDirection) {\n offset = i;\n break;\n }\n }\n return offset + 1;\n };\n}\nfunction createCalculateRange(type, overscan, getOffset, getViewCapacity, { containerRef, state, currentList, source }) {\n return () => {\n const element = containerRef.value;\n if (element) {\n const offset = getOffset(type === \"vertical\" ? element.scrollTop : element.scrollLeft);\n const viewCapacity = getViewCapacity(type === \"vertical\" ? element.clientHeight : element.clientWidth);\n const from = offset - overscan;\n const to = offset + viewCapacity + overscan;\n state.value = {\n start: from < 0 ? 0 : from,\n end: to > source.value.length ? source.value.length : to\n };\n currentList.value = source.value.slice(state.value.start, state.value.end).map((ele, index) => ({\n data: ele,\n index: index + state.value.start\n }));\n }\n };\n}\nfunction createGetDistance(itemSize, source) {\n return (index) => {\n if (typeof itemSize === \"number\") {\n const size2 = index * itemSize;\n return size2;\n }\n const size = source.value.slice(0, index).reduce((sum, _, i) => sum + itemSize(i), 0);\n return size;\n };\n}\nfunction useWatchForSizes(size, list, calculateRange) {\n watch([size.width, size.height, list], () => {\n calculateRange();\n });\n}\nfunction createComputedTotalSize(itemSize, source) {\n return computed(() => {\n if (typeof itemSize === \"number\")\n return source.value.length * itemSize;\n return source.value.reduce((sum, _, index) => sum + itemSize(index), 0);\n });\n}\nconst scrollToDictionaryForElementScrollKey = {\n horizontal: \"scrollLeft\",\n vertical: \"scrollTop\"\n};\nfunction createScrollTo(type, calculateRange, getDistance, containerRef) {\n return (index) => {\n if (containerRef.value) {\n containerRef.value[scrollToDictionaryForElementScrollKey[type]] = getDistance(index);\n calculateRange();\n }\n };\n}\nfunction useHorizontalVirtualList(options, list) {\n const resources = useVirtualListResources(list);\n const { state, source, currentList, size, containerRef } = resources;\n const containerStyle = { overflowX: \"auto\" };\n const { itemWidth, overscan = 5 } = options;\n const getViewCapacity = createGetViewCapacity(state, source, itemWidth);\n const getOffset = createGetOffset(source, itemWidth);\n const calculateRange = createCalculateRange(\"horizontal\", overscan, getOffset, getViewCapacity, resources);\n const getDistanceLeft = createGetDistance(itemWidth, source);\n const offsetLeft = computed(() => getDistanceLeft(state.value.start));\n const totalWidth = createComputedTotalSize(itemWidth, source);\n useWatchForSizes(size, list, calculateRange);\n const scrollTo = createScrollTo(\"horizontal\", calculateRange, getDistanceLeft, containerRef);\n const wrapperProps = computed(() => {\n return {\n style: {\n height: \"100%\",\n width: `${totalWidth.value - offsetLeft.value}px`,\n marginLeft: `${offsetLeft.value}px`,\n display: \"flex\"\n }\n };\n });\n return {\n scrollTo,\n calculateRange,\n wrapperProps,\n containerStyle,\n currentList,\n containerRef\n };\n}\nfunction useVerticalVirtualList(options, list) {\n const resources = useVirtualListResources(list);\n const { state, source, currentList, size, containerRef } = resources;\n const containerStyle = { overflowY: \"auto\" };\n const { itemHeight, overscan = 5 } = options;\n const getViewCapacity = createGetViewCapacity(state, source, itemHeight);\n const getOffset = createGetOffset(source, itemHeight);\n const calculateRange = createCalculateRange(\"vertical\", overscan, getOffset, getViewCapacity, resources);\n const getDistanceTop = createGetDistance(itemHeight, source);\n const offsetTop = computed(() => getDistanceTop(state.value.start));\n const totalHeight = createComputedTotalSize(itemHeight, source);\n useWatchForSizes(size, list, calculateRange);\n const scrollTo = createScrollTo(\"vertical\", calculateRange, getDistanceTop, containerRef);\n const wrapperProps = computed(() => {\n return {\n style: {\n width: \"100%\",\n height: `${totalHeight.value - offsetTop.value}px`,\n marginTop: `${offsetTop.value}px`\n }\n };\n });\n return {\n calculateRange,\n scrollTo,\n containerStyle,\n wrapperProps,\n currentList,\n containerRef\n };\n}\n\nconst useWakeLock = (options = {}) => {\n const {\n navigator = defaultNavigator,\n document = defaultDocument\n } = options;\n let wakeLock;\n const isSupported = useSupported(() => navigator && \"wakeLock\" in navigator);\n const isActive = ref(false);\n async function onVisibilityChange() {\n if (!isSupported.value || !wakeLock)\n return;\n if (document && document.visibilityState === \"visible\")\n wakeLock = await navigator.wakeLock.request(\"screen\");\n isActive.value = !wakeLock.released;\n }\n if (document)\n useEventListener(document, \"visibilitychange\", onVisibilityChange, { passive: true });\n async function request(type) {\n if (!isSupported.value)\n return;\n wakeLock = await navigator.wakeLock.request(type);\n isActive.value = !wakeLock.released;\n }\n async function release() {\n if (!isSupported.value || !wakeLock)\n return;\n await wakeLock.release();\n isActive.value = !wakeLock.released;\n wakeLock = null;\n }\n return {\n isSupported,\n isActive,\n request,\n release\n };\n};\n\nconst useWebNotification = (defaultOptions = {}) => {\n const {\n window = defaultWindow\n } = defaultOptions;\n const isSupported = useSupported(() => !!window && \"Notification\" in window);\n const notification = ref(null);\n const requestPermission = async () => {\n if (!isSupported.value)\n return;\n if (\"permission\" in Notification && Notification.permission !== \"denied\")\n await Notification.requestPermission();\n };\n const onClick = createEventHook();\n const onShow = createEventHook();\n const onError = createEventHook();\n const onClose = createEventHook();\n const show = async (overrides) => {\n if (!isSupported.value)\n return;\n await requestPermission();\n const options = Object.assign({}, defaultOptions, overrides);\n notification.value = new Notification(options.title || \"\", options);\n notification.value.onclick = (event) => onClick.trigger(event);\n notification.value.onshow = (event) => onShow.trigger(event);\n notification.value.onerror = (event) => onError.trigger(event);\n notification.value.onclose = (event) => onClose.trigger(event);\n return notification.value;\n };\n const close = () => {\n if (notification.value)\n notification.value.close();\n notification.value = null;\n };\n tryOnMounted(async () => {\n if (isSupported.value)\n await requestPermission();\n });\n tryOnScopeDispose(close);\n if (isSupported.value && window) {\n const document = window.document;\n useEventListener(document, \"visibilitychange\", (e) => {\n e.preventDefault();\n if (document.visibilityState === \"visible\") {\n close();\n }\n });\n }\n return {\n isSupported,\n notification,\n show,\n close,\n onClick,\n onShow,\n onError,\n onClose\n };\n};\n\nconst DEFAULT_PING_MESSAGE = \"ping\";\nfunction resolveNestedOptions(options) {\n if (options === true)\n return {};\n return options;\n}\nfunction useWebSocket(url, options = {}) {\n const {\n onConnected,\n onDisconnected,\n onError,\n onMessage,\n immediate = true,\n autoClose = true,\n protocols = []\n } = options;\n const data = ref(null);\n const status = ref(\"CLOSED\");\n const wsRef = ref();\n const urlRef = resolveRef(url);\n let heartbeatPause;\n let heartbeatResume;\n let explicitlyClosed = false;\n let retried = 0;\n let bufferedData = [];\n let pongTimeoutWait;\n const close = (code = 1e3, reason) => {\n if (!wsRef.value)\n return;\n explicitlyClosed = true;\n heartbeatPause == null ? void 0 : heartbeatPause();\n wsRef.value.close(code, reason);\n };\n const _sendBuffer = () => {\n if (bufferedData.length && wsRef.value && status.value === \"OPEN\") {\n for (const buffer of bufferedData)\n wsRef.value.send(buffer);\n bufferedData = [];\n }\n };\n const resetHeartbeat = () => {\n clearTimeout(pongTimeoutWait);\n pongTimeoutWait = void 0;\n };\n const send = (data2, useBuffer = true) => {\n if (!wsRef.value || status.value !== \"OPEN\") {\n if (useBuffer)\n bufferedData.push(data2);\n return false;\n }\n _sendBuffer();\n wsRef.value.send(data2);\n return true;\n };\n const _init = () => {\n if (explicitlyClosed || typeof urlRef.value === \"undefined\")\n return;\n const ws = new WebSocket(urlRef.value, protocols);\n wsRef.value = ws;\n status.value = \"CONNECTING\";\n ws.onopen = () => {\n status.value = \"OPEN\";\n onConnected == null ? void 0 : onConnected(ws);\n heartbeatResume == null ? void 0 : heartbeatResume();\n _sendBuffer();\n };\n ws.onclose = (ev) => {\n status.value = \"CLOSED\";\n wsRef.value = void 0;\n onDisconnected == null ? void 0 : onDisconnected(ws, ev);\n if (!explicitlyClosed && options.autoReconnect) {\n const {\n retries = -1,\n delay = 1e3,\n onFailed\n } = resolveNestedOptions(options.autoReconnect);\n retried += 1;\n if (typeof retries === \"number\" && (retries < 0 || retried < retries))\n setTimeout(_init, delay);\n else if (typeof retries === \"function\" && retries())\n setTimeout(_init, delay);\n else\n onFailed == null ? void 0 : onFailed();\n }\n };\n ws.onerror = (e) => {\n onError == null ? void 0 : onError(ws, e);\n };\n ws.onmessage = (e) => {\n if (options.heartbeat) {\n resetHeartbeat();\n const {\n message = DEFAULT_PING_MESSAGE\n } = resolveNestedOptions(options.heartbeat);\n if (e.data === message)\n return;\n }\n data.value = e.data;\n onMessage == null ? void 0 : onMessage(ws, e);\n };\n };\n if (options.heartbeat) {\n const {\n message = DEFAULT_PING_MESSAGE,\n interval = 1e3,\n pongTimeout = 1e3\n } = resolveNestedOptions(options.heartbeat);\n const { pause, resume } = useIntervalFn(() => {\n send(message, false);\n if (pongTimeoutWait != null)\n return;\n pongTimeoutWait = setTimeout(() => {\n close();\n }, pongTimeout);\n }, interval, { immediate: false });\n heartbeatPause = pause;\n heartbeatResume = resume;\n }\n if (autoClose) {\n useEventListener(window, \"beforeunload\", () => close());\n tryOnScopeDispose(close);\n }\n const open = () => {\n close();\n explicitlyClosed = false;\n retried = 0;\n _init();\n };\n if (immediate)\n watch(urlRef, open, { immediate: true });\n return {\n data,\n status,\n close,\n send,\n open,\n ws: wsRef\n };\n}\n\nfunction useWebWorker(arg0, workerOptions, options) {\n const {\n window = defaultWindow\n } = options != null ? options : {};\n const data = ref(null);\n const worker = shallowRef();\n const post = function post2(val) {\n if (!worker.value)\n return;\n worker.value.postMessage(val);\n };\n const terminate = function terminate2() {\n if (!worker.value)\n return;\n worker.value.terminate();\n };\n if (window) {\n if (isString(arg0))\n worker.value = new Worker(arg0, workerOptions);\n else if (isFunction(arg0))\n worker.value = arg0();\n else\n worker.value = arg0;\n worker.value.onmessage = (e) => {\n data.value = e.data;\n };\n tryOnScopeDispose(() => {\n if (worker.value)\n worker.value.terminate();\n });\n }\n return {\n data,\n post,\n terminate,\n worker\n };\n}\n\nconst jobRunner = (userFunc) => (e) => {\n const userFuncArgs = e.data[0];\n return Promise.resolve(userFunc.apply(void 0, userFuncArgs)).then((result) => {\n postMessage([\"SUCCESS\", result]);\n }).catch((error) => {\n postMessage([\"ERROR\", error]);\n });\n};\n\nconst depsParser = (deps) => {\n if (deps.length === 0)\n return \"\";\n const depsString = deps.map((dep) => `'${dep}'`).toString();\n return `importScripts(${depsString})`;\n};\n\nconst createWorkerBlobUrl = (fn, deps) => {\n const blobCode = `${depsParser(deps)}; onmessage=(${jobRunner})(${fn})`;\n const blob = new Blob([blobCode], { type: \"text/javascript\" });\n const url = URL.createObjectURL(blob);\n return url;\n};\n\nconst useWebWorkerFn = (fn, options = {}) => {\n const {\n dependencies = [],\n timeout,\n window = defaultWindow\n } = options;\n const worker = ref();\n const workerStatus = ref(\"PENDING\");\n const promise = ref({});\n const timeoutId = ref();\n const workerTerminate = (status = \"PENDING\") => {\n if (worker.value && worker.value._url && window) {\n worker.value.terminate();\n URL.revokeObjectURL(worker.value._url);\n promise.value = {};\n worker.value = void 0;\n window.clearTimeout(timeoutId.value);\n workerStatus.value = status;\n }\n };\n workerTerminate();\n tryOnScopeDispose(workerTerminate);\n const generateWorker = () => {\n const blobUrl = createWorkerBlobUrl(fn, dependencies);\n const newWorker = new Worker(blobUrl);\n newWorker._url = blobUrl;\n newWorker.onmessage = (e) => {\n const { resolve = () => {\n }, reject = () => {\n } } = promise.value;\n const [status, result] = e.data;\n switch (status) {\n case \"SUCCESS\":\n resolve(result);\n workerTerminate(status);\n break;\n default:\n reject(result);\n workerTerminate(\"ERROR\");\n break;\n }\n };\n newWorker.onerror = (e) => {\n const { reject = () => {\n } } = promise.value;\n reject(e);\n workerTerminate(\"ERROR\");\n };\n if (timeout) {\n timeoutId.value = setTimeout(() => workerTerminate(\"TIMEOUT_EXPIRED\"), timeout);\n }\n return newWorker;\n };\n const callWorker = (...fnArgs) => new Promise((resolve, reject) => {\n promise.value = {\n resolve,\n reject\n };\n worker.value && worker.value.postMessage([[...fnArgs]]);\n workerStatus.value = \"RUNNING\";\n });\n const workerFn = (...fnArgs) => {\n if (workerStatus.value === \"RUNNING\") {\n console.error(\"[useWebWorkerFn] You can only run one instance of the worker at a time.\");\n return Promise.reject();\n }\n worker.value = generateWorker();\n return callWorker(...fnArgs);\n };\n return {\n workerFn,\n workerStatus,\n workerTerminate\n };\n};\n\nfunction useWindowFocus({ window = defaultWindow } = {}) {\n if (!window)\n return ref(false);\n const focused = ref(window.document.hasFocus());\n useEventListener(window, \"blur\", () => {\n focused.value = false;\n });\n useEventListener(window, \"focus\", () => {\n focused.value = true;\n });\n return focused;\n}\n\nfunction useWindowScroll({ window = defaultWindow } = {}) {\n if (!window) {\n return {\n x: ref(0),\n y: ref(0)\n };\n }\n const x = ref(window.scrollX);\n const y = ref(window.scrollY);\n useEventListener(window, \"scroll\", () => {\n x.value = window.scrollX;\n y.value = window.scrollY;\n }, {\n capture: false,\n passive: true\n });\n return { x, y };\n}\n\nfunction useWindowSize(options = {}) {\n const {\n window = defaultWindow,\n initialWidth = Infinity,\n initialHeight = Infinity,\n listenOrientation = true,\n includeScrollbar = true\n } = options;\n const width = ref(initialWidth);\n const height = ref(initialHeight);\n const update = () => {\n if (window) {\n if (includeScrollbar) {\n width.value = window.innerWidth;\n height.value = window.innerHeight;\n } else {\n width.value = window.document.documentElement.clientWidth;\n height.value = window.document.documentElement.clientHeight;\n }\n }\n };\n update();\n tryOnMounted(update);\n useEventListener(\"resize\", update, { passive: true });\n if (listenOrientation)\n useEventListener(\"orientationchange\", update, { passive: true });\n return { width, height };\n}\n\nexport { DefaultMagicKeysAliasMap, StorageSerializers, SwipeDirection, TransitionPresets, computedAsync as asyncComputed, breakpointsAntDesign, breakpointsBootstrapV5, breakpointsMasterCss, breakpointsQuasar, breakpointsSematic, breakpointsTailwind, breakpointsVuetify, cloneFnJSON, computedAsync, computedInject, createFetch, createUnrefFn, customStorageEventName, defaultDocument, defaultLocation, defaultNavigator, defaultWindow, formatTimeAgo, getSSRHandler, mapGamepadToXbox360Controller, onClickOutside, onKeyDown, onKeyPressed, onKeyStroke, onKeyUp, onLongPress, onStartTyping, setSSRHandler, templateRef, unrefElement, useActiveElement, useAsyncQueue, useAsyncState, useBase64, useBattery, useBluetooth, useBreakpoints, useBroadcastChannel, useBrowserLocation, useCached, useClipboard, useCloned, useColorMode, useConfirmDialog, useCssVar, useCurrentElement, useCycleList, useDark, useDebouncedRefHistory, useDeviceMotion, useDeviceOrientation, useDevicePixelRatio, useDevicesList, useDisplayMedia, useDocumentVisibility, useDraggable, useDropZone, useElementBounding, useElementByPoint, useElementHover, useElementSize, useElementVisibility, useEventBus, useEventListener, useEventSource, useEyeDropper, useFavicon, useFetch, useFileDialog, useFileSystemAccess, useFocus, useFocusWithin, useFps, useFullscreen, useGamepad, useGeolocation, useIdle, useImage, useInfiniteScroll, useIntersectionObserver, useKeyModifier, useLocalStorage, useMagicKeys, useManualRefHistory, useMediaControls, useMediaQuery, useMemoize, useMemory, useMounted, useMouse, useMouseInElement, useMousePressed, useMutationObserver, useNavigatorLanguage, useNetwork, useNow, useObjectUrl, useOffsetPagination, useOnline, usePageLeave, useParallax, usePermission, usePointer, usePointerLock, usePointerSwipe, usePreferredColorScheme, usePreferredContrast, usePreferredDark, usePreferredLanguages, usePreferredReducedMotion, usePrevious, useRafFn, useRefHistory, useResizeObserver, useScreenOrientation, useScreenSafeArea, useScriptTag, useScroll, useScrollLock, useSessionStorage, useShare, useSorted, useSpeechRecognition, useSpeechSynthesis, useStepper, useStorage, useStorageAsync, useStyleTag, useSupported, useSwipe, useTemplateRefsList, useTextDirection, useTextSelection, useTextareaAutosize, useThrottledRefHistory, useTimeAgo, useTimeoutPoll, useTimestamp, useTitle, useTransition, useUrlSearchParams, useUserMedia, useVModel, useVModels, useVibrate, useVirtualList, useWakeLock, useWebNotification, useWebSocket, useWebWorker, useWebWorkerFn, useWindowFocus, useWindowScroll, useWindowSize };\n","import { isString } from '@vue/shared';\n\nclass ElementPlusError extends Error {\n constructor(m) {\n super(m);\n this.name = \"ElementPlusError\";\n }\n}\nfunction throwError(scope, m) {\n throw new ElementPlusError(`[${scope}] ${m}`);\n}\nfunction debugWarn(scope, message) {\n if (process.env.NODE_ENV !== \"production\") {\n const error = isString(scope) ? new ElementPlusError(`[${scope}] ${message}`) : scope;\n console.warn(error);\n }\n}\n\nexport { debugWarn, throwError };\n//# sourceMappingURL=error.mjs.map\n","import { ref, getCurrentInstance, inject, computed, unref } from 'vue';\nimport { isNumber } from '../../utils/types.mjs';\nimport { isClient } from '@vueuse/core';\nimport { debugWarn } from '../../utils/error.mjs';\n\nconst initial = {\n current: 0\n};\nconst zIndex = ref(0);\nconst defaultInitialZIndex = 2e3;\nconst ZINDEX_INJECTION_KEY = Symbol(\"elZIndexContextKey\");\nconst zIndexContextKey = Symbol(\"zIndexContextKey\");\nconst useZIndex = (zIndexOverrides) => {\n const increasingInjection = getCurrentInstance() ? inject(ZINDEX_INJECTION_KEY, initial) : initial;\n const zIndexInjection = zIndexOverrides || (getCurrentInstance() ? inject(zIndexContextKey, void 0) : void 0);\n const initialZIndex = computed(() => {\n const zIndexFromInjection = unref(zIndexInjection);\n return isNumber(zIndexFromInjection) ? zIndexFromInjection : defaultInitialZIndex;\n });\n const currentZIndex = computed(() => initialZIndex.value + zIndex.value);\n const nextZIndex = () => {\n increasingInjection.current++;\n zIndex.value = increasingInjection.current;\n return currentZIndex.value;\n };\n if (!isClient && !inject(ZINDEX_INJECTION_KEY)) {\n debugWarn(\"ZIndexInjection\", `Looks like you are using server rendering, you must provide a z-index provider to ensure the hydration process to be succeed\nusage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);\n }\n return {\n initialZIndex,\n currentZIndex,\n nextZIndex\n };\n};\n\nexport { ZINDEX_INJECTION_KEY, defaultInitialZIndex, useZIndex, zIndexContextKey };\n//# sourceMappingURL=index.mjs.map\n","var English = {\n name: \"en\",\n el: {\n breadcrumb: {\n label: \"Breadcrumb\"\n },\n colorpicker: {\n confirm: \"OK\",\n clear: \"Clear\",\n defaultLabel: \"color picker\",\n description: \"current color is {color}. press enter to select a new color.\",\n alphaLabel: \"pick alpha value\"\n },\n datepicker: {\n now: \"Now\",\n today: \"Today\",\n cancel: \"Cancel\",\n clear: \"Clear\",\n confirm: \"OK\",\n dateTablePrompt: \"Use the arrow keys and enter to select the day of the month\",\n monthTablePrompt: \"Use the arrow keys and enter to select the month\",\n yearTablePrompt: \"Use the arrow keys and enter to select the year\",\n selectedDate: \"Selected date\",\n selectDate: \"Select date\",\n selectTime: \"Select time\",\n startDate: \"Start Date\",\n startTime: \"Start Time\",\n endDate: \"End Date\",\n endTime: \"End Time\",\n prevYear: \"Previous Year\",\n nextYear: \"Next Year\",\n prevMonth: \"Previous Month\",\n nextMonth: \"Next Month\",\n year: \"\",\n month1: \"January\",\n month2: \"February\",\n month3: \"March\",\n month4: \"April\",\n month5: \"May\",\n month6: \"June\",\n month7: \"July\",\n month8: \"August\",\n month9: \"September\",\n month10: \"October\",\n month11: \"November\",\n month12: \"December\",\n week: \"week\",\n weeks: {\n sun: \"Sun\",\n mon: \"Mon\",\n tue: \"Tue\",\n wed: \"Wed\",\n thu: \"Thu\",\n fri: \"Fri\",\n sat: \"Sat\"\n },\n weeksFull: {\n sun: \"Sunday\",\n mon: \"Monday\",\n tue: \"Tuesday\",\n wed: \"Wednesday\",\n thu: \"Thursday\",\n fri: \"Friday\",\n sat: \"Saturday\"\n },\n months: {\n jan: \"Jan\",\n feb: \"Feb\",\n mar: \"Mar\",\n apr: \"Apr\",\n may: \"May\",\n jun: \"Jun\",\n jul: \"Jul\",\n aug: \"Aug\",\n sep: \"Sep\",\n oct: \"Oct\",\n nov: \"Nov\",\n dec: \"Dec\"\n }\n },\n inputNumber: {\n decrease: \"decrease number\",\n increase: \"increase number\"\n },\n select: {\n loading: \"Loading\",\n noMatch: \"No matching data\",\n noData: \"No data\",\n placeholder: \"Select\"\n },\n mention: {\n loading: \"Loading\"\n },\n dropdown: {\n toggleDropdown: \"Toggle Dropdown\"\n },\n cascader: {\n noMatch: \"No matching data\",\n loading: \"Loading\",\n placeholder: \"Select\",\n noData: \"No data\"\n },\n pagination: {\n goto: \"Go to\",\n pagesize: \"/page\",\n total: \"Total {total}\",\n pageClassifier: \"\",\n page: \"Page\",\n prev: \"Go to previous page\",\n next: \"Go to next page\",\n currentPage: \"page {pager}\",\n prevPages: \"Previous {pager} pages\",\n nextPages: \"Next {pager} pages\",\n deprecationWarning: \"Deprecated usages detected, please refer to the el-pagination documentation for more details\"\n },\n dialog: {\n close: \"Close this dialog\"\n },\n drawer: {\n close: \"Close this dialog\"\n },\n messagebox: {\n title: \"Message\",\n confirm: \"OK\",\n cancel: \"Cancel\",\n error: \"Illegal input\",\n close: \"Close this dialog\"\n },\n upload: {\n deleteTip: \"press delete to remove\",\n delete: \"Delete\",\n preview: \"Preview\",\n continue: \"Continue\"\n },\n slider: {\n defaultLabel: \"slider between {min} and {max}\",\n defaultRangeStartLabel: \"pick start value\",\n defaultRangeEndLabel: \"pick end value\"\n },\n table: {\n emptyText: \"No Data\",\n confirmFilter: \"Confirm\",\n resetFilter: \"Reset\",\n clearFilter: \"All\",\n sumText: \"Sum\"\n },\n tour: {\n next: \"Next\",\n previous: \"Previous\",\n finish: \"Finish\"\n },\n tree: {\n emptyText: \"No Data\"\n },\n transfer: {\n noMatch: \"No matching data\",\n noData: \"No data\",\n titles: [\"List 1\", \"List 2\"],\n filterPlaceholder: \"Enter keyword\",\n noCheckedFormat: \"{total} items\",\n hasCheckedFormat: \"{checked}/{total} checked\"\n },\n image: {\n error: \"FAILED\"\n },\n pageHeader: {\n title: \"Back\"\n },\n popconfirm: {\n confirmButtonText: \"Yes\",\n cancelButtonText: \"No\"\n },\n carousel: {\n leftArrow: \"Carousel arrow left\",\n rightArrow: \"Carousel arrow right\",\n indicator: \"Carousel switch to index {index}\"\n }\n }\n};\n\nexport { English as default };\n//# sourceMappingURL=en.mjs.map\n","import { computed, unref, isRef, ref, inject } from 'vue';\nimport { get } from 'lodash-unified';\nimport English from '../../locale/lang/en.mjs';\n\nconst buildTranslator = (locale) => (path, option) => translate(path, option, unref(locale));\nconst translate = (path, option, locale) => get(locale, path, path).replace(/\\{(\\w+)\\}/g, (_, key) => {\n var _a;\n return `${(_a = option == null ? void 0 : option[key]) != null ? _a : `{${key}}`}`;\n});\nconst buildLocaleContext = (locale) => {\n const lang = computed(() => unref(locale).name);\n const localeRef = isRef(locale) ? locale : ref(locale);\n return {\n lang,\n locale: localeRef,\n t: buildTranslator(locale)\n };\n};\nconst localeContextKey = Symbol(\"localeContextKey\");\nconst useLocale = (localeOverrides) => {\n const locale = localeOverrides || inject(localeContextKey, ref());\n return buildLocaleContext(computed(() => locale.value || English));\n};\n\nexport { buildLocaleContext, buildTranslator, localeContextKey, translate, useLocale };\n//# sourceMappingURL=index.mjs.map\n","import { warn } from 'vue';\nimport { fromPairs } from 'lodash-unified';\nimport { isObject, hasOwn } from '@vue/shared';\n\nconst epPropKey = \"__epPropKey\";\nconst definePropType = (val) => val;\nconst isEpProp = (val) => isObject(val) && !!val[epPropKey];\nconst buildProp = (prop, key) => {\n if (!isObject(prop) || isEpProp(prop))\n return prop;\n const { values, required, default: defaultValue, type, validator } = prop;\n const _validator = values || validator ? (val) => {\n let valid = false;\n let allowedValues = [];\n if (values) {\n allowedValues = Array.from(values);\n if (hasOwn(prop, \"default\")) {\n allowedValues.push(defaultValue);\n }\n valid || (valid = allowedValues.includes(val));\n }\n if (validator)\n valid || (valid = validator(val));\n if (!valid && allowedValues.length > 0) {\n const allowValuesText = [...new Set(allowedValues)].map((value) => JSON.stringify(value)).join(\", \");\n warn(`Invalid prop: validation failed${key ? ` for prop \"${key}\"` : \"\"}. Expected one of [${allowValuesText}], got value ${JSON.stringify(val)}.`);\n }\n return valid;\n } : void 0;\n const epProp = {\n type,\n required: !!required,\n validator: _validator,\n [epPropKey]: true\n };\n if (hasOwn(prop, \"default\"))\n epProp.default = defaultValue;\n return epProp;\n};\nconst buildProps = (props) => fromPairs(Object.entries(props).map(([key, option]) => [\n key,\n buildProp(option, key)\n]));\n\nexport { buildProp, buildProps, definePropType, epPropKey, isEpProp };\n//# sourceMappingURL=runtime.mjs.map\n","const componentSizes = [\"\", \"default\", \"small\", \"large\"];\nconst componentSizeMap = {\n large: 40,\n default: 32,\n small: 24\n};\n\nexport { componentSizeMap, componentSizes };\n//# sourceMappingURL=size.mjs.map\n","import { computed, unref, inject } from 'vue';\nimport { buildProp } from '../../utils/vue/props/runtime.mjs';\nimport { componentSizes } from '../../constants/size.mjs';\n\nconst useSizeProp = buildProp({\n type: String,\n values: componentSizes,\n required: false\n});\nconst useSizeProps = {\n size: useSizeProp\n};\nconst SIZE_INJECTION_KEY = Symbol(\"size\");\nconst useGlobalSize = () => {\n const injectedSize = inject(SIZE_INJECTION_KEY, {});\n return computed(() => {\n return unref(injectedSize.size) || \"\";\n });\n};\n\nexport { SIZE_INJECTION_KEY, useGlobalSize, useSizeProp, useSizeProps };\n//# sourceMappingURL=index.mjs.map\n","import { getCurrentInstance, inject, ref, computed } from 'vue';\nimport { buildProps } from '../../utils/vue/props/runtime.mjs';\nimport { isFunction } from '@vue/shared';\nimport { debugWarn } from '../../utils/error.mjs';\n\nconst emptyValuesContextKey = Symbol(\"emptyValuesContextKey\");\nconst SCOPE = \"use-empty-values\";\nconst DEFAULT_EMPTY_VALUES = [\"\", void 0, null];\nconst DEFAULT_VALUE_ON_CLEAR = void 0;\nconst useEmptyValuesProps = buildProps({\n emptyValues: Array,\n valueOnClear: {\n type: [String, Number, Boolean, Function],\n default: void 0,\n validator: (val) => isFunction(val) ? !val() : !val\n }\n});\nconst useEmptyValues = (props, defaultValue) => {\n const config = getCurrentInstance() ? inject(emptyValuesContextKey, ref({})) : ref({});\n const emptyValues = computed(() => props.emptyValues || config.value.emptyValues || DEFAULT_EMPTY_VALUES);\n const valueOnClear = computed(() => {\n if (isFunction(props.valueOnClear)) {\n return props.valueOnClear();\n } else if (props.valueOnClear !== void 0) {\n return props.valueOnClear;\n } else if (isFunction(config.value.valueOnClear)) {\n return config.value.valueOnClear();\n } else if (config.value.valueOnClear !== void 0) {\n return config.value.valueOnClear;\n }\n return defaultValue !== void 0 ? defaultValue : DEFAULT_VALUE_ON_CLEAR;\n });\n const isEmptyValue = (value) => {\n return emptyValues.value.includes(value);\n };\n if (!emptyValues.value.includes(valueOnClear.value)) {\n debugWarn(SCOPE, \"value-on-clear should be a value of empty-values\");\n }\n return {\n emptyValues,\n valueOnClear,\n isEmptyValue\n };\n};\n\nexport { DEFAULT_EMPTY_VALUES, DEFAULT_VALUE_ON_CLEAR, SCOPE, emptyValuesContextKey, useEmptyValues, useEmptyValuesProps };\n//# sourceMappingURL=index.mjs.map\n","import { get, set } from 'lodash-unified';\nexport { hasOwn } from '@vue/shared';\n\nconst keysOf = (arr) => Object.keys(arr);\nconst entriesOf = (arr) => Object.entries(arr);\nconst getProp = (obj, path, defaultValue) => {\n return {\n get value() {\n return get(obj, path, defaultValue);\n },\n set value(val) {\n set(obj, path, val);\n }\n };\n};\n\nexport { entriesOf, getProp, keysOf };\n//# sourceMappingURL=objects.mjs.map\n","import { ref, getCurrentInstance, inject, computed, unref, provide } from 'vue';\nimport { configProviderContextKey } from '../constants.mjs';\nimport { useNamespace, defaultNamespace, namespaceContextKey } from '../../../../hooks/use-namespace/index.mjs';\nimport { useZIndex, defaultInitialZIndex, zIndexContextKey } from '../../../../hooks/use-z-index/index.mjs';\nimport { useLocale, localeContextKey } from '../../../../hooks/use-locale/index.mjs';\nimport { SIZE_INJECTION_KEY } from '../../../../hooks/use-size/index.mjs';\nimport { emptyValuesContextKey } from '../../../../hooks/use-empty-values/index.mjs';\nimport { debugWarn } from '../../../../utils/error.mjs';\nimport { keysOf } from '../../../../utils/objects.mjs';\n\nconst globalConfig = ref();\nfunction useGlobalConfig(key, defaultValue = void 0) {\n const config = getCurrentInstance() ? inject(configProviderContextKey, globalConfig) : globalConfig;\n if (key) {\n return computed(() => {\n var _a, _b;\n return (_b = (_a = config.value) == null ? void 0 : _a[key]) != null ? _b : defaultValue;\n });\n } else {\n return config;\n }\n}\nfunction useGlobalComponentSettings(block, sizeFallback) {\n const config = useGlobalConfig();\n const ns = useNamespace(block, computed(() => {\n var _a;\n return ((_a = config.value) == null ? void 0 : _a.namespace) || defaultNamespace;\n }));\n const locale = useLocale(computed(() => {\n var _a;\n return (_a = config.value) == null ? void 0 : _a.locale;\n }));\n const zIndex = useZIndex(computed(() => {\n var _a;\n return ((_a = config.value) == null ? void 0 : _a.zIndex) || defaultInitialZIndex;\n }));\n const size = computed(() => {\n var _a;\n return unref(sizeFallback) || ((_a = config.value) == null ? void 0 : _a.size) || \"\";\n });\n provideGlobalConfig(computed(() => unref(config) || {}));\n return {\n ns,\n locale,\n zIndex,\n size\n };\n}\nconst provideGlobalConfig = (config, app, global = false) => {\n var _a;\n const inSetup = !!getCurrentInstance();\n const oldConfig = inSetup ? useGlobalConfig() : void 0;\n const provideFn = (_a = app == null ? void 0 : app.provide) != null ? _a : inSetup ? provide : void 0;\n if (!provideFn) {\n debugWarn(\"provideGlobalConfig\", \"provideGlobalConfig() can only be used inside setup().\");\n return;\n }\n const context = computed(() => {\n const cfg = unref(config);\n if (!(oldConfig == null ? void 0 : oldConfig.value))\n return cfg;\n return mergeConfig(oldConfig.value, cfg);\n });\n provideFn(configProviderContextKey, context);\n provideFn(localeContextKey, computed(() => context.value.locale));\n provideFn(namespaceContextKey, computed(() => context.value.namespace));\n provideFn(zIndexContextKey, computed(() => context.value.zIndex));\n provideFn(SIZE_INJECTION_KEY, {\n size: computed(() => context.value.size || \"\")\n });\n provideFn(emptyValuesContextKey, computed(() => ({\n emptyValues: context.value.emptyValues,\n valueOnClear: context.value.valueOnClear\n })));\n if (global || !globalConfig.value) {\n globalConfig.value = context.value;\n }\n return context;\n};\nconst mergeConfig = (a, b) => {\n const keys = [.../* @__PURE__ */ new Set([...keysOf(a), ...keysOf(b)])];\n const obj = {};\n for (const key of keys) {\n obj[key] = b[key] !== void 0 ? b[key] : a[key];\n }\n return obj;\n};\n\nexport { provideGlobalConfig, useGlobalComponentSettings, useGlobalConfig };\n//# sourceMappingURL=use-global-config.mjs.map\n","const UPDATE_MODEL_EVENT = \"update:modelValue\";\nconst CHANGE_EVENT = \"change\";\nconst INPUT_EVENT = \"input\";\n\nexport { CHANGE_EVENT, INPUT_EVENT, UPDATE_MODEL_EVENT };\n//# sourceMappingURL=event.mjs.map\n","import { CHANGE_EVENT } from '../../../constants/event.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { isNumber, isBoolean } from '../../../utils/types.mjs';\n\nconst affixProps = buildProps({\n zIndex: {\n type: definePropType([Number, String]),\n default: 100\n },\n target: {\n type: String,\n default: \"\"\n },\n offset: {\n type: Number,\n default: 0\n },\n position: {\n type: String,\n values: [\"top\", \"bottom\"],\n default: \"top\"\n }\n});\nconst affixEmits = {\n scroll: ({ scrollTop, fixed }) => isNumber(scrollTop) && isBoolean(fixed),\n [CHANGE_EVENT]: (fixed) => isBoolean(fixed)\n};\n\nexport { affixEmits, affixProps };\n//# sourceMappingURL=affix2.mjs.map\n","var _export_sfc = (sfc, props) => {\n const target = sfc.__vccOpts || sfc;\n for (const [key, val] of props) {\n target[key] = val;\n }\n return target;\n};\n\nexport { _export_sfc as default };\n//# sourceMappingURL=plugin-vue_export-helper.mjs.map\n","import { isNumber, isStringNumber } from '../types.mjs';\nimport { isClient } from '@vueuse/core';\nimport { entriesOf, keysOf } from '../objects.mjs';\nimport { debugWarn } from '../error.mjs';\nimport { camelize, isObject, isString } from '@vue/shared';\n\nconst SCOPE = \"utils/dom/style\";\nconst classNameToArray = (cls = \"\") => cls.split(\" \").filter((item) => !!item.trim());\nconst hasClass = (el, cls) => {\n if (!el || !cls)\n return false;\n if (cls.includes(\" \"))\n throw new Error(\"className should not contain space.\");\n return el.classList.contains(cls);\n};\nconst addClass = (el, cls) => {\n if (!el || !cls.trim())\n return;\n el.classList.add(...classNameToArray(cls));\n};\nconst removeClass = (el, cls) => {\n if (!el || !cls.trim())\n return;\n el.classList.remove(...classNameToArray(cls));\n};\nconst getStyle = (element, styleName) => {\n var _a;\n if (!isClient || !element || !styleName)\n return \"\";\n let key = camelize(styleName);\n if (key === \"float\")\n key = \"cssFloat\";\n try {\n const style = element.style[key];\n if (style)\n return style;\n const computed = (_a = document.defaultView) == null ? void 0 : _a.getComputedStyle(element, \"\");\n return computed ? computed[key] : \"\";\n } catch (e) {\n return element.style[key];\n }\n};\nconst setStyle = (element, styleName, value) => {\n if (!element || !styleName)\n return;\n if (isObject(styleName)) {\n entriesOf(styleName).forEach(([prop, value2]) => setStyle(element, prop, value2));\n } else {\n const key = camelize(styleName);\n element.style[key] = value;\n }\n};\nconst removeStyle = (element, style) => {\n if (!element || !style)\n return;\n if (isObject(style)) {\n keysOf(style).forEach((prop) => removeStyle(element, prop));\n } else {\n setStyle(element, style, \"\");\n }\n};\nfunction addUnit(value, defaultUnit = \"px\") {\n if (!value)\n return \"\";\n if (isNumber(value) || isStringNumber(value)) {\n return `${value}${defaultUnit}`;\n } else if (isString(value)) {\n return value;\n }\n debugWarn(SCOPE, \"binding value must be a string or number\");\n}\n\nexport { addClass, addUnit, classNameToArray, getStyle, hasClass, removeClass, removeStyle, setStyle };\n//# sourceMappingURL=style.mjs.map\n","import { isClient } from '@vueuse/core';\nimport { easeInOutCubic } from '../easings.mjs';\nimport { isWindow } from '../types.mjs';\nimport { rAF, cAF } from '../raf.mjs';\nimport { getStyle } from './style.mjs';\nimport { isFunction } from '@vue/shared';\n\nconst isScroll = (el, isVertical) => {\n if (!isClient)\n return false;\n const key = {\n undefined: \"overflow\",\n true: \"overflow-y\",\n false: \"overflow-x\"\n }[String(isVertical)];\n const overflow = getStyle(el, key);\n return [\"scroll\", \"auto\", \"overlay\"].some((s) => overflow.includes(s));\n};\nconst getScrollContainer = (el, isVertical) => {\n if (!isClient)\n return;\n let parent = el;\n while (parent) {\n if ([window, document, document.documentElement].includes(parent))\n return window;\n if (isScroll(parent, isVertical))\n return parent;\n parent = parent.parentNode;\n }\n return parent;\n};\nlet scrollBarWidth;\nconst getScrollBarWidth = (namespace) => {\n var _a;\n if (!isClient)\n return 0;\n if (scrollBarWidth !== void 0)\n return scrollBarWidth;\n const outer = document.createElement(\"div\");\n outer.className = `${namespace}-scrollbar__wrap`;\n outer.style.visibility = \"hidden\";\n outer.style.width = \"100px\";\n outer.style.position = \"absolute\";\n outer.style.top = \"-9999px\";\n document.body.appendChild(outer);\n const widthNoScroll = outer.offsetWidth;\n outer.style.overflow = \"scroll\";\n const inner = document.createElement(\"div\");\n inner.style.width = \"100%\";\n outer.appendChild(inner);\n const widthWithScroll = inner.offsetWidth;\n (_a = outer.parentNode) == null ? void 0 : _a.removeChild(outer);\n scrollBarWidth = widthNoScroll - widthWithScroll;\n return scrollBarWidth;\n};\nfunction scrollIntoView(container, selected) {\n if (!isClient)\n return;\n if (!selected) {\n container.scrollTop = 0;\n return;\n }\n const offsetParents = [];\n let pointer = selected.offsetParent;\n while (pointer !== null && container !== pointer && container.contains(pointer)) {\n offsetParents.push(pointer);\n pointer = pointer.offsetParent;\n }\n const top = selected.offsetTop + offsetParents.reduce((prev, curr) => prev + curr.offsetTop, 0);\n const bottom = top + selected.offsetHeight;\n const viewRectTop = container.scrollTop;\n const viewRectBottom = viewRectTop + container.clientHeight;\n if (top < viewRectTop) {\n container.scrollTop = top;\n } else if (bottom > viewRectBottom) {\n container.scrollTop = bottom - container.clientHeight;\n }\n}\nfunction animateScrollTo(container, from, to, duration, callback) {\n const startTime = Date.now();\n let handle;\n const scroll = () => {\n const timestamp = Date.now();\n const time = timestamp - startTime;\n const nextScrollTop = easeInOutCubic(time > duration ? duration : time, from, to, duration);\n if (isWindow(container)) {\n container.scrollTo(window.pageXOffset, nextScrollTop);\n } else {\n container.scrollTop = nextScrollTop;\n }\n if (time < duration) {\n handle = rAF(scroll);\n } else if (isFunction(callback)) {\n callback();\n }\n };\n scroll();\n return () => {\n handle && cAF(handle);\n };\n}\nconst getScrollElement = (target, container) => {\n if (isWindow(container)) {\n return target.ownerDocument.documentElement;\n }\n return container;\n};\nconst getScrollTop = (container) => {\n if (isWindow(container)) {\n return window.scrollY;\n }\n return container.scrollTop;\n};\n\nexport { animateScrollTo, getScrollBarWidth, getScrollContainer, getScrollElement, getScrollTop, isScroll, scrollIntoView };\n//# sourceMappingURL=scroll.mjs.map\n","import { defineComponent, shallowRef, ref, computed, watch, onMounted, watchEffect, openBlock, createElementBlock, normalizeClass, unref, normalizeStyle, createElementVNode, renderSlot } from 'vue';\nimport { useWindowSize, useElementBounding, useEventListener } from '@vueuse/core';\nimport { affixProps, affixEmits } from './affix2.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { getScrollContainer } from '../../../utils/dom/scroll.mjs';\nimport { addUnit } from '../../../utils/dom/style.mjs';\nimport { throwError } from '../../../utils/error.mjs';\n\nconst COMPONENT_NAME = \"ElAffix\";\nconst __default__ = defineComponent({\n name: COMPONENT_NAME\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: affixProps,\n emits: affixEmits,\n setup(__props, { expose, emit }) {\n const props = __props;\n const ns = useNamespace(\"affix\");\n const target = shallowRef();\n const root = shallowRef();\n const scrollContainer = shallowRef();\n const { height: windowHeight } = useWindowSize();\n const {\n height: rootHeight,\n width: rootWidth,\n top: rootTop,\n bottom: rootBottom,\n update: updateRoot\n } = useElementBounding(root, { windowScroll: false });\n const targetRect = useElementBounding(target);\n const fixed = ref(false);\n const scrollTop = ref(0);\n const transform = ref(0);\n const rootStyle = computed(() => {\n return {\n height: fixed.value ? `${rootHeight.value}px` : \"\",\n width: fixed.value ? `${rootWidth.value}px` : \"\"\n };\n });\n const affixStyle = computed(() => {\n if (!fixed.value)\n return {};\n const offset = props.offset ? addUnit(props.offset) : 0;\n return {\n height: `${rootHeight.value}px`,\n width: `${rootWidth.value}px`,\n top: props.position === \"top\" ? offset : \"\",\n bottom: props.position === \"bottom\" ? offset : \"\",\n transform: transform.value ? `translateY(${transform.value}px)` : \"\",\n zIndex: props.zIndex\n };\n });\n const update = () => {\n if (!scrollContainer.value)\n return;\n scrollTop.value = scrollContainer.value instanceof Window ? document.documentElement.scrollTop : scrollContainer.value.scrollTop || 0;\n const { position, target: target2, offset } = props;\n const rootHeightOffset = offset + rootHeight.value;\n if (position === \"top\") {\n if (target2) {\n const difference = targetRect.bottom.value - rootHeightOffset;\n fixed.value = offset > rootTop.value && targetRect.bottom.value > 0;\n transform.value = difference < 0 ? difference : 0;\n } else {\n fixed.value = offset > rootTop.value;\n }\n } else if (target2) {\n const difference = windowHeight.value - targetRect.top.value - rootHeightOffset;\n fixed.value = windowHeight.value - offset < rootBottom.value && windowHeight.value > targetRect.top.value;\n transform.value = difference < 0 ? -difference : 0;\n } else {\n fixed.value = windowHeight.value - offset < rootBottom.value;\n }\n };\n const handleScroll = () => {\n updateRoot();\n emit(\"scroll\", {\n scrollTop: scrollTop.value,\n fixed: fixed.value\n });\n };\n watch(fixed, (val) => emit(\"change\", val));\n onMounted(() => {\n var _a;\n if (props.target) {\n target.value = (_a = document.querySelector(props.target)) != null ? _a : void 0;\n if (!target.value)\n throwError(COMPONENT_NAME, `Target does not exist: ${props.target}`);\n } else {\n target.value = document.documentElement;\n }\n scrollContainer.value = getScrollContainer(root.value, true);\n updateRoot();\n });\n useEventListener(scrollContainer, \"scroll\", handleScroll);\n watchEffect(update);\n expose({\n update,\n updateRoot\n });\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"div\", {\n ref_key: \"root\",\n ref: root,\n class: normalizeClass(unref(ns).b()),\n style: normalizeStyle(unref(rootStyle))\n }, [\n createElementVNode(\"div\", {\n class: normalizeClass({ [unref(ns).m(\"fixed\")]: fixed.value }),\n style: normalizeStyle(unref(affixStyle))\n }, [\n renderSlot(_ctx.$slots, \"default\")\n ], 6)\n ], 6);\n };\n }\n});\nvar Affix = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"affix.vue\"]]);\n\nexport { Affix as default };\n//# sourceMappingURL=affix.mjs.map\n","import { NOOP } from '@vue/shared';\n\nconst withInstall = (main, extra) => {\n main.install = (app) => {\n for (const comp of [main, ...Object.values(extra != null ? extra : {})]) {\n app.component(comp.name, comp);\n }\n };\n if (extra) {\n for (const [key, comp] of Object.entries(extra)) {\n main[key] = comp;\n }\n }\n return main;\n};\nconst withInstallFunction = (fn, name) => {\n fn.install = (app) => {\n fn._context = app._context;\n app.config.globalProperties[name] = fn;\n };\n return fn;\n};\nconst withInstallDirective = (directive, name) => {\n directive.install = (app) => {\n app.directive(name, directive);\n };\n return directive;\n};\nconst withNoopInstall = (component) => {\n component.install = NOOP;\n return component;\n};\n\nexport { withInstall, withInstallDirective, withInstallFunction, withNoopInstall };\n//# sourceMappingURL=install.mjs.map\n","import Affix from './src/affix.mjs';\nexport { affixEmits, affixProps } from './src/affix2.mjs';\nimport { withInstall } from '../../utils/vue/install.mjs';\n\nconst ElAffix = withInstall(Affix);\n\nexport { ElAffix, ElAffix as default };\n//# sourceMappingURL=index.mjs.map\n","import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\n\nconst iconProps = buildProps({\n size: {\n type: definePropType([Number, String])\n },\n color: {\n type: String\n }\n});\n\nexport { iconProps };\n//# sourceMappingURL=icon2.mjs.map\n","import { defineComponent, computed, openBlock, createElementBlock, mergeProps, unref, renderSlot } from 'vue';\nimport { iconProps } from './icon2.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { isUndefined } from '../../../utils/types.mjs';\nimport { addUnit } from '../../../utils/dom/style.mjs';\n\nconst __default__ = defineComponent({\n name: \"ElIcon\",\n inheritAttrs: false\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: iconProps,\n setup(__props) {\n const props = __props;\n const ns = useNamespace(\"icon\");\n const style = computed(() => {\n const { size, color } = props;\n if (!size && !color)\n return {};\n return {\n fontSize: isUndefined(size) ? void 0 : addUnit(size),\n \"--color\": color\n };\n });\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"i\", mergeProps({\n class: unref(ns).b(),\n style: unref(style)\n }, _ctx.$attrs), [\n renderSlot(_ctx.$slots, \"default\")\n ], 16);\n };\n }\n});\nvar Icon = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"icon.vue\"]]);\n\nexport { Icon as default };\n//# sourceMappingURL=icon.mjs.map\n","import Icon from './src/icon.mjs';\nexport { iconProps } from './src/icon2.mjs';\nimport { withInstall } from '../../utils/vue/install.mjs';\n\nconst ElIcon = withInstall(Icon);\n\nexport { ElIcon, ElIcon as default };\n//# sourceMappingURL=index.mjs.map\n","/*! Element Plus Icons Vue v2.3.1 */\n\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/add-location.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent } from \"vue\";\nimport { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\";\nvar add_location_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent({\n name: \"AddLocation\",\n __name: \"add-location\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock(), _createElementBlock(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode(\"path\", {\n fill: \"currentColor\",\n d: \"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32\"\n }),\n _createElementVNode(\"path\", {\n fill: \"currentColor\",\n d: \"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544\"\n }),\n _createElementVNode(\"path\", {\n fill: \"currentColor\",\n d: \"M544 384h96a32 32 0 1 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96v-96a32 32 0 0 1 64 0z\"\n })\n ]));\n }\n});\n\n// src/components/add-location.vue\nvar add_location_default = add_location_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/aim.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent2 } from \"vue\";\nimport { createElementVNode as _createElementVNode2, openBlock as _openBlock2, createElementBlock as _createElementBlock2 } from \"vue\";\nvar aim_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent2({\n name: \"Aim\",\n __name: \"aim\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock2(), _createElementBlock2(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode2(\"path\", {\n fill: \"currentColor\",\n d: \"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896\"\n }),\n _createElementVNode2(\"path\", {\n fill: \"currentColor\",\n d: \"M512 96a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V128a32 32 0 0 1 32-32m0 576a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V704a32 32 0 0 1 32-32M96 512a32 32 0 0 1 32-32h192a32 32 0 0 1 0 64H128a32 32 0 0 1-32-32m576 0a32 32 0 0 1 32-32h192a32 32 0 1 1 0 64H704a32 32 0 0 1-32-32\"\n })\n ]));\n }\n});\n\n// src/components/aim.vue\nvar aim_default = aim_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/alarm-clock.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent3 } from \"vue\";\nimport { createElementVNode as _createElementVNode3, openBlock as _openBlock3, createElementBlock as _createElementBlock3 } from \"vue\";\nvar alarm_clock_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent3({\n name: \"AlarmClock\",\n __name: \"alarm-clock\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock3(), _createElementBlock3(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode3(\"path\", {\n fill: \"currentColor\",\n d: \"M512 832a320 320 0 1 0 0-640 320 320 0 0 0 0 640m0 64a384 384 0 1 1 0-768 384 384 0 0 1 0 768\"\n }),\n _createElementVNode3(\"path\", {\n fill: \"currentColor\",\n d: \"m292.288 824.576 55.424 32-48 83.136a32 32 0 1 1-55.424-32zm439.424 0-55.424 32 48 83.136a32 32 0 1 0 55.424-32zM512 512h160a32 32 0 1 1 0 64H480a32 32 0 0 1-32-32V320a32 32 0 0 1 64 0zM90.496 312.256A160 160 0 0 1 312.32 90.496l-46.848 46.848a96 96 0 0 0-128 128L90.56 312.256zm835.264 0A160 160 0 0 0 704 90.496l46.848 46.848a96 96 0 0 1 128 128z\"\n })\n ]));\n }\n});\n\n// src/components/alarm-clock.vue\nvar alarm_clock_default = alarm_clock_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/apple.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent4 } from \"vue\";\nimport { createElementVNode as _createElementVNode4, openBlock as _openBlock4, createElementBlock as _createElementBlock4 } from \"vue\";\nvar apple_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent4({\n name: \"Apple\",\n __name: \"apple\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock4(), _createElementBlock4(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode4(\"path\", {\n fill: \"currentColor\",\n d: \"M599.872 203.776a189.44 189.44 0 0 1 64.384-4.672l2.624.128c31.168 1.024 51.2 4.096 79.488 16.32 37.632 16.128 74.496 45.056 111.488 89.344 96.384 115.264 82.752 372.8-34.752 521.728-7.68 9.728-32 41.6-30.72 39.936a426.624 426.624 0 0 1-30.08 35.776c-31.232 32.576-65.28 49.216-110.08 50.048-31.36.64-53.568-5.312-84.288-18.752l-6.528-2.88c-20.992-9.216-30.592-11.904-47.296-11.904-18.112 0-28.608 2.88-51.136 12.672l-6.464 2.816c-28.416 12.224-48.32 18.048-76.16 19.2-74.112 2.752-116.928-38.08-180.672-132.16-96.64-142.08-132.608-349.312-55.04-486.4 46.272-81.92 129.92-133.632 220.672-135.04 32.832-.576 60.288 6.848 99.648 22.72 27.136 10.88 34.752 13.76 37.376 14.272 16.256-20.16 27.776-36.992 34.56-50.24 13.568-26.304 27.2-59.968 40.704-100.8a32 32 0 1 1 60.8 20.224c-12.608 37.888-25.408 70.4-38.528 97.664zm-51.52 78.08c-14.528 17.792-31.808 37.376-51.904 58.816a32 32 0 1 1-46.72-43.776l12.288-13.248c-28.032-11.2-61.248-26.688-95.68-26.112-70.4 1.088-135.296 41.6-171.648 105.792C121.6 492.608 176 684.16 247.296 788.992c34.816 51.328 76.352 108.992 130.944 106.944 52.48-2.112 72.32-34.688 135.872-34.688 63.552 0 81.28 34.688 136.96 33.536 56.448-1.088 75.776-39.04 126.848-103.872 107.904-136.768 107.904-362.752 35.776-449.088-72.192-86.272-124.672-84.096-151.68-85.12-41.472-4.288-81.6 12.544-113.664 25.152z\"\n })\n ]));\n }\n});\n\n// src/components/apple.vue\nvar apple_default = apple_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/arrow-down-bold.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent5 } from \"vue\";\nimport { createElementVNode as _createElementVNode5, openBlock as _openBlock5, createElementBlock as _createElementBlock5 } from \"vue\";\nvar arrow_down_bold_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent5({\n name: \"ArrowDownBold\",\n __name: \"arrow-down-bold\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock5(), _createElementBlock5(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode5(\"path\", {\n fill: \"currentColor\",\n d: \"M104.704 338.752a64 64 0 0 1 90.496 0l316.8 316.8 316.8-316.8a64 64 0 0 1 90.496 90.496L557.248 791.296a64 64 0 0 1-90.496 0L104.704 429.248a64 64 0 0 1 0-90.496z\"\n })\n ]));\n }\n});\n\n// src/components/arrow-down-bold.vue\nvar arrow_down_bold_default = arrow_down_bold_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/arrow-down.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent6 } from \"vue\";\nimport { createElementVNode as _createElementVNode6, openBlock as _openBlock6, createElementBlock as _createElementBlock6 } from \"vue\";\nvar arrow_down_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent6({\n name: \"ArrowDown\",\n __name: \"arrow-down\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock6(), _createElementBlock6(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode6(\"path\", {\n fill: \"currentColor\",\n d: \"M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z\"\n })\n ]));\n }\n});\n\n// src/components/arrow-down.vue\nvar arrow_down_default = arrow_down_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/arrow-left-bold.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent7 } from \"vue\";\nimport { createElementVNode as _createElementVNode7, openBlock as _openBlock7, createElementBlock as _createElementBlock7 } from \"vue\";\nvar arrow_left_bold_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent7({\n name: \"ArrowLeftBold\",\n __name: \"arrow-left-bold\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock7(), _createElementBlock7(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode7(\"path\", {\n fill: \"currentColor\",\n d: \"M685.248 104.704a64 64 0 0 1 0 90.496L368.448 512l316.8 316.8a64 64 0 0 1-90.496 90.496L232.704 557.248a64 64 0 0 1 0-90.496l362.048-362.048a64 64 0 0 1 90.496 0z\"\n })\n ]));\n }\n});\n\n// src/components/arrow-left-bold.vue\nvar arrow_left_bold_default = arrow_left_bold_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/arrow-left.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent8 } from \"vue\";\nimport { createElementVNode as _createElementVNode8, openBlock as _openBlock8, createElementBlock as _createElementBlock8 } from \"vue\";\nvar arrow_left_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent8({\n name: \"ArrowLeft\",\n __name: \"arrow-left\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock8(), _createElementBlock8(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode8(\"path\", {\n fill: \"currentColor\",\n d: \"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z\"\n })\n ]));\n }\n});\n\n// src/components/arrow-left.vue\nvar arrow_left_default = arrow_left_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/arrow-right-bold.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent9 } from \"vue\";\nimport { createElementVNode as _createElementVNode9, openBlock as _openBlock9, createElementBlock as _createElementBlock9 } from \"vue\";\nvar arrow_right_bold_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent9({\n name: \"ArrowRightBold\",\n __name: \"arrow-right-bold\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock9(), _createElementBlock9(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode9(\"path\", {\n fill: \"currentColor\",\n d: \"M338.752 104.704a64 64 0 0 0 0 90.496l316.8 316.8-316.8 316.8a64 64 0 0 0 90.496 90.496l362.048-362.048a64 64 0 0 0 0-90.496L429.248 104.704a64 64 0 0 0-90.496 0z\"\n })\n ]));\n }\n});\n\n// src/components/arrow-right-bold.vue\nvar arrow_right_bold_default = arrow_right_bold_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/arrow-right.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent10 } from \"vue\";\nimport { createElementVNode as _createElementVNode10, openBlock as _openBlock10, createElementBlock as _createElementBlock10 } from \"vue\";\nvar arrow_right_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent10({\n name: \"ArrowRight\",\n __name: \"arrow-right\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock10(), _createElementBlock10(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode10(\"path\", {\n fill: \"currentColor\",\n d: \"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z\"\n })\n ]));\n }\n});\n\n// src/components/arrow-right.vue\nvar arrow_right_default = arrow_right_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/arrow-up-bold.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent11 } from \"vue\";\nimport { createElementVNode as _createElementVNode11, openBlock as _openBlock11, createElementBlock as _createElementBlock11 } from \"vue\";\nvar arrow_up_bold_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent11({\n name: \"ArrowUpBold\",\n __name: \"arrow-up-bold\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock11(), _createElementBlock11(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode11(\"path\", {\n fill: \"currentColor\",\n d: \"M104.704 685.248a64 64 0 0 0 90.496 0l316.8-316.8 316.8 316.8a64 64 0 0 0 90.496-90.496L557.248 232.704a64 64 0 0 0-90.496 0L104.704 594.752a64 64 0 0 0 0 90.496z\"\n })\n ]));\n }\n});\n\n// src/components/arrow-up-bold.vue\nvar arrow_up_bold_default = arrow_up_bold_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/arrow-up.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent12 } from \"vue\";\nimport { createElementVNode as _createElementVNode12, openBlock as _openBlock12, createElementBlock as _createElementBlock12 } from \"vue\";\nvar arrow_up_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent12({\n name: \"ArrowUp\",\n __name: \"arrow-up\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock12(), _createElementBlock12(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode12(\"path\", {\n fill: \"currentColor\",\n d: \"m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0\"\n })\n ]));\n }\n});\n\n// src/components/arrow-up.vue\nvar arrow_up_default = arrow_up_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/avatar.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent13 } from \"vue\";\nimport { createElementVNode as _createElementVNode13, openBlock as _openBlock13, createElementBlock as _createElementBlock13 } from \"vue\";\nvar avatar_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent13({\n name: \"Avatar\",\n __name: \"avatar\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock13(), _createElementBlock13(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode13(\"path\", {\n fill: \"currentColor\",\n d: \"M628.736 528.896A416 416 0 0 1 928 928H96a415.872 415.872 0 0 1 299.264-399.104L512 704zM720 304a208 208 0 1 1-416 0 208 208 0 0 1 416 0\"\n })\n ]));\n }\n});\n\n// src/components/avatar.vue\nvar avatar_default = avatar_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/back.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent14 } from \"vue\";\nimport { createElementVNode as _createElementVNode14, openBlock as _openBlock14, createElementBlock as _createElementBlock14 } from \"vue\";\nvar back_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent14({\n name: \"Back\",\n __name: \"back\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock14(), _createElementBlock14(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode14(\"path\", {\n fill: \"currentColor\",\n d: \"M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64\"\n }),\n _createElementVNode14(\"path\", {\n fill: \"currentColor\",\n d: \"m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312z\"\n })\n ]));\n }\n});\n\n// src/components/back.vue\nvar back_default = back_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/baseball.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent15 } from \"vue\";\nimport { createElementVNode as _createElementVNode15, openBlock as _openBlock15, createElementBlock as _createElementBlock15 } from \"vue\";\nvar baseball_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent15({\n name: \"Baseball\",\n __name: \"baseball\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock15(), _createElementBlock15(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode15(\"path\", {\n fill: \"currentColor\",\n d: \"M195.2 828.8a448 448 0 1 1 633.6-633.6 448 448 0 0 1-633.6 633.6zm45.248-45.248a384 384 0 1 0 543.104-543.104 384 384 0 0 0-543.104 543.104\"\n }),\n _createElementVNode15(\"path\", {\n fill: \"currentColor\",\n d: \"M497.472 96.896c22.784 4.672 44.416 9.472 64.896 14.528a256.128 256.128 0 0 0 350.208 350.208c5.056 20.48 9.856 42.112 14.528 64.896A320.128 320.128 0 0 1 497.472 96.896zM108.48 491.904a320.128 320.128 0 0 1 423.616 423.68c-23.04-3.648-44.992-7.424-65.728-11.52a256.128 256.128 0 0 0-346.496-346.432 1736.64 1736.64 0 0 1-11.392-65.728z\"\n })\n ]));\n }\n});\n\n// src/components/baseball.vue\nvar baseball_default = baseball_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/basketball.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent16 } from \"vue\";\nimport { createElementVNode as _createElementVNode16, openBlock as _openBlock16, createElementBlock as _createElementBlock16 } from \"vue\";\nvar basketball_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent16({\n name: \"Basketball\",\n __name: \"basketball\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock16(), _createElementBlock16(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode16(\"path\", {\n fill: \"currentColor\",\n d: \"M778.752 788.224a382.464 382.464 0 0 0 116.032-245.632 256.512 256.512 0 0 0-241.728-13.952 762.88 762.88 0 0 1 125.696 259.584zm-55.04 44.224a699.648 699.648 0 0 0-125.056-269.632 256.128 256.128 0 0 0-56.064 331.968 382.72 382.72 0 0 0 181.12-62.336m-254.08 61.248A320.128 320.128 0 0 1 557.76 513.6a715.84 715.84 0 0 0-48.192-48.128 320.128 320.128 0 0 1-379.264 88.384 382.4 382.4 0 0 0 110.144 229.696 382.4 382.4 0 0 0 229.184 110.08zM129.28 481.088a256.128 256.128 0 0 0 331.072-56.448 699.648 699.648 0 0 0-268.8-124.352 382.656 382.656 0 0 0-62.272 180.8m106.56-235.84a762.88 762.88 0 0 1 258.688 125.056 256.512 256.512 0 0 0-13.44-241.088A382.464 382.464 0 0 0 235.84 245.248zm318.08-114.944c40.576 89.536 37.76 193.92-8.448 281.344a779.84 779.84 0 0 1 66.176 66.112 320.832 320.832 0 0 1 282.112-8.128 382.4 382.4 0 0 0-110.144-229.12 382.4 382.4 0 0 0-229.632-110.208zM828.8 828.8a448 448 0 1 1-633.6-633.6 448 448 0 0 1 633.6 633.6\"\n })\n ]));\n }\n});\n\n// src/components/basketball.vue\nvar basketball_default = basketball_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/bell-filled.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent17 } from \"vue\";\nimport { createElementVNode as _createElementVNode17, openBlock as _openBlock17, createElementBlock as _createElementBlock17 } from \"vue\";\nvar bell_filled_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent17({\n name: \"BellFilled\",\n __name: \"bell-filled\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock17(), _createElementBlock17(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode17(\"path\", {\n fill: \"currentColor\",\n d: \"M640 832a128 128 0 0 1-256 0zm192-64H134.4a38.4 38.4 0 0 1 0-76.8H192V448c0-154.88 110.08-284.16 256.32-313.6a64 64 0 1 1 127.36 0A320.128 320.128 0 0 1 832 448v243.2h57.6a38.4 38.4 0 0 1 0 76.8z\"\n })\n ]));\n }\n});\n\n// src/components/bell-filled.vue\nvar bell_filled_default = bell_filled_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/bell.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent18 } from \"vue\";\nimport { createElementVNode as _createElementVNode18, openBlock as _openBlock18, createElementBlock as _createElementBlock18 } from \"vue\";\nvar bell_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent18({\n name: \"Bell\",\n __name: \"bell\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock18(), _createElementBlock18(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode18(\"path\", {\n fill: \"currentColor\",\n d: \"M512 64a64 64 0 0 1 64 64v64H448v-64a64 64 0 0 1 64-64\"\n }),\n _createElementVNode18(\"path\", {\n fill: \"currentColor\",\n d: \"M256 768h512V448a256 256 0 1 0-512 0zm256-640a320 320 0 0 1 320 320v384H192V448a320 320 0 0 1 320-320\"\n }),\n _createElementVNode18(\"path\", {\n fill: \"currentColor\",\n d: \"M96 768h832q32 0 32 32t-32 32H96q-32 0-32-32t32-32m352 128h128a64 64 0 0 1-128 0\"\n })\n ]));\n }\n});\n\n// src/components/bell.vue\nvar bell_default = bell_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/bicycle.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent19 } from \"vue\";\nimport { createElementVNode as _createElementVNode19, openBlock as _openBlock19, createElementBlock as _createElementBlock19 } from \"vue\";\nvar bicycle_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent19({\n name: \"Bicycle\",\n __name: \"bicycle\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock19(), _createElementBlock19(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode19(\"path\", {\n fill: \"currentColor\",\n d: \"M256 832a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384\"\n }),\n _createElementVNode19(\"path\", {\n fill: \"currentColor\",\n d: \"M288 672h320q32 0 32 32t-32 32H288q-32 0-32-32t32-32\"\n }),\n _createElementVNode19(\"path\", {\n fill: \"currentColor\",\n d: \"M768 832a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384\"\n }),\n _createElementVNode19(\"path\", {\n fill: \"currentColor\",\n d: \"M480 192a32 32 0 0 1 0-64h160a32 32 0 0 1 31.04 24.256l96 384a32 32 0 0 1-62.08 15.488L615.04 192zM96 384a32 32 0 0 1 0-64h128a32 32 0 0 1 30.336 21.888l64 192a32 32 0 1 1-60.672 20.224L200.96 384z\"\n }),\n _createElementVNode19(\"path\", {\n fill: \"currentColor\",\n d: \"m373.376 599.808-42.752-47.616 320-288 42.752 47.616z\"\n })\n ]));\n }\n});\n\n// src/components/bicycle.vue\nvar bicycle_default = bicycle_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/bottom-left.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent20 } from \"vue\";\nimport { createElementVNode as _createElementVNode20, openBlock as _openBlock20, createElementBlock as _createElementBlock20 } from \"vue\";\nvar bottom_left_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent20({\n name: \"BottomLeft\",\n __name: \"bottom-left\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock20(), _createElementBlock20(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode20(\"path\", {\n fill: \"currentColor\",\n d: \"M256 768h416a32 32 0 1 1 0 64H224a32 32 0 0 1-32-32V352a32 32 0 0 1 64 0z\"\n }),\n _createElementVNode20(\"path\", {\n fill: \"currentColor\",\n d: \"M246.656 822.656a32 32 0 0 1-45.312-45.312l544-544a32 32 0 0 1 45.312 45.312l-544 544z\"\n })\n ]));\n }\n});\n\n// src/components/bottom-left.vue\nvar bottom_left_default = bottom_left_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/bottom-right.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent21 } from \"vue\";\nimport { createElementVNode as _createElementVNode21, openBlock as _openBlock21, createElementBlock as _createElementBlock21 } from \"vue\";\nvar bottom_right_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent21({\n name: \"BottomRight\",\n __name: \"bottom-right\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock21(), _createElementBlock21(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode21(\"path\", {\n fill: \"currentColor\",\n d: \"M352 768a32 32 0 1 0 0 64h448a32 32 0 0 0 32-32V352a32 32 0 0 0-64 0v416z\"\n }),\n _createElementVNode21(\"path\", {\n fill: \"currentColor\",\n d: \"M777.344 822.656a32 32 0 0 0 45.312-45.312l-544-544a32 32 0 0 0-45.312 45.312z\"\n })\n ]));\n }\n});\n\n// src/components/bottom-right.vue\nvar bottom_right_default = bottom_right_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/bottom.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent22 } from \"vue\";\nimport { createElementVNode as _createElementVNode22, openBlock as _openBlock22, createElementBlock as _createElementBlock22 } from \"vue\";\nvar bottom_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent22({\n name: \"Bottom\",\n __name: \"bottom\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock22(), _createElementBlock22(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode22(\"path\", {\n fill: \"currentColor\",\n d: \"M544 805.888V168a32 32 0 1 0-64 0v637.888L246.656 557.952a30.72 30.72 0 0 0-45.312 0 35.52 35.52 0 0 0 0 48.064l288 306.048a30.72 30.72 0 0 0 45.312 0l288-306.048a35.52 35.52 0 0 0 0-48 30.72 30.72 0 0 0-45.312 0L544 805.824z\"\n })\n ]));\n }\n});\n\n// src/components/bottom.vue\nvar bottom_default = bottom_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/bowl.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent23 } from \"vue\";\nimport { createElementVNode as _createElementVNode23, openBlock as _openBlock23, createElementBlock as _createElementBlock23 } from \"vue\";\nvar bowl_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent23({\n name: \"Bowl\",\n __name: \"bowl\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock23(), _createElementBlock23(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode23(\"path\", {\n fill: \"currentColor\",\n d: \"M714.432 704a351.744 351.744 0 0 0 148.16-256H161.408a351.744 351.744 0 0 0 148.16 256zM288 766.592A415.68 415.68 0 0 1 96 416a32 32 0 0 1 32-32h768a32 32 0 0 1 32 32 415.68 415.68 0 0 1-192 350.592V832a64 64 0 0 1-64 64H352a64 64 0 0 1-64-64zM493.248 320h-90.496l254.4-254.4a32 32 0 1 1 45.248 45.248zm187.328 0h-128l269.696-155.712a32 32 0 0 1 32 55.424zM352 768v64h320v-64z\"\n })\n ]));\n }\n});\n\n// src/components/bowl.vue\nvar bowl_default = bowl_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/box.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent24 } from \"vue\";\nimport { createElementVNode as _createElementVNode24, openBlock as _openBlock24, createElementBlock as _createElementBlock24 } from \"vue\";\nvar box_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent24({\n name: \"Box\",\n __name: \"box\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock24(), _createElementBlock24(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode24(\"path\", {\n fill: \"currentColor\",\n d: \"M317.056 128 128 344.064V896h768V344.064L706.944 128zm-14.528-64h418.944a32 32 0 0 1 24.064 10.88l206.528 236.096A32 32 0 0 1 960 332.032V928a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V332.032a32 32 0 0 1 7.936-21.12L278.4 75.008A32 32 0 0 1 302.528 64z\"\n }),\n _createElementVNode24(\"path\", {\n fill: \"currentColor\",\n d: \"M64 320h896v64H64z\"\n }),\n _createElementVNode24(\"path\", {\n fill: \"currentColor\",\n d: \"M448 327.872V640h128V327.872L526.08 128h-28.16zM448 64h128l64 256v352a32 32 0 0 1-32 32H416a32 32 0 0 1-32-32V320z\"\n })\n ]));\n }\n});\n\n// src/components/box.vue\nvar box_default = box_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/briefcase.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent25 } from \"vue\";\nimport { createElementVNode as _createElementVNode25, openBlock as _openBlock25, createElementBlock as _createElementBlock25 } from \"vue\";\nvar briefcase_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent25({\n name: \"Briefcase\",\n __name: \"briefcase\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock25(), _createElementBlock25(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode25(\"path\", {\n fill: \"currentColor\",\n d: \"M320 320V128h384v192h192v192H128V320zM128 576h768v320H128zm256-256h256.064V192H384z\"\n })\n ]));\n }\n});\n\n// src/components/briefcase.vue\nvar briefcase_default = briefcase_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/brush-filled.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent26 } from \"vue\";\nimport { createElementVNode as _createElementVNode26, openBlock as _openBlock26, createElementBlock as _createElementBlock26 } from \"vue\";\nvar brush_filled_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent26({\n name: \"BrushFilled\",\n __name: \"brush-filled\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock26(), _createElementBlock26(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode26(\"path\", {\n fill: \"currentColor\",\n d: \"M608 704v160a96 96 0 0 1-192 0V704h-96a128 128 0 0 1-128-128h640a128 128 0 0 1-128 128zM192 512V128.064h640V512z\"\n })\n ]));\n }\n});\n\n// src/components/brush-filled.vue\nvar brush_filled_default = brush_filled_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/brush.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent27 } from \"vue\";\nimport { createElementVNode as _createElementVNode27, openBlock as _openBlock27, createElementBlock as _createElementBlock27 } from \"vue\";\nvar brush_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent27({\n name: \"Brush\",\n __name: \"brush\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock27(), _createElementBlock27(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode27(\"path\", {\n fill: \"currentColor\",\n d: \"M896 448H128v192a64 64 0 0 0 64 64h192v192h256V704h192a64 64 0 0 0 64-64zm-770.752-64c0-47.552 5.248-90.24 15.552-128 14.72-54.016 42.496-107.392 83.2-160h417.28l-15.36 70.336L736 96h211.2c-24.832 42.88-41.92 96.256-51.2 160a663.872 663.872 0 0 0-6.144 128H960v256a128 128 0 0 1-128 128H704v160a32 32 0 0 1-32 32H352a32 32 0 0 1-32-32V768H192A128 128 0 0 1 64 640V384h61.248zm64 0h636.544c-2.048-45.824.256-91.584 6.848-137.216 4.48-30.848 10.688-59.776 18.688-86.784h-96.64l-221.12 141.248L561.92 160H256.512c-25.856 37.888-43.776 75.456-53.952 112.832-8.768 32.064-13.248 69.12-13.312 111.168z\"\n })\n ]));\n }\n});\n\n// src/components/brush.vue\nvar brush_default = brush_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/burger.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent28 } from \"vue\";\nimport { createElementVNode as _createElementVNode28, openBlock as _openBlock28, createElementBlock as _createElementBlock28 } from \"vue\";\nvar burger_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent28({\n name: \"Burger\",\n __name: \"burger\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock28(), _createElementBlock28(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode28(\"path\", {\n fill: \"currentColor\",\n d: \"M160 512a32 32 0 0 0-32 32v64a32 32 0 0 0 30.08 32H864a32 32 0 0 0 32-32v-64a32 32 0 0 0-32-32zm736-58.56A96 96 0 0 1 960 544v64a96 96 0 0 1-51.968 85.312L855.36 833.6a96 96 0 0 1-89.856 62.272H258.496A96 96 0 0 1 168.64 833.6l-52.608-140.224A96 96 0 0 1 64 608v-64a96 96 0 0 1 64-90.56V448a384 384 0 1 1 768 5.44M832 448a320 320 0 0 0-640 0zM512 704H188.352l40.192 107.136a32 32 0 0 0 29.952 20.736h507.008a32 32 0 0 0 29.952-20.736L835.648 704z\"\n })\n ]));\n }\n});\n\n// src/components/burger.vue\nvar burger_default = burger_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/calendar.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent29 } from \"vue\";\nimport { createElementVNode as _createElementVNode29, openBlock as _openBlock29, createElementBlock as _createElementBlock29 } from \"vue\";\nvar calendar_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent29({\n name: \"Calendar\",\n __name: \"calendar\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock29(), _createElementBlock29(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode29(\"path\", {\n fill: \"currentColor\",\n d: \"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64zm192-256h384V96a32 32 0 1 1 64 0v32h160a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h160V96a32 32 0 0 1 64 0zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64\"\n })\n ]));\n }\n});\n\n// src/components/calendar.vue\nvar calendar_default = calendar_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/camera-filled.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent30 } from \"vue\";\nimport { createElementVNode as _createElementVNode30, openBlock as _openBlock30, createElementBlock as _createElementBlock30 } from \"vue\";\nvar camera_filled_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent30({\n name: \"CameraFilled\",\n __name: \"camera-filled\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock30(), _createElementBlock30(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode30(\"path\", {\n fill: \"currentColor\",\n d: \"M160 224a64 64 0 0 0-64 64v512a64 64 0 0 0 64 64h704a64 64 0 0 0 64-64V288a64 64 0 0 0-64-64H748.416l-46.464-92.672A64 64 0 0 0 644.736 96H379.328a64 64 0 0 0-57.216 35.392L275.776 224zm352 435.2a115.2 115.2 0 1 0 0-230.4 115.2 115.2 0 0 0 0 230.4m0 140.8a256 256 0 1 1 0-512 256 256 0 0 1 0 512\"\n })\n ]));\n }\n});\n\n// src/components/camera-filled.vue\nvar camera_filled_default = camera_filled_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/camera.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent31 } from \"vue\";\nimport { createElementVNode as _createElementVNode31, openBlock as _openBlock31, createElementBlock as _createElementBlock31 } from \"vue\";\nvar camera_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent31({\n name: \"Camera\",\n __name: \"camera\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock31(), _createElementBlock31(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode31(\"path\", {\n fill: \"currentColor\",\n d: \"M896 256H128v576h768zm-199.424-64-32.064-64h-304.96l-32 64zM96 192h160l46.336-92.608A64 64 0 0 1 359.552 64h304.96a64 64 0 0 1 57.216 35.328L768.192 192H928a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32m416 512a160 160 0 1 0 0-320 160 160 0 0 0 0 320m0 64a224 224 0 1 1 0-448 224 224 0 0 1 0 448\"\n })\n ]));\n }\n});\n\n// src/components/camera.vue\nvar camera_default = camera_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/caret-bottom.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent32 } from \"vue\";\nimport { createElementVNode as _createElementVNode32, openBlock as _openBlock32, createElementBlock as _createElementBlock32 } from \"vue\";\nvar caret_bottom_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent32({\n name: \"CaretBottom\",\n __name: \"caret-bottom\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock32(), _createElementBlock32(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode32(\"path\", {\n fill: \"currentColor\",\n d: \"m192 384 320 384 320-384z\"\n })\n ]));\n }\n});\n\n// src/components/caret-bottom.vue\nvar caret_bottom_default = caret_bottom_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/caret-left.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent33 } from \"vue\";\nimport { createElementVNode as _createElementVNode33, openBlock as _openBlock33, createElementBlock as _createElementBlock33 } from \"vue\";\nvar caret_left_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent33({\n name: \"CaretLeft\",\n __name: \"caret-left\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock33(), _createElementBlock33(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode33(\"path\", {\n fill: \"currentColor\",\n d: \"M672 192 288 511.936 672 832z\"\n })\n ]));\n }\n});\n\n// src/components/caret-left.vue\nvar caret_left_default = caret_left_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/caret-right.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent34 } from \"vue\";\nimport { createElementVNode as _createElementVNode34, openBlock as _openBlock34, createElementBlock as _createElementBlock34 } from \"vue\";\nvar caret_right_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent34({\n name: \"CaretRight\",\n __name: \"caret-right\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock34(), _createElementBlock34(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode34(\"path\", {\n fill: \"currentColor\",\n d: \"M384 192v640l384-320.064z\"\n })\n ]));\n }\n});\n\n// src/components/caret-right.vue\nvar caret_right_default = caret_right_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/caret-top.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent35 } from \"vue\";\nimport { createElementVNode as _createElementVNode35, openBlock as _openBlock35, createElementBlock as _createElementBlock35 } from \"vue\";\nvar caret_top_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent35({\n name: \"CaretTop\",\n __name: \"caret-top\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock35(), _createElementBlock35(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode35(\"path\", {\n fill: \"currentColor\",\n d: \"M512 320 192 704h639.936z\"\n })\n ]));\n }\n});\n\n// src/components/caret-top.vue\nvar caret_top_default = caret_top_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/cellphone.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent36 } from \"vue\";\nimport { createElementVNode as _createElementVNode36, openBlock as _openBlock36, createElementBlock as _createElementBlock36 } from \"vue\";\nvar cellphone_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent36({\n name: \"Cellphone\",\n __name: \"cellphone\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock36(), _createElementBlock36(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode36(\"path\", {\n fill: \"currentColor\",\n d: \"M256 128a64 64 0 0 0-64 64v640a64 64 0 0 0 64 64h512a64 64 0 0 0 64-64V192a64 64 0 0 0-64-64zm0-64h512a128 128 0 0 1 128 128v640a128 128 0 0 1-128 128H256a128 128 0 0 1-128-128V192A128 128 0 0 1 256 64m128 128h256a32 32 0 1 1 0 64H384a32 32 0 0 1 0-64m128 640a64 64 0 1 1 0-128 64 64 0 0 1 0 128\"\n })\n ]));\n }\n});\n\n// src/components/cellphone.vue\nvar cellphone_default = cellphone_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/chat-dot-round.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent37 } from \"vue\";\nimport { createElementVNode as _createElementVNode37, openBlock as _openBlock37, createElementBlock as _createElementBlock37 } from \"vue\";\nvar chat_dot_round_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent37({\n name: \"ChatDotRound\",\n __name: \"chat-dot-round\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock37(), _createElementBlock37(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode37(\"path\", {\n fill: \"currentColor\",\n d: \"m174.72 855.68 135.296-45.12 23.68 11.84C388.096 849.536 448.576 864 512 864c211.84 0 384-166.784 384-352S723.84 160 512 160 128 326.784 128 512c0 69.12 24.96 139.264 70.848 199.232l22.08 28.8-46.272 115.584zm-45.248 82.56A32 32 0 0 1 89.6 896l58.368-145.92C94.72 680.32 64 596.864 64 512 64 299.904 256 96 512 96s448 203.904 448 416-192 416-448 416a461.056 461.056 0 0 1-206.912-48.384l-175.616 58.56z\"\n }),\n _createElementVNode37(\"path\", {\n fill: \"currentColor\",\n d: \"M512 563.2a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m192 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m-384 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4\"\n })\n ]));\n }\n});\n\n// src/components/chat-dot-round.vue\nvar chat_dot_round_default = chat_dot_round_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/chat-dot-square.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent38 } from \"vue\";\nimport { createElementVNode as _createElementVNode38, openBlock as _openBlock38, createElementBlock as _createElementBlock38 } from \"vue\";\nvar chat_dot_square_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent38({\n name: \"ChatDotSquare\",\n __name: \"chat-dot-square\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock38(), _createElementBlock38(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode38(\"path\", {\n fill: \"currentColor\",\n d: \"M273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64v570.88zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z\"\n }),\n _createElementVNode38(\"path\", {\n fill: \"currentColor\",\n d: \"M512 499.2a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4zm192 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4zm-384 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4z\"\n })\n ]));\n }\n});\n\n// src/components/chat-dot-square.vue\nvar chat_dot_square_default = chat_dot_square_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/chat-line-round.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent39 } from \"vue\";\nimport { createElementVNode as _createElementVNode39, openBlock as _openBlock39, createElementBlock as _createElementBlock39 } from \"vue\";\nvar chat_line_round_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent39({\n name: \"ChatLineRound\",\n __name: \"chat-line-round\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock39(), _createElementBlock39(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode39(\"path\", {\n fill: \"currentColor\",\n d: \"m174.72 855.68 135.296-45.12 23.68 11.84C388.096 849.536 448.576 864 512 864c211.84 0 384-166.784 384-352S723.84 160 512 160 128 326.784 128 512c0 69.12 24.96 139.264 70.848 199.232l22.08 28.8-46.272 115.584zm-45.248 82.56A32 32 0 0 1 89.6 896l58.368-145.92C94.72 680.32 64 596.864 64 512 64 299.904 256 96 512 96s448 203.904 448 416-192 416-448 416a461.056 461.056 0 0 1-206.912-48.384l-175.616 58.56z\"\n }),\n _createElementVNode39(\"path\", {\n fill: \"currentColor\",\n d: \"M352 576h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m32-192h256q32 0 32 32t-32 32H384q-32 0-32-32t32-32\"\n })\n ]));\n }\n});\n\n// src/components/chat-line-round.vue\nvar chat_line_round_default = chat_line_round_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/chat-line-square.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent40 } from \"vue\";\nimport { createElementVNode as _createElementVNode40, openBlock as _openBlock40, createElementBlock as _createElementBlock40 } from \"vue\";\nvar chat_line_square_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent40({\n name: \"ChatLineSquare\",\n __name: \"chat-line-square\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock40(), _createElementBlock40(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode40(\"path\", {\n fill: \"currentColor\",\n d: \"M160 826.88 273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z\"\n }),\n _createElementVNode40(\"path\", {\n fill: \"currentColor\",\n d: \"M352 512h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m0-192h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32\"\n })\n ]));\n }\n});\n\n// src/components/chat-line-square.vue\nvar chat_line_square_default = chat_line_square_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/chat-round.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent41 } from \"vue\";\nimport { createElementVNode as _createElementVNode41, openBlock as _openBlock41, createElementBlock as _createElementBlock41 } from \"vue\";\nvar chat_round_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent41({\n name: \"ChatRound\",\n __name: \"chat-round\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock41(), _createElementBlock41(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode41(\"path\", {\n fill: \"currentColor\",\n d: \"m174.72 855.68 130.048-43.392 23.424 11.392C382.4 849.984 444.352 864 512 864c223.744 0 384-159.872 384-352 0-192.832-159.104-352-384-352S128 319.168 128 512a341.12 341.12 0 0 0 69.248 204.288l21.632 28.8-44.16 110.528zm-45.248 82.56A32 32 0 0 1 89.6 896l56.512-141.248A405.12 405.12 0 0 1 64 512C64 299.904 235.648 96 512 96s448 203.904 448 416-173.44 416-448 416c-79.68 0-150.848-17.152-211.712-46.72l-170.88 56.96z\"\n })\n ]));\n }\n});\n\n// src/components/chat-round.vue\nvar chat_round_default = chat_round_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/chat-square.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent42 } from \"vue\";\nimport { createElementVNode as _createElementVNode42, openBlock as _openBlock42, createElementBlock as _createElementBlock42 } from \"vue\";\nvar chat_square_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent42({\n name: \"ChatSquare\",\n __name: \"chat-square\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock42(), _createElementBlock42(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode42(\"path\", {\n fill: \"currentColor\",\n d: \"M273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64v570.88zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z\"\n })\n ]));\n }\n});\n\n// src/components/chat-square.vue\nvar chat_square_default = chat_square_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/check.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent43 } from \"vue\";\nimport { createElementVNode as _createElementVNode43, openBlock as _openBlock43, createElementBlock as _createElementBlock43 } from \"vue\";\nvar check_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent43({\n name: \"Check\",\n __name: \"check\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock43(), _createElementBlock43(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode43(\"path\", {\n fill: \"currentColor\",\n d: \"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z\"\n })\n ]));\n }\n});\n\n// src/components/check.vue\nvar check_default = check_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/checked.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent44 } from \"vue\";\nimport { createElementVNode as _createElementVNode44, openBlock as _openBlock44, createElementBlock as _createElementBlock44 } from \"vue\";\nvar checked_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent44({\n name: \"Checked\",\n __name: \"checked\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock44(), _createElementBlock44(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode44(\"path\", {\n fill: \"currentColor\",\n d: \"M704 192h160v736H160V192h160.064v64H704zM311.616 537.28l-45.312 45.248L447.36 763.52l316.8-316.8-45.312-45.184L447.36 673.024zM384 192V96h256v96z\"\n })\n ]));\n }\n});\n\n// src/components/checked.vue\nvar checked_default = checked_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/cherry.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent45 } from \"vue\";\nimport { createElementVNode as _createElementVNode45, openBlock as _openBlock45, createElementBlock as _createElementBlock45 } from \"vue\";\nvar cherry_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent45({\n name: \"Cherry\",\n __name: \"cherry\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock45(), _createElementBlock45(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode45(\"path\", {\n fill: \"currentColor\",\n d: \"M261.056 449.6c13.824-69.696 34.88-128.96 63.36-177.728 23.744-40.832 61.12-88.64 112.256-143.872H320a32 32 0 0 1 0-64h384a32 32 0 1 1 0 64H554.752c14.912 39.168 41.344 86.592 79.552 141.76 47.36 68.48 84.8 106.752 106.304 114.304a224 224 0 1 1-84.992 14.784c-22.656-22.912-47.04-53.76-73.92-92.608-38.848-56.128-67.008-105.792-84.352-149.312-55.296 58.24-94.528 107.52-117.76 147.2-23.168 39.744-41.088 88.768-53.568 147.072a224.064 224.064 0 1 1-64.96-1.6zM288 832a160 160 0 1 0 0-320 160 160 0 0 0 0 320m448-64a160 160 0 1 0 0-320 160 160 0 0 0 0 320\"\n })\n ]));\n }\n});\n\n// src/components/cherry.vue\nvar cherry_default = cherry_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/chicken.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent46 } from \"vue\";\nimport { createElementVNode as _createElementVNode46, openBlock as _openBlock46, createElementBlock as _createElementBlock46 } from \"vue\";\nvar chicken_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent46({\n name: \"Chicken\",\n __name: \"chicken\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock46(), _createElementBlock46(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode46(\"path\", {\n fill: \"currentColor\",\n d: \"M349.952 716.992 478.72 588.16a106.688 106.688 0 0 1-26.176-19.072 106.688 106.688 0 0 1-19.072-26.176L304.704 671.744c.768 3.072 1.472 6.144 2.048 9.216l2.048 31.936 31.872 1.984c3.136.64 6.208 1.28 9.28 2.112zm57.344 33.152a128 128 0 1 1-216.32 114.432l-1.92-32-32-1.92a128 128 0 1 1 114.432-216.32L416.64 469.248c-2.432-101.44 58.112-239.104 149.056-330.048 107.328-107.328 231.296-85.504 316.8 0 85.44 85.44 107.328 209.408 0 316.8-91.008 90.88-228.672 151.424-330.112 149.056L407.296 750.08zm90.496-226.304c49.536 49.536 233.344-7.04 339.392-113.088 78.208-78.208 63.232-163.072 0-226.304-63.168-63.232-148.032-78.208-226.24 0C504.896 290.496 448.32 474.368 497.792 523.84M244.864 708.928a64 64 0 1 0-59.84 59.84l56.32-3.52zm8.064 127.68a64 64 0 1 0 59.84-59.84l-56.32 3.52-3.52 56.32z\"\n })\n ]));\n }\n});\n\n// src/components/chicken.vue\nvar chicken_default = chicken_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/chrome-filled.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent47 } from \"vue\";\nimport { createElementVNode as _createElementVNode47, openBlock as _openBlock47, createElementBlock as _createElementBlock47 } from \"vue\";\nvar chrome_filled_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent47({\n name: \"ChromeFilled\",\n __name: \"chrome-filled\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock47(), _createElementBlock47(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n \"xml:space\": \"preserve\",\n style: { \"enable-background\": \"new 0 0 1024 1024\" },\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode47(\"path\", {\n fill: \"currentColor\",\n d: \"M938.67 512.01c0-44.59-6.82-87.6-19.54-128H682.67a212.372 212.372 0 0 1 42.67 128c.06 38.71-10.45 76.7-30.42 109.87l-182.91 316.8c235.65-.01 426.66-191.02 426.66-426.67z\"\n }),\n _createElementVNode47(\"path\", {\n fill: \"currentColor\",\n d: \"M576.79 401.63a127.92 127.92 0 0 0-63.56-17.6c-22.36-.22-44.39 5.43-63.89 16.38s-35.79 26.82-47.25 46.02a128.005 128.005 0 0 0-2.16 127.44l1.24 2.13a127.906 127.906 0 0 0 46.36 46.61 127.907 127.907 0 0 0 63.38 17.44c22.29.2 44.24-5.43 63.68-16.33a127.94 127.94 0 0 0 47.16-45.79v-.01l1.11-1.92a127.984 127.984 0 0 0 .29-127.46 127.957 127.957 0 0 0-46.36-46.91\"\n }),\n _createElementVNode47(\"path\", {\n fill: \"currentColor\",\n d: \"M394.45 333.96A213.336 213.336 0 0 1 512 298.67h369.58A426.503 426.503 0 0 0 512 85.34a425.598 425.598 0 0 0-171.74 35.98 425.644 425.644 0 0 0-142.62 102.22l118.14 204.63a213.397 213.397 0 0 1 78.67-94.21m117.56 604.72H512zm-97.25-236.73a213.284 213.284 0 0 1-89.54-86.81L142.48 298.6c-36.35 62.81-57.13 135.68-57.13 213.42 0 203.81 142.93 374.22 333.95 416.55h.04l118.19-204.71a213.315 213.315 0 0 1-122.77-21.91z\"\n })\n ]));\n }\n});\n\n// src/components/chrome-filled.vue\nvar chrome_filled_default = chrome_filled_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/circle-check-filled.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent48 } from \"vue\";\nimport { createElementVNode as _createElementVNode48, openBlock as _openBlock48, createElementBlock as _createElementBlock48 } from \"vue\";\nvar circle_check_filled_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent48({\n name: \"CircleCheckFilled\",\n __name: \"circle-check-filled\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock48(), _createElementBlock48(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode48(\"path\", {\n fill: \"currentColor\",\n d: \"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z\"\n })\n ]));\n }\n});\n\n// src/components/circle-check-filled.vue\nvar circle_check_filled_default = circle_check_filled_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/circle-check.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent49 } from \"vue\";\nimport { createElementVNode as _createElementVNode49, openBlock as _openBlock49, createElementBlock as _createElementBlock49 } from \"vue\";\nvar circle_check_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent49({\n name: \"CircleCheck\",\n __name: \"circle-check\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock49(), _createElementBlock49(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode49(\"path\", {\n fill: \"currentColor\",\n d: \"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896\"\n }),\n _createElementVNode49(\"path\", {\n fill: \"currentColor\",\n d: \"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z\"\n })\n ]));\n }\n});\n\n// src/components/circle-check.vue\nvar circle_check_default = circle_check_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/circle-close-filled.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent50 } from \"vue\";\nimport { createElementVNode as _createElementVNode50, openBlock as _openBlock50, createElementBlock as _createElementBlock50 } from \"vue\";\nvar circle_close_filled_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent50({\n name: \"CircleCloseFilled\",\n __name: \"circle-close-filled\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock50(), _createElementBlock50(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode50(\"path\", {\n fill: \"currentColor\",\n d: \"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z\"\n })\n ]));\n }\n});\n\n// src/components/circle-close-filled.vue\nvar circle_close_filled_default = circle_close_filled_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/circle-close.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent51 } from \"vue\";\nimport { createElementVNode as _createElementVNode51, openBlock as _openBlock51, createElementBlock as _createElementBlock51 } from \"vue\";\nvar circle_close_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent51({\n name: \"CircleClose\",\n __name: \"circle-close\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock51(), _createElementBlock51(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode51(\"path\", {\n fill: \"currentColor\",\n d: \"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z\"\n }),\n _createElementVNode51(\"path\", {\n fill: \"currentColor\",\n d: \"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896\"\n })\n ]));\n }\n});\n\n// src/components/circle-close.vue\nvar circle_close_default = circle_close_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/circle-plus-filled.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent52 } from \"vue\";\nimport { createElementVNode as _createElementVNode52, openBlock as _openBlock52, createElementBlock as _createElementBlock52 } from \"vue\";\nvar circle_plus_filled_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent52({\n name: \"CirclePlusFilled\",\n __name: \"circle-plus-filled\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock52(), _createElementBlock52(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode52(\"path\", {\n fill: \"currentColor\",\n d: \"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-38.4 409.6H326.4a38.4 38.4 0 1 0 0 76.8h147.2v147.2a38.4 38.4 0 0 0 76.8 0V550.4h147.2a38.4 38.4 0 0 0 0-76.8H550.4V326.4a38.4 38.4 0 1 0-76.8 0v147.2z\"\n })\n ]));\n }\n});\n\n// src/components/circle-plus-filled.vue\nvar circle_plus_filled_default = circle_plus_filled_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/circle-plus.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent53 } from \"vue\";\nimport { createElementVNode as _createElementVNode53, openBlock as _openBlock53, createElementBlock as _createElementBlock53 } from \"vue\";\nvar circle_plus_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent53({\n name: \"CirclePlus\",\n __name: \"circle-plus\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock53(), _createElementBlock53(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode53(\"path\", {\n fill: \"currentColor\",\n d: \"M352 480h320a32 32 0 1 1 0 64H352a32 32 0 0 1 0-64\"\n }),\n _createElementVNode53(\"path\", {\n fill: \"currentColor\",\n d: \"M480 672V352a32 32 0 1 1 64 0v320a32 32 0 0 1-64 0\"\n }),\n _createElementVNode53(\"path\", {\n fill: \"currentColor\",\n d: \"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896\"\n })\n ]));\n }\n});\n\n// src/components/circle-plus.vue\nvar circle_plus_default = circle_plus_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/clock.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent54 } from \"vue\";\nimport { createElementVNode as _createElementVNode54, openBlock as _openBlock54, createElementBlock as _createElementBlock54 } from \"vue\";\nvar clock_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent54({\n name: \"Clock\",\n __name: \"clock\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock54(), _createElementBlock54(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode54(\"path\", {\n fill: \"currentColor\",\n d: \"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896\"\n }),\n _createElementVNode54(\"path\", {\n fill: \"currentColor\",\n d: \"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32\"\n }),\n _createElementVNode54(\"path\", {\n fill: \"currentColor\",\n d: \"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32\"\n })\n ]));\n }\n});\n\n// src/components/clock.vue\nvar clock_default = clock_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/close-bold.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent55 } from \"vue\";\nimport { createElementVNode as _createElementVNode55, openBlock as _openBlock55, createElementBlock as _createElementBlock55 } from \"vue\";\nvar close_bold_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent55({\n name: \"CloseBold\",\n __name: \"close-bold\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock55(), _createElementBlock55(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode55(\"path\", {\n fill: \"currentColor\",\n d: \"M195.2 195.2a64 64 0 0 1 90.496 0L512 421.504 738.304 195.2a64 64 0 0 1 90.496 90.496L602.496 512 828.8 738.304a64 64 0 0 1-90.496 90.496L512 602.496 285.696 828.8a64 64 0 0 1-90.496-90.496L421.504 512 195.2 285.696a64 64 0 0 1 0-90.496z\"\n })\n ]));\n }\n});\n\n// src/components/close-bold.vue\nvar close_bold_default = close_bold_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/close.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent56 } from \"vue\";\nimport { createElementVNode as _createElementVNode56, openBlock as _openBlock56, createElementBlock as _createElementBlock56 } from \"vue\";\nvar close_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent56({\n name: \"Close\",\n __name: \"close\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock56(), _createElementBlock56(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode56(\"path\", {\n fill: \"currentColor\",\n d: \"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z\"\n })\n ]));\n }\n});\n\n// src/components/close.vue\nvar close_default = close_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/cloudy.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent57 } from \"vue\";\nimport { createElementVNode as _createElementVNode57, openBlock as _openBlock57, createElementBlock as _createElementBlock57 } from \"vue\";\nvar cloudy_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent57({\n name: \"Cloudy\",\n __name: \"cloudy\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock57(), _createElementBlock57(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode57(\"path\", {\n fill: \"currentColor\",\n d: \"M598.4 831.872H328.192a256 256 0 0 1-34.496-510.528A352 352 0 1 1 598.4 831.872m-271.36-64h272.256a288 288 0 1 0-248.512-417.664L335.04 381.44l-34.816 3.584a192 192 0 0 0 26.88 382.848z\"\n })\n ]));\n }\n});\n\n// src/components/cloudy.vue\nvar cloudy_default = cloudy_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/coffee-cup.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent58 } from \"vue\";\nimport { createElementVNode as _createElementVNode58, openBlock as _openBlock58, createElementBlock as _createElementBlock58 } from \"vue\";\nvar coffee_cup_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent58({\n name: \"CoffeeCup\",\n __name: \"coffee-cup\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock58(), _createElementBlock58(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode58(\"path\", {\n fill: \"currentColor\",\n d: \"M768 192a192 192 0 1 1-8 383.808A256.128 256.128 0 0 1 512 768H320A256 256 0 0 1 64 512V160a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 64v256a128 128 0 1 0 0-256M96 832h640a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64m32-640v320a192 192 0 0 0 192 192h192a192 192 0 0 0 192-192V192z\"\n })\n ]));\n }\n});\n\n// src/components/coffee-cup.vue\nvar coffee_cup_default = coffee_cup_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/coffee.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent59 } from \"vue\";\nimport { createElementVNode as _createElementVNode59, openBlock as _openBlock59, createElementBlock as _createElementBlock59 } from \"vue\";\nvar coffee_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent59({\n name: \"Coffee\",\n __name: \"coffee\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock59(), _createElementBlock59(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode59(\"path\", {\n fill: \"currentColor\",\n d: \"M822.592 192h14.272a32 32 0 0 1 31.616 26.752l21.312 128A32 32 0 0 1 858.24 384h-49.344l-39.04 546.304A32 32 0 0 1 737.92 960H285.824a32 32 0 0 1-32-29.696L214.912 384H165.76a32 32 0 0 1-31.552-37.248l21.312-128A32 32 0 0 1 187.136 192h14.016l-6.72-93.696A32 32 0 0 1 226.368 64h571.008a32 32 0 0 1 31.936 34.304zm-64.128 0 4.544-64H260.736l4.544 64h493.184m-548.16 128H820.48l-10.688-64H214.208l-10.688 64h6.784m68.736 64 36.544 512H708.16l36.544-512z\"\n })\n ]));\n }\n});\n\n// src/components/coffee.vue\nvar coffee_default = coffee_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/coin.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent60 } from \"vue\";\nimport { createElementVNode as _createElementVNode60, openBlock as _openBlock60, createElementBlock as _createElementBlock60 } from \"vue\";\nvar coin_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent60({\n name: \"Coin\",\n __name: \"coin\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock60(), _createElementBlock60(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode60(\"path\", {\n fill: \"currentColor\",\n d: \"m161.92 580.736 29.888 58.88C171.328 659.776 160 681.728 160 704c0 82.304 155.328 160 352 160s352-77.696 352-160c0-22.272-11.392-44.16-31.808-64.32l30.464-58.432C903.936 615.808 928 657.664 928 704c0 129.728-188.544 224-416 224S96 833.728 96 704c0-46.592 24.32-88.576 65.92-123.264z\"\n }),\n _createElementVNode60(\"path\", {\n fill: \"currentColor\",\n d: \"m161.92 388.736 29.888 58.88C171.328 467.84 160 489.792 160 512c0 82.304 155.328 160 352 160s352-77.696 352-160c0-22.272-11.392-44.16-31.808-64.32l30.464-58.432C903.936 423.808 928 465.664 928 512c0 129.728-188.544 224-416 224S96 641.728 96 512c0-46.592 24.32-88.576 65.92-123.264z\"\n }),\n _createElementVNode60(\"path\", {\n fill: \"currentColor\",\n d: \"M512 544c-227.456 0-416-94.272-416-224S284.544 96 512 96s416 94.272 416 224-188.544 224-416 224m0-64c196.672 0 352-77.696 352-160S708.672 160 512 160s-352 77.696-352 160 155.328 160 352 160\"\n })\n ]));\n }\n});\n\n// src/components/coin.vue\nvar coin_default = coin_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/cold-drink.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent61 } from \"vue\";\nimport { createElementVNode as _createElementVNode61, openBlock as _openBlock61, createElementBlock as _createElementBlock61 } from \"vue\";\nvar cold_drink_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent61({\n name: \"ColdDrink\",\n __name: \"cold-drink\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock61(), _createElementBlock61(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode61(\"path\", {\n fill: \"currentColor\",\n d: \"M768 64a192 192 0 1 1-69.952 370.88L480 725.376V896h96a32 32 0 1 1 0 64H320a32 32 0 1 1 0-64h96V725.376L76.8 273.536a64 64 0 0 1-12.8-38.4v-10.688a32 32 0 0 1 32-32h71.808l-65.536-83.84a32 32 0 0 1 50.432-39.424l96.256 123.264h337.728A192.064 192.064 0 0 1 768 64M656.896 192.448H800a32 32 0 0 1 32 32v10.624a64 64 0 0 1-12.8 38.4l-80.448 107.2a128 128 0 1 0-81.92-188.16v-.064zm-357.888 64 129.472 165.76a32 32 0 0 1-50.432 39.36l-160.256-205.12H144l304 404.928 304-404.928z\"\n })\n ]));\n }\n});\n\n// src/components/cold-drink.vue\nvar cold_drink_default = cold_drink_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/collection-tag.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent62 } from \"vue\";\nimport { createElementVNode as _createElementVNode62, openBlock as _openBlock62, createElementBlock as _createElementBlock62 } from \"vue\";\nvar collection_tag_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent62({\n name: \"CollectionTag\",\n __name: \"collection-tag\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock62(), _createElementBlock62(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode62(\"path\", {\n fill: \"currentColor\",\n d: \"M256 128v698.88l196.032-156.864a96 96 0 0 1 119.936 0L768 826.816V128zm-32-64h576a32 32 0 0 1 32 32v797.44a32 32 0 0 1-51.968 24.96L531.968 720a32 32 0 0 0-39.936 0L243.968 918.4A32 32 0 0 1 192 893.44V96a32 32 0 0 1 32-32\"\n })\n ]));\n }\n});\n\n// src/components/collection-tag.vue\nvar collection_tag_default = collection_tag_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/collection.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent63 } from \"vue\";\nimport { createElementVNode as _createElementVNode63, openBlock as _openBlock63, createElementBlock as _createElementBlock63 } from \"vue\";\nvar collection_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent63({\n name: \"Collection\",\n __name: \"collection\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock63(), _createElementBlock63(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode63(\"path\", {\n fill: \"currentColor\",\n d: \"M192 736h640V128H256a64 64 0 0 0-64 64zm64-672h608a32 32 0 0 1 32 32v672a32 32 0 0 1-32 32H160l-32 57.536V192A128 128 0 0 1 256 64\"\n }),\n _createElementVNode63(\"path\", {\n fill: \"currentColor\",\n d: \"M240 800a48 48 0 1 0 0 96h592v-96zm0-64h656v160a64 64 0 0 1-64 64H240a112 112 0 0 1 0-224m144-608v250.88l96-76.8 96 76.8V128zm-64-64h320v381.44a32 32 0 0 1-51.968 24.96L480 384l-108.032 86.4A32 32 0 0 1 320 445.44z\"\n })\n ]));\n }\n});\n\n// src/components/collection.vue\nvar collection_default = collection_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/comment.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent64 } from \"vue\";\nimport { createElementVNode as _createElementVNode64, openBlock as _openBlock64, createElementBlock as _createElementBlock64 } from \"vue\";\nvar comment_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent64({\n name: \"Comment\",\n __name: \"comment\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock64(), _createElementBlock64(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode64(\"path\", {\n fill: \"currentColor\",\n d: \"M736 504a56 56 0 1 1 0-112 56 56 0 0 1 0 112m-224 0a56 56 0 1 1 0-112 56 56 0 0 1 0 112m-224 0a56 56 0 1 1 0-112 56 56 0 0 1 0 112M128 128v640h192v160l224-160h352V128z\"\n })\n ]));\n }\n});\n\n// src/components/comment.vue\nvar comment_default = comment_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/compass.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent65 } from \"vue\";\nimport { createElementVNode as _createElementVNode65, openBlock as _openBlock65, createElementBlock as _createElementBlock65 } from \"vue\";\nvar compass_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent65({\n name: \"Compass\",\n __name: \"compass\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock65(), _createElementBlock65(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode65(\"path\", {\n fill: \"currentColor\",\n d: \"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896\"\n }),\n _createElementVNode65(\"path\", {\n fill: \"currentColor\",\n d: \"M725.888 315.008C676.48 428.672 624 513.28 568.576 568.64c-55.424 55.424-139.968 107.904-253.568 157.312a12.8 12.8 0 0 1-16.896-16.832c49.536-113.728 102.016-198.272 157.312-253.632 55.36-55.296 139.904-107.776 253.632-157.312a12.8 12.8 0 0 1 16.832 16.832\"\n })\n ]));\n }\n});\n\n// src/components/compass.vue\nvar compass_default = compass_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/connection.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent66 } from \"vue\";\nimport { createElementVNode as _createElementVNode66, openBlock as _openBlock66, createElementBlock as _createElementBlock66 } from \"vue\";\nvar connection_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent66({\n name: \"Connection\",\n __name: \"connection\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock66(), _createElementBlock66(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode66(\"path\", {\n fill: \"currentColor\",\n d: \"M640 384v64H448a128 128 0 0 0-128 128v128a128 128 0 0 0 128 128h320a128 128 0 0 0 128-128V576a128 128 0 0 0-64-110.848V394.88c74.56 26.368 128 97.472 128 181.056v128a192 192 0 0 1-192 192H448a192 192 0 0 1-192-192V576a192 192 0 0 1 192-192z\"\n }),\n _createElementVNode66(\"path\", {\n fill: \"currentColor\",\n d: \"M384 640v-64h192a128 128 0 0 0 128-128V320a128 128 0 0 0-128-128H256a128 128 0 0 0-128 128v128a128 128 0 0 0 64 110.848v70.272A192.064 192.064 0 0 1 64 448V320a192 192 0 0 1 192-192h320a192 192 0 0 1 192 192v128a192 192 0 0 1-192 192z\"\n })\n ]));\n }\n});\n\n// src/components/connection.vue\nvar connection_default = connection_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/coordinate.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent67 } from \"vue\";\nimport { createElementVNode as _createElementVNode67, openBlock as _openBlock67, createElementBlock as _createElementBlock67 } from \"vue\";\nvar coordinate_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent67({\n name: \"Coordinate\",\n __name: \"coordinate\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock67(), _createElementBlock67(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode67(\"path\", {\n fill: \"currentColor\",\n d: \"M480 512h64v320h-64z\"\n }),\n _createElementVNode67(\"path\", {\n fill: \"currentColor\",\n d: \"M192 896h640a64 64 0 0 0-64-64H256a64 64 0 0 0-64 64m64-128h512a128 128 0 0 1 128 128v64H128v-64a128 128 0 0 1 128-128m256-256a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512\"\n })\n ]));\n }\n});\n\n// src/components/coordinate.vue\nvar coordinate_default = coordinate_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/copy-document.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent68 } from \"vue\";\nimport { createElementVNode as _createElementVNode68, openBlock as _openBlock68, createElementBlock as _createElementBlock68 } from \"vue\";\nvar copy_document_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent68({\n name: \"CopyDocument\",\n __name: \"copy-document\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock68(), _createElementBlock68(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode68(\"path\", {\n fill: \"currentColor\",\n d: \"M768 832a128 128 0 0 1-128 128H192A128 128 0 0 1 64 832V384a128 128 0 0 1 128-128v64a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64z\"\n }),\n _createElementVNode68(\"path\", {\n fill: \"currentColor\",\n d: \"M384 128a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64V192a64 64 0 0 0-64-64zm0-64h448a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H384a128 128 0 0 1-128-128V192A128 128 0 0 1 384 64\"\n })\n ]));\n }\n});\n\n// src/components/copy-document.vue\nvar copy_document_default = copy_document_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/cpu.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent69 } from \"vue\";\nimport { createElementVNode as _createElementVNode69, openBlock as _openBlock69, createElementBlock as _createElementBlock69 } from \"vue\";\nvar cpu_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent69({\n name: \"Cpu\",\n __name: \"cpu\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock69(), _createElementBlock69(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode69(\"path\", {\n fill: \"currentColor\",\n d: \"M320 256a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h384a64 64 0 0 0 64-64V320a64 64 0 0 0-64-64zm0-64h384a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128H320a128 128 0 0 1-128-128V320a128 128 0 0 1 128-128\"\n }),\n _createElementVNode69(\"path\", {\n fill: \"currentColor\",\n d: \"M512 64a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m160 0a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m-320 0a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m160 896a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32m160 0a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32m-320 0a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32M64 512a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m0-160a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m0 320a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m896-160a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32m0-160a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32m0 320a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32\"\n })\n ]));\n }\n});\n\n// src/components/cpu.vue\nvar cpu_default = cpu_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/credit-card.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent70 } from \"vue\";\nimport { createElementVNode as _createElementVNode70, openBlock as _openBlock70, createElementBlock as _createElementBlock70 } from \"vue\";\nvar credit_card_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent70({\n name: \"CreditCard\",\n __name: \"credit-card\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock70(), _createElementBlock70(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode70(\"path\", {\n fill: \"currentColor\",\n d: \"M896 324.096c0-42.368-2.496-55.296-9.536-68.48a52.352 52.352 0 0 0-22.144-22.08c-13.12-7.04-26.048-9.536-68.416-9.536H228.096c-42.368 0-55.296 2.496-68.48 9.536a52.352 52.352 0 0 0-22.08 22.144c-7.04 13.12-9.536 26.048-9.536 68.416v375.808c0 42.368 2.496 55.296 9.536 68.48a52.352 52.352 0 0 0 22.144 22.08c13.12 7.04 26.048 9.536 68.416 9.536h567.808c42.368 0 55.296-2.496 68.48-9.536a52.352 52.352 0 0 0 22.08-22.144c7.04-13.12 9.536-26.048 9.536-68.416zm64 0v375.808c0 57.088-5.952 77.76-17.088 98.56-11.136 20.928-27.52 37.312-48.384 48.448-20.864 11.136-41.6 17.088-98.56 17.088H228.032c-57.088 0-77.76-5.952-98.56-17.088a116.288 116.288 0 0 1-48.448-48.384c-11.136-20.864-17.088-41.6-17.088-98.56V324.032c0-57.088 5.952-77.76 17.088-98.56 11.136-20.928 27.52-37.312 48.384-48.448 20.864-11.136 41.6-17.088 98.56-17.088H795.84c57.088 0 77.76 5.952 98.56 17.088 20.928 11.136 37.312 27.52 48.448 48.384 11.136 20.864 17.088 41.6 17.088 98.56z\"\n }),\n _createElementVNode70(\"path\", {\n fill: \"currentColor\",\n d: \"M64 320h896v64H64zm0 128h896v64H64zm128 192h256v64H192z\"\n })\n ]));\n }\n});\n\n// src/components/credit-card.vue\nvar credit_card_default = credit_card_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/crop.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent71 } from \"vue\";\nimport { createElementVNode as _createElementVNode71, openBlock as _openBlock71, createElementBlock as _createElementBlock71 } from \"vue\";\nvar crop_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent71({\n name: \"Crop\",\n __name: \"crop\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock71(), _createElementBlock71(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode71(\"path\", {\n fill: \"currentColor\",\n d: \"M256 768h672a32 32 0 1 1 0 64H224a32 32 0 0 1-32-32V96a32 32 0 0 1 64 0z\"\n }),\n _createElementVNode71(\"path\", {\n fill: \"currentColor\",\n d: \"M832 224v704a32 32 0 1 1-64 0V256H96a32 32 0 0 1 0-64h704a32 32 0 0 1 32 32\"\n })\n ]));\n }\n});\n\n// src/components/crop.vue\nvar crop_default = crop_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/d-arrow-left.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent72 } from \"vue\";\nimport { createElementVNode as _createElementVNode72, openBlock as _openBlock72, createElementBlock as _createElementBlock72 } from \"vue\";\nvar d_arrow_left_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent72({\n name: \"DArrowLeft\",\n __name: \"d-arrow-left\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock72(), _createElementBlock72(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode72(\"path\", {\n fill: \"currentColor\",\n d: \"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224zm256 0a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224z\"\n })\n ]));\n }\n});\n\n// src/components/d-arrow-left.vue\nvar d_arrow_left_default = d_arrow_left_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/d-arrow-right.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent73 } from \"vue\";\nimport { createElementVNode as _createElementVNode73, openBlock as _openBlock73, createElementBlock as _createElementBlock73 } from \"vue\";\nvar d_arrow_right_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent73({\n name: \"DArrowRight\",\n __name: \"d-arrow-right\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock73(), _createElementBlock73(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode73(\"path\", {\n fill: \"currentColor\",\n d: \"M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L764.736 512 452.864 192a30.592 30.592 0 0 1 0-42.688m-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L508.736 512 196.864 192a30.592 30.592 0 0 1 0-42.688z\"\n })\n ]));\n }\n});\n\n// src/components/d-arrow-right.vue\nvar d_arrow_right_default = d_arrow_right_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/d-caret.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent74 } from \"vue\";\nimport { createElementVNode as _createElementVNode74, openBlock as _openBlock74, createElementBlock as _createElementBlock74 } from \"vue\";\nvar d_caret_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent74({\n name: \"DCaret\",\n __name: \"d-caret\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock74(), _createElementBlock74(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode74(\"path\", {\n fill: \"currentColor\",\n d: \"m512 128 288 320H224zM224 576h576L512 896z\"\n })\n ]));\n }\n});\n\n// src/components/d-caret.vue\nvar d_caret_default = d_caret_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/data-analysis.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent75 } from \"vue\";\nimport { createElementVNode as _createElementVNode75, openBlock as _openBlock75, createElementBlock as _createElementBlock75 } from \"vue\";\nvar data_analysis_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent75({\n name: \"DataAnalysis\",\n __name: \"data-analysis\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock75(), _createElementBlock75(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode75(\"path\", {\n fill: \"currentColor\",\n d: \"m665.216 768 110.848 192h-73.856L591.36 768H433.024L322.176 960H248.32l110.848-192H160a32 32 0 0 1-32-32V192H64a32 32 0 0 1 0-64h896a32 32 0 1 1 0 64h-64v544a32 32 0 0 1-32 32zM832 192H192v512h640zM352 448a32 32 0 0 1 32 32v64a32 32 0 0 1-64 0v-64a32 32 0 0 1 32-32m160-64a32 32 0 0 1 32 32v128a32 32 0 0 1-64 0V416a32 32 0 0 1 32-32m160-64a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V352a32 32 0 0 1 32-32\"\n })\n ]));\n }\n});\n\n// src/components/data-analysis.vue\nvar data_analysis_default = data_analysis_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/data-board.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent76 } from \"vue\";\nimport { createElementVNode as _createElementVNode76, openBlock as _openBlock76, createElementBlock as _createElementBlock76 } from \"vue\";\nvar data_board_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent76({\n name: \"DataBoard\",\n __name: \"data-board\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock76(), _createElementBlock76(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode76(\"path\", {\n fill: \"currentColor\",\n d: \"M32 128h960v64H32z\"\n }),\n _createElementVNode76(\"path\", {\n fill: \"currentColor\",\n d: \"M192 192v512h640V192zm-64-64h768v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32z\"\n }),\n _createElementVNode76(\"path\", {\n fill: \"currentColor\",\n d: \"M322.176 960H248.32l144.64-250.56 55.424 32zm453.888 0h-73.856L576 741.44l55.424-32z\"\n })\n ]));\n }\n});\n\n// src/components/data-board.vue\nvar data_board_default = data_board_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/data-line.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent77 } from \"vue\";\nimport { createElementVNode as _createElementVNode77, openBlock as _openBlock77, createElementBlock as _createElementBlock77 } from \"vue\";\nvar data_line_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent77({\n name: \"DataLine\",\n __name: \"data-line\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock77(), _createElementBlock77(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode77(\"path\", {\n fill: \"currentColor\",\n d: \"M359.168 768H160a32 32 0 0 1-32-32V192H64a32 32 0 0 1 0-64h896a32 32 0 1 1 0 64h-64v544a32 32 0 0 1-32 32H665.216l110.848 192h-73.856L591.36 768H433.024L322.176 960H248.32zM832 192H192v512h640zM342.656 534.656a32 32 0 1 1-45.312-45.312L444.992 341.76l125.44 94.08L679.04 300.032a32 32 0 1 1 49.92 39.936L581.632 524.224 451.008 426.24 342.656 534.592z\"\n })\n ]));\n }\n});\n\n// src/components/data-line.vue\nvar data_line_default = data_line_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/delete-filled.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent78 } from \"vue\";\nimport { createElementVNode as _createElementVNode78, openBlock as _openBlock78, createElementBlock as _createElementBlock78 } from \"vue\";\nvar delete_filled_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent78({\n name: \"DeleteFilled\",\n __name: \"delete-filled\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock78(), _createElementBlock78(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode78(\"path\", {\n fill: \"currentColor\",\n d: \"M352 192V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64H96a32 32 0 0 1 0-64zm64 0h192v-64H416zM192 960a32 32 0 0 1-32-32V256h704v672a32 32 0 0 1-32 32zm224-192a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32m192 0a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32\"\n })\n ]));\n }\n});\n\n// src/components/delete-filled.vue\nvar delete_filled_default = delete_filled_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/delete-location.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent79 } from \"vue\";\nimport { createElementVNode as _createElementVNode79, openBlock as _openBlock79, createElementBlock as _createElementBlock79 } from \"vue\";\nvar delete_location_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent79({\n name: \"DeleteLocation\",\n __name: \"delete-location\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock79(), _createElementBlock79(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode79(\"path\", {\n fill: \"currentColor\",\n d: \"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32\"\n }),\n _createElementVNode79(\"path\", {\n fill: \"currentColor\",\n d: \"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544\"\n }),\n _createElementVNode79(\"path\", {\n fill: \"currentColor\",\n d: \"M384 384h256q32 0 32 32t-32 32H384q-32 0-32-32t32-32\"\n })\n ]));\n }\n});\n\n// src/components/delete-location.vue\nvar delete_location_default = delete_location_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/delete.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent80 } from \"vue\";\nimport { createElementVNode as _createElementVNode80, openBlock as _openBlock80, createElementBlock as _createElementBlock80 } from \"vue\";\nvar delete_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent80({\n name: \"Delete\",\n __name: \"delete\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock80(), _createElementBlock80(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode80(\"path\", {\n fill: \"currentColor\",\n d: \"M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32\"\n })\n ]));\n }\n});\n\n// src/components/delete.vue\nvar delete_default = delete_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/dessert.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent81 } from \"vue\";\nimport { createElementVNode as _createElementVNode81, openBlock as _openBlock81, createElementBlock as _createElementBlock81 } from \"vue\";\nvar dessert_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent81({\n name: \"Dessert\",\n __name: \"dessert\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock81(), _createElementBlock81(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode81(\"path\", {\n fill: \"currentColor\",\n d: \"M128 416v-48a144 144 0 0 1 168.64-141.888 224.128 224.128 0 0 1 430.72 0A144 144 0 0 1 896 368v48a384 384 0 0 1-352 382.72V896h-64v-97.28A384 384 0 0 1 128 416m287.104-32.064h193.792a143.808 143.808 0 0 1 58.88-132.736 160.064 160.064 0 0 0-311.552 0 143.808 143.808 0 0 1 58.88 132.8zm-72.896 0a72 72 0 1 0-140.48 0h140.48m339.584 0h140.416a72 72 0 1 0-140.48 0zM512 736a320 320 0 0 0 318.4-288.064H193.6A320 320 0 0 0 512 736M384 896.064h256a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64\"\n })\n ]));\n }\n});\n\n// src/components/dessert.vue\nvar dessert_default = dessert_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/discount.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent82 } from \"vue\";\nimport { createElementVNode as _createElementVNode82, openBlock as _openBlock82, createElementBlock as _createElementBlock82 } from \"vue\";\nvar discount_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent82({\n name: \"Discount\",\n __name: \"discount\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock82(), _createElementBlock82(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode82(\"path\", {\n fill: \"currentColor\",\n d: \"M224 704h576V318.336L552.512 115.84a64 64 0 0 0-81.024 0L224 318.336zm0 64v128h576V768zM593.024 66.304l259.2 212.096A32 32 0 0 1 864 303.168V928a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V303.168a32 32 0 0 1 11.712-24.768l259.2-212.096a128 128 0 0 1 162.112 0\"\n }),\n _createElementVNode82(\"path\", {\n fill: \"currentColor\",\n d: \"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256\"\n })\n ]));\n }\n});\n\n// src/components/discount.vue\nvar discount_default = discount_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/dish-dot.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent83 } from \"vue\";\nimport { createElementVNode as _createElementVNode83, openBlock as _openBlock83, createElementBlock as _createElementBlock83 } from \"vue\";\nvar dish_dot_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent83({\n name: \"DishDot\",\n __name: \"dish-dot\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock83(), _createElementBlock83(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode83(\"path\", {\n fill: \"currentColor\",\n d: \"m384.064 274.56.064-50.688A128 128 0 0 1 512.128 96c70.528 0 127.68 57.152 127.68 127.68v50.752A448.192 448.192 0 0 1 955.392 768H68.544A448.192 448.192 0 0 1 384 274.56zM96 832h832a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64m32-128h768a384 384 0 1 0-768 0m447.808-448v-32.32a63.68 63.68 0 0 0-63.68-63.68 64 64 0 0 0-64 63.936V256z\"\n })\n ]));\n }\n});\n\n// src/components/dish-dot.vue\nvar dish_dot_default = dish_dot_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/dish.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent84 } from \"vue\";\nimport { createElementVNode as _createElementVNode84, openBlock as _openBlock84, createElementBlock as _createElementBlock84 } from \"vue\";\nvar dish_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent84({\n name: \"Dish\",\n __name: \"dish\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock84(), _createElementBlock84(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode84(\"path\", {\n fill: \"currentColor\",\n d: \"M480 257.152V192h-96a32 32 0 0 1 0-64h256a32 32 0 1 1 0 64h-96v65.152A448 448 0 0 1 955.52 768H68.48A448 448 0 0 1 480 257.152M128 704h768a384 384 0 1 0-768 0M96 832h832a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64\"\n })\n ]));\n }\n});\n\n// src/components/dish.vue\nvar dish_default = dish_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/document-add.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent85 } from \"vue\";\nimport { createElementVNode as _createElementVNode85, openBlock as _openBlock85, createElementBlock as _createElementBlock85 } from \"vue\";\nvar document_add_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent85({\n name: \"DocumentAdd\",\n __name: \"document-add\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock85(), _createElementBlock85(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode85(\"path\", {\n fill: \"currentColor\",\n d: \"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m320 512V448h64v128h128v64H544v128h-64V640H352v-64z\"\n })\n ]));\n }\n});\n\n// src/components/document-add.vue\nvar document_add_default = document_add_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/document-checked.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent86 } from \"vue\";\nimport { createElementVNode as _createElementVNode86, openBlock as _openBlock86, createElementBlock as _createElementBlock86 } from \"vue\";\nvar document_checked_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent86({\n name: \"DocumentChecked\",\n __name: \"document-checked\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock86(), _createElementBlock86(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode86(\"path\", {\n fill: \"currentColor\",\n d: \"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m318.4 582.144 180.992-180.992L704.64 510.4 478.4 736.64 320 578.304l45.248-45.312z\"\n })\n ]));\n }\n});\n\n// src/components/document-checked.vue\nvar document_checked_default = document_checked_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/document-copy.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent87 } from \"vue\";\nimport { createElementVNode as _createElementVNode87, openBlock as _openBlock87, createElementBlock as _createElementBlock87 } from \"vue\";\nvar document_copy_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent87({\n name: \"DocumentCopy\",\n __name: \"document-copy\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock87(), _createElementBlock87(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode87(\"path\", {\n fill: \"currentColor\",\n d: \"M128 320v576h576V320zm-32-64h640a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32M960 96v704a32 32 0 0 1-32 32h-96v-64h64V128H384v64h-64V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32M256 672h320v64H256zm0-192h320v64H256z\"\n })\n ]));\n }\n});\n\n// src/components/document-copy.vue\nvar document_copy_default = document_copy_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/document-delete.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent88 } from \"vue\";\nimport { createElementVNode as _createElementVNode88, openBlock as _openBlock88, createElementBlock as _createElementBlock88 } from \"vue\";\nvar document_delete_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent88({\n name: \"DocumentDelete\",\n __name: \"document-delete\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock88(), _createElementBlock88(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode88(\"path\", {\n fill: \"currentColor\",\n d: \"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m308.992 546.304-90.496-90.624 45.248-45.248 90.56 90.496 90.496-90.432 45.248 45.248-90.496 90.56 90.496 90.496-45.248 45.248-90.496-90.496-90.56 90.496-45.248-45.248 90.496-90.496z\"\n })\n ]));\n }\n});\n\n// src/components/document-delete.vue\nvar document_delete_default = document_delete_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/document-remove.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent89 } from \"vue\";\nimport { createElementVNode as _createElementVNode89, openBlock as _openBlock89, createElementBlock as _createElementBlock89 } from \"vue\";\nvar document_remove_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent89({\n name: \"DocumentRemove\",\n __name: \"document-remove\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock89(), _createElementBlock89(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode89(\"path\", {\n fill: \"currentColor\",\n d: \"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m192 512h320v64H352z\"\n })\n ]));\n }\n});\n\n// src/components/document-remove.vue\nvar document_remove_default = document_remove_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/document.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent90 } from \"vue\";\nimport { createElementVNode as _createElementVNode90, openBlock as _openBlock90, createElementBlock as _createElementBlock90 } from \"vue\";\nvar document_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent90({\n name: \"Document\",\n __name: \"document\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock90(), _createElementBlock90(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode90(\"path\", {\n fill: \"currentColor\",\n d: \"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z\"\n })\n ]));\n }\n});\n\n// src/components/document.vue\nvar document_default = document_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/download.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent91 } from \"vue\";\nimport { createElementVNode as _createElementVNode91, openBlock as _openBlock91, createElementBlock as _createElementBlock91 } from \"vue\";\nvar download_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent91({\n name: \"Download\",\n __name: \"download\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock91(), _createElementBlock91(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode91(\"path\", {\n fill: \"currentColor\",\n d: \"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-253.696 236.288-236.352 45.248 45.248L508.8 704 192 387.2l45.248-45.248L480 584.704V128h64z\"\n })\n ]));\n }\n});\n\n// src/components/download.vue\nvar download_default = download_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/drizzling.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent92 } from \"vue\";\nimport { createElementVNode as _createElementVNode92, openBlock as _openBlock92, createElementBlock as _createElementBlock92 } from \"vue\";\nvar drizzling_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent92({\n name: \"Drizzling\",\n __name: \"drizzling\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock92(), _createElementBlock92(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode92(\"path\", {\n fill: \"currentColor\",\n d: \"m739.328 291.328-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 97.28 78.72 175.936 175.808 175.936h400a192 192 0 0 0 35.776-380.672zM959.552 480a256 256 0 0 1-256 256h-400A239.808 239.808 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 959.552 480M288 800h64v64h-64zm192 0h64v64h-64zm-96 96h64v64h-64zm192 0h64v64h-64zm96-96h64v64h-64z\"\n })\n ]));\n }\n});\n\n// src/components/drizzling.vue\nvar drizzling_default = drizzling_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/edit-pen.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent93 } from \"vue\";\nimport { createElementVNode as _createElementVNode93, openBlock as _openBlock93, createElementBlock as _createElementBlock93 } from \"vue\";\nvar edit_pen_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent93({\n name: \"EditPen\",\n __name: \"edit-pen\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock93(), _createElementBlock93(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode93(\"path\", {\n fill: \"currentColor\",\n d: \"m199.04 672.64 193.984 112 224-387.968-193.92-112-224 388.032zm-23.872 60.16 32.896 148.288 144.896-45.696zM455.04 229.248l193.92 112 56.704-98.112-193.984-112-56.64 98.112zM104.32 708.8l384-665.024 304.768 175.936L409.152 884.8h.064l-248.448 78.336zm384 254.272v-64h448v64h-448z\"\n })\n ]));\n }\n});\n\n// src/components/edit-pen.vue\nvar edit_pen_default = edit_pen_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/edit.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent94 } from \"vue\";\nimport { createElementVNode as _createElementVNode94, openBlock as _openBlock94, createElementBlock as _createElementBlock94 } from \"vue\";\nvar edit_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent94({\n name: \"Edit\",\n __name: \"edit\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock94(), _createElementBlock94(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode94(\"path\", {\n fill: \"currentColor\",\n d: \"M832 512a32 32 0 1 1 64 0v352a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h352a32 32 0 0 1 0 64H192v640h640z\"\n }),\n _createElementVNode94(\"path\", {\n fill: \"currentColor\",\n d: \"m469.952 554.24 52.8-7.552L847.104 222.4a32 32 0 1 0-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 0 1 0 135.808l-331.84 331.84a32 32 0 0 1-18.112 9.088L436.8 623.68a32 32 0 0 1-36.224-36.224l15.104-105.6a32 32 0 0 1 9.024-18.112l331.904-331.84a96 96 0 0 1 135.744 0z\"\n })\n ]));\n }\n});\n\n// src/components/edit.vue\nvar edit_default = edit_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/eleme-filled.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent95 } from \"vue\";\nimport { createElementVNode as _createElementVNode95, openBlock as _openBlock95, createElementBlock as _createElementBlock95 } from \"vue\";\nvar eleme_filled_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent95({\n name: \"ElemeFilled\",\n __name: \"eleme-filled\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock95(), _createElementBlock95(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode95(\"path\", {\n fill: \"currentColor\",\n d: \"M176 64h672c61.824 0 112 50.176 112 112v672a112 112 0 0 1-112 112H176A112 112 0 0 1 64 848V176c0-61.824 50.176-112 112-112m150.528 173.568c-152.896 99.968-196.544 304.064-97.408 456.96a330.688 330.688 0 0 0 456.96 96.64c9.216-5.888 17.6-11.776 25.152-18.56a18.24 18.24 0 0 0 4.224-24.32L700.352 724.8a47.552 47.552 0 0 0-65.536-14.272A234.56 234.56 0 0 1 310.592 641.6C240 533.248 271.104 387.968 379.456 316.48a234.304 234.304 0 0 1 276.352 15.168c1.664.832 2.56 2.56 3.392 4.224 5.888 8.384 3.328 19.328-5.12 25.216L456.832 489.6a47.552 47.552 0 0 0-14.336 65.472l16 24.384c5.888 8.384 16.768 10.88 25.216 5.056l308.224-199.936a19.584 19.584 0 0 0 6.72-23.488v-.896c-4.992-9.216-10.048-17.6-15.104-26.88-99.968-151.168-304.064-194.88-456.96-95.744zM786.88 504.704l-62.208 40.32c-8.32 5.888-10.88 16.768-4.992 25.216L760 632.32c5.888 8.448 16.768 11.008 25.152 5.12l31.104-20.16a55.36 55.36 0 0 0 16-76.48l-20.224-31.04a19.52 19.52 0 0 0-25.152-5.12z\"\n })\n ]));\n }\n});\n\n// src/components/eleme-filled.vue\nvar eleme_filled_default = eleme_filled_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/eleme.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent96 } from \"vue\";\nimport { createElementVNode as _createElementVNode96, openBlock as _openBlock96, createElementBlock as _createElementBlock96 } from \"vue\";\nvar eleme_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent96({\n name: \"Eleme\",\n __name: \"eleme\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock96(), _createElementBlock96(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode96(\"path\", {\n fill: \"currentColor\",\n d: \"M300.032 188.8c174.72-113.28 408-63.36 522.24 109.44 5.76 10.56 11.52 20.16 17.28 30.72v.96a22.4 22.4 0 0 1-7.68 26.88l-352.32 228.48c-9.6 6.72-22.08 3.84-28.8-5.76l-18.24-27.84a54.336 54.336 0 0 1 16.32-74.88l225.6-146.88c9.6-6.72 12.48-19.2 5.76-28.8-.96-1.92-1.92-3.84-3.84-4.8a267.84 267.84 0 0 0-315.84-17.28c-123.84 81.6-159.36 247.68-78.72 371.52a268.096 268.096 0 0 0 370.56 78.72 54.336 54.336 0 0 1 74.88 16.32l17.28 26.88c5.76 9.6 3.84 21.12-4.8 27.84-8.64 7.68-18.24 14.4-28.8 21.12a377.92 377.92 0 0 1-522.24-110.4c-113.28-174.72-63.36-408 111.36-522.24zm526.08 305.28a22.336 22.336 0 0 1 28.8 5.76l23.04 35.52a63.232 63.232 0 0 1-18.24 87.36l-35.52 23.04c-9.6 6.72-22.08 3.84-28.8-5.76l-46.08-71.04c-6.72-9.6-3.84-22.08 5.76-28.8l71.04-46.08z\"\n })\n ]));\n }\n});\n\n// src/components/eleme.vue\nvar eleme_default = eleme_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/element-plus.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent97 } from \"vue\";\nimport { createElementVNode as _createElementVNode97, openBlock as _openBlock97, createElementBlock as _createElementBlock97 } from \"vue\";\nvar element_plus_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent97({\n name: \"ElementPlus\",\n __name: \"element-plus\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock97(), _createElementBlock97(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode97(\"path\", {\n fill: \"currentColor\",\n d: \"M839.7 734.7c0 33.3-17.9 41-17.9 41S519.7 949.8 499.2 960c-10.2 5.1-20.5 5.1-30.7 0 0 0-314.9-184.3-325.1-192-5.1-5.1-10.2-12.8-12.8-20.5V368.6c0-17.9 20.5-28.2 20.5-28.2L466 158.6c12.8-5.1 25.6-5.1 38.4 0 0 0 279 161.3 309.8 179.2 17.9 7.7 28.2 25.6 25.6 46.1-.1-5-.1 317.5-.1 350.8M714.2 371.2c-64-35.8-217.6-125.4-217.6-125.4-7.7-5.1-20.5-5.1-30.7 0L217.6 389.1s-17.9 10.2-17.9 23v297c0 5.1 5.1 12.8 7.7 17.9 7.7 5.1 256 148.5 256 148.5 7.7 5.1 17.9 5.1 25.6 0 15.4-7.7 250.9-145.9 250.9-145.9s12.8-5.1 12.8-30.7v-74.2l-276.5 169v-64c0-17.9 7.7-30.7 20.5-46.1L745 535c5.1-7.7 10.2-20.5 10.2-30.7v-66.6l-279 169v-69.1c0-15.4 5.1-30.7 17.9-38.4l220.1-128zM919 135.7c0-5.1-5.1-7.7-7.7-7.7h-58.9V66.6c0-5.1-5.1-5.1-10.2-5.1l-30.7 5.1c-5.1 0-5.1 2.6-5.1 5.1V128h-56.3c-5.1 0-5.1 5.1-7.7 5.1v38.4h69.1v64c0 5.1 5.1 5.1 10.2 5.1l30.7-5.1c5.1 0 5.1-2.6 5.1-5.1v-56.3h64l-2.5-38.4z\"\n })\n ]));\n }\n});\n\n// src/components/element-plus.vue\nvar element_plus_default = element_plus_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/expand.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent98 } from \"vue\";\nimport { createElementVNode as _createElementVNode98, openBlock as _openBlock98, createElementBlock as _createElementBlock98 } from \"vue\";\nvar expand_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent98({\n name: \"Expand\",\n __name: \"expand\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock98(), _createElementBlock98(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode98(\"path\", {\n fill: \"currentColor\",\n d: \"M128 192h768v128H128zm0 256h512v128H128zm0 256h768v128H128zm576-352 192 160-192 128z\"\n })\n ]));\n }\n});\n\n// src/components/expand.vue\nvar expand_default = expand_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/failed.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent99 } from \"vue\";\nimport { createElementVNode as _createElementVNode99, openBlock as _openBlock99, createElementBlock as _createElementBlock99 } from \"vue\";\nvar failed_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent99({\n name: \"Failed\",\n __name: \"failed\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock99(), _createElementBlock99(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode99(\"path\", {\n fill: \"currentColor\",\n d: \"m557.248 608 135.744-135.744-45.248-45.248-135.68 135.744-135.808-135.68-45.248 45.184L466.752 608l-135.68 135.68 45.184 45.312L512 653.248l135.744 135.744 45.248-45.248L557.312 608zM704 192h160v736H160V192h160v64h384zm-320 0V96h256v96z\"\n })\n ]));\n }\n});\n\n// src/components/failed.vue\nvar failed_default = failed_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/female.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent100 } from \"vue\";\nimport { createElementVNode as _createElementVNode100, openBlock as _openBlock100, createElementBlock as _createElementBlock100 } from \"vue\";\nvar female_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent100({\n name: \"Female\",\n __name: \"female\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock100(), _createElementBlock100(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode100(\"path\", {\n fill: \"currentColor\",\n d: \"M512 640a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640\"\n }),\n _createElementVNode100(\"path\", {\n fill: \"currentColor\",\n d: \"M512 640q32 0 32 32v256q0 32-32 32t-32-32V672q0-32 32-32\"\n }),\n _createElementVNode100(\"path\", {\n fill: \"currentColor\",\n d: \"M352 800h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32\"\n })\n ]));\n }\n});\n\n// src/components/female.vue\nvar female_default = female_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/files.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent101 } from \"vue\";\nimport { createElementVNode as _createElementVNode101, openBlock as _openBlock101, createElementBlock as _createElementBlock101 } from \"vue\";\nvar files_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent101({\n name: \"Files\",\n __name: \"files\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock101(), _createElementBlock101(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode101(\"path\", {\n fill: \"currentColor\",\n d: \"M128 384v448h768V384zm-32-64h832a32 32 0 0 1 32 32v512a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V352a32 32 0 0 1 32-32m64-128h704v64H160zm96-128h512v64H256z\"\n })\n ]));\n }\n});\n\n// src/components/files.vue\nvar files_default = files_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/film.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent102 } from \"vue\";\nimport { createElementVNode as _createElementVNode102, openBlock as _openBlock102, createElementBlock as _createElementBlock102 } from \"vue\";\nvar film_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent102({\n name: \"Film\",\n __name: \"film\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock102(), _createElementBlock102(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode102(\"path\", {\n fill: \"currentColor\",\n d: \"M160 160v704h704V160zm-32-64h768a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V128a32 32 0 0 1 32-32\"\n }),\n _createElementVNode102(\"path\", {\n fill: \"currentColor\",\n d: \"M320 288V128h64v352h256V128h64v160h160v64H704v128h160v64H704v128h160v64H704v160h-64V544H384v352h-64V736H128v-64h192V544H128v-64h192V352H128v-64z\"\n })\n ]));\n }\n});\n\n// src/components/film.vue\nvar film_default = film_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/filter.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent103 } from \"vue\";\nimport { createElementVNode as _createElementVNode103, openBlock as _openBlock103, createElementBlock as _createElementBlock103 } from \"vue\";\nvar filter_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent103({\n name: \"Filter\",\n __name: \"filter\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock103(), _createElementBlock103(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode103(\"path\", {\n fill: \"currentColor\",\n d: \"M384 523.392V928a32 32 0 0 0 46.336 28.608l192-96A32 32 0 0 0 640 832V523.392l280.768-343.104a32 32 0 1 0-49.536-40.576l-288 352A32 32 0 0 0 576 512v300.224l-128 64V512a32 32 0 0 0-7.232-20.288L195.52 192H704a32 32 0 1 0 0-64H128a32 32 0 0 0-24.768 52.288z\"\n })\n ]));\n }\n});\n\n// src/components/filter.vue\nvar filter_default = filter_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/finished.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent104 } from \"vue\";\nimport { createElementVNode as _createElementVNode104, openBlock as _openBlock104, createElementBlock as _createElementBlock104 } from \"vue\";\nvar finished_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent104({\n name: \"Finished\",\n __name: \"finished\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock104(), _createElementBlock104(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode104(\"path\", {\n fill: \"currentColor\",\n d: \"M280.768 753.728 691.456 167.04a32 32 0 1 1 52.416 36.672L314.24 817.472a32 32 0 0 1-45.44 7.296l-230.4-172.8a32 32 0 0 1 38.4-51.2l203.968 152.96zM736 448a32 32 0 1 1 0-64h192a32 32 0 1 1 0 64zM608 640a32 32 0 0 1 0-64h319.936a32 32 0 1 1 0 64zM480 832a32 32 0 1 1 0-64h447.936a32 32 0 1 1 0 64z\"\n })\n ]));\n }\n});\n\n// src/components/finished.vue\nvar finished_default = finished_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/first-aid-kit.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent105 } from \"vue\";\nimport { createElementVNode as _createElementVNode105, openBlock as _openBlock105, createElementBlock as _createElementBlock105 } from \"vue\";\nvar first_aid_kit_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent105({\n name: \"FirstAidKit\",\n __name: \"first-aid-kit\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock105(), _createElementBlock105(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode105(\"path\", {\n fill: \"currentColor\",\n d: \"M192 256a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V320a64 64 0 0 0-64-64zm0-64h640a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H192A128 128 0 0 1 64 768V320a128 128 0 0 1 128-128\"\n }),\n _createElementVNode105(\"path\", {\n fill: \"currentColor\",\n d: \"M544 512h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96v-96a32 32 0 0 1 64 0zM352 128v64h320v-64zm-32-64h384a32 32 0 0 1 32 32v128a32 32 0 0 1-32 32H320a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32\"\n })\n ]));\n }\n});\n\n// src/components/first-aid-kit.vue\nvar first_aid_kit_default = first_aid_kit_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/flag.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent106 } from \"vue\";\nimport { createElementVNode as _createElementVNode106, openBlock as _openBlock106, createElementBlock as _createElementBlock106 } from \"vue\";\nvar flag_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent106({\n name: \"Flag\",\n __name: \"flag\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock106(), _createElementBlock106(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode106(\"path\", {\n fill: \"currentColor\",\n d: \"M288 128h608L736 384l160 256H288v320h-96V64h96z\"\n })\n ]));\n }\n});\n\n// src/components/flag.vue\nvar flag_default = flag_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/fold.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent107 } from \"vue\";\nimport { createElementVNode as _createElementVNode107, openBlock as _openBlock107, createElementBlock as _createElementBlock107 } from \"vue\";\nvar fold_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent107({\n name: \"Fold\",\n __name: \"fold\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock107(), _createElementBlock107(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode107(\"path\", {\n fill: \"currentColor\",\n d: \"M896 192H128v128h768zm0 256H384v128h512zm0 256H128v128h768zM320 384 128 512l192 128z\"\n })\n ]));\n }\n});\n\n// src/components/fold.vue\nvar fold_default = fold_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/folder-add.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent108 } from \"vue\";\nimport { createElementVNode as _createElementVNode108, openBlock as _openBlock108, createElementBlock as _createElementBlock108 } from \"vue\";\nvar folder_add_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent108({\n name: \"FolderAdd\",\n __name: \"folder-add\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock108(), _createElementBlock108(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode108(\"path\", {\n fill: \"currentColor\",\n d: \"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m384 416V416h64v128h128v64H544v128h-64V608H352v-64z\"\n })\n ]));\n }\n});\n\n// src/components/folder-add.vue\nvar folder_add_default = folder_add_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/folder-checked.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent109 } from \"vue\";\nimport { createElementVNode as _createElementVNode109, openBlock as _openBlock109, createElementBlock as _createElementBlock109 } from \"vue\";\nvar folder_checked_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent109({\n name: \"FolderChecked\",\n __name: \"folder-checked\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock109(), _createElementBlock109(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode109(\"path\", {\n fill: \"currentColor\",\n d: \"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m414.08 502.144 180.992-180.992L736.32 494.4 510.08 720.64l-158.4-158.336 45.248-45.312z\"\n })\n ]));\n }\n});\n\n// src/components/folder-checked.vue\nvar folder_checked_default = folder_checked_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/folder-delete.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent110 } from \"vue\";\nimport { createElementVNode as _createElementVNode110, openBlock as _openBlock110, createElementBlock as _createElementBlock110 } from \"vue\";\nvar folder_delete_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent110({\n name: \"FolderDelete\",\n __name: \"folder-delete\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock110(), _createElementBlock110(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode110(\"path\", {\n fill: \"currentColor\",\n d: \"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m370.752 448-90.496-90.496 45.248-45.248L512 530.752l90.496-90.496 45.248 45.248L557.248 576l90.496 90.496-45.248 45.248L512 621.248l-90.496 90.496-45.248-45.248z\"\n })\n ]));\n }\n});\n\n// src/components/folder-delete.vue\nvar folder_delete_default = folder_delete_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/folder-opened.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent111 } from \"vue\";\nimport { createElementVNode as _createElementVNode111, openBlock as _openBlock111, createElementBlock as _createElementBlock111 } from \"vue\";\nvar folder_opened_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent111({\n name: \"FolderOpened\",\n __name: \"folder-opened\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock111(), _createElementBlock111(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode111(\"path\", {\n fill: \"currentColor\",\n d: \"M878.08 448H241.92l-96 384h636.16l96-384zM832 384v-64H485.76L357.504 192H128v448l57.92-231.744A32 32 0 0 1 216.96 384zm-24.96 512H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h287.872l128.384 128H864a32 32 0 0 1 32 32v96h23.04a32 32 0 0 1 31.04 39.744l-112 448A32 32 0 0 1 807.04 896\"\n })\n ]));\n }\n});\n\n// src/components/folder-opened.vue\nvar folder_opened_default = folder_opened_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/folder-remove.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent112 } from \"vue\";\nimport { createElementVNode as _createElementVNode112, openBlock as _openBlock112, createElementBlock as _createElementBlock112 } from \"vue\";\nvar folder_remove_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent112({\n name: \"FolderRemove\",\n __name: \"folder-remove\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock112(), _createElementBlock112(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode112(\"path\", {\n fill: \"currentColor\",\n d: \"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m256 416h320v64H352z\"\n })\n ]));\n }\n});\n\n// src/components/folder-remove.vue\nvar folder_remove_default = folder_remove_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/folder.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent113 } from \"vue\";\nimport { createElementVNode as _createElementVNode113, openBlock as _openBlock113, createElementBlock as _createElementBlock113 } from \"vue\";\nvar folder_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent113({\n name: \"Folder\",\n __name: \"folder\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock113(), _createElementBlock113(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode113(\"path\", {\n fill: \"currentColor\",\n d: \"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32\"\n })\n ]));\n }\n});\n\n// src/components/folder.vue\nvar folder_default = folder_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/food.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent114 } from \"vue\";\nimport { createElementVNode as _createElementVNode114, openBlock as _openBlock114, createElementBlock as _createElementBlock114 } from \"vue\";\nvar food_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent114({\n name: \"Food\",\n __name: \"food\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock114(), _createElementBlock114(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode114(\"path\", {\n fill: \"currentColor\",\n d: \"M128 352.576V352a288 288 0 0 1 491.072-204.224 192 192 0 0 1 274.24 204.48 64 64 0 0 1 57.216 74.24C921.6 600.512 850.048 710.656 736 756.992V800a96 96 0 0 1-96 96H384a96 96 0 0 1-96-96v-43.008c-114.048-46.336-185.6-156.48-214.528-330.496A64 64 0 0 1 128 352.64zm64-.576h64a160 160 0 0 1 320 0h64a224 224 0 0 0-448 0m128 0h192a96 96 0 0 0-192 0m439.424 0h68.544A128.256 128.256 0 0 0 704 192c-15.36 0-29.952 2.688-43.52 7.616 11.328 18.176 20.672 37.76 27.84 58.304A64.128 64.128 0 0 1 759.424 352M672 768H352v32a32 32 0 0 0 32 32h256a32 32 0 0 0 32-32zm-342.528-64h365.056c101.504-32.64 165.76-124.928 192.896-288H136.576c27.136 163.072 91.392 255.36 192.896 288\"\n })\n ]));\n }\n});\n\n// src/components/food.vue\nvar food_default = food_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/football.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent115 } from \"vue\";\nimport { createElementVNode as _createElementVNode115, openBlock as _openBlock115, createElementBlock as _createElementBlock115 } from \"vue\";\nvar football_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent115({\n name: \"Football\",\n __name: \"football\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock115(), _createElementBlock115(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode115(\"path\", {\n fill: \"currentColor\",\n d: \"M512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896m0-64a384 384 0 1 0 0-768 384 384 0 0 0 0 768\"\n }),\n _createElementVNode115(\"path\", {\n fill: \"currentColor\",\n d: \"M186.816 268.288c16-16.384 31.616-31.744 46.976-46.08 17.472 30.656 39.808 58.112 65.984 81.28l-32.512 56.448a385.984 385.984 0 0 1-80.448-91.648zm653.696-5.312a385.92 385.92 0 0 1-83.776 96.96l-32.512-56.384a322.923 322.923 0 0 0 68.48-85.76c15.552 14.08 31.488 29.12 47.808 45.184zM465.984 445.248l11.136-63.104a323.584 323.584 0 0 0 69.76 0l11.136 63.104a387.968 387.968 0 0 1-92.032 0m-62.72-12.8A381.824 381.824 0 0 1 320 396.544l32-55.424a319.885 319.885 0 0 0 62.464 27.712l-11.2 63.488zm300.8-35.84a381.824 381.824 0 0 1-83.328 35.84l-11.2-63.552A319.885 319.885 0 0 0 672 341.184l32 55.424zm-520.768 364.8a385.92 385.92 0 0 1 83.968-97.28l32.512 56.32c-26.88 23.936-49.856 52.352-67.52 84.032-16-13.44-32.32-27.712-48.96-43.072zm657.536.128a1442.759 1442.759 0 0 1-49.024 43.072 321.408 321.408 0 0 0-67.584-84.16l32.512-56.32c33.216 27.456 61.696 60.352 84.096 97.408zM465.92 578.752a387.968 387.968 0 0 1 92.032 0l-11.136 63.104a323.584 323.584 0 0 0-69.76 0zm-62.72 12.8 11.2 63.552a319.885 319.885 0 0 0-62.464 27.712L320 627.392a381.824 381.824 0 0 1 83.264-35.84zm300.8 35.84-32 55.424a318.272 318.272 0 0 0-62.528-27.712l11.2-63.488c29.44 8.64 57.28 20.736 83.264 35.776z\"\n })\n ]));\n }\n});\n\n// src/components/football.vue\nvar football_default = football_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/fork-spoon.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent116 } from \"vue\";\nimport { createElementVNode as _createElementVNode116, openBlock as _openBlock116, createElementBlock as _createElementBlock116 } from \"vue\";\nvar fork_spoon_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent116({\n name: \"ForkSpoon\",\n __name: \"fork-spoon\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock116(), _createElementBlock116(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode116(\"path\", {\n fill: \"currentColor\",\n d: \"M256 410.304V96a32 32 0 0 1 64 0v314.304a96 96 0 0 0 64-90.56V96a32 32 0 0 1 64 0v223.744a160 160 0 0 1-128 156.8V928a32 32 0 1 1-64 0V476.544a160 160 0 0 1-128-156.8V96a32 32 0 0 1 64 0v223.744a96 96 0 0 0 64 90.56zM672 572.48C581.184 552.128 512 446.848 512 320c0-141.44 85.952-256 192-256s192 114.56 192 256c0 126.848-69.184 232.128-160 252.48V928a32 32 0 1 1-64 0zM704 512c66.048 0 128-82.56 128-192s-61.952-192-128-192-128 82.56-128 192 61.952 192 128 192\"\n })\n ]));\n }\n});\n\n// src/components/fork-spoon.vue\nvar fork_spoon_default = fork_spoon_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/fries.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent117 } from \"vue\";\nimport { createElementVNode as _createElementVNode117, openBlock as _openBlock117, createElementBlock as _createElementBlock117 } from \"vue\";\nvar fries_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent117({\n name: \"Fries\",\n __name: \"fries\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock117(), _createElementBlock117(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode117(\"path\", {\n fill: \"currentColor\",\n d: \"M608 224v-64a32 32 0 0 0-64 0v336h26.88A64 64 0 0 0 608 484.096zm101.12 160A64 64 0 0 0 672 395.904V384h64V224a32 32 0 1 0-64 0v160zm74.88 0a92.928 92.928 0 0 1 91.328 110.08l-60.672 323.584A96 96 0 0 1 720.32 896H303.68a96 96 0 0 1-94.336-78.336L148.672 494.08A92.928 92.928 0 0 1 240 384h-16V224a96 96 0 0 1 188.608-25.28A95.744 95.744 0 0 1 480 197.44V160a96 96 0 0 1 188.608-25.28A96 96 0 0 1 800 224v160zM670.784 512a128 128 0 0 1-99.904 48H453.12a128 128 0 0 1-99.84-48H352v-1.536a128.128 128.128 0 0 1-9.984-14.976L314.88 448H240a28.928 28.928 0 0 0-28.48 34.304L241.088 640h541.824l29.568-157.696A28.928 28.928 0 0 0 784 448h-74.88l-27.136 47.488A132.405 132.405 0 0 1 672 510.464V512zM480 288a32 32 0 0 0-64 0v196.096A64 64 0 0 0 453.12 496H480zm-128 96V224a32 32 0 0 0-64 0v160zh-37.12A64 64 0 0 1 352 395.904zm-98.88 320 19.072 101.888A32 32 0 0 0 303.68 832h416.64a32 32 0 0 0 31.488-26.112L770.88 704z\"\n })\n ]));\n }\n});\n\n// src/components/fries.vue\nvar fries_default = fries_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/full-screen.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent118 } from \"vue\";\nimport { createElementVNode as _createElementVNode118, openBlock as _openBlock118, createElementBlock as _createElementBlock118 } from \"vue\";\nvar full_screen_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent118({\n name: \"FullScreen\",\n __name: \"full-screen\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock118(), _createElementBlock118(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode118(\"path\", {\n fill: \"currentColor\",\n d: \"m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64l192-.192zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64z\"\n })\n ]));\n }\n});\n\n// src/components/full-screen.vue\nvar full_screen_default = full_screen_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/goblet-full.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent119 } from \"vue\";\nimport { createElementVNode as _createElementVNode119, openBlock as _openBlock119, createElementBlock as _createElementBlock119 } from \"vue\";\nvar goblet_full_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent119({\n name: \"GobletFull\",\n __name: \"goblet-full\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock119(), _createElementBlock119(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode119(\"path\", {\n fill: \"currentColor\",\n d: \"M256 320h512c0-78.592-12.608-142.4-36.928-192h-434.24C269.504 192.384 256 256.256 256 320m503.936 64H264.064a256.128 256.128 0 0 0 495.872 0zM544 638.4V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.4A320 320 0 0 1 192 320c0-85.632 21.312-170.944 64-256h512c42.688 64.32 64 149.632 64 256a320 320 0 0 1-288 318.4\"\n })\n ]));\n }\n});\n\n// src/components/goblet-full.vue\nvar goblet_full_default = goblet_full_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/goblet-square-full.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent120 } from \"vue\";\nimport { createElementVNode as _createElementVNode120, openBlock as _openBlock120, createElementBlock as _createElementBlock120 } from \"vue\";\nvar goblet_square_full_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent120({\n name: \"GobletSquareFull\",\n __name: \"goblet-square-full\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock120(), _createElementBlock120(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode120(\"path\", {\n fill: \"currentColor\",\n d: \"M256 270.912c10.048 6.72 22.464 14.912 28.992 18.624a220.16 220.16 0 0 0 114.752 30.72c30.592 0 49.408-9.472 91.072-41.152l.64-.448c52.928-40.32 82.368-55.04 132.288-54.656 55.552.448 99.584 20.8 142.72 57.408l1.536 1.28V128H256v142.912zm.96 76.288C266.368 482.176 346.88 575.872 512 576c157.44.064 237.952-85.056 253.248-209.984a952.32 952.32 0 0 1-40.192-35.712c-32.704-27.776-63.36-41.92-101.888-42.24-31.552-.256-50.624 9.28-93.12 41.6l-.576.448c-52.096 39.616-81.024 54.208-129.792 54.208-54.784 0-100.48-13.376-142.784-37.056zM480 638.848C250.624 623.424 192 442.496 192 319.68V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v224c0 122.816-58.624 303.68-288 318.912V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96z\"\n })\n ]));\n }\n});\n\n// src/components/goblet-square-full.vue\nvar goblet_square_full_default = goblet_square_full_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/goblet-square.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent121 } from \"vue\";\nimport { createElementVNode as _createElementVNode121, openBlock as _openBlock121, createElementBlock as _createElementBlock121 } from \"vue\";\nvar goblet_square_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent121({\n name: \"GobletSquare\",\n __name: \"goblet-square\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock121(), _createElementBlock121(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode121(\"path\", {\n fill: \"currentColor\",\n d: \"M544 638.912V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.848C250.624 623.424 192 442.496 192 319.68V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v224c0 122.816-58.624 303.68-288 318.912M256 319.68c0 149.568 80 256.192 256 256.256C688.128 576 768 469.568 768 320V128H256z\"\n })\n ]));\n }\n});\n\n// src/components/goblet-square.vue\nvar goblet_square_default = goblet_square_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/goblet.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent122 } from \"vue\";\nimport { createElementVNode as _createElementVNode122, openBlock as _openBlock122, createElementBlock as _createElementBlock122 } from \"vue\";\nvar goblet_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent122({\n name: \"Goblet\",\n __name: \"goblet\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock122(), _createElementBlock122(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode122(\"path\", {\n fill: \"currentColor\",\n d: \"M544 638.4V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.4A320 320 0 0 1 192 320c0-85.632 21.312-170.944 64-256h512c42.688 64.32 64 149.632 64 256a320 320 0 0 1-288 318.4M256 320a256 256 0 1 0 512 0c0-78.592-12.608-142.4-36.928-192h-434.24C269.504 192.384 256 256.256 256 320\"\n })\n ]));\n }\n});\n\n// src/components/goblet.vue\nvar goblet_default = goblet_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/gold-medal.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent123 } from \"vue\";\nimport { createElementVNode as _createElementVNode123, openBlock as _openBlock123, createElementBlock as _createElementBlock123 } from \"vue\";\nvar gold_medal_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent123({\n name: \"GoldMedal\",\n __name: \"gold-medal\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock123(), _createElementBlock123(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n \"xml:space\": \"preserve\",\n style: { \"enable-background\": \"new 0 0 1024 1024\" },\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode123(\"path\", {\n fill: \"currentColor\",\n d: \"m772.13 452.84 53.86-351.81c1.32-10.01-1.17-18.68-7.49-26.02S804.35 64 795.01 64H228.99v-.01h-.06c-9.33 0-17.15 3.67-23.49 11.01s-8.83 16.01-7.49 26.02l53.87 351.89C213.54 505.73 193.59 568.09 192 640c2 90.67 33.17 166.17 93.5 226.5S421.33 957.99 512 960c90.67-2 166.17-33.17 226.5-93.5 60.33-60.34 91.49-135.83 93.5-226.5-1.59-71.94-21.56-134.32-59.87-187.16zM640.01 128h117.02l-39.01 254.02c-20.75-10.64-40.74-19.73-59.94-27.28-5.92-3-11.95-5.8-18.08-8.41V128h.01zM576 128v198.76c-13.18-2.58-26.74-4.43-40.67-5.55-8.07-.8-15.85-1.2-23.33-1.2-10.54 0-21.09.66-31.64 1.96a359.844 359.844 0 0 0-32.36 4.79V128zm-192 0h.04v218.3c-6.22 2.66-12.34 5.5-18.36 8.56-19.13 7.54-39.02 16.6-59.66 27.16L267.01 128zm308.99 692.99c-48 48-108.33 73-180.99 75.01-72.66-2.01-132.99-27.01-180.99-75.01S258.01 712.66 256 640c2.01-72.66 27.01-132.99 75.01-180.99 19.67-19.67 41.41-35.47 65.22-47.41 38.33-15.04 71.15-23.92 98.44-26.65 5.07-.41 10.2-.7 15.39-.88.63-.01 1.28-.03 1.91-.03.66 0 1.35.03 2.02.04 5.11.17 10.15.46 15.13.86 27.4 2.71 60.37 11.65 98.91 26.79 23.71 11.93 45.36 27.69 64.96 47.29 48 48 73 108.33 75.01 180.99-2.01 72.65-27.01 132.98-75.01 180.98z\"\n }),\n _createElementVNode123(\"path\", {\n fill: \"currentColor\",\n d: \"M544 480H416v64h64v192h-64v64h192v-64h-64z\"\n })\n ]));\n }\n});\n\n// src/components/gold-medal.vue\nvar gold_medal_default = gold_medal_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/goods-filled.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent124 } from \"vue\";\nimport { createElementVNode as _createElementVNode124, openBlock as _openBlock124, createElementBlock as _createElementBlock124 } from \"vue\";\nvar goods_filled_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent124({\n name: \"GoodsFilled\",\n __name: \"goods-filled\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock124(), _createElementBlock124(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode124(\"path\", {\n fill: \"currentColor\",\n d: \"M192 352h640l64 544H128zm128 224h64V448h-64zm320 0h64V448h-64zM384 288h-64a192 192 0 1 1 384 0h-64a128 128 0 1 0-256 0\"\n })\n ]));\n }\n});\n\n// src/components/goods-filled.vue\nvar goods_filled_default = goods_filled_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/goods.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent125 } from \"vue\";\nimport { createElementVNode as _createElementVNode125, openBlock as _openBlock125, createElementBlock as _createElementBlock125 } from \"vue\";\nvar goods_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent125({\n name: \"Goods\",\n __name: \"goods\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock125(), _createElementBlock125(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode125(\"path\", {\n fill: \"currentColor\",\n d: \"M320 288v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4h131.072a32 32 0 0 1 31.808 28.8l57.6 576a32 32 0 0 1-31.808 35.2H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320zm64 0h256v-22.336C640 189.248 582.272 128 512 128c-70.272 0-128 61.248-128 137.664v22.4zm-64 64H217.92l-51.2 512h690.56l-51.264-512H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0z\"\n })\n ]));\n }\n});\n\n// src/components/goods.vue\nvar goods_default = goods_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/grape.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent126 } from \"vue\";\nimport { createElementVNode as _createElementVNode126, openBlock as _openBlock126, createElementBlock as _createElementBlock126 } from \"vue\";\nvar grape_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent126({\n name: \"Grape\",\n __name: \"grape\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock126(), _createElementBlock126(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode126(\"path\", {\n fill: \"currentColor\",\n d: \"M544 195.2a160 160 0 0 1 96 60.8 160 160 0 1 1 146.24 254.976 160 160 0 0 1-128 224 160 160 0 1 1-292.48 0 160 160 0 0 1-128-224A160 160 0 1 1 384 256a160 160 0 0 1 96-60.8V128h-64a32 32 0 0 1 0-64h192a32 32 0 0 1 0 64h-64zM512 448a96 96 0 1 0 0-192 96 96 0 0 0 0 192m-256 0a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128 224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128 224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128-224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128-224a96 96 0 1 0 0-192 96 96 0 0 0 0 192\"\n })\n ]));\n }\n});\n\n// src/components/grape.vue\nvar grape_default = grape_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/grid.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent127 } from \"vue\";\nimport { createElementVNode as _createElementVNode127, openBlock as _openBlock127, createElementBlock as _createElementBlock127 } from \"vue\";\nvar grid_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent127({\n name: \"Grid\",\n __name: \"grid\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock127(), _createElementBlock127(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode127(\"path\", {\n fill: \"currentColor\",\n d: \"M640 384v256H384V384zm64 0h192v256H704zm-64 512H384V704h256zm64 0V704h192v192zm-64-768v192H384V128zm64 0h192v192H704zM320 384v256H128V384zm0 512H128V704h192zm0-768v192H128V128z\"\n })\n ]));\n }\n});\n\n// src/components/grid.vue\nvar grid_default = grid_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/guide.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent128 } from \"vue\";\nimport { createElementVNode as _createElementVNode128, openBlock as _openBlock128, createElementBlock as _createElementBlock128 } from \"vue\";\nvar guide_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent128({\n name: \"Guide\",\n __name: \"guide\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock128(), _createElementBlock128(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode128(\"path\", {\n fill: \"currentColor\",\n d: \"M640 608h-64V416h64zm0 160v160a32 32 0 0 1-32 32H416a32 32 0 0 1-32-32V768h64v128h128V768zM384 608V416h64v192zm256-352h-64V128H448v128h-64V96a32 32 0 0 1 32-32h192a32 32 0 0 1 32 32z\"\n }),\n _createElementVNode128(\"path\", {\n fill: \"currentColor\",\n d: \"m220.8 256-71.232 80 71.168 80H768V256H220.8zm-14.4-64H800a32 32 0 0 1 32 32v224a32 32 0 0 1-32 32H206.4a32 32 0 0 1-23.936-10.752l-99.584-112a32 32 0 0 1 0-42.496l99.584-112A32 32 0 0 1 206.4 192m678.784 496-71.104 80H266.816V608h547.2l71.168 80zm-56.768-144H234.88a32 32 0 0 0-32 32v224a32 32 0 0 0 32 32h593.6a32 32 0 0 0 23.936-10.752l99.584-112a32 32 0 0 0 0-42.496l-99.584-112A32 32 0 0 0 828.48 544z\"\n })\n ]));\n }\n});\n\n// src/components/guide.vue\nvar guide_default = guide_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/handbag.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent129 } from \"vue\";\nimport { createElementVNode as _createElementVNode129, openBlock as _openBlock129, createElementBlock as _createElementBlock129 } from \"vue\";\nvar handbag_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent129({\n name: \"Handbag\",\n __name: \"handbag\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock129(), _createElementBlock129(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n \"xml:space\": \"preserve\",\n style: { \"enable-background\": \"new 0 0 1024 1024\" },\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode129(\"path\", {\n fill: \"currentColor\",\n d: \"M887.01 264.99c-6-5.99-13.67-8.99-23.01-8.99H704c-1.34-54.68-20.01-100.01-56-136s-81.32-54.66-136-56c-54.68 1.34-100.01 20.01-136 56s-54.66 81.32-56 136H160c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.67-8.99 23.01v640c0 9.35 2.99 17.02 8.99 23.01S150.66 960 160 960h704c9.35 0 17.02-2.99 23.01-8.99S896 937.34 896 928V288c0-9.35-2.99-17.02-8.99-23.01M421.5 165.5c24.32-24.34 54.49-36.84 90.5-37.5 35.99.68 66.16 13.18 90.5 37.5s36.84 54.49 37.5 90.5H384c.68-35.99 13.18-66.16 37.5-90.5M832 896H192V320h128v128h64V320h256v128h64V320h128z\"\n })\n ]));\n }\n});\n\n// src/components/handbag.vue\nvar handbag_default = handbag_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/headset.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent130 } from \"vue\";\nimport { createElementVNode as _createElementVNode130, openBlock as _openBlock130, createElementBlock as _createElementBlock130 } from \"vue\";\nvar headset_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent130({\n name: \"Headset\",\n __name: \"headset\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock130(), _createElementBlock130(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode130(\"path\", {\n fill: \"currentColor\",\n d: \"M896 529.152V512a384 384 0 1 0-768 0v17.152A128 128 0 0 1 320 640v128a128 128 0 1 1-256 0V512a448 448 0 1 1 896 0v256a128 128 0 1 1-256 0V640a128 128 0 0 1 192-110.848M896 640a64 64 0 0 0-128 0v128a64 64 0 0 0 128 0zm-768 0v128a64 64 0 0 0 128 0V640a64 64 0 1 0-128 0\"\n })\n ]));\n }\n});\n\n// src/components/headset.vue\nvar headset_default = headset_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/help-filled.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent131 } from \"vue\";\nimport { createElementVNode as _createElementVNode131, openBlock as _openBlock131, createElementBlock as _createElementBlock131 } from \"vue\";\nvar help_filled_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent131({\n name: \"HelpFilled\",\n __name: \"help-filled\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock131(), _createElementBlock131(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode131(\"path\", {\n fill: \"currentColor\",\n d: \"M926.784 480H701.312A192.512 192.512 0 0 0 544 322.688V97.216A416.064 416.064 0 0 1 926.784 480m0 64A416.064 416.064 0 0 1 544 926.784V701.312A192.512 192.512 0 0 0 701.312 544zM97.28 544h225.472A192.512 192.512 0 0 0 480 701.312v225.472A416.064 416.064 0 0 1 97.216 544zm0-64A416.064 416.064 0 0 1 480 97.216v225.472A192.512 192.512 0 0 0 322.688 480H97.216z\"\n })\n ]));\n }\n});\n\n// src/components/help-filled.vue\nvar help_filled_default = help_filled_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/help.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent132 } from \"vue\";\nimport { createElementVNode as _createElementVNode132, openBlock as _openBlock132, createElementBlock as _createElementBlock132 } from \"vue\";\nvar help_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent132({\n name: \"Help\",\n __name: \"help\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock132(), _createElementBlock132(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode132(\"path\", {\n fill: \"currentColor\",\n d: \"m759.936 805.248-90.944-91.008A254.912 254.912 0 0 1 512 768a254.912 254.912 0 0 1-156.992-53.76l-90.944 91.008A382.464 382.464 0 0 0 512 896c94.528 0 181.12-34.176 247.936-90.752m45.312-45.312A382.464 382.464 0 0 0 896 512c0-94.528-34.176-181.12-90.752-247.936l-91.008 90.944C747.904 398.4 768 452.864 768 512c0 59.136-20.096 113.6-53.76 156.992l91.008 90.944zm-45.312-541.184A382.464 382.464 0 0 0 512 128c-94.528 0-181.12 34.176-247.936 90.752l90.944 91.008A254.912 254.912 0 0 1 512 256c59.136 0 113.6 20.096 156.992 53.76l90.944-91.008zm-541.184 45.312A382.464 382.464 0 0 0 128 512c0 94.528 34.176 181.12 90.752 247.936l91.008-90.944A254.912 254.912 0 0 1 256 512c0-59.136 20.096-113.6 53.76-156.992zm417.28 394.496a194.56 194.56 0 0 0 22.528-22.528C686.912 602.56 704 559.232 704 512a191.232 191.232 0 0 0-67.968-146.56A191.296 191.296 0 0 0 512 320a191.232 191.232 0 0 0-146.56 67.968C337.088 421.44 320 464.768 320 512a191.232 191.232 0 0 0 67.968 146.56C421.44 686.912 464.768 704 512 704c47.296 0 90.56-17.088 124.032-45.44zM512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896\"\n })\n ]));\n }\n});\n\n// src/components/help.vue\nvar help_default = help_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/hide.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent133 } from \"vue\";\nimport { createElementVNode as _createElementVNode133, openBlock as _openBlock133, createElementBlock as _createElementBlock133 } from \"vue\";\nvar hide_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent133({\n name: \"Hide\",\n __name: \"hide\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock133(), _createElementBlock133(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode133(\"path\", {\n fill: \"currentColor\",\n d: \"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z\"\n }),\n _createElementVNode133(\"path\", {\n fill: \"currentColor\",\n d: \"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z\"\n })\n ]));\n }\n});\n\n// src/components/hide.vue\nvar hide_default = hide_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/histogram.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent134 } from \"vue\";\nimport { createElementVNode as _createElementVNode134, openBlock as _openBlock134, createElementBlock as _createElementBlock134 } from \"vue\";\nvar histogram_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent134({\n name: \"Histogram\",\n __name: \"histogram\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock134(), _createElementBlock134(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode134(\"path\", {\n fill: \"currentColor\",\n d: \"M416 896V128h192v768zm-288 0V448h192v448zm576 0V320h192v576z\"\n })\n ]));\n }\n});\n\n// src/components/histogram.vue\nvar histogram_default = histogram_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/home-filled.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent135 } from \"vue\";\nimport { createElementVNode as _createElementVNode135, openBlock as _openBlock135, createElementBlock as _createElementBlock135 } from \"vue\";\nvar home_filled_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent135({\n name: \"HomeFilled\",\n __name: \"home-filled\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock135(), _createElementBlock135(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode135(\"path\", {\n fill: \"currentColor\",\n d: \"M512 128 128 447.936V896h255.936V640H640v256h255.936V447.936z\"\n })\n ]));\n }\n});\n\n// src/components/home-filled.vue\nvar home_filled_default = home_filled_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/hot-water.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent136 } from \"vue\";\nimport { createElementVNode as _createElementVNode136, openBlock as _openBlock136, createElementBlock as _createElementBlock136 } from \"vue\";\nvar hot_water_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent136({\n name: \"HotWater\",\n __name: \"hot-water\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock136(), _createElementBlock136(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode136(\"path\", {\n fill: \"currentColor\",\n d: \"M273.067 477.867h477.866V409.6H273.067zm0 68.266v51.2A187.733 187.733 0 0 0 460.8 785.067h102.4a187.733 187.733 0 0 0 187.733-187.734v-51.2H273.067zm-34.134-204.8h546.134a34.133 34.133 0 0 1 34.133 34.134v221.866a256 256 0 0 1-256 256H460.8a256 256 0 0 1-256-256V375.467a34.133 34.133 0 0 1 34.133-34.134zM512 34.133a34.133 34.133 0 0 1 34.133 34.134v170.666a34.133 34.133 0 0 1-68.266 0V68.267A34.133 34.133 0 0 1 512 34.133zM375.467 102.4a34.133 34.133 0 0 1 34.133 34.133v102.4a34.133 34.133 0 0 1-68.267 0v-102.4a34.133 34.133 0 0 1 34.134-34.133m273.066 0a34.133 34.133 0 0 1 34.134 34.133v102.4a34.133 34.133 0 1 1-68.267 0v-102.4a34.133 34.133 0 0 1 34.133-34.133M170.667 921.668h682.666a34.133 34.133 0 1 1 0 68.267H170.667a34.133 34.133 0 1 1 0-68.267z\"\n })\n ]));\n }\n});\n\n// src/components/hot-water.vue\nvar hot_water_default = hot_water_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/house.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent137 } from \"vue\";\nimport { createElementVNode as _createElementVNode137, openBlock as _openBlock137, createElementBlock as _createElementBlock137 } from \"vue\";\nvar house_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent137({\n name: \"House\",\n __name: \"house\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock137(), _createElementBlock137(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode137(\"path\", {\n fill: \"currentColor\",\n d: \"M192 413.952V896h640V413.952L512 147.328zM139.52 374.4l352-293.312a32 32 0 0 1 40.96 0l352 293.312A32 32 0 0 1 896 398.976V928a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V398.976a32 32 0 0 1 11.52-24.576\"\n })\n ]));\n }\n});\n\n// src/components/house.vue\nvar house_default = house_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/ice-cream-round.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent138 } from \"vue\";\nimport { createElementVNode as _createElementVNode138, openBlock as _openBlock138, createElementBlock as _createElementBlock138 } from \"vue\";\nvar ice_cream_round_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent138({\n name: \"IceCreamRound\",\n __name: \"ice-cream-round\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock138(), _createElementBlock138(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode138(\"path\", {\n fill: \"currentColor\",\n d: \"m308.352 489.344 226.304 226.304a32 32 0 0 0 45.248 0L783.552 512A192 192 0 1 0 512 240.448L308.352 444.16a32 32 0 0 0 0 45.248zm135.744 226.304L308.352 851.392a96 96 0 0 1-135.744-135.744l135.744-135.744-45.248-45.248a96 96 0 0 1 0-135.808L466.752 195.2A256 256 0 0 1 828.8 557.248L625.152 760.96a96 96 0 0 1-135.808 0l-45.248-45.248zM398.848 670.4 353.6 625.152 217.856 760.896a32 32 0 0 0 45.248 45.248zm248.96-384.64a32 32 0 0 1 0 45.248L466.624 512a32 32 0 1 1-45.184-45.248l180.992-181.056a32 32 0 0 1 45.248 0zm90.496 90.496a32 32 0 0 1 0 45.248L557.248 602.496A32 32 0 1 1 512 557.248l180.992-180.992a32 32 0 0 1 45.312 0z\"\n })\n ]));\n }\n});\n\n// src/components/ice-cream-round.vue\nvar ice_cream_round_default = ice_cream_round_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/ice-cream-square.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent139 } from \"vue\";\nimport { createElementVNode as _createElementVNode139, openBlock as _openBlock139, createElementBlock as _createElementBlock139 } from \"vue\";\nvar ice_cream_square_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent139({\n name: \"IceCreamSquare\",\n __name: \"ice-cream-square\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock139(), _createElementBlock139(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode139(\"path\", {\n fill: \"currentColor\",\n d: \"M416 640h256a32 32 0 0 0 32-32V160a32 32 0 0 0-32-32H352a32 32 0 0 0-32 32v448a32 32 0 0 0 32 32zm192 64v160a96 96 0 0 1-192 0V704h-64a96 96 0 0 1-96-96V160a96 96 0 0 1 96-96h320a96 96 0 0 1 96 96v448a96 96 0 0 1-96 96zm-64 0h-64v160a32 32 0 1 0 64 0z\"\n })\n ]));\n }\n});\n\n// src/components/ice-cream-square.vue\nvar ice_cream_square_default = ice_cream_square_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/ice-cream.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent140 } from \"vue\";\nimport { createElementVNode as _createElementVNode140, openBlock as _openBlock140, createElementBlock as _createElementBlock140 } from \"vue\";\nvar ice_cream_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent140({\n name: \"IceCream\",\n __name: \"ice-cream\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock140(), _createElementBlock140(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode140(\"path\", {\n fill: \"currentColor\",\n d: \"M128.64 448a208 208 0 0 1 193.536-191.552 224 224 0 0 1 445.248 15.488A208.128 208.128 0 0 1 894.784 448H896L548.8 983.68a32 32 0 0 1-53.248.704L128 448zm64.256 0h286.208a144 144 0 0 0-286.208 0zm351.36 0h286.272a144 144 0 0 0-286.272 0zm-294.848 64 271.808 396.608L778.24 512H249.408zM511.68 352.64a207.872 207.872 0 0 1 189.184-96.192 160 160 0 0 0-314.752 5.632c52.608 12.992 97.28 46.08 125.568 90.56\"\n })\n ]));\n }\n});\n\n// src/components/ice-cream.vue\nvar ice_cream_default = ice_cream_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/ice-drink.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent141 } from \"vue\";\nimport { createElementVNode as _createElementVNode141, openBlock as _openBlock141, createElementBlock as _createElementBlock141 } from \"vue\";\nvar ice_drink_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent141({\n name: \"IceDrink\",\n __name: \"ice-drink\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock141(), _createElementBlock141(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode141(\"path\", {\n fill: \"currentColor\",\n d: \"M512 448v128h239.68l16.064-128zm-64 0H256.256l16.064 128H448zm64-255.36V384h247.744A256.128 256.128 0 0 0 512 192.64m-64 8.064A256.448 256.448 0 0 0 264.256 384H448zm64-72.064A320.128 320.128 0 0 1 825.472 384H896a32 32 0 1 1 0 64h-64v1.92l-56.96 454.016A64 64 0 0 1 711.552 960H312.448a64 64 0 0 1-63.488-56.064L192 449.92V448h-64a32 32 0 0 1 0-64h70.528A320.384 320.384 0 0 1 448 135.04V96a96 96 0 0 1 96-96h128a32 32 0 1 1 0 64H544a32 32 0 0 0-32 32zM743.68 640H280.32l32.128 256h399.104z\"\n })\n ]));\n }\n});\n\n// src/components/ice-drink.vue\nvar ice_drink_default = ice_drink_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/ice-tea.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent142 } from \"vue\";\nimport { createElementVNode as _createElementVNode142, openBlock as _openBlock142, createElementBlock as _createElementBlock142 } from \"vue\";\nvar ice_tea_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent142({\n name: \"IceTea\",\n __name: \"ice-tea\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock142(), _createElementBlock142(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode142(\"path\", {\n fill: \"currentColor\",\n d: \"M197.696 259.648a320.128 320.128 0 0 1 628.608 0A96 96 0 0 1 896 352v64a96 96 0 0 1-71.616 92.864l-49.408 395.072A64 64 0 0 1 711.488 960H312.512a64 64 0 0 1-63.488-56.064l-49.408-395.072A96 96 0 0 1 128 416v-64a96 96 0 0 1 69.696-92.352M264.064 256h495.872a256.128 256.128 0 0 0-495.872 0m495.424 256H264.512l48 384h398.976zM224 448h576a32 32 0 0 0 32-32v-64a32 32 0 0 0-32-32H224a32 32 0 0 0-32 32v64a32 32 0 0 0 32 32m160 192h64v64h-64zm192 64h64v64h-64zm-128 64h64v64h-64zm64-192h64v64h-64z\"\n })\n ]));\n }\n});\n\n// src/components/ice-tea.vue\nvar ice_tea_default = ice_tea_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/info-filled.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent143 } from \"vue\";\nimport { createElementVNode as _createElementVNode143, openBlock as _openBlock143, createElementBlock as _createElementBlock143 } from \"vue\";\nvar info_filled_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent143({\n name: \"InfoFilled\",\n __name: \"info-filled\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock143(), _createElementBlock143(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode143(\"path\", {\n fill: \"currentColor\",\n d: \"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z\"\n })\n ]));\n }\n});\n\n// src/components/info-filled.vue\nvar info_filled_default = info_filled_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/iphone.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent144 } from \"vue\";\nimport { createElementVNode as _createElementVNode144, openBlock as _openBlock144, createElementBlock as _createElementBlock144 } from \"vue\";\nvar iphone_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent144({\n name: \"Iphone\",\n __name: \"iphone\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock144(), _createElementBlock144(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode144(\"path\", {\n fill: \"currentColor\",\n d: \"M224 768v96.064a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64V768zm0-64h576V160a64 64 0 0 0-64-64H288a64 64 0 0 0-64 64zm32 288a96 96 0 0 1-96-96V128a96 96 0 0 1 96-96h512a96 96 0 0 1 96 96v768a96 96 0 0 1-96 96zm304-144a48 48 0 1 1-96 0 48 48 0 0 1 96 0\"\n })\n ]));\n }\n});\n\n// src/components/iphone.vue\nvar iphone_default = iphone_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/key.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent145 } from \"vue\";\nimport { createElementVNode as _createElementVNode145, openBlock as _openBlock145, createElementBlock as _createElementBlock145 } from \"vue\";\nvar key_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent145({\n name: \"Key\",\n __name: \"key\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock145(), _createElementBlock145(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode145(\"path\", {\n fill: \"currentColor\",\n d: \"M448 456.064V96a32 32 0 0 1 32-32.064L672 64a32 32 0 0 1 0 64H512v128h160a32 32 0 0 1 0 64H512v128a256 256 0 1 1-64 8.064M512 896a192 192 0 1 0 0-384 192 192 0 0 0 0 384\"\n })\n ]));\n }\n});\n\n// src/components/key.vue\nvar key_default = key_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/knife-fork.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent146 } from \"vue\";\nimport { createElementVNode as _createElementVNode146, openBlock as _openBlock146, createElementBlock as _createElementBlock146 } from \"vue\";\nvar knife_fork_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent146({\n name: \"KnifeFork\",\n __name: \"knife-fork\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock146(), _createElementBlock146(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode146(\"path\", {\n fill: \"currentColor\",\n d: \"M256 410.56V96a32 32 0 0 1 64 0v314.56A96 96 0 0 0 384 320V96a32 32 0 0 1 64 0v224a160 160 0 0 1-128 156.8V928a32 32 0 1 1-64 0V476.8A160 160 0 0 1 128 320V96a32 32 0 0 1 64 0v224a96 96 0 0 0 64 90.56m384-250.24V544h126.72c-3.328-78.72-12.928-147.968-28.608-207.744-14.336-54.528-46.848-113.344-98.112-175.872zM640 608v320a32 32 0 1 1-64 0V64h64c85.312 89.472 138.688 174.848 160 256 21.312 81.152 32 177.152 32 288z\"\n })\n ]));\n }\n});\n\n// src/components/knife-fork.vue\nvar knife_fork_default = knife_fork_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/lightning.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent147 } from \"vue\";\nimport { createElementVNode as _createElementVNode147, openBlock as _openBlock147, createElementBlock as _createElementBlock147 } from \"vue\";\nvar lightning_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent147({\n name: \"Lightning\",\n __name: \"lightning\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock147(), _createElementBlock147(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode147(\"path\", {\n fill: \"currentColor\",\n d: \"M288 671.36v64.128A239.808 239.808 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 736 734.016v-64.768a192 192 0 0 0 3.328-377.92l-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 91.968 70.464 167.36 160.256 175.232z\"\n }),\n _createElementVNode147(\"path\", {\n fill: \"currentColor\",\n d: \"M416 736a32 32 0 0 1-27.776-47.872l128-224a32 32 0 1 1 55.552 31.744L471.168 672H608a32 32 0 0 1 27.776 47.872l-128 224a32 32 0 1 1-55.68-31.744L552.96 736z\"\n })\n ]));\n }\n});\n\n// src/components/lightning.vue\nvar lightning_default = lightning_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/link.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent148 } from \"vue\";\nimport { createElementVNode as _createElementVNode148, openBlock as _openBlock148, createElementBlock as _createElementBlock148 } from \"vue\";\nvar link_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent148({\n name: \"Link\",\n __name: \"link\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock148(), _createElementBlock148(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode148(\"path\", {\n fill: \"currentColor\",\n d: \"M715.648 625.152 670.4 579.904l90.496-90.56c75.008-74.944 85.12-186.368 22.656-248.896-62.528-62.464-173.952-52.352-248.96 22.656L444.16 353.6l-45.248-45.248 90.496-90.496c100.032-99.968 251.968-110.08 339.456-22.656 87.488 87.488 77.312 239.424-22.656 339.456l-90.496 90.496zm-90.496 90.496-90.496 90.496C434.624 906.112 282.688 916.224 195.2 828.8c-87.488-87.488-77.312-239.424 22.656-339.456l90.496-90.496 45.248 45.248-90.496 90.56c-75.008 74.944-85.12 186.368-22.656 248.896 62.528 62.464 173.952 52.352 248.96-22.656l90.496-90.496zm0-362.048 45.248 45.248L398.848 670.4 353.6 625.152z\"\n })\n ]));\n }\n});\n\n// src/components/link.vue\nvar link_default = link_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/list.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent149 } from \"vue\";\nimport { createElementVNode as _createElementVNode149, openBlock as _openBlock149, createElementBlock as _createElementBlock149 } from \"vue\";\nvar list_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent149({\n name: \"List\",\n __name: \"list\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock149(), _createElementBlock149(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode149(\"path\", {\n fill: \"currentColor\",\n d: \"M704 192h160v736H160V192h160v64h384zM288 512h448v-64H288zm0 256h448v-64H288zm96-576V96h256v96z\"\n })\n ]));\n }\n});\n\n// src/components/list.vue\nvar list_default = list_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/loading.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent150 } from \"vue\";\nimport { createElementVNode as _createElementVNode150, openBlock as _openBlock150, createElementBlock as _createElementBlock150 } from \"vue\";\nvar loading_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent150({\n name: \"Loading\",\n __name: \"loading\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock150(), _createElementBlock150(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode150(\"path\", {\n fill: \"currentColor\",\n d: \"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z\"\n })\n ]));\n }\n});\n\n// src/components/loading.vue\nvar loading_default = loading_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/location-filled.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent151 } from \"vue\";\nimport { createElementVNode as _createElementVNode151, openBlock as _openBlock151, createElementBlock as _createElementBlock151 } from \"vue\";\nvar location_filled_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent151({\n name: \"LocationFilled\",\n __name: \"location-filled\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock151(), _createElementBlock151(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode151(\"path\", {\n fill: \"currentColor\",\n d: \"M512 928c23.936 0 117.504-68.352 192.064-153.152C803.456 661.888 864 535.808 864 416c0-189.632-155.84-320-352-320S160 226.368 160 416c0 120.32 60.544 246.4 159.936 359.232C394.432 859.84 488 928 512 928m0-435.2a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 140.8a204.8 204.8 0 1 1 0-409.6 204.8 204.8 0 0 1 0 409.6\"\n })\n ]));\n }\n});\n\n// src/components/location-filled.vue\nvar location_filled_default = location_filled_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/location-information.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent152 } from \"vue\";\nimport { createElementVNode as _createElementVNode152, openBlock as _openBlock152, createElementBlock as _createElementBlock152 } from \"vue\";\nvar location_information_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent152({\n name: \"LocationInformation\",\n __name: \"location-information\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock152(), _createElementBlock152(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode152(\"path\", {\n fill: \"currentColor\",\n d: \"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32\"\n }),\n _createElementVNode152(\"path\", {\n fill: \"currentColor\",\n d: \"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544\"\n }),\n _createElementVNode152(\"path\", {\n fill: \"currentColor\",\n d: \"M512 512a96 96 0 1 0 0-192 96 96 0 0 0 0 192m0 64a160 160 0 1 1 0-320 160 160 0 0 1 0 320\"\n })\n ]));\n }\n});\n\n// src/components/location-information.vue\nvar location_information_default = location_information_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/location.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent153 } from \"vue\";\nimport { createElementVNode as _createElementVNode153, openBlock as _openBlock153, createElementBlock as _createElementBlock153 } from \"vue\";\nvar location_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent153({\n name: \"Location\",\n __name: \"location\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock153(), _createElementBlock153(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode153(\"path\", {\n fill: \"currentColor\",\n d: \"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544\"\n }),\n _createElementVNode153(\"path\", {\n fill: \"currentColor\",\n d: \"M512 512a96 96 0 1 0 0-192 96 96 0 0 0 0 192m0 64a160 160 0 1 1 0-320 160 160 0 0 1 0 320\"\n })\n ]));\n }\n});\n\n// src/components/location.vue\nvar location_default = location_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/lock.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent154 } from \"vue\";\nimport { createElementVNode as _createElementVNode154, openBlock as _openBlock154, createElementBlock as _createElementBlock154 } from \"vue\";\nvar lock_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent154({\n name: \"Lock\",\n __name: \"lock\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock154(), _createElementBlock154(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode154(\"path\", {\n fill: \"currentColor\",\n d: \"M224 448a32 32 0 0 0-32 32v384a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32V480a32 32 0 0 0-32-32zm0-64h576a96 96 0 0 1 96 96v384a96 96 0 0 1-96 96H224a96 96 0 0 1-96-96V480a96 96 0 0 1 96-96\"\n }),\n _createElementVNode154(\"path\", {\n fill: \"currentColor\",\n d: \"M512 544a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V576a32 32 0 0 1 32-32m192-160v-64a192 192 0 1 0-384 0v64zM512 64a256 256 0 0 1 256 256v128H256V320A256 256 0 0 1 512 64\"\n })\n ]));\n }\n});\n\n// src/components/lock.vue\nvar lock_default = lock_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/lollipop.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent155 } from \"vue\";\nimport { createElementVNode as _createElementVNode155, openBlock as _openBlock155, createElementBlock as _createElementBlock155 } from \"vue\";\nvar lollipop_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent155({\n name: \"Lollipop\",\n __name: \"lollipop\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock155(), _createElementBlock155(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode155(\"path\", {\n fill: \"currentColor\",\n d: \"M513.28 448a64 64 0 1 1 76.544 49.728A96 96 0 0 0 768 448h64a160 160 0 0 1-320 0zm-126.976-29.696a256 256 0 1 0 43.52-180.48A256 256 0 0 1 832 448h-64a192 192 0 0 0-381.696-29.696m105.664 249.472L285.696 874.048a96 96 0 0 1-135.68-135.744l206.208-206.272a320 320 0 1 1 135.744 135.744zm-54.464-36.032a321.92 321.92 0 0 1-45.248-45.248L195.2 783.552a32 32 0 1 0 45.248 45.248l197.056-197.12z\"\n })\n ]));\n }\n});\n\n// src/components/lollipop.vue\nvar lollipop_default = lollipop_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/magic-stick.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent156 } from \"vue\";\nimport { createElementVNode as _createElementVNode156, openBlock as _openBlock156, createElementBlock as _createElementBlock156 } from \"vue\";\nvar magic_stick_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent156({\n name: \"MagicStick\",\n __name: \"magic-stick\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock156(), _createElementBlock156(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode156(\"path\", {\n fill: \"currentColor\",\n d: \"M512 64h64v192h-64zm0 576h64v192h-64zM160 480v-64h192v64zm576 0v-64h192v64zM249.856 199.04l45.248-45.184L430.848 289.6 385.6 334.848 249.856 199.104zM657.152 606.4l45.248-45.248 135.744 135.744-45.248 45.248zM114.048 923.2 68.8 877.952l316.8-316.8 45.248 45.248zM702.4 334.848 657.152 289.6l135.744-135.744 45.248 45.248z\"\n })\n ]));\n }\n});\n\n// src/components/magic-stick.vue\nvar magic_stick_default = magic_stick_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/magnet.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent157 } from \"vue\";\nimport { createElementVNode as _createElementVNode157, openBlock as _openBlock157, createElementBlock as _createElementBlock157 } from \"vue\";\nvar magnet_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent157({\n name: \"Magnet\",\n __name: \"magnet\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock157(), _createElementBlock157(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode157(\"path\", {\n fill: \"currentColor\",\n d: \"M832 320V192H704v320a192 192 0 1 1-384 0V192H192v128h128v64H192v128a320 320 0 0 0 640 0V384H704v-64zM640 512V128h256v384a384 384 0 1 1-768 0V128h256v384a128 128 0 1 0 256 0\"\n })\n ]));\n }\n});\n\n// src/components/magnet.vue\nvar magnet_default = magnet_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/male.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent158 } from \"vue\";\nimport { createElementVNode as _createElementVNode158, openBlock as _openBlock158, createElementBlock as _createElementBlock158 } from \"vue\";\nvar male_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent158({\n name: \"Male\",\n __name: \"male\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock158(), _createElementBlock158(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode158(\"path\", {\n fill: \"currentColor\",\n d: \"M399.5 849.5a225 225 0 1 0 0-450 225 225 0 0 0 0 450m0 56.25a281.25 281.25 0 1 1 0-562.5 281.25 281.25 0 0 1 0 562.5m253.125-787.5h225q28.125 0 28.125 28.125T877.625 174.5h-225q-28.125 0-28.125-28.125t28.125-28.125\"\n }),\n _createElementVNode158(\"path\", {\n fill: \"currentColor\",\n d: \"M877.625 118.25q28.125 0 28.125 28.125v225q0 28.125-28.125 28.125T849.5 371.375v-225q0-28.125 28.125-28.125\"\n }),\n _createElementVNode158(\"path\", {\n fill: \"currentColor\",\n d: \"M604.813 458.9 565.1 419.131l292.613-292.668 39.825 39.824z\"\n })\n ]));\n }\n});\n\n// src/components/male.vue\nvar male_default = male_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/management.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent159 } from \"vue\";\nimport { createElementVNode as _createElementVNode159, openBlock as _openBlock159, createElementBlock as _createElementBlock159 } from \"vue\";\nvar management_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent159({\n name: \"Management\",\n __name: \"management\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock159(), _createElementBlock159(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode159(\"path\", {\n fill: \"currentColor\",\n d: \"M576 128v288l96-96 96 96V128h128v768H320V128zm-448 0h128v768H128z\"\n })\n ]));\n }\n});\n\n// src/components/management.vue\nvar management_default = management_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/map-location.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent160 } from \"vue\";\nimport { createElementVNode as _createElementVNode160, openBlock as _openBlock160, createElementBlock as _createElementBlock160 } from \"vue\";\nvar map_location_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent160({\n name: \"MapLocation\",\n __name: \"map-location\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock160(), _createElementBlock160(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode160(\"path\", {\n fill: \"currentColor\",\n d: \"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544\"\n }),\n _createElementVNode160(\"path\", {\n fill: \"currentColor\",\n d: \"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256m345.6 192L960 960H672v-64H352v64H64l102.4-256zm-68.928 0H235.328l-76.8 192h706.944z\"\n })\n ]));\n }\n});\n\n// src/components/map-location.vue\nvar map_location_default = map_location_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/medal.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent161 } from \"vue\";\nimport { createElementVNode as _createElementVNode161, openBlock as _openBlock161, createElementBlock as _createElementBlock161 } from \"vue\";\nvar medal_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent161({\n name: \"Medal\",\n __name: \"medal\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock161(), _createElementBlock161(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode161(\"path\", {\n fill: \"currentColor\",\n d: \"M512 896a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640\"\n }),\n _createElementVNode161(\"path\", {\n fill: \"currentColor\",\n d: \"M576 128H448v200a286.72 286.72 0 0 1 64-8c19.52 0 40.832 2.688 64 8zm64 0v219.648c24.448 9.088 50.56 20.416 78.4 33.92L757.44 128zm-256 0H266.624l39.04 253.568c27.84-13.504 53.888-24.832 78.336-33.92V128zM229.312 64h565.376a32 32 0 0 1 31.616 36.864L768 480c-113.792-64-199.104-96-256-96-56.896 0-142.208 32-256 96l-58.304-379.136A32 32 0 0 1 229.312 64\"\n })\n ]));\n }\n});\n\n// src/components/medal.vue\nvar medal_default = medal_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/memo.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent162 } from \"vue\";\nimport { createElementVNode as _createElementVNode162, openBlock as _openBlock162, createElementBlock as _createElementBlock162 } from \"vue\";\nvar memo_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent162({\n name: \"Memo\",\n __name: \"memo\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock162(), _createElementBlock162(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n \"xml:space\": \"preserve\",\n style: { \"enable-background\": \"new 0 0 1024 1024\" },\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode162(\"path\", {\n fill: \"currentColor\",\n d: \"M480 320h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32\"\n }),\n _createElementVNode162(\"path\", {\n fill: \"currentColor\",\n d: \"M887.01 72.99C881.01 67 873.34 64 864 64H160c-9.35 0-17.02 3-23.01 8.99C131 78.99 128 86.66 128 96v832c0 9.35 2.99 17.02 8.99 23.01S150.66 960 160 960h704c9.35 0 17.02-2.99 23.01-8.99S896 937.34 896 928V96c0-9.35-3-17.02-8.99-23.01M192 896V128h96v768zm640 0H352V128h480z\"\n }),\n _createElementVNode162(\"path\", {\n fill: \"currentColor\",\n d: \"M480 512h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32m0 192h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32\"\n })\n ]));\n }\n});\n\n// src/components/memo.vue\nvar memo_default = memo_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/menu.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent163 } from \"vue\";\nimport { createElementVNode as _createElementVNode163, openBlock as _openBlock163, createElementBlock as _createElementBlock163 } from \"vue\";\nvar menu_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent163({\n name: \"Menu\",\n __name: \"menu\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock163(), _createElementBlock163(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode163(\"path\", {\n fill: \"currentColor\",\n d: \"M160 448a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zM160 896a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32z\"\n })\n ]));\n }\n});\n\n// src/components/menu.vue\nvar menu_default = menu_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/message-box.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent164 } from \"vue\";\nimport { createElementVNode as _createElementVNode164, openBlock as _openBlock164, createElementBlock as _createElementBlock164 } from \"vue\";\nvar message_box_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent164({\n name: \"MessageBox\",\n __name: \"message-box\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock164(), _createElementBlock164(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode164(\"path\", {\n fill: \"currentColor\",\n d: \"M288 384h448v64H288zm96-128h256v64H384zM131.456 512H384v128h256V512h252.544L721.856 192H302.144zM896 576H704v128H320V576H128v256h768zM275.776 128h472.448a32 32 0 0 1 28.608 17.664l179.84 359.552A32 32 0 0 1 960 519.552V864a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V519.552a32 32 0 0 1 3.392-14.336l179.776-359.552A32 32 0 0 1 275.776 128z\"\n })\n ]));\n }\n});\n\n// src/components/message-box.vue\nvar message_box_default = message_box_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/message.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent165 } from \"vue\";\nimport { createElementVNode as _createElementVNode165, openBlock as _openBlock165, createElementBlock as _createElementBlock165 } from \"vue\";\nvar message_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent165({\n name: \"Message\",\n __name: \"message\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock165(), _createElementBlock165(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode165(\"path\", {\n fill: \"currentColor\",\n d: \"M128 224v512a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V224zm0-64h768a64 64 0 0 1 64 64v512a128 128 0 0 1-128 128H192A128 128 0 0 1 64 736V224a64 64 0 0 1 64-64\"\n }),\n _createElementVNode165(\"path\", {\n fill: \"currentColor\",\n d: \"M904 224 656.512 506.88a192 192 0 0 1-289.024 0L120 224zm-698.944 0 210.56 240.704a128 128 0 0 0 192.704 0L818.944 224H205.056\"\n })\n ]));\n }\n});\n\n// src/components/message.vue\nvar message_default = message_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/mic.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent166 } from \"vue\";\nimport { createElementVNode as _createElementVNode166, openBlock as _openBlock166, createElementBlock as _createElementBlock166 } from \"vue\";\nvar mic_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent166({\n name: \"Mic\",\n __name: \"mic\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock166(), _createElementBlock166(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode166(\"path\", {\n fill: \"currentColor\",\n d: \"M480 704h160a64 64 0 0 0 64-64v-32h-96a32 32 0 0 1 0-64h96v-96h-96a32 32 0 0 1 0-64h96v-96h-96a32 32 0 0 1 0-64h96v-32a64 64 0 0 0-64-64H384a64 64 0 0 0-64 64v32h96a32 32 0 0 1 0 64h-96v96h96a32 32 0 0 1 0 64h-96v96h96a32 32 0 0 1 0 64h-96v32a64 64 0 0 0 64 64zm64 64v128h192a32 32 0 1 1 0 64H288a32 32 0 1 1 0-64h192V768h-96a128 128 0 0 1-128-128V192A128 128 0 0 1 384 64h256a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128z\"\n })\n ]));\n }\n});\n\n// src/components/mic.vue\nvar mic_default = mic_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/microphone.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent167 } from \"vue\";\nimport { createElementVNode as _createElementVNode167, openBlock as _openBlock167, createElementBlock as _createElementBlock167 } from \"vue\";\nvar microphone_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent167({\n name: \"Microphone\",\n __name: \"microphone\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock167(), _createElementBlock167(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode167(\"path\", {\n fill: \"currentColor\",\n d: \"M512 128a128 128 0 0 0-128 128v256a128 128 0 1 0 256 0V256a128 128 0 0 0-128-128m0-64a192 192 0 0 1 192 192v256a192 192 0 1 1-384 0V256A192 192 0 0 1 512 64m-32 832v-64a288 288 0 0 1-288-288v-32a32 32 0 0 1 64 0v32a224 224 0 0 0 224 224h64a224 224 0 0 0 224-224v-32a32 32 0 1 1 64 0v32a288 288 0 0 1-288 288v64h64a32 32 0 1 1 0 64H416a32 32 0 1 1 0-64z\"\n })\n ]));\n }\n});\n\n// src/components/microphone.vue\nvar microphone_default = microphone_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/milk-tea.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent168 } from \"vue\";\nimport { createElementVNode as _createElementVNode168, openBlock as _openBlock168, createElementBlock as _createElementBlock168 } from \"vue\";\nvar milk_tea_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent168({\n name: \"MilkTea\",\n __name: \"milk-tea\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock168(), _createElementBlock168(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode168(\"path\", {\n fill: \"currentColor\",\n d: \"M416 128V96a96 96 0 0 1 96-96h128a32 32 0 1 1 0 64H512a32 32 0 0 0-32 32v32h320a96 96 0 0 1 11.712 191.296l-39.68 581.056A64 64 0 0 1 708.224 960H315.776a64 64 0 0 1-63.872-59.648l-39.616-581.056A96 96 0 0 1 224 128zM276.48 320l39.296 576h392.448l4.8-70.784a224.064 224.064 0 0 1 30.016-439.808L747.52 320zM224 256h576a32 32 0 1 0 0-64H224a32 32 0 0 0 0 64m493.44 503.872 21.12-309.12a160 160 0 0 0-21.12 309.12\"\n })\n ]));\n }\n});\n\n// src/components/milk-tea.vue\nvar milk_tea_default = milk_tea_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/minus.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent169 } from \"vue\";\nimport { createElementVNode as _createElementVNode169, openBlock as _openBlock169, createElementBlock as _createElementBlock169 } from \"vue\";\nvar minus_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent169({\n name: \"Minus\",\n __name: \"minus\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock169(), _createElementBlock169(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode169(\"path\", {\n fill: \"currentColor\",\n d: \"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64\"\n })\n ]));\n }\n});\n\n// src/components/minus.vue\nvar minus_default = minus_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/money.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent170 } from \"vue\";\nimport { createElementVNode as _createElementVNode170, openBlock as _openBlock170, createElementBlock as _createElementBlock170 } from \"vue\";\nvar money_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent170({\n name: \"Money\",\n __name: \"money\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock170(), _createElementBlock170(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode170(\"path\", {\n fill: \"currentColor\",\n d: \"M256 640v192h640V384H768v-64h150.976c14.272 0 19.456 1.472 24.64 4.288a29.056 29.056 0 0 1 12.16 12.096c2.752 5.184 4.224 10.368 4.224 24.64v493.952c0 14.272-1.472 19.456-4.288 24.64a29.056 29.056 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H233.024c-14.272 0-19.456-1.472-24.64-4.288a29.056 29.056 0 0 1-12.16-12.096c-2.688-5.184-4.224-10.368-4.224-24.576V640z\"\n }),\n _createElementVNode170(\"path\", {\n fill: \"currentColor\",\n d: \"M768 192H128v448h640zm64-22.976v493.952c0 14.272-1.472 19.456-4.288 24.64a29.056 29.056 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H105.024c-14.272 0-19.456-1.472-24.64-4.288a29.056 29.056 0 0 1-12.16-12.096C65.536 682.432 64 677.248 64 663.04V169.024c0-14.272 1.472-19.456 4.288-24.64a29.056 29.056 0 0 1 12.096-12.16C85.568 129.536 90.752 128 104.96 128h685.952c14.272 0 19.456 1.472 24.64 4.288a29.056 29.056 0 0 1 12.16 12.096c2.752 5.184 4.224 10.368 4.224 24.64z\"\n }),\n _createElementVNode170(\"path\", {\n fill: \"currentColor\",\n d: \"M448 576a160 160 0 1 1 0-320 160 160 0 0 1 0 320m0-64a96 96 0 1 0 0-192 96 96 0 0 0 0 192\"\n })\n ]));\n }\n});\n\n// src/components/money.vue\nvar money_default = money_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/monitor.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent171 } from \"vue\";\nimport { createElementVNode as _createElementVNode171, openBlock as _openBlock171, createElementBlock as _createElementBlock171 } from \"vue\";\nvar monitor_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent171({\n name: \"Monitor\",\n __name: \"monitor\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock171(), _createElementBlock171(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode171(\"path\", {\n fill: \"currentColor\",\n d: \"M544 768v128h192a32 32 0 1 1 0 64H288a32 32 0 1 1 0-64h192V768H192A128 128 0 0 1 64 640V256a128 128 0 0 1 128-128h640a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128zM192 192a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64z\"\n })\n ]));\n }\n});\n\n// src/components/monitor.vue\nvar monitor_default = monitor_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/moon-night.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent172 } from \"vue\";\nimport { createElementVNode as _createElementVNode172, openBlock as _openBlock172, createElementBlock as _createElementBlock172 } from \"vue\";\nvar moon_night_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent172({\n name: \"MoonNight\",\n __name: \"moon-night\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock172(), _createElementBlock172(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode172(\"path\", {\n fill: \"currentColor\",\n d: \"M384 512a448 448 0 0 1 215.872-383.296A384 384 0 0 0 213.76 640h188.8A448.256 448.256 0 0 1 384 512M171.136 704a448 448 0 0 1 636.992-575.296A384 384 0 0 0 499.328 704h-328.32z\"\n }),\n _createElementVNode172(\"path\", {\n fill: \"currentColor\",\n d: \"M32 640h960q32 0 32 32t-32 32H32q-32 0-32-32t32-32m128 128h384a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m160 127.68 224 .256a32 32 0 0 1 32 32V928a32 32 0 0 1-32 32l-224-.384a32 32 0 0 1-32-32v-.064a32 32 0 0 1 32-32z\"\n })\n ]));\n }\n});\n\n// src/components/moon-night.vue\nvar moon_night_default = moon_night_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/moon.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent173 } from \"vue\";\nimport { createElementVNode as _createElementVNode173, openBlock as _openBlock173, createElementBlock as _createElementBlock173 } from \"vue\";\nvar moon_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent173({\n name: \"Moon\",\n __name: \"moon\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock173(), _createElementBlock173(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode173(\"path\", {\n fill: \"currentColor\",\n d: \"M240.448 240.448a384 384 0 1 0 559.424 525.696 448 448 0 0 1-542.016-542.08 390.592 390.592 0 0 0-17.408 16.384zm181.056 362.048a384 384 0 0 0 525.632 16.384A448 448 0 1 1 405.056 76.8a384 384 0 0 0 16.448 525.696\"\n })\n ]));\n }\n});\n\n// src/components/moon.vue\nvar moon_default = moon_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/more-filled.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent174 } from \"vue\";\nimport { createElementVNode as _createElementVNode174, openBlock as _openBlock174, createElementBlock as _createElementBlock174 } from \"vue\";\nvar more_filled_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent174({\n name: \"MoreFilled\",\n __name: \"more-filled\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock174(), _createElementBlock174(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode174(\"path\", {\n fill: \"currentColor\",\n d: \"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224\"\n })\n ]));\n }\n});\n\n// src/components/more-filled.vue\nvar more_filled_default = more_filled_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/more.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent175 } from \"vue\";\nimport { createElementVNode as _createElementVNode175, openBlock as _openBlock175, createElementBlock as _createElementBlock175 } from \"vue\";\nvar more_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent175({\n name: \"More\",\n __name: \"more\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock175(), _createElementBlock175(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode175(\"path\", {\n fill: \"currentColor\",\n d: \"M176 416a112 112 0 1 0 0 224 112 112 0 0 0 0-224m0 64a48 48 0 1 1 0 96 48 48 0 0 1 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96\"\n })\n ]));\n }\n});\n\n// src/components/more.vue\nvar more_default = more_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/mostly-cloudy.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent176 } from \"vue\";\nimport { createElementVNode as _createElementVNode176, openBlock as _openBlock176, createElementBlock as _createElementBlock176 } from \"vue\";\nvar mostly_cloudy_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent176({\n name: \"MostlyCloudy\",\n __name: \"mostly-cloudy\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock176(), _createElementBlock176(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode176(\"path\", {\n fill: \"currentColor\",\n d: \"M737.216 357.952 704 349.824l-11.776-32a192.064 192.064 0 0 0-367.424 23.04l-8.96 39.04-39.04 8.96A192.064 192.064 0 0 0 320 768h368a207.808 207.808 0 0 0 207.808-208 208.32 208.32 0 0 0-158.592-202.048m15.168-62.208A272.32 272.32 0 0 1 959.744 560a271.808 271.808 0 0 1-271.552 272H320a256 256 0 0 1-57.536-505.536 256.128 256.128 0 0 1 489.92-30.72\"\n })\n ]));\n }\n});\n\n// src/components/mostly-cloudy.vue\nvar mostly_cloudy_default = mostly_cloudy_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/mouse.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent177 } from \"vue\";\nimport { createElementVNode as _createElementVNode177, openBlock as _openBlock177, createElementBlock as _createElementBlock177 } from \"vue\";\nvar mouse_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent177({\n name: \"Mouse\",\n __name: \"mouse\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock177(), _createElementBlock177(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode177(\"path\", {\n fill: \"currentColor\",\n d: \"M438.144 256c-68.352 0-92.736 4.672-117.76 18.112-20.096 10.752-35.52 26.176-46.272 46.272C260.672 345.408 256 369.792 256 438.144v275.712c0 68.352 4.672 92.736 18.112 117.76 10.752 20.096 26.176 35.52 46.272 46.272C345.408 891.328 369.792 896 438.144 896h147.712c68.352 0 92.736-4.672 117.76-18.112 20.096-10.752 35.52-26.176 46.272-46.272C763.328 806.592 768 782.208 768 713.856V438.144c0-68.352-4.672-92.736-18.112-117.76a110.464 110.464 0 0 0-46.272-46.272C678.592 260.672 654.208 256 585.856 256zm0-64h147.712c85.568 0 116.608 8.96 147.904 25.6 31.36 16.768 55.872 41.344 72.576 72.64C823.104 321.536 832 352.576 832 438.08v275.84c0 85.504-8.96 116.544-25.6 147.84a174.464 174.464 0 0 1-72.64 72.576C702.464 951.104 671.424 960 585.92 960H438.08c-85.504 0-116.544-8.96-147.84-25.6a174.464 174.464 0 0 1-72.64-72.704c-16.768-31.296-25.664-62.336-25.664-147.84v-275.84c0-85.504 8.96-116.544 25.6-147.84a174.464 174.464 0 0 1 72.768-72.576c31.232-16.704 62.272-25.6 147.776-25.6z\"\n }),\n _createElementVNode177(\"path\", {\n fill: \"currentColor\",\n d: \"M512 320q32 0 32 32v128q0 32-32 32t-32-32V352q0-32 32-32m32-96a32 32 0 0 1-64 0v-64a32 32 0 0 0-32-32h-96a32 32 0 0 1 0-64h96a96 96 0 0 1 96 96z\"\n })\n ]));\n }\n});\n\n// src/components/mouse.vue\nvar mouse_default = mouse_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/mug.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent178 } from \"vue\";\nimport { createElementVNode as _createElementVNode178, openBlock as _openBlock178, createElementBlock as _createElementBlock178 } from \"vue\";\nvar mug_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent178({\n name: \"Mug\",\n __name: \"mug\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock178(), _createElementBlock178(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode178(\"path\", {\n fill: \"currentColor\",\n d: \"M736 800V160H160v640a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64m64-544h63.552a96 96 0 0 1 96 96v224a96 96 0 0 1-96 96H800v128a128 128 0 0 1-128 128H224A128 128 0 0 1 96 800V128a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 64v288h63.552a32 32 0 0 0 32-32V352a32 32 0 0 0-32-32z\"\n })\n ]));\n }\n});\n\n// src/components/mug.vue\nvar mug_default = mug_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/mute-notification.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent179 } from \"vue\";\nimport { createElementVNode as _createElementVNode179, openBlock as _openBlock179, createElementBlock as _createElementBlock179 } from \"vue\";\nvar mute_notification_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent179({\n name: \"MuteNotification\",\n __name: \"mute-notification\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock179(), _createElementBlock179(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode179(\"path\", {\n fill: \"currentColor\",\n d: \"m241.216 832 63.616-64H768V448c0-42.368-10.24-82.304-28.48-117.504l46.912-47.232C815.36 331.392 832 387.84 832 448v320h96a32 32 0 1 1 0 64zm-90.24 0H96a32 32 0 1 1 0-64h96V448a320.128 320.128 0 0 1 256-313.6V128a64 64 0 1 1 128 0v6.4a319.552 319.552 0 0 1 171.648 97.088l-45.184 45.44A256 256 0 0 0 256 448v278.336L151.04 832zM448 896h128a64 64 0 0 1-128 0\"\n }),\n _createElementVNode179(\"path\", {\n fill: \"currentColor\",\n d: \"M150.72 859.072a32 32 0 0 1-45.44-45.056l704-708.544a32 32 0 0 1 45.44 45.056l-704 708.544z\"\n })\n ]));\n }\n});\n\n// src/components/mute-notification.vue\nvar mute_notification_default = mute_notification_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/mute.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent180 } from \"vue\";\nimport { createElementVNode as _createElementVNode180, openBlock as _openBlock180, createElementBlock as _createElementBlock180 } from \"vue\";\nvar mute_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent180({\n name: \"Mute\",\n __name: \"mute\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock180(), _createElementBlock180(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode180(\"path\", {\n fill: \"currentColor\",\n d: \"m412.16 592.128-45.44 45.44A191.232 191.232 0 0 1 320 512V256a192 192 0 1 1 384 0v44.352l-64 64V256a128 128 0 1 0-256 0v256c0 30.336 10.56 58.24 28.16 80.128m51.968 38.592A128 128 0 0 0 640 512v-57.152l64-64V512a192 192 0 0 1-287.68 166.528zM314.88 779.968l46.144-46.08A222.976 222.976 0 0 0 480 768h64a224 224 0 0 0 224-224v-32a32 32 0 1 1 64 0v32a288 288 0 0 1-288 288v64h64a32 32 0 1 1 0 64H416a32 32 0 1 1 0-64h64v-64c-61.44 0-118.4-19.2-165.12-52.032M266.752 737.6A286.976 286.976 0 0 1 192 544v-32a32 32 0 0 1 64 0v32c0 56.832 21.184 108.8 56.064 148.288z\"\n }),\n _createElementVNode180(\"path\", {\n fill: \"currentColor\",\n d: \"M150.72 859.072a32 32 0 0 1-45.44-45.056l704-708.544a32 32 0 0 1 45.44 45.056l-704 708.544z\"\n })\n ]));\n }\n});\n\n// src/components/mute.vue\nvar mute_default = mute_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/no-smoking.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent181 } from \"vue\";\nimport { createElementVNode as _createElementVNode181, openBlock as _openBlock181, createElementBlock as _createElementBlock181 } from \"vue\";\nvar no_smoking_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent181({\n name: \"NoSmoking\",\n __name: \"no-smoking\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock181(), _createElementBlock181(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode181(\"path\", {\n fill: \"currentColor\",\n d: \"M440.256 576H256v128h56.256l-64 64H224a32 32 0 0 1-32-32V544a32 32 0 0 1 32-32h280.256zm143.488 128H704V583.744L775.744 512H928a32 32 0 0 1 32 32v192a32 32 0 0 1-32 32H519.744zM768 576v128h128V576zm-29.696-207.552 45.248 45.248-497.856 497.856-45.248-45.248zM256 64h64v320h-64zM128 192h64v192h-64zM64 512h64v256H64z\"\n })\n ]));\n }\n});\n\n// src/components/no-smoking.vue\nvar no_smoking_default = no_smoking_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/notebook.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent182 } from \"vue\";\nimport { createElementVNode as _createElementVNode182, openBlock as _openBlock182, createElementBlock as _createElementBlock182 } from \"vue\";\nvar notebook_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent182({\n name: \"Notebook\",\n __name: \"notebook\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock182(), _createElementBlock182(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode182(\"path\", {\n fill: \"currentColor\",\n d: \"M192 128v768h640V128zm-32-64h704a32 32 0 0 1 32 32v832a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32\"\n }),\n _createElementVNode182(\"path\", {\n fill: \"currentColor\",\n d: \"M672 128h64v768h-64zM96 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32\"\n })\n ]));\n }\n});\n\n// src/components/notebook.vue\nvar notebook_default = notebook_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/notification.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent183 } from \"vue\";\nimport { createElementVNode as _createElementVNode183, openBlock as _openBlock183, createElementBlock as _createElementBlock183 } from \"vue\";\nvar notification_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent183({\n name: \"Notification\",\n __name: \"notification\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock183(), _createElementBlock183(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode183(\"path\", {\n fill: \"currentColor\",\n d: \"M512 128v64H256a64 64 0 0 0-64 64v512a64 64 0 0 0 64 64h512a64 64 0 0 0 64-64V512h64v256a128 128 0 0 1-128 128H256a128 128 0 0 1-128-128V256a128 128 0 0 1 128-128z\"\n }),\n _createElementVNode183(\"path\", {\n fill: \"currentColor\",\n d: \"M768 384a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384\"\n })\n ]));\n }\n});\n\n// src/components/notification.vue\nvar notification_default = notification_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/odometer.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent184 } from \"vue\";\nimport { createElementVNode as _createElementVNode184, openBlock as _openBlock184, createElementBlock as _createElementBlock184 } from \"vue\";\nvar odometer_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent184({\n name: \"Odometer\",\n __name: \"odometer\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock184(), _createElementBlock184(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode184(\"path\", {\n fill: \"currentColor\",\n d: \"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896\"\n }),\n _createElementVNode184(\"path\", {\n fill: \"currentColor\",\n d: \"M192 512a320 320 0 1 1 640 0 32 32 0 1 1-64 0 256 256 0 1 0-512 0 32 32 0 0 1-64 0\"\n }),\n _createElementVNode184(\"path\", {\n fill: \"currentColor\",\n d: \"M570.432 627.84A96 96 0 1 1 509.568 608l60.992-187.776A32 32 0 1 1 631.424 440l-60.992 187.776zM502.08 734.464a32 32 0 1 0 19.84-60.928 32 32 0 0 0-19.84 60.928\"\n })\n ]));\n }\n});\n\n// src/components/odometer.vue\nvar odometer_default = odometer_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/office-building.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent185 } from \"vue\";\nimport { createElementVNode as _createElementVNode185, openBlock as _openBlock185, createElementBlock as _createElementBlock185 } from \"vue\";\nvar office_building_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent185({\n name: \"OfficeBuilding\",\n __name: \"office-building\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock185(), _createElementBlock185(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode185(\"path\", {\n fill: \"currentColor\",\n d: \"M192 128v704h384V128zm-32-64h448a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32\"\n }),\n _createElementVNode185(\"path\", {\n fill: \"currentColor\",\n d: \"M256 256h256v64H256zm0 192h256v64H256zm0 192h256v64H256zm384-128h128v64H640zm0 128h128v64H640zM64 832h896v64H64z\"\n }),\n _createElementVNode185(\"path\", {\n fill: \"currentColor\",\n d: \"M640 384v448h192V384zm-32-64h256a32 32 0 0 1 32 32v512a32 32 0 0 1-32 32H608a32 32 0 0 1-32-32V352a32 32 0 0 1 32-32\"\n })\n ]));\n }\n});\n\n// src/components/office-building.vue\nvar office_building_default = office_building_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/open.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent186 } from \"vue\";\nimport { createElementVNode as _createElementVNode186, openBlock as _openBlock186, createElementBlock as _createElementBlock186 } from \"vue\";\nvar open_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent186({\n name: \"Open\",\n __name: \"open\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock186(), _createElementBlock186(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode186(\"path\", {\n fill: \"currentColor\",\n d: \"M329.956 257.138a254.862 254.862 0 0 0 0 509.724h364.088a254.862 254.862 0 0 0 0-509.724zm0-72.818h364.088a327.68 327.68 0 1 1 0 655.36H329.956a327.68 327.68 0 1 1 0-655.36z\"\n }),\n _createElementVNode186(\"path\", {\n fill: \"currentColor\",\n d: \"M694.044 621.227a109.227 109.227 0 1 0 0-218.454 109.227 109.227 0 0 0 0 218.454m0 72.817a182.044 182.044 0 1 1 0-364.088 182.044 182.044 0 0 1 0 364.088\"\n })\n ]));\n }\n});\n\n// src/components/open.vue\nvar open_default = open_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/operation.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent187 } from \"vue\";\nimport { createElementVNode as _createElementVNode187, openBlock as _openBlock187, createElementBlock as _createElementBlock187 } from \"vue\";\nvar operation_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent187({\n name: \"Operation\",\n __name: \"operation\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock187(), _createElementBlock187(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode187(\"path\", {\n fill: \"currentColor\",\n d: \"M389.44 768a96.064 96.064 0 0 1 181.12 0H896v64H570.56a96.064 96.064 0 0 1-181.12 0H128v-64zm192-288a96.064 96.064 0 0 1 181.12 0H896v64H762.56a96.064 96.064 0 0 1-181.12 0H128v-64zm-320-288a96.064 96.064 0 0 1 181.12 0H896v64H442.56a96.064 96.064 0 0 1-181.12 0H128v-64z\"\n })\n ]));\n }\n});\n\n// src/components/operation.vue\nvar operation_default = operation_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/opportunity.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent188 } from \"vue\";\nimport { createElementVNode as _createElementVNode188, openBlock as _openBlock188, createElementBlock as _createElementBlock188 } from \"vue\";\nvar opportunity_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent188({\n name: \"Opportunity\",\n __name: \"opportunity\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock188(), _createElementBlock188(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode188(\"path\", {\n fill: \"currentColor\",\n d: \"M384 960v-64h192.064v64zm448-544a350.656 350.656 0 0 1-128.32 271.424C665.344 719.04 640 763.776 640 813.504V832H320v-14.336c0-48-19.392-95.36-57.216-124.992a351.552 351.552 0 0 1-128.448-344.256c25.344-136.448 133.888-248.128 269.76-276.48A352.384 352.384 0 0 1 832 416m-544 32c0-132.288 75.904-224 192-224v-64c-154.432 0-256 122.752-256 288z\"\n })\n ]));\n }\n});\n\n// src/components/opportunity.vue\nvar opportunity_default = opportunity_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/orange.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent189 } from \"vue\";\nimport { createElementVNode as _createElementVNode189, openBlock as _openBlock189, createElementBlock as _createElementBlock189 } from \"vue\";\nvar orange_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent189({\n name: \"Orange\",\n __name: \"orange\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock189(), _createElementBlock189(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode189(\"path\", {\n fill: \"currentColor\",\n d: \"M544 894.72a382.336 382.336 0 0 0 215.936-89.472L577.024 622.272c-10.24 6.016-21.248 10.688-33.024 13.696v258.688zm261.248-134.784A382.336 382.336 0 0 0 894.656 544H635.968c-3.008 11.776-7.68 22.848-13.696 33.024l182.976 182.912zM894.656 480a382.336 382.336 0 0 0-89.408-215.936L622.272 446.976c6.016 10.24 10.688 21.248 13.696 33.024h258.688zm-134.72-261.248A382.336 382.336 0 0 0 544 129.344v258.688c11.776 3.008 22.848 7.68 33.024 13.696zM480 129.344a382.336 382.336 0 0 0-215.936 89.408l182.912 182.976c10.24-6.016 21.248-10.688 33.024-13.696zm-261.248 134.72A382.336 382.336 0 0 0 129.344 480h258.688c3.008-11.776 7.68-22.848 13.696-33.024zM129.344 544a382.336 382.336 0 0 0 89.408 215.936l182.976-182.912A127.232 127.232 0 0 1 388.032 544zm134.72 261.248A382.336 382.336 0 0 0 480 894.656V635.968a127.232 127.232 0 0 1-33.024-13.696zM512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896m0-384a64 64 0 1 0 0-128 64 64 0 0 0 0 128\"\n })\n ]));\n }\n});\n\n// src/components/orange.vue\nvar orange_default = orange_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/paperclip.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent190 } from \"vue\";\nimport { createElementVNode as _createElementVNode190, openBlock as _openBlock190, createElementBlock as _createElementBlock190 } from \"vue\";\nvar paperclip_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent190({\n name: \"Paperclip\",\n __name: \"paperclip\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock190(), _createElementBlock190(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode190(\"path\", {\n fill: \"currentColor\",\n d: \"M602.496 240.448A192 192 0 1 1 874.048 512l-316.8 316.8A256 256 0 0 1 195.2 466.752L602.496 59.456l45.248 45.248L240.448 512A192 192 0 0 0 512 783.552l316.8-316.8a128 128 0 1 0-181.056-181.056L353.6 579.904a32 32 0 1 0 45.248 45.248l294.144-294.144 45.312 45.248L444.096 670.4a96 96 0 1 1-135.744-135.744l294.144-294.208z\"\n })\n ]));\n }\n});\n\n// src/components/paperclip.vue\nvar paperclip_default = paperclip_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/partly-cloudy.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent191 } from \"vue\";\nimport { createElementVNode as _createElementVNode191, openBlock as _openBlock191, createElementBlock as _createElementBlock191 } from \"vue\";\nvar partly_cloudy_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent191({\n name: \"PartlyCloudy\",\n __name: \"partly-cloudy\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock191(), _createElementBlock191(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode191(\"path\", {\n fill: \"currentColor\",\n d: \"M598.4 895.872H328.192a256 256 0 0 1-34.496-510.528A352 352 0 1 1 598.4 895.872m-271.36-64h272.256a288 288 0 1 0-248.512-417.664L335.04 445.44l-34.816 3.584a192 192 0 0 0 26.88 382.848z\"\n }),\n _createElementVNode191(\"path\", {\n fill: \"currentColor\",\n d: \"M139.84 501.888a256 256 0 1 1 417.856-277.12c-17.728 2.176-38.208 8.448-61.504 18.816A192 192 0 1 0 189.12 460.48a6003.84 6003.84 0 0 0-49.28 41.408z\"\n })\n ]));\n }\n});\n\n// src/components/partly-cloudy.vue\nvar partly_cloudy_default = partly_cloudy_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/pear.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent192 } from \"vue\";\nimport { createElementVNode as _createElementVNode192, openBlock as _openBlock192, createElementBlock as _createElementBlock192 } from \"vue\";\nvar pear_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent192({\n name: \"Pear\",\n __name: \"pear\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock192(), _createElementBlock192(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode192(\"path\", {\n fill: \"currentColor\",\n d: \"M542.336 258.816a443.255 443.255 0 0 0-9.024 25.088 32 32 0 1 1-60.8-20.032l1.088-3.328a162.688 162.688 0 0 0-122.048 131.392l-17.088 102.72-20.736 15.36C256.192 552.704 224 610.88 224 672c0 120.576 126.4 224 288 224s288-103.424 288-224c0-61.12-32.192-119.296-89.728-161.92l-20.736-15.424-17.088-102.72a162.688 162.688 0 0 0-130.112-133.12zm-40.128-66.56c7.936-15.552 16.576-30.08 25.92-43.776 23.296-33.92 49.408-59.776 78.528-77.12a32 32 0 1 1 32.704 55.04c-20.544 12.224-40.064 31.552-58.432 58.304a316.608 316.608 0 0 0-9.792 15.104 226.688 226.688 0 0 1 164.48 181.568l12.8 77.248C819.456 511.36 864 587.392 864 672c0 159.04-157.568 288-352 288S160 831.04 160 672c0-84.608 44.608-160.64 115.584-213.376l12.8-77.248a226.624 226.624 0 0 1 213.76-189.184z\"\n })\n ]));\n }\n});\n\n// src/components/pear.vue\nvar pear_default = pear_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/phone-filled.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent193 } from \"vue\";\nimport { createElementVNode as _createElementVNode193, openBlock as _openBlock193, createElementBlock as _createElementBlock193 } from \"vue\";\nvar phone_filled_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent193({\n name: \"PhoneFilled\",\n __name: \"phone-filled\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock193(), _createElementBlock193(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode193(\"path\", {\n fill: \"currentColor\",\n d: \"M199.232 125.568 90.624 379.008a32 32 0 0 0 6.784 35.2l512.384 512.384a32 32 0 0 0 35.2 6.784l253.44-108.608a32 32 0 0 0 10.048-52.032L769.6 633.92a32 32 0 0 0-36.928-5.952l-130.176 65.088-271.488-271.552 65.024-130.176a32 32 0 0 0-5.952-36.928L251.2 115.52a32 32 0 0 0-51.968 10.048z\"\n })\n ]));\n }\n});\n\n// src/components/phone-filled.vue\nvar phone_filled_default = phone_filled_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/phone.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent194 } from \"vue\";\nimport { createElementVNode as _createElementVNode194, openBlock as _openBlock194, createElementBlock as _createElementBlock194 } from \"vue\";\nvar phone_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent194({\n name: \"Phone\",\n __name: \"phone\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock194(), _createElementBlock194(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode194(\"path\", {\n fill: \"currentColor\",\n d: \"M79.36 432.256 591.744 944.64a32 32 0 0 0 35.2 6.784l253.44-108.544a32 32 0 0 0 9.984-52.032l-153.856-153.92a32 32 0 0 0-36.928-6.016l-69.888 34.944L358.08 394.24l35.008-69.888a32 32 0 0 0-5.952-36.928L233.152 133.568a32 32 0 0 0-52.032 10.048L72.512 397.056a32 32 0 0 0 6.784 35.2zm60.48-29.952 81.536-190.08L325.568 316.48l-24.64 49.216-20.608 41.216 32.576 32.64 271.552 271.552 32.64 32.64 41.216-20.672 49.28-24.576 104.192 104.128-190.08 81.472L139.84 402.304zM512 320v-64a256 256 0 0 1 256 256h-64a192 192 0 0 0-192-192m0-192V64a448 448 0 0 1 448 448h-64a384 384 0 0 0-384-384\"\n })\n ]));\n }\n});\n\n// src/components/phone.vue\nvar phone_default = phone_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/picture-filled.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent195 } from \"vue\";\nimport { createElementVNode as _createElementVNode195, openBlock as _openBlock195, createElementBlock as _createElementBlock195 } from \"vue\";\nvar picture_filled_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent195({\n name: \"PictureFilled\",\n __name: \"picture-filled\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock195(), _createElementBlock195(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode195(\"path\", {\n fill: \"currentColor\",\n d: \"M96 896a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h832a32 32 0 0 1 32 32v704a32 32 0 0 1-32 32zm315.52-228.48-68.928-68.928a32 32 0 0 0-45.248 0L128 768.064h778.688l-242.112-290.56a32 32 0 0 0-49.216 0L458.752 665.408a32 32 0 0 1-47.232 2.112M256 384a96 96 0 1 0 192.064-.064A96 96 0 0 0 256 384\"\n })\n ]));\n }\n});\n\n// src/components/picture-filled.vue\nvar picture_filled_default = picture_filled_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/picture-rounded.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent196 } from \"vue\";\nimport { createElementVNode as _createElementVNode196, openBlock as _openBlock196, createElementBlock as _createElementBlock196 } from \"vue\";\nvar picture_rounded_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent196({\n name: \"PictureRounded\",\n __name: \"picture-rounded\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock196(), _createElementBlock196(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode196(\"path\", {\n fill: \"currentColor\",\n d: \"M512 128a384 384 0 1 0 0 768 384 384 0 0 0 0-768m0-64a448 448 0 1 1 0 896 448 448 0 0 1 0-896\"\n }),\n _createElementVNode196(\"path\", {\n fill: \"currentColor\",\n d: \"M640 288q64 0 64 64t-64 64q-64 0-64-64t64-64M214.656 790.656l-45.312-45.312 185.664-185.6a96 96 0 0 1 123.712-10.24l138.24 98.688a32 32 0 0 0 39.872-2.176L906.688 422.4l42.624 47.744L699.52 693.696a96 96 0 0 1-119.808 6.592l-138.24-98.752a32 32 0 0 0-41.152 3.456l-185.664 185.6z\"\n })\n ]));\n }\n});\n\n// src/components/picture-rounded.vue\nvar picture_rounded_default = picture_rounded_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/picture.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent197 } from \"vue\";\nimport { createElementVNode as _createElementVNode197, openBlock as _openBlock197, createElementBlock as _createElementBlock197 } from \"vue\";\nvar picture_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent197({\n name: \"Picture\",\n __name: \"picture\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock197(), _createElementBlock197(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode197(\"path\", {\n fill: \"currentColor\",\n d: \"M160 160v704h704V160zm-32-64h768a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V128a32 32 0 0 1 32-32\"\n }),\n _createElementVNode197(\"path\", {\n fill: \"currentColor\",\n d: \"M384 288q64 0 64 64t-64 64q-64 0-64-64t64-64M185.408 876.992l-50.816-38.912L350.72 556.032a96 96 0 0 1 134.592-17.856l1.856 1.472 122.88 99.136a32 32 0 0 0 44.992-4.864l216-269.888 49.92 39.936-215.808 269.824-.256.32a96 96 0 0 1-135.04 14.464l-122.88-99.072-.64-.512a32 32 0 0 0-44.8 5.952z\"\n })\n ]));\n }\n});\n\n// src/components/picture.vue\nvar picture_default = picture_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/pie-chart.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent198 } from \"vue\";\nimport { createElementVNode as _createElementVNode198, openBlock as _openBlock198, createElementBlock as _createElementBlock198 } from \"vue\";\nvar pie_chart_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent198({\n name: \"PieChart\",\n __name: \"pie-chart\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock198(), _createElementBlock198(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode198(\"path\", {\n fill: \"currentColor\",\n d: \"M448 68.48v64.832A384.128 384.128 0 0 0 512 896a384.128 384.128 0 0 0 378.688-320h64.768A448.128 448.128 0 0 1 64 512 448.128 448.128 0 0 1 448 68.48z\"\n }),\n _createElementVNode198(\"path\", {\n fill: \"currentColor\",\n d: \"M576 97.28V448h350.72A384.064 384.064 0 0 0 576 97.28zM512 64V33.152A448 448 0 0 1 990.848 512H512z\"\n })\n ]));\n }\n});\n\n// src/components/pie-chart.vue\nvar pie_chart_default = pie_chart_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/place.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent199 } from \"vue\";\nimport { createElementVNode as _createElementVNode199, openBlock as _openBlock199, createElementBlock as _createElementBlock199 } from \"vue\";\nvar place_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent199({\n name: \"Place\",\n __name: \"place\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock199(), _createElementBlock199(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode199(\"path\", {\n fill: \"currentColor\",\n d: \"M512 512a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512\"\n }),\n _createElementVNode199(\"path\", {\n fill: \"currentColor\",\n d: \"M512 512a32 32 0 0 1 32 32v256a32 32 0 1 1-64 0V544a32 32 0 0 1 32-32\"\n }),\n _createElementVNode199(\"path\", {\n fill: \"currentColor\",\n d: \"M384 649.088v64.96C269.76 732.352 192 771.904 192 800c0 37.696 139.904 96 320 96s320-58.304 320-96c0-28.16-77.76-67.648-192-85.952v-64.96C789.12 671.04 896 730.368 896 800c0 88.32-171.904 160-384 160s-384-71.68-384-160c0-69.696 106.88-128.96 256-150.912\"\n })\n ]));\n }\n});\n\n// src/components/place.vue\nvar place_default = place_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/platform.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent200 } from \"vue\";\nimport { createElementVNode as _createElementVNode200, openBlock as _openBlock200, createElementBlock as _createElementBlock200 } from \"vue\";\nvar platform_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent200({\n name: \"Platform\",\n __name: \"platform\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock200(), _createElementBlock200(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode200(\"path\", {\n fill: \"currentColor\",\n d: \"M448 832v-64h128v64h192v64H256v-64zM128 704V128h768v576z\"\n })\n ]));\n }\n});\n\n// src/components/platform.vue\nvar platform_default = platform_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/plus.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent201 } from \"vue\";\nimport { createElementVNode as _createElementVNode201, openBlock as _openBlock201, createElementBlock as _createElementBlock201 } from \"vue\";\nvar plus_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent201({\n name: \"Plus\",\n __name: \"plus\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock201(), _createElementBlock201(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode201(\"path\", {\n fill: \"currentColor\",\n d: \"M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z\"\n })\n ]));\n }\n});\n\n// src/components/plus.vue\nvar plus_default = plus_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/pointer.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent202 } from \"vue\";\nimport { createElementVNode as _createElementVNode202, openBlock as _openBlock202, createElementBlock as _createElementBlock202 } from \"vue\";\nvar pointer_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent202({\n name: \"Pointer\",\n __name: \"pointer\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock202(), _createElementBlock202(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode202(\"path\", {\n fill: \"currentColor\",\n d: \"M511.552 128c-35.584 0-64.384 28.8-64.384 64.448v516.48L274.048 570.88a94.272 94.272 0 0 0-112.896-3.456 44.416 44.416 0 0 0-8.96 62.208L332.8 870.4A64 64 0 0 0 384 896h512V575.232a64 64 0 0 0-45.632-61.312l-205.952-61.76A96 96 0 0 1 576 360.192V192.448C576 156.8 547.2 128 511.552 128M359.04 556.8l24.128 19.2V192.448a128.448 128.448 0 1 1 256.832 0v167.744a32 32 0 0 0 22.784 30.656l206.016 61.76A128 128 0 0 1 960 575.232V896a64 64 0 0 1-64 64H384a128 128 0 0 1-102.4-51.2L101.056 668.032A108.416 108.416 0 0 1 128 512.512a158.272 158.272 0 0 1 185.984 8.32z\"\n })\n ]));\n }\n});\n\n// src/components/pointer.vue\nvar pointer_default = pointer_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/position.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent203 } from \"vue\";\nimport { createElementVNode as _createElementVNode203, openBlock as _openBlock203, createElementBlock as _createElementBlock203 } from \"vue\";\nvar position_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent203({\n name: \"Position\",\n __name: \"position\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock203(), _createElementBlock203(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode203(\"path\", {\n fill: \"currentColor\",\n d: \"m249.6 417.088 319.744 43.072 39.168 310.272L845.12 178.88 249.6 417.088zm-129.024 47.168a32 32 0 0 1-7.68-61.44l777.792-311.04a32 32 0 0 1 41.6 41.6l-310.336 775.68a32 32 0 0 1-61.44-7.808L512 516.992l-391.424-52.736z\"\n })\n ]));\n }\n});\n\n// src/components/position.vue\nvar position_default = position_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/postcard.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent204 } from \"vue\";\nimport { createElementVNode as _createElementVNode204, openBlock as _openBlock204, createElementBlock as _createElementBlock204 } from \"vue\";\nvar postcard_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent204({\n name: \"Postcard\",\n __name: \"postcard\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock204(), _createElementBlock204(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode204(\"path\", {\n fill: \"currentColor\",\n d: \"M160 224a32 32 0 0 0-32 32v512a32 32 0 0 0 32 32h704a32 32 0 0 0 32-32V256a32 32 0 0 0-32-32zm0-64h704a96 96 0 0 1 96 96v512a96 96 0 0 1-96 96H160a96 96 0 0 1-96-96V256a96 96 0 0 1 96-96\"\n }),\n _createElementVNode204(\"path\", {\n fill: \"currentColor\",\n d: \"M704 320a64 64 0 1 1 0 128 64 64 0 0 1 0-128M288 448h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32m0 128h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32\"\n })\n ]));\n }\n});\n\n// src/components/postcard.vue\nvar postcard_default = postcard_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/pouring.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent205 } from \"vue\";\nimport { createElementVNode as _createElementVNode205, openBlock as _openBlock205, createElementBlock as _createElementBlock205 } from \"vue\";\nvar pouring_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent205({\n name: \"Pouring\",\n __name: \"pouring\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock205(), _createElementBlock205(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode205(\"path\", {\n fill: \"currentColor\",\n d: \"m739.328 291.328-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 97.28 78.72 175.936 175.808 175.936h400a192 192 0 0 0 35.776-380.672zM959.552 480a256 256 0 0 1-256 256h-400A239.808 239.808 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 959.552 480M224 800a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32\"\n })\n ]));\n }\n});\n\n// src/components/pouring.vue\nvar pouring_default = pouring_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/present.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent206 } from \"vue\";\nimport { createElementVNode as _createElementVNode206, openBlock as _openBlock206, createElementBlock as _createElementBlock206 } from \"vue\";\nvar present_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent206({\n name: \"Present\",\n __name: \"present\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock206(), _createElementBlock206(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode206(\"path\", {\n fill: \"currentColor\",\n d: \"M480 896V640H192v-64h288V320H192v576zm64 0h288V320H544v256h288v64H544zM128 256h768v672a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32z\"\n }),\n _createElementVNode206(\"path\", {\n fill: \"currentColor\",\n d: \"M96 256h832q32 0 32 32t-32 32H96q-32 0-32-32t32-32\"\n }),\n _createElementVNode206(\"path\", {\n fill: \"currentColor\",\n d: \"M416 256a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256\"\n }),\n _createElementVNode206(\"path\", {\n fill: \"currentColor\",\n d: \"M608 256a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256\"\n })\n ]));\n }\n});\n\n// src/components/present.vue\nvar present_default = present_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/price-tag.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent207 } from \"vue\";\nimport { createElementVNode as _createElementVNode207, openBlock as _openBlock207, createElementBlock as _createElementBlock207 } from \"vue\";\nvar price_tag_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent207({\n name: \"PriceTag\",\n __name: \"price-tag\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock207(), _createElementBlock207(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode207(\"path\", {\n fill: \"currentColor\",\n d: \"M224 318.336V896h576V318.336L552.512 115.84a64 64 0 0 0-81.024 0zM593.024 66.304l259.2 212.096A32 32 0 0 1 864 303.168V928a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V303.168a32 32 0 0 1 11.712-24.768l259.2-212.096a128 128 0 0 1 162.112 0z\"\n }),\n _createElementVNode207(\"path\", {\n fill: \"currentColor\",\n d: \"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256\"\n })\n ]));\n }\n});\n\n// src/components/price-tag.vue\nvar price_tag_default = price_tag_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/printer.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent208 } from \"vue\";\nimport { createElementVNode as _createElementVNode208, openBlock as _openBlock208, createElementBlock as _createElementBlock208 } from \"vue\";\nvar printer_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent208({\n name: \"Printer\",\n __name: \"printer\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock208(), _createElementBlock208(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode208(\"path\", {\n fill: \"currentColor\",\n d: \"M256 768H105.024c-14.272 0-19.456-1.472-24.64-4.288a29.056 29.056 0 0 1-12.16-12.096C65.536 746.432 64 741.248 64 727.04V379.072c0-42.816 4.48-58.304 12.8-73.984 8.384-15.616 20.672-27.904 36.288-36.288 15.68-8.32 31.168-12.8 73.984-12.8H256V64h512v192h68.928c42.816 0 58.304 4.48 73.984 12.8 15.616 8.384 27.904 20.672 36.288 36.288 8.32 15.68 12.8 31.168 12.8 73.984v347.904c0 14.272-1.472 19.456-4.288 24.64a29.056 29.056 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H768v192H256zm64-192v320h384V576zm-64 128V512h512v192h128V379.072c0-29.376-1.408-36.48-5.248-43.776a23.296 23.296 0 0 0-10.048-10.048c-7.232-3.84-14.4-5.248-43.776-5.248H187.072c-29.376 0-36.48 1.408-43.776 5.248a23.296 23.296 0 0 0-10.048 10.048c-3.84 7.232-5.248 14.4-5.248 43.776V704zm64-448h384V128H320zm-64 128h64v64h-64zm128 0h64v64h-64z\"\n })\n ]));\n }\n});\n\n// src/components/printer.vue\nvar printer_default = printer_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/promotion.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent209 } from \"vue\";\nimport { createElementVNode as _createElementVNode209, openBlock as _openBlock209, createElementBlock as _createElementBlock209 } from \"vue\";\nvar promotion_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent209({\n name: \"Promotion\",\n __name: \"promotion\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock209(), _createElementBlock209(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode209(\"path\", {\n fill: \"currentColor\",\n d: \"m64 448 832-320-128 704-446.08-243.328L832 192 242.816 545.472zm256 512V657.024L512 768z\"\n })\n ]));\n }\n});\n\n// src/components/promotion.vue\nvar promotion_default = promotion_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/quartz-watch.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent210 } from \"vue\";\nimport { createElementVNode as _createElementVNode210, openBlock as _openBlock210, createElementBlock as _createElementBlock210 } from \"vue\";\nvar quartz_watch_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent210({\n name: \"QuartzWatch\",\n __name: \"quartz-watch\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock210(), _createElementBlock210(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n \"xml:space\": \"preserve\",\n style: { \"enable-background\": \"new 0 0 1024 1024\" },\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode210(\"path\", {\n fill: \"currentColor\",\n d: \"M422.02 602.01v-.03c-6.68-5.99-14.35-8.83-23.01-8.51-8.67.32-16.17 3.66-22.5 10.02-6.33 6.36-9.5 13.7-9.5 22.02s3 15.82 8.99 22.5c8.68 8.68 19.02 11.35 31.01 8s19.49-10.85 22.5-22.5c3.01-11.65.51-22.15-7.49-31.49zM384 512c0-9.35-3-17.02-8.99-23.01-6-5.99-13.66-8.99-23.01-8.99-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.66 8.99 23.01 8.99 9.35 0 17.02-3 23.01-8.99 5.99-6 8.99-13.67 8.99-23.01m6.53-82.49c11.65 3.01 22.15.51 31.49-7.49h.04c5.99-6.68 8.83-14.34 8.51-23.01-.32-8.67-3.66-16.16-10.02-22.5-6.36-6.33-13.7-9.5-22.02-9.5s-15.82 3-22.5 8.99c-8.68 8.69-11.35 19.02-8 31.01 3.35 11.99 10.85 19.49 22.5 22.5zm242.94 0c11.67-3.03 19.01-10.37 22.02-22.02 3.01-11.65.51-22.15-7.49-31.49h.01c-6.68-5.99-14.18-8.99-22.5-8.99s-15.66 3.16-22.02 9.5c-6.36 6.34-9.7 13.84-10.02 22.5-.32 8.66 2.52 16.33 8.51 23.01 9.32 8.02 19.82 10.52 31.49 7.49M512 640c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.67 8.99 23.01 8.99 9.35 0 17.02-3 23.01-8.99 5.99-6 8.99-13.66 8.99-23.01s-3-17.02-8.99-23.01c-6-5.99-13.66-8.99-23.01-8.99m183.01-151.01c-6-5.99-13.66-8.99-23.01-8.99s-17.02 3-23.01 8.99c-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.66 8.99 23.01 8.99s17.02-3 23.01-8.99c5.99-6 8.99-13.67 8.99-23.01 0-9.35-3-17.02-8.99-23.01\"\n }),\n _createElementVNode210(\"path\", {\n fill: \"currentColor\",\n d: \"M832 512c-2-90.67-33.17-166.17-93.5-226.5-20.43-20.42-42.6-37.49-66.5-51.23V64H352v170.26c-23.9 13.74-46.07 30.81-66.5 51.24-60.33 60.33-91.49 135.83-93.5 226.5 2 90.67 33.17 166.17 93.5 226.5 20.43 20.43 42.6 37.5 66.5 51.24V960h320V789.74c23.9-13.74 46.07-30.81 66.5-51.24 60.33-60.34 91.49-135.83 93.5-226.5M416 128h192v78.69c-29.85-9.03-61.85-13.93-96-14.69-34.15.75-66.15 5.65-96 14.68zm192 768H416v-78.68c29.85 9.03 61.85 13.93 96 14.68 34.15-.75 66.15-5.65 96-14.68zm-96-128c-72.66-2.01-132.99-27.01-180.99-75.01S258.01 584.66 256 512c2.01-72.66 27.01-132.99 75.01-180.99S439.34 258.01 512 256c72.66 2.01 132.99 27.01 180.99 75.01S765.99 439.34 768 512c-2.01 72.66-27.01 132.99-75.01 180.99S584.66 765.99 512 768\"\n }),\n _createElementVNode210(\"path\", {\n fill: \"currentColor\",\n d: \"M512 320c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.66-8.99 23.01 0 9.35 3 17.02 8.99 23.01 6 5.99 13.67 8.99 23.01 8.99 9.35 0 17.02-3 23.01-8.99 5.99-6 8.99-13.66 8.99-23.01 0-9.35-3-17.02-8.99-23.01-6-5.99-13.66-8.99-23.01-8.99m112.99 273.5c-8.66-.32-16.33 2.52-23.01 8.51-7.98 9.32-10.48 19.82-7.49 31.49s10.49 19.17 22.5 22.5 22.35.66 31.01-8v.04c5.99-6.68 8.99-14.18 8.99-22.5s-3.16-15.66-9.5-22.02-13.84-9.7-22.5-10.02\"\n })\n ]));\n }\n});\n\n// src/components/quartz-watch.vue\nvar quartz_watch_default = quartz_watch_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/question-filled.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent211 } from \"vue\";\nimport { createElementVNode as _createElementVNode211, openBlock as _openBlock211, createElementBlock as _createElementBlock211 } from \"vue\";\nvar question_filled_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent211({\n name: \"QuestionFilled\",\n __name: \"question-filled\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock211(), _createElementBlock211(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode211(\"path\", {\n fill: \"currentColor\",\n d: \"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592 0-42.944-14.08-76.736-42.24-101.376-28.16-25.344-65.472-37.312-111.232-37.312zm-12.672 406.208a54.272 54.272 0 0 0-38.72 14.784 49.408 49.408 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.848 54.848 0 0 0 523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0 0 16.192-38.72 51.968 51.968 0 0 0-15.488-38.016 55.936 55.936 0 0 0-39.424-14.784z\"\n })\n ]));\n }\n});\n\n// src/components/question-filled.vue\nvar question_filled_default = question_filled_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/rank.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent212 } from \"vue\";\nimport { createElementVNode as _createElementVNode212, openBlock as _openBlock212, createElementBlock as _createElementBlock212 } from \"vue\";\nvar rank_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent212({\n name: \"Rank\",\n __name: \"rank\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock212(), _createElementBlock212(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode212(\"path\", {\n fill: \"currentColor\",\n d: \"m186.496 544 41.408 41.344a32 32 0 1 1-45.248 45.312l-96-96a32 32 0 0 1 0-45.312l96-96a32 32 0 1 1 45.248 45.312L186.496 480h290.816V186.432l-41.472 41.472a32 32 0 1 1-45.248-45.184l96-96.128a32 32 0 0 1 45.312 0l96 96.064a32 32 0 0 1-45.248 45.184l-41.344-41.28V480H832l-41.344-41.344a32 32 0 0 1 45.248-45.312l96 96a32 32 0 0 1 0 45.312l-96 96a32 32 0 0 1-45.248-45.312L832 544H541.312v293.44l41.344-41.28a32 32 0 1 1 45.248 45.248l-96 96a32 32 0 0 1-45.312 0l-96-96a32 32 0 1 1 45.312-45.248l41.408 41.408V544H186.496z\"\n })\n ]));\n }\n});\n\n// src/components/rank.vue\nvar rank_default = rank_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/reading-lamp.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent213 } from \"vue\";\nimport { createElementVNode as _createElementVNode213, openBlock as _openBlock213, createElementBlock as _createElementBlock213 } from \"vue\";\nvar reading_lamp_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent213({\n name: \"ReadingLamp\",\n __name: \"reading-lamp\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock213(), _createElementBlock213(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode213(\"path\", {\n fill: \"currentColor\",\n d: \"M352 896h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m-44.672-768-99.52 448h608.384l-99.52-448zm-25.6-64h460.608a32 32 0 0 1 31.232 25.088l113.792 512A32 32 0 0 1 856.128 640H167.872a32 32 0 0 1-31.232-38.912l113.792-512A32 32 0 0 1 281.664 64z\"\n }),\n _createElementVNode213(\"path\", {\n fill: \"currentColor\",\n d: \"M672 576q32 0 32 32v128q0 32-32 32t-32-32V608q0-32 32-32m-192-.064h64V960h-64z\"\n })\n ]));\n }\n});\n\n// src/components/reading-lamp.vue\nvar reading_lamp_default = reading_lamp_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/reading.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent214 } from \"vue\";\nimport { createElementVNode as _createElementVNode214, openBlock as _openBlock214, createElementBlock as _createElementBlock214 } from \"vue\";\nvar reading_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent214({\n name: \"Reading\",\n __name: \"reading\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock214(), _createElementBlock214(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode214(\"path\", {\n fill: \"currentColor\",\n d: \"m512 863.36 384-54.848v-638.72L525.568 222.72a96 96 0 0 1-27.136 0L128 169.792v638.72zM137.024 106.432l370.432 52.928a32 32 0 0 0 9.088 0l370.432-52.928A64 64 0 0 1 960 169.792v638.72a64 64 0 0 1-54.976 63.36l-388.48 55.488a32 32 0 0 1-9.088 0l-388.48-55.488A64 64 0 0 1 64 808.512v-638.72a64 64 0 0 1 73.024-63.36z\"\n }),\n _createElementVNode214(\"path\", {\n fill: \"currentColor\",\n d: \"M480 192h64v704h-64z\"\n })\n ]));\n }\n});\n\n// src/components/reading.vue\nvar reading_default = reading_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/refresh-left.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent215 } from \"vue\";\nimport { createElementVNode as _createElementVNode215, openBlock as _openBlock215, createElementBlock as _createElementBlock215 } from \"vue\";\nvar refresh_left_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent215({\n name: \"RefreshLeft\",\n __name: \"refresh-left\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock215(), _createElementBlock215(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode215(\"path\", {\n fill: \"currentColor\",\n d: \"M289.088 296.704h92.992a32 32 0 0 1 0 64H232.96a32 32 0 0 1-32-32V179.712a32 32 0 0 1 64 0v50.56a384 384 0 0 1 643.84 282.88 384 384 0 0 1-383.936 384 384 384 0 0 1-384-384h64a320 320 0 1 0 640 0 320 320 0 0 0-555.712-216.448z\"\n })\n ]));\n }\n});\n\n// src/components/refresh-left.vue\nvar refresh_left_default = refresh_left_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/refresh-right.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent216 } from \"vue\";\nimport { createElementVNode as _createElementVNode216, openBlock as _openBlock216, createElementBlock as _createElementBlock216 } from \"vue\";\nvar refresh_right_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent216({\n name: \"RefreshRight\",\n __name: \"refresh-right\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock216(), _createElementBlock216(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode216(\"path\", {\n fill: \"currentColor\",\n d: \"M784.512 230.272v-50.56a32 32 0 1 1 64 0v149.056a32 32 0 0 1-32 32H667.52a32 32 0 1 1 0-64h92.992A320 320 0 1 0 524.8 833.152a320 320 0 0 0 320-320h64a384 384 0 0 1-384 384 384 384 0 0 1-384-384 384 384 0 0 1 643.712-282.88z\"\n })\n ]));\n }\n});\n\n// src/components/refresh-right.vue\nvar refresh_right_default = refresh_right_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/refresh.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent217 } from \"vue\";\nimport { createElementVNode as _createElementVNode217, openBlock as _openBlock217, createElementBlock as _createElementBlock217 } from \"vue\";\nvar refresh_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent217({\n name: \"Refresh\",\n __name: \"refresh\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock217(), _createElementBlock217(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode217(\"path\", {\n fill: \"currentColor\",\n d: \"M771.776 794.88A384 384 0 0 1 128 512h64a320 320 0 0 0 555.712 216.448H654.72a32 32 0 1 1 0-64h149.056a32 32 0 0 1 32 32v148.928a32 32 0 1 1-64 0v-50.56zM276.288 295.616h92.992a32 32 0 0 1 0 64H220.16a32 32 0 0 1-32-32V178.56a32 32 0 0 1 64 0v50.56A384 384 0 0 1 896.128 512h-64a320 320 0 0 0-555.776-216.384z\"\n })\n ]));\n }\n});\n\n// src/components/refresh.vue\nvar refresh_default = refresh_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/refrigerator.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent218 } from \"vue\";\nimport { createElementVNode as _createElementVNode218, openBlock as _openBlock218, createElementBlock as _createElementBlock218 } from \"vue\";\nvar refrigerator_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent218({\n name: \"Refrigerator\",\n __name: \"refrigerator\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock218(), _createElementBlock218(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode218(\"path\", {\n fill: \"currentColor\",\n d: \"M256 448h512V160a32 32 0 0 0-32-32H288a32 32 0 0 0-32 32zm0 64v352a32 32 0 0 0 32 32h448a32 32 0 0 0 32-32V512zm32-448h448a96 96 0 0 1 96 96v704a96 96 0 0 1-96 96H288a96 96 0 0 1-96-96V160a96 96 0 0 1 96-96m32 224h64v96h-64zm0 288h64v96h-64z\"\n })\n ]));\n }\n});\n\n// src/components/refrigerator.vue\nvar refrigerator_default = refrigerator_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/remove-filled.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent219 } from \"vue\";\nimport { createElementVNode as _createElementVNode219, openBlock as _openBlock219, createElementBlock as _createElementBlock219 } from \"vue\";\nvar remove_filled_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent219({\n name: \"RemoveFilled\",\n __name: \"remove-filled\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock219(), _createElementBlock219(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode219(\"path\", {\n fill: \"currentColor\",\n d: \"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896M288 512a38.4 38.4 0 0 0 38.4 38.4h371.2a38.4 38.4 0 0 0 0-76.8H326.4A38.4 38.4 0 0 0 288 512\"\n })\n ]));\n }\n});\n\n// src/components/remove-filled.vue\nvar remove_filled_default = remove_filled_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/remove.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent220 } from \"vue\";\nimport { createElementVNode as _createElementVNode220, openBlock as _openBlock220, createElementBlock as _createElementBlock220 } from \"vue\";\nvar remove_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent220({\n name: \"Remove\",\n __name: \"remove\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock220(), _createElementBlock220(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode220(\"path\", {\n fill: \"currentColor\",\n d: \"M352 480h320a32 32 0 1 1 0 64H352a32 32 0 0 1 0-64\"\n }),\n _createElementVNode220(\"path\", {\n fill: \"currentColor\",\n d: \"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896\"\n })\n ]));\n }\n});\n\n// src/components/remove.vue\nvar remove_default = remove_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/right.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent221 } from \"vue\";\nimport { createElementVNode as _createElementVNode221, openBlock as _openBlock221, createElementBlock as _createElementBlock221 } from \"vue\";\nvar right_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent221({\n name: \"Right\",\n __name: \"right\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock221(), _createElementBlock221(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode221(\"path\", {\n fill: \"currentColor\",\n d: \"M754.752 480H160a32 32 0 1 0 0 64h594.752L521.344 777.344a32 32 0 0 0 45.312 45.312l288-288a32 32 0 0 0 0-45.312l-288-288a32 32 0 1 0-45.312 45.312z\"\n })\n ]));\n }\n});\n\n// src/components/right.vue\nvar right_default = right_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/scale-to-original.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent222 } from \"vue\";\nimport { createElementVNode as _createElementVNode222, openBlock as _openBlock222, createElementBlock as _createElementBlock222 } from \"vue\";\nvar scale_to_original_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent222({\n name: \"ScaleToOriginal\",\n __name: \"scale-to-original\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock222(), _createElementBlock222(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode222(\"path\", {\n fill: \"currentColor\",\n d: \"M813.176 180.706a60.235 60.235 0 0 1 60.236 60.235v481.883a60.235 60.235 0 0 1-60.236 60.235H210.824a60.235 60.235 0 0 1-60.236-60.235V240.94a60.235 60.235 0 0 1 60.236-60.235h602.352zm0-60.235H210.824A120.47 120.47 0 0 0 90.353 240.94v481.883a120.47 120.47 0 0 0 120.47 120.47h602.353a120.47 120.47 0 0 0 120.471-120.47V240.94a120.47 120.47 0 0 0-120.47-120.47zm-120.47 180.705a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 0 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118zm-361.412 0a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 1 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118M512 361.412a30.118 30.118 0 0 0-30.118 30.117v30.118a30.118 30.118 0 0 0 60.236 0V391.53A30.118 30.118 0 0 0 512 361.412M512 512a30.118 30.118 0 0 0-30.118 30.118v30.117a30.118 30.118 0 0 0 60.236 0v-30.117A30.118 30.118 0 0 0 512 512\"\n })\n ]));\n }\n});\n\n// src/components/scale-to-original.vue\nvar scale_to_original_default = scale_to_original_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/school.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent223 } from \"vue\";\nimport { createElementVNode as _createElementVNode223, openBlock as _openBlock223, createElementBlock as _createElementBlock223 } from \"vue\";\nvar school_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent223({\n name: \"School\",\n __name: \"school\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock223(), _createElementBlock223(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode223(\"path\", {\n fill: \"currentColor\",\n d: \"M224 128v704h576V128zm-32-64h640a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32\"\n }),\n _createElementVNode223(\"path\", {\n fill: \"currentColor\",\n d: \"M64 832h896v64H64zm256-640h128v96H320z\"\n }),\n _createElementVNode223(\"path\", {\n fill: \"currentColor\",\n d: \"M384 832h256v-64a128 128 0 1 0-256 0zm128-256a192 192 0 0 1 192 192v128H320V768a192 192 0 0 1 192-192M320 384h128v96H320zm256-192h128v96H576zm0 192h128v96H576z\"\n })\n ]));\n }\n});\n\n// src/components/school.vue\nvar school_default = school_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/scissor.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent224 } from \"vue\";\nimport { createElementVNode as _createElementVNode224, openBlock as _openBlock224, createElementBlock as _createElementBlock224 } from \"vue\";\nvar scissor_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent224({\n name: \"Scissor\",\n __name: \"scissor\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock224(), _createElementBlock224(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode224(\"path\", {\n fill: \"currentColor\",\n d: \"m512.064 578.368-106.88 152.768a160 160 0 1 1-23.36-78.208L472.96 522.56 196.864 128.256a32 32 0 1 1 52.48-36.736l393.024 561.344a160 160 0 1 1-23.36 78.208l-106.88-152.704zm54.4-189.248 208.384-297.6a32 32 0 0 1 52.48 36.736l-221.76 316.672-39.04-55.808zm-376.32 425.856a96 96 0 1 0 110.144-157.248 96 96 0 0 0-110.08 157.248zm643.84 0a96 96 0 1 0-110.08-157.248 96 96 0 0 0 110.08 157.248\"\n })\n ]));\n }\n});\n\n// src/components/scissor.vue\nvar scissor_default = scissor_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/search.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent225 } from \"vue\";\nimport { createElementVNode as _createElementVNode225, openBlock as _openBlock225, createElementBlock as _createElementBlock225 } from \"vue\";\nvar search_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent225({\n name: \"Search\",\n __name: \"search\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock225(), _createElementBlock225(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode225(\"path\", {\n fill: \"currentColor\",\n d: \"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704\"\n })\n ]));\n }\n});\n\n// src/components/search.vue\nvar search_default = search_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/select.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent226 } from \"vue\";\nimport { createElementVNode as _createElementVNode226, openBlock as _openBlock226, createElementBlock as _createElementBlock226 } from \"vue\";\nvar select_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent226({\n name: \"Select\",\n __name: \"select\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock226(), _createElementBlock226(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode226(\"path\", {\n fill: \"currentColor\",\n d: \"M77.248 415.04a64 64 0 0 1 90.496 0l226.304 226.304L846.528 188.8a64 64 0 1 1 90.56 90.496l-543.04 543.04-316.8-316.8a64 64 0 0 1 0-90.496z\"\n })\n ]));\n }\n});\n\n// src/components/select.vue\nvar select_default = select_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/sell.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent227 } from \"vue\";\nimport { createElementVNode as _createElementVNode227, openBlock as _openBlock227, createElementBlock as _createElementBlock227 } from \"vue\";\nvar sell_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent227({\n name: \"Sell\",\n __name: \"sell\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock227(), _createElementBlock227(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode227(\"path\", {\n fill: \"currentColor\",\n d: \"M704 288h131.072a32 32 0 0 1 31.808 28.8L886.4 512h-64.384l-16-160H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0v-96H217.92l-51.2 512H512v64H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4zm-64 0v-22.336C640 189.248 582.272 128 512 128c-70.272 0-128 61.248-128 137.664v22.4h256zm201.408 483.84L768 698.496V928a32 32 0 1 1-64 0V698.496l-73.344 73.344a32 32 0 1 1-45.248-45.248l128-128a32 32 0 0 1 45.248 0l128 128a32 32 0 1 1-45.248 45.248z\"\n })\n ]));\n }\n});\n\n// src/components/sell.vue\nvar sell_default = sell_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/semi-select.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent228 } from \"vue\";\nimport { createElementVNode as _createElementVNode228, openBlock as _openBlock228, createElementBlock as _createElementBlock228 } from \"vue\";\nvar semi_select_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent228({\n name: \"SemiSelect\",\n __name: \"semi-select\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock228(), _createElementBlock228(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode228(\"path\", {\n fill: \"currentColor\",\n d: \"M128 448h768q64 0 64 64t-64 64H128q-64 0-64-64t64-64\"\n })\n ]));\n }\n});\n\n// src/components/semi-select.vue\nvar semi_select_default = semi_select_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/service.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent229 } from \"vue\";\nimport { createElementVNode as _createElementVNode229, openBlock as _openBlock229, createElementBlock as _createElementBlock229 } from \"vue\";\nvar service_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent229({\n name: \"Service\",\n __name: \"service\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock229(), _createElementBlock229(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode229(\"path\", {\n fill: \"currentColor\",\n d: \"M864 409.6a192 192 0 0 1-37.888 349.44A256.064 256.064 0 0 1 576 960h-96a32 32 0 1 1 0-64h96a192.064 192.064 0 0 0 181.12-128H736a32 32 0 0 1-32-32V416a32 32 0 0 1 32-32h32c10.368 0 20.544.832 30.528 2.432a288 288 0 0 0-573.056 0A193.235 193.235 0 0 1 256 384h32a32 32 0 0 1 32 32v320a32 32 0 0 1-32 32h-32a192 192 0 0 1-96-358.4 352 352 0 0 1 704 0M256 448a128 128 0 1 0 0 256zm640 128a128 128 0 0 0-128-128v256a128 128 0 0 0 128-128\"\n })\n ]));\n }\n});\n\n// src/components/service.vue\nvar service_default = service_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/set-up.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent230 } from \"vue\";\nimport { createElementVNode as _createElementVNode230, openBlock as _openBlock230, createElementBlock as _createElementBlock230 } from \"vue\";\nvar set_up_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent230({\n name: \"SetUp\",\n __name: \"set-up\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock230(), _createElementBlock230(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode230(\"path\", {\n fill: \"currentColor\",\n d: \"M224 160a64 64 0 0 0-64 64v576a64 64 0 0 0 64 64h576a64 64 0 0 0 64-64V224a64 64 0 0 0-64-64zm0-64h576a128 128 0 0 1 128 128v576a128 128 0 0 1-128 128H224A128 128 0 0 1 96 800V224A128 128 0 0 1 224 96\"\n }),\n _createElementVNode230(\"path\", {\n fill: \"currentColor\",\n d: \"M384 416a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256\"\n }),\n _createElementVNode230(\"path\", {\n fill: \"currentColor\",\n d: \"M480 320h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32m160 416a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256\"\n }),\n _createElementVNode230(\"path\", {\n fill: \"currentColor\",\n d: \"M288 640h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32\"\n })\n ]));\n }\n});\n\n// src/components/set-up.vue\nvar set_up_default = set_up_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/setting.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent231 } from \"vue\";\nimport { createElementVNode as _createElementVNode231, openBlock as _openBlock231, createElementBlock as _createElementBlock231 } from \"vue\";\nvar setting_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent231({\n name: \"Setting\",\n __name: \"setting\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock231(), _createElementBlock231(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode231(\"path\", {\n fill: \"currentColor\",\n d: \"M600.704 64a32 32 0 0 1 30.464 22.208l35.2 109.376c14.784 7.232 28.928 15.36 42.432 24.512l112.384-24.192a32 32 0 0 1 34.432 15.36L944.32 364.8a32 32 0 0 1-4.032 37.504l-77.12 85.12a357.12 357.12 0 0 1 0 49.024l77.12 85.248a32 32 0 0 1 4.032 37.504l-88.704 153.6a32 32 0 0 1-34.432 15.296L708.8 803.904c-13.44 9.088-27.648 17.28-42.368 24.512l-35.264 109.376A32 32 0 0 1 600.704 960H423.296a32 32 0 0 1-30.464-22.208L357.696 828.48a351.616 351.616 0 0 1-42.56-24.64l-112.32 24.256a32 32 0 0 1-34.432-15.36L79.68 659.2a32 32 0 0 1 4.032-37.504l77.12-85.248a357.12 357.12 0 0 1 0-48.896l-77.12-85.248A32 32 0 0 1 79.68 364.8l88.704-153.6a32 32 0 0 1 34.432-15.296l112.32 24.256c13.568-9.152 27.776-17.408 42.56-24.64l35.2-109.312A32 32 0 0 1 423.232 64H600.64zm-23.424 64H446.72l-36.352 113.088-24.512 11.968a294.113 294.113 0 0 0-34.816 20.096l-22.656 15.36-116.224-25.088-65.28 113.152 79.68 88.192-1.92 27.136a293.12 293.12 0 0 0 0 40.192l1.92 27.136-79.808 88.192 65.344 113.152 116.224-25.024 22.656 15.296a294.113 294.113 0 0 0 34.816 20.096l24.512 11.968L446.72 896h130.688l36.48-113.152 24.448-11.904a288.282 288.282 0 0 0 34.752-20.096l22.592-15.296 116.288 25.024 65.28-113.152-79.744-88.192 1.92-27.136a293.12 293.12 0 0 0 0-40.256l-1.92-27.136 79.808-88.128-65.344-113.152-116.288 24.96-22.592-15.232a287.616 287.616 0 0 0-34.752-20.096l-24.448-11.904L577.344 128zM512 320a192 192 0 1 1 0 384 192 192 0 0 1 0-384m0 64a128 128 0 1 0 0 256 128 128 0 0 0 0-256\"\n })\n ]));\n }\n});\n\n// src/components/setting.vue\nvar setting_default = setting_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/share.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent232 } from \"vue\";\nimport { createElementVNode as _createElementVNode232, openBlock as _openBlock232, createElementBlock as _createElementBlock232 } from \"vue\";\nvar share_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent232({\n name: \"Share\",\n __name: \"share\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock232(), _createElementBlock232(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode232(\"path\", {\n fill: \"currentColor\",\n d: \"m679.872 348.8-301.76 188.608a127.808 127.808 0 0 1 5.12 52.16l279.936 104.96a128 128 0 1 1-22.464 59.904l-279.872-104.96a128 128 0 1 1-16.64-166.272l301.696-188.608a128 128 0 1 1 33.92 54.272z\"\n })\n ]));\n }\n});\n\n// src/components/share.vue\nvar share_default = share_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/ship.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent233 } from \"vue\";\nimport { createElementVNode as _createElementVNode233, openBlock as _openBlock233, createElementBlock as _createElementBlock233 } from \"vue\";\nvar ship_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent233({\n name: \"Ship\",\n __name: \"ship\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock233(), _createElementBlock233(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode233(\"path\", {\n fill: \"currentColor\",\n d: \"M512 386.88V448h405.568a32 32 0 0 1 30.72 40.768l-76.48 267.968A192 192 0 0 1 687.168 896H336.832a192 192 0 0 1-184.64-139.264L75.648 488.768A32 32 0 0 1 106.368 448H448V117.888a32 32 0 0 1 47.36-28.096l13.888 7.616L512 96v2.88l231.68 126.4a32 32 0 0 1-2.048 57.216zm0-70.272 144.768-65.792L512 171.84zM512 512H148.864l18.24 64H856.96l18.24-64zM185.408 640l28.352 99.2A128 128 0 0 0 336.832 832h350.336a128 128 0 0 0 123.072-92.8l28.352-99.2H185.408\"\n })\n ]));\n }\n});\n\n// src/components/ship.vue\nvar ship_default = ship_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/shop.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent234 } from \"vue\";\nimport { createElementVNode as _createElementVNode234, openBlock as _openBlock234, createElementBlock as _createElementBlock234 } from \"vue\";\nvar shop_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent234({\n name: \"Shop\",\n __name: \"shop\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock234(), _createElementBlock234(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode234(\"path\", {\n fill: \"currentColor\",\n d: \"M704 704h64v192H256V704h64v64h384zm188.544-152.192C894.528 559.616 896 567.616 896 576a96 96 0 1 1-192 0 96 96 0 1 1-192 0 96 96 0 1 1-192 0 96 96 0 1 1-192 0c0-8.384 1.408-16.384 3.392-24.192L192 128h640z\"\n })\n ]));\n }\n});\n\n// src/components/shop.vue\nvar shop_default = shop_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/shopping-bag.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent235 } from \"vue\";\nimport { createElementVNode as _createElementVNode235, openBlock as _openBlock235, createElementBlock as _createElementBlock235 } from \"vue\";\nvar shopping_bag_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent235({\n name: \"ShoppingBag\",\n __name: \"shopping-bag\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock235(), _createElementBlock235(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode235(\"path\", {\n fill: \"currentColor\",\n d: \"M704 320v96a32 32 0 0 1-32 32h-32V320H384v128h-32a32 32 0 0 1-32-32v-96H192v576h640V320zm-384-64a192 192 0 1 1 384 0h160a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32zm64 0h256a128 128 0 1 0-256 0\"\n }),\n _createElementVNode235(\"path\", {\n fill: \"currentColor\",\n d: \"M192 704h640v64H192z\"\n })\n ]));\n }\n});\n\n// src/components/shopping-bag.vue\nvar shopping_bag_default = shopping_bag_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/shopping-cart-full.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent236 } from \"vue\";\nimport { createElementVNode as _createElementVNode236, openBlock as _openBlock236, createElementBlock as _createElementBlock236 } from \"vue\";\nvar shopping_cart_full_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent236({\n name: \"ShoppingCartFull\",\n __name: \"shopping-cart-full\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock236(), _createElementBlock236(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode236(\"path\", {\n fill: \"currentColor\",\n d: \"M432 928a48 48 0 1 1 0-96 48 48 0 0 1 0 96m320 0a48 48 0 1 1 0-96 48 48 0 0 1 0 96M96 128a32 32 0 0 1 0-64h160a32 32 0 0 1 31.36 25.728L320.64 256H928a32 32 0 0 1 31.296 38.72l-96 448A32 32 0 0 1 832 768H384a32 32 0 0 1-31.36-25.728L229.76 128zm314.24 576h395.904l82.304-384H333.44l76.8 384z\"\n }),\n _createElementVNode236(\"path\", {\n fill: \"currentColor\",\n d: \"M699.648 256 608 145.984 516.352 256h183.296zm-140.8-151.04a64 64 0 0 1 98.304 0L836.352 320H379.648l179.2-215.04\"\n })\n ]));\n }\n});\n\n// src/components/shopping-cart-full.vue\nvar shopping_cart_full_default = shopping_cart_full_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/shopping-cart.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent237 } from \"vue\";\nimport { createElementVNode as _createElementVNode237, openBlock as _openBlock237, createElementBlock as _createElementBlock237 } from \"vue\";\nvar shopping_cart_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent237({\n name: \"ShoppingCart\",\n __name: \"shopping-cart\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock237(), _createElementBlock237(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode237(\"path\", {\n fill: \"currentColor\",\n d: \"M432 928a48 48 0 1 1 0-96 48 48 0 0 1 0 96m320 0a48 48 0 1 1 0-96 48 48 0 0 1 0 96M96 128a32 32 0 0 1 0-64h160a32 32 0 0 1 31.36 25.728L320.64 256H928a32 32 0 0 1 31.296 38.72l-96 448A32 32 0 0 1 832 768H384a32 32 0 0 1-31.36-25.728L229.76 128zm314.24 576h395.904l82.304-384H333.44l76.8 384z\"\n })\n ]));\n }\n});\n\n// src/components/shopping-cart.vue\nvar shopping_cart_default = shopping_cart_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/shopping-trolley.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent238 } from \"vue\";\nimport { createElementVNode as _createElementVNode238, openBlock as _openBlock238, createElementBlock as _createElementBlock238 } from \"vue\";\nvar shopping_trolley_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent238({\n name: \"ShoppingTrolley\",\n __name: \"shopping-trolley\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock238(), _createElementBlock238(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n \"xml:space\": \"preserve\",\n style: { \"enable-background\": \"new 0 0 1024 1024\" },\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode238(\"path\", {\n fill: \"currentColor\",\n d: \"M368 833c-13.3 0-24.5 4.5-33.5 13.5S321 866.7 321 880s4.5 24.5 13.5 33.5 20.2 13.8 33.5 14.5c13.3-.7 24.5-5.5 33.5-14.5S415 893.3 415 880s-4.5-24.5-13.5-33.5S381.3 833 368 833m439-193c7.4 0 13.8-2.2 19.5-6.5S836 623.3 838 616l112-448c2-10-.2-19.2-6.5-27.5S929 128 919 128H96c-9.3 0-17 3-23 9s-9 13.7-9 23 3 17 9 23 13.7 9 23 9h96v576h672c9.3 0 17-3 23-9s9-13.7 9-23-3-17-9-23-13.7-9-23-9H256v-64zM256 192h622l-96 384H256zm432 641c-13.3 0-24.5 4.5-33.5 13.5S641 866.7 641 880s4.5 24.5 13.5 33.5 20.2 13.8 33.5 14.5c13.3-.7 24.5-5.5 33.5-14.5S735 893.3 735 880s-4.5-24.5-13.5-33.5S701.3 833 688 833\"\n })\n ]));\n }\n});\n\n// src/components/shopping-trolley.vue\nvar shopping_trolley_default = shopping_trolley_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/smoking.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent239 } from \"vue\";\nimport { createElementVNode as _createElementVNode239, openBlock as _openBlock239, createElementBlock as _createElementBlock239 } from \"vue\";\nvar smoking_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent239({\n name: \"Smoking\",\n __name: \"smoking\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock239(), _createElementBlock239(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode239(\"path\", {\n fill: \"currentColor\",\n d: \"M256 576v128h640V576zm-32-64h704a32 32 0 0 1 32 32v192a32 32 0 0 1-32 32H224a32 32 0 0 1-32-32V544a32 32 0 0 1 32-32\"\n }),\n _createElementVNode239(\"path\", {\n fill: \"currentColor\",\n d: \"M704 576h64v128h-64zM256 64h64v320h-64zM128 192h64v192h-64zM64 512h64v256H64z\"\n })\n ]));\n }\n});\n\n// src/components/smoking.vue\nvar smoking_default = smoking_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/soccer.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent240 } from \"vue\";\nimport { createElementVNode as _createElementVNode240, openBlock as _openBlock240, createElementBlock as _createElementBlock240 } from \"vue\";\nvar soccer_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent240({\n name: \"Soccer\",\n __name: \"soccer\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock240(), _createElementBlock240(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode240(\"path\", {\n fill: \"currentColor\",\n d: \"M418.496 871.04 152.256 604.8c-16.512 94.016-2.368 178.624 42.944 224 44.928 44.928 129.344 58.752 223.296 42.24m72.32-18.176a573.056 573.056 0 0 0 224.832-137.216 573.12 573.12 0 0 0 137.216-224.832L533.888 171.84a578.56 578.56 0 0 0-227.52 138.496A567.68 567.68 0 0 0 170.432 532.48l320.384 320.384zM871.04 418.496c16.512-93.952 2.688-178.368-42.24-223.296-44.544-44.544-128.704-58.048-222.592-41.536zM149.952 874.048c-112.96-112.96-88.832-408.96 111.168-608.96C461.056 65.152 760.96 36.928 874.048 149.952c113.024 113.024 86.784 411.008-113.152 610.944-199.936 199.936-497.92 226.112-610.944 113.152m452.544-497.792 22.656-22.656a32 32 0 0 1 45.248 45.248l-22.656 22.656 45.248 45.248A32 32 0 1 1 647.744 512l-45.248-45.248L557.248 512l45.248 45.248a32 32 0 1 1-45.248 45.248L512 557.248l-45.248 45.248L512 647.744a32 32 0 1 1-45.248 45.248l-45.248-45.248-22.656 22.656a32 32 0 1 1-45.248-45.248l22.656-22.656-45.248-45.248A32 32 0 1 1 376.256 512l45.248 45.248L466.752 512l-45.248-45.248a32 32 0 1 1 45.248-45.248L512 466.752l45.248-45.248L512 376.256a32 32 0 0 1 45.248-45.248l45.248 45.248z\"\n })\n ]));\n }\n});\n\n// src/components/soccer.vue\nvar soccer_default = soccer_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/sold-out.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent241 } from \"vue\";\nimport { createElementVNode as _createElementVNode241, openBlock as _openBlock241, createElementBlock as _createElementBlock241 } from \"vue\";\nvar sold_out_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent241({\n name: \"SoldOut\",\n __name: \"sold-out\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock241(), _createElementBlock241(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode241(\"path\", {\n fill: \"currentColor\",\n d: \"M704 288h131.072a32 32 0 0 1 31.808 28.8L886.4 512h-64.384l-16-160H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0v-96H217.92l-51.2 512H512v64H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4zm-64 0v-22.336C640 189.248 582.272 128 512 128c-70.272 0-128 61.248-128 137.664v22.4h256zm201.408 476.16a32 32 0 1 1 45.248 45.184l-128 128a32 32 0 0 1-45.248 0l-128-128a32 32 0 1 1 45.248-45.248L704 837.504V608a32 32 0 1 1 64 0v229.504l73.408-73.408z\"\n })\n ]));\n }\n});\n\n// src/components/sold-out.vue\nvar sold_out_default = sold_out_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/sort-down.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent242 } from \"vue\";\nimport { createElementVNode as _createElementVNode242, openBlock as _openBlock242, createElementBlock as _createElementBlock242 } from \"vue\";\nvar sort_down_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent242({\n name: \"SortDown\",\n __name: \"sort-down\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock242(), _createElementBlock242(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode242(\"path\", {\n fill: \"currentColor\",\n d: \"M576 96v709.568L333.312 562.816A32 32 0 1 0 288 608l297.408 297.344A32 32 0 0 0 640 882.688V96a32 32 0 0 0-64 0\"\n })\n ]));\n }\n});\n\n// src/components/sort-down.vue\nvar sort_down_default = sort_down_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/sort-up.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent243 } from \"vue\";\nimport { createElementVNode as _createElementVNode243, openBlock as _openBlock243, createElementBlock as _createElementBlock243 } from \"vue\";\nvar sort_up_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent243({\n name: \"SortUp\",\n __name: \"sort-up\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock243(), _createElementBlock243(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode243(\"path\", {\n fill: \"currentColor\",\n d: \"M384 141.248V928a32 32 0 1 0 64 0V218.56l242.688 242.688A32 32 0 1 0 736 416L438.592 118.656A32 32 0 0 0 384 141.248\"\n })\n ]));\n }\n});\n\n// src/components/sort-up.vue\nvar sort_up_default = sort_up_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/sort.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent244 } from \"vue\";\nimport { createElementVNode as _createElementVNode244, openBlock as _openBlock244, createElementBlock as _createElementBlock244 } from \"vue\";\nvar sort_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent244({\n name: \"Sort\",\n __name: \"sort\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock244(), _createElementBlock244(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode244(\"path\", {\n fill: \"currentColor\",\n d: \"M384 96a32 32 0 0 1 64 0v786.752a32 32 0 0 1-54.592 22.656L95.936 608a32 32 0 0 1 0-45.312h.128a32 32 0 0 1 45.184 0L384 805.632zm192 45.248a32 32 0 0 1 54.592-22.592L928.064 416a32 32 0 0 1 0 45.312h-.128a32 32 0 0 1-45.184 0L640 218.496V928a32 32 0 1 1-64 0V141.248z\"\n })\n ]));\n }\n});\n\n// src/components/sort.vue\nvar sort_default = sort_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/stamp.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent245 } from \"vue\";\nimport { createElementVNode as _createElementVNode245, openBlock as _openBlock245, createElementBlock as _createElementBlock245 } from \"vue\";\nvar stamp_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent245({\n name: \"Stamp\",\n __name: \"stamp\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock245(), _createElementBlock245(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode245(\"path\", {\n fill: \"currentColor\",\n d: \"M624 475.968V640h144a128 128 0 0 1 128 128H128a128 128 0 0 1 128-128h144V475.968a192 192 0 1 1 224 0M128 896v-64h768v64z\"\n })\n ]));\n }\n});\n\n// src/components/stamp.vue\nvar stamp_default = stamp_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/star-filled.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent246 } from \"vue\";\nimport { createElementVNode as _createElementVNode246, openBlock as _openBlock246, createElementBlock as _createElementBlock246 } from \"vue\";\nvar star_filled_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent246({\n name: \"StarFilled\",\n __name: \"star-filled\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock246(), _createElementBlock246(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode246(\"path\", {\n fill: \"currentColor\",\n d: \"M283.84 867.84 512 747.776l228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72z\"\n })\n ]));\n }\n});\n\n// src/components/star-filled.vue\nvar star_filled_default = star_filled_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/star.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent247 } from \"vue\";\nimport { createElementVNode as _createElementVNode247, openBlock as _openBlock247, createElementBlock as _createElementBlock247 } from \"vue\";\nvar star_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent247({\n name: \"Star\",\n __name: \"star\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock247(), _createElementBlock247(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode247(\"path\", {\n fill: \"currentColor\",\n d: \"m512 747.84 228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72zM313.6 924.48a70.4 70.4 0 0 1-102.144-74.24l37.888-220.928L88.96 472.96A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 126.208 0l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z\"\n })\n ]));\n }\n});\n\n// src/components/star.vue\nvar star_default = star_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/stopwatch.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent248 } from \"vue\";\nimport { createElementVNode as _createElementVNode248, openBlock as _openBlock248, createElementBlock as _createElementBlock248 } from \"vue\";\nvar stopwatch_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent248({\n name: \"Stopwatch\",\n __name: \"stopwatch\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock248(), _createElementBlock248(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode248(\"path\", {\n fill: \"currentColor\",\n d: \"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896\"\n }),\n _createElementVNode248(\"path\", {\n fill: \"currentColor\",\n d: \"M672 234.88c-39.168 174.464-80 298.624-122.688 372.48-64 110.848-202.624 30.848-138.624-80C453.376 453.44 540.48 355.968 672 234.816z\"\n })\n ]));\n }\n});\n\n// src/components/stopwatch.vue\nvar stopwatch_default = stopwatch_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/success-filled.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent249 } from \"vue\";\nimport { createElementVNode as _createElementVNode249, openBlock as _openBlock249, createElementBlock as _createElementBlock249 } from \"vue\";\nvar success_filled_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent249({\n name: \"SuccessFilled\",\n __name: \"success-filled\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock249(), _createElementBlock249(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode249(\"path\", {\n fill: \"currentColor\",\n d: \"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z\"\n })\n ]));\n }\n});\n\n// src/components/success-filled.vue\nvar success_filled_default = success_filled_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/sugar.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent250 } from \"vue\";\nimport { createElementVNode as _createElementVNode250, openBlock as _openBlock250, createElementBlock as _createElementBlock250 } from \"vue\";\nvar sugar_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent250({\n name: \"Sugar\",\n __name: \"sugar\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock250(), _createElementBlock250(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode250(\"path\", {\n fill: \"currentColor\",\n d: \"m801.728 349.184 4.48 4.48a128 128 0 0 1 0 180.992L534.656 806.144a128 128 0 0 1-181.056 0l-4.48-4.48-19.392 109.696a64 64 0 0 1-108.288 34.176L78.464 802.56a64 64 0 0 1 34.176-108.288l109.76-19.328-4.544-4.544a128 128 0 0 1 0-181.056l271.488-271.488a128 128 0 0 1 181.056 0l4.48 4.48 19.392-109.504a64 64 0 0 1 108.352-34.048l142.592 143.04a64 64 0 0 1-34.24 108.16l-109.248 19.2zm-548.8 198.72h447.168v2.24l60.8-60.8a63.808 63.808 0 0 0 18.752-44.416h-426.88l-89.664 89.728a64.064 64.064 0 0 0-10.24 13.248zm0 64c2.752 4.736 6.144 9.152 10.176 13.248l135.744 135.744a64 64 0 0 0 90.496 0L638.4 611.904zm490.048-230.976L625.152 263.104a64 64 0 0 0-90.496 0L416.768 380.928zM123.712 757.312l142.976 142.976 24.32-137.6a25.6 25.6 0 0 0-29.696-29.632l-137.6 24.256zm633.6-633.344-24.32 137.472a25.6 25.6 0 0 0 29.632 29.632l137.28-24.064-142.656-143.04z\"\n })\n ]));\n }\n});\n\n// src/components/sugar.vue\nvar sugar_default = sugar_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/suitcase-line.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent251 } from \"vue\";\nimport { createElementVNode as _createElementVNode251, openBlock as _openBlock251, createElementBlock as _createElementBlock251 } from \"vue\";\nvar suitcase_line_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent251({\n name: \"SuitcaseLine\",\n __name: \"suitcase-line\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock251(), _createElementBlock251(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n \"xml:space\": \"preserve\",\n style: { \"enable-background\": \"new 0 0 1024 1024\" },\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode251(\"path\", {\n fill: \"currentColor\",\n d: \"M922.5 229.5c-24.32-24.34-54.49-36.84-90.5-37.5H704v-64c-.68-17.98-7.02-32.98-19.01-44.99S658.01 64.66 640 64H384c-17.98.68-32.98 7.02-44.99 19.01S320.66 110 320 128v64H192c-35.99.68-66.16 13.18-90.5 37.5C77.16 253.82 64.66 283.99 64 320v448c.68 35.99 13.18 66.16 37.5 90.5s54.49 36.84 90.5 37.5h640c35.99-.68 66.16-13.18 90.5-37.5s36.84-54.49 37.5-90.5V320c-.68-35.99-13.18-66.16-37.5-90.5M384 128h256v64H384zM256 832h-64c-17.98-.68-32.98-7.02-44.99-19.01S128.66 786.01 128 768V448h128zm448 0H320V448h384zm192-64c-.68 17.98-7.02 32.98-19.01 44.99S850.01 831.34 832 832h-64V448h128zm0-384H128v-64c.69-17.98 7.02-32.98 19.01-44.99S173.99 256.66 192 256h640c17.98.69 32.98 7.02 44.99 19.01S895.34 301.99 896 320z\"\n })\n ]));\n }\n});\n\n// src/components/suitcase-line.vue\nvar suitcase_line_default = suitcase_line_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/suitcase.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent252 } from \"vue\";\nimport { createElementVNode as _createElementVNode252, openBlock as _openBlock252, createElementBlock as _createElementBlock252 } from \"vue\";\nvar suitcase_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent252({\n name: \"Suitcase\",\n __name: \"suitcase\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock252(), _createElementBlock252(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode252(\"path\", {\n fill: \"currentColor\",\n d: \"M128 384h768v-64a64 64 0 0 0-64-64H192a64 64 0 0 0-64 64zm0 64v320a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V448zm64-256h640a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H192A128 128 0 0 1 64 768V320a128 128 0 0 1 128-128\"\n }),\n _createElementVNode252(\"path\", {\n fill: \"currentColor\",\n d: \"M384 128v64h256v-64zm0-64h256a64 64 0 0 1 64 64v64a64 64 0 0 1-64 64H384a64 64 0 0 1-64-64v-64a64 64 0 0 1 64-64\"\n })\n ]));\n }\n});\n\n// src/components/suitcase.vue\nvar suitcase_default = suitcase_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/sunny.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent253 } from \"vue\";\nimport { createElementVNode as _createElementVNode253, openBlock as _openBlock253, createElementBlock as _createElementBlock253 } from \"vue\";\nvar sunny_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent253({\n name: \"Sunny\",\n __name: \"sunny\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock253(), _createElementBlock253(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode253(\"path\", {\n fill: \"currentColor\",\n d: \"M512 704a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512m0-704a32 32 0 0 1 32 32v64a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 768a32 32 0 0 1 32 32v64a32 32 0 1 1-64 0v-64a32 32 0 0 1 32-32M195.2 195.2a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 1 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm543.104 543.104a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 0 1-45.248 45.248l-45.248-45.248a32 32 0 0 1 0-45.248M64 512a32 32 0 0 1 32-32h64a32 32 0 0 1 0 64H96a32 32 0 0 1-32-32m768 0a32 32 0 0 1 32-32h64a32 32 0 1 1 0 64h-64a32 32 0 0 1-32-32M195.2 828.8a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248L240.448 828.8a32 32 0 0 1-45.248 0zm543.104-543.104a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248l-45.248 45.248a32 32 0 0 1-45.248 0\"\n })\n ]));\n }\n});\n\n// src/components/sunny.vue\nvar sunny_default = sunny_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/sunrise.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent254 } from \"vue\";\nimport { createElementVNode as _createElementVNode254, openBlock as _openBlock254, createElementBlock as _createElementBlock254 } from \"vue\";\nvar sunrise_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent254({\n name: \"Sunrise\",\n __name: \"sunrise\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock254(), _createElementBlock254(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode254(\"path\", {\n fill: \"currentColor\",\n d: \"M32 768h960a32 32 0 1 1 0 64H32a32 32 0 1 1 0-64m129.408-96a352 352 0 0 1 701.184 0h-64.32a288 288 0 0 0-572.544 0h-64.32zM512 128a32 32 0 0 1 32 32v96a32 32 0 0 1-64 0v-96a32 32 0 0 1 32-32m407.296 168.704a32 32 0 0 1 0 45.248l-67.84 67.84a32 32 0 1 1-45.248-45.248l67.84-67.84a32 32 0 0 1 45.248 0zm-814.592 0a32 32 0 0 1 45.248 0l67.84 67.84a32 32 0 1 1-45.248 45.248l-67.84-67.84a32 32 0 0 1 0-45.248\"\n })\n ]));\n }\n});\n\n// src/components/sunrise.vue\nvar sunrise_default = sunrise_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/sunset.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent255 } from \"vue\";\nimport { createElementVNode as _createElementVNode255, openBlock as _openBlock255, createElementBlock as _createElementBlock255 } from \"vue\";\nvar sunset_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent255({\n name: \"Sunset\",\n __name: \"sunset\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock255(), _createElementBlock255(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode255(\"path\", {\n fill: \"currentColor\",\n d: \"M82.56 640a448 448 0 1 1 858.88 0h-67.2a384 384 0 1 0-724.288 0zM32 704h960q32 0 32 32t-32 32H32q-32 0-32-32t32-32m256 128h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32\"\n })\n ]));\n }\n});\n\n// src/components/sunset.vue\nvar sunset_default = sunset_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/switch-button.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent256 } from \"vue\";\nimport { createElementVNode as _createElementVNode256, openBlock as _openBlock256, createElementBlock as _createElementBlock256 } from \"vue\";\nvar switch_button_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent256({\n name: \"SwitchButton\",\n __name: \"switch-button\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock256(), _createElementBlock256(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode256(\"path\", {\n fill: \"currentColor\",\n d: \"M352 159.872V230.4a352 352 0 1 0 320 0v-70.528A416.128 416.128 0 0 1 512 960a416 416 0 0 1-160-800.128z\"\n }),\n _createElementVNode256(\"path\", {\n fill: \"currentColor\",\n d: \"M512 64q32 0 32 32v320q0 32-32 32t-32-32V96q0-32 32-32\"\n })\n ]));\n }\n});\n\n// src/components/switch-button.vue\nvar switch_button_default = switch_button_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/switch-filled.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent257 } from \"vue\";\nimport { createElementVNode as _createElementVNode257, openBlock as _openBlock257, createElementBlock as _createElementBlock257 } from \"vue\";\nvar switch_filled_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent257({\n name: \"SwitchFilled\",\n __name: \"switch-filled\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock257(), _createElementBlock257(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n \"xml:space\": \"preserve\",\n style: { \"enable-background\": \"new 0 0 1024 1024\" },\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode257(\"path\", {\n fill: \"currentColor\",\n d: \"M247.47 358.4v.04c.07 19.17 7.72 37.53 21.27 51.09s31.92 21.2 51.09 21.27c39.86 0 72.41-32.6 72.41-72.4s-32.6-72.36-72.41-72.36-72.36 32.55-72.36 72.36z\"\n }),\n _createElementVNode257(\"path\", {\n fill: \"currentColor\",\n d: \"M492.38 128H324.7c-52.16 0-102.19 20.73-139.08 57.61a196.655 196.655 0 0 0-57.61 139.08V698.7c-.01 25.84 5.08 51.42 14.96 75.29s24.36 45.56 42.63 63.83 39.95 32.76 63.82 42.65a196.67 196.67 0 0 0 75.28 14.98h167.68c3.03 0 5.46-2.43 5.46-5.42V133.42c.6-2.99-1.83-5.42-5.46-5.42zm-56.11 705.88H324.7c-17.76.13-35.36-3.33-51.75-10.18s-31.22-16.94-43.61-29.67c-25.3-25.35-39.81-59.1-39.81-95.32V324.69c-.13-17.75 3.33-35.35 10.17-51.74a131.695 131.695 0 0 1 29.64-43.62c25.39-25.3 59.14-39.81 95.36-39.81h111.57zm402.12-647.67a196.655 196.655 0 0 0-139.08-57.61H580.48c-3.03 0-4.82 2.43-4.82 4.82v757.16c-.6 2.99 1.79 5.42 5.42 5.42h118.23a196.69 196.69 0 0 0 139.08-57.61A196.655 196.655 0 0 0 896 699.31V325.29a196.69 196.69 0 0 0-57.61-139.08zm-111.3 441.92c-42.83 0-77.82-34.99-77.82-77.82s34.98-77.82 77.82-77.82c42.83 0 77.82 34.99 77.82 77.82s-34.99 77.82-77.82 77.82z\"\n })\n ]));\n }\n});\n\n// src/components/switch-filled.vue\nvar switch_filled_default = switch_filled_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/switch.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent258 } from \"vue\";\nimport { createElementVNode as _createElementVNode258, openBlock as _openBlock258, createElementBlock as _createElementBlock258 } from \"vue\";\nvar switch_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent258({\n name: \"Switch\",\n __name: \"switch\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock258(), _createElementBlock258(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode258(\"path\", {\n fill: \"currentColor\",\n d: \"M118.656 438.656a32 32 0 0 1 0-45.248L416 96l4.48-3.776A32 32 0 0 1 461.248 96l3.712 4.48a32.064 32.064 0 0 1-3.712 40.832L218.56 384H928a32 32 0 1 1 0 64H141.248a32 32 0 0 1-22.592-9.344zM64 608a32 32 0 0 1 32-32h786.752a32 32 0 0 1 22.656 54.592L608 928l-4.48 3.776a32.064 32.064 0 0 1-40.832-49.024L805.632 640H96a32 32 0 0 1-32-32\"\n })\n ]));\n }\n});\n\n// src/components/switch.vue\nvar switch_default = switch_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/takeaway-box.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent259 } from \"vue\";\nimport { createElementVNode as _createElementVNode259, openBlock as _openBlock259, createElementBlock as _createElementBlock259 } from \"vue\";\nvar takeaway_box_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent259({\n name: \"TakeawayBox\",\n __name: \"takeaway-box\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock259(), _createElementBlock259(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode259(\"path\", {\n fill: \"currentColor\",\n d: \"M832 384H192v448h640zM96 320h832V128H96zm800 64v480a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V384H64a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32h896a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32zM416 512h192a32 32 0 0 1 0 64H416a32 32 0 0 1 0-64\"\n })\n ]));\n }\n});\n\n// src/components/takeaway-box.vue\nvar takeaway_box_default = takeaway_box_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/ticket.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent260 } from \"vue\";\nimport { createElementVNode as _createElementVNode260, openBlock as _openBlock260, createElementBlock as _createElementBlock260 } from \"vue\";\nvar ticket_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent260({\n name: \"Ticket\",\n __name: \"ticket\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock260(), _createElementBlock260(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode260(\"path\", {\n fill: \"currentColor\",\n d: \"M640 832H64V640a128 128 0 1 0 0-256V192h576v160h64V192h256v192a128 128 0 1 0 0 256v192H704V672h-64zm0-416v192h64V416z\"\n })\n ]));\n }\n});\n\n// src/components/ticket.vue\nvar ticket_default = ticket_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/tickets.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent261 } from \"vue\";\nimport { createElementVNode as _createElementVNode261, openBlock as _openBlock261, createElementBlock as _createElementBlock261 } from \"vue\";\nvar tickets_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent261({\n name: \"Tickets\",\n __name: \"tickets\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock261(), _createElementBlock261(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode261(\"path\", {\n fill: \"currentColor\",\n d: \"M192 128v768h640V128zm-32-64h704a32 32 0 0 1 32 32v832a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h192v64H320zm0 384h384v64H320z\"\n })\n ]));\n }\n});\n\n// src/components/tickets.vue\nvar tickets_default = tickets_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/timer.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent262 } from \"vue\";\nimport { createElementVNode as _createElementVNode262, openBlock as _openBlock262, createElementBlock as _createElementBlock262 } from \"vue\";\nvar timer_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent262({\n name: \"Timer\",\n __name: \"timer\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock262(), _createElementBlock262(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode262(\"path\", {\n fill: \"currentColor\",\n d: \"M512 896a320 320 0 1 0 0-640 320 320 0 0 0 0 640m0 64a384 384 0 1 1 0-768 384 384 0 0 1 0 768\"\n }),\n _createElementVNode262(\"path\", {\n fill: \"currentColor\",\n d: \"M512 320a32 32 0 0 1 32 32l-.512 224a32 32 0 1 1-64 0L480 352a32 32 0 0 1 32-32\"\n }),\n _createElementVNode262(\"path\", {\n fill: \"currentColor\",\n d: \"M448 576a64 64 0 1 0 128 0 64 64 0 1 0-128 0m96-448v128h-64V128h-96a32 32 0 0 1 0-64h256a32 32 0 1 1 0 64z\"\n })\n ]));\n }\n});\n\n// src/components/timer.vue\nvar timer_default = timer_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/toilet-paper.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent263 } from \"vue\";\nimport { createElementVNode as _createElementVNode263, openBlock as _openBlock263, createElementBlock as _createElementBlock263 } from \"vue\";\nvar toilet_paper_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent263({\n name: \"ToiletPaper\",\n __name: \"toilet-paper\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock263(), _createElementBlock263(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode263(\"path\", {\n fill: \"currentColor\",\n d: \"M595.2 128H320a192 192 0 0 0-192 192v576h384V352c0-90.496 32.448-171.2 83.2-224M736 64c123.712 0 224 128.96 224 288S859.712 640 736 640H576v320H64V320A256 256 0 0 1 320 64zM576 352v224h160c84.352 0 160-97.28 160-224s-75.648-224-160-224-160 97.28-160 224\"\n }),\n _createElementVNode263(\"path\", {\n fill: \"currentColor\",\n d: \"M736 448c-35.328 0-64-43.008-64-96s28.672-96 64-96 64 43.008 64 96-28.672 96-64 96\"\n })\n ]));\n }\n});\n\n// src/components/toilet-paper.vue\nvar toilet_paper_default = toilet_paper_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/tools.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent264 } from \"vue\";\nimport { createElementVNode as _createElementVNode264, openBlock as _openBlock264, createElementBlock as _createElementBlock264 } from \"vue\";\nvar tools_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent264({\n name: \"Tools\",\n __name: \"tools\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock264(), _createElementBlock264(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode264(\"path\", {\n fill: \"currentColor\",\n d: \"M764.416 254.72a351.68 351.68 0 0 1 86.336 149.184H960v192.064H850.752a351.68 351.68 0 0 1-86.336 149.312l54.72 94.72-166.272 96-54.592-94.72a352.64 352.64 0 0 1-172.48 0L371.136 936l-166.272-96 54.72-94.72a351.68 351.68 0 0 1-86.336-149.312H64v-192h109.248a351.68 351.68 0 0 1 86.336-149.312L204.8 160l166.208-96h.192l54.656 94.592a352.64 352.64 0 0 1 172.48 0L652.8 64h.128L819.2 160l-54.72 94.72zM704 499.968a192 192 0 1 0-384 0 192 192 0 0 0 384 0\"\n })\n ]));\n }\n});\n\n// src/components/tools.vue\nvar tools_default = tools_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/top-left.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent265 } from \"vue\";\nimport { createElementVNode as _createElementVNode265, openBlock as _openBlock265, createElementBlock as _createElementBlock265 } from \"vue\";\nvar top_left_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent265({\n name: \"TopLeft\",\n __name: \"top-left\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock265(), _createElementBlock265(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode265(\"path\", {\n fill: \"currentColor\",\n d: \"M256 256h416a32 32 0 1 0 0-64H224a32 32 0 0 0-32 32v448a32 32 0 0 0 64 0z\"\n }),\n _createElementVNode265(\"path\", {\n fill: \"currentColor\",\n d: \"M246.656 201.344a32 32 0 0 0-45.312 45.312l544 544a32 32 0 0 0 45.312-45.312l-544-544z\"\n })\n ]));\n }\n});\n\n// src/components/top-left.vue\nvar top_left_default = top_left_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/top-right.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent266 } from \"vue\";\nimport { createElementVNode as _createElementVNode266, openBlock as _openBlock266, createElementBlock as _createElementBlock266 } from \"vue\";\nvar top_right_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent266({\n name: \"TopRight\",\n __name: \"top-right\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock266(), _createElementBlock266(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode266(\"path\", {\n fill: \"currentColor\",\n d: \"M768 256H353.6a32 32 0 1 1 0-64H800a32 32 0 0 1 32 32v448a32 32 0 0 1-64 0z\"\n }),\n _createElementVNode266(\"path\", {\n fill: \"currentColor\",\n d: \"M777.344 201.344a32 32 0 0 1 45.312 45.312l-544 544a32 32 0 0 1-45.312-45.312l544-544z\"\n })\n ]));\n }\n});\n\n// src/components/top-right.vue\nvar top_right_default = top_right_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/top.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent267 } from \"vue\";\nimport { createElementVNode as _createElementVNode267, openBlock as _openBlock267, createElementBlock as _createElementBlock267 } from \"vue\";\nvar top_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent267({\n name: \"Top\",\n __name: \"top\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock267(), _createElementBlock267(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode267(\"path\", {\n fill: \"currentColor\",\n d: \"M572.235 205.282v600.365a30.118 30.118 0 1 1-60.235 0V205.282L292.382 438.633a28.913 28.913 0 0 1-42.646 0 33.43 33.43 0 0 1 0-45.236l271.058-288.045a28.913 28.913 0 0 1 42.647 0L834.5 393.397a33.43 33.43 0 0 1 0 45.176 28.913 28.913 0 0 1-42.647 0l-219.618-233.23z\"\n })\n ]));\n }\n});\n\n// src/components/top.vue\nvar top_default = top_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/trend-charts.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent268 } from \"vue\";\nimport { createElementVNode as _createElementVNode268, openBlock as _openBlock268, createElementBlock as _createElementBlock268 } from \"vue\";\nvar trend_charts_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent268({\n name: \"TrendCharts\",\n __name: \"trend-charts\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock268(), _createElementBlock268(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode268(\"path\", {\n fill: \"currentColor\",\n d: \"M128 896V128h768v768zm291.712-327.296 128 102.4 180.16-201.792-47.744-42.624-139.84 156.608-128-102.4-180.16 201.792 47.744 42.624 139.84-156.608zM816 352a48 48 0 1 0-96 0 48 48 0 0 0 96 0\"\n })\n ]));\n }\n});\n\n// src/components/trend-charts.vue\nvar trend_charts_default = trend_charts_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/trophy-base.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent269 } from \"vue\";\nimport { createElementVNode as _createElementVNode269, openBlock as _openBlock269, createElementBlock as _createElementBlock269 } from \"vue\";\nvar trophy_base_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent269({\n name: \"TrophyBase\",\n __name: \"trophy-base\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock269(), _createElementBlock269(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n \"xml:space\": \"preserve\",\n style: { \"enable-background\": \"new 0 0 1024 1024\" },\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode269(\"path\", {\n fill: \"currentColor\",\n d: \"M918.4 201.6c-6.4-6.4-12.8-9.6-22.4-9.6H768V96c0-9.6-3.2-16-9.6-22.4C752 67.2 745.6 64 736 64H288c-9.6 0-16 3.2-22.4 9.6C259.2 80 256 86.4 256 96v96H128c-9.6 0-16 3.2-22.4 9.6-6.4 6.4-9.6 16-9.6 22.4 3.2 108.8 25.6 185.6 64 224 34.4 34.4 77.56 55.65 127.65 61.99 10.91 20.44 24.78 39.25 41.95 56.41 40.86 40.86 91 65.47 150.4 71.9V768h-96c-9.6 0-16 3.2-22.4 9.6-6.4 6.4-9.6 12.8-9.6 22.4s3.2 16 9.6 22.4c6.4 6.4 12.8 9.6 22.4 9.6h256c9.6 0 16-3.2 22.4-9.6 6.4-6.4 9.6-12.8 9.6-22.4s-3.2-16-9.6-22.4c-6.4-6.4-12.8-9.6-22.4-9.6h-96V637.26c59.4-7.71 109.54-30.01 150.4-70.86 17.2-17.2 31.51-36.06 42.81-56.55 48.93-6.51 90.02-27.7 126.79-61.85 38.4-38.4 60.8-112 64-224 0-6.4-3.2-16-9.6-22.4zM256 438.4c-19.2-6.4-35.2-19.2-51.2-35.2-22.4-22.4-35.2-70.4-41.6-147.2H256zm390.4 80C608 553.6 566.4 576 512 576s-99.2-19.2-134.4-57.6C342.4 480 320 438.4 320 384V128h384v256c0 54.4-19.2 99.2-57.6 134.4m172.8-115.2c-16 16-32 25.6-51.2 35.2V256h92.8c-6.4 76.8-19.2 124.8-41.6 147.2zM768 896H256c-9.6 0-16 3.2-22.4 9.6-6.4 6.4-9.6 12.8-9.6 22.4s3.2 16 9.6 22.4c6.4 6.4 12.8 9.6 22.4 9.6h512c9.6 0 16-3.2 22.4-9.6 6.4-6.4 9.6-12.8 9.6-22.4s-3.2-16-9.6-22.4c-6.4-6.4-12.8-9.6-22.4-9.6\"\n })\n ]));\n }\n});\n\n// src/components/trophy-base.vue\nvar trophy_base_default = trophy_base_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/trophy.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent270 } from \"vue\";\nimport { createElementVNode as _createElementVNode270, openBlock as _openBlock270, createElementBlock as _createElementBlock270 } from \"vue\";\nvar trophy_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent270({\n name: \"Trophy\",\n __name: \"trophy\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock270(), _createElementBlock270(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode270(\"path\", {\n fill: \"currentColor\",\n d: \"M480 896V702.08A256.256 256.256 0 0 1 264.064 512h-32.64a96 96 0 0 1-91.968-68.416L93.632 290.88a76.8 76.8 0 0 1 73.6-98.88H256V96a32 32 0 0 1 32-32h448a32 32 0 0 1 32 32v96h88.768a76.8 76.8 0 0 1 73.6 98.88L884.48 443.52A96 96 0 0 1 792.576 512h-32.64A256.256 256.256 0 0 1 544 702.08V896h128a32 32 0 1 1 0 64H352a32 32 0 1 1 0-64zm224-448V128H320v320a192 192 0 1 0 384 0m64 0h24.576a32 32 0 0 0 30.656-22.784l45.824-152.768A12.8 12.8 0 0 0 856.768 256H768zm-512 0V256h-88.768a12.8 12.8 0 0 0-12.288 16.448l45.824 152.768A32 32 0 0 0 231.424 448z\"\n })\n ]));\n }\n});\n\n// src/components/trophy.vue\nvar trophy_default = trophy_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/turn-off.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent271 } from \"vue\";\nimport { createElementVNode as _createElementVNode271, openBlock as _openBlock271, createElementBlock as _createElementBlock271 } from \"vue\";\nvar turn_off_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent271({\n name: \"TurnOff\",\n __name: \"turn-off\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock271(), _createElementBlock271(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode271(\"path\", {\n fill: \"currentColor\",\n d: \"M329.956 257.138a254.862 254.862 0 0 0 0 509.724h364.088a254.862 254.862 0 0 0 0-509.724zm0-72.818h364.088a327.68 327.68 0 1 1 0 655.36H329.956a327.68 327.68 0 1 1 0-655.36z\"\n }),\n _createElementVNode271(\"path\", {\n fill: \"currentColor\",\n d: \"M329.956 621.227a109.227 109.227 0 1 0 0-218.454 109.227 109.227 0 0 0 0 218.454m0 72.817a182.044 182.044 0 1 1 0-364.088 182.044 182.044 0 0 1 0 364.088\"\n })\n ]));\n }\n});\n\n// src/components/turn-off.vue\nvar turn_off_default = turn_off_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/umbrella.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent272 } from \"vue\";\nimport { createElementVNode as _createElementVNode272, openBlock as _openBlock272, createElementBlock as _createElementBlock272 } from \"vue\";\nvar umbrella_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent272({\n name: \"Umbrella\",\n __name: \"umbrella\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock272(), _createElementBlock272(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode272(\"path\", {\n fill: \"currentColor\",\n d: \"M320 768a32 32 0 1 1 64 0 64 64 0 0 0 128 0V512H64a448 448 0 1 1 896 0H576v256a128 128 0 1 1-256 0m570.688-320a384.128 384.128 0 0 0-757.376 0z\"\n })\n ]));\n }\n});\n\n// src/components/umbrella.vue\nvar umbrella_default = umbrella_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/unlock.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent273 } from \"vue\";\nimport { createElementVNode as _createElementVNode273, openBlock as _openBlock273, createElementBlock as _createElementBlock273 } from \"vue\";\nvar unlock_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent273({\n name: \"Unlock\",\n __name: \"unlock\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock273(), _createElementBlock273(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode273(\"path\", {\n fill: \"currentColor\",\n d: \"M224 448a32 32 0 0 0-32 32v384a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32V480a32 32 0 0 0-32-32zm0-64h576a96 96 0 0 1 96 96v384a96 96 0 0 1-96 96H224a96 96 0 0 1-96-96V480a96 96 0 0 1 96-96\"\n }),\n _createElementVNode273(\"path\", {\n fill: \"currentColor\",\n d: \"M512 544a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V576a32 32 0 0 1 32-32m178.304-295.296A192.064 192.064 0 0 0 320 320v64h352l96 38.4V448H256V320a256 256 0 0 1 493.76-95.104z\"\n })\n ]));\n }\n});\n\n// src/components/unlock.vue\nvar unlock_default = unlock_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/upload-filled.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent274 } from \"vue\";\nimport { createElementVNode as _createElementVNode274, openBlock as _openBlock274, createElementBlock as _createElementBlock274 } from \"vue\";\nvar upload_filled_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent274({\n name: \"UploadFilled\",\n __name: \"upload-filled\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock274(), _createElementBlock274(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode274(\"path\", {\n fill: \"currentColor\",\n d: \"M544 864V672h128L512 480 352 672h128v192H320v-1.6c-5.376.32-10.496 1.6-16 1.6A240 240 0 0 1 64 624c0-123.136 93.12-223.488 212.608-237.248A239.808 239.808 0 0 1 512 192a239.872 239.872 0 0 1 235.456 194.752c119.488 13.76 212.48 114.112 212.48 237.248a240 240 0 0 1-240 240c-5.376 0-10.56-1.28-16-1.6v1.6z\"\n })\n ]));\n }\n});\n\n// src/components/upload-filled.vue\nvar upload_filled_default = upload_filled_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/upload.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent275 } from \"vue\";\nimport { createElementVNode as _createElementVNode275, openBlock as _openBlock275, createElementBlock as _createElementBlock275 } from \"vue\";\nvar upload_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent275({\n name: \"Upload\",\n __name: \"upload\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock275(), _createElementBlock275(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode275(\"path\", {\n fill: \"currentColor\",\n d: \"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-578.304V704h-64V247.296L237.248 490.048 192 444.8 508.8 128l316.8 316.8-45.312 45.248z\"\n })\n ]));\n }\n});\n\n// src/components/upload.vue\nvar upload_default = upload_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/user-filled.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent276 } from \"vue\";\nimport { createElementVNode as _createElementVNode276, openBlock as _openBlock276, createElementBlock as _createElementBlock276 } from \"vue\";\nvar user_filled_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent276({\n name: \"UserFilled\",\n __name: \"user-filled\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock276(), _createElementBlock276(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode276(\"path\", {\n fill: \"currentColor\",\n d: \"M288 320a224 224 0 1 0 448 0 224 224 0 1 0-448 0m544 608H160a32 32 0 0 1-32-32v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 0 1-32 32z\"\n })\n ]));\n }\n});\n\n// src/components/user-filled.vue\nvar user_filled_default = user_filled_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/user.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent277 } from \"vue\";\nimport { createElementVNode as _createElementVNode277, openBlock as _openBlock277, createElementBlock as _createElementBlock277 } from \"vue\";\nvar user_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent277({\n name: \"User\",\n __name: \"user\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock277(), _createElementBlock277(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode277(\"path\", {\n fill: \"currentColor\",\n d: \"M512 512a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512m320 320v-96a96 96 0 0 0-96-96H288a96 96 0 0 0-96 96v96a32 32 0 1 1-64 0v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 1 1-64 0\"\n })\n ]));\n }\n});\n\n// src/components/user.vue\nvar user_default = user_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/van.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent278 } from \"vue\";\nimport { createElementVNode as _createElementVNode278, openBlock as _openBlock278, createElementBlock as _createElementBlock278 } from \"vue\";\nvar van_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent278({\n name: \"Van\",\n __name: \"van\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock278(), _createElementBlock278(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode278(\"path\", {\n fill: \"currentColor\",\n d: \"M128.896 736H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v96h164.544a32 32 0 0 1 31.616 27.136l54.144 352A32 32 0 0 1 922.688 736h-91.52a144 144 0 1 1-286.272 0H415.104a144 144 0 1 1-286.272 0zm23.36-64a143.872 143.872 0 0 1 239.488 0H568.32c17.088-25.6 42.24-45.376 71.744-55.808V256H128v416zm655.488 0h77.632l-19.648-128H704v64.896A144 144 0 0 1 807.744 672m48.128-192-14.72-96H704v96h151.872M688 832a80 80 0 1 0 0-160 80 80 0 0 0 0 160m-416 0a80 80 0 1 0 0-160 80 80 0 0 0 0 160\"\n })\n ]));\n }\n});\n\n// src/components/van.vue\nvar van_default = van_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/video-camera-filled.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent279 } from \"vue\";\nimport { createElementVNode as _createElementVNode279, openBlock as _openBlock279, createElementBlock as _createElementBlock279 } from \"vue\";\nvar video_camera_filled_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent279({\n name: \"VideoCameraFilled\",\n __name: \"video-camera-filled\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock279(), _createElementBlock279(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode279(\"path\", {\n fill: \"currentColor\",\n d: \"m768 576 192-64v320l-192-64v96a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V480a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zM192 768v64h384v-64zm192-480a160 160 0 0 1 320 0 160 160 0 0 1-320 0m64 0a96 96 0 1 0 192.064-.064A96 96 0 0 0 448 288m-320 32a128 128 0 1 1 256.064.064A128 128 0 0 1 128 320m64 0a64 64 0 1 0 128 0 64 64 0 0 0-128 0\"\n })\n ]));\n }\n});\n\n// src/components/video-camera-filled.vue\nvar video_camera_filled_default = video_camera_filled_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/video-camera.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent280 } from \"vue\";\nimport { createElementVNode as _createElementVNode280, openBlock as _openBlock280, createElementBlock as _createElementBlock280 } from \"vue\";\nvar video_camera_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent280({\n name: \"VideoCamera\",\n __name: \"video-camera\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock280(), _createElementBlock280(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode280(\"path\", {\n fill: \"currentColor\",\n d: \"M704 768V256H128v512zm64-416 192-96v512l-192-96v128a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 71.552v176.896l128 64V359.552zM192 320h192v64H192z\"\n })\n ]));\n }\n});\n\n// src/components/video-camera.vue\nvar video_camera_default = video_camera_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/video-pause.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent281 } from \"vue\";\nimport { createElementVNode as _createElementVNode281, openBlock as _openBlock281, createElementBlock as _createElementBlock281 } from \"vue\";\nvar video_pause_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent281({\n name: \"VideoPause\",\n __name: \"video-pause\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock281(), _createElementBlock281(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode281(\"path\", {\n fill: \"currentColor\",\n d: \"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m-96-544q32 0 32 32v256q0 32-32 32t-32-32V384q0-32 32-32m192 0q32 0 32 32v256q0 32-32 32t-32-32V384q0-32 32-32\"\n })\n ]));\n }\n});\n\n// src/components/video-pause.vue\nvar video_pause_default = video_pause_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/video-play.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent282 } from \"vue\";\nimport { createElementVNode as _createElementVNode282, openBlock as _openBlock282, createElementBlock as _createElementBlock282 } from \"vue\";\nvar video_play_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent282({\n name: \"VideoPlay\",\n __name: \"video-play\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock282(), _createElementBlock282(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode282(\"path\", {\n fill: \"currentColor\",\n d: \"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m-48-247.616L668.608 512 464 375.616zm10.624-342.656 249.472 166.336a48 48 0 0 1 0 79.872L474.624 718.272A48 48 0 0 1 400 678.336V345.6a48 48 0 0 1 74.624-39.936z\"\n })\n ]));\n }\n});\n\n// src/components/video-play.vue\nvar video_play_default = video_play_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/view.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent283 } from \"vue\";\nimport { createElementVNode as _createElementVNode283, openBlock as _openBlock283, createElementBlock as _createElementBlock283 } from \"vue\";\nvar view_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent283({\n name: \"View\",\n __name: \"view\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock283(), _createElementBlock283(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode283(\"path\", {\n fill: \"currentColor\",\n d: \"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160\"\n })\n ]));\n }\n});\n\n// src/components/view.vue\nvar view_default = view_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/wallet-filled.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent284 } from \"vue\";\nimport { createElementVNode as _createElementVNode284, openBlock as _openBlock284, createElementBlock as _createElementBlock284 } from \"vue\";\nvar wallet_filled_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent284({\n name: \"WalletFilled\",\n __name: \"wallet-filled\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock284(), _createElementBlock284(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode284(\"path\", {\n fill: \"currentColor\",\n d: \"M688 512a112 112 0 1 0 0 224h208v160H128V352h768v160zm32 160h-32a48 48 0 0 1 0-96h32a48 48 0 0 1 0 96m-80-544 128 160H384z\"\n })\n ]));\n }\n});\n\n// src/components/wallet-filled.vue\nvar wallet_filled_default = wallet_filled_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/wallet.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent285 } from \"vue\";\nimport { createElementVNode as _createElementVNode285, openBlock as _openBlock285, createElementBlock as _createElementBlock285 } from \"vue\";\nvar wallet_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent285({\n name: \"Wallet\",\n __name: \"wallet\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock285(), _createElementBlock285(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode285(\"path\", {\n fill: \"currentColor\",\n d: \"M640 288h-64V128H128v704h384v32a32 32 0 0 0 32 32H96a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32h512a32 32 0 0 1 32 32z\"\n }),\n _createElementVNode285(\"path\", {\n fill: \"currentColor\",\n d: \"M128 320v512h768V320zm-32-64h832a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32\"\n }),\n _createElementVNode285(\"path\", {\n fill: \"currentColor\",\n d: \"M704 640a64 64 0 1 1 0-128 64 64 0 0 1 0 128\"\n })\n ]));\n }\n});\n\n// src/components/wallet.vue\nvar wallet_default = wallet_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/warn-triangle-filled.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent286 } from \"vue\";\nimport { createElementVNode as _createElementVNode286, openBlock as _openBlock286, createElementBlock as _createElementBlock286 } from \"vue\";\nvar warn_triangle_filled_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent286({\n name: \"WarnTriangleFilled\",\n __name: \"warn-triangle-filled\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock286(), _createElementBlock286(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n \"xml:space\": \"preserve\",\n style: { \"enable-background\": \"new 0 0 1024 1024\" },\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode286(\"path\", {\n fill: \"currentColor\",\n d: \"M928.99 755.83 574.6 203.25c-12.89-20.16-36.76-32.58-62.6-32.58s-49.71 12.43-62.6 32.58L95.01 755.83c-12.91 20.12-12.9 44.91.01 65.03 12.92 20.12 36.78 32.51 62.59 32.49h708.78c25.82.01 49.68-12.37 62.59-32.49 12.91-20.12 12.92-44.91.01-65.03M554.67 768h-85.33v-85.33h85.33zm0-426.67v298.66h-85.33V341.32z\"\n })\n ]));\n }\n});\n\n// src/components/warn-triangle-filled.vue\nvar warn_triangle_filled_default = warn_triangle_filled_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/warning-filled.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent287 } from \"vue\";\nimport { createElementVNode as _createElementVNode287, openBlock as _openBlock287, createElementBlock as _createElementBlock287 } from \"vue\";\nvar warning_filled_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent287({\n name: \"WarningFilled\",\n __name: \"warning-filled\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock287(), _createElementBlock287(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode287(\"path\", {\n fill: \"currentColor\",\n d: \"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4\"\n })\n ]));\n }\n});\n\n// src/components/warning-filled.vue\nvar warning_filled_default = warning_filled_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/warning.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent288 } from \"vue\";\nimport { createElementVNode as _createElementVNode288, openBlock as _openBlock288, createElementBlock as _createElementBlock288 } from \"vue\";\nvar warning_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent288({\n name: \"Warning\",\n __name: \"warning\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock288(), _createElementBlock288(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode288(\"path\", {\n fill: \"currentColor\",\n d: \"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0m-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32\"\n })\n ]));\n }\n});\n\n// src/components/warning.vue\nvar warning_default = warning_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/watch.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent289 } from \"vue\";\nimport { createElementVNode as _createElementVNode289, openBlock as _openBlock289, createElementBlock as _createElementBlock289 } from \"vue\";\nvar watch_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent289({\n name: \"Watch\",\n __name: \"watch\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock289(), _createElementBlock289(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode289(\"path\", {\n fill: \"currentColor\",\n d: \"M512 768a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640\"\n }),\n _createElementVNode289(\"path\", {\n fill: \"currentColor\",\n d: \"M480 352a32 32 0 0 1 32 32v160a32 32 0 0 1-64 0V384a32 32 0 0 1 32-32\"\n }),\n _createElementVNode289(\"path\", {\n fill: \"currentColor\",\n d: \"M480 512h128q32 0 32 32t-32 32H480q-32 0-32-32t32-32m128-256V128H416v128h-64V64h320v192zM416 768v128h192V768h64v192H352V768z\"\n })\n ]));\n }\n});\n\n// src/components/watch.vue\nvar watch_default = watch_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/watermelon.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent290 } from \"vue\";\nimport { createElementVNode as _createElementVNode290, openBlock as _openBlock290, createElementBlock as _createElementBlock290 } from \"vue\";\nvar watermelon_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent290({\n name: \"Watermelon\",\n __name: \"watermelon\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock290(), _createElementBlock290(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode290(\"path\", {\n fill: \"currentColor\",\n d: \"m683.072 600.32-43.648 162.816-61.824-16.512 53.248-198.528L576 493.248l-158.4 158.4-45.248-45.248 158.4-158.4-55.616-55.616-198.528 53.248-16.512-61.824 162.816-43.648L282.752 200A384 384 0 0 0 824 741.248zm231.552 141.056a448 448 0 1 1-632-632l632 632\"\n })\n ]));\n }\n});\n\n// src/components/watermelon.vue\nvar watermelon_default = watermelon_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/wind-power.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent291 } from \"vue\";\nimport { createElementVNode as _createElementVNode291, openBlock as _openBlock291, createElementBlock as _createElementBlock291 } from \"vue\";\nvar wind_power_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent291({\n name: \"WindPower\",\n __name: \"wind-power\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock291(), _createElementBlock291(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode291(\"path\", {\n fill: \"currentColor\",\n d: \"M160 64q32 0 32 32v832q0 32-32 32t-32-32V96q0-32 32-32m416 354.624 128-11.584V168.96l-128-11.52v261.12zm-64 5.824V151.552L320 134.08V160h-64V64l616.704 56.064A96 96 0 0 1 960 215.68v144.64a96 96 0 0 1-87.296 95.616L256 512V224h64v217.92zm256-23.232 98.88-8.96A32 32 0 0 0 896 360.32V215.68a32 32 0 0 0-29.12-31.872l-98.88-8.96z\"\n })\n ]));\n }\n});\n\n// src/components/wind-power.vue\nvar wind_power_default = wind_power_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/zoom-in.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent292 } from \"vue\";\nimport { createElementVNode as _createElementVNode292, openBlock as _openBlock292, createElementBlock as _createElementBlock292 } from \"vue\";\nvar zoom_in_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent292({\n name: \"ZoomIn\",\n __name: \"zoom-in\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock292(), _createElementBlock292(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode292(\"path\", {\n fill: \"currentColor\",\n d: \"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z\"\n })\n ]));\n }\n});\n\n// src/components/zoom-in.vue\nvar zoom_in_default = zoom_in_vue_vue_type_script_setup_true_lang_default;\n\n// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/zoom-out.vue?vue&type=script&setup=true&lang.ts\nimport { defineComponent as _defineComponent293 } from \"vue\";\nimport { createElementVNode as _createElementVNode293, openBlock as _openBlock293, createElementBlock as _createElementBlock293 } from \"vue\";\nvar zoom_out_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent293({\n name: \"ZoomOut\",\n __name: \"zoom-out\",\n setup(__props) {\n return (_ctx, _cache) => (_openBlock293(), _createElementBlock293(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 1024 1024\"\n }, [\n _createElementVNode293(\"path\", {\n fill: \"currentColor\",\n d: \"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704M352 448h256a32 32 0 0 1 0 64H352a32 32 0 0 1 0-64\"\n })\n ]));\n }\n});\n\n// src/components/zoom-out.vue\nvar zoom_out_default = zoom_out_vue_vue_type_script_setup_true_lang_default;\nexport {\n add_location_default as AddLocation,\n aim_default as Aim,\n alarm_clock_default as AlarmClock,\n apple_default as Apple,\n arrow_down_default as ArrowDown,\n arrow_down_bold_default as ArrowDownBold,\n arrow_left_default as ArrowLeft,\n arrow_left_bold_default as ArrowLeftBold,\n arrow_right_default as ArrowRight,\n arrow_right_bold_default as ArrowRightBold,\n arrow_up_default as ArrowUp,\n arrow_up_bold_default as ArrowUpBold,\n avatar_default as Avatar,\n back_default as Back,\n baseball_default as Baseball,\n basketball_default as Basketball,\n bell_default as Bell,\n bell_filled_default as BellFilled,\n bicycle_default as Bicycle,\n bottom_default as Bottom,\n bottom_left_default as BottomLeft,\n bottom_right_default as BottomRight,\n bowl_default as Bowl,\n box_default as Box,\n briefcase_default as Briefcase,\n brush_default as Brush,\n brush_filled_default as BrushFilled,\n burger_default as Burger,\n calendar_default as Calendar,\n camera_default as Camera,\n camera_filled_default as CameraFilled,\n caret_bottom_default as CaretBottom,\n caret_left_default as CaretLeft,\n caret_right_default as CaretRight,\n caret_top_default as CaretTop,\n cellphone_default as Cellphone,\n chat_dot_round_default as ChatDotRound,\n chat_dot_square_default as ChatDotSquare,\n chat_line_round_default as ChatLineRound,\n chat_line_square_default as ChatLineSquare,\n chat_round_default as ChatRound,\n chat_square_default as ChatSquare,\n check_default as Check,\n checked_default as Checked,\n cherry_default as Cherry,\n chicken_default as Chicken,\n chrome_filled_default as ChromeFilled,\n circle_check_default as CircleCheck,\n circle_check_filled_default as CircleCheckFilled,\n circle_close_default as CircleClose,\n circle_close_filled_default as CircleCloseFilled,\n circle_plus_default as CirclePlus,\n circle_plus_filled_default as CirclePlusFilled,\n clock_default as Clock,\n close_default as Close,\n close_bold_default as CloseBold,\n cloudy_default as Cloudy,\n coffee_default as Coffee,\n coffee_cup_default as CoffeeCup,\n coin_default as Coin,\n cold_drink_default as ColdDrink,\n collection_default as Collection,\n collection_tag_default as CollectionTag,\n comment_default as Comment,\n compass_default as Compass,\n connection_default as Connection,\n coordinate_default as Coordinate,\n copy_document_default as CopyDocument,\n cpu_default as Cpu,\n credit_card_default as CreditCard,\n crop_default as Crop,\n d_arrow_left_default as DArrowLeft,\n d_arrow_right_default as DArrowRight,\n d_caret_default as DCaret,\n data_analysis_default as DataAnalysis,\n data_board_default as DataBoard,\n data_line_default as DataLine,\n delete_default as Delete,\n delete_filled_default as DeleteFilled,\n delete_location_default as DeleteLocation,\n dessert_default as Dessert,\n discount_default as Discount,\n dish_default as Dish,\n dish_dot_default as DishDot,\n document_default as Document,\n document_add_default as DocumentAdd,\n document_checked_default as DocumentChecked,\n document_copy_default as DocumentCopy,\n document_delete_default as DocumentDelete,\n document_remove_default as DocumentRemove,\n download_default as Download,\n drizzling_default as Drizzling,\n edit_default as Edit,\n edit_pen_default as EditPen,\n eleme_default as Eleme,\n eleme_filled_default as ElemeFilled,\n element_plus_default as ElementPlus,\n expand_default as Expand,\n failed_default as Failed,\n female_default as Female,\n files_default as Files,\n film_default as Film,\n filter_default as Filter,\n finished_default as Finished,\n first_aid_kit_default as FirstAidKit,\n flag_default as Flag,\n fold_default as Fold,\n folder_default as Folder,\n folder_add_default as FolderAdd,\n folder_checked_default as FolderChecked,\n folder_delete_default as FolderDelete,\n folder_opened_default as FolderOpened,\n folder_remove_default as FolderRemove,\n food_default as Food,\n football_default as Football,\n fork_spoon_default as ForkSpoon,\n fries_default as Fries,\n full_screen_default as FullScreen,\n goblet_default as Goblet,\n goblet_full_default as GobletFull,\n goblet_square_default as GobletSquare,\n goblet_square_full_default as GobletSquareFull,\n gold_medal_default as GoldMedal,\n goods_default as Goods,\n goods_filled_default as GoodsFilled,\n grape_default as Grape,\n grid_default as Grid,\n guide_default as Guide,\n handbag_default as Handbag,\n headset_default as Headset,\n help_default as Help,\n help_filled_default as HelpFilled,\n hide_default as Hide,\n histogram_default as Histogram,\n home_filled_default as HomeFilled,\n hot_water_default as HotWater,\n house_default as House,\n ice_cream_default as IceCream,\n ice_cream_round_default as IceCreamRound,\n ice_cream_square_default as IceCreamSquare,\n ice_drink_default as IceDrink,\n ice_tea_default as IceTea,\n info_filled_default as InfoFilled,\n iphone_default as Iphone,\n key_default as Key,\n knife_fork_default as KnifeFork,\n lightning_default as Lightning,\n link_default as Link,\n list_default as List,\n loading_default as Loading,\n location_default as Location,\n location_filled_default as LocationFilled,\n location_information_default as LocationInformation,\n lock_default as Lock,\n lollipop_default as Lollipop,\n magic_stick_default as MagicStick,\n magnet_default as Magnet,\n male_default as Male,\n management_default as Management,\n map_location_default as MapLocation,\n medal_default as Medal,\n memo_default as Memo,\n menu_default as Menu,\n message_default as Message,\n message_box_default as MessageBox,\n mic_default as Mic,\n microphone_default as Microphone,\n milk_tea_default as MilkTea,\n minus_default as Minus,\n money_default as Money,\n monitor_default as Monitor,\n moon_default as Moon,\n moon_night_default as MoonNight,\n more_default as More,\n more_filled_default as MoreFilled,\n mostly_cloudy_default as MostlyCloudy,\n mouse_default as Mouse,\n mug_default as Mug,\n mute_default as Mute,\n mute_notification_default as MuteNotification,\n no_smoking_default as NoSmoking,\n notebook_default as Notebook,\n notification_default as Notification,\n odometer_default as Odometer,\n office_building_default as OfficeBuilding,\n open_default as Open,\n operation_default as Operation,\n opportunity_default as Opportunity,\n orange_default as Orange,\n paperclip_default as Paperclip,\n partly_cloudy_default as PartlyCloudy,\n pear_default as Pear,\n phone_default as Phone,\n phone_filled_default as PhoneFilled,\n picture_default as Picture,\n picture_filled_default as PictureFilled,\n picture_rounded_default as PictureRounded,\n pie_chart_default as PieChart,\n place_default as Place,\n platform_default as Platform,\n plus_default as Plus,\n pointer_default as Pointer,\n position_default as Position,\n postcard_default as Postcard,\n pouring_default as Pouring,\n present_default as Present,\n price_tag_default as PriceTag,\n printer_default as Printer,\n promotion_default as Promotion,\n quartz_watch_default as QuartzWatch,\n question_filled_default as QuestionFilled,\n rank_default as Rank,\n reading_default as Reading,\n reading_lamp_default as ReadingLamp,\n refresh_default as Refresh,\n refresh_left_default as RefreshLeft,\n refresh_right_default as RefreshRight,\n refrigerator_default as Refrigerator,\n remove_default as Remove,\n remove_filled_default as RemoveFilled,\n right_default as Right,\n scale_to_original_default as ScaleToOriginal,\n school_default as School,\n scissor_default as Scissor,\n search_default as Search,\n select_default as Select,\n sell_default as Sell,\n semi_select_default as SemiSelect,\n service_default as Service,\n set_up_default as SetUp,\n setting_default as Setting,\n share_default as Share,\n ship_default as Ship,\n shop_default as Shop,\n shopping_bag_default as ShoppingBag,\n shopping_cart_default as ShoppingCart,\n shopping_cart_full_default as ShoppingCartFull,\n shopping_trolley_default as ShoppingTrolley,\n smoking_default as Smoking,\n soccer_default as Soccer,\n sold_out_default as SoldOut,\n sort_default as Sort,\n sort_down_default as SortDown,\n sort_up_default as SortUp,\n stamp_default as Stamp,\n star_default as Star,\n star_filled_default as StarFilled,\n stopwatch_default as Stopwatch,\n success_filled_default as SuccessFilled,\n sugar_default as Sugar,\n suitcase_default as Suitcase,\n suitcase_line_default as SuitcaseLine,\n sunny_default as Sunny,\n sunrise_default as Sunrise,\n sunset_default as Sunset,\n switch_default as Switch,\n switch_button_default as SwitchButton,\n switch_filled_default as SwitchFilled,\n takeaway_box_default as TakeawayBox,\n ticket_default as Ticket,\n tickets_default as Tickets,\n timer_default as Timer,\n toilet_paper_default as ToiletPaper,\n tools_default as Tools,\n top_default as Top,\n top_left_default as TopLeft,\n top_right_default as TopRight,\n trend_charts_default as TrendCharts,\n trophy_default as Trophy,\n trophy_base_default as TrophyBase,\n turn_off_default as TurnOff,\n umbrella_default as Umbrella,\n unlock_default as Unlock,\n upload_default as Upload,\n upload_filled_default as UploadFilled,\n user_default as User,\n user_filled_default as UserFilled,\n van_default as Van,\n video_camera_default as VideoCamera,\n video_camera_filled_default as VideoCameraFilled,\n video_pause_default as VideoPause,\n video_play_default as VideoPlay,\n view_default as View,\n wallet_default as Wallet,\n wallet_filled_default as WalletFilled,\n warn_triangle_filled_default as WarnTriangleFilled,\n warning_default as Warning,\n warning_filled_default as WarningFilled,\n watch_default as Watch,\n watermelon_default as Watermelon,\n wind_power_default as WindPower,\n zoom_in_default as ZoomIn,\n zoom_out_default as ZoomOut\n};\n","import { Close, SuccessFilled, InfoFilled, WarningFilled, CircleCloseFilled, Loading, CircleCheck, CircleClose } from '@element-plus/icons-vue';\nimport { definePropType } from './props/runtime.mjs';\n\nconst iconPropType = definePropType([\n String,\n Object,\n Function\n]);\nconst CloseComponents = {\n Close\n};\nconst TypeComponents = {\n Close,\n SuccessFilled,\n InfoFilled,\n WarningFilled,\n CircleCloseFilled\n};\nconst TypeComponentsMap = {\n success: SuccessFilled,\n warning: WarningFilled,\n error: CircleCloseFilled,\n info: InfoFilled\n};\nconst ValidateComponentsMap = {\n validating: Loading,\n success: CircleCheck,\n error: CircleClose\n};\n\nexport { CloseComponents, TypeComponents, TypeComponentsMap, ValidateComponentsMap, iconPropType };\n//# sourceMappingURL=icon.mjs.map\n","const mutable = (val) => val;\n\nexport { mutable };\n//# sourceMappingURL=typescript.mjs.map\n","const formContextKey = Symbol(\"formContextKey\");\nconst formItemContextKey = Symbol(\"formItemContextKey\");\n\nexport { formContextKey, formItemContextKey };\n//# sourceMappingURL=constants.mjs.map\n","import { getCurrentInstance, inject, unref } from 'vue';\nimport { isClient, computedEager } from '@vueuse/core';\nimport { useGetDerivedNamespace } from '../use-namespace/index.mjs';\nimport { debugWarn } from '../../utils/error.mjs';\n\nconst defaultIdInjection = {\n prefix: Math.floor(Math.random() * 1e4),\n current: 0\n};\nconst ID_INJECTION_KEY = Symbol(\"elIdInjection\");\nconst useIdInjection = () => {\n return getCurrentInstance() ? inject(ID_INJECTION_KEY, defaultIdInjection) : defaultIdInjection;\n};\nconst useId = (deterministicId) => {\n const idInjection = useIdInjection();\n if (!isClient && idInjection === defaultIdInjection) {\n debugWarn(\"IdInjection\", `Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed\nusage: app.provide(ID_INJECTION_KEY, {\n prefix: number,\n current: number,\n})`);\n }\n const namespace = useGetDerivedNamespace();\n const idRef = computedEager(() => unref(deterministicId) || `${namespace.value}-id-${idInjection.prefix}-${idInjection.current++}`);\n return idRef;\n};\n\nexport { ID_INJECTION_KEY, useId, useIdInjection };\n//# sourceMappingURL=index.mjs.map\n","import { inject, ref, computed, onMounted, watch, toRef, onUnmounted } from 'vue';\nimport { formContextKey, formItemContextKey } from '../constants.mjs';\nimport { useId } from '../../../../hooks/use-id/index.mjs';\n\nconst useFormItem = () => {\n const form = inject(formContextKey, void 0);\n const formItem = inject(formItemContextKey, void 0);\n return {\n form,\n formItem\n };\n};\nconst useFormItemInputId = (props, {\n formItemContext,\n disableIdGeneration,\n disableIdManagement\n}) => {\n if (!disableIdGeneration) {\n disableIdGeneration = ref(false);\n }\n if (!disableIdManagement) {\n disableIdManagement = ref(false);\n }\n const inputId = ref();\n let idUnwatch = void 0;\n const isLabeledByFormItem = computed(() => {\n var _a;\n return !!(!(props.label || props.ariaLabel) && formItemContext && formItemContext.inputIds && ((_a = formItemContext.inputIds) == null ? void 0 : _a.length) <= 1);\n });\n onMounted(() => {\n idUnwatch = watch([toRef(props, \"id\"), disableIdGeneration], ([id, disableIdGeneration2]) => {\n const newId = id != null ? id : !disableIdGeneration2 ? useId().value : void 0;\n if (newId !== inputId.value) {\n if (formItemContext == null ? void 0 : formItemContext.removeInputId) {\n inputId.value && formItemContext.removeInputId(inputId.value);\n if (!(disableIdManagement == null ? void 0 : disableIdManagement.value) && !disableIdGeneration2 && newId) {\n formItemContext.addInputId(newId);\n }\n }\n inputId.value = newId;\n }\n }, { immediate: true });\n });\n onUnmounted(() => {\n idUnwatch && idUnwatch();\n if (formItemContext == null ? void 0 : formItemContext.removeInputId) {\n inputId.value && formItemContext.removeInputId(inputId.value);\n }\n });\n return {\n isLabeledByFormItem,\n inputId\n };\n};\n\nexport { useFormItem, useFormItemInputId };\n//# sourceMappingURL=use-form-item.mjs.map\n","import { getCurrentInstance, computed } from 'vue';\n\nconst useProp = (name) => {\n const vm = getCurrentInstance();\n return computed(() => {\n var _a, _b;\n return (_b = (_a = vm == null ? void 0 : vm.proxy) == null ? void 0 : _a.$props) == null ? void 0 : _b[name];\n });\n};\n\nexport { useProp };\n//# sourceMappingURL=index.mjs.map\n","import { computed, unref, ref, inject } from 'vue';\nimport { formContextKey, formItemContextKey } from '../constants.mjs';\nimport { useProp } from '../../../../hooks/use-prop/index.mjs';\nimport { useGlobalSize } from '../../../../hooks/use-size/index.mjs';\n\nconst useFormSize = (fallback, ignore = {}) => {\n const emptyRef = ref(void 0);\n const size = ignore.prop ? emptyRef : useProp(\"size\");\n const globalConfig = ignore.global ? emptyRef : useGlobalSize();\n const form = ignore.form ? { size: void 0 } : inject(formContextKey, void 0);\n const formItem = ignore.formItem ? { size: void 0 } : inject(formItemContextKey, void 0);\n return computed(() => size.value || unref(fallback) || (formItem == null ? void 0 : formItem.size) || (form == null ? void 0 : form.size) || globalConfig.value || \"\");\n};\nconst useFormDisabled = (fallback) => {\n const disabled = useProp(\"disabled\");\n const form = inject(formContextKey, void 0);\n return computed(() => disabled.value || unref(fallback) || (form == null ? void 0 : form.disabled) || false);\n};\nconst useSize = useFormSize;\nconst useDisabled = useFormDisabled;\n\nexport { useDisabled, useFormDisabled, useFormSize, useSize };\n//# sourceMappingURL=use-form-common-props.mjs.map\n","const buttonGroupContextKey = Symbol(\"buttonGroupContextKey\");\n\nexport { buttonGroupContextKey };\n//# sourceMappingURL=constants.mjs.map\n","import { watch, unref } from 'vue';\nimport { debugWarn } from '../../utils/error.mjs';\n\nconst useDeprecated = ({ from, replacement, scope, version, ref, type = \"API\" }, condition) => {\n watch(() => unref(condition), (val) => {\n if (val) {\n debugWarn(scope, `[${type}] ${from} is about to be deprecated in version ${version}, please use ${replacement} instead.\nFor more detail, please visit: ${ref}\n`);\n }\n }, {\n immediate: true\n });\n};\n\nexport { useDeprecated };\n//# sourceMappingURL=index.mjs.map\n","import { computed, inject, ref, useSlots, Text } from 'vue';\nimport { buttonGroupContextKey } from './constants.mjs';\nimport { useDeprecated } from '../../../hooks/use-deprecated/index.mjs';\nimport { useGlobalConfig } from '../../config-provider/src/hooks/use-global-config.mjs';\nimport { useFormItem } from '../../form/src/hooks/use-form-item.mjs';\nimport { useFormSize, useFormDisabled } from '../../form/src/hooks/use-form-common-props.mjs';\n\nconst useButton = (props, emit) => {\n useDeprecated({\n from: \"type.text\",\n replacement: \"link\",\n version: \"3.0.0\",\n scope: \"props\",\n ref: \"https://element-plus.org/en-US/component/button.html#button-attributes\"\n }, computed(() => props.type === \"text\"));\n const buttonGroupContext = inject(buttonGroupContextKey, void 0);\n const globalConfig = useGlobalConfig(\"button\");\n const { form } = useFormItem();\n const _size = useFormSize(computed(() => buttonGroupContext == null ? void 0 : buttonGroupContext.size));\n const _disabled = useFormDisabled();\n const _ref = ref();\n const slots = useSlots();\n const _type = computed(() => props.type || (buttonGroupContext == null ? void 0 : buttonGroupContext.type) || \"\");\n const autoInsertSpace = computed(() => {\n var _a, _b, _c;\n return (_c = (_b = props.autoInsertSpace) != null ? _b : (_a = globalConfig.value) == null ? void 0 : _a.autoInsertSpace) != null ? _c : false;\n });\n const _props = computed(() => {\n if (props.tag === \"button\") {\n return {\n ariaDisabled: _disabled.value || props.loading,\n disabled: _disabled.value || props.loading,\n autofocus: props.autofocus,\n type: props.nativeType\n };\n }\n return {};\n });\n const shouldAddSpace = computed(() => {\n var _a;\n const defaultSlot = (_a = slots.default) == null ? void 0 : _a.call(slots);\n if (autoInsertSpace.value && (defaultSlot == null ? void 0 : defaultSlot.length) === 1) {\n const slot = defaultSlot[0];\n if ((slot == null ? void 0 : slot.type) === Text) {\n const text = slot.children;\n return /^\\p{Unified_Ideograph}{2}$/u.test(text.trim());\n }\n }\n return false;\n });\n const handleClick = (evt) => {\n if (_disabled.value || props.loading) {\n evt.stopPropagation();\n return;\n }\n if (props.nativeType === \"reset\") {\n form == null ? void 0 : form.resetFields();\n }\n emit(\"click\", evt);\n };\n return {\n _disabled,\n _size,\n _type,\n _ref,\n _props,\n shouldAddSpace,\n handleClick\n };\n};\n\nexport { useButton };\n//# sourceMappingURL=use-button.mjs.map\n","import { Loading } from '@element-plus/icons-vue';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { useSizeProp } from '../../../hooks/use-size/index.mjs';\nimport { iconPropType } from '../../../utils/vue/icon.mjs';\n\nconst buttonTypes = [\n \"default\",\n \"primary\",\n \"success\",\n \"warning\",\n \"info\",\n \"danger\",\n \"text\",\n \"\"\n];\nconst buttonNativeTypes = [\"button\", \"submit\", \"reset\"];\nconst buttonProps = buildProps({\n size: useSizeProp,\n disabled: Boolean,\n type: {\n type: String,\n values: buttonTypes,\n default: \"\"\n },\n icon: {\n type: iconPropType\n },\n nativeType: {\n type: String,\n values: buttonNativeTypes,\n default: \"button\"\n },\n loading: Boolean,\n loadingIcon: {\n type: iconPropType,\n default: () => Loading\n },\n plain: Boolean,\n text: Boolean,\n link: Boolean,\n bg: Boolean,\n autofocus: Boolean,\n round: Boolean,\n circle: Boolean,\n color: String,\n dark: Boolean,\n autoInsertSpace: {\n type: Boolean,\n default: void 0\n },\n tag: {\n type: definePropType([String, Object]),\n default: \"button\"\n }\n});\nconst buttonEmits = {\n click: (evt) => evt instanceof MouseEvent\n};\n\nexport { buttonEmits, buttonNativeTypes, buttonProps, buttonTypes };\n//# sourceMappingURL=button.mjs.map\n","/**\n * Take input from [0, n] and return it as [0, 1]\n * @hidden\n */\nexport function bound01(n, max) {\n if (isOnePointZero(n)) {\n n = '100%';\n }\n var isPercent = isPercentage(n);\n n = max === 360 ? n : Math.min(max, Math.max(0, parseFloat(n)));\n // Automatically convert percentage into number\n if (isPercent) {\n n = parseInt(String(n * max), 10) / 100;\n }\n // Handle floating point rounding errors\n if (Math.abs(n - max) < 0.000001) {\n return 1;\n }\n // Convert into [0, 1] range if it isn't already\n if (max === 360) {\n // If n is a hue given in degrees,\n // wrap around out-of-range values into [0, 360] range\n // then convert into [0, 1].\n n = (n < 0 ? (n % max) + max : n % max) / parseFloat(String(max));\n }\n else {\n // If n not a hue given in degrees\n // Convert into [0, 1] range if it isn't already.\n n = (n % max) / parseFloat(String(max));\n }\n return n;\n}\n/**\n * Force a number between 0 and 1\n * @hidden\n */\nexport function clamp01(val) {\n return Math.min(1, Math.max(0, val));\n}\n/**\n * Need to handle 1.0 as 100%, since once it is a number, there is no difference between it and 1\n * \n * @hidden\n */\nexport function isOnePointZero(n) {\n return typeof n === 'string' && n.indexOf('.') !== -1 && parseFloat(n) === 1;\n}\n/**\n * Check to see if string passed in is a percentage\n * @hidden\n */\nexport function isPercentage(n) {\n return typeof n === 'string' && n.indexOf('%') !== -1;\n}\n/**\n * Return a valid alpha value [0,1] with all invalid values being set to 1\n * @hidden\n */\nexport function boundAlpha(a) {\n a = parseFloat(a);\n if (isNaN(a) || a < 0 || a > 1) {\n a = 1;\n }\n return a;\n}\n/**\n * Replace a decimal with it's percentage value\n * @hidden\n */\nexport function convertToPercentage(n) {\n if (n <= 1) {\n return \"\".concat(Number(n) * 100, \"%\");\n }\n return n;\n}\n/**\n * Force a hex value to have 2 characters\n * @hidden\n */\nexport function pad2(c) {\n return c.length === 1 ? '0' + c : String(c);\n}\n","import { bound01, pad2 } from './util.js';\n// `rgbToHsl`, `rgbToHsv`, `hslToRgb`, `hsvToRgb` modified from:\n// \n/**\n * Handle bounds / percentage checking to conform to CSS color spec\n * \n * *Assumes:* r, g, b in [0, 255] or [0, 1]\n * *Returns:* { r, g, b } in [0, 255]\n */\nexport function rgbToRgb(r, g, b) {\n return {\n r: bound01(r, 255) * 255,\n g: bound01(g, 255) * 255,\n b: bound01(b, 255) * 255,\n };\n}\n/**\n * Converts an RGB color value to HSL.\n * *Assumes:* r, g, and b are contained in [0, 255] or [0, 1]\n * *Returns:* { h, s, l } in [0,1]\n */\nexport function rgbToHsl(r, g, b) {\n r = bound01(r, 255);\n g = bound01(g, 255);\n b = bound01(b, 255);\n var max = Math.max(r, g, b);\n var min = Math.min(r, g, b);\n var h = 0;\n var s = 0;\n var l = (max + min) / 2;\n if (max === min) {\n s = 0;\n h = 0; // achromatic\n }\n else {\n var d = max - min;\n s = l > 0.5 ? d / (2 - max - min) : d / (max + min);\n switch (max) {\n case r:\n h = (g - b) / d + (g < b ? 6 : 0);\n break;\n case g:\n h = (b - r) / d + 2;\n break;\n case b:\n h = (r - g) / d + 4;\n break;\n default:\n break;\n }\n h /= 6;\n }\n return { h: h, s: s, l: l };\n}\nfunction hue2rgb(p, q, t) {\n if (t < 0) {\n t += 1;\n }\n if (t > 1) {\n t -= 1;\n }\n if (t < 1 / 6) {\n return p + (q - p) * (6 * t);\n }\n if (t < 1 / 2) {\n return q;\n }\n if (t < 2 / 3) {\n return p + (q - p) * (2 / 3 - t) * 6;\n }\n return p;\n}\n/**\n * Converts an HSL color value to RGB.\n *\n * *Assumes:* h is contained in [0, 1] or [0, 360] and s and l are contained [0, 1] or [0, 100]\n * *Returns:* { r, g, b } in the set [0, 255]\n */\nexport function hslToRgb(h, s, l) {\n var r;\n var g;\n var b;\n h = bound01(h, 360);\n s = bound01(s, 100);\n l = bound01(l, 100);\n if (s === 0) {\n // achromatic\n g = l;\n b = l;\n r = l;\n }\n else {\n var q = l < 0.5 ? l * (1 + s) : l + s - l * s;\n var p = 2 * l - q;\n r = hue2rgb(p, q, h + 1 / 3);\n g = hue2rgb(p, q, h);\n b = hue2rgb(p, q, h - 1 / 3);\n }\n return { r: r * 255, g: g * 255, b: b * 255 };\n}\n/**\n * Converts an RGB color value to HSV\n *\n * *Assumes:* r, g, and b are contained in the set [0, 255] or [0, 1]\n * *Returns:* { h, s, v } in [0,1]\n */\nexport function rgbToHsv(r, g, b) {\n r = bound01(r, 255);\n g = bound01(g, 255);\n b = bound01(b, 255);\n var max = Math.max(r, g, b);\n var min = Math.min(r, g, b);\n var h = 0;\n var v = max;\n var d = max - min;\n var s = max === 0 ? 0 : d / max;\n if (max === min) {\n h = 0; // achromatic\n }\n else {\n switch (max) {\n case r:\n h = (g - b) / d + (g < b ? 6 : 0);\n break;\n case g:\n h = (b - r) / d + 2;\n break;\n case b:\n h = (r - g) / d + 4;\n break;\n default:\n break;\n }\n h /= 6;\n }\n return { h: h, s: s, v: v };\n}\n/**\n * Converts an HSV color value to RGB.\n *\n * *Assumes:* h is contained in [0, 1] or [0, 360] and s and v are contained in [0, 1] or [0, 100]\n * *Returns:* { r, g, b } in the set [0, 255]\n */\nexport function hsvToRgb(h, s, v) {\n h = bound01(h, 360) * 6;\n s = bound01(s, 100);\n v = bound01(v, 100);\n var i = Math.floor(h);\n var f = h - i;\n var p = v * (1 - s);\n var q = v * (1 - f * s);\n var t = v * (1 - (1 - f) * s);\n var mod = i % 6;\n var r = [v, q, p, p, t, v][mod];\n var g = [t, v, v, q, p, p][mod];\n var b = [p, p, t, v, v, q][mod];\n return { r: r * 255, g: g * 255, b: b * 255 };\n}\n/**\n * Converts an RGB color to hex\n *\n * Assumes r, g, and b are contained in the set [0, 255]\n * Returns a 3 or 6 character hex\n */\nexport function rgbToHex(r, g, b, allow3Char) {\n var hex = [\n pad2(Math.round(r).toString(16)),\n pad2(Math.round(g).toString(16)),\n pad2(Math.round(b).toString(16)),\n ];\n // Return a 3 character hex if possible\n if (allow3Char &&\n hex[0].startsWith(hex[0].charAt(1)) &&\n hex[1].startsWith(hex[1].charAt(1)) &&\n hex[2].startsWith(hex[2].charAt(1))) {\n return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0);\n }\n return hex.join('');\n}\n/**\n * Converts an RGBA color plus alpha transparency to hex\n *\n * Assumes r, g, b are contained in the set [0, 255] and\n * a in [0, 1]. Returns a 4 or 8 character rgba hex\n */\n// eslint-disable-next-line max-params\nexport function rgbaToHex(r, g, b, a, allow4Char) {\n var hex = [\n pad2(Math.round(r).toString(16)),\n pad2(Math.round(g).toString(16)),\n pad2(Math.round(b).toString(16)),\n pad2(convertDecimalToHex(a)),\n ];\n // Return a 4 character hex if possible\n if (allow4Char &&\n hex[0].startsWith(hex[0].charAt(1)) &&\n hex[1].startsWith(hex[1].charAt(1)) &&\n hex[2].startsWith(hex[2].charAt(1)) &&\n hex[3].startsWith(hex[3].charAt(1))) {\n return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0) + hex[3].charAt(0);\n }\n return hex.join('');\n}\n/**\n * Converts an RGBA color to an ARGB Hex8 string\n * Rarely used, but required for \"toFilter()\"\n */\nexport function rgbaToArgbHex(r, g, b, a) {\n var hex = [\n pad2(convertDecimalToHex(a)),\n pad2(Math.round(r).toString(16)),\n pad2(Math.round(g).toString(16)),\n pad2(Math.round(b).toString(16)),\n ];\n return hex.join('');\n}\n/** Converts a decimal to a hex value */\nexport function convertDecimalToHex(d) {\n return Math.round(parseFloat(d) * 255).toString(16);\n}\n/** Converts a hex value to a decimal */\nexport function convertHexToDecimal(h) {\n return parseIntFromHex(h) / 255;\n}\n/** Parse a base-16 hex value into a base-10 integer */\nexport function parseIntFromHex(val) {\n return parseInt(val, 16);\n}\nexport function numberInputToObject(color) {\n return {\n r: color >> 16,\n g: (color & 0xff00) >> 8,\n b: color & 0xff,\n };\n}\n","// https://github.com/bahamas10/css-color-names/blob/master/css-color-names.json\n/**\n * @hidden\n */\nexport var names = {\n aliceblue: '#f0f8ff',\n antiquewhite: '#faebd7',\n aqua: '#00ffff',\n aquamarine: '#7fffd4',\n azure: '#f0ffff',\n beige: '#f5f5dc',\n bisque: '#ffe4c4',\n black: '#000000',\n blanchedalmond: '#ffebcd',\n blue: '#0000ff',\n blueviolet: '#8a2be2',\n brown: '#a52a2a',\n burlywood: '#deb887',\n cadetblue: '#5f9ea0',\n chartreuse: '#7fff00',\n chocolate: '#d2691e',\n coral: '#ff7f50',\n cornflowerblue: '#6495ed',\n cornsilk: '#fff8dc',\n crimson: '#dc143c',\n cyan: '#00ffff',\n darkblue: '#00008b',\n darkcyan: '#008b8b',\n darkgoldenrod: '#b8860b',\n darkgray: '#a9a9a9',\n darkgreen: '#006400',\n darkgrey: '#a9a9a9',\n darkkhaki: '#bdb76b',\n darkmagenta: '#8b008b',\n darkolivegreen: '#556b2f',\n darkorange: '#ff8c00',\n darkorchid: '#9932cc',\n darkred: '#8b0000',\n darksalmon: '#e9967a',\n darkseagreen: '#8fbc8f',\n darkslateblue: '#483d8b',\n darkslategray: '#2f4f4f',\n darkslategrey: '#2f4f4f',\n darkturquoise: '#00ced1',\n darkviolet: '#9400d3',\n deeppink: '#ff1493',\n deepskyblue: '#00bfff',\n dimgray: '#696969',\n dimgrey: '#696969',\n dodgerblue: '#1e90ff',\n firebrick: '#b22222',\n floralwhite: '#fffaf0',\n forestgreen: '#228b22',\n fuchsia: '#ff00ff',\n gainsboro: '#dcdcdc',\n ghostwhite: '#f8f8ff',\n goldenrod: '#daa520',\n gold: '#ffd700',\n gray: '#808080',\n green: '#008000',\n greenyellow: '#adff2f',\n grey: '#808080',\n honeydew: '#f0fff0',\n hotpink: '#ff69b4',\n indianred: '#cd5c5c',\n indigo: '#4b0082',\n ivory: '#fffff0',\n khaki: '#f0e68c',\n lavenderblush: '#fff0f5',\n lavender: '#e6e6fa',\n lawngreen: '#7cfc00',\n lemonchiffon: '#fffacd',\n lightblue: '#add8e6',\n lightcoral: '#f08080',\n lightcyan: '#e0ffff',\n lightgoldenrodyellow: '#fafad2',\n lightgray: '#d3d3d3',\n lightgreen: '#90ee90',\n lightgrey: '#d3d3d3',\n lightpink: '#ffb6c1',\n lightsalmon: '#ffa07a',\n lightseagreen: '#20b2aa',\n lightskyblue: '#87cefa',\n lightslategray: '#778899',\n lightslategrey: '#778899',\n lightsteelblue: '#b0c4de',\n lightyellow: '#ffffe0',\n lime: '#00ff00',\n limegreen: '#32cd32',\n linen: '#faf0e6',\n magenta: '#ff00ff',\n maroon: '#800000',\n mediumaquamarine: '#66cdaa',\n mediumblue: '#0000cd',\n mediumorchid: '#ba55d3',\n mediumpurple: '#9370db',\n mediumseagreen: '#3cb371',\n mediumslateblue: '#7b68ee',\n mediumspringgreen: '#00fa9a',\n mediumturquoise: '#48d1cc',\n mediumvioletred: '#c71585',\n midnightblue: '#191970',\n mintcream: '#f5fffa',\n mistyrose: '#ffe4e1',\n moccasin: '#ffe4b5',\n navajowhite: '#ffdead',\n navy: '#000080',\n oldlace: '#fdf5e6',\n olive: '#808000',\n olivedrab: '#6b8e23',\n orange: '#ffa500',\n orangered: '#ff4500',\n orchid: '#da70d6',\n palegoldenrod: '#eee8aa',\n palegreen: '#98fb98',\n paleturquoise: '#afeeee',\n palevioletred: '#db7093',\n papayawhip: '#ffefd5',\n peachpuff: '#ffdab9',\n peru: '#cd853f',\n pink: '#ffc0cb',\n plum: '#dda0dd',\n powderblue: '#b0e0e6',\n purple: '#800080',\n rebeccapurple: '#663399',\n red: '#ff0000',\n rosybrown: '#bc8f8f',\n royalblue: '#4169e1',\n saddlebrown: '#8b4513',\n salmon: '#fa8072',\n sandybrown: '#f4a460',\n seagreen: '#2e8b57',\n seashell: '#fff5ee',\n sienna: '#a0522d',\n silver: '#c0c0c0',\n skyblue: '#87ceeb',\n slateblue: '#6a5acd',\n slategray: '#708090',\n slategrey: '#708090',\n snow: '#fffafa',\n springgreen: '#00ff7f',\n steelblue: '#4682b4',\n tan: '#d2b48c',\n teal: '#008080',\n thistle: '#d8bfd8',\n tomato: '#ff6347',\n turquoise: '#40e0d0',\n violet: '#ee82ee',\n wheat: '#f5deb3',\n white: '#ffffff',\n whitesmoke: '#f5f5f5',\n yellow: '#ffff00',\n yellowgreen: '#9acd32',\n};\n","/* eslint-disable @typescript-eslint/no-redundant-type-constituents */\nimport { convertHexToDecimal, hslToRgb, hsvToRgb, parseIntFromHex, rgbToRgb, } from './conversion.js';\nimport { names } from './css-color-names.js';\nimport { boundAlpha, convertToPercentage } from './util.js';\n/**\n * Given a string or object, convert that input to RGB\n *\n * Possible string inputs:\n * ```\n * \"red\"\n * \"#f00\" or \"f00\"\n * \"#ff0000\" or \"ff0000\"\n * \"#ff000000\" or \"ff000000\"\n * \"rgb 255 0 0\" or \"rgb (255, 0, 0)\"\n * \"rgb 1.0 0 0\" or \"rgb (1, 0, 0)\"\n * \"rgba (255, 0, 0, 1)\" or \"rgba 255, 0, 0, 1\"\n * \"rgba (1.0, 0, 0, 1)\" or \"rgba 1.0, 0, 0, 1\"\n * \"hsl(0, 100%, 50%)\" or \"hsl 0 100% 50%\"\n * \"hsla(0, 100%, 50%, 1)\" or \"hsla 0 100% 50%, 1\"\n * \"hsv(0, 100%, 100%)\" or \"hsv 0 100% 100%\"\n * ```\n */\nexport function inputToRGB(color) {\n var rgb = { r: 0, g: 0, b: 0 };\n var a = 1;\n var s = null;\n var v = null;\n var l = null;\n var ok = false;\n var format = false;\n if (typeof color === 'string') {\n color = stringInputToObject(color);\n }\n if (typeof color === 'object') {\n if (isValidCSSUnit(color.r) && isValidCSSUnit(color.g) && isValidCSSUnit(color.b)) {\n rgb = rgbToRgb(color.r, color.g, color.b);\n ok = true;\n format = String(color.r).substr(-1) === '%' ? 'prgb' : 'rgb';\n }\n else if (isValidCSSUnit(color.h) && isValidCSSUnit(color.s) && isValidCSSUnit(color.v)) {\n s = convertToPercentage(color.s);\n v = convertToPercentage(color.v);\n rgb = hsvToRgb(color.h, s, v);\n ok = true;\n format = 'hsv';\n }\n else if (isValidCSSUnit(color.h) && isValidCSSUnit(color.s) && isValidCSSUnit(color.l)) {\n s = convertToPercentage(color.s);\n l = convertToPercentage(color.l);\n rgb = hslToRgb(color.h, s, l);\n ok = true;\n format = 'hsl';\n }\n if (Object.prototype.hasOwnProperty.call(color, 'a')) {\n a = color.a;\n }\n }\n a = boundAlpha(a);\n return {\n ok: ok,\n format: color.format || format,\n r: Math.min(255, Math.max(rgb.r, 0)),\n g: Math.min(255, Math.max(rgb.g, 0)),\n b: Math.min(255, Math.max(rgb.b, 0)),\n a: a,\n };\n}\n// \nvar CSS_INTEGER = '[-\\\\+]?\\\\d+%?';\n// \nvar CSS_NUMBER = '[-\\\\+]?\\\\d*\\\\.\\\\d+%?';\n// Allow positive/negative integer/number. Don't capture the either/or, just the entire outcome.\nvar CSS_UNIT = \"(?:\".concat(CSS_NUMBER, \")|(?:\").concat(CSS_INTEGER, \")\");\n// Actual matching.\n// Parentheses and commas are optional, but not required.\n// Whitespace can take the place of commas or opening paren\nvar PERMISSIVE_MATCH3 = \"[\\\\s|\\\\(]+(\".concat(CSS_UNIT, \")[,|\\\\s]+(\").concat(CSS_UNIT, \")[,|\\\\s]+(\").concat(CSS_UNIT, \")\\\\s*\\\\)?\");\nvar PERMISSIVE_MATCH4 = \"[\\\\s|\\\\(]+(\".concat(CSS_UNIT, \")[,|\\\\s]+(\").concat(CSS_UNIT, \")[,|\\\\s]+(\").concat(CSS_UNIT, \")[,|\\\\s]+(\").concat(CSS_UNIT, \")\\\\s*\\\\)?\");\nvar matchers = {\n CSS_UNIT: new RegExp(CSS_UNIT),\n rgb: new RegExp('rgb' + PERMISSIVE_MATCH3),\n rgba: new RegExp('rgba' + PERMISSIVE_MATCH4),\n hsl: new RegExp('hsl' + PERMISSIVE_MATCH3),\n hsla: new RegExp('hsla' + PERMISSIVE_MATCH4),\n hsv: new RegExp('hsv' + PERMISSIVE_MATCH3),\n hsva: new RegExp('hsva' + PERMISSIVE_MATCH4),\n hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,\n hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,\n hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,\n hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,\n};\n/**\n * Permissive string parsing. Take in a number of formats, and output an object\n * based on detected format. Returns `{ r, g, b }` or `{ h, s, l }` or `{ h, s, v}`\n */\nexport function stringInputToObject(color) {\n color = color.trim().toLowerCase();\n if (color.length === 0) {\n return false;\n }\n var named = false;\n if (names[color]) {\n color = names[color];\n named = true;\n }\n else if (color === 'transparent') {\n return { r: 0, g: 0, b: 0, a: 0, format: 'name' };\n }\n // Try to match string input using regular expressions.\n // Keep most of the number bounding out of this function - don't worry about [0,1] or [0,100] or [0,360]\n // Just return an object and let the conversion functions handle that.\n // This way the result will be the same whether the tinycolor is initialized with string or object.\n var match = matchers.rgb.exec(color);\n if (match) {\n return { r: match[1], g: match[2], b: match[3] };\n }\n match = matchers.rgba.exec(color);\n if (match) {\n return { r: match[1], g: match[2], b: match[3], a: match[4] };\n }\n match = matchers.hsl.exec(color);\n if (match) {\n return { h: match[1], s: match[2], l: match[3] };\n }\n match = matchers.hsla.exec(color);\n if (match) {\n return { h: match[1], s: match[2], l: match[3], a: match[4] };\n }\n match = matchers.hsv.exec(color);\n if (match) {\n return { h: match[1], s: match[2], v: match[3] };\n }\n match = matchers.hsva.exec(color);\n if (match) {\n return { h: match[1], s: match[2], v: match[3], a: match[4] };\n }\n match = matchers.hex8.exec(color);\n if (match) {\n return {\n r: parseIntFromHex(match[1]),\n g: parseIntFromHex(match[2]),\n b: parseIntFromHex(match[3]),\n a: convertHexToDecimal(match[4]),\n format: named ? 'name' : 'hex8',\n };\n }\n match = matchers.hex6.exec(color);\n if (match) {\n return {\n r: parseIntFromHex(match[1]),\n g: parseIntFromHex(match[2]),\n b: parseIntFromHex(match[3]),\n format: named ? 'name' : 'hex',\n };\n }\n match = matchers.hex4.exec(color);\n if (match) {\n return {\n r: parseIntFromHex(match[1] + match[1]),\n g: parseIntFromHex(match[2] + match[2]),\n b: parseIntFromHex(match[3] + match[3]),\n a: convertHexToDecimal(match[4] + match[4]),\n format: named ? 'name' : 'hex8',\n };\n }\n match = matchers.hex3.exec(color);\n if (match) {\n return {\n r: parseIntFromHex(match[1] + match[1]),\n g: parseIntFromHex(match[2] + match[2]),\n b: parseIntFromHex(match[3] + match[3]),\n format: named ? 'name' : 'hex',\n };\n }\n return false;\n}\n/**\n * Check to see if it looks like a CSS unit\n * (see `matchers` above for definition).\n */\nexport function isValidCSSUnit(color) {\n return Boolean(matchers.CSS_UNIT.exec(String(color)));\n}\n","import { numberInputToObject, rgbaToHex, rgbToHex, rgbToHsl, rgbToHsv } from './conversion.js';\nimport { names } from './css-color-names.js';\nimport { inputToRGB } from './format-input';\nimport { bound01, boundAlpha, clamp01 } from './util.js';\nvar TinyColor = /** @class */ (function () {\n function TinyColor(color, opts) {\n if (color === void 0) { color = ''; }\n if (opts === void 0) { opts = {}; }\n var _a;\n // If input is already a tinycolor, return itself\n if (color instanceof TinyColor) {\n // eslint-disable-next-line no-constructor-return\n return color;\n }\n if (typeof color === 'number') {\n color = numberInputToObject(color);\n }\n this.originalInput = color;\n var rgb = inputToRGB(color);\n this.originalInput = color;\n this.r = rgb.r;\n this.g = rgb.g;\n this.b = rgb.b;\n this.a = rgb.a;\n this.roundA = Math.round(100 * this.a) / 100;\n this.format = (_a = opts.format) !== null && _a !== void 0 ? _a : rgb.format;\n this.gradientType = opts.gradientType;\n // Don't let the range of [0,255] come back in [0,1].\n // Potentially lose a little bit of precision here, but will fix issues where\n // .5 gets interpreted as half of the total, instead of half of 1\n // If it was supposed to be 128, this was already taken care of by `inputToRgb`\n if (this.r < 1) {\n this.r = Math.round(this.r);\n }\n if (this.g < 1) {\n this.g = Math.round(this.g);\n }\n if (this.b < 1) {\n this.b = Math.round(this.b);\n }\n this.isValid = rgb.ok;\n }\n TinyColor.prototype.isDark = function () {\n return this.getBrightness() < 128;\n };\n TinyColor.prototype.isLight = function () {\n return !this.isDark();\n };\n /**\n * Returns the perceived brightness of the color, from 0-255.\n */\n TinyColor.prototype.getBrightness = function () {\n // http://www.w3.org/TR/AERT#color-contrast\n var rgb = this.toRgb();\n return (rgb.r * 299 + rgb.g * 587 + rgb.b * 114) / 1000;\n };\n /**\n * Returns the perceived luminance of a color, from 0-1.\n */\n TinyColor.prototype.getLuminance = function () {\n // http://www.w3.org/TR/2008/REC-WCAG20-20081211/#relativeluminancedef\n var rgb = this.toRgb();\n var R;\n var G;\n var B;\n var RsRGB = rgb.r / 255;\n var GsRGB = rgb.g / 255;\n var BsRGB = rgb.b / 255;\n if (RsRGB <= 0.03928) {\n R = RsRGB / 12.92;\n }\n else {\n // eslint-disable-next-line prefer-exponentiation-operator\n R = Math.pow((RsRGB + 0.055) / 1.055, 2.4);\n }\n if (GsRGB <= 0.03928) {\n G = GsRGB / 12.92;\n }\n else {\n // eslint-disable-next-line prefer-exponentiation-operator\n G = Math.pow((GsRGB + 0.055) / 1.055, 2.4);\n }\n if (BsRGB <= 0.03928) {\n B = BsRGB / 12.92;\n }\n else {\n // eslint-disable-next-line prefer-exponentiation-operator\n B = Math.pow((BsRGB + 0.055) / 1.055, 2.4);\n }\n return 0.2126 * R + 0.7152 * G + 0.0722 * B;\n };\n /**\n * Returns the alpha value of a color, from 0-1.\n */\n TinyColor.prototype.getAlpha = function () {\n return this.a;\n };\n /**\n * Sets the alpha value on the current color.\n *\n * @param alpha - The new alpha value. The accepted range is 0-1.\n */\n TinyColor.prototype.setAlpha = function (alpha) {\n this.a = boundAlpha(alpha);\n this.roundA = Math.round(100 * this.a) / 100;\n return this;\n };\n /**\n * Returns whether the color is monochrome.\n */\n TinyColor.prototype.isMonochrome = function () {\n var s = this.toHsl().s;\n return s === 0;\n };\n /**\n * Returns the object as a HSVA object.\n */\n TinyColor.prototype.toHsv = function () {\n var hsv = rgbToHsv(this.r, this.g, this.b);\n return { h: hsv.h * 360, s: hsv.s, v: hsv.v, a: this.a };\n };\n /**\n * Returns the hsva values interpolated into a string with the following format:\n * \"hsva(xxx, xxx, xxx, xx)\".\n */\n TinyColor.prototype.toHsvString = function () {\n var hsv = rgbToHsv(this.r, this.g, this.b);\n var h = Math.round(hsv.h * 360);\n var s = Math.round(hsv.s * 100);\n var v = Math.round(hsv.v * 100);\n return this.a === 1 ? \"hsv(\".concat(h, \", \").concat(s, \"%, \").concat(v, \"%)\") : \"hsva(\".concat(h, \", \").concat(s, \"%, \").concat(v, \"%, \").concat(this.roundA, \")\");\n };\n /**\n * Returns the object as a HSLA object.\n */\n TinyColor.prototype.toHsl = function () {\n var hsl = rgbToHsl(this.r, this.g, this.b);\n return { h: hsl.h * 360, s: hsl.s, l: hsl.l, a: this.a };\n };\n /**\n * Returns the hsla values interpolated into a string with the following format:\n * \"hsla(xxx, xxx, xxx, xx)\".\n */\n TinyColor.prototype.toHslString = function () {\n var hsl = rgbToHsl(this.r, this.g, this.b);\n var h = Math.round(hsl.h * 360);\n var s = Math.round(hsl.s * 100);\n var l = Math.round(hsl.l * 100);\n return this.a === 1 ? \"hsl(\".concat(h, \", \").concat(s, \"%, \").concat(l, \"%)\") : \"hsla(\".concat(h, \", \").concat(s, \"%, \").concat(l, \"%, \").concat(this.roundA, \")\");\n };\n /**\n * Returns the hex value of the color.\n * @param allow3Char will shorten hex value to 3 char if possible\n */\n TinyColor.prototype.toHex = function (allow3Char) {\n if (allow3Char === void 0) { allow3Char = false; }\n return rgbToHex(this.r, this.g, this.b, allow3Char);\n };\n /**\n * Returns the hex value of the color -with a # prefixed.\n * @param allow3Char will shorten hex value to 3 char if possible\n */\n TinyColor.prototype.toHexString = function (allow3Char) {\n if (allow3Char === void 0) { allow3Char = false; }\n return '#' + this.toHex(allow3Char);\n };\n /**\n * Returns the hex 8 value of the color.\n * @param allow4Char will shorten hex value to 4 char if possible\n */\n TinyColor.prototype.toHex8 = function (allow4Char) {\n if (allow4Char === void 0) { allow4Char = false; }\n return rgbaToHex(this.r, this.g, this.b, this.a, allow4Char);\n };\n /**\n * Returns the hex 8 value of the color -with a # prefixed.\n * @param allow4Char will shorten hex value to 4 char if possible\n */\n TinyColor.prototype.toHex8String = function (allow4Char) {\n if (allow4Char === void 0) { allow4Char = false; }\n return '#' + this.toHex8(allow4Char);\n };\n /**\n * Returns the shorter hex value of the color depends on its alpha -with a # prefixed.\n * @param allowShortChar will shorten hex value to 3 or 4 char if possible\n */\n TinyColor.prototype.toHexShortString = function (allowShortChar) {\n if (allowShortChar === void 0) { allowShortChar = false; }\n return this.a === 1 ? this.toHexString(allowShortChar) : this.toHex8String(allowShortChar);\n };\n /**\n * Returns the object as a RGBA object.\n */\n TinyColor.prototype.toRgb = function () {\n return {\n r: Math.round(this.r),\n g: Math.round(this.g),\n b: Math.round(this.b),\n a: this.a,\n };\n };\n /**\n * Returns the RGBA values interpolated into a string with the following format:\n * \"RGBA(xxx, xxx, xxx, xx)\".\n */\n TinyColor.prototype.toRgbString = function () {\n var r = Math.round(this.r);\n var g = Math.round(this.g);\n var b = Math.round(this.b);\n return this.a === 1 ? \"rgb(\".concat(r, \", \").concat(g, \", \").concat(b, \")\") : \"rgba(\".concat(r, \", \").concat(g, \", \").concat(b, \", \").concat(this.roundA, \")\");\n };\n /**\n * Returns the object as a RGBA object.\n */\n TinyColor.prototype.toPercentageRgb = function () {\n var fmt = function (x) { return \"\".concat(Math.round(bound01(x, 255) * 100), \"%\"); };\n return {\n r: fmt(this.r),\n g: fmt(this.g),\n b: fmt(this.b),\n a: this.a,\n };\n };\n /**\n * Returns the RGBA relative values interpolated into a string\n */\n TinyColor.prototype.toPercentageRgbString = function () {\n var rnd = function (x) { return Math.round(bound01(x, 255) * 100); };\n return this.a === 1\n ? \"rgb(\".concat(rnd(this.r), \"%, \").concat(rnd(this.g), \"%, \").concat(rnd(this.b), \"%)\")\n : \"rgba(\".concat(rnd(this.r), \"%, \").concat(rnd(this.g), \"%, \").concat(rnd(this.b), \"%, \").concat(this.roundA, \")\");\n };\n /**\n * The 'real' name of the color -if there is one.\n */\n TinyColor.prototype.toName = function () {\n if (this.a === 0) {\n return 'transparent';\n }\n if (this.a < 1) {\n return false;\n }\n var hex = '#' + rgbToHex(this.r, this.g, this.b, false);\n for (var _i = 0, _a = Object.entries(names); _i < _a.length; _i++) {\n var _b = _a[_i], key = _b[0], value = _b[1];\n if (hex === value) {\n return key;\n }\n }\n return false;\n };\n TinyColor.prototype.toString = function (format) {\n var formatSet = Boolean(format);\n format = format !== null && format !== void 0 ? format : this.format;\n var formattedString = false;\n var hasAlpha = this.a < 1 && this.a >= 0;\n var needsAlphaFormat = !formatSet && hasAlpha && (format.startsWith('hex') || format === 'name');\n if (needsAlphaFormat) {\n // Special case for \"transparent\", all other non-alpha formats\n // will return rgba when there is transparency.\n if (format === 'name' && this.a === 0) {\n return this.toName();\n }\n return this.toRgbString();\n }\n if (format === 'rgb') {\n formattedString = this.toRgbString();\n }\n if (format === 'prgb') {\n formattedString = this.toPercentageRgbString();\n }\n if (format === 'hex' || format === 'hex6') {\n formattedString = this.toHexString();\n }\n if (format === 'hex3') {\n formattedString = this.toHexString(true);\n }\n if (format === 'hex4') {\n formattedString = this.toHex8String(true);\n }\n if (format === 'hex8') {\n formattedString = this.toHex8String();\n }\n if (format === 'name') {\n formattedString = this.toName();\n }\n if (format === 'hsl') {\n formattedString = this.toHslString();\n }\n if (format === 'hsv') {\n formattedString = this.toHsvString();\n }\n return formattedString || this.toHexString();\n };\n TinyColor.prototype.toNumber = function () {\n return (Math.round(this.r) << 16) + (Math.round(this.g) << 8) + Math.round(this.b);\n };\n TinyColor.prototype.clone = function () {\n return new TinyColor(this.toString());\n };\n /**\n * Lighten the color a given amount. Providing 100 will always return white.\n * @param amount - valid between 1-100\n */\n TinyColor.prototype.lighten = function (amount) {\n if (amount === void 0) { amount = 10; }\n var hsl = this.toHsl();\n hsl.l += amount / 100;\n hsl.l = clamp01(hsl.l);\n return new TinyColor(hsl);\n };\n /**\n * Brighten the color a given amount, from 0 to 100.\n * @param amount - valid between 1-100\n */\n TinyColor.prototype.brighten = function (amount) {\n if (amount === void 0) { amount = 10; }\n var rgb = this.toRgb();\n rgb.r = Math.max(0, Math.min(255, rgb.r - Math.round(255 * -(amount / 100))));\n rgb.g = Math.max(0, Math.min(255, rgb.g - Math.round(255 * -(amount / 100))));\n rgb.b = Math.max(0, Math.min(255, rgb.b - Math.round(255 * -(amount / 100))));\n return new TinyColor(rgb);\n };\n /**\n * Darken the color a given amount, from 0 to 100.\n * Providing 100 will always return black.\n * @param amount - valid between 1-100\n */\n TinyColor.prototype.darken = function (amount) {\n if (amount === void 0) { amount = 10; }\n var hsl = this.toHsl();\n hsl.l -= amount / 100;\n hsl.l = clamp01(hsl.l);\n return new TinyColor(hsl);\n };\n /**\n * Mix the color with pure white, from 0 to 100.\n * Providing 0 will do nothing, providing 100 will always return white.\n * @param amount - valid between 1-100\n */\n TinyColor.prototype.tint = function (amount) {\n if (amount === void 0) { amount = 10; }\n return this.mix('white', amount);\n };\n /**\n * Mix the color with pure black, from 0 to 100.\n * Providing 0 will do nothing, providing 100 will always return black.\n * @param amount - valid between 1-100\n */\n TinyColor.prototype.shade = function (amount) {\n if (amount === void 0) { amount = 10; }\n return this.mix('black', amount);\n };\n /**\n * Desaturate the color a given amount, from 0 to 100.\n * Providing 100 will is the same as calling greyscale\n * @param amount - valid between 1-100\n */\n TinyColor.prototype.desaturate = function (amount) {\n if (amount === void 0) { amount = 10; }\n var hsl = this.toHsl();\n hsl.s -= amount / 100;\n hsl.s = clamp01(hsl.s);\n return new TinyColor(hsl);\n };\n /**\n * Saturate the color a given amount, from 0 to 100.\n * @param amount - valid between 1-100\n */\n TinyColor.prototype.saturate = function (amount) {\n if (amount === void 0) { amount = 10; }\n var hsl = this.toHsl();\n hsl.s += amount / 100;\n hsl.s = clamp01(hsl.s);\n return new TinyColor(hsl);\n };\n /**\n * Completely desaturates a color into greyscale.\n * Same as calling `desaturate(100)`\n */\n TinyColor.prototype.greyscale = function () {\n return this.desaturate(100);\n };\n /**\n * Spin takes a positive or negative amount within [-360, 360] indicating the change of hue.\n * Values outside of this range will be wrapped into this range.\n */\n TinyColor.prototype.spin = function (amount) {\n var hsl = this.toHsl();\n var hue = (hsl.h + amount) % 360;\n hsl.h = hue < 0 ? 360 + hue : hue;\n return new TinyColor(hsl);\n };\n /**\n * Mix the current color a given amount with another color, from 0 to 100.\n * 0 means no mixing (return current color).\n */\n TinyColor.prototype.mix = function (color, amount) {\n if (amount === void 0) { amount = 50; }\n var rgb1 = this.toRgb();\n var rgb2 = new TinyColor(color).toRgb();\n var p = amount / 100;\n var rgba = {\n r: (rgb2.r - rgb1.r) * p + rgb1.r,\n g: (rgb2.g - rgb1.g) * p + rgb1.g,\n b: (rgb2.b - rgb1.b) * p + rgb1.b,\n a: (rgb2.a - rgb1.a) * p + rgb1.a,\n };\n return new TinyColor(rgba);\n };\n TinyColor.prototype.analogous = function (results, slices) {\n if (results === void 0) { results = 6; }\n if (slices === void 0) { slices = 30; }\n var hsl = this.toHsl();\n var part = 360 / slices;\n var ret = [this];\n for (hsl.h = (hsl.h - ((part * results) >> 1) + 720) % 360; --results;) {\n hsl.h = (hsl.h + part) % 360;\n ret.push(new TinyColor(hsl));\n }\n return ret;\n };\n /**\n * taken from https://github.com/infusion/jQuery-xcolor/blob/master/jquery.xcolor.js\n */\n TinyColor.prototype.complement = function () {\n var hsl = this.toHsl();\n hsl.h = (hsl.h + 180) % 360;\n return new TinyColor(hsl);\n };\n TinyColor.prototype.monochromatic = function (results) {\n if (results === void 0) { results = 6; }\n var hsv = this.toHsv();\n var h = hsv.h;\n var s = hsv.s;\n var v = hsv.v;\n var res = [];\n var modification = 1 / results;\n while (results--) {\n res.push(new TinyColor({ h: h, s: s, v: v }));\n v = (v + modification) % 1;\n }\n return res;\n };\n TinyColor.prototype.splitcomplement = function () {\n var hsl = this.toHsl();\n var h = hsl.h;\n return [\n this,\n new TinyColor({ h: (h + 72) % 360, s: hsl.s, l: hsl.l }),\n new TinyColor({ h: (h + 216) % 360, s: hsl.s, l: hsl.l }),\n ];\n };\n /**\n * Compute how the color would appear on a background\n */\n TinyColor.prototype.onBackground = function (background) {\n var fg = this.toRgb();\n var bg = new TinyColor(background).toRgb();\n var alpha = fg.a + bg.a * (1 - fg.a);\n return new TinyColor({\n r: (fg.r * fg.a + bg.r * bg.a * (1 - fg.a)) / alpha,\n g: (fg.g * fg.a + bg.g * bg.a * (1 - fg.a)) / alpha,\n b: (fg.b * fg.a + bg.b * bg.a * (1 - fg.a)) / alpha,\n a: alpha,\n });\n };\n /**\n * Alias for `polyad(3)`\n */\n TinyColor.prototype.triad = function () {\n return this.polyad(3);\n };\n /**\n * Alias for `polyad(4)`\n */\n TinyColor.prototype.tetrad = function () {\n return this.polyad(4);\n };\n /**\n * Get polyad colors, like (for 1, 2, 3, 4, 5, 6, 7, 8, etc...)\n * monad, dyad, triad, tetrad, pentad, hexad, heptad, octad, etc...\n */\n TinyColor.prototype.polyad = function (n) {\n var hsl = this.toHsl();\n var h = hsl.h;\n var result = [this];\n var increment = 360 / n;\n for (var i = 1; i < n; i++) {\n result.push(new TinyColor({ h: (h + i * increment) % 360, s: hsl.s, l: hsl.l }));\n }\n return result;\n };\n /**\n * compare color vs current color\n */\n TinyColor.prototype.equals = function (color) {\n return this.toRgbString() === new TinyColor(color).toRgbString();\n };\n return TinyColor;\n}());\nexport { TinyColor };\n// kept for backwards compatability with v1\nexport function tinycolor(color, opts) {\n if (color === void 0) { color = ''; }\n if (opts === void 0) { opts = {}; }\n return new TinyColor(color, opts);\n}\n","import { computed } from 'vue';\nimport { TinyColor } from '@ctrl/tinycolor';\nimport { useFormDisabled } from '../../form/src/hooks/use-form-common-props.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nfunction darken(color, amount = 20) {\n return color.mix(\"#141414\", amount).toString();\n}\nfunction useButtonCustomStyle(props) {\n const _disabled = useFormDisabled();\n const ns = useNamespace(\"button\");\n return computed(() => {\n let styles = {};\n let buttonColor = props.color;\n if (buttonColor) {\n const match = buttonColor.match(/var\\((.*?)\\)/);\n if (match) {\n buttonColor = window.getComputedStyle(window.document.documentElement).getPropertyValue(match[1]);\n }\n const color = new TinyColor(buttonColor);\n const activeBgColor = props.dark ? color.tint(20).toString() : darken(color, 20);\n if (props.plain) {\n styles = ns.cssVarBlock({\n \"bg-color\": props.dark ? darken(color, 90) : color.tint(90).toString(),\n \"text-color\": buttonColor,\n \"border-color\": props.dark ? darken(color, 50) : color.tint(50).toString(),\n \"hover-text-color\": `var(${ns.cssVarName(\"color-white\")})`,\n \"hover-bg-color\": buttonColor,\n \"hover-border-color\": buttonColor,\n \"active-bg-color\": activeBgColor,\n \"active-text-color\": `var(${ns.cssVarName(\"color-white\")})`,\n \"active-border-color\": activeBgColor\n });\n if (_disabled.value) {\n styles[ns.cssVarBlockName(\"disabled-bg-color\")] = props.dark ? darken(color, 90) : color.tint(90).toString();\n styles[ns.cssVarBlockName(\"disabled-text-color\")] = props.dark ? darken(color, 50) : color.tint(50).toString();\n styles[ns.cssVarBlockName(\"disabled-border-color\")] = props.dark ? darken(color, 80) : color.tint(80).toString();\n }\n } else {\n const hoverBgColor = props.dark ? darken(color, 30) : color.tint(30).toString();\n const textColor = color.isDark() ? `var(${ns.cssVarName(\"color-white\")})` : `var(${ns.cssVarName(\"color-black\")})`;\n styles = ns.cssVarBlock({\n \"bg-color\": buttonColor,\n \"text-color\": textColor,\n \"border-color\": buttonColor,\n \"hover-bg-color\": hoverBgColor,\n \"hover-text-color\": textColor,\n \"hover-border-color\": hoverBgColor,\n \"active-bg-color\": activeBgColor,\n \"active-border-color\": activeBgColor\n });\n if (_disabled.value) {\n const disabledButtonColor = props.dark ? darken(color, 50) : color.tint(50).toString();\n styles[ns.cssVarBlockName(\"disabled-bg-color\")] = disabledButtonColor;\n styles[ns.cssVarBlockName(\"disabled-text-color\")] = props.dark ? \"rgba(255, 255, 255, 0.5)\" : `var(${ns.cssVarName(\"color-white\")})`;\n styles[ns.cssVarBlockName(\"disabled-border-color\")] = disabledButtonColor;\n }\n }\n }\n return styles;\n });\n}\n\nexport { darken, useButtonCustomStyle };\n//# sourceMappingURL=button-custom.mjs.map\n","import { defineComponent, computed, openBlock, createBlock, resolveDynamicComponent, mergeProps, unref, withCtx, createElementBlock, Fragment, renderSlot, normalizeClass, createCommentVNode } from 'vue';\nimport { ElIcon } from '../../icon/index.mjs';\nimport { useButton } from './use-button.mjs';\nimport { buttonProps, buttonEmits } from './button.mjs';\nimport { useButtonCustomStyle } from './button-custom.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst __default__ = defineComponent({\n name: \"ElButton\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: buttonProps,\n emits: buttonEmits,\n setup(__props, { expose, emit }) {\n const props = __props;\n const buttonStyle = useButtonCustomStyle(props);\n const ns = useNamespace(\"button\");\n const { _ref, _size, _type, _disabled, _props, shouldAddSpace, handleClick } = useButton(props, emit);\n const buttonKls = computed(() => [\n ns.b(),\n ns.m(_type.value),\n ns.m(_size.value),\n ns.is(\"disabled\", _disabled.value),\n ns.is(\"loading\", props.loading),\n ns.is(\"plain\", props.plain),\n ns.is(\"round\", props.round),\n ns.is(\"circle\", props.circle),\n ns.is(\"text\", props.text),\n ns.is(\"link\", props.link),\n ns.is(\"has-bg\", props.bg)\n ]);\n expose({\n ref: _ref,\n size: _size,\n type: _type,\n disabled: _disabled,\n shouldAddSpace\n });\n return (_ctx, _cache) => {\n return openBlock(), createBlock(resolveDynamicComponent(_ctx.tag), mergeProps({\n ref_key: \"_ref\",\n ref: _ref\n }, unref(_props), {\n class: unref(buttonKls),\n style: unref(buttonStyle),\n onClick: unref(handleClick)\n }), {\n default: withCtx(() => [\n _ctx.loading ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [\n _ctx.$slots.loading ? renderSlot(_ctx.$slots, \"loading\", { key: 0 }) : (openBlock(), createBlock(unref(ElIcon), {\n key: 1,\n class: normalizeClass(unref(ns).is(\"loading\"))\n }, {\n default: withCtx(() => [\n (openBlock(), createBlock(resolveDynamicComponent(_ctx.loadingIcon)))\n ]),\n _: 1\n }, 8, [\"class\"]))\n ], 64)) : _ctx.icon || _ctx.$slots.icon ? (openBlock(), createBlock(unref(ElIcon), { key: 1 }, {\n default: withCtx(() => [\n _ctx.icon ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon), { key: 0 })) : renderSlot(_ctx.$slots, \"icon\", { key: 1 })\n ]),\n _: 3\n })) : createCommentVNode(\"v-if\", true),\n _ctx.$slots.default ? (openBlock(), createElementBlock(\"span\", {\n key: 2,\n class: normalizeClass({ [unref(ns).em(\"text\", \"expand\")]: unref(shouldAddSpace) })\n }, [\n renderSlot(_ctx.$slots, \"default\")\n ], 2)) : createCommentVNode(\"v-if\", true)\n ]),\n _: 3\n }, 16, [\"class\", \"style\", \"onClick\"]);\n };\n }\n});\nvar Button = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"button.vue\"]]);\n\nexport { Button as default };\n//# sourceMappingURL=button2.mjs.map\n","import { buttonProps } from './button.mjs';\n\nconst buttonGroupProps = {\n size: buttonProps.size,\n type: buttonProps.type\n};\n\nexport { buttonGroupProps };\n//# sourceMappingURL=button-group2.mjs.map\n","import { defineComponent, provide, reactive, toRef, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from 'vue';\nimport { buttonGroupProps } from './button-group2.mjs';\nimport { buttonGroupContextKey } from './constants.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst __default__ = defineComponent({\n name: \"ElButtonGroup\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: buttonGroupProps,\n setup(__props) {\n const props = __props;\n provide(buttonGroupContextKey, reactive({\n size: toRef(props, \"size\"),\n type: toRef(props, \"type\")\n }));\n const ns = useNamespace(\"button\");\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"div\", {\n class: normalizeClass(unref(ns).b(\"group\"))\n }, [\n renderSlot(_ctx.$slots, \"default\")\n ], 2);\n };\n }\n});\nvar ButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"button-group.vue\"]]);\n\nexport { ButtonGroup as default };\n//# sourceMappingURL=button-group.mjs.map\n","import Button from './src/button2.mjs';\nimport ButtonGroup from './src/button-group.mjs';\nexport { buttonEmits, buttonNativeTypes, buttonProps, buttonTypes } from './src/button.mjs';\nexport { buttonGroupContextKey } from './src/constants.mjs';\nimport { withInstall, withNoopInstall } from '../../utils/vue/install.mjs';\n\nconst ElButton = withInstall(Button, {\n ButtonGroup\n});\nconst ElButtonGroup = withNoopInstall(ButtonGroup);\n\nexport { ElButton, ElButtonGroup, ElButton as default };\n//# sourceMappingURL=index.mjs.map\n","import { buildProps } from '../../../utils/vue/props/runtime.mjs';\nimport { isNumber } from '../../../utils/types.mjs';\n\nconst carouselProps = buildProps({\n initialIndex: {\n type: Number,\n default: 0\n },\n height: {\n type: String,\n default: \"\"\n },\n trigger: {\n type: String,\n values: [\"hover\", \"click\"],\n default: \"hover\"\n },\n autoplay: {\n type: Boolean,\n default: true\n },\n interval: {\n type: Number,\n default: 3e3\n },\n indicatorPosition: {\n type: String,\n values: [\"\", \"none\", \"outside\"],\n default: \"\"\n },\n arrow: {\n type: String,\n values: [\"always\", \"hover\", \"never\"],\n default: \"hover\"\n },\n type: {\n type: String,\n values: [\"\", \"card\"],\n default: \"\"\n },\n cardScale: {\n type: Number,\n default: 0.83\n },\n loop: {\n type: Boolean,\n default: true\n },\n direction: {\n type: String,\n values: [\"horizontal\", \"vertical\"],\n default: \"horizontal\"\n },\n pauseOnHover: {\n type: Boolean,\n default: true\n },\n motionBlur: Boolean\n});\nconst carouselEmits = {\n change: (current, prev) => [current, prev].every(isNumber)\n};\n\nexport { carouselEmits, carouselProps };\n//# sourceMappingURL=carousel.mjs.map\n","const carouselContextKey = Symbol(\"carouselContextKey\");\nconst CAROUSEL_ITEM_NAME = \"ElCarouselItem\";\n\nexport { CAROUSEL_ITEM_NAME, carouselContextKey };\n//# sourceMappingURL=constants.mjs.map\n","import { isVNode, Fragment, Text, Comment, openBlock, createBlock, createCommentVNode } from 'vue';\nimport { debugWarn } from '../error.mjs';\nimport { isArray, hasOwn, camelize } from '@vue/shared';\n\nconst SCOPE = \"utils/vue/vnode\";\nvar PatchFlags = /* @__PURE__ */ ((PatchFlags2) => {\n PatchFlags2[PatchFlags2[\"TEXT\"] = 1] = \"TEXT\";\n PatchFlags2[PatchFlags2[\"CLASS\"] = 2] = \"CLASS\";\n PatchFlags2[PatchFlags2[\"STYLE\"] = 4] = \"STYLE\";\n PatchFlags2[PatchFlags2[\"PROPS\"] = 8] = \"PROPS\";\n PatchFlags2[PatchFlags2[\"FULL_PROPS\"] = 16] = \"FULL_PROPS\";\n PatchFlags2[PatchFlags2[\"HYDRATE_EVENTS\"] = 32] = \"HYDRATE_EVENTS\";\n PatchFlags2[PatchFlags2[\"STABLE_FRAGMENT\"] = 64] = \"STABLE_FRAGMENT\";\n PatchFlags2[PatchFlags2[\"KEYED_FRAGMENT\"] = 128] = \"KEYED_FRAGMENT\";\n PatchFlags2[PatchFlags2[\"UNKEYED_FRAGMENT\"] = 256] = \"UNKEYED_FRAGMENT\";\n PatchFlags2[PatchFlags2[\"NEED_PATCH\"] = 512] = \"NEED_PATCH\";\n PatchFlags2[PatchFlags2[\"DYNAMIC_SLOTS\"] = 1024] = \"DYNAMIC_SLOTS\";\n PatchFlags2[PatchFlags2[\"HOISTED\"] = -1] = \"HOISTED\";\n PatchFlags2[PatchFlags2[\"BAIL\"] = -2] = \"BAIL\";\n return PatchFlags2;\n})(PatchFlags || {});\nfunction isFragment(node) {\n return isVNode(node) && node.type === Fragment;\n}\nfunction isText(node) {\n return isVNode(node) && node.type === Text;\n}\nfunction isComment(node) {\n return isVNode(node) && node.type === Comment;\n}\nconst TEMPLATE = \"template\";\nfunction isTemplate(node) {\n return isVNode(node) && node.type === TEMPLATE;\n}\nfunction isValidElementNode(node) {\n return isVNode(node) && !isFragment(node) && !isComment(node);\n}\nfunction getChildren(node, depth) {\n if (isComment(node))\n return;\n if (isFragment(node) || isTemplate(node)) {\n return depth > 0 ? getFirstValidNode(node.children, depth - 1) : void 0;\n }\n return node;\n}\nconst getFirstValidNode = (nodes, maxDepth = 3) => {\n if (isArray(nodes)) {\n return getChildren(nodes[0], maxDepth);\n } else {\n return getChildren(nodes, maxDepth);\n }\n};\nfunction renderIf(condition, ...args) {\n return condition ? renderBlock(...args) : createCommentVNode(\"v-if\", true);\n}\nfunction renderBlock(...args) {\n return openBlock(), createBlock(...args);\n}\nconst getNormalizedProps = (node) => {\n if (!isVNode(node)) {\n debugWarn(SCOPE, \"[getNormalizedProps] must be a VNode\");\n return {};\n }\n const raw = node.props || {};\n const type = (isVNode(node.type) ? node.type.props : void 0) || {};\n const props = {};\n Object.keys(type).forEach((key) => {\n if (hasOwn(type[key], \"default\")) {\n props[key] = type[key].default;\n }\n });\n Object.keys(raw).forEach((key) => {\n props[camelize(key)] = raw[key];\n });\n return props;\n};\nconst ensureOnlyChild = (children) => {\n if (!isArray(children) || children.length > 1) {\n throw new Error(\"expect to receive a single Vue element child\");\n }\n return children[0];\n};\nconst flattedChildren = (children) => {\n const vNodes = isArray(children) ? children : [children];\n const result = [];\n vNodes.forEach((child) => {\n var _a;\n if (isArray(child)) {\n result.push(...flattedChildren(child));\n } else if (isVNode(child) && ((_a = child.component) == null ? void 0 : _a.subTree)) {\n result.push(child, ...flattedChildren(child.component.subTree));\n } else if (isVNode(child) && isArray(child.children)) {\n result.push(...flattedChildren(child.children));\n } else if (isVNode(child) && child.shapeFlag === 2) {\n result.push(...flattedChildren(child.type()));\n } else {\n result.push(child);\n }\n });\n return result;\n};\n\nexport { PatchFlags, ensureOnlyChild, flattedChildren, getFirstValidNode, getNormalizedProps, isComment, isFragment, isTemplate, isText, isValidElementNode, renderBlock, renderIf };\n//# sourceMappingURL=vnode.mjs.map\n","import { shallowRef, isVNode } from 'vue';\nimport { flattedChildren } from '../../utils/vue/vnode.mjs';\n\nconst getOrderedChildren = (vm, childComponentName, children) => {\n const nodes = flattedChildren(vm.subTree).filter((n) => {\n var _a;\n return isVNode(n) && ((_a = n.type) == null ? void 0 : _a.name) === childComponentName && !!n.component;\n });\n const uids = nodes.map((n) => n.component.uid);\n return uids.map((uid) => children[uid]).filter((p) => !!p);\n};\nconst useOrderedChildren = (vm, childComponentName) => {\n const children = {};\n const orderedChildren = shallowRef([]);\n const addChild = (child) => {\n children[child.uid] = child;\n orderedChildren.value = getOrderedChildren(vm, childComponentName, children);\n };\n const removeChild = (uid) => {\n delete children[uid];\n orderedChildren.value = orderedChildren.value.filter((children2) => children2.uid !== uid);\n };\n return {\n children: orderedChildren,\n addChild,\n removeChild\n };\n};\n\nexport { useOrderedChildren };\n//# sourceMappingURL=index.mjs.map\n","import { getCurrentInstance, useSlots, ref, computed, unref, isVNode, watch, shallowRef, onMounted, onBeforeUnmount, provide } from 'vue';\nimport { throttle } from 'lodash-unified';\nimport { useResizeObserver } from '@vueuse/core';\nimport { CAROUSEL_ITEM_NAME, carouselContextKey } from './constants.mjs';\nimport { useOrderedChildren } from '../../../hooks/use-ordered-children/index.mjs';\nimport { isString } from '@vue/shared';\nimport { debugWarn } from '../../../utils/error.mjs';\nimport { flattedChildren } from '../../../utils/vue/vnode.mjs';\n\nconst THROTTLE_TIME = 300;\nconst useCarousel = (props, emit, componentName) => {\n const {\n children: items,\n addChild: addItem,\n removeChild: removeItem\n } = useOrderedChildren(getCurrentInstance(), CAROUSEL_ITEM_NAME);\n const slots = useSlots();\n const activeIndex = ref(-1);\n const timer = ref(null);\n const hover = ref(false);\n const root = ref();\n const containerHeight = ref(0);\n const isItemsTwoLength = ref(true);\n const isFirstCall = ref(true);\n const isTransitioning = ref(false);\n const arrowDisplay = computed(() => props.arrow !== \"never\" && !unref(isVertical));\n const hasLabel = computed(() => {\n return items.value.some((item) => item.props.label.toString().length > 0);\n });\n const isCardType = computed(() => props.type === \"card\");\n const isVertical = computed(() => props.direction === \"vertical\");\n const containerStyle = computed(() => {\n if (props.height !== \"auto\") {\n return {\n height: props.height\n };\n }\n return {\n height: `${containerHeight.value}px`,\n overflow: \"hidden\"\n };\n });\n const throttledArrowClick = throttle((index) => {\n setActiveItem(index);\n }, THROTTLE_TIME, { trailing: true });\n const throttledIndicatorHover = throttle((index) => {\n handleIndicatorHover(index);\n }, THROTTLE_TIME);\n const isTwoLengthShow = (index) => {\n if (!isItemsTwoLength.value)\n return true;\n return activeIndex.value <= 1 ? index <= 1 : index > 1;\n };\n function pauseTimer() {\n if (timer.value) {\n clearInterval(timer.value);\n timer.value = null;\n }\n }\n function startTimer() {\n if (props.interval <= 0 || !props.autoplay || timer.value)\n return;\n timer.value = setInterval(() => playSlides(), props.interval);\n }\n const playSlides = () => {\n if (!isFirstCall.value) {\n isTransitioning.value = true;\n }\n isFirstCall.value = false;\n if (activeIndex.value < items.value.length - 1) {\n activeIndex.value = activeIndex.value + 1;\n } else if (props.loop) {\n activeIndex.value = 0;\n } else {\n isTransitioning.value = false;\n }\n };\n function setActiveItem(index) {\n if (!isFirstCall.value) {\n isTransitioning.value = true;\n }\n isFirstCall.value = false;\n if (isString(index)) {\n const filteredItems = items.value.filter((item) => item.props.name === index);\n if (filteredItems.length > 0) {\n index = items.value.indexOf(filteredItems[0]);\n }\n }\n index = Number(index);\n if (Number.isNaN(index) || index !== Math.floor(index)) {\n debugWarn(componentName, \"index must be integer.\");\n return;\n }\n const itemCount = items.value.length;\n const oldIndex = activeIndex.value;\n if (index < 0) {\n activeIndex.value = props.loop ? itemCount - 1 : 0;\n } else if (index >= itemCount) {\n activeIndex.value = props.loop ? 0 : itemCount - 1;\n } else {\n activeIndex.value = index;\n }\n if (oldIndex === activeIndex.value) {\n resetItemPosition(oldIndex);\n }\n resetTimer();\n }\n function resetItemPosition(oldIndex) {\n items.value.forEach((item, index) => {\n item.translateItem(index, activeIndex.value, oldIndex);\n });\n }\n function itemInStage(item, index) {\n var _a, _b, _c, _d;\n const _items = unref(items);\n const itemCount = _items.length;\n if (itemCount === 0 || !item.states.inStage)\n return false;\n const nextItemIndex = index + 1;\n const prevItemIndex = index - 1;\n const lastItemIndex = itemCount - 1;\n const isLastItemActive = _items[lastItemIndex].states.active;\n const isFirstItemActive = _items[0].states.active;\n const isNextItemActive = (_b = (_a = _items[nextItemIndex]) == null ? void 0 : _a.states) == null ? void 0 : _b.active;\n const isPrevItemActive = (_d = (_c = _items[prevItemIndex]) == null ? void 0 : _c.states) == null ? void 0 : _d.active;\n if (index === lastItemIndex && isFirstItemActive || isNextItemActive) {\n return \"left\";\n } else if (index === 0 && isLastItemActive || isPrevItemActive) {\n return \"right\";\n }\n return false;\n }\n function handleMouseEnter() {\n hover.value = true;\n if (props.pauseOnHover) {\n pauseTimer();\n }\n }\n function handleMouseLeave() {\n hover.value = false;\n startTimer();\n }\n function handleTransitionEnd() {\n isTransitioning.value = false;\n }\n function handleButtonEnter(arrow) {\n if (unref(isVertical))\n return;\n items.value.forEach((item, index) => {\n if (arrow === itemInStage(item, index)) {\n item.states.hover = true;\n }\n });\n }\n function handleButtonLeave() {\n if (unref(isVertical))\n return;\n items.value.forEach((item) => {\n item.states.hover = false;\n });\n }\n function handleIndicatorClick(index) {\n if (index !== activeIndex.value) {\n if (!isFirstCall.value) {\n isTransitioning.value = true;\n }\n }\n activeIndex.value = index;\n }\n function handleIndicatorHover(index) {\n if (props.trigger === \"hover\" && index !== activeIndex.value) {\n activeIndex.value = index;\n if (!isFirstCall.value) {\n isTransitioning.value = true;\n }\n }\n }\n function prev() {\n setActiveItem(activeIndex.value - 1);\n }\n function next() {\n setActiveItem(activeIndex.value + 1);\n }\n function resetTimer() {\n pauseTimer();\n if (!props.pauseOnHover)\n startTimer();\n }\n function setContainerHeight(height) {\n if (props.height !== \"auto\")\n return;\n containerHeight.value = height;\n }\n function PlaceholderItem() {\n var _a;\n const defaultSlots = (_a = slots.default) == null ? void 0 : _a.call(slots);\n if (!defaultSlots)\n return null;\n const flatSlots = flattedChildren(defaultSlots);\n const normalizeSlots = flatSlots.filter((slot) => {\n return isVNode(slot) && slot.type.name === CAROUSEL_ITEM_NAME;\n });\n if ((normalizeSlots == null ? void 0 : normalizeSlots.length) === 2 && props.loop && !isCardType.value) {\n isItemsTwoLength.value = true;\n return normalizeSlots;\n }\n isItemsTwoLength.value = false;\n return null;\n }\n watch(() => activeIndex.value, (current, prev2) => {\n resetItemPosition(prev2);\n if (isItemsTwoLength.value) {\n current = current % 2;\n prev2 = prev2 % 2;\n }\n if (prev2 > -1) {\n emit(\"change\", current, prev2);\n }\n });\n watch(() => props.autoplay, (autoplay) => {\n autoplay ? startTimer() : pauseTimer();\n });\n watch(() => props.loop, () => {\n setActiveItem(activeIndex.value);\n });\n watch(() => props.interval, () => {\n resetTimer();\n });\n const resizeObserver = shallowRef();\n onMounted(() => {\n watch(() => items.value, () => {\n if (items.value.length > 0)\n setActiveItem(props.initialIndex);\n }, {\n immediate: true\n });\n resizeObserver.value = useResizeObserver(root.value, () => {\n resetItemPosition();\n });\n startTimer();\n });\n onBeforeUnmount(() => {\n pauseTimer();\n if (root.value && resizeObserver.value)\n resizeObserver.value.stop();\n });\n provide(carouselContextKey, {\n root,\n isCardType,\n isVertical,\n items,\n loop: props.loop,\n cardScale: props.cardScale,\n addItem,\n removeItem,\n setActiveItem,\n setContainerHeight\n });\n return {\n root,\n activeIndex,\n arrowDisplay,\n hasLabel,\n hover,\n isCardType,\n isTransitioning,\n items,\n isVertical,\n containerStyle,\n isItemsTwoLength,\n handleButtonEnter,\n handleTransitionEnd,\n handleButtonLeave,\n handleIndicatorClick,\n handleMouseEnter,\n handleMouseLeave,\n setActiveItem,\n prev,\n next,\n PlaceholderItem,\n isTwoLengthShow,\n throttledArrowClick,\n throttledIndicatorHover\n };\n};\n\nexport { useCarousel };\n//# sourceMappingURL=use-carousel.mjs.map\n","import { defineComponent, computed, unref, openBlock, createElementBlock, normalizeClass, withModifiers, createBlock, Transition, withCtx, withDirectives, createElementVNode, createVNode, vShow, createCommentVNode, normalizeStyle, renderSlot, Fragment, renderList, toDisplayString } from 'vue';\nimport { ElIcon } from '../../icon/index.mjs';\nimport { ArrowLeft, ArrowRight } from '@element-plus/icons-vue';\nimport { carouselProps, carouselEmits } from './carousel.mjs';\nimport { useCarousel } from './use-carousel.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { useLocale } from '../../../hooks/use-locale/index.mjs';\n\nconst COMPONENT_NAME = \"ElCarousel\";\nconst __default__ = defineComponent({\n name: COMPONENT_NAME\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: carouselProps,\n emits: carouselEmits,\n setup(__props, { expose, emit }) {\n const props = __props;\n const {\n root,\n activeIndex,\n arrowDisplay,\n hasLabel,\n hover,\n isCardType,\n items,\n isVertical,\n containerStyle,\n handleButtonEnter,\n handleButtonLeave,\n isTransitioning,\n handleIndicatorClick,\n handleMouseEnter,\n handleMouseLeave,\n handleTransitionEnd,\n setActiveItem,\n prev,\n next,\n PlaceholderItem,\n isTwoLengthShow,\n throttledArrowClick,\n throttledIndicatorHover\n } = useCarousel(props, emit, COMPONENT_NAME);\n const ns = useNamespace(\"carousel\");\n const { t } = useLocale();\n const carouselClasses = computed(() => {\n const classes = [ns.b(), ns.m(props.direction)];\n if (unref(isCardType)) {\n classes.push(ns.m(\"card\"));\n }\n return classes;\n });\n const carouselContainer = computed(() => {\n const classes = [ns.e(\"container\")];\n if (props.motionBlur && unref(isTransitioning) && items.value.length > 1) {\n classes.push(unref(isVertical) ? `${ns.namespace.value}-transitioning-vertical` : `${ns.namespace.value}-transitioning`);\n }\n return classes;\n });\n const indicatorsClasses = computed(() => {\n const classes = [ns.e(\"indicators\"), ns.em(\"indicators\", props.direction)];\n if (unref(hasLabel)) {\n classes.push(ns.em(\"indicators\", \"labels\"));\n }\n if (props.indicatorPosition === \"outside\") {\n classes.push(ns.em(\"indicators\", \"outside\"));\n }\n if (unref(isVertical)) {\n classes.push(ns.em(\"indicators\", \"right\"));\n }\n return classes;\n });\n expose({\n activeIndex,\n setActiveItem,\n prev,\n next\n });\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"div\", {\n ref_key: \"root\",\n ref: root,\n class: normalizeClass(unref(carouselClasses)),\n onMouseenter: withModifiers(unref(handleMouseEnter), [\"stop\"]),\n onMouseleave: withModifiers(unref(handleMouseLeave), [\"stop\"])\n }, [\n unref(arrowDisplay) ? (openBlock(), createBlock(Transition, {\n key: 0,\n name: \"carousel-arrow-left\",\n persisted: \"\"\n }, {\n default: withCtx(() => [\n withDirectives(createElementVNode(\"button\", {\n type: \"button\",\n class: normalizeClass([unref(ns).e(\"arrow\"), unref(ns).em(\"arrow\", \"left\")]),\n \"aria-label\": unref(t)(\"el.carousel.leftArrow\"),\n onMouseenter: ($event) => unref(handleButtonEnter)(\"left\"),\n onMouseleave: unref(handleButtonLeave),\n onClick: withModifiers(($event) => unref(throttledArrowClick)(unref(activeIndex) - 1), [\"stop\"])\n }, [\n createVNode(unref(ElIcon), null, {\n default: withCtx(() => [\n createVNode(unref(ArrowLeft))\n ]),\n _: 1\n })\n ], 42, [\"aria-label\", \"onMouseenter\", \"onMouseleave\", \"onClick\"]), [\n [\n vShow,\n (_ctx.arrow === \"always\" || unref(hover)) && (props.loop || unref(activeIndex) > 0)\n ]\n ])\n ]),\n _: 1\n })) : createCommentVNode(\"v-if\", true),\n unref(arrowDisplay) ? (openBlock(), createBlock(Transition, {\n key: 1,\n name: \"carousel-arrow-right\",\n persisted: \"\"\n }, {\n default: withCtx(() => [\n withDirectives(createElementVNode(\"button\", {\n type: \"button\",\n class: normalizeClass([unref(ns).e(\"arrow\"), unref(ns).em(\"arrow\", \"right\")]),\n \"aria-label\": unref(t)(\"el.carousel.rightArrow\"),\n onMouseenter: ($event) => unref(handleButtonEnter)(\"right\"),\n onMouseleave: unref(handleButtonLeave),\n onClick: withModifiers(($event) => unref(throttledArrowClick)(unref(activeIndex) + 1), [\"stop\"])\n }, [\n createVNode(unref(ElIcon), null, {\n default: withCtx(() => [\n createVNode(unref(ArrowRight))\n ]),\n _: 1\n })\n ], 42, [\"aria-label\", \"onMouseenter\", \"onMouseleave\", \"onClick\"]), [\n [\n vShow,\n (_ctx.arrow === \"always\" || unref(hover)) && (props.loop || unref(activeIndex) < unref(items).length - 1)\n ]\n ])\n ]),\n _: 1\n })) : createCommentVNode(\"v-if\", true),\n createElementVNode(\"div\", {\n class: normalizeClass(unref(carouselContainer)),\n style: normalizeStyle(unref(containerStyle)),\n onTransitionend: unref(handleTransitionEnd)\n }, [\n createVNode(unref(PlaceholderItem)),\n renderSlot(_ctx.$slots, \"default\")\n ], 46, [\"onTransitionend\"]),\n _ctx.indicatorPosition !== \"none\" ? (openBlock(), createElementBlock(\"ul\", {\n key: 2,\n class: normalizeClass(unref(indicatorsClasses))\n }, [\n (openBlock(true), createElementBlock(Fragment, null, renderList(unref(items), (item, index) => {\n return withDirectives((openBlock(), createElementBlock(\"li\", {\n key: index,\n class: normalizeClass([\n unref(ns).e(\"indicator\"),\n unref(ns).em(\"indicator\", _ctx.direction),\n unref(ns).is(\"active\", index === unref(activeIndex))\n ]),\n onMouseenter: ($event) => unref(throttledIndicatorHover)(index),\n onClick: withModifiers(($event) => unref(handleIndicatorClick)(index), [\"stop\"])\n }, [\n createElementVNode(\"button\", {\n class: normalizeClass(unref(ns).e(\"button\")),\n \"aria-label\": unref(t)(\"el.carousel.indicator\", { index: index + 1 })\n }, [\n unref(hasLabel) ? (openBlock(), createElementBlock(\"span\", { key: 0 }, toDisplayString(item.props.label), 1)) : createCommentVNode(\"v-if\", true)\n ], 10, [\"aria-label\"])\n ], 42, [\"onMouseenter\", \"onClick\"])), [\n [vShow, unref(isTwoLengthShow)(index)]\n ]);\n }), 128))\n ], 2)) : createCommentVNode(\"v-if\", true),\n props.motionBlur ? (openBlock(), createElementBlock(\"svg\", {\n key: 3,\n xmlns: \"http://www.w3.org/2000/svg\",\n version: \"1.1\",\n style: { \"display\": \"none\" }\n }, [\n createElementVNode(\"defs\", null, [\n createElementVNode(\"filter\", { id: \"elCarouselHorizontal\" }, [\n createElementVNode(\"feGaussianBlur\", {\n in: \"SourceGraphic\",\n stdDeviation: \"12,0\"\n })\n ]),\n createElementVNode(\"filter\", { id: \"elCarouselVertical\" }, [\n createElementVNode(\"feGaussianBlur\", {\n in: \"SourceGraphic\",\n stdDeviation: \"0,10\"\n })\n ])\n ])\n ])) : createCommentVNode(\"v-if\", true)\n ], 42, [\"onMouseenter\", \"onMouseleave\"]);\n };\n }\n});\nvar Carousel = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"carousel.vue\"]]);\n\nexport { Carousel as default };\n//# sourceMappingURL=carousel2.mjs.map\n","import { buildProps } from '../../../utils/vue/props/runtime.mjs';\n\nconst carouselItemProps = buildProps({\n name: { type: String, default: \"\" },\n label: {\n type: [String, Number],\n default: \"\"\n }\n});\n\nexport { carouselItemProps };\n//# sourceMappingURL=carousel-item.mjs.map\n","import { inject, getCurrentInstance, ref, unref, onMounted, reactive, onUnmounted } from 'vue';\nimport { carouselContextKey, CAROUSEL_ITEM_NAME } from './constants.mjs';\nimport { debugWarn } from '../../../utils/error.mjs';\nimport { isUndefined } from '../../../utils/types.mjs';\n\nconst useCarouselItem = (props) => {\n const carouselContext = inject(carouselContextKey);\n const instance = getCurrentInstance();\n if (!carouselContext) {\n debugWarn(CAROUSEL_ITEM_NAME, \"usage: \");\n }\n if (!instance) {\n debugWarn(CAROUSEL_ITEM_NAME, \"compositional hook can only be invoked inside setups\");\n }\n const carouselItemRef = ref();\n const hover = ref(false);\n const translate = ref(0);\n const scale = ref(1);\n const active = ref(false);\n const ready = ref(false);\n const inStage = ref(false);\n const animating = ref(false);\n const { isCardType, isVertical, cardScale } = carouselContext;\n function processIndex(index, activeIndex, length) {\n const lastItemIndex = length - 1;\n const prevItemIndex = activeIndex - 1;\n const nextItemIndex = activeIndex + 1;\n const halfItemIndex = length / 2;\n if (activeIndex === 0 && index === lastItemIndex) {\n return -1;\n } else if (activeIndex === lastItemIndex && index === 0) {\n return length;\n } else if (index < prevItemIndex && activeIndex - index >= halfItemIndex) {\n return length + 1;\n } else if (index > nextItemIndex && index - activeIndex >= halfItemIndex) {\n return -2;\n }\n return index;\n }\n function calcCardTranslate(index, activeIndex) {\n var _a, _b;\n const parentWidth = unref(isVertical) ? ((_a = carouselContext.root.value) == null ? void 0 : _a.offsetHeight) || 0 : ((_b = carouselContext.root.value) == null ? void 0 : _b.offsetWidth) || 0;\n if (inStage.value) {\n return parentWidth * ((2 - cardScale) * (index - activeIndex) + 1) / 4;\n } else if (index < activeIndex) {\n return -(1 + cardScale) * parentWidth / 4;\n } else {\n return (3 + cardScale) * parentWidth / 4;\n }\n }\n function calcTranslate(index, activeIndex, isVertical2) {\n const rootEl = carouselContext.root.value;\n if (!rootEl)\n return 0;\n const distance = (isVertical2 ? rootEl.offsetHeight : rootEl.offsetWidth) || 0;\n return distance * (index - activeIndex);\n }\n const translateItem = (index, activeIndex, oldIndex) => {\n var _a;\n const _isCardType = unref(isCardType);\n const carouselItemLength = (_a = carouselContext.items.value.length) != null ? _a : Number.NaN;\n const isActive = index === activeIndex;\n if (!_isCardType && !isUndefined(oldIndex)) {\n animating.value = isActive || index === oldIndex;\n }\n if (!isActive && carouselItemLength > 2 && carouselContext.loop) {\n index = processIndex(index, activeIndex, carouselItemLength);\n }\n const _isVertical = unref(isVertical);\n active.value = isActive;\n if (_isCardType) {\n inStage.value = Math.round(Math.abs(index - activeIndex)) <= 1;\n translate.value = calcCardTranslate(index, activeIndex);\n scale.value = unref(active) ? 1 : cardScale;\n } else {\n translate.value = calcTranslate(index, activeIndex, _isVertical);\n }\n ready.value = true;\n if (isActive && carouselItemRef.value) {\n carouselContext.setContainerHeight(carouselItemRef.value.offsetHeight);\n }\n };\n function handleItemClick() {\n if (carouselContext && unref(isCardType)) {\n const index = carouselContext.items.value.findIndex(({ uid }) => uid === instance.uid);\n carouselContext.setActiveItem(index);\n }\n }\n onMounted(() => {\n carouselContext.addItem({\n props,\n states: reactive({\n hover,\n translate,\n scale,\n active,\n ready,\n inStage,\n animating\n }),\n uid: instance.uid,\n translateItem\n });\n });\n onUnmounted(() => {\n carouselContext.removeItem(instance.uid);\n });\n return {\n carouselItemRef,\n active,\n animating,\n hover,\n inStage,\n isVertical,\n translate,\n isCardType,\n scale,\n ready,\n handleItemClick\n };\n};\n\nexport { useCarouselItem };\n//# sourceMappingURL=use-carousel-item.mjs.map\n","import { defineComponent, computed, unref, withDirectives, openBlock, createElementBlock, normalizeClass, normalizeStyle, vShow, createCommentVNode, renderSlot } from 'vue';\nimport { carouselItemProps } from './carousel-item.mjs';\nimport { useCarouselItem } from './use-carousel-item.mjs';\nimport { CAROUSEL_ITEM_NAME } from './constants.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst __default__ = defineComponent({\n name: CAROUSEL_ITEM_NAME\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: carouselItemProps,\n setup(__props) {\n const props = __props;\n const ns = useNamespace(\"carousel\");\n const {\n carouselItemRef,\n active,\n animating,\n hover,\n inStage,\n isVertical,\n translate,\n isCardType,\n scale,\n ready,\n handleItemClick\n } = useCarouselItem(props);\n const itemKls = computed(() => [\n ns.e(\"item\"),\n ns.is(\"active\", active.value),\n ns.is(\"in-stage\", inStage.value),\n ns.is(\"hover\", hover.value),\n ns.is(\"animating\", animating.value),\n {\n [ns.em(\"item\", \"card\")]: isCardType.value,\n [ns.em(\"item\", \"card-vertical\")]: isCardType.value && isVertical.value\n }\n ]);\n const itemStyle = computed(() => {\n const translateType = `translate${unref(isVertical) ? \"Y\" : \"X\"}`;\n const _translate = `${translateType}(${unref(translate)}px)`;\n const _scale = `scale(${unref(scale)})`;\n const transform = [_translate, _scale].join(\" \");\n return {\n transform\n };\n });\n return (_ctx, _cache) => {\n return withDirectives((openBlock(), createElementBlock(\"div\", {\n ref_key: \"carouselItemRef\",\n ref: carouselItemRef,\n class: normalizeClass(unref(itemKls)),\n style: normalizeStyle(unref(itemStyle)),\n onClick: unref(handleItemClick)\n }, [\n unref(isCardType) ? withDirectives((openBlock(), createElementBlock(\"div\", {\n key: 0,\n class: normalizeClass(unref(ns).e(\"mask\"))\n }, null, 2)), [\n [vShow, !unref(active)]\n ]) : createCommentVNode(\"v-if\", true),\n renderSlot(_ctx.$slots, \"default\")\n ], 14, [\"onClick\"])), [\n [vShow, unref(ready)]\n ]);\n };\n }\n});\nvar CarouselItem = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"carousel-item.vue\"]]);\n\nexport { CarouselItem as default };\n//# sourceMappingURL=carousel-item2.mjs.map\n","import Carousel from './src/carousel2.mjs';\nimport CarouselItem from './src/carousel-item2.mjs';\nexport { carouselEmits, carouselProps } from './src/carousel.mjs';\nexport { carouselItemProps } from './src/carousel-item.mjs';\nexport { CAROUSEL_ITEM_NAME, carouselContextKey } from './src/constants.mjs';\nimport { withInstall, withNoopInstall } from '../../utils/vue/install.mjs';\n\nconst ElCarousel = withInstall(Carousel, {\n CarouselItem\n});\nconst ElCarouselItem = withNoopInstall(CarouselItem);\n\nexport { ElCarousel, ElCarouselItem, ElCarousel as default };\n//# sourceMappingURL=index.mjs.map\n","import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { mutable } from '../../../utils/typescript.mjs';\n\nconst colProps = buildProps({\n tag: {\n type: String,\n default: \"div\"\n },\n span: {\n type: Number,\n default: 24\n },\n offset: {\n type: Number,\n default: 0\n },\n pull: {\n type: Number,\n default: 0\n },\n push: {\n type: Number,\n default: 0\n },\n xs: {\n type: definePropType([Number, Object]),\n default: () => mutable({})\n },\n sm: {\n type: definePropType([Number, Object]),\n default: () => mutable({})\n },\n md: {\n type: definePropType([Number, Object]),\n default: () => mutable({})\n },\n lg: {\n type: definePropType([Number, Object]),\n default: () => mutable({})\n },\n xl: {\n type: definePropType([Number, Object]),\n default: () => mutable({})\n }\n});\n\nexport { colProps };\n//# sourceMappingURL=col.mjs.map\n","const rowContextKey = Symbol(\"rowContextKey\");\n\nexport { rowContextKey };\n//# sourceMappingURL=constants.mjs.map\n","import { defineComponent, inject, computed, openBlock, createBlock, resolveDynamicComponent, normalizeClass, unref, normalizeStyle, withCtx, renderSlot } from 'vue';\nimport { colProps } from './col.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { rowContextKey } from '../../row/src/constants.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { isNumber } from '../../../utils/types.mjs';\nimport { isObject } from '@vue/shared';\n\nconst __default__ = defineComponent({\n name: \"ElCol\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: colProps,\n setup(__props) {\n const props = __props;\n const { gutter } = inject(rowContextKey, { gutter: computed(() => 0) });\n const ns = useNamespace(\"col\");\n const style = computed(() => {\n const styles = {};\n if (gutter.value) {\n styles.paddingLeft = styles.paddingRight = `${gutter.value / 2}px`;\n }\n return styles;\n });\n const colKls = computed(() => {\n const classes = [];\n const pos = [\"span\", \"offset\", \"pull\", \"push\"];\n pos.forEach((prop) => {\n const size = props[prop];\n if (isNumber(size)) {\n if (prop === \"span\")\n classes.push(ns.b(`${props[prop]}`));\n else if (size > 0)\n classes.push(ns.b(`${prop}-${props[prop]}`));\n }\n });\n const sizes = [\"xs\", \"sm\", \"md\", \"lg\", \"xl\"];\n sizes.forEach((size) => {\n if (isNumber(props[size])) {\n classes.push(ns.b(`${size}-${props[size]}`));\n } else if (isObject(props[size])) {\n Object.entries(props[size]).forEach(([prop, sizeProp]) => {\n classes.push(prop !== \"span\" ? ns.b(`${size}-${prop}-${sizeProp}`) : ns.b(`${size}-${sizeProp}`));\n });\n }\n });\n if (gutter.value) {\n classes.push(ns.is(\"guttered\"));\n }\n return [ns.b(), classes];\n });\n return (_ctx, _cache) => {\n return openBlock(), createBlock(resolveDynamicComponent(_ctx.tag), {\n class: normalizeClass(unref(colKls)),\n style: normalizeStyle(unref(style))\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 8, [\"class\", \"style\"]);\n };\n }\n});\nvar Col = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"col.vue\"]]);\n\nexport { Col as default };\n//# sourceMappingURL=col2.mjs.map\n","import Col from './src/col2.mjs';\nexport { colProps } from './src/col.mjs';\nimport { withInstall } from '../../utils/vue/install.mjs';\n\nconst ElCol = withInstall(Col);\n\nexport { ElCol, ElCol as default };\n//# sourceMappingURL=index.mjs.map\n","import { defineComponent, openBlock, createBlock, Transition, mergeProps, unref, toHandlers, withCtx, renderSlot } from 'vue';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst __default__ = defineComponent({\n name: \"ElCollapseTransition\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n setup(__props) {\n const ns = useNamespace(\"collapse-transition\");\n const reset = (el) => {\n el.style.maxHeight = \"\";\n el.style.overflow = el.dataset.oldOverflow;\n el.style.paddingTop = el.dataset.oldPaddingTop;\n el.style.paddingBottom = el.dataset.oldPaddingBottom;\n };\n const on = {\n beforeEnter(el) {\n if (!el.dataset)\n el.dataset = {};\n el.dataset.oldPaddingTop = el.style.paddingTop;\n el.dataset.oldPaddingBottom = el.style.paddingBottom;\n if (el.style.height)\n el.dataset.elExistsHeight = el.style.height;\n el.style.maxHeight = 0;\n el.style.paddingTop = 0;\n el.style.paddingBottom = 0;\n },\n enter(el) {\n requestAnimationFrame(() => {\n el.dataset.oldOverflow = el.style.overflow;\n if (el.dataset.elExistsHeight) {\n el.style.maxHeight = el.dataset.elExistsHeight;\n } else if (el.scrollHeight !== 0) {\n el.style.maxHeight = `${el.scrollHeight}px`;\n } else {\n el.style.maxHeight = 0;\n }\n el.style.paddingTop = el.dataset.oldPaddingTop;\n el.style.paddingBottom = el.dataset.oldPaddingBottom;\n el.style.overflow = \"hidden\";\n });\n },\n afterEnter(el) {\n el.style.maxHeight = \"\";\n el.style.overflow = el.dataset.oldOverflow;\n },\n enterCancelled(el) {\n reset(el);\n },\n beforeLeave(el) {\n if (!el.dataset)\n el.dataset = {};\n el.dataset.oldPaddingTop = el.style.paddingTop;\n el.dataset.oldPaddingBottom = el.style.paddingBottom;\n el.dataset.oldOverflow = el.style.overflow;\n el.style.maxHeight = `${el.scrollHeight}px`;\n el.style.overflow = \"hidden\";\n },\n leave(el) {\n if (el.scrollHeight !== 0) {\n el.style.maxHeight = 0;\n el.style.paddingTop = 0;\n el.style.paddingBottom = 0;\n }\n },\n afterLeave(el) {\n reset(el);\n },\n leaveCancelled(el) {\n reset(el);\n }\n };\n return (_ctx, _cache) => {\n return openBlock(), createBlock(Transition, mergeProps({\n name: unref(ns).b()\n }, toHandlers(on)), {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 16, [\"name\"]);\n };\n }\n});\nvar CollapseTransition = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"collapse-transition.vue\"]]);\n\nexport { CollapseTransition as default };\n//# sourceMappingURL=collapse-transition.mjs.map\n","import CollapseTransition from './src/collapse-transition.mjs';\nimport { withInstall } from '../../utils/vue/install.mjs';\n\nconst ElCollapseTransition = withInstall(CollapseTransition);\n\nexport { ElCollapseTransition, ElCollapseTransition as default };\n//# sourceMappingURL=index.mjs.map\n","import { useEmptyValuesProps } from '../../../hooks/use-empty-values/index.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { useSizeProp } from '../../../hooks/use-size/index.mjs';\n\nconst configProviderProps = buildProps({\n a11y: {\n type: Boolean,\n default: true\n },\n locale: {\n type: definePropType(Object)\n },\n size: useSizeProp,\n button: {\n type: definePropType(Object)\n },\n experimentalFeatures: {\n type: definePropType(Object)\n },\n keyboardNavigation: {\n type: Boolean,\n default: true\n },\n message: {\n type: definePropType(Object)\n },\n zIndex: Number,\n namespace: {\n type: String,\n default: \"el\"\n },\n ...useEmptyValuesProps\n});\n\nexport { configProviderProps };\n//# sourceMappingURL=config-provider-props.mjs.map\n","import { defineComponent, watch, renderSlot } from 'vue';\nimport { provideGlobalConfig } from './hooks/use-global-config.mjs';\nimport { configProviderProps } from './config-provider-props.mjs';\n\nconst messageConfig = {};\nconst ConfigProvider = defineComponent({\n name: \"ElConfigProvider\",\n props: configProviderProps,\n setup(props, { slots }) {\n watch(() => props.message, (val) => {\n Object.assign(messageConfig, val != null ? val : {});\n }, { immediate: true, deep: true });\n const config = provideGlobalConfig(props);\n return () => renderSlot(slots, \"default\", { config: config == null ? void 0 : config.value });\n }\n});\n\nexport { ConfigProvider as default, messageConfig };\n//# sourceMappingURL=config-provider.mjs.map\n","import ConfigProvider from './src/config-provider.mjs';\nexport { messageConfig } from './src/config-provider.mjs';\nexport { configProviderProps } from './src/config-provider-props.mjs';\nexport { configProviderContextKey } from './src/constants.mjs';\nexport { provideGlobalConfig, useGlobalComponentSettings, useGlobalConfig } from './src/hooks/use-global-config.mjs';\nimport { withInstall } from '../../utils/vue/install.mjs';\n\nconst ElConfigProvider = withInstall(ConfigProvider);\n\nexport { ElConfigProvider, ElConfigProvider as default };\n//# sourceMappingURL=index.mjs.map\n","import { buildProps } from '../../../utils/vue/props/runtime.mjs';\n\nconst RowJustify = [\n \"start\",\n \"center\",\n \"end\",\n \"space-around\",\n \"space-between\",\n \"space-evenly\"\n];\nconst RowAlign = [\"top\", \"middle\", \"bottom\"];\nconst rowProps = buildProps({\n tag: {\n type: String,\n default: \"div\"\n },\n gutter: {\n type: Number,\n default: 0\n },\n justify: {\n type: String,\n values: RowJustify,\n default: \"start\"\n },\n align: {\n type: String,\n values: RowAlign\n }\n});\n\nexport { RowAlign, RowJustify, rowProps };\n//# sourceMappingURL=row.mjs.map\n","import { defineComponent, computed, provide, openBlock, createBlock, resolveDynamicComponent, normalizeClass, unref, normalizeStyle, withCtx, renderSlot } from 'vue';\nimport { rowContextKey } from './constants.mjs';\nimport { rowProps } from './row.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst __default__ = defineComponent({\n name: \"ElRow\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...__default__,\n props: rowProps,\n setup(__props) {\n const props = __props;\n const ns = useNamespace(\"row\");\n const gutter = computed(() => props.gutter);\n provide(rowContextKey, {\n gutter\n });\n const style = computed(() => {\n const styles = {};\n if (!props.gutter) {\n return styles;\n }\n styles.marginRight = styles.marginLeft = `-${props.gutter / 2}px`;\n return styles;\n });\n const rowKls = computed(() => [\n ns.b(),\n ns.is(`justify-${props.justify}`, props.justify !== \"start\"),\n ns.is(`align-${props.align}`, !!props.align)\n ]);\n return (_ctx, _cache) => {\n return openBlock(), createBlock(resolveDynamicComponent(_ctx.tag), {\n class: normalizeClass(unref(rowKls)),\n style: normalizeStyle(unref(style))\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 8, [\"class\", \"style\"]);\n };\n }\n});\nvar Row = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"row.vue\"]]);\n\nexport { Row as default };\n//# sourceMappingURL=row2.mjs.map\n","import Row from './src/row2.mjs';\nexport { RowAlign, RowJustify, rowProps } from './src/row.mjs';\nexport { rowContextKey } from './src/constants.mjs';\nimport { withInstall } from '../../utils/vue/install.mjs';\n\nconst ElRow = withInstall(Row);\n\nexport { ElRow, ElRow as default };\n//# sourceMappingURL=index.mjs.map\n","import { ref, reactive, defineComponent, h, Transition, withCtx, withDirectives, createVNode, vShow, createApp, toRefs } from 'vue';\nimport { useGlobalComponentSettings } from '../../config-provider/src/hooks/use-global-config.mjs';\nimport { removeClass } from '../../../utils/dom/style.mjs';\n\nfunction createLoadingComponent(options) {\n let afterLeaveTimer;\n const afterLeaveFlag = ref(false);\n const data = reactive({\n ...options,\n originalPosition: \"\",\n originalOverflow: \"\",\n visible: false\n });\n function setText(text) {\n data.text = text;\n }\n function destroySelf() {\n const target = data.parent;\n const ns = vm.ns;\n if (!target.vLoadingAddClassList) {\n let loadingNumber = target.getAttribute(\"loading-number\");\n loadingNumber = Number.parseInt(loadingNumber) - 1;\n if (!loadingNumber) {\n removeClass(target, ns.bm(\"parent\", \"relative\"));\n target.removeAttribute(\"loading-number\");\n } else {\n target.setAttribute(\"loading-number\", loadingNumber.toString());\n }\n removeClass(target, ns.bm(\"parent\", \"hidden\"));\n }\n removeElLoadingChild();\n loadingInstance.unmount();\n }\n function removeElLoadingChild() {\n var _a, _b;\n (_b = (_a = vm.$el) == null ? void 0 : _a.parentNode) == null ? void 0 : _b.removeChild(vm.$el);\n }\n function close() {\n var _a;\n if (options.beforeClose && !options.beforeClose())\n return;\n afterLeaveFlag.value = true;\n clearTimeout(afterLeaveTimer);\n afterLeaveTimer = setTimeout(handleAfterLeave, 400);\n data.visible = false;\n (_a = options.closed) == null ? void 0 : _a.call(options);\n }\n function handleAfterLeave() {\n if (!afterLeaveFlag.value)\n return;\n const target = data.parent;\n afterLeaveFlag.value = false;\n target.vLoadingAddClassList = void 0;\n destroySelf();\n }\n const elLoadingComponent = defineComponent({\n name: \"ElLoading\",\n setup(_, { expose }) {\n const { ns, zIndex } = useGlobalComponentSettings(\"loading\");\n expose({\n ns,\n zIndex\n });\n return () => {\n const svg = data.spinner || data.svg;\n const spinner = h(\"svg\", {\n class: \"circular\",\n viewBox: data.svgViewBox ? data.svgViewBox : \"0 0 50 50\",\n ...svg ? { innerHTML: svg } : {}\n }, [\n h(\"circle\", {\n class: \"path\",\n cx: \"25\",\n cy: \"25\",\n r: \"20\",\n fill: \"none\"\n })\n ]);\n const spinnerText = data.text ? h(\"p\", { class: ns.b(\"text\") }, [data.text]) : void 0;\n return h(Transition, {\n name: ns.b(\"fade\"),\n onAfterLeave: handleAfterLeave\n }, {\n default: withCtx(() => [\n withDirectives(createVNode(\"div\", {\n style: {\n backgroundColor: data.background || \"\"\n },\n class: [\n ns.b(\"mask\"),\n data.customClass,\n data.fullscreen ? \"is-fullscreen\" : \"\"\n ]\n }, [\n h(\"div\", {\n class: ns.b(\"spinner\")\n }, [spinner, spinnerText])\n ]), [[vShow, data.visible]])\n ])\n });\n };\n }\n });\n const loadingInstance = createApp(elLoadingComponent);\n const vm = loadingInstance.mount(document.createElement(\"div\"));\n return {\n ...toRefs(data),\n setText,\n removeElLoadingChild,\n close,\n handleAfterLeave,\n vm,\n get $el() {\n return vm.$el;\n }\n };\n}\n\nexport { createLoadingComponent };\n//# sourceMappingURL=loading.mjs.map\n","import { nextTick } from 'vue';\nimport { createLoadingComponent } from './loading.mjs';\nimport { isClient } from '@vueuse/core';\nimport { isString } from '@vue/shared';\nimport { getStyle, addClass, removeClass } from '../../../utils/dom/style.mjs';\n\nlet fullscreenInstance = void 0;\nconst Loading = function(options = {}) {\n if (!isClient)\n return void 0;\n const resolved = resolveOptions(options);\n if (resolved.fullscreen && fullscreenInstance) {\n return fullscreenInstance;\n }\n const instance = createLoadingComponent({\n ...resolved,\n closed: () => {\n var _a;\n (_a = resolved.closed) == null ? void 0 : _a.call(resolved);\n if (resolved.fullscreen)\n fullscreenInstance = void 0;\n }\n });\n addStyle(resolved, resolved.parent, instance);\n addClassList(resolved, resolved.parent, instance);\n resolved.parent.vLoadingAddClassList = () => addClassList(resolved, resolved.parent, instance);\n let loadingNumber = resolved.parent.getAttribute(\"loading-number\");\n if (!loadingNumber) {\n loadingNumber = \"1\";\n } else {\n loadingNumber = `${Number.parseInt(loadingNumber) + 1}`;\n }\n resolved.parent.setAttribute(\"loading-number\", loadingNumber);\n resolved.parent.appendChild(instance.$el);\n nextTick(() => instance.visible.value = resolved.visible);\n if (resolved.fullscreen) {\n fullscreenInstance = instance;\n }\n return instance;\n};\nconst resolveOptions = (options) => {\n var _a, _b, _c, _d;\n let target;\n if (isString(options.target)) {\n target = (_a = document.querySelector(options.target)) != null ? _a : document.body;\n } else {\n target = options.target || document.body;\n }\n return {\n parent: target === document.body || options.body ? document.body : target,\n background: options.background || \"\",\n svg: options.svg || \"\",\n svgViewBox: options.svgViewBox || \"\",\n spinner: options.spinner || false,\n text: options.text || \"\",\n fullscreen: target === document.body && ((_b = options.fullscreen) != null ? _b : true),\n lock: (_c = options.lock) != null ? _c : false,\n customClass: options.customClass || \"\",\n visible: (_d = options.visible) != null ? _d : true,\n beforeClose: options.beforeClose,\n closed: options.closed,\n target\n };\n};\nconst addStyle = async (options, parent, instance) => {\n const { nextZIndex } = instance.vm.zIndex || instance.vm._.exposed.zIndex;\n const maskStyle = {};\n if (options.fullscreen) {\n instance.originalPosition.value = getStyle(document.body, \"position\");\n instance.originalOverflow.value = getStyle(document.body, \"overflow\");\n maskStyle.zIndex = nextZIndex();\n } else if (options.parent === document.body) {\n instance.originalPosition.value = getStyle(document.body, \"position\");\n await nextTick();\n for (const property of [\"top\", \"left\"]) {\n const scroll = property === \"top\" ? \"scrollTop\" : \"scrollLeft\";\n maskStyle[property] = `${options.target.getBoundingClientRect()[property] + document.body[scroll] + document.documentElement[scroll] - Number.parseInt(getStyle(document.body, `margin-${property}`), 10)}px`;\n }\n for (const property of [\"height\", \"width\"]) {\n maskStyle[property] = `${options.target.getBoundingClientRect()[property]}px`;\n }\n } else {\n instance.originalPosition.value = getStyle(parent, \"position\");\n }\n for (const [key, value] of Object.entries(maskStyle)) {\n instance.$el.style[key] = value;\n }\n};\nconst addClassList = (options, parent, instance) => {\n const ns = instance.vm.ns || instance.vm._.exposed.ns;\n if (![\"absolute\", \"fixed\", \"sticky\"].includes(instance.originalPosition.value)) {\n addClass(parent, ns.bm(\"parent\", \"relative\"));\n } else {\n removeClass(parent, ns.bm(\"parent\", \"relative\"));\n }\n if (options.fullscreen && options.lock) {\n addClass(parent, ns.bm(\"parent\", \"hidden\"));\n } else {\n removeClass(parent, ns.bm(\"parent\", \"hidden\"));\n }\n};\n\nexport { Loading };\n//# sourceMappingURL=service.mjs.map\n","import { isRef, ref } from 'vue';\nimport { Loading } from './service.mjs';\nimport { isObject, hyphenate, isString } from '@vue/shared';\n\nconst INSTANCE_KEY = Symbol(\"ElLoading\");\nconst createInstance = (el, binding) => {\n var _a, _b, _c, _d;\n const vm = binding.instance;\n const getBindingProp = (key) => isObject(binding.value) ? binding.value[key] : void 0;\n const resolveExpression = (key) => {\n const data = isString(key) && (vm == null ? void 0 : vm[key]) || key;\n if (data)\n return ref(data);\n else\n return data;\n };\n const getProp = (name) => resolveExpression(getBindingProp(name) || el.getAttribute(`element-loading-${hyphenate(name)}`));\n const fullscreen = (_a = getBindingProp(\"fullscreen\")) != null ? _a : binding.modifiers.fullscreen;\n const options = {\n text: getProp(\"text\"),\n svg: getProp(\"svg\"),\n svgViewBox: getProp(\"svgViewBox\"),\n spinner: getProp(\"spinner\"),\n background: getProp(\"background\"),\n customClass: getProp(\"customClass\"),\n fullscreen,\n target: (_b = getBindingProp(\"target\")) != null ? _b : fullscreen ? void 0 : el,\n body: (_c = getBindingProp(\"body\")) != null ? _c : binding.modifiers.body,\n lock: (_d = getBindingProp(\"lock\")) != null ? _d : binding.modifiers.lock\n };\n el[INSTANCE_KEY] = {\n options,\n instance: Loading(options)\n };\n};\nconst updateOptions = (newOptions, originalOptions) => {\n for (const key of Object.keys(originalOptions)) {\n if (isRef(originalOptions[key]))\n originalOptions[key].value = newOptions[key];\n }\n};\nconst vLoading = {\n mounted(el, binding) {\n if (binding.value) {\n createInstance(el, binding);\n }\n },\n updated(el, binding) {\n const instance = el[INSTANCE_KEY];\n if (binding.oldValue !== binding.value) {\n if (binding.value && !binding.oldValue) {\n createInstance(el, binding);\n } else if (binding.value && binding.oldValue) {\n if (isObject(binding.value))\n updateOptions(binding.value, instance.options);\n } else {\n instance == null ? void 0 : instance.instance.close();\n }\n }\n },\n unmounted(el) {\n var _a;\n (_a = el[INSTANCE_KEY]) == null ? void 0 : _a.instance.close();\n el[INSTANCE_KEY] = null;\n }\n};\n\nexport { vLoading };\n//# sourceMappingURL=directive.mjs.map\n","import { Loading } from './src/service.mjs';\nexport { Loading as ElLoadingService } from './src/service.mjs';\nimport { vLoading } from './src/directive.mjs';\nexport { vLoading as ElLoadingDirective, vLoading } from './src/directive.mjs';\n\nconst ElLoading = {\n install(app) {\n app.directive(\"loading\", vLoading);\n app.config.globalProperties.$loading = Loading;\n },\n directive: vLoading,\n service: Loading\n};\n\nexport { ElLoading, ElLoading as default };\n//# sourceMappingURL=index.mjs.map\n","import {\n ElAffix,\n ElButton,\n ElCol,\n ElCollapseTransition,\n ElLoading,\n ElRow,\n} from 'element-plus';\n\nexport const components = [\n ElAffix,\n ElButton,\n ElCol,\n ElCollapseTransition,\n ElRow,\n];\n\nexport const plugins = [ElLoading];\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 * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param argument - The value to convert\n *\n * @returns The parsed date in the local time zone\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 */\nexport function toDate(argument) {\n const argStr = Object.prototype.toString.call(argument);\n\n // Clone the date\n if (\n argument instanceof Date ||\n (typeof argument === \"object\" && argStr === \"[object Date]\")\n ) {\n // Prevent the date to lose the milliseconds when passed to new Date() in IE10\n return new argument.constructor(+argument);\n } else if (\n typeof argument === \"number\" ||\n argStr === \"[object Number]\" ||\n typeof argument === \"string\" ||\n argStr === \"[object String]\"\n ) {\n // TODO: Can we get rid of as?\n return new Date(argument);\n } else {\n // TODO: Can we get rid of as?\n return new Date(NaN);\n }\n}\n\n// Fallback for modularized imports:\nexport default toDate;\n","/**\n * @name constructFrom\n * @category Generic Helpers\n * @summary Constructs a date using the reference date and the value\n *\n * @description\n * The function constructs a new date using the constructor from the reference\n * date and the given value. It helps to build generic functions that accept\n * date extensions.\n *\n * It defaults to `Date` if the passed reference date is a number or a string.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The reference date to take constructor from\n * @param value - The value to create the date\n *\n * @returns Date initialized using the given date and value\n *\n * @example\n * import { constructFrom } from 'date-fns'\n *\n * // A function that clones a date preserving the original type\n * function cloneDate Thu Sep 11 2014 00:00:00\n */\nexport function addDays(date, amount) {\n const _date = toDate(date);\n if (isNaN(amount)) return constructFrom(date, NaN);\n if (!amount) {\n // If 0 days, no-op to avoid changing times in the hour before end of DST\n return _date;\n }\n _date.setDate(_date.getDate() + amount);\n return _date;\n}\n\n// Fallback for modularized imports:\nexport default addDays;\n","import { toDate } from \"./toDate.mjs\";\nimport { constructFrom } from \"./constructFrom.mjs\";\n\n/**\n * @name addMonths\n * @category Month Helpers\n * @summary Add the specified number of months to the given date.\n *\n * @description\n * Add the specified number of months to the given date.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The date to be changed\n * @param amount - The amount of months to be added.\n *\n * @returns The new date with the months added\n *\n * @example\n * // Add 5 months to 1 September 2014:\n * const result = addMonths(new Date(2014, 8, 1), 5)\n * //=> Sun Feb 01 2015 00:00:00\n *\n * // Add one month to 30 January 2023:\n * const result = addMonths(new Date(2023, 0, 30), 1)\n * //=> Tue Feb 28 2023 00:00:00\n */\nexport function addMonths(date, amount) {\n const _date = toDate(date);\n if (isNaN(amount)) return constructFrom(date, NaN);\n if (!amount) {\n // If 0 months, no-op to avoid changing times in the hour before end of DST\n return _date;\n }\n const dayOfMonth = _date.getDate();\n\n // The JS Date object supports date math by accepting out-of-bounds values for\n // month, day, etc. For example, new Date(2020, 0, 0) returns 31 Dec 2019 and\n // new Date(2020, 13, 1) returns 1 Feb 2021. This is *almost* the behavior we\n // want except that dates will wrap around the end of a month, meaning that\n // new Date(2020, 13, 31) will return 3 Mar 2021 not 28 Feb 2021 as desired. So\n // we'll default to the end of the desired month by adding 1 to the desired\n // month and using a date of 0 to back up one day to the end of the desired\n // month.\n const endOfDesiredMonth = constructFrom(date, _date.getTime());\n endOfDesiredMonth.setMonth(_date.getMonth() + amount + 1, 0);\n const daysInMonth = endOfDesiredMonth.getDate();\n if (dayOfMonth >= daysInMonth) {\n // If we're already at the end of the month, then this is the correct date\n // and we're done.\n return endOfDesiredMonth;\n } else {\n // Otherwise, we now know that setting the original day-of-month value won't\n // cause an overflow, so set the desired day-of-month. Note that we can't\n // just set the date of `endOfDesiredMonth` because that object may have had\n // its time changed in the unusual case where where a DST transition was on\n // the last day of the month and its local time was in the hour skipped or\n // repeated next to a DST transition. So we use `date` instead which is\n // guaranteed to still have the original time.\n _date.setFullYear(\n endOfDesiredMonth.getFullYear(),\n endOfDesiredMonth.getMonth(),\n dayOfMonth,\n );\n return _date;\n }\n}\n\n// Fallback for modularized imports:\nexport default addMonths;\n","import { addDays } from \"./addDays.mjs\";\nimport { addMonths } from \"./addMonths.mjs\";\nimport { constructFrom } from \"./constructFrom.mjs\";\nimport { toDate } from \"./toDate.mjs\";\n\n/**\n * @name add\n * @category Common Helpers\n * @summary Add the specified years, months, weeks, days, hours, minutes and seconds to the given date.\n *\n * @description\n * Add the specified years, months, weeks, days, hours, minutes and seconds to the given date.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The date to be changed\n * @param duration - The object with years, months, weeks, days, hours, minutes and seconds to be added.\n *\n * | Key | Description |\n * |----------------|------------------------------------|\n * | years | Amount of years to be added |\n * | months | Amount of months to be added |\n * | weeks | Amount of weeks to be added |\n * | days | Amount of days to be added |\n * | hours | Amount of hours to be added |\n * | minutes | Amount of minutes to be added |\n * | seconds | Amount of seconds to be added |\n *\n * All values default to 0\n *\n * @returns The new date with the seconds added\n *\n * @example\n * // Add the following duration to 1 September 2014, 10:19:50\n * const result = add(new Date(2014, 8, 1, 10, 19, 50), {\n * years: 2,\n * months: 9,\n * weeks: 1,\n * days: 7,\n * hours: 5,\\\\-7\n * minutes: 9,\n * seconds: 30,\n * })\n * //=> Thu Jun 15 2017 15:29:20\n */\nexport function add(date, duration) {\n const {\n years = 0,\n months = 0,\n weeks = 0,\n days = 0,\n hours = 0,\n minutes = 0,\n seconds = 0,\n } = duration;\n\n // Add years and months\n const _date = toDate(date);\n const dateWithMonths =\n months || years ? addMonths(_date, months + years * 12) : _date;\n\n // Add weeks and days\n const dateWithDays =\n days || weeks ? addDays(dateWithMonths, days + weeks * 7) : dateWithMonths;\n\n // Add days, hours, minutes and seconds\n const minutesToAdd = minutes + hours * 60;\n const secondsToAdd = seconds + minutesToAdd * 60;\n const msToAdd = secondsToAdd * 1000;\n const finalDate = constructFrom(date, dateWithDays.getTime() + msToAdd);\n\n return finalDate;\n}\n\n// Fallback for modularized imports:\nexport default add;\n","/**\n * @module constants\n * @summary Useful constants\n * @description\n * Collection of useful date constants.\n *\n * The constants could be imported from `date-fns/constants`:\n *\n * ```ts\n * import { maxTime, minTime } from \"./constants/date-fns/constants\";\n *\n * function isAllowedTime(time) {\n * return time <= maxTime && time >= minTime;\n * }\n * ```\n */\n\n/**\n * @constant\n * @name daysInWeek\n * @summary Days in 1 week.\n */\nexport const daysInWeek = 7;\n\n/**\n * @constant\n * @name daysInYear\n * @summary Days in 1 year.\n *\n * @description\n * How many days in a year.\n *\n * One years equals 365.2425 days according to the formula:\n *\n * > Leap year occures every 4 years, except for years that are divisable by 100 and not divisable by 400.\n * > 1 mean year = (365+1/4-1/100+1/400) days = 365.2425 days\n */\nexport const daysInYear = 365.2425;\n\n/**\n * @constant\n * @name maxTime\n * @summary Maximum allowed time.\n *\n * @example\n * import { maxTime } from \"./constants/date-fns/constants\";\n *\n * const isValid = 8640000000000001 <= maxTime;\n * //=> false\n *\n * new Date(8640000000000001);\n * //=> Invalid Date\n */\nexport const maxTime = Math.pow(10, 8) * 24 * 60 * 60 * 1000;\n\n/**\n * @constant\n * @name minTime\n * @summary Minimum allowed time.\n *\n * @example\n * import { minTime } from \"./constants/date-fns/constants\";\n *\n * const isValid = -8640000000000001 >= minTime;\n * //=> false\n *\n * new Date(-8640000000000001)\n * //=> Invalid Date\n */\nexport const minTime = -maxTime;\n\n/**\n * @constant\n * @name millisecondsInWeek\n * @summary Milliseconds in 1 week.\n */\nexport const millisecondsInWeek = 604800000;\n\n/**\n * @constant\n * @name millisecondsInDay\n * @summary Milliseconds in 1 day.\n */\nexport const millisecondsInDay = 86400000;\n\n/**\n * @constant\n * @name millisecondsInMinute\n * @summary Milliseconds in 1 minute\n */\nexport const millisecondsInMinute = 60000;\n\n/**\n * @constant\n * @name millisecondsInHour\n * @summary Milliseconds in 1 hour\n */\nexport const millisecondsInHour = 3600000;\n\n/**\n * @constant\n * @name millisecondsInSecond\n * @summary Milliseconds in 1 second\n */\nexport const millisecondsInSecond = 1000;\n\n/**\n * @constant\n * @name minutesInYear\n * @summary Minutes in 1 year.\n */\nexport const minutesInYear = 525600;\n\n/**\n * @constant\n * @name minutesInMonth\n * @summary Minutes in 1 month.\n */\nexport const minutesInMonth = 43200;\n\n/**\n * @constant\n * @name minutesInDay\n * @summary Minutes in 1 day.\n */\nexport const minutesInDay = 1440;\n\n/**\n * @constant\n * @name minutesInHour\n * @summary Minutes in 1 hour.\n */\nexport const minutesInHour = 60;\n\n/**\n * @constant\n * @name monthsInQuarter\n * @summary Months in 1 quarter.\n */\nexport const monthsInQuarter = 3;\n\n/**\n * @constant\n * @name monthsInYear\n * @summary Months in 1 year.\n */\nexport const monthsInYear = 12;\n\n/**\n * @constant\n * @name quartersInYear\n * @summary Quarters in 1 year\n */\nexport const quartersInYear = 4;\n\n/**\n * @constant\n * @name secondsInHour\n * @summary Seconds in 1 hour.\n */\nexport const secondsInHour = 3600;\n\n/**\n * @constant\n * @name secondsInMinute\n * @summary Seconds in 1 minute.\n */\nexport const secondsInMinute = 60;\n\n/**\n * @constant\n * @name secondsInDay\n * @summary Seconds in 1 day.\n */\nexport const secondsInDay = secondsInHour * 24;\n\n/**\n * @constant\n * @name secondsInWeek\n * @summary Seconds in 1 week.\n */\nexport const secondsInWeek = secondsInDay * 7;\n\n/**\n * @constant\n * @name secondsInYear\n * @summary Seconds in 1 year.\n */\nexport const secondsInYear = secondsInDay * daysInYear;\n\n/**\n * @constant\n * @name secondsInMonth\n * @summary Seconds in 1 month\n */\nexport const secondsInMonth = secondsInYear / 12;\n\n/**\n * @constant\n * @name secondsInQuarter\n * @summary Seconds in 1 quarter.\n */\nexport const secondsInQuarter = secondsInMonth * 3;\n","let defaultOptions = {};\n\nexport function getDefaultOptions() {\n return defaultOptions;\n}\n\nexport function setDefaultOptions(newOptions) {\n defaultOptions = newOptions;\n}\n","import { toDate } from \"./toDate.mjs\";\nimport { getDefaultOptions } from \"./_lib/defaultOptions.mjs\";\n\n/**\n * The {@link startOfWeek} function options.\n */\n\n/**\n * @name startOfWeek\n * @category Week Helpers\n * @summary Return the start of a week for the given date.\n *\n * @description\n * Return the start of a week for the given date.\n * The result will be in the local timezone.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The original date\n * @param options - An object with options\n *\n * @returns The start of a week\n *\n * @example\n * // The start of a week for 2 September 2014 11:55:00:\n * const result = startOfWeek(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Sun Aug 31 2014 00:00:00\n *\n * @example\n * // If the week starts on Monday, the start of the week for 2 September 2014 11:55:00:\n * const result = startOfWeek(new Date(2014, 8, 2, 11, 55, 0), { weekStartsOn: 1 })\n * //=> Mon Sep 01 2014 00:00:00\n */\nexport function startOfWeek(date, options) {\n const defaultOptions = getDefaultOptions();\n const weekStartsOn =\n options?.weekStartsOn ??\n options?.locale?.options?.weekStartsOn ??\n defaultOptions.weekStartsOn ??\n defaultOptions.locale?.options?.weekStartsOn ??\n 0;\n\n const _date = toDate(date);\n const day = _date.getDay();\n const diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;\n\n _date.setDate(_date.getDate() - diff);\n _date.setHours(0, 0, 0, 0);\n return _date;\n}\n\n// Fallback for modularized imports:\nexport default startOfWeek;\n","import { startOfWeek } from \"./startOfWeek.mjs\";\n\n/**\n * @name startOfISOWeek\n * @category ISO Week Helpers\n * @summary Return the start of an ISO week for the given date.\n *\n * @description\n * Return the start of an ISO week for the given date.\n * The result will be in the local timezone.\n *\n * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The original date\n *\n * @returns The start of an ISO week\n *\n * @example\n * // The start of an ISO week for 2 September 2014 11:55:00:\n * const result = startOfISOWeek(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Mon Sep 01 2014 00:00:00\n */\nexport function startOfISOWeek(date) {\n return startOfWeek(date, { weekStartsOn: 1 });\n}\n\n// Fallback for modularized imports:\nexport default startOfISOWeek;\n","import { constructFrom } from \"./constructFrom.mjs\";\nimport { startOfISOWeek } from \"./startOfISOWeek.mjs\";\nimport { toDate } from \"./toDate.mjs\";\n\n/**\n * @name getISOWeekYear\n * @category ISO Week-Numbering Year Helpers\n * @summary Get the ISO week-numbering year of the given date.\n *\n * @description\n * Get the ISO week-numbering year of the given date,\n * which always starts 3 days before the year's first Thursday.\n *\n * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The given date\n *\n * @returns The ISO week-numbering year\n *\n * @example\n * // Which ISO-week numbering year is 2 January 2005?\n * const result = getISOWeekYear(new Date(2005, 0, 2))\n * //=> 2004\n */\nexport function getISOWeekYear(date) {\n const _date = toDate(date);\n const year = _date.getFullYear();\n\n const fourthOfJanuaryOfNextYear = constructFrom(date, 0);\n fourthOfJanuaryOfNextYear.setFullYear(year + 1, 0, 4);\n fourthOfJanuaryOfNextYear.setHours(0, 0, 0, 0);\n const startOfNextYear = startOfISOWeek(fourthOfJanuaryOfNextYear);\n\n const fourthOfJanuaryOfThisYear = constructFrom(date, 0);\n fourthOfJanuaryOfThisYear.setFullYear(year, 0, 4);\n fourthOfJanuaryOfThisYear.setHours(0, 0, 0, 0);\n const startOfThisYear = startOfISOWeek(fourthOfJanuaryOfThisYear);\n\n if (_date.getTime() >= startOfNextYear.getTime()) {\n return year + 1;\n } else if (_date.getTime() >= startOfThisYear.getTime()) {\n return year;\n } else {\n return year - 1;\n }\n}\n\n// Fallback for modularized imports:\nexport default getISOWeekYear;\n","import { toDate } from \"./toDate.mjs\";\n\n/**\n * @name startOfDay\n * @category Day Helpers\n * @summary Return the start of a day for the given date.\n *\n * @description\n * Return the start of a day for the given date.\n * The result will be in the local timezone.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The original date\n *\n * @returns The start of a day\n *\n * @example\n * // The start of a day for 2 September 2014 11:55:00:\n * const result = startOfDay(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Tue Sep 02 2014 00:00:00\n */\nexport function startOfDay(date) {\n const _date = toDate(date);\n _date.setHours(0, 0, 0, 0);\n return _date;\n}\n\n// Fallback for modularized imports:\nexport default startOfDay;\n","import { toDate } from \"../toDate.mjs\";\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 */\nexport function getTimezoneOffsetInMilliseconds(date) {\n const _date = toDate(date);\n const utcDate = new Date(\n Date.UTC(\n _date.getFullYear(),\n _date.getMonth(),\n _date.getDate(),\n _date.getHours(),\n _date.getMinutes(),\n _date.getSeconds(),\n _date.getMilliseconds(),\n ),\n );\n utcDate.setUTCFullYear(_date.getFullYear());\n return +date - +utcDate;\n}\n","import { millisecondsInDay } from \"./constants.mjs\";\nimport { startOfDay } from \"./startOfDay.mjs\";\nimport { getTimezoneOffsetInMilliseconds } from \"./_lib/getTimezoneOffsetInMilliseconds.mjs\";\n\n/**\n * @name differenceInCalendarDays\n * @category Day Helpers\n * @summary Get the number of calendar days between the given dates.\n *\n * @description\n * Get the number of calendar days between the given dates. This means that the times are removed\n * from the dates and then the difference in days is calculated.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param dateLeft - The later date\n * @param dateRight - The earlier date\n *\n * @returns The number of calendar days\n *\n * @example\n * // How many calendar days are between\n * // 2 July 2011 23:00:00 and 2 July 2012 00:00:00?\n * const result = differenceInCalendarDays(\n * new Date(2012, 6, 2, 0, 0),\n * new Date(2011, 6, 2, 23, 0)\n * )\n * //=> 366\n * // How many calendar days are between\n * // 2 July 2011 23:59:00 and 3 July 2011 00:01:00?\n * const result = differenceInCalendarDays(\n * new Date(2011, 6, 3, 0, 1),\n * new Date(2011, 6, 2, 23, 59)\n * )\n * //=> 1\n */\nexport function differenceInCalendarDays(dateLeft, dateRight) {\n const startOfDayLeft = startOfDay(dateLeft);\n const startOfDayRight = startOfDay(dateRight);\n\n const timestampLeft =\n +startOfDayLeft - getTimezoneOffsetInMilliseconds(startOfDayLeft);\n const timestampRight =\n +startOfDayRight - getTimezoneOffsetInMilliseconds(startOfDayRight);\n\n // Round the number of days to the nearest integer because the number of\n // milliseconds in a day is not constant (e.g. it's different in the week of\n // the daylight saving time clock shift).\n return Math.round((timestampLeft - timestampRight) / millisecondsInDay);\n}\n\n// Fallback for modularized imports:\nexport default differenceInCalendarDays;\n","import { getISOWeekYear } from \"./getISOWeekYear.mjs\";\nimport { startOfISOWeek } from \"./startOfISOWeek.mjs\";\nimport { constructFrom } from \"./constructFrom.mjs\";\n\n/**\n * @name startOfISOWeekYear\n * @category ISO Week-Numbering Year Helpers\n * @summary Return the start of an ISO week-numbering year for the given date.\n *\n * @description\n * Return the start of an ISO week-numbering year,\n * which always starts 3 days before the year's first Thursday.\n * The result will be in the local timezone.\n *\n * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The original date\n *\n * @returns The start of an ISO week-numbering year\n *\n * @example\n * // The start of an ISO week-numbering year for 2 July 2005:\n * const result = startOfISOWeekYear(new Date(2005, 6, 2))\n * //=> Mon Jan 03 2005 00:00:00\n */\nexport function startOfISOWeekYear(date) {\n const year = getISOWeekYear(date);\n const fourthOfJanuary = constructFrom(date, 0);\n fourthOfJanuary.setFullYear(year, 0, 4);\n fourthOfJanuary.setHours(0, 0, 0, 0);\n return startOfISOWeek(fourthOfJanuary);\n}\n\n// Fallback for modularized imports:\nexport default startOfISOWeekYear;\n","import { startOfDay } from \"./startOfDay.mjs\";\n\n/**\n * @name isSameDay\n * @category Day Helpers\n * @summary Are the given dates in the same day (and year and month)?\n *\n * @description\n * Are the given dates in the same day (and year and month)?\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param dateLeft - The first date to check\n * @param dateRight - The second date to check\n\n * @returns The dates are in the same day (and year and month)\n *\n * @example\n * // Are 4 September 06:00:00 and 4 September 18:00:00 in the same day?\n * const result = isSameDay(new Date(2014, 8, 4, 6, 0), new Date(2014, 8, 4, 18, 0))\n * //=> true\n *\n * @example\n * // Are 4 September and 4 October in the same day?\n * const result = isSameDay(new Date(2014, 8, 4), new Date(2014, 9, 4))\n * //=> false\n *\n * @example\n * // Are 4 September, 2014 and 4 September, 2015 in the same day?\n * const result = isSameDay(new Date(2014, 8, 4), new Date(2015, 8, 4))\n * //=> false\n */\nexport function isSameDay(dateLeft, dateRight) {\n const dateLeftStartOfDay = startOfDay(dateLeft);\n const dateRightStartOfDay = startOfDay(dateRight);\n\n return +dateLeftStartOfDay === +dateRightStartOfDay;\n}\n\n// Fallback for modularized imports:\nexport default isSameDay;\n","/**\n * @name isDate\n * @category Common Helpers\n * @summary Is the given value a date?\n *\n * @description\n * Returns true if the given value is an instance of Date. The function works for dates transferred across iframes.\n *\n * @param value - The value to check\n *\n * @returns True if the given value is a date\n *\n * @example\n * // For a valid date:\n * const result = isDate(new Date())\n * //=> true\n *\n * @example\n * // For an invalid date:\n * const result = isDate(new Date(NaN))\n * //=> true\n *\n * @example\n * // For some value:\n * const result = isDate('2014-02-31')\n * //=> false\n *\n * @example\n * // For an object:\n * const result = isDate({})\n * //=> false\n */\nexport function isDate(value) {\n return (\n value instanceof Date ||\n (typeof value === \"object\" &&\n Object.prototype.toString.call(value) === \"[object Date]\")\n );\n}\n\n// Fallback for modularized imports:\nexport default isDate;\n","import { isDate } from \"./isDate.mjs\";\nimport { toDate } from \"./toDate.mjs\";\n\n/**\n * @name isValid\n * @category Common Helpers\n * @summary Is the given date valid?\n *\n * @description\n * Returns false if argument is Invalid Date and true otherwise.\n * Argument is converted to Date using `toDate`. See [toDate](https://date-fns.org/docs/toDate)\n * Invalid Date is a Date, whose time value is NaN.\n *\n * Time value of Date: http://es5.github.io/#x15.9.1.1\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The date to check\n *\n * @returns The date is valid\n *\n * @example\n * // For the valid date:\n * const result = isValid(new Date(2014, 1, 31))\n * //=> true\n *\n * @example\n * // For the value, convertable into a date:\n * const result = isValid(1393804800000)\n * //=> true\n *\n * @example\n * // For the invalid date:\n * const result = isValid(new Date(''))\n * //=> false\n */\nexport function isValid(date) {\n if (!isDate(date) && typeof date !== \"number\") {\n return false;\n }\n const _date = toDate(date);\n return !isNaN(Number(_date));\n}\n\n// Fallback for modularized imports:\nexport default isValid;\n","import { toDate } from \"./toDate.mjs\";\n\n/**\n * The {@link eachDayOfInterval} function options.\n */\n\n/**\n * @name eachDayOfInterval\n * @category Interval Helpers\n * @summary Return the array of dates within the specified time interval.\n *\n * @description\n * Return the array of dates within the specified time interval.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param interval - The interval.\n * @param options - An object with options.\n *\n * @returns The array with starts of days from the day of the interval start to the day of the interval end\n *\n * @example\n * // Each day between 6 October 2014 and 10 October 2014:\n * const result = eachDayOfInterval({\n * start: new Date(2014, 9, 6),\n * end: new Date(2014, 9, 10)\n * })\n * //=> [\n * // Mon Oct 06 2014 00:00:00,\n * // Tue Oct 07 2014 00:00:00,\n * // Wed Oct 08 2014 00:00:00,\n * // Thu Oct 09 2014 00:00:00,\n * // Fri Oct 10 2014 00:00:00\n * // ]\n */\nexport function eachDayOfInterval(interval, options) {\n const startDate = toDate(interval.start);\n const endDate = toDate(interval.end);\n\n let reversed = +startDate > +endDate;\n const endTime = reversed ? +startDate : +endDate;\n const currentDate = reversed ? endDate : startDate;\n currentDate.setHours(0, 0, 0, 0);\n\n let step = options?.step ?? 1;\n if (!step) return [];\n if (step < 0) {\n step = -step;\n reversed = !reversed;\n }\n\n const dates = [];\n\n while (+currentDate <= endTime) {\n dates.push(toDate(currentDate));\n currentDate.setDate(currentDate.getDate() + step);\n currentDate.setHours(0, 0, 0, 0);\n }\n\n return reversed ? dates.reverse() : dates;\n}\n\n// Fallback for modularized imports:\nexport default eachDayOfInterval;\n","import { toDate } from \"./toDate.mjs\";\nimport { constructFrom } from \"./constructFrom.mjs\";\n\n/**\n * @name startOfYear\n * @category Year Helpers\n * @summary Return the start of a year for the given date.\n *\n * @description\n * Return the start of a year for the given date.\n * The result will be in the local timezone.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The original date\n *\n * @returns The start of a year\n *\n * @example\n * // The start of a year for 2 September 2014 11:55:00:\n * const result = startOfYear(new Date(2014, 8, 2, 11, 55, 00))\n * //=> Wed Jan 01 2014 00:00:00\n */\nexport function startOfYear(date) {\n const cleanDate = toDate(date);\n const _date = constructFrom(date, 0);\n _date.setFullYear(cleanDate.getFullYear(), 0, 1);\n _date.setHours(0, 0, 0, 0);\n return _date;\n}\n\n// Fallback for modularized imports:\nexport default startOfYear;\n","const formatDistanceLocale = {\n lessThanXSeconds: {\n one: \"less than a second\",\n other: \"less than {{count}} seconds\",\n },\n\n xSeconds: {\n one: \"1 second\",\n other: \"{{count}} seconds\",\n },\n\n halfAMinute: \"half a minute\",\n\n lessThanXMinutes: {\n one: \"less than a minute\",\n other: \"less than {{count}} minutes\",\n },\n\n xMinutes: {\n one: \"1 minute\",\n other: \"{{count}} minutes\",\n },\n\n aboutXHours: {\n one: \"about 1 hour\",\n other: \"about {{count}} hours\",\n },\n\n xHours: {\n one: \"1 hour\",\n other: \"{{count}} hours\",\n },\n\n xDays: {\n one: \"1 day\",\n other: \"{{count}} days\",\n },\n\n aboutXWeeks: {\n one: \"about 1 week\",\n other: \"about {{count}} weeks\",\n },\n\n xWeeks: {\n one: \"1 week\",\n other: \"{{count}} weeks\",\n },\n\n aboutXMonths: {\n one: \"about 1 month\",\n other: \"about {{count}} months\",\n },\n\n xMonths: {\n one: \"1 month\",\n other: \"{{count}} months\",\n },\n\n aboutXYears: {\n one: \"about 1 year\",\n other: \"about {{count}} years\",\n },\n\n xYears: {\n one: \"1 year\",\n other: \"{{count}} years\",\n },\n\n overXYears: {\n one: \"over 1 year\",\n other: \"over {{count}} years\",\n },\n\n almostXYears: {\n one: \"almost 1 year\",\n other: \"almost {{count}} years\",\n },\n};\n\nexport const formatDistance = (token, count, options) => {\n let result;\n\n const tokenValue = formatDistanceLocale[token];\n if (typeof tokenValue === \"string\") {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace(\"{{count}}\", count.toString());\n }\n\n if (options?.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return \"in \" + result;\n } else {\n return result + \" ago\";\n }\n }\n\n return result;\n};\n","export function buildFormatLongFn(args) {\n return (options = {}) => {\n // TODO: Remove String()\n const width = options.width ? String(options.width) : args.defaultWidth;\n const format = args.formats[width] || args.formats[args.defaultWidth];\n return format;\n };\n}\n","import { buildFormatLongFn } from \"../../_lib/buildFormatLongFn.mjs\";\n\nconst dateFormats = {\n full: \"EEEE, MMMM do, y\",\n long: \"MMMM do, y\",\n medium: \"MMM d, y\",\n short: \"MM/dd/yyyy\",\n};\n\nconst 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};\n\nconst dateTimeFormats = {\n full: \"{{date}} 'at' {{time}}\",\n long: \"{{date}} 'at' {{time}}\",\n medium: \"{{date}}, {{time}}\",\n short: \"{{date}}, {{time}}\",\n};\n\nexport const formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: \"full\",\n }),\n\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: \"full\",\n }),\n\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: \"full\",\n }),\n};\n","const 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};\n\nexport const formatRelative = (token, _date, _baseDate, _options) =>\n formatRelativeLocale[token];\n","/* eslint-disable no-unused-vars */\n\n/**\n * The localize function argument callback which allows to convert raw value to\n * the actual type.\n *\n * @param value - The value to convert\n *\n * @returns The converted value\n */\n\n/**\n * The map of localized values for each width.\n */\n\n/**\n * The index type of the locale unit value. It types conversion of units of\n * values that don't start at 0 (i.e. quarters).\n */\n\n/**\n * Converts the unit value to the tuple of values.\n */\n\n/**\n * The tuple of localized era values. The first element represents BC,\n * the second element represents AD.\n */\n\n/**\n * The tuple of localized quarter values. The first element represents Q1.\n */\n\n/**\n * The tuple of localized day values. The first element represents Sunday.\n */\n\n/**\n * The tuple of localized month values. The first element represents January.\n */\n\nexport function buildLocalizeFn(args) {\n return (value, options) => {\n const context = options?.context ? String(options.context) : \"standalone\";\n\n let valuesArray;\n if (context === \"formatting\" && args.formattingValues) {\n const defaultWidth = args.defaultFormattingWidth || args.defaultWidth;\n const width = options?.width ? String(options.width) : defaultWidth;\n\n valuesArray =\n args.formattingValues[width] || args.formattingValues[defaultWidth];\n } else {\n const defaultWidth = args.defaultWidth;\n const width = options?.width ? String(options.width) : args.defaultWidth;\n\n valuesArray = args.values[width] || args.values[defaultWidth];\n }\n const index = args.argumentCallback ? args.argumentCallback(value) : value;\n\n // @ts-expect-error - For some reason TypeScript just don't want to match it, no matter how hard we try. I challenge you to try to remove it!\n return valuesArray[index];\n };\n}\n","import { buildLocalizeFn } from \"../../_lib/buildLocalizeFn.mjs\";\n\nconst eraValues = {\n narrow: [\"B\", \"A\"],\n abbreviated: [\"BC\", \"AD\"],\n wide: [\"Before Christ\", \"Anno Domini\"],\n};\n\nconst quarterValues = {\n narrow: [\"1\", \"2\", \"3\", \"4\"],\n abbreviated: [\"Q1\", \"Q2\", \"Q3\", \"Q4\"],\n wide: [\"1st quarter\", \"2nd quarter\", \"3rd quarter\", \"4th quarter\"],\n};\n\n// 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.\nconst monthValues = {\n narrow: [\"J\", \"F\", \"M\", \"A\", \"M\", \"J\", \"J\", \"A\", \"S\", \"O\", \"N\", \"D\"],\n abbreviated: [\n \"Jan\",\n \"Feb\",\n \"Mar\",\n \"Apr\",\n \"May\",\n \"Jun\",\n \"Jul\",\n \"Aug\",\n \"Sep\",\n \"Oct\",\n \"Nov\",\n \"Dec\",\n ],\n\n wide: [\n \"January\",\n \"February\",\n \"March\",\n \"April\",\n \"May\",\n \"June\",\n \"July\",\n \"August\",\n \"September\",\n \"October\",\n \"November\",\n \"December\",\n ],\n};\n\nconst 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: [\n \"Sunday\",\n \"Monday\",\n \"Tuesday\",\n \"Wednesday\",\n \"Thursday\",\n \"Friday\",\n \"Saturday\",\n ],\n};\n\nconst 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};\n\nconst 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};\n\nconst ordinalNumber = (dirtyNumber, _options) => {\n const number = Number(dirtyNumber);\n\n // If ordinal numbers depend on context, for example,\n // if they are different for different grammatical genders,\n // use `options.unit`.\n //\n // `unit` can be 'year', 'quarter', 'month', 'week', 'date', 'dayOfYear',\n // 'day', 'hour', 'minute', 'second'.\n\n const rem100 = number % 100;\n if (rem100 > 20 || rem100 < 10) {\n switch (rem100 % 10) {\n case 1:\n return number + \"st\";\n case 2:\n return number + \"nd\";\n case 3:\n return number + \"rd\";\n }\n }\n return number + \"th\";\n};\n\nexport const localize = {\n ordinalNumber,\n\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: \"wide\",\n }),\n\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: \"wide\",\n argumentCallback: (quarter) => quarter - 1,\n }),\n\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: \"wide\",\n }),\n\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: \"wide\",\n }),\n\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: \"wide\",\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: \"wide\",\n }),\n};\n","export function buildMatchFn(args) {\n return (string, options = {}) => {\n const width = options.width;\n\n const matchPattern =\n (width && args.matchPatterns[width]) ||\n args.matchPatterns[args.defaultMatchWidth];\n const matchResult = string.match(matchPattern);\n\n if (!matchResult) {\n return null;\n }\n const matchedString = matchResult[0];\n\n const parsePatterns =\n (width && args.parsePatterns[width]) ||\n args.parsePatterns[args.defaultParseWidth];\n\n const key = Array.isArray(parsePatterns)\n ? findIndex(parsePatterns, (pattern) => pattern.test(matchedString))\n : // eslint-disable-next-line @typescript-eslint/no-explicit-any -- I challange you to fix the type\n findKey(parsePatterns, (pattern) => pattern.test(matchedString));\n\n let value;\n\n value = args.valueCallback ? args.valueCallback(key) : key;\n value = options.valueCallback\n ? // eslint-disable-next-line @typescript-eslint/no-explicit-any -- I challange you to fix the type\n options.valueCallback(value)\n : value;\n\n const rest = string.slice(matchedString.length);\n\n return { value, rest };\n };\n}\n\nfunction findKey(object, predicate) {\n for (const key in object) {\n if (\n Object.prototype.hasOwnProperty.call(object, key) &&\n predicate(object[key])\n ) {\n return key;\n }\n }\n return undefined;\n}\n\nfunction findIndex(array, predicate) {\n for (let key = 0; key < array.length; key++) {\n if (predicate(array[key])) {\n return key;\n }\n }\n return undefined;\n}\n","export function buildMatchPatternFn(args) {\n return (string, options = {}) => {\n const matchResult = string.match(args.matchPattern);\n if (!matchResult) return null;\n const matchedString = matchResult[0];\n\n const parseResult = string.match(args.parsePattern);\n if (!parseResult) return null;\n let value = args.valueCallback\n ? args.valueCallback(parseResult[0])\n : parseResult[0];\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any -- I challange you to fix the type\n value = options.valueCallback ? options.valueCallback(value) : value;\n\n const rest = string.slice(matchedString.length);\n\n return { value, rest };\n };\n}\n","import { buildMatchFn } from \"../../_lib/buildMatchFn.mjs\";\nimport { buildMatchPatternFn } from \"../../_lib/buildMatchPatternFn.mjs\";\n\nconst matchOrdinalNumberPattern = /^(\\d+)(th|st|nd|rd)?/i;\nconst parseOrdinalNumberPattern = /\\d+/i;\n\nconst 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};\nconst parseEraPatterns = {\n any: [/^b/i, /^(a|c)/i],\n};\n\nconst matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^q[1234]/i,\n wide: /^[1234](th|st|nd|rd)? quarter/i,\n};\nconst parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i],\n};\n\nconst 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};\nconst parseMonthPatterns = {\n narrow: [\n /^j/i,\n /^f/i,\n /^m/i,\n /^a/i,\n /^m/i,\n /^j/i,\n /^j/i,\n /^a/i,\n /^s/i,\n /^o/i,\n /^n/i,\n /^d/i,\n ],\n\n any: [\n /^ja/i,\n /^f/i,\n /^mar/i,\n /^ap/i,\n /^may/i,\n /^jun/i,\n /^jul/i,\n /^au/i,\n /^s/i,\n /^o/i,\n /^n/i,\n /^d/i,\n ],\n};\n\nconst 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};\nconst 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};\n\nconst 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};\nconst 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};\n\nexport const match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: (value) => parseInt(value, 10),\n }),\n\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseEraPatterns,\n defaultParseWidth: \"any\",\n }),\n\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: \"any\",\n valueCallback: (index) => index + 1,\n }),\n\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: \"any\",\n }),\n\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseDayPatterns,\n defaultParseWidth: \"any\",\n }),\n\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: \"any\",\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: \"any\",\n }),\n};\n","import { formatDistance } from \"./en-US/_lib/formatDistance.mjs\";\nimport { formatLong } from \"./en-US/_lib/formatLong.mjs\";\nimport { formatRelative } from \"./en-US/_lib/formatRelative.mjs\";\nimport { localize } from \"./en-US/_lib/localize.mjs\";\nimport { match } from \"./en-US/_lib/match.mjs\";\n\n/**\n * @category Locales\n * @summary English locale (United States).\n * @language English\n * @iso-639-2 eng\n * @author Sasha Koss [@kossnocorp](https://github.com/kossnocorp)\n * @author Lesha Koss [@leshakoss](https://github.com/leshakoss)\n */\nexport const enUS = {\n code: \"en-US\",\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 0 /* Sunday */,\n firstWeekContainsDate: 1,\n },\n};\n\n// Fallback for modularized imports:\nexport default enUS;\n","import { differenceInCalendarDays } from \"./differenceInCalendarDays.mjs\";\nimport { startOfYear } from \"./startOfYear.mjs\";\nimport { toDate } from \"./toDate.mjs\";\n\n/**\n * @name getDayOfYear\n * @category Day Helpers\n * @summary Get the day of the year of the given date.\n *\n * @description\n * Get the day of the year of the given date.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The given date\n *\n * @returns The day of year\n *\n * @example\n * // Which day of the year is 2 July 2014?\n * const result = getDayOfYear(new Date(2014, 6, 2))\n * //=> 183\n */\nexport function getDayOfYear(date) {\n const _date = toDate(date);\n const diff = differenceInCalendarDays(_date, startOfYear(_date));\n const dayOfYear = diff + 1;\n return dayOfYear;\n}\n\n// Fallback for modularized imports:\nexport default getDayOfYear;\n","import { millisecondsInWeek } from \"./constants.mjs\";\nimport { startOfISOWeek } from \"./startOfISOWeek.mjs\";\nimport { startOfISOWeekYear } from \"./startOfISOWeekYear.mjs\";\nimport { toDate } from \"./toDate.mjs\";\n\n/**\n * @name getISOWeek\n * @category ISO Week Helpers\n * @summary Get the ISO week of the given date.\n *\n * @description\n * Get the ISO week of the given date.\n *\n * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The given date\n *\n * @returns The ISO week\n *\n * @example\n * // Which week of the ISO-week numbering year is 2 January 2005?\n * const result = getISOWeek(new Date(2005, 0, 2))\n * //=> 53\n */\nexport function getISOWeek(date) {\n const _date = toDate(date);\n const diff = +startOfISOWeek(_date) - +startOfISOWeekYear(_date);\n\n // Round the number of weeks to the nearest integer because the number of\n // milliseconds in a week is not constant (e.g. it's different in the week of\n // the daylight saving time clock shift).\n return Math.round(diff / millisecondsInWeek) + 1;\n}\n\n// Fallback for modularized imports:\nexport default getISOWeek;\n","import { constructFrom } from \"./constructFrom.mjs\";\nimport { startOfWeek } from \"./startOfWeek.mjs\";\nimport { toDate } from \"./toDate.mjs\";\nimport { getDefaultOptions } from \"./_lib/defaultOptions.mjs\";\n\n/**\n * The {@link getWeekYear} function options.\n */\n\n/**\n * @name getWeekYear\n * @category Week-Numbering Year Helpers\n * @summary Get the local week-numbering year of the given date.\n *\n * @description\n * Get the local week-numbering year of the given date.\n * The exact calculation depends on the values of\n * `options.weekStartsOn` (which is the index of the first day of the week)\n * and `options.firstWeekContainsDate` (which is the day of January, which is always in\n * the first week of the week-numbering year)\n *\n * Week numbering: https://en.wikipedia.org/wiki/Week#The_ISO_week_date_system\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The given date\n * @param options - An object with options.\n *\n * @returns The local week-numbering year\n *\n * @example\n * // Which week numbering year is 26 December 2004 with the default settings?\n * const result = getWeekYear(new Date(2004, 11, 26))\n * //=> 2005\n *\n * @example\n * // Which week numbering year is 26 December 2004 if week starts on Saturday?\n * const result = getWeekYear(new Date(2004, 11, 26), { weekStartsOn: 6 })\n * //=> 2004\n *\n * @example\n * // Which week numbering year is 26 December 2004 if the first week contains 4 January?\n * const result = getWeekYear(new Date(2004, 11, 26), { firstWeekContainsDate: 4 })\n * //=> 2004\n */\nexport function getWeekYear(date, options) {\n const _date = toDate(date);\n const year = _date.getFullYear();\n\n const defaultOptions = getDefaultOptions();\n const firstWeekContainsDate =\n options?.firstWeekContainsDate ??\n options?.locale?.options?.firstWeekContainsDate ??\n defaultOptions.firstWeekContainsDate ??\n defaultOptions.locale?.options?.firstWeekContainsDate ??\n 1;\n\n const firstWeekOfNextYear = constructFrom(date, 0);\n firstWeekOfNextYear.setFullYear(year + 1, 0, firstWeekContainsDate);\n firstWeekOfNextYear.setHours(0, 0, 0, 0);\n const startOfNextYear = startOfWeek(firstWeekOfNextYear, options);\n\n const firstWeekOfThisYear = constructFrom(date, 0);\n firstWeekOfThisYear.setFullYear(year, 0, firstWeekContainsDate);\n firstWeekOfThisYear.setHours(0, 0, 0, 0);\n const startOfThisYear = startOfWeek(firstWeekOfThisYear, options);\n\n if (_date.getTime() >= startOfNextYear.getTime()) {\n return year + 1;\n } else if (_date.getTime() >= startOfThisYear.getTime()) {\n return year;\n } else {\n return year - 1;\n }\n}\n\n// Fallback for modularized imports:\nexport default getWeekYear;\n","import { constructFrom } from \"./constructFrom.mjs\";\nimport { getWeekYear } from \"./getWeekYear.mjs\";\nimport { startOfWeek } from \"./startOfWeek.mjs\";\nimport { getDefaultOptions } from \"./_lib/defaultOptions.mjs\";\n\n/**\n * The {@link startOfWeekYear} function options.\n */\n\n/**\n * @name startOfWeekYear\n * @category Week-Numbering Year Helpers\n * @summary Return the start of a local week-numbering year for the given date.\n *\n * @description\n * Return the start of a local week-numbering year.\n * The exact calculation depends on the values of\n * `options.weekStartsOn` (which is the index of the first day of the week)\n * and `options.firstWeekContainsDate` (which is the day of January, which is always in\n * the first week of the week-numbering year)\n *\n * Week numbering: https://en.wikipedia.org/wiki/Week#The_ISO_week_date_system\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The original date\n * @param options - An object with options\n *\n * @returns The start of a week-numbering year\n *\n * @example\n * // The start of an a week-numbering year for 2 July 2005 with default settings:\n * const result = startOfWeekYear(new Date(2005, 6, 2))\n * //=> Sun Dec 26 2004 00:00:00\n *\n * @example\n * // The start of a week-numbering year for 2 July 2005\n * // if Monday is the first day of week\n * // and 4 January is always in the first week of the year:\n * const result = startOfWeekYear(new Date(2005, 6, 2), {\n * weekStartsOn: 1,\n * firstWeekContainsDate: 4\n * })\n * //=> Mon Jan 03 2005 00:00:00\n */\nexport function startOfWeekYear(date, options) {\n const defaultOptions = getDefaultOptions();\n const firstWeekContainsDate =\n options?.firstWeekContainsDate ??\n options?.locale?.options?.firstWeekContainsDate ??\n defaultOptions.firstWeekContainsDate ??\n defaultOptions.locale?.options?.firstWeekContainsDate ??\n 1;\n\n const year = getWeekYear(date, options);\n const firstWeek = constructFrom(date, 0);\n firstWeek.setFullYear(year, 0, firstWeekContainsDate);\n firstWeek.setHours(0, 0, 0, 0);\n const _date = startOfWeek(firstWeek, options);\n return _date;\n}\n\n// Fallback for modularized imports:\nexport default startOfWeekYear;\n","import { millisecondsInWeek } from \"./constants.mjs\";\nimport { startOfWeek } from \"./startOfWeek.mjs\";\nimport { startOfWeekYear } from \"./startOfWeekYear.mjs\";\nimport { toDate } from \"./toDate.mjs\";\n\n/**\n * The {@link getWeek} function options.\n */\n\n/**\n * @name getWeek\n * @category Week Helpers\n * @summary Get the local week index of the given date.\n *\n * @description\n * Get the local week index of the given date.\n * The exact calculation depends on the values of\n * `options.weekStartsOn` (which is the index of the first day of the week)\n * and `options.firstWeekContainsDate` (which is the day of January, which is always in\n * the first week of the week-numbering year)\n *\n * Week numbering: https://en.wikipedia.org/wiki/Week#The_ISO_week_date_system\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The given date\n * @param options - An object with options\n *\n * @returns The week\n *\n * @example\n * // Which week of the local week numbering year is 2 January 2005 with default options?\n * const result = getWeek(new Date(2005, 0, 2))\n * //=> 2\n *\n * @example\n * // Which week of the local week numbering year is 2 January 2005,\n * // if Monday is the first day of the week,\n * // and the first week of the year always contains 4 January?\n * const result = getWeek(new Date(2005, 0, 2), {\n * weekStartsOn: 1,\n * firstWeekContainsDate: 4\n * })\n * //=> 53\n */\n\nexport function getWeek(date, options) {\n const _date = toDate(date);\n const diff = +startOfWeek(_date, options) - +startOfWeekYear(_date, options);\n\n // Round the number of weeks to the nearest integer because the number of\n // milliseconds in a week is not constant (e.g. it's different in the week of\n // the daylight saving time clock shift).\n return Math.round(diff / millisecondsInWeek) + 1;\n}\n\n// Fallback for modularized imports:\nexport default getWeek;\n","export function addLeadingZeros(number, targetLength) {\n const sign = number < 0 ? \"-\" : \"\";\n const output = Math.abs(number).toString().padStart(targetLength, \"0\");\n return sign + output;\n}\n","import { addLeadingZeros } from \"../addLeadingZeros.mjs\";\n\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\nexport const lightFormatters = {\n // Year\n y(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\n const signedYear = date.getFullYear();\n // Returns 1 for 1 BC (which is year 0 in JavaScript)\n const year = signedYear > 0 ? signedYear : 1 - signedYear;\n return addLeadingZeros(token === \"yy\" ? year % 100 : year, token.length);\n },\n\n // Month\n M(date, token) {\n const month = date.getMonth();\n return token === \"M\" ? String(month + 1) : addLeadingZeros(month + 1, 2);\n },\n\n // Day of the month\n d(date, token) {\n return addLeadingZeros(date.getDate(), token.length);\n },\n\n // AM or PM\n a(date, token) {\n const dayPeriodEnumValue = date.getHours() / 12 >= 1 ? \"pm\" : \"am\";\n\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\n // Hour [1-12]\n h(date, token) {\n return addLeadingZeros(date.getHours() % 12 || 12, token.length);\n },\n\n // Hour [0-23]\n H(date, token) {\n return addLeadingZeros(date.getHours(), token.length);\n },\n\n // Minute\n m(date, token) {\n return addLeadingZeros(date.getMinutes(), token.length);\n },\n\n // Second\n s(date, token) {\n return addLeadingZeros(date.getSeconds(), token.length);\n },\n\n // Fraction of second\n S(date, token) {\n const numberOfDigits = token.length;\n const milliseconds = date.getMilliseconds();\n const fractionalSeconds = Math.trunc(\n milliseconds * Math.pow(10, numberOfDigits - 3),\n );\n return addLeadingZeros(fractionalSeconds, token.length);\n },\n};\n","import { getDayOfYear } from \"../../getDayOfYear.mjs\";\nimport { getISOWeek } from \"../../getISOWeek.mjs\";\nimport { getISOWeekYear } from \"../../getISOWeekYear.mjs\";\nimport { getWeek } from \"../../getWeek.mjs\";\nimport { getWeekYear } from \"../../getWeekYear.mjs\";\nimport { addLeadingZeros } from \"../addLeadingZeros.mjs\";\nimport { lightFormatters } from \"./lightFormatters.mjs\";\n\nconst 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\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\nexport const formatters = {\n // Era\n G: function (date, token, localize) {\n const era = date.getFullYear() > 0 ? 1 : 0;\n switch (token) {\n // AD, BC\n case \"G\":\n case \"GG\":\n case \"GGG\":\n return localize.era(era, { width: \"abbreviated\" });\n // A, B\n case \"GGGGG\":\n return localize.era(era, { width: \"narrow\" });\n // Anno Domini, Before Christ\n case \"GGGG\":\n default:\n return localize.era(era, { width: \"wide\" });\n }\n },\n\n // Year\n y: function (date, token, localize) {\n // Ordinal number\n if (token === \"yo\") {\n const signedYear = date.getFullYear();\n // Returns 1 for 1 BC (which is year 0 in JavaScript)\n const year = signedYear > 0 ? signedYear : 1 - signedYear;\n return localize.ordinalNumber(year, { unit: \"year\" });\n }\n\n return lightFormatters.y(date, token);\n },\n\n // Local week-numbering year\n Y: function (date, token, localize, options) {\n const signedWeekYear = getWeekYear(date, options);\n // Returns 1 for 1 BC (which is year 0 in JavaScript)\n const weekYear = signedWeekYear > 0 ? signedWeekYear : 1 - signedWeekYear;\n\n // Two digit year\n if (token === \"YY\") {\n const twoDigitYear = weekYear % 100;\n return addLeadingZeros(twoDigitYear, 2);\n }\n\n // Ordinal number\n if (token === \"Yo\") {\n return localize.ordinalNumber(weekYear, { unit: \"year\" });\n }\n\n // Padding\n return addLeadingZeros(weekYear, token.length);\n },\n\n // ISO week-numbering year\n R: function (date, token) {\n const isoWeekYear = getISOWeekYear(date);\n\n // Padding\n return addLeadingZeros(isoWeekYear, token.length);\n },\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 const year = date.getFullYear();\n return addLeadingZeros(year, token.length);\n },\n\n // Quarter\n Q: function (date, token, localize) {\n const quarter = Math.ceil((date.getMonth() + 1) / 3);\n switch (token) {\n // 1, 2, 3, 4\n case \"Q\":\n return String(quarter);\n // 01, 02, 03, 04\n case \"QQ\":\n return addLeadingZeros(quarter, 2);\n // 1st, 2nd, 3rd, 4th\n case \"Qo\":\n return localize.ordinalNumber(quarter, { unit: \"quarter\" });\n // Q1, Q2, Q3, Q4\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 case \"QQQQQ\":\n return localize.quarter(quarter, {\n width: \"narrow\",\n context: \"formatting\",\n });\n // 1st quarter, 2nd quarter, ...\n case \"QQQQ\":\n default:\n return localize.quarter(quarter, {\n width: \"wide\",\n context: \"formatting\",\n });\n }\n },\n\n // Stand-alone quarter\n q: function (date, token, localize) {\n const quarter = Math.ceil((date.getMonth() + 1) / 3);\n switch (token) {\n // 1, 2, 3, 4\n case \"q\":\n return String(quarter);\n // 01, 02, 03, 04\n case \"qq\":\n return addLeadingZeros(quarter, 2);\n // 1st, 2nd, 3rd, 4th\n case \"qo\":\n return localize.ordinalNumber(quarter, { unit: \"quarter\" });\n // Q1, Q2, Q3, Q4\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 case \"qqqqq\":\n return localize.quarter(quarter, {\n width: \"narrow\",\n context: \"standalone\",\n });\n // 1st quarter, 2nd quarter, ...\n case \"qqqq\":\n default:\n return localize.quarter(quarter, {\n width: \"wide\",\n context: \"standalone\",\n });\n }\n },\n\n // Month\n M: function (date, token, localize) {\n const month = date.getMonth();\n switch (token) {\n case \"M\":\n case \"MM\":\n return lightFormatters.M(date, token);\n // 1st, 2nd, ..., 12th\n case \"Mo\":\n return localize.ordinalNumber(month + 1, { unit: \"month\" });\n // Jan, Feb, ..., Dec\n case \"MMM\":\n return localize.month(month, {\n width: \"abbreviated\",\n context: \"formatting\",\n });\n // J, F, ..., D\n case \"MMMMM\":\n return localize.month(month, {\n width: \"narrow\",\n context: \"formatting\",\n });\n // January, February, ..., December\n case \"MMMM\":\n default:\n return localize.month(month, { width: \"wide\", context: \"formatting\" });\n }\n },\n\n // Stand-alone month\n L: function (date, token, localize) {\n const month = date.getMonth();\n switch (token) {\n // 1, 2, ..., 12\n case \"L\":\n return String(month + 1);\n // 01, 02, ..., 12\n case \"LL\":\n return addLeadingZeros(month + 1, 2);\n // 1st, 2nd, ..., 12th\n case \"Lo\":\n return localize.ordinalNumber(month + 1, { unit: \"month\" });\n // Jan, Feb, ..., Dec\n case \"LLL\":\n return localize.month(month, {\n width: \"abbreviated\",\n context: \"standalone\",\n });\n // J, F, ..., D\n case \"LLLLL\":\n return localize.month(month, {\n width: \"narrow\",\n context: \"standalone\",\n });\n // January, February, ..., December\n case \"LLLL\":\n default:\n return localize.month(month, { width: \"wide\", context: \"standalone\" });\n }\n },\n\n // Local week of year\n w: function (date, token, localize, options) {\n const week = getWeek(date, options);\n\n if (token === \"wo\") {\n return localize.ordinalNumber(week, { unit: \"week\" });\n }\n\n return addLeadingZeros(week, token.length);\n },\n\n // ISO week of year\n I: function (date, token, localize) {\n const isoWeek = getISOWeek(date);\n\n if (token === \"Io\") {\n return localize.ordinalNumber(isoWeek, { unit: \"week\" });\n }\n\n return addLeadingZeros(isoWeek, token.length);\n },\n\n // Day of the month\n d: function (date, token, localize) {\n if (token === \"do\") {\n return localize.ordinalNumber(date.getDate(), { unit: \"date\" });\n }\n\n return lightFormatters.d(date, token);\n },\n\n // Day of year\n D: function (date, token, localize) {\n const dayOfYear = getDayOfYear(date);\n\n if (token === \"Do\") {\n return localize.ordinalNumber(dayOfYear, { unit: \"dayOfYear\" });\n }\n\n return addLeadingZeros(dayOfYear, token.length);\n },\n\n // Day of week\n E: function (date, token, localize) {\n const dayOfWeek = date.getDay();\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 case \"EEEEE\":\n return localize.day(dayOfWeek, {\n width: \"narrow\",\n context: \"formatting\",\n });\n // Tu\n case \"EEEEEE\":\n return localize.day(dayOfWeek, {\n width: \"short\",\n context: \"formatting\",\n });\n // Tuesday\n case \"EEEE\":\n default:\n return localize.day(dayOfWeek, {\n width: \"wide\",\n context: \"formatting\",\n });\n }\n },\n\n // Local day of week\n e: function (date, token, localize, options) {\n const dayOfWeek = date.getDay();\n const 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 case \"ee\":\n return addLeadingZeros(localDayOfWeek, 2);\n // 1st, 2nd, ..., 7th\n case \"eo\":\n return localize.ordinalNumber(localDayOfWeek, { unit: \"day\" });\n case \"eee\":\n return localize.day(dayOfWeek, {\n width: \"abbreviated\",\n context: \"formatting\",\n });\n // T\n case \"eeeee\":\n return localize.day(dayOfWeek, {\n width: \"narrow\",\n context: \"formatting\",\n });\n // Tu\n case \"eeeeee\":\n return localize.day(dayOfWeek, {\n width: \"short\",\n context: \"formatting\",\n });\n // Tuesday\n case \"eeee\":\n default:\n return localize.day(dayOfWeek, {\n width: \"wide\",\n context: \"formatting\",\n });\n }\n },\n\n // Stand-alone local day of week\n c: function (date, token, localize, options) {\n const dayOfWeek = date.getDay();\n const 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 case \"cc\":\n return addLeadingZeros(localDayOfWeek, token.length);\n // 1st, 2nd, ..., 7th\n case \"co\":\n return localize.ordinalNumber(localDayOfWeek, { unit: \"day\" });\n case \"ccc\":\n return localize.day(dayOfWeek, {\n width: \"abbreviated\",\n context: \"standalone\",\n });\n // T\n case \"ccccc\":\n return localize.day(dayOfWeek, {\n width: \"narrow\",\n context: \"standalone\",\n });\n // Tu\n case \"cccccc\":\n return localize.day(dayOfWeek, {\n width: \"short\",\n context: \"standalone\",\n });\n // Tuesday\n case \"cccc\":\n default:\n return localize.day(dayOfWeek, {\n width: \"wide\",\n context: \"standalone\",\n });\n }\n },\n\n // ISO day of week\n i: function (date, token, localize) {\n const dayOfWeek = date.getDay();\n const isoDayOfWeek = dayOfWeek === 0 ? 7 : dayOfWeek;\n switch (token) {\n // 2\n case \"i\":\n return String(isoDayOfWeek);\n // 02\n case \"ii\":\n return addLeadingZeros(isoDayOfWeek, token.length);\n // 2nd\n case \"io\":\n return localize.ordinalNumber(isoDayOfWeek, { unit: \"day\" });\n // Tue\n case \"iii\":\n return localize.day(dayOfWeek, {\n width: \"abbreviated\",\n context: \"formatting\",\n });\n // T\n case \"iiiii\":\n return localize.day(dayOfWeek, {\n width: \"narrow\",\n context: \"formatting\",\n });\n // Tu\n case \"iiiiii\":\n return localize.day(dayOfWeek, {\n width: \"short\",\n context: \"formatting\",\n });\n // Tuesday\n case \"iiii\":\n default:\n return localize.day(dayOfWeek, {\n width: \"wide\",\n context: \"formatting\",\n });\n }\n },\n\n // AM or PM\n a: function (date, token, localize) {\n const hours = date.getHours();\n const dayPeriodEnumValue = hours / 12 >= 1 ? \"pm\" : \"am\";\n\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\n .dayPeriod(dayPeriodEnumValue, {\n width: \"abbreviated\",\n context: \"formatting\",\n })\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\n // AM, PM, midnight, noon\n b: function (date, token, localize) {\n const hours = date.getHours();\n let 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\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\n .dayPeriod(dayPeriodEnumValue, {\n width: \"abbreviated\",\n context: \"formatting\",\n })\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\n // in the morning, in the afternoon, in the evening, at night\n B: function (date, token, localize) {\n const hours = date.getHours();\n let 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\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\n // Hour [1-12]\n h: function (date, token, localize) {\n if (token === \"ho\") {\n let hours = date.getHours() % 12;\n if (hours === 0) hours = 12;\n return localize.ordinalNumber(hours, { unit: \"hour\" });\n }\n\n return lightFormatters.h(date, token);\n },\n\n // Hour [0-23]\n H: function (date, token, localize) {\n if (token === \"Ho\") {\n return localize.ordinalNumber(date.getHours(), { unit: \"hour\" });\n }\n\n return lightFormatters.H(date, token);\n },\n\n // Hour [0-11]\n K: function (date, token, localize) {\n const hours = date.getHours() % 12;\n\n if (token === \"Ko\") {\n return localize.ordinalNumber(hours, { unit: \"hour\" });\n }\n\n return addLeadingZeros(hours, token.length);\n },\n\n // Hour [1-24]\n k: function (date, token, localize) {\n let hours = date.getHours();\n if (hours === 0) hours = 24;\n\n if (token === \"ko\") {\n return localize.ordinalNumber(hours, { unit: \"hour\" });\n }\n\n return addLeadingZeros(hours, token.length);\n },\n\n // Minute\n m: function (date, token, localize) {\n if (token === \"mo\") {\n return localize.ordinalNumber(date.getMinutes(), { unit: \"minute\" });\n }\n\n return lightFormatters.m(date, token);\n },\n\n // Second\n s: function (date, token, localize) {\n if (token === \"so\") {\n return localize.ordinalNumber(date.getSeconds(), { unit: \"second\" });\n }\n\n return lightFormatters.s(date, token);\n },\n\n // Fraction of second\n S: function (date, token) {\n return lightFormatters.S(date, token);\n },\n\n // Timezone (ISO-8601. If offset is 0, output is always `'Z'`)\n X: function (date, token, _localize) {\n const timezoneOffset = date.getTimezoneOffset();\n\n if (timezoneOffset === 0) {\n return \"Z\";\n }\n\n switch (token) {\n // Hours and optional minutes\n case \"X\":\n return formatTimezoneWithOptionalMinutes(timezoneOffset);\n\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 case \"XXXX\":\n case \"XX\": // Hours and minutes without `:` delimiter\n return formatTimezone(timezoneOffset);\n\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 case \"XXXXX\":\n case \"XXX\": // Hours and minutes with `:` delimiter\n default:\n return formatTimezone(timezoneOffset, \":\");\n }\n },\n\n // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)\n x: function (date, token, _localize) {\n const timezoneOffset = date.getTimezoneOffset();\n\n switch (token) {\n // Hours and optional minutes\n case \"x\":\n return formatTimezoneWithOptionalMinutes(timezoneOffset);\n\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 case \"xxxx\":\n case \"xx\": // Hours and minutes without `:` delimiter\n return formatTimezone(timezoneOffset);\n\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 case \"xxxxx\":\n case \"xxx\": // Hours and minutes with `:` delimiter\n default:\n return formatTimezone(timezoneOffset, \":\");\n }\n },\n\n // Timezone (GMT)\n O: function (date, token, _localize) {\n const timezoneOffset = date.getTimezoneOffset();\n\n switch (token) {\n // Short\n case \"O\":\n case \"OO\":\n case \"OOO\":\n return \"GMT\" + formatTimezoneShort(timezoneOffset, \":\");\n // Long\n case \"OOOO\":\n default:\n return \"GMT\" + formatTimezone(timezoneOffset, \":\");\n }\n },\n\n // Timezone (specific non-location)\n z: function (date, token, _localize) {\n const timezoneOffset = date.getTimezoneOffset();\n\n switch (token) {\n // Short\n case \"z\":\n case \"zz\":\n case \"zzz\":\n return \"GMT\" + formatTimezoneShort(timezoneOffset, \":\");\n // Long\n case \"zzzz\":\n default:\n return \"GMT\" + formatTimezone(timezoneOffset, \":\");\n }\n },\n\n // Seconds timestamp\n t: function (date, token, _localize) {\n const timestamp = Math.trunc(date.getTime() / 1000);\n return addLeadingZeros(timestamp, token.length);\n },\n\n // Milliseconds timestamp\n T: function (date, token, _localize) {\n const timestamp = date.getTime();\n return addLeadingZeros(timestamp, token.length);\n },\n};\n\nfunction formatTimezoneShort(offset, delimiter = \"\") {\n const sign = offset > 0 ? \"-\" : \"+\";\n const absOffset = Math.abs(offset);\n const hours = Math.trunc(absOffset / 60);\n const minutes = absOffset % 60;\n if (minutes === 0) {\n return sign + String(hours);\n }\n return sign + String(hours) + delimiter + addLeadingZeros(minutes, 2);\n}\n\nfunction formatTimezoneWithOptionalMinutes(offset, delimiter) {\n if (offset % 60 === 0) {\n const sign = offset > 0 ? \"-\" : \"+\";\n return sign + addLeadingZeros(Math.abs(offset) / 60, 2);\n }\n return formatTimezone(offset, delimiter);\n}\n\nfunction formatTimezone(offset, delimiter = \"\") {\n const sign = offset > 0 ? \"-\" : \"+\";\n const absOffset = Math.abs(offset);\n const hours = addLeadingZeros(Math.trunc(absOffset / 60), 2);\n const minutes = addLeadingZeros(absOffset % 60, 2);\n return sign + hours + delimiter + minutes;\n}\n","const dateLongFormatter = (pattern, formatLong) => {\n switch (pattern) {\n case \"P\":\n return formatLong.date({ width: \"short\" });\n case \"PP\":\n return formatLong.date({ width: \"medium\" });\n case \"PPP\":\n return formatLong.date({ width: \"long\" });\n case \"PPPP\":\n default:\n return formatLong.date({ width: \"full\" });\n }\n};\n\nconst timeLongFormatter = (pattern, formatLong) => {\n switch (pattern) {\n case \"p\":\n return formatLong.time({ width: \"short\" });\n case \"pp\":\n return formatLong.time({ width: \"medium\" });\n case \"ppp\":\n return formatLong.time({ width: \"long\" });\n case \"pppp\":\n default:\n return formatLong.time({ width: \"full\" });\n }\n};\n\nconst dateTimeLongFormatter = (pattern, formatLong) => {\n const matchResult = pattern.match(/(P+)(p+)?/) || [];\n const datePattern = matchResult[1];\n const timePattern = matchResult[2];\n\n if (!timePattern) {\n return dateLongFormatter(pattern, formatLong);\n }\n\n let dateTimeFormat;\n\n switch (datePattern) {\n case \"P\":\n dateTimeFormat = formatLong.dateTime({ width: \"short\" });\n break;\n case \"PP\":\n dateTimeFormat = formatLong.dateTime({ width: \"medium\" });\n break;\n case \"PPP\":\n dateTimeFormat = formatLong.dateTime({ width: \"long\" });\n break;\n case \"PPPP\":\n default:\n dateTimeFormat = formatLong.dateTime({ width: \"full\" });\n break;\n }\n\n return dateTimeFormat\n .replace(\"{{date}}\", dateLongFormatter(datePattern, formatLong))\n .replace(\"{{time}}\", timeLongFormatter(timePattern, formatLong));\n};\n\nexport const longFormatters = {\n p: timeLongFormatter,\n P: dateTimeLongFormatter,\n};\n","const dayOfYearTokenRE = /^D+$/;\nconst weekYearTokenRE = /^Y+$/;\n\nconst throwTokens = [\"D\", \"DD\", \"YY\", \"YYYY\"];\n\nexport function isProtectedDayOfYearToken(token) {\n return dayOfYearTokenRE.test(token);\n}\n\nexport function isProtectedWeekYearToken(token) {\n return weekYearTokenRE.test(token);\n}\n\nexport function warnOrThrowProtectedError(token, format, input) {\n const _message = message(token, format, input);\n console.warn(_message);\n if (throwTokens.includes(token)) throw new RangeError(_message);\n}\n\nfunction message(token, format, input) {\n const subject = token[0] === \"Y\" ? \"years\" : \"days of the month\";\n return `Use \\`${token.toLowerCase()}\\` instead of \\`${token}\\` (in \\`${format}\\`) for formatting ${subject} to the input \\`${input}\\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;\n}\n","import { defaultLocale } from \"./_lib/defaultLocale.mjs\";\nimport { getDefaultOptions } from \"./_lib/defaultOptions.mjs\";\nimport { formatters } from \"./_lib/format/formatters.mjs\";\nimport { longFormatters } from \"./_lib/format/longFormatters.mjs\";\nimport {\n isProtectedDayOfYearToken,\n isProtectedWeekYearToken,\n warnOrThrowProtectedError,\n} from \"./_lib/protectedTokens.mjs\";\nimport { isValid } from \"./isValid.mjs\";\nimport { toDate } from \"./toDate.mjs\";\n\n// Rexports of internal for libraries to use.\n// See: https://github.com/date-fns/date-fns/issues/3638#issuecomment-1877082874\nexport { formatters, longFormatters };\n\n// 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\nconst formattingTokensRegExp =\n /[yYQqMLwIdDecihHKkms]o|(\\w)\\1*|''|'(''|[^'])+('|$)|./g;\n\n// This RegExp catches symbols escaped by quotes, and also\n// sequences of symbols P, p, and the combinations like `PPPPPPPppppp`\nconst longFormattingTokensRegExp = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;\n\nconst escapedStringRegExp = /^'([^]*?)'?$/;\nconst doubleQuoteRegExp = /''/g;\nconst unescapedLatinCharacterRegExp = /[a-zA-Z]/;\n\nexport { format as formatDate };\n\n/**\n * The {@link format} function options.\n */\n\n/**\n * @name format\n * @alias formatDate\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://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\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, Sa, Su | |\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, Sa, Su | 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, Sa, Su | |\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, Sa, Su | |\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](https://date-fns.org/docs/getISOWeekYear)\n * and [getWeekYear](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://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\n *\n * 9. `D` and `DD` tokens represent days of the year but they are often confused with days of the month.\n * You should enable `options.useAdditionalDayOfYearTokens` to use them. See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The original date\n * @param format - The string of tokens\n * @param options - An object with options\n *\n * @returns The formatted date string\n *\n * @throws `date` must not be Invalid Date\n * @throws `options.locale` must contain `localize` property\n * @throws `options.locale` must contain `formatLong` property\n * @throws use `yyyy` instead of `YYYY` for formatting years using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\n * @throws use `yy` instead of `YY` for formatting years using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\n * @throws use `d` instead of `D` for formatting days of the month using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\n * @throws use `dd` instead of `DD` for formatting days of the month using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\n * @throws format string contains an unescaped latin alphabet character\n *\n * @example\n * // Represent 11 February 2014 in middle-endian format:\n * const 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 * const 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 * const result = format(new Date(2014, 6, 2, 15), \"h 'o''clock'\")\n * //=> \"3 o'clock\"\n */\nexport function format(date, formatStr, options) {\n const defaultOptions = getDefaultOptions();\n const locale = options?.locale ?? defaultOptions.locale ?? defaultLocale;\n\n const firstWeekContainsDate =\n options?.firstWeekContainsDate ??\n options?.locale?.options?.firstWeekContainsDate ??\n defaultOptions.firstWeekContainsDate ??\n defaultOptions.locale?.options?.firstWeekContainsDate ??\n 1;\n\n const weekStartsOn =\n options?.weekStartsOn ??\n options?.locale?.options?.weekStartsOn ??\n defaultOptions.weekStartsOn ??\n defaultOptions.locale?.options?.weekStartsOn ??\n 0;\n\n const originalDate = toDate(date);\n\n if (!isValid(originalDate)) {\n throw new RangeError(\"Invalid time value\");\n }\n\n let parts = formatStr\n .match(longFormattingTokensRegExp)\n .map((substring) => {\n const firstCharacter = substring[0];\n if (firstCharacter === \"p\" || firstCharacter === \"P\") {\n const longFormatter = longFormatters[firstCharacter];\n return longFormatter(substring, locale.formatLong);\n }\n return substring;\n })\n .join(\"\")\n .match(formattingTokensRegExp)\n .map((substring) => {\n // Replace two single quote characters with one single quote character\n if (substring === \"''\") {\n return { isToken: false, value: \"'\" };\n }\n\n const firstCharacter = substring[0];\n if (firstCharacter === \"'\") {\n return { isToken: false, value: cleanEscapedString(substring) };\n }\n\n if (formatters[firstCharacter]) {\n return { isToken: true, value: substring };\n }\n\n if (firstCharacter.match(unescapedLatinCharacterRegExp)) {\n throw new RangeError(\n \"Format string contains an unescaped latin alphabet character `\" +\n firstCharacter +\n \"`\",\n );\n }\n\n return { isToken: false, value: substring };\n });\n\n // invoke localize preprocessor (only for french locales at the moment)\n if (locale.localize.preprocessor) {\n parts = locale.localize.preprocessor(originalDate, parts);\n }\n\n const formatterOptions = {\n firstWeekContainsDate,\n weekStartsOn,\n locale,\n };\n\n return parts\n .map((part) => {\n if (!part.isToken) return part.value;\n\n const token = part.value;\n\n if (\n (!options?.useAdditionalWeekYearTokens &&\n isProtectedWeekYearToken(token)) ||\n (!options?.useAdditionalDayOfYearTokens &&\n isProtectedDayOfYearToken(token))\n ) {\n warnOrThrowProtectedError(token, formatStr, String(date));\n }\n\n const formatter = formatters[token[0]];\n return formatter(originalDate, token, locale.localize, formatterOptions);\n })\n .join(\"\");\n}\n\nfunction cleanEscapedString(input) {\n const matched = input.match(escapedStringRegExp);\n\n if (!matched) {\n return input;\n }\n\n return matched[1].replace(doubleQuoteRegExp, \"'\");\n}\n\n// Fallback for modularized imports:\nexport default format;\n","import { isValid } from \"./isValid.mjs\";\nimport { toDate } from \"./toDate.mjs\";\nimport { lightFormatters } from \"./_lib/format/lightFormatters.mjs\";\n\n// Rexports of internal for libraries to use.\n// See: https://github.com/date-fns/date-fns/issues/3638#issuecomment-1877082874\nexport { lightFormatters };\n\n// This RegExp consists of three parts separated by `|`:\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\nconst formattingTokensRegExp = /(\\w)\\1*|''|'(''|[^'])+('|$)|./g;\n\nconst escapedStringRegExp = /^'([^]*?)'?$/;\nconst doubleQuoteRegExp = /''/g;\nconst unescapedLatinCharacterRegExp = /[a-zA-Z]/;\n\n/**\n * @private\n */\n\n/**\n * @name lightFormat\n * @category Common Helpers\n * @summary Format the date.\n *\n * @description\n * Return the formatted date string in the given format. Unlike `format`,\n * `lightFormat` doesn't use locales and outputs date using the most popular tokens.\n *\n * > ⚠️ Please note that the `lightFormat` tokens differ from Moment.js and other libraries.\n * > See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\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 *\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 *\n * Accepted patterns:\n * | Unit | Pattern | Result examples |\n * |---------------------------------|---------|-----------------------------------|\n * | AM, PM | a..aaa | AM, PM |\n * | | aaaa | a.m., p.m. |\n * | | aaaaa | a, p |\n * | Calendar year | y | 44, 1, 1900, 2017 |\n * | | yy | 44, 01, 00, 17 |\n * | | yyy | 044, 001, 000, 017 |\n * | | yyyy | 0044, 0001, 1900, 2017 |\n * | Month (formatting) | M | 1, 2, ..., 12 |\n * | | MM | 01, 02, ..., 12 |\n * | Day of month | d | 1, 2, ..., 31 |\n * | | dd | 01, 02, ..., 31 |\n * | Hour [1-12] | h | 1, 2, ..., 11, 12 |\n * | | hh | 01, 02, ..., 11, 12 |\n * | Hour [0-23] | H | 0, 1, 2, ..., 23 |\n * | | HH | 00, 01, 02, ..., 23 |\n * | Minute | m | 0, 1, ..., 59 |\n * | | mm | 00, 01, ..., 59 |\n * | Second | s | 0, 1, ..., 59 |\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 | ... |\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The original date\n * @param format - The string of tokens\n *\n * @returns The formatted date string\n *\n * @throws `Invalid time value` if the date is invalid\n * @throws format string contains an unescaped latin alphabet character\n *\n * @example\n * const result = lightFormat(new Date(2014, 1, 11), 'yyyy-MM-dd')\n * //=> '2014-02-11'\n */\nexport function lightFormat(date, formatStr) {\n const _date = toDate(date);\n\n if (!isValid(_date)) {\n throw new RangeError(\"Invalid time value\");\n }\n\n const tokens = formatStr.match(formattingTokensRegExp);\n\n // The only case when formattingTokensRegExp doesn't match the string is when it's empty\n if (!tokens) return \"\";\n\n const result = tokens\n .map((substring) => {\n // Replace two single quote characters with one single quote character\n if (substring === \"''\") {\n return \"'\";\n }\n\n const firstCharacter = substring[0];\n if (firstCharacter === \"'\") {\n return cleanEscapedString(substring);\n }\n\n const formatter = lightFormatters[firstCharacter];\n if (formatter) {\n return formatter(_date, substring);\n }\n\n if (firstCharacter.match(unescapedLatinCharacterRegExp)) {\n throw new RangeError(\n \"Format string contains an unescaped latin alphabet character `\" +\n firstCharacter +\n \"`\",\n );\n }\n\n return substring;\n })\n .join(\"\");\n\n return result;\n}\n\nfunction cleanEscapedString(input) {\n const matches = input.match(escapedStringRegExp);\n\n if (!matches) {\n return input;\n }\n\n return matches[1].replace(doubleQuoteRegExp, \"'\");\n}\n\n// Fallback for modularized imports:\nexport default lightFormat;\n","import { millisecondsInHour, millisecondsInMinute } from \"./constants.mjs\";\n\n/**\n * The {@link parseISO} function options.\n */\n\n/**\n * @name parseISO\n * @category Common Helpers\n * @summary Parse ISO string\n *\n * @description\n * Parse the given string in ISO 8601 format and return an instance of Date.\n *\n * Function accepts complete ISO 8601 formats as well as partial implementations.\n * ISO 8601: http://en.wikipedia.org/wiki/ISO_8601\n *\n * If the argument isn't a string, the function cannot parse the string or\n * the values are invalid, it returns Invalid Date.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param argument - The value to convert\n * @param options - An object with options\n *\n * @returns The parsed date in the local time zone\n *\n * @example\n * // Convert string '2014-02-11T11:30:30' to date:\n * const result = parseISO('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 * const result = parseISO('+02014101', { additionalDigits: 1 })\n * //=> Fri Apr 11 2014 00:00:00\n */\nexport function parseISO(argument, options) {\n const additionalDigits = options?.additionalDigits ?? 2;\n const dateStrings = splitDateString(argument);\n\n let date;\n if (dateStrings.date) {\n const parseYearResult = parseYear(dateStrings.date, additionalDigits);\n date = parseDate(parseYearResult.restDateString, parseYearResult.year);\n }\n\n if (!date || isNaN(date.getTime())) {\n return new Date(NaN);\n }\n\n const timestamp = date.getTime();\n let time = 0;\n let offset;\n\n if (dateStrings.time) {\n time = parseTime(dateStrings.time);\n if (isNaN(time)) {\n return new Date(NaN);\n }\n }\n\n if (dateStrings.timezone) {\n offset = parseTimezone(dateStrings.timezone);\n if (isNaN(offset)) {\n return new Date(NaN);\n }\n } else {\n const dirtyDate = new Date(timestamp + time);\n // JS parsed string assuming it's in UTC timezone\n // but we need it to be parsed in our timezone\n // so we use utc values to build date in our timezone.\n // Year values from 0 to 99 map to the years 1900 to 1999\n // so set year explicitly with setFullYear.\n const result = new Date(0);\n result.setFullYear(\n dirtyDate.getUTCFullYear(),\n dirtyDate.getUTCMonth(),\n dirtyDate.getUTCDate(),\n );\n result.setHours(\n dirtyDate.getUTCHours(),\n dirtyDate.getUTCMinutes(),\n dirtyDate.getUTCSeconds(),\n dirtyDate.getUTCMilliseconds(),\n );\n return result;\n }\n\n return new Date(timestamp + time + offset);\n}\n\nconst patterns = {\n dateTimeDelimiter: /[T ]/,\n timeZoneDelimiter: /[Z ]/i,\n timezone: /([Z+-].*)$/,\n};\n\nconst dateRegex =\n /^-?(?:(\\d{3})|(\\d{2})(?:-?(\\d{2}))?|W(\\d{2})(?:-?(\\d{1}))?|)$/;\nconst timeRegex =\n /^(\\d{2}(?:[.,]\\d*)?)(?::?(\\d{2}(?:[.,]\\d*)?))?(?::?(\\d{2}(?:[.,]\\d*)?))?$/;\nconst timezoneRegex = /^([+-])(\\d{2})(?::?(\\d{2}))?$/;\n\nfunction splitDateString(dateString) {\n const dateStrings = {};\n const array = dateString.split(patterns.dateTimeDelimiter);\n let timeString;\n\n // The regex match should only return at maximum two array elements.\n // [date], [time], or [date, time].\n if (array.length > 2) {\n return dateStrings;\n }\n\n if (/:/.test(array[0])) {\n timeString = array[0];\n } else {\n dateStrings.date = array[0];\n timeString = array[1];\n if (patterns.timeZoneDelimiter.test(dateStrings.date)) {\n dateStrings.date = dateString.split(patterns.timeZoneDelimiter)[0];\n timeString = dateString.substr(\n dateStrings.date.length,\n dateString.length,\n );\n }\n }\n\n if (timeString) {\n const token = patterns.timezone.exec(timeString);\n if (token) {\n dateStrings.time = timeString.replace(token[1], \"\");\n dateStrings.timezone = token[1];\n } else {\n dateStrings.time = timeString;\n }\n }\n\n return dateStrings;\n}\n\nfunction parseYear(dateString, additionalDigits) {\n const regex = new RegExp(\n \"^(?:(\\\\d{4}|[+-]\\\\d{\" +\n (4 + additionalDigits) +\n \"})|(\\\\d{2}|[+-]\\\\d{\" +\n (2 + additionalDigits) +\n \"})$)\",\n );\n\n const captures = dateString.match(regex);\n // Invalid ISO-formatted year\n if (!captures) return { year: NaN, restDateString: \"\" };\n\n const year = captures[1] ? parseInt(captures[1]) : null;\n const century = captures[2] ? parseInt(captures[2]) : null;\n\n // either year or century is null, not both\n return {\n year: century === null ? year : century * 100,\n restDateString: dateString.slice((captures[1] || captures[2]).length),\n };\n}\n\nfunction parseDate(dateString, year) {\n // Invalid ISO-formatted year\n if (year === null) return new Date(NaN);\n\n const captures = dateString.match(dateRegex);\n // Invalid ISO-formatted string\n if (!captures) return new Date(NaN);\n\n const isWeekDate = !!captures[4];\n const dayOfYear = parseDateUnit(captures[1]);\n const month = parseDateUnit(captures[2]) - 1;\n const day = parseDateUnit(captures[3]);\n const week = parseDateUnit(captures[4]);\n const dayOfWeek = parseDateUnit(captures[5]) - 1;\n\n if (isWeekDate) {\n if (!validateWeekDate(year, week, dayOfWeek)) {\n return new Date(NaN);\n }\n return dayOfISOWeekYear(year, week, dayOfWeek);\n } else {\n const date = new Date(0);\n if (\n !validateDate(year, month, day) ||\n !validateDayOfYearDate(year, dayOfYear)\n ) {\n return new Date(NaN);\n }\n date.setUTCFullYear(year, month, Math.max(dayOfYear, day));\n return date;\n }\n}\n\nfunction parseDateUnit(value) {\n return value ? parseInt(value) : 1;\n}\n\nfunction parseTime(timeString) {\n const captures = timeString.match(timeRegex);\n if (!captures) return NaN; // Invalid ISO-formatted time\n\n const hours = parseTimeUnit(captures[1]);\n const minutes = parseTimeUnit(captures[2]);\n const seconds = parseTimeUnit(captures[3]);\n\n if (!validateTime(hours, minutes, seconds)) {\n return NaN;\n }\n\n return (\n hours * millisecondsInHour + minutes * millisecondsInMinute + seconds * 1000\n );\n}\n\nfunction parseTimeUnit(value) {\n return (value && parseFloat(value.replace(\",\", \".\"))) || 0;\n}\n\nfunction parseTimezone(timezoneString) {\n if (timezoneString === \"Z\") return 0;\n\n const captures = timezoneString.match(timezoneRegex);\n if (!captures) return 0;\n\n const sign = captures[1] === \"+\" ? -1 : 1;\n const hours = parseInt(captures[2]);\n const minutes = (captures[3] && parseInt(captures[3])) || 0;\n\n if (!validateTimezone(hours, minutes)) {\n return NaN;\n }\n\n return sign * (hours * millisecondsInHour + minutes * millisecondsInMinute);\n}\n\nfunction dayOfISOWeekYear(isoWeekYear, week, day) {\n const date = new Date(0);\n date.setUTCFullYear(isoWeekYear, 0, 4);\n const fourthOfJanuaryDay = date.getUTCDay() || 7;\n const diff = (week - 1) * 7 + day + 1 - fourthOfJanuaryDay;\n date.setUTCDate(date.getUTCDate() + diff);\n return date;\n}\n\n// Validation functions\n\n// February is null to handle the leap year (using ||)\nconst daysInMonths = [31, null, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];\n\nfunction isLeapYearIndex(year) {\n return year % 400 === 0 || (year % 4 === 0 && year % 100 !== 0);\n}\n\nfunction validateDate(year, month, date) {\n return (\n month >= 0 &&\n month <= 11 &&\n date >= 1 &&\n date <= (daysInMonths[month] || (isLeapYearIndex(year) ? 29 : 28))\n );\n}\n\nfunction validateDayOfYearDate(year, dayOfYear) {\n return dayOfYear >= 1 && dayOfYear <= (isLeapYearIndex(year) ? 366 : 365);\n}\n\nfunction validateWeekDate(_year, week, day) {\n return week >= 1 && week <= 53 && day >= 0 && day <= 6;\n}\n\nfunction validateTime(hours, minutes, seconds) {\n if (hours === 24) {\n return minutes === 0 && seconds === 0;\n }\n\n return (\n seconds >= 0 &&\n seconds < 60 &&\n minutes >= 0 &&\n minutes < 60 &&\n hours >= 0 &&\n hours < 25\n );\n}\n\nfunction validateTimezone(_hours, minutes) {\n return minutes >= 0 && minutes <= 59;\n}\n\n// Fallback for modularized imports:\nexport default parseISO;\n","/*!\n * shared v9.14.2\n * (c) 2024 kazuya kawaguchi\n * Released under the MIT License.\n */\n/**\n * Original Utilities\n * written by kazuya kawaguchi\n */\nconst inBrowser = typeof window !== 'undefined';\nlet mark;\nlet measure;\nif ((process.env.NODE_ENV !== 'production')) {\n const perf = inBrowser && window.performance;\n if (perf &&\n perf.mark &&\n perf.measure &&\n perf.clearMarks &&\n // @ts-ignore browser compat\n perf.clearMeasures) {\n mark = (tag) => {\n perf.mark(tag);\n };\n measure = (name, startTag, endTag) => {\n perf.measure(name, startTag, endTag);\n perf.clearMarks(startTag);\n perf.clearMarks(endTag);\n };\n }\n}\nconst RE_ARGS = /\\{([0-9a-zA-Z]+)\\}/g;\n/* eslint-disable */\nfunction format(message, ...args) {\n if (args.length === 1 && isObject(args[0])) {\n args = args[0];\n }\n if (!args || !args.hasOwnProperty) {\n args = {};\n }\n return message.replace(RE_ARGS, (match, identifier) => {\n return args.hasOwnProperty(identifier) ? args[identifier] : '';\n });\n}\nconst makeSymbol = (name, shareable = false) => !shareable ? Symbol(name) : Symbol.for(name);\nconst generateFormatCacheKey = (locale, key, source) => friendlyJSONstringify({ l: locale, k: key, s: source });\nconst friendlyJSONstringify = (json) => JSON.stringify(json)\n .replace(/\\u2028/g, '\\\\u2028')\n .replace(/\\u2029/g, '\\\\u2029')\n .replace(/\\u0027/g, '\\\\u0027');\nconst isNumber = (val) => typeof val === 'number' && isFinite(val);\nconst isDate = (val) => toTypeString(val) === '[object Date]';\nconst isRegExp = (val) => toTypeString(val) === '[object RegExp]';\nconst isEmptyObject = (val) => isPlainObject(val) && Object.keys(val).length === 0;\nconst assign = Object.assign;\nconst _create = Object.create;\nconst create = (obj = null) => _create(obj);\nlet _globalThis;\nconst getGlobalThis = () => {\n // prettier-ignore\n return (_globalThis ||\n (_globalThis =\n typeof globalThis !== 'undefined'\n ? globalThis\n : typeof self !== 'undefined'\n ? self\n : typeof window !== 'undefined'\n ? window\n : typeof global !== 'undefined'\n ? global\n : create()));\n};\nfunction escapeHtml(rawText) {\n return rawText\n .replace(//g, '>')\n .replace(/\"/g, '"')\n .replace(/'/g, ''');\n}\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction hasOwn(obj, key) {\n return hasOwnProperty.call(obj, key);\n}\n/* eslint-enable */\n/**\n * Useful Utilities By Evan you\n * Modified by kazuya kawaguchi\n * MIT License\n * https://github.com/vuejs/vue-next/blob/master/packages/shared/src/index.ts\n * https://github.com/vuejs/vue-next/blob/master/packages/shared/src/codeframe.ts\n */\nconst isArray = Array.isArray;\nconst isFunction = (val) => typeof val === 'function';\nconst isString = (val) => typeof val === 'string';\nconst isBoolean = (val) => typeof val === 'boolean';\nconst isSymbol = (val) => typeof val === 'symbol';\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst isObject = (val) => val !== null && typeof val === 'object';\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst isPromise = (val) => {\n return isObject(val) && isFunction(val.then) && isFunction(val.catch);\n};\nconst objectToString = Object.prototype.toString;\nconst toTypeString = (value) => objectToString.call(value);\nconst isPlainObject = (val) => {\n if (!isObject(val))\n return false;\n const proto = Object.getPrototypeOf(val);\n return proto === null || proto.constructor === Object;\n};\n// for converting list and named values to displayed strings.\nconst toDisplayString = (val) => {\n return val == null\n ? ''\n : isArray(val) || (isPlainObject(val) && val.toString === objectToString)\n ? JSON.stringify(val, null, 2)\n : String(val);\n};\nfunction join(items, separator = '') {\n return items.reduce((str, item, index) => (index === 0 ? str + item : str + separator + item), '');\n}\nconst RANGE = 2;\nfunction generateCodeFrame(source, start = 0, end = source.length) {\n const lines = source.split(/\\r?\\n/);\n let count = 0;\n const res = [];\n for (let i = 0; i < lines.length; i++) {\n count += lines[i].length + 1;\n if (count >= start) {\n for (let j = i - RANGE; j <= i + RANGE || end > count; j++) {\n if (j < 0 || j >= lines.length)\n continue;\n const line = j + 1;\n res.push(`${line}${' '.repeat(3 - String(line).length)}| ${lines[j]}`);\n const lineLength = lines[j].length;\n if (j === i) {\n // push underline\n const pad = start - (count - lineLength) + 1;\n const length = Math.max(1, end > count ? lineLength - pad : end - start);\n res.push(` | ` + ' '.repeat(pad) + '^'.repeat(length));\n }\n else if (j > i) {\n if (end > count) {\n const length = Math.max(Math.min(end - count, lineLength), 1);\n res.push(` | ` + '^'.repeat(length));\n }\n count += lineLength + 1;\n }\n }\n break;\n }\n }\n return res.join('\\n');\n}\nfunction incrementer(code) {\n let current = code;\n return () => ++current;\n}\n\nfunction warn(msg, err) {\n if (typeof console !== 'undefined') {\n console.warn(`[intlify] ` + msg);\n /* istanbul ignore if */\n if (err) {\n console.warn(err.stack);\n }\n }\n}\nconst hasWarned = {};\nfunction warnOnce(msg) {\n if (!hasWarned[msg]) {\n hasWarned[msg] = true;\n warn(msg);\n }\n}\n\n/**\n * Event emitter, forked from the below:\n * - original repository url: https://github.com/developit/mitt\n * - code url: https://github.com/developit/mitt/blob/master/src/index.ts\n * - author: Jason Miller (https://github.com/developit)\n * - license: MIT\n */\n/**\n * Create a event emitter\n *\n * @returns An event emitter\n */\nfunction createEmitter() {\n const events = new Map();\n const emitter = {\n events,\n on(event, handler) {\n const handlers = events.get(event);\n const added = handlers && handlers.push(handler);\n if (!added) {\n events.set(event, [handler]);\n }\n },\n off(event, handler) {\n const handlers = events.get(event);\n if (handlers) {\n handlers.splice(handlers.indexOf(handler) >>> 0, 1);\n }\n },\n emit(event, payload) {\n (events.get(event) || [])\n .slice()\n .map(handler => handler(payload));\n (events.get('*') || [])\n .slice()\n .map(handler => handler(event, payload));\n }\n };\n return emitter;\n}\n\nconst isNotObjectOrIsArray = (val) => !isObject(val) || isArray(val);\n// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\nfunction deepCopy(src, des) {\n // src and des should both be objects, and none of them can be a array\n if (isNotObjectOrIsArray(src) || isNotObjectOrIsArray(des)) {\n throw new Error('Invalid value');\n }\n const stack = [{ src, des }];\n while (stack.length) {\n const { src, des } = stack.pop();\n // using `Object.keys` which skips prototype properties\n Object.keys(src).forEach(key => {\n if (key === '__proto__') {\n return;\n }\n // if src[key] is an object/array, set des[key]\n // to empty object/array to prevent setting by reference\n if (isObject(src[key]) && !isObject(des[key])) {\n des[key] = Array.isArray(src[key]) ? [] : create();\n }\n if (isNotObjectOrIsArray(des[key]) || isNotObjectOrIsArray(src[key])) {\n // replace with src[key] when:\n // src[key] or des[key] is not an object, or\n // src[key] or des[key] is an array\n des[key] = src[key];\n }\n else {\n // src[key] and des[key] are both objects, merge them\n stack.push({ src: src[key], des: des[key] });\n }\n });\n }\n}\n\nexport { assign, create, createEmitter, deepCopy, escapeHtml, format, friendlyJSONstringify, generateCodeFrame, generateFormatCacheKey, getGlobalThis, hasOwn, inBrowser, incrementer, isArray, isBoolean, isDate, isEmptyObject, isFunction, isNumber, isObject, isPlainObject, isPromise, isRegExp, isString, isSymbol, join, makeSymbol, mark, measure, objectToString, toDisplayString, toTypeString, warn, warnOnce };\n","/*!\n * message-compiler v9.14.2\n * (c) 2024 kazuya kawaguchi\n * Released under the MIT License.\n */\nconst LOCATION_STUB = {\n start: { line: 1, column: 1, offset: 0 },\n end: { line: 1, column: 1, offset: 0 }\n};\nfunction createPosition(line, column, offset) {\n return { line, column, offset };\n}\nfunction createLocation(start, end, source) {\n const loc = { start, end };\n if (source != null) {\n loc.source = source;\n }\n return loc;\n}\n\n/**\n * Original Utilities\n * written by kazuya kawaguchi\n */\nconst RE_ARGS = /\\{([0-9a-zA-Z]+)\\}/g;\n/* eslint-disable */\nfunction format(message, ...args) {\n if (args.length === 1 && isObject(args[0])) {\n args = args[0];\n }\n if (!args || !args.hasOwnProperty) {\n args = {};\n }\n return message.replace(RE_ARGS, (match, identifier) => {\n return args.hasOwnProperty(identifier) ? args[identifier] : '';\n });\n}\nconst assign = Object.assign;\nconst isString = (val) => typeof val === 'string';\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst isObject = (val) => val !== null && typeof val === 'object';\nfunction join(items, separator = '') {\n return items.reduce((str, item, index) => (index === 0 ? str + item : str + separator + item), '');\n}\n\nconst CompileWarnCodes = {\n USE_MODULO_SYNTAX: 1,\n __EXTEND_POINT__: 2\n};\n/** @internal */\nconst warnMessages = {\n [CompileWarnCodes.USE_MODULO_SYNTAX]: `Use modulo before '{{0}}'.`\n};\nfunction createCompileWarn(code, loc, ...args) {\n const msg = format(warnMessages[code] || '', ...(args || [])) ;\n const message = { message: String(msg), code };\n if (loc) {\n message.location = loc;\n }\n return message;\n}\n\nconst CompileErrorCodes = {\n // tokenizer error codes\n EXPECTED_TOKEN: 1,\n INVALID_TOKEN_IN_PLACEHOLDER: 2,\n UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER: 3,\n UNKNOWN_ESCAPE_SEQUENCE: 4,\n INVALID_UNICODE_ESCAPE_SEQUENCE: 5,\n UNBALANCED_CLOSING_BRACE: 6,\n UNTERMINATED_CLOSING_BRACE: 7,\n EMPTY_PLACEHOLDER: 8,\n NOT_ALLOW_NEST_PLACEHOLDER: 9,\n INVALID_LINKED_FORMAT: 10,\n // parser error codes\n MUST_HAVE_MESSAGES_IN_PLURAL: 11,\n UNEXPECTED_EMPTY_LINKED_MODIFIER: 12,\n UNEXPECTED_EMPTY_LINKED_KEY: 13,\n UNEXPECTED_LEXICAL_ANALYSIS: 14,\n // generator error codes\n UNHANDLED_CODEGEN_NODE_TYPE: 15,\n // minifier error codes\n UNHANDLED_MINIFIER_NODE_TYPE: 16,\n // Special value for higher-order compilers to pick up the last code\n // to avoid collision of error codes. This should always be kept as the last\n // item.\n __EXTEND_POINT__: 17\n};\n/** @internal */\nconst errorMessages = {\n // tokenizer error messages\n [CompileErrorCodes.EXPECTED_TOKEN]: `Expected token: '{0}'`,\n [CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER]: `Invalid token in placeholder: '{0}'`,\n [CompileErrorCodes.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]: `Unterminated single quote in placeholder`,\n [CompileErrorCodes.UNKNOWN_ESCAPE_SEQUENCE]: `Unknown escape sequence: \\\\{0}`,\n [CompileErrorCodes.INVALID_UNICODE_ESCAPE_SEQUENCE]: `Invalid unicode escape sequence: {0}`,\n [CompileErrorCodes.UNBALANCED_CLOSING_BRACE]: `Unbalanced closing brace`,\n [CompileErrorCodes.UNTERMINATED_CLOSING_BRACE]: `Unterminated closing brace`,\n [CompileErrorCodes.EMPTY_PLACEHOLDER]: `Empty placeholder`,\n [CompileErrorCodes.NOT_ALLOW_NEST_PLACEHOLDER]: `Not allowed nest placeholder`,\n [CompileErrorCodes.INVALID_LINKED_FORMAT]: `Invalid linked format`,\n // parser error messages\n [CompileErrorCodes.MUST_HAVE_MESSAGES_IN_PLURAL]: `Plural must have messages`,\n [CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_MODIFIER]: `Unexpected empty linked modifier`,\n [CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_KEY]: `Unexpected empty linked key`,\n [CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS]: `Unexpected lexical analysis in token: '{0}'`,\n // generator error messages\n [CompileErrorCodes.UNHANDLED_CODEGEN_NODE_TYPE]: `unhandled codegen node type: '{0}'`,\n // minimizer error messages\n [CompileErrorCodes.UNHANDLED_MINIFIER_NODE_TYPE]: `unhandled mimifier node type: '{0}'`\n};\nfunction createCompileError(code, loc, options = {}) {\n const { domain, messages, args } = options;\n const msg = format((messages || errorMessages)[code] || '', ...(args || []))\n ;\n const error = new SyntaxError(String(msg));\n error.code = code;\n if (loc) {\n error.location = loc;\n }\n error.domain = domain;\n return error;\n}\n/** @internal */\nfunction defaultOnError(error) {\n throw error;\n}\n\n// eslint-disable-next-line no-useless-escape\nconst RE_HTML_TAG = /<\\/?[\\w\\s=\"/.':;#-\\/]+>/;\nconst detectHtmlTag = (source) => RE_HTML_TAG.test(source);\n\nconst CHAR_SP = ' ';\nconst CHAR_CR = '\\r';\nconst CHAR_LF = '\\n';\nconst CHAR_LS = String.fromCharCode(0x2028);\nconst CHAR_PS = String.fromCharCode(0x2029);\nfunction createScanner(str) {\n const _buf = str;\n let _index = 0;\n let _line = 1;\n let _column = 1;\n let _peekOffset = 0;\n const isCRLF = (index) => _buf[index] === CHAR_CR && _buf[index + 1] === CHAR_LF;\n const isLF = (index) => _buf[index] === CHAR_LF;\n const isPS = (index) => _buf[index] === CHAR_PS;\n const isLS = (index) => _buf[index] === CHAR_LS;\n const isLineEnd = (index) => isCRLF(index) || isLF(index) || isPS(index) || isLS(index);\n const index = () => _index;\n const line = () => _line;\n const column = () => _column;\n const peekOffset = () => _peekOffset;\n const charAt = (offset) => isCRLF(offset) || isPS(offset) || isLS(offset) ? CHAR_LF : _buf[offset];\n const currentChar = () => charAt(_index);\n const currentPeek = () => charAt(_index + _peekOffset);\n function next() {\n _peekOffset = 0;\n if (isLineEnd(_index)) {\n _line++;\n _column = 0;\n }\n if (isCRLF(_index)) {\n _index++;\n }\n _index++;\n _column++;\n return _buf[_index];\n }\n function peek() {\n if (isCRLF(_index + _peekOffset)) {\n _peekOffset++;\n }\n _peekOffset++;\n return _buf[_index + _peekOffset];\n }\n function reset() {\n _index = 0;\n _line = 1;\n _column = 1;\n _peekOffset = 0;\n }\n function resetPeek(offset = 0) {\n _peekOffset = offset;\n }\n function skipToPeek() {\n const target = _index + _peekOffset;\n // eslint-disable-next-line no-unmodified-loop-condition\n while (target !== _index) {\n next();\n }\n _peekOffset = 0;\n }\n return {\n index,\n line,\n column,\n peekOffset,\n charAt,\n currentChar,\n currentPeek,\n next,\n peek,\n reset,\n resetPeek,\n skipToPeek\n };\n}\n\nconst EOF = undefined;\nconst DOT = '.';\nconst LITERAL_DELIMITER = \"'\";\nconst ERROR_DOMAIN$3 = 'tokenizer';\nfunction createTokenizer(source, options = {}) {\n const location = options.location !== false;\n const _scnr = createScanner(source);\n const currentOffset = () => _scnr.index();\n const currentPosition = () => createPosition(_scnr.line(), _scnr.column(), _scnr.index());\n const _initLoc = currentPosition();\n const _initOffset = currentOffset();\n const _context = {\n currentType: 14 /* TokenTypes.EOF */,\n offset: _initOffset,\n startLoc: _initLoc,\n endLoc: _initLoc,\n lastType: 14 /* TokenTypes.EOF */,\n lastOffset: _initOffset,\n lastStartLoc: _initLoc,\n lastEndLoc: _initLoc,\n braceNest: 0,\n inLinked: false,\n text: ''\n };\n const context = () => _context;\n const { onError } = options;\n function emitError(code, pos, offset, ...args) {\n const ctx = context();\n pos.column += offset;\n pos.offset += offset;\n if (onError) {\n const loc = location ? createLocation(ctx.startLoc, pos) : null;\n const err = createCompileError(code, loc, {\n domain: ERROR_DOMAIN$3,\n args\n });\n onError(err);\n }\n }\n function getToken(context, type, value) {\n context.endLoc = currentPosition();\n context.currentType = type;\n const token = { type };\n if (location) {\n token.loc = createLocation(context.startLoc, context.endLoc);\n }\n if (value != null) {\n token.value = value;\n }\n return token;\n }\n const getEndToken = (context) => getToken(context, 14 /* TokenTypes.EOF */);\n function eat(scnr, ch) {\n if (scnr.currentChar() === ch) {\n scnr.next();\n return ch;\n }\n else {\n emitError(CompileErrorCodes.EXPECTED_TOKEN, currentPosition(), 0, ch);\n return '';\n }\n }\n function peekSpaces(scnr) {\n let buf = '';\n while (scnr.currentPeek() === CHAR_SP || scnr.currentPeek() === CHAR_LF) {\n buf += scnr.currentPeek();\n scnr.peek();\n }\n return buf;\n }\n function skipSpaces(scnr) {\n const buf = peekSpaces(scnr);\n scnr.skipToPeek();\n return buf;\n }\n function isIdentifierStart(ch) {\n if (ch === EOF) {\n return false;\n }\n const cc = ch.charCodeAt(0);\n return ((cc >= 97 && cc <= 122) || // a-z\n (cc >= 65 && cc <= 90) || // A-Z\n cc === 95 // _\n );\n }\n function isNumberStart(ch) {\n if (ch === EOF) {\n return false;\n }\n const cc = ch.charCodeAt(0);\n return cc >= 48 && cc <= 57; // 0-9\n }\n function isNamedIdentifierStart(scnr, context) {\n const { currentType } = context;\n if (currentType !== 2 /* TokenTypes.BraceLeft */) {\n return false;\n }\n peekSpaces(scnr);\n const ret = isIdentifierStart(scnr.currentPeek());\n scnr.resetPeek();\n return ret;\n }\n function isListIdentifierStart(scnr, context) {\n const { currentType } = context;\n if (currentType !== 2 /* TokenTypes.BraceLeft */) {\n return false;\n }\n peekSpaces(scnr);\n const ch = scnr.currentPeek() === '-' ? scnr.peek() : scnr.currentPeek();\n const ret = isNumberStart(ch);\n scnr.resetPeek();\n return ret;\n }\n function isLiteralStart(scnr, context) {\n const { currentType } = context;\n if (currentType !== 2 /* TokenTypes.BraceLeft */) {\n return false;\n }\n peekSpaces(scnr);\n const ret = scnr.currentPeek() === LITERAL_DELIMITER;\n scnr.resetPeek();\n return ret;\n }\n function isLinkedDotStart(scnr, context) {\n const { currentType } = context;\n if (currentType !== 8 /* TokenTypes.LinkedAlias */) {\n return false;\n }\n peekSpaces(scnr);\n const ret = scnr.currentPeek() === \".\" /* TokenChars.LinkedDot */;\n scnr.resetPeek();\n return ret;\n }\n function isLinkedModifierStart(scnr, context) {\n const { currentType } = context;\n if (currentType !== 9 /* TokenTypes.LinkedDot */) {\n return false;\n }\n peekSpaces(scnr);\n const ret = isIdentifierStart(scnr.currentPeek());\n scnr.resetPeek();\n return ret;\n }\n function isLinkedDelimiterStart(scnr, context) {\n const { currentType } = context;\n if (!(currentType === 8 /* TokenTypes.LinkedAlias */ ||\n currentType === 12 /* TokenTypes.LinkedModifier */)) {\n return false;\n }\n peekSpaces(scnr);\n const ret = scnr.currentPeek() === \":\" /* TokenChars.LinkedDelimiter */;\n scnr.resetPeek();\n return ret;\n }\n function isLinkedReferStart(scnr, context) {\n const { currentType } = context;\n if (currentType !== 10 /* TokenTypes.LinkedDelimiter */) {\n return false;\n }\n const fn = () => {\n const ch = scnr.currentPeek();\n if (ch === \"{\" /* TokenChars.BraceLeft */) {\n return isIdentifierStart(scnr.peek());\n }\n else if (ch === \"@\" /* TokenChars.LinkedAlias */ ||\n ch === \"%\" /* TokenChars.Modulo */ ||\n ch === \"|\" /* TokenChars.Pipe */ ||\n ch === \":\" /* TokenChars.LinkedDelimiter */ ||\n ch === \".\" /* TokenChars.LinkedDot */ ||\n ch === CHAR_SP ||\n !ch) {\n return false;\n }\n else if (ch === CHAR_LF) {\n scnr.peek();\n return fn();\n }\n else {\n // other characters\n return isTextStart(scnr, false);\n }\n };\n const ret = fn();\n scnr.resetPeek();\n return ret;\n }\n function isPluralStart(scnr) {\n peekSpaces(scnr);\n const ret = scnr.currentPeek() === \"|\" /* TokenChars.Pipe */;\n scnr.resetPeek();\n return ret;\n }\n function detectModuloStart(scnr) {\n const spaces = peekSpaces(scnr);\n const ret = scnr.currentPeek() === \"%\" /* TokenChars.Modulo */ &&\n scnr.peek() === \"{\" /* TokenChars.BraceLeft */;\n scnr.resetPeek();\n return {\n isModulo: ret,\n hasSpace: spaces.length > 0\n };\n }\n function isTextStart(scnr, reset = true) {\n const fn = (hasSpace = false, prev = '', detectModulo = false) => {\n const ch = scnr.currentPeek();\n if (ch === \"{\" /* TokenChars.BraceLeft */) {\n return prev === \"%\" /* TokenChars.Modulo */ ? false : hasSpace;\n }\n else if (ch === \"@\" /* TokenChars.LinkedAlias */ || !ch) {\n return prev === \"%\" /* TokenChars.Modulo */ ? true : hasSpace;\n }\n else if (ch === \"%\" /* TokenChars.Modulo */) {\n scnr.peek();\n return fn(hasSpace, \"%\" /* TokenChars.Modulo */, true);\n }\n else if (ch === \"|\" /* TokenChars.Pipe */) {\n return prev === \"%\" /* TokenChars.Modulo */ || detectModulo\n ? true\n : !(prev === CHAR_SP || prev === CHAR_LF);\n }\n else if (ch === CHAR_SP) {\n scnr.peek();\n return fn(true, CHAR_SP, detectModulo);\n }\n else if (ch === CHAR_LF) {\n scnr.peek();\n return fn(true, CHAR_LF, detectModulo);\n }\n else {\n return true;\n }\n };\n const ret = fn();\n reset && scnr.resetPeek();\n return ret;\n }\n function takeChar(scnr, fn) {\n const ch = scnr.currentChar();\n if (ch === EOF) {\n return EOF;\n }\n if (fn(ch)) {\n scnr.next();\n return ch;\n }\n return null;\n }\n function isIdentifier(ch) {\n const cc = ch.charCodeAt(0);\n return ((cc >= 97 && cc <= 122) || // a-z\n (cc >= 65 && cc <= 90) || // A-Z\n (cc >= 48 && cc <= 57) || // 0-9\n cc === 95 || // _\n cc === 36 // $\n );\n }\n function takeIdentifierChar(scnr) {\n return takeChar(scnr, isIdentifier);\n }\n function isNamedIdentifier(ch) {\n const cc = ch.charCodeAt(0);\n return ((cc >= 97 && cc <= 122) || // a-z\n (cc >= 65 && cc <= 90) || // A-Z\n (cc >= 48 && cc <= 57) || // 0-9\n cc === 95 || // _\n cc === 36 || // $\n cc === 45 // -\n );\n }\n function takeNamedIdentifierChar(scnr) {\n return takeChar(scnr, isNamedIdentifier);\n }\n function isDigit(ch) {\n const cc = ch.charCodeAt(0);\n return cc >= 48 && cc <= 57; // 0-9\n }\n function takeDigit(scnr) {\n return takeChar(scnr, isDigit);\n }\n function isHexDigit(ch) {\n const cc = ch.charCodeAt(0);\n return ((cc >= 48 && cc <= 57) || // 0-9\n (cc >= 65 && cc <= 70) || // A-F\n (cc >= 97 && cc <= 102)); // a-f\n }\n function takeHexDigit(scnr) {\n return takeChar(scnr, isHexDigit);\n }\n function getDigits(scnr) {\n let ch = '';\n let num = '';\n while ((ch = takeDigit(scnr))) {\n num += ch;\n }\n return num;\n }\n function readModulo(scnr) {\n skipSpaces(scnr);\n const ch = scnr.currentChar();\n if (ch !== \"%\" /* TokenChars.Modulo */) {\n emitError(CompileErrorCodes.EXPECTED_TOKEN, currentPosition(), 0, ch);\n }\n scnr.next();\n return \"%\" /* TokenChars.Modulo */;\n }\n function readText(scnr) {\n let buf = '';\n // eslint-disable-next-line no-constant-condition\n while (true) {\n const ch = scnr.currentChar();\n if (ch === \"{\" /* TokenChars.BraceLeft */ ||\n ch === \"}\" /* TokenChars.BraceRight */ ||\n ch === \"@\" /* TokenChars.LinkedAlias */ ||\n ch === \"|\" /* TokenChars.Pipe */ ||\n !ch) {\n break;\n }\n else if (ch === \"%\" /* TokenChars.Modulo */) {\n if (isTextStart(scnr)) {\n buf += ch;\n scnr.next();\n }\n else {\n break;\n }\n }\n else if (ch === CHAR_SP || ch === CHAR_LF) {\n if (isTextStart(scnr)) {\n buf += ch;\n scnr.next();\n }\n else if (isPluralStart(scnr)) {\n break;\n }\n else {\n buf += ch;\n scnr.next();\n }\n }\n else {\n buf += ch;\n scnr.next();\n }\n }\n return buf;\n }\n function readNamedIdentifier(scnr) {\n skipSpaces(scnr);\n let ch = '';\n let name = '';\n while ((ch = takeNamedIdentifierChar(scnr))) {\n name += ch;\n }\n if (scnr.currentChar() === EOF) {\n emitError(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE, currentPosition(), 0);\n }\n return name;\n }\n function readListIdentifier(scnr) {\n skipSpaces(scnr);\n let value = '';\n if (scnr.currentChar() === '-') {\n scnr.next();\n value += `-${getDigits(scnr)}`;\n }\n else {\n value += getDigits(scnr);\n }\n if (scnr.currentChar() === EOF) {\n emitError(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE, currentPosition(), 0);\n }\n return value;\n }\n function isLiteral(ch) {\n return ch !== LITERAL_DELIMITER && ch !== CHAR_LF;\n }\n function readLiteral(scnr) {\n skipSpaces(scnr);\n // eslint-disable-next-line no-useless-escape\n eat(scnr, `\\'`);\n let ch = '';\n let literal = '';\n while ((ch = takeChar(scnr, isLiteral))) {\n if (ch === '\\\\') {\n literal += readEscapeSequence(scnr);\n }\n else {\n literal += ch;\n }\n }\n const current = scnr.currentChar();\n if (current === CHAR_LF || current === EOF) {\n emitError(CompileErrorCodes.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, currentPosition(), 0);\n // TODO: Is it correct really?\n if (current === CHAR_LF) {\n scnr.next();\n // eslint-disable-next-line no-useless-escape\n eat(scnr, `\\'`);\n }\n return literal;\n }\n // eslint-disable-next-line no-useless-escape\n eat(scnr, `\\'`);\n return literal;\n }\n function readEscapeSequence(scnr) {\n const ch = scnr.currentChar();\n switch (ch) {\n case '\\\\':\n case `\\'`: // eslint-disable-line no-useless-escape\n scnr.next();\n return `\\\\${ch}`;\n case 'u':\n return readUnicodeEscapeSequence(scnr, ch, 4);\n case 'U':\n return readUnicodeEscapeSequence(scnr, ch, 6);\n default:\n emitError(CompileErrorCodes.UNKNOWN_ESCAPE_SEQUENCE, currentPosition(), 0, ch);\n return '';\n }\n }\n function readUnicodeEscapeSequence(scnr, unicode, digits) {\n eat(scnr, unicode);\n let sequence = '';\n for (let i = 0; i < digits; i++) {\n const ch = takeHexDigit(scnr);\n if (!ch) {\n emitError(CompileErrorCodes.INVALID_UNICODE_ESCAPE_SEQUENCE, currentPosition(), 0, `\\\\${unicode}${sequence}${scnr.currentChar()}`);\n break;\n }\n sequence += ch;\n }\n return `\\\\${unicode}${sequence}`;\n }\n function isInvalidIdentifier(ch) {\n return (ch !== \"{\" /* TokenChars.BraceLeft */ &&\n ch !== \"}\" /* TokenChars.BraceRight */ &&\n ch !== CHAR_SP &&\n ch !== CHAR_LF);\n }\n function readInvalidIdentifier(scnr) {\n skipSpaces(scnr);\n let ch = '';\n let identifiers = '';\n while ((ch = takeChar(scnr, isInvalidIdentifier))) {\n identifiers += ch;\n }\n return identifiers;\n }\n function readLinkedModifier(scnr) {\n let ch = '';\n let name = '';\n while ((ch = takeIdentifierChar(scnr))) {\n name += ch;\n }\n return name;\n }\n function readLinkedRefer(scnr) {\n const fn = (buf) => {\n const ch = scnr.currentChar();\n if (ch === \"{\" /* TokenChars.BraceLeft */ ||\n ch === \"%\" /* TokenChars.Modulo */ ||\n ch === \"@\" /* TokenChars.LinkedAlias */ ||\n ch === \"|\" /* TokenChars.Pipe */ ||\n ch === \"(\" /* TokenChars.ParenLeft */ ||\n ch === \")\" /* TokenChars.ParenRight */ ||\n !ch) {\n return buf;\n }\n else if (ch === CHAR_SP) {\n return buf;\n }\n else if (ch === CHAR_LF || ch === DOT) {\n buf += ch;\n scnr.next();\n return fn(buf);\n }\n else {\n buf += ch;\n scnr.next();\n return fn(buf);\n }\n };\n return fn('');\n }\n function readPlural(scnr) {\n skipSpaces(scnr);\n const plural = eat(scnr, \"|\" /* TokenChars.Pipe */);\n skipSpaces(scnr);\n return plural;\n }\n // TODO: We need refactoring of token parsing ...\n function readTokenInPlaceholder(scnr, context) {\n let token = null;\n const ch = scnr.currentChar();\n switch (ch) {\n case \"{\" /* TokenChars.BraceLeft */:\n if (context.braceNest >= 1) {\n emitError(CompileErrorCodes.NOT_ALLOW_NEST_PLACEHOLDER, currentPosition(), 0);\n }\n scnr.next();\n token = getToken(context, 2 /* TokenTypes.BraceLeft */, \"{\" /* TokenChars.BraceLeft */);\n skipSpaces(scnr);\n context.braceNest++;\n return token;\n case \"}\" /* TokenChars.BraceRight */:\n if (context.braceNest > 0 &&\n context.currentType === 2 /* TokenTypes.BraceLeft */) {\n emitError(CompileErrorCodes.EMPTY_PLACEHOLDER, currentPosition(), 0);\n }\n scnr.next();\n token = getToken(context, 3 /* TokenTypes.BraceRight */, \"}\" /* TokenChars.BraceRight */);\n context.braceNest--;\n context.braceNest > 0 && skipSpaces(scnr);\n if (context.inLinked && context.braceNest === 0) {\n context.inLinked = false;\n }\n return token;\n case \"@\" /* TokenChars.LinkedAlias */:\n if (context.braceNest > 0) {\n emitError(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE, currentPosition(), 0);\n }\n token = readTokenInLinked(scnr, context) || getEndToken(context);\n context.braceNest = 0;\n return token;\n default: {\n let validNamedIdentifier = true;\n let validListIdentifier = true;\n let validLiteral = true;\n if (isPluralStart(scnr)) {\n if (context.braceNest > 0) {\n emitError(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE, currentPosition(), 0);\n }\n token = getToken(context, 1 /* TokenTypes.Pipe */, readPlural(scnr));\n // reset\n context.braceNest = 0;\n context.inLinked = false;\n return token;\n }\n if (context.braceNest > 0 &&\n (context.currentType === 5 /* TokenTypes.Named */ ||\n context.currentType === 6 /* TokenTypes.List */ ||\n context.currentType === 7 /* TokenTypes.Literal */)) {\n emitError(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE, currentPosition(), 0);\n context.braceNest = 0;\n return readToken(scnr, context);\n }\n if ((validNamedIdentifier = isNamedIdentifierStart(scnr, context))) {\n token = getToken(context, 5 /* TokenTypes.Named */, readNamedIdentifier(scnr));\n skipSpaces(scnr);\n return token;\n }\n if ((validListIdentifier = isListIdentifierStart(scnr, context))) {\n token = getToken(context, 6 /* TokenTypes.List */, readListIdentifier(scnr));\n skipSpaces(scnr);\n return token;\n }\n if ((validLiteral = isLiteralStart(scnr, context))) {\n token = getToken(context, 7 /* TokenTypes.Literal */, readLiteral(scnr));\n skipSpaces(scnr);\n return token;\n }\n if (!validNamedIdentifier && !validListIdentifier && !validLiteral) {\n // TODO: we should be re-designed invalid cases, when we will extend message syntax near the future ...\n token = getToken(context, 13 /* TokenTypes.InvalidPlace */, readInvalidIdentifier(scnr));\n emitError(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER, currentPosition(), 0, token.value);\n skipSpaces(scnr);\n return token;\n }\n break;\n }\n }\n return token;\n }\n // TODO: We need refactoring of token parsing ...\n function readTokenInLinked(scnr, context) {\n const { currentType } = context;\n let token = null;\n const ch = scnr.currentChar();\n if ((currentType === 8 /* TokenTypes.LinkedAlias */ ||\n currentType === 9 /* TokenTypes.LinkedDot */ ||\n currentType === 12 /* TokenTypes.LinkedModifier */ ||\n currentType === 10 /* TokenTypes.LinkedDelimiter */) &&\n (ch === CHAR_LF || ch === CHAR_SP)) {\n emitError(CompileErrorCodes.INVALID_LINKED_FORMAT, currentPosition(), 0);\n }\n switch (ch) {\n case \"@\" /* TokenChars.LinkedAlias */:\n scnr.next();\n token = getToken(context, 8 /* TokenTypes.LinkedAlias */, \"@\" /* TokenChars.LinkedAlias */);\n context.inLinked = true;\n return token;\n case \".\" /* TokenChars.LinkedDot */:\n skipSpaces(scnr);\n scnr.next();\n return getToken(context, 9 /* TokenTypes.LinkedDot */, \".\" /* TokenChars.LinkedDot */);\n case \":\" /* TokenChars.LinkedDelimiter */:\n skipSpaces(scnr);\n scnr.next();\n return getToken(context, 10 /* TokenTypes.LinkedDelimiter */, \":\" /* TokenChars.LinkedDelimiter */);\n default:\n if (isPluralStart(scnr)) {\n token = getToken(context, 1 /* TokenTypes.Pipe */, readPlural(scnr));\n // reset\n context.braceNest = 0;\n context.inLinked = false;\n return token;\n }\n if (isLinkedDotStart(scnr, context) ||\n isLinkedDelimiterStart(scnr, context)) {\n skipSpaces(scnr);\n return readTokenInLinked(scnr, context);\n }\n if (isLinkedModifierStart(scnr, context)) {\n skipSpaces(scnr);\n return getToken(context, 12 /* TokenTypes.LinkedModifier */, readLinkedModifier(scnr));\n }\n if (isLinkedReferStart(scnr, context)) {\n skipSpaces(scnr);\n if (ch === \"{\" /* TokenChars.BraceLeft */) {\n // scan the placeholder\n return readTokenInPlaceholder(scnr, context) || token;\n }\n else {\n return getToken(context, 11 /* TokenTypes.LinkedKey */, readLinkedRefer(scnr));\n }\n }\n if (currentType === 8 /* TokenTypes.LinkedAlias */) {\n emitError(CompileErrorCodes.INVALID_LINKED_FORMAT, currentPosition(), 0);\n }\n context.braceNest = 0;\n context.inLinked = false;\n return readToken(scnr, context);\n }\n }\n // TODO: We need refactoring of token parsing ...\n function readToken(scnr, context) {\n let token = { type: 14 /* TokenTypes.EOF */ };\n if (context.braceNest > 0) {\n return readTokenInPlaceholder(scnr, context) || getEndToken(context);\n }\n if (context.inLinked) {\n return readTokenInLinked(scnr, context) || getEndToken(context);\n }\n const ch = scnr.currentChar();\n switch (ch) {\n case \"{\" /* TokenChars.BraceLeft */:\n return readTokenInPlaceholder(scnr, context) || getEndToken(context);\n case \"}\" /* TokenChars.BraceRight */:\n emitError(CompileErrorCodes.UNBALANCED_CLOSING_BRACE, currentPosition(), 0);\n scnr.next();\n return getToken(context, 3 /* TokenTypes.BraceRight */, \"}\" /* TokenChars.BraceRight */);\n case \"@\" /* TokenChars.LinkedAlias */:\n return readTokenInLinked(scnr, context) || getEndToken(context);\n default: {\n if (isPluralStart(scnr)) {\n token = getToken(context, 1 /* TokenTypes.Pipe */, readPlural(scnr));\n // reset\n context.braceNest = 0;\n context.inLinked = false;\n return token;\n }\n const { isModulo, hasSpace } = detectModuloStart(scnr);\n if (isModulo) {\n return hasSpace\n ? getToken(context, 0 /* TokenTypes.Text */, readText(scnr))\n : getToken(context, 4 /* TokenTypes.Modulo */, readModulo(scnr));\n }\n if (isTextStart(scnr)) {\n return getToken(context, 0 /* TokenTypes.Text */, readText(scnr));\n }\n break;\n }\n }\n return token;\n }\n function nextToken() {\n const { currentType, offset, startLoc, endLoc } = _context;\n _context.lastType = currentType;\n _context.lastOffset = offset;\n _context.lastStartLoc = startLoc;\n _context.lastEndLoc = endLoc;\n _context.offset = currentOffset();\n _context.startLoc = currentPosition();\n if (_scnr.currentChar() === EOF) {\n return getToken(_context, 14 /* TokenTypes.EOF */);\n }\n return readToken(_scnr, _context);\n }\n return {\n nextToken,\n currentOffset,\n currentPosition,\n context\n };\n}\n\nconst ERROR_DOMAIN$2 = 'parser';\n// Backslash backslash, backslash quote, uHHHH, UHHHHHH.\nconst KNOWN_ESCAPES = /(?:\\\\\\\\|\\\\'|\\\\u([0-9a-fA-F]{4})|\\\\U([0-9a-fA-F]{6}))/g;\nfunction fromEscapeSequence(match, codePoint4, codePoint6) {\n switch (match) {\n case `\\\\\\\\`:\n return `\\\\`;\n // eslint-disable-next-line no-useless-escape\n case `\\\\\\'`:\n // eslint-disable-next-line no-useless-escape\n return `\\'`;\n default: {\n const codePoint = parseInt(codePoint4 || codePoint6, 16);\n if (codePoint <= 0xd7ff || codePoint >= 0xe000) {\n return String.fromCodePoint(codePoint);\n }\n // invalid ...\n // Replace them with U+FFFD REPLACEMENT CHARACTER.\n return '�';\n }\n }\n}\nfunction createParser(options = {}) {\n const location = options.location !== false;\n const { onError, onWarn } = options;\n function emitError(tokenzer, code, start, offset, ...args) {\n const end = tokenzer.currentPosition();\n end.offset += offset;\n end.column += offset;\n if (onError) {\n const loc = location ? createLocation(start, end) : null;\n const err = createCompileError(code, loc, {\n domain: ERROR_DOMAIN$2,\n args\n });\n onError(err);\n }\n }\n function emitWarn(tokenzer, code, start, offset, ...args) {\n const end = tokenzer.currentPosition();\n end.offset += offset;\n end.column += offset;\n if (onWarn) {\n const loc = location ? createLocation(start, end) : null;\n onWarn(createCompileWarn(code, loc, args));\n }\n }\n function startNode(type, offset, loc) {\n const node = { type };\n if (location) {\n node.start = offset;\n node.end = offset;\n node.loc = { start: loc, end: loc };\n }\n return node;\n }\n function endNode(node, offset, pos, type) {\n if (type) {\n node.type = type;\n }\n if (location) {\n node.end = offset;\n if (node.loc) {\n node.loc.end = pos;\n }\n }\n }\n function parseText(tokenizer, value) {\n const context = tokenizer.context();\n const node = startNode(3 /* NodeTypes.Text */, context.offset, context.startLoc);\n node.value = value;\n endNode(node, tokenizer.currentOffset(), tokenizer.currentPosition());\n return node;\n }\n function parseList(tokenizer, index) {\n const context = tokenizer.context();\n const { lastOffset: offset, lastStartLoc: loc } = context; // get brace left loc\n const node = startNode(5 /* NodeTypes.List */, offset, loc);\n node.index = parseInt(index, 10);\n tokenizer.nextToken(); // skip brach right\n endNode(node, tokenizer.currentOffset(), tokenizer.currentPosition());\n return node;\n }\n function parseNamed(tokenizer, key, modulo) {\n const context = tokenizer.context();\n const { lastOffset: offset, lastStartLoc: loc } = context; // get brace left loc\n const node = startNode(4 /* NodeTypes.Named */, offset, loc);\n node.key = key;\n if (modulo === true) {\n node.modulo = true;\n }\n tokenizer.nextToken(); // skip brach right\n endNode(node, tokenizer.currentOffset(), tokenizer.currentPosition());\n return node;\n }\n function parseLiteral(tokenizer, value) {\n const context = tokenizer.context();\n const { lastOffset: offset, lastStartLoc: loc } = context; // get brace left loc\n const node = startNode(9 /* NodeTypes.Literal */, offset, loc);\n node.value = value.replace(KNOWN_ESCAPES, fromEscapeSequence);\n tokenizer.nextToken(); // skip brach right\n endNode(node, tokenizer.currentOffset(), tokenizer.currentPosition());\n return node;\n }\n function parseLinkedModifier(tokenizer) {\n const token = tokenizer.nextToken();\n const context = tokenizer.context();\n const { lastOffset: offset, lastStartLoc: loc } = context; // get linked dot loc\n const node = startNode(8 /* NodeTypes.LinkedModifier */, offset, loc);\n if (token.type !== 12 /* TokenTypes.LinkedModifier */) {\n // empty modifier\n emitError(tokenizer, CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_MODIFIER, context.lastStartLoc, 0);\n node.value = '';\n endNode(node, offset, loc);\n return {\n nextConsumeToken: token,\n node\n };\n }\n // check token\n if (token.value == null) {\n emitError(tokenizer, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, context.lastStartLoc, 0, getTokenCaption(token));\n }\n node.value = token.value || '';\n endNode(node, tokenizer.currentOffset(), tokenizer.currentPosition());\n return {\n node\n };\n }\n function parseLinkedKey(tokenizer, value) {\n const context = tokenizer.context();\n const node = startNode(7 /* NodeTypes.LinkedKey */, context.offset, context.startLoc);\n node.value = value;\n endNode(node, tokenizer.currentOffset(), tokenizer.currentPosition());\n return node;\n }\n function parseLinked(tokenizer) {\n const context = tokenizer.context();\n const linkedNode = startNode(6 /* NodeTypes.Linked */, context.offset, context.startLoc);\n let token = tokenizer.nextToken();\n if (token.type === 9 /* TokenTypes.LinkedDot */) {\n const parsed = parseLinkedModifier(tokenizer);\n linkedNode.modifier = parsed.node;\n token = parsed.nextConsumeToken || tokenizer.nextToken();\n }\n // asset check token\n if (token.type !== 10 /* TokenTypes.LinkedDelimiter */) {\n emitError(tokenizer, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, context.lastStartLoc, 0, getTokenCaption(token));\n }\n token = tokenizer.nextToken();\n // skip brace left\n if (token.type === 2 /* TokenTypes.BraceLeft */) {\n token = tokenizer.nextToken();\n }\n switch (token.type) {\n case 11 /* TokenTypes.LinkedKey */:\n if (token.value == null) {\n emitError(tokenizer, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, context.lastStartLoc, 0, getTokenCaption(token));\n }\n linkedNode.key = parseLinkedKey(tokenizer, token.value || '');\n break;\n case 5 /* TokenTypes.Named */:\n if (token.value == null) {\n emitError(tokenizer, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, context.lastStartLoc, 0, getTokenCaption(token));\n }\n linkedNode.key = parseNamed(tokenizer, token.value || '');\n break;\n case 6 /* TokenTypes.List */:\n if (token.value == null) {\n emitError(tokenizer, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, context.lastStartLoc, 0, getTokenCaption(token));\n }\n linkedNode.key = parseList(tokenizer, token.value || '');\n break;\n case 7 /* TokenTypes.Literal */:\n if (token.value == null) {\n emitError(tokenizer, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, context.lastStartLoc, 0, getTokenCaption(token));\n }\n linkedNode.key = parseLiteral(tokenizer, token.value || '');\n break;\n default: {\n // empty key\n emitError(tokenizer, CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_KEY, context.lastStartLoc, 0);\n const nextContext = tokenizer.context();\n const emptyLinkedKeyNode = startNode(7 /* NodeTypes.LinkedKey */, nextContext.offset, nextContext.startLoc);\n emptyLinkedKeyNode.value = '';\n endNode(emptyLinkedKeyNode, nextContext.offset, nextContext.startLoc);\n linkedNode.key = emptyLinkedKeyNode;\n endNode(linkedNode, nextContext.offset, nextContext.startLoc);\n return {\n nextConsumeToken: token,\n node: linkedNode\n };\n }\n }\n endNode(linkedNode, tokenizer.currentOffset(), tokenizer.currentPosition());\n return {\n node: linkedNode\n };\n }\n function parseMessage(tokenizer) {\n const context = tokenizer.context();\n const startOffset = context.currentType === 1 /* TokenTypes.Pipe */\n ? tokenizer.currentOffset()\n : context.offset;\n const startLoc = context.currentType === 1 /* TokenTypes.Pipe */\n ? context.endLoc\n : context.startLoc;\n const node = startNode(2 /* NodeTypes.Message */, startOffset, startLoc);\n node.items = [];\n let nextToken = null;\n let modulo = null;\n do {\n const token = nextToken || tokenizer.nextToken();\n nextToken = null;\n switch (token.type) {\n case 0 /* TokenTypes.Text */:\n if (token.value == null) {\n emitError(tokenizer, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, context.lastStartLoc, 0, getTokenCaption(token));\n }\n node.items.push(parseText(tokenizer, token.value || ''));\n break;\n case 6 /* TokenTypes.List */:\n if (token.value == null) {\n emitError(tokenizer, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, context.lastStartLoc, 0, getTokenCaption(token));\n }\n node.items.push(parseList(tokenizer, token.value || ''));\n break;\n case 4 /* TokenTypes.Modulo */:\n modulo = true;\n break;\n case 5 /* TokenTypes.Named */:\n if (token.value == null) {\n emitError(tokenizer, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, context.lastStartLoc, 0, getTokenCaption(token));\n }\n node.items.push(parseNamed(tokenizer, token.value || '', !!modulo));\n if (modulo) {\n emitWarn(tokenizer, CompileWarnCodes.USE_MODULO_SYNTAX, context.lastStartLoc, 0, getTokenCaption(token));\n modulo = null;\n }\n break;\n case 7 /* TokenTypes.Literal */:\n if (token.value == null) {\n emitError(tokenizer, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, context.lastStartLoc, 0, getTokenCaption(token));\n }\n node.items.push(parseLiteral(tokenizer, token.value || ''));\n break;\n case 8 /* TokenTypes.LinkedAlias */: {\n const parsed = parseLinked(tokenizer);\n node.items.push(parsed.node);\n nextToken = parsed.nextConsumeToken || null;\n break;\n }\n }\n } while (context.currentType !== 14 /* TokenTypes.EOF */ &&\n context.currentType !== 1 /* TokenTypes.Pipe */);\n // adjust message node loc\n const endOffset = context.currentType === 1 /* TokenTypes.Pipe */\n ? context.lastOffset\n : tokenizer.currentOffset();\n const endLoc = context.currentType === 1 /* TokenTypes.Pipe */\n ? context.lastEndLoc\n : tokenizer.currentPosition();\n endNode(node, endOffset, endLoc);\n return node;\n }\n function parsePlural(tokenizer, offset, loc, msgNode) {\n const context = tokenizer.context();\n let hasEmptyMessage = msgNode.items.length === 0;\n const node = startNode(1 /* NodeTypes.Plural */, offset, loc);\n node.cases = [];\n node.cases.push(msgNode);\n do {\n const msg = parseMessage(tokenizer);\n if (!hasEmptyMessage) {\n hasEmptyMessage = msg.items.length === 0;\n }\n node.cases.push(msg);\n } while (context.currentType !== 14 /* TokenTypes.EOF */);\n if (hasEmptyMessage) {\n emitError(tokenizer, CompileErrorCodes.MUST_HAVE_MESSAGES_IN_PLURAL, loc, 0);\n }\n endNode(node, tokenizer.currentOffset(), tokenizer.currentPosition());\n return node;\n }\n function parseResource(tokenizer) {\n const context = tokenizer.context();\n const { offset, startLoc } = context;\n const msgNode = parseMessage(tokenizer);\n if (context.currentType === 14 /* TokenTypes.EOF */) {\n return msgNode;\n }\n else {\n return parsePlural(tokenizer, offset, startLoc, msgNode);\n }\n }\n function parse(source) {\n const tokenizer = createTokenizer(source, assign({}, options));\n const context = tokenizer.context();\n const node = startNode(0 /* NodeTypes.Resource */, context.offset, context.startLoc);\n if (location && node.loc) {\n node.loc.source = source;\n }\n node.body = parseResource(tokenizer);\n if (options.onCacheKey) {\n node.cacheKey = options.onCacheKey(source);\n }\n // assert whether achieved to EOF\n if (context.currentType !== 14 /* TokenTypes.EOF */) {\n emitError(tokenizer, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, context.lastStartLoc, 0, source[context.offset] || '');\n }\n endNode(node, tokenizer.currentOffset(), tokenizer.currentPosition());\n return node;\n }\n return { parse };\n}\nfunction getTokenCaption(token) {\n if (token.type === 14 /* TokenTypes.EOF */) {\n return 'EOF';\n }\n const name = (token.value || '').replace(/\\r?\\n/gu, '\\\\n');\n return name.length > 10 ? name.slice(0, 9) + '…' : name;\n}\n\nfunction createTransformer(ast, options = {} // eslint-disable-line\n) {\n const _context = {\n ast,\n helpers: new Set()\n };\n const context = () => _context;\n const helper = (name) => {\n _context.helpers.add(name);\n return name;\n };\n return { context, helper };\n}\nfunction traverseNodes(nodes, transformer) {\n for (let i = 0; i < nodes.length; i++) {\n traverseNode(nodes[i], transformer);\n }\n}\nfunction traverseNode(node, transformer) {\n // TODO: if we need pre-hook of transform, should be implemented to here\n switch (node.type) {\n case 1 /* NodeTypes.Plural */:\n traverseNodes(node.cases, transformer);\n transformer.helper(\"plural\" /* HelperNameMap.PLURAL */);\n break;\n case 2 /* NodeTypes.Message */:\n traverseNodes(node.items, transformer);\n break;\n case 6 /* NodeTypes.Linked */: {\n const linked = node;\n traverseNode(linked.key, transformer);\n transformer.helper(\"linked\" /* HelperNameMap.LINKED */);\n transformer.helper(\"type\" /* HelperNameMap.TYPE */);\n break;\n }\n case 5 /* NodeTypes.List */:\n transformer.helper(\"interpolate\" /* HelperNameMap.INTERPOLATE */);\n transformer.helper(\"list\" /* HelperNameMap.LIST */);\n break;\n case 4 /* NodeTypes.Named */:\n transformer.helper(\"interpolate\" /* HelperNameMap.INTERPOLATE */);\n transformer.helper(\"named\" /* HelperNameMap.NAMED */);\n break;\n }\n // TODO: if we need post-hook of transform, should be implemented to here\n}\n// transform AST\nfunction transform(ast, options = {} // eslint-disable-line\n) {\n const transformer = createTransformer(ast);\n transformer.helper(\"normalize\" /* HelperNameMap.NORMALIZE */);\n // traverse\n ast.body && traverseNode(ast.body, transformer);\n // set meta information\n const context = transformer.context();\n ast.helpers = Array.from(context.helpers);\n}\n\nfunction optimize(ast) {\n const body = ast.body;\n if (body.type === 2 /* NodeTypes.Message */) {\n optimizeMessageNode(body);\n }\n else {\n body.cases.forEach(c => optimizeMessageNode(c));\n }\n return ast;\n}\nfunction optimizeMessageNode(message) {\n if (message.items.length === 1) {\n const item = message.items[0];\n if (item.type === 3 /* NodeTypes.Text */ || item.type === 9 /* NodeTypes.Literal */) {\n message.static = item.value;\n delete item.value; // optimization for size\n }\n }\n else {\n const values = [];\n for (let i = 0; i < message.items.length; i++) {\n const item = message.items[i];\n if (!(item.type === 3 /* NodeTypes.Text */ || item.type === 9 /* NodeTypes.Literal */)) {\n break;\n }\n if (item.value == null) {\n break;\n }\n values.push(item.value);\n }\n if (values.length === message.items.length) {\n message.static = join(values);\n for (let i = 0; i < message.items.length; i++) {\n const item = message.items[i];\n if (item.type === 3 /* NodeTypes.Text */ || item.type === 9 /* NodeTypes.Literal */) {\n delete item.value; // optimization for size\n }\n }\n }\n }\n}\n\nconst ERROR_DOMAIN$1 = 'minifier';\n/* eslint-disable @typescript-eslint/no-explicit-any */\nfunction minify(node) {\n node.t = node.type;\n switch (node.type) {\n case 0 /* NodeTypes.Resource */: {\n const resource = node;\n minify(resource.body);\n resource.b = resource.body;\n delete resource.body;\n break;\n }\n case 1 /* NodeTypes.Plural */: {\n const plural = node;\n const cases = plural.cases;\n for (let i = 0; i < cases.length; i++) {\n minify(cases[i]);\n }\n plural.c = cases;\n delete plural.cases;\n break;\n }\n case 2 /* NodeTypes.Message */: {\n const message = node;\n const items = message.items;\n for (let i = 0; i < items.length; i++) {\n minify(items[i]);\n }\n message.i = items;\n delete message.items;\n if (message.static) {\n message.s = message.static;\n delete message.static;\n }\n break;\n }\n case 3 /* NodeTypes.Text */:\n case 9 /* NodeTypes.Literal */:\n case 8 /* NodeTypes.LinkedModifier */:\n case 7 /* NodeTypes.LinkedKey */: {\n const valueNode = node;\n if (valueNode.value) {\n valueNode.v = valueNode.value;\n delete valueNode.value;\n }\n break;\n }\n case 6 /* NodeTypes.Linked */: {\n const linked = node;\n minify(linked.key);\n linked.k = linked.key;\n delete linked.key;\n if (linked.modifier) {\n minify(linked.modifier);\n linked.m = linked.modifier;\n delete linked.modifier;\n }\n break;\n }\n case 5 /* NodeTypes.List */: {\n const list = node;\n list.i = list.index;\n delete list.index;\n break;\n }\n case 4 /* NodeTypes.Named */: {\n const named = node;\n named.k = named.key;\n delete named.key;\n break;\n }\n default:\n {\n throw createCompileError(CompileErrorCodes.UNHANDLED_MINIFIER_NODE_TYPE, null, {\n domain: ERROR_DOMAIN$1,\n args: [node.type]\n });\n }\n }\n delete node.type;\n}\n/* eslint-enable @typescript-eslint/no-explicit-any */\n\n// eslint-disable-next-line @typescript-eslint/triple-slash-reference\n/// \nconst ERROR_DOMAIN = 'parser';\nfunction createCodeGenerator(ast, options) {\n const { sourceMap, filename, breakLineCode, needIndent: _needIndent } = options;\n const location = options.location !== false;\n const _context = {\n filename,\n code: '',\n column: 1,\n line: 1,\n offset: 0,\n map: undefined,\n breakLineCode,\n needIndent: _needIndent,\n indentLevel: 0\n };\n if (location && ast.loc) {\n _context.source = ast.loc.source;\n }\n const context = () => _context;\n function push(code, node) {\n _context.code += code;\n }\n function _newline(n, withBreakLine = true) {\n const _breakLineCode = withBreakLine ? breakLineCode : '';\n push(_needIndent ? _breakLineCode + ` `.repeat(n) : _breakLineCode);\n }\n function indent(withNewLine = true) {\n const level = ++_context.indentLevel;\n withNewLine && _newline(level);\n }\n function deindent(withNewLine = true) {\n const level = --_context.indentLevel;\n withNewLine && _newline(level);\n }\n function newline() {\n _newline(_context.indentLevel);\n }\n const helper = (key) => `_${key}`;\n const needIndent = () => _context.needIndent;\n return {\n context,\n push,\n indent,\n deindent,\n newline,\n helper,\n needIndent\n };\n}\nfunction generateLinkedNode(generator, node) {\n const { helper } = generator;\n generator.push(`${helper(\"linked\" /* HelperNameMap.LINKED */)}(`);\n generateNode(generator, node.key);\n if (node.modifier) {\n generator.push(`, `);\n generateNode(generator, node.modifier);\n generator.push(`, _type`);\n }\n else {\n generator.push(`, undefined, _type`);\n }\n generator.push(`)`);\n}\nfunction generateMessageNode(generator, node) {\n const { helper, needIndent } = generator;\n generator.push(`${helper(\"normalize\" /* HelperNameMap.NORMALIZE */)}([`);\n generator.indent(needIndent());\n const length = node.items.length;\n for (let i = 0; i < length; i++) {\n generateNode(generator, node.items[i]);\n if (i === length - 1) {\n break;\n }\n generator.push(', ');\n }\n generator.deindent(needIndent());\n generator.push('])');\n}\nfunction generatePluralNode(generator, node) {\n const { helper, needIndent } = generator;\n if (node.cases.length > 1) {\n generator.push(`${helper(\"plural\" /* HelperNameMap.PLURAL */)}([`);\n generator.indent(needIndent());\n const length = node.cases.length;\n for (let i = 0; i < length; i++) {\n generateNode(generator, node.cases[i]);\n if (i === length - 1) {\n break;\n }\n generator.push(', ');\n }\n generator.deindent(needIndent());\n generator.push(`])`);\n }\n}\nfunction generateResource(generator, node) {\n if (node.body) {\n generateNode(generator, node.body);\n }\n else {\n generator.push('null');\n }\n}\nfunction generateNode(generator, node) {\n const { helper } = generator;\n switch (node.type) {\n case 0 /* NodeTypes.Resource */:\n generateResource(generator, node);\n break;\n case 1 /* NodeTypes.Plural */:\n generatePluralNode(generator, node);\n break;\n case 2 /* NodeTypes.Message */:\n generateMessageNode(generator, node);\n break;\n case 6 /* NodeTypes.Linked */:\n generateLinkedNode(generator, node);\n break;\n case 8 /* NodeTypes.LinkedModifier */:\n generator.push(JSON.stringify(node.value), node);\n break;\n case 7 /* NodeTypes.LinkedKey */:\n generator.push(JSON.stringify(node.value), node);\n break;\n case 5 /* NodeTypes.List */:\n generator.push(`${helper(\"interpolate\" /* HelperNameMap.INTERPOLATE */)}(${helper(\"list\" /* HelperNameMap.LIST */)}(${node.index}))`, node);\n break;\n case 4 /* NodeTypes.Named */:\n generator.push(`${helper(\"interpolate\" /* HelperNameMap.INTERPOLATE */)}(${helper(\"named\" /* HelperNameMap.NAMED */)}(${JSON.stringify(node.key)}))`, node);\n break;\n case 9 /* NodeTypes.Literal */:\n generator.push(JSON.stringify(node.value), node);\n break;\n case 3 /* NodeTypes.Text */:\n generator.push(JSON.stringify(node.value), node);\n break;\n default:\n {\n throw createCompileError(CompileErrorCodes.UNHANDLED_CODEGEN_NODE_TYPE, null, {\n domain: ERROR_DOMAIN,\n args: [node.type]\n });\n }\n }\n}\n// generate code from AST\nconst generate = (ast, options = {} // eslint-disable-line\n) => {\n const mode = isString(options.mode) ? options.mode : 'normal';\n const filename = isString(options.filename)\n ? options.filename\n : 'message.intl';\n const sourceMap = !!options.sourceMap;\n // prettier-ignore\n const breakLineCode = options.breakLineCode != null\n ? options.breakLineCode\n : mode === 'arrow'\n ? ';'\n : '\\n';\n const needIndent = options.needIndent ? options.needIndent : mode !== 'arrow';\n const helpers = ast.helpers || [];\n const generator = createCodeGenerator(ast, {\n mode,\n filename,\n sourceMap,\n breakLineCode,\n needIndent\n });\n generator.push(mode === 'normal' ? `function __msg__ (ctx) {` : `(ctx) => {`);\n generator.indent(needIndent);\n if (helpers.length > 0) {\n generator.push(`const { ${join(helpers.map(s => `${s}: _${s}`), ', ')} } = ctx`);\n generator.newline();\n }\n generator.push(`return `);\n generateNode(generator, ast);\n generator.deindent(needIndent);\n generator.push(`}`);\n delete ast.helpers;\n const { code, map } = generator.context();\n return {\n ast,\n code,\n map: map ? map.toJSON() : undefined // eslint-disable-line @typescript-eslint/no-explicit-any\n };\n};\n\nfunction baseCompile(source, options = {}) {\n const assignedOptions = assign({}, options);\n const jit = !!assignedOptions.jit;\n const enalbeMinify = !!assignedOptions.minify;\n const enambeOptimize = assignedOptions.optimize == null ? true : assignedOptions.optimize;\n // parse source codes\n const parser = createParser(assignedOptions);\n const ast = parser.parse(source);\n if (!jit) {\n // transform ASTs\n transform(ast, assignedOptions);\n // generate javascript codes\n return generate(ast, assignedOptions);\n }\n else {\n // optimize ASTs\n enambeOptimize && optimize(ast);\n // minimize ASTs\n enalbeMinify && minify(ast);\n // In JIT mode, no ast transform, no code generation.\n return { ast, code: '' };\n }\n}\n\nexport { CompileErrorCodes, CompileWarnCodes, ERROR_DOMAIN$2 as ERROR_DOMAIN, LOCATION_STUB, baseCompile, createCompileError, createCompileWarn, createLocation, createParser, createPosition, defaultOnError, detectHtmlTag, errorMessages, warnMessages };\n","/*!\n * core-base v9.14.2\n * (c) 2024 kazuya kawaguchi\n * Released under the MIT License.\n */\nimport { getGlobalThis, isObject, isFunction, isString, create, isNumber, isPlainObject, assign, join, toDisplayString, isArray, incrementer, format as format$1, isPromise, isBoolean, warn, isRegExp, warnOnce, hasOwn, escapeHtml, inBrowser, mark, measure, isEmptyObject, generateCodeFrame, generateFormatCacheKey, isDate } from '@intlify/shared';\nimport { CompileWarnCodes, CompileErrorCodes, createCompileError, detectHtmlTag, defaultOnError, baseCompile as baseCompile$1 } from '@intlify/message-compiler';\nexport { CompileErrorCodes, createCompileError } from '@intlify/message-compiler';\n\n/**\n * This is only called in esm-bundler builds.\n * istanbul-ignore-next\n */\nfunction initFeatureFlags() {\n if (typeof __INTLIFY_PROD_DEVTOOLS__ !== 'boolean') {\n getGlobalThis().__INTLIFY_PROD_DEVTOOLS__ = false;\n }\n if (typeof __INTLIFY_JIT_COMPILATION__ !== 'boolean') {\n getGlobalThis().__INTLIFY_JIT_COMPILATION__ = false;\n }\n if (typeof __INTLIFY_DROP_MESSAGE_COMPILER__ !== 'boolean') {\n getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__ = false;\n }\n}\n\nconst pathStateMachine = [];\npathStateMachine[0 /* States.BEFORE_PATH */] = {\n [\"w\" /* PathCharTypes.WORKSPACE */]: [0 /* States.BEFORE_PATH */],\n [\"i\" /* PathCharTypes.IDENT */]: [3 /* States.IN_IDENT */, 0 /* Actions.APPEND */],\n [\"[\" /* PathCharTypes.LEFT_BRACKET */]: [4 /* States.IN_SUB_PATH */],\n [\"o\" /* PathCharTypes.END_OF_FAIL */]: [7 /* States.AFTER_PATH */]\n};\npathStateMachine[1 /* States.IN_PATH */] = {\n [\"w\" /* PathCharTypes.WORKSPACE */]: [1 /* States.IN_PATH */],\n [\".\" /* PathCharTypes.DOT */]: [2 /* States.BEFORE_IDENT */],\n [\"[\" /* PathCharTypes.LEFT_BRACKET */]: [4 /* States.IN_SUB_PATH */],\n [\"o\" /* PathCharTypes.END_OF_FAIL */]: [7 /* States.AFTER_PATH */]\n};\npathStateMachine[2 /* States.BEFORE_IDENT */] = {\n [\"w\" /* PathCharTypes.WORKSPACE */]: [2 /* States.BEFORE_IDENT */],\n [\"i\" /* PathCharTypes.IDENT */]: [3 /* States.IN_IDENT */, 0 /* Actions.APPEND */],\n [\"0\" /* PathCharTypes.ZERO */]: [3 /* States.IN_IDENT */, 0 /* Actions.APPEND */]\n};\npathStateMachine[3 /* States.IN_IDENT */] = {\n [\"i\" /* PathCharTypes.IDENT */]: [3 /* States.IN_IDENT */, 0 /* Actions.APPEND */],\n [\"0\" /* PathCharTypes.ZERO */]: [3 /* States.IN_IDENT */, 0 /* Actions.APPEND */],\n [\"w\" /* PathCharTypes.WORKSPACE */]: [1 /* States.IN_PATH */, 1 /* Actions.PUSH */],\n [\".\" /* PathCharTypes.DOT */]: [2 /* States.BEFORE_IDENT */, 1 /* Actions.PUSH */],\n [\"[\" /* PathCharTypes.LEFT_BRACKET */]: [4 /* States.IN_SUB_PATH */, 1 /* Actions.PUSH */],\n [\"o\" /* PathCharTypes.END_OF_FAIL */]: [7 /* States.AFTER_PATH */, 1 /* Actions.PUSH */]\n};\npathStateMachine[4 /* States.IN_SUB_PATH */] = {\n [\"'\" /* PathCharTypes.SINGLE_QUOTE */]: [5 /* States.IN_SINGLE_QUOTE */, 0 /* Actions.APPEND */],\n [\"\\\"\" /* PathCharTypes.DOUBLE_QUOTE */]: [6 /* States.IN_DOUBLE_QUOTE */, 0 /* Actions.APPEND */],\n [\"[\" /* PathCharTypes.LEFT_BRACKET */]: [\n 4 /* States.IN_SUB_PATH */,\n 2 /* Actions.INC_SUB_PATH_DEPTH */\n ],\n [\"]\" /* PathCharTypes.RIGHT_BRACKET */]: [1 /* States.IN_PATH */, 3 /* Actions.PUSH_SUB_PATH */],\n [\"o\" /* PathCharTypes.END_OF_FAIL */]: 8 /* States.ERROR */,\n [\"l\" /* PathCharTypes.ELSE */]: [4 /* States.IN_SUB_PATH */, 0 /* Actions.APPEND */]\n};\npathStateMachine[5 /* States.IN_SINGLE_QUOTE */] = {\n [\"'\" /* PathCharTypes.SINGLE_QUOTE */]: [4 /* States.IN_SUB_PATH */, 0 /* Actions.APPEND */],\n [\"o\" /* PathCharTypes.END_OF_FAIL */]: 8 /* States.ERROR */,\n [\"l\" /* PathCharTypes.ELSE */]: [5 /* States.IN_SINGLE_QUOTE */, 0 /* Actions.APPEND */]\n};\npathStateMachine[6 /* States.IN_DOUBLE_QUOTE */] = {\n [\"\\\"\" /* PathCharTypes.DOUBLE_QUOTE */]: [4 /* States.IN_SUB_PATH */, 0 /* Actions.APPEND */],\n [\"o\" /* PathCharTypes.END_OF_FAIL */]: 8 /* States.ERROR */,\n [\"l\" /* PathCharTypes.ELSE */]: [6 /* States.IN_DOUBLE_QUOTE */, 0 /* Actions.APPEND */]\n};\n/**\n * Check if an expression is a literal value.\n */\nconst literalValueRE = /^\\s?(?:true|false|-?[\\d.]+|'[^']*'|\"[^\"]*\")\\s?$/;\nfunction isLiteral(exp) {\n return literalValueRE.test(exp);\n}\n/**\n * Strip quotes from a string\n */\nfunction stripQuotes(str) {\n const a = str.charCodeAt(0);\n const b = str.charCodeAt(str.length - 1);\n return a === b && (a === 0x22 || a === 0x27) ? str.slice(1, -1) : str;\n}\n/**\n * Determine the type of a character in a keypath.\n */\nfunction getPathCharType(ch) {\n if (ch === undefined || ch === null) {\n return \"o\" /* PathCharTypes.END_OF_FAIL */;\n }\n const code = ch.charCodeAt(0);\n switch (code) {\n case 0x5b: // [\n case 0x5d: // ]\n case 0x2e: // .\n case 0x22: // \"\n case 0x27: // '\n return ch;\n case 0x5f: // _\n case 0x24: // $\n case 0x2d: // -\n return \"i\" /* PathCharTypes.IDENT */;\n case 0x09: // Tab (HT)\n case 0x0a: // Newline (LF)\n case 0x0d: // Return (CR)\n case 0xa0: // No-break space (NBSP)\n case 0xfeff: // Byte Order Mark (BOM)\n case 0x2028: // Line Separator (LS)\n case 0x2029: // Paragraph Separator (PS)\n return \"w\" /* PathCharTypes.WORKSPACE */;\n }\n return \"i\" /* PathCharTypes.IDENT */;\n}\n/**\n * Format a subPath, return its plain form if it is\n * a literal string or number. Otherwise prepend the\n * dynamic indicator (*).\n */\nfunction formatSubPath(path) {\n const trimmed = path.trim();\n // invalid leading 0\n if (path.charAt(0) === '0' && isNaN(parseInt(path))) {\n return false;\n }\n return isLiteral(trimmed)\n ? stripQuotes(trimmed)\n : \"*\" /* PathCharTypes.ASTARISK */ + trimmed;\n}\n/**\n * Parse a string path into an array of segments\n */\nfunction parse(path) {\n const keys = [];\n let index = -1;\n let mode = 0 /* States.BEFORE_PATH */;\n let subPathDepth = 0;\n let c;\n let key; // eslint-disable-line\n let newChar;\n let type;\n let transition;\n let action;\n let typeMap;\n const actions = [];\n actions[0 /* Actions.APPEND */] = () => {\n if (key === undefined) {\n key = newChar;\n }\n else {\n key += newChar;\n }\n };\n actions[1 /* Actions.PUSH */] = () => {\n if (key !== undefined) {\n keys.push(key);\n key = undefined;\n }\n };\n actions[2 /* Actions.INC_SUB_PATH_DEPTH */] = () => {\n actions[0 /* Actions.APPEND */]();\n subPathDepth++;\n };\n actions[3 /* Actions.PUSH_SUB_PATH */] = () => {\n if (subPathDepth > 0) {\n subPathDepth--;\n mode = 4 /* States.IN_SUB_PATH */;\n actions[0 /* Actions.APPEND */]();\n }\n else {\n subPathDepth = 0;\n if (key === undefined) {\n return false;\n }\n key = formatSubPath(key);\n if (key === false) {\n return false;\n }\n else {\n actions[1 /* Actions.PUSH */]();\n }\n }\n };\n function maybeUnescapeQuote() {\n const nextChar = path[index + 1];\n if ((mode === 5 /* States.IN_SINGLE_QUOTE */ &&\n nextChar === \"'\" /* PathCharTypes.SINGLE_QUOTE */) ||\n (mode === 6 /* States.IN_DOUBLE_QUOTE */ &&\n nextChar === \"\\\"\" /* PathCharTypes.DOUBLE_QUOTE */)) {\n index++;\n newChar = '\\\\' + nextChar;\n actions[0 /* Actions.APPEND */]();\n return true;\n }\n }\n while (mode !== null) {\n index++;\n c = path[index];\n if (c === '\\\\' && maybeUnescapeQuote()) {\n continue;\n }\n type = getPathCharType(c);\n typeMap = pathStateMachine[mode];\n transition = typeMap[type] || typeMap[\"l\" /* PathCharTypes.ELSE */] || 8 /* States.ERROR */;\n // check parse error\n if (transition === 8 /* States.ERROR */) {\n return;\n }\n mode = transition[0];\n if (transition[1] !== undefined) {\n action = actions[transition[1]];\n if (action) {\n newChar = c;\n if (action() === false) {\n return;\n }\n }\n }\n // check parse finish\n if (mode === 7 /* States.AFTER_PATH */) {\n return keys;\n }\n }\n}\n// path token cache\nconst cache = new Map();\n/**\n * key-value message resolver\n *\n * @remarks\n * Resolves messages with the key-value structure. Note that messages with a hierarchical structure such as objects cannot be resolved\n *\n * @param obj - A target object to be resolved with path\n * @param path - A {@link Path | path} to resolve the value of message\n *\n * @returns A resolved {@link PathValue | path value}\n *\n * @VueI18nGeneral\n */\nfunction resolveWithKeyValue(obj, path) {\n return isObject(obj) ? obj[path] : null;\n}\n/**\n * message resolver\n *\n * @remarks\n * Resolves messages. messages with a hierarchical structure such as objects can be resolved. This resolver is used in VueI18n as default.\n *\n * @param obj - A target object to be resolved with path\n * @param path - A {@link Path | path} to resolve the value of message\n *\n * @returns A resolved {@link PathValue | path value}\n *\n * @VueI18nGeneral\n */\nfunction resolveValue$1(obj, path) {\n // check object\n if (!isObject(obj)) {\n return null;\n }\n // parse path\n let hit = cache.get(path);\n if (!hit) {\n hit = parse(path);\n if (hit) {\n cache.set(path, hit);\n }\n }\n // check hit\n if (!hit) {\n return null;\n }\n // resolve path value\n const len = hit.length;\n let last = obj;\n let i = 0;\n while (i < len) {\n const val = last[hit[i]];\n if (val === undefined) {\n return null;\n }\n if (isFunction(last)) {\n return null;\n }\n last = val;\n i++;\n }\n return last;\n}\n\nconst DEFAULT_MODIFIER = (str) => str;\nconst DEFAULT_MESSAGE = (ctx) => ''; // eslint-disable-line\nconst DEFAULT_MESSAGE_DATA_TYPE = 'text';\nconst DEFAULT_NORMALIZE = (values) => values.length === 0 ? '' : join(values);\nconst DEFAULT_INTERPOLATE = toDisplayString;\nfunction pluralDefault(choice, choicesLength) {\n choice = Math.abs(choice);\n if (choicesLength === 2) {\n // prettier-ignore\n return choice\n ? choice > 1\n ? 1\n : 0\n : 1;\n }\n return choice ? Math.min(choice, 2) : 0;\n}\nfunction getPluralIndex(options) {\n // prettier-ignore\n const index = isNumber(options.pluralIndex)\n ? options.pluralIndex\n : -1;\n // prettier-ignore\n return options.named && (isNumber(options.named.count) || isNumber(options.named.n))\n ? isNumber(options.named.count)\n ? options.named.count\n : isNumber(options.named.n)\n ? options.named.n\n : index\n : index;\n}\nfunction normalizeNamed(pluralIndex, props) {\n if (!props.count) {\n props.count = pluralIndex;\n }\n if (!props.n) {\n props.n = pluralIndex;\n }\n}\nfunction createMessageContext(options = {}) {\n const locale = options.locale;\n const pluralIndex = getPluralIndex(options);\n const pluralRule = isObject(options.pluralRules) &&\n isString(locale) &&\n isFunction(options.pluralRules[locale])\n ? options.pluralRules[locale]\n : pluralDefault;\n const orgPluralRule = isObject(options.pluralRules) &&\n isString(locale) &&\n isFunction(options.pluralRules[locale])\n ? pluralDefault\n : undefined;\n const plural = (messages) => {\n return messages[pluralRule(pluralIndex, messages.length, orgPluralRule)];\n };\n const _list = options.list || [];\n const list = (index) => _list[index];\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const _named = options.named || create();\n isNumber(options.pluralIndex) && normalizeNamed(pluralIndex, _named);\n const named = (key) => _named[key];\n function message(key) {\n // prettier-ignore\n const msg = isFunction(options.messages)\n ? options.messages(key)\n : isObject(options.messages)\n ? options.messages[key]\n : false;\n return !msg\n ? options.parent\n ? options.parent.message(key) // resolve from parent messages\n : DEFAULT_MESSAGE\n : msg;\n }\n const _modifier = (name) => options.modifiers\n ? options.modifiers[name]\n : DEFAULT_MODIFIER;\n const normalize = isPlainObject(options.processor) && isFunction(options.processor.normalize)\n ? options.processor.normalize\n : DEFAULT_NORMALIZE;\n const interpolate = isPlainObject(options.processor) &&\n isFunction(options.processor.interpolate)\n ? options.processor.interpolate\n : DEFAULT_INTERPOLATE;\n const type = isPlainObject(options.processor) && isString(options.processor.type)\n ? options.processor.type\n : DEFAULT_MESSAGE_DATA_TYPE;\n const linked = (key, ...args) => {\n const [arg1, arg2] = args;\n let type = 'text';\n let modifier = '';\n if (args.length === 1) {\n if (isObject(arg1)) {\n modifier = arg1.modifier || modifier;\n type = arg1.type || type;\n }\n else if (isString(arg1)) {\n modifier = arg1 || modifier;\n }\n }\n else if (args.length === 2) {\n if (isString(arg1)) {\n modifier = arg1 || modifier;\n }\n if (isString(arg2)) {\n type = arg2 || type;\n }\n }\n const ret = message(key)(ctx);\n const msg = \n // The message in vnode resolved with linked are returned as an array by processor.nomalize\n type === 'vnode' && isArray(ret) && modifier\n ? ret[0]\n : ret;\n return modifier ? _modifier(modifier)(msg, type) : msg;\n };\n const ctx = {\n [\"list\" /* HelperNameMap.LIST */]: list,\n [\"named\" /* HelperNameMap.NAMED */]: named,\n [\"plural\" /* HelperNameMap.PLURAL */]: plural,\n [\"linked\" /* HelperNameMap.LINKED */]: linked,\n [\"message\" /* HelperNameMap.MESSAGE */]: message,\n [\"type\" /* HelperNameMap.TYPE */]: type,\n [\"interpolate\" /* HelperNameMap.INTERPOLATE */]: interpolate,\n [\"normalize\" /* HelperNameMap.NORMALIZE */]: normalize,\n [\"values\" /* HelperNameMap.VALUES */]: assign(create(), _list, _named)\n };\n return ctx;\n}\n\nlet devtools = null;\nfunction setDevToolsHook(hook) {\n devtools = hook;\n}\nfunction getDevToolsHook() {\n return devtools;\n}\nfunction initI18nDevTools(i18n, version, meta) {\n // TODO: queue if devtools is undefined\n devtools &&\n devtools.emit(\"i18n:init\" /* IntlifyDevToolsHooks.I18nInit */, {\n timestamp: Date.now(),\n i18n,\n version,\n meta\n });\n}\nconst translateDevTools = /* #__PURE__*/ createDevToolsHook(\"function:translate\" /* IntlifyDevToolsHooks.FunctionTranslate */);\nfunction createDevToolsHook(hook) {\n return (payloads) => devtools && devtools.emit(hook, payloads);\n}\n\nconst code$1 = CompileWarnCodes.__EXTEND_POINT__;\nconst inc$1 = incrementer(code$1);\nconst CoreWarnCodes = {\n NOT_FOUND_KEY: code$1, // 2\n FALLBACK_TO_TRANSLATE: inc$1(), // 3\n CANNOT_FORMAT_NUMBER: inc$1(), // 4\n FALLBACK_TO_NUMBER_FORMAT: inc$1(), // 5\n CANNOT_FORMAT_DATE: inc$1(), // 6\n FALLBACK_TO_DATE_FORMAT: inc$1(), // 7\n EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER: inc$1(), // 8\n __EXTEND_POINT__: inc$1() // 9\n};\n/** @internal */\nconst warnMessages = {\n [CoreWarnCodes.NOT_FOUND_KEY]: `Not found '{key}' key in '{locale}' locale messages.`,\n [CoreWarnCodes.FALLBACK_TO_TRANSLATE]: `Fall back to translate '{key}' key with '{target}' locale.`,\n [CoreWarnCodes.CANNOT_FORMAT_NUMBER]: `Cannot format a number value due to not supported Intl.NumberFormat.`,\n [CoreWarnCodes.FALLBACK_TO_NUMBER_FORMAT]: `Fall back to number format '{key}' key with '{target}' locale.`,\n [CoreWarnCodes.CANNOT_FORMAT_DATE]: `Cannot format a date value due to not supported Intl.DateTimeFormat.`,\n [CoreWarnCodes.FALLBACK_TO_DATE_FORMAT]: `Fall back to datetime format '{key}' key with '{target}' locale.`,\n [CoreWarnCodes.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]: `This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future.`\n};\nfunction getWarnMessage(code, ...args) {\n return format$1(warnMessages[code], ...args);\n}\n\nconst code = CompileErrorCodes.__EXTEND_POINT__;\nconst inc = incrementer(code);\nconst CoreErrorCodes = {\n INVALID_ARGUMENT: code, // 17\n INVALID_DATE_ARGUMENT: inc(), // 18\n INVALID_ISO_DATE_ARGUMENT: inc(), // 19\n NOT_SUPPORT_NON_STRING_MESSAGE: inc(), // 20\n NOT_SUPPORT_LOCALE_PROMISE_VALUE: inc(), // 21\n NOT_SUPPORT_LOCALE_ASYNC_FUNCTION: inc(), // 22\n NOT_SUPPORT_LOCALE_TYPE: inc(), // 23\n __EXTEND_POINT__: inc() // 24\n};\nfunction createCoreError(code) {\n return createCompileError(code, null, (process.env.NODE_ENV !== 'production') ? { messages: errorMessages } : undefined);\n}\n/** @internal */\nconst errorMessages = {\n [CoreErrorCodes.INVALID_ARGUMENT]: 'Invalid arguments',\n [CoreErrorCodes.INVALID_DATE_ARGUMENT]: 'The date provided is an invalid Date object.' +\n 'Make sure your Date represents a valid date.',\n [CoreErrorCodes.INVALID_ISO_DATE_ARGUMENT]: 'The argument provided is not a valid ISO date string',\n [CoreErrorCodes.NOT_SUPPORT_NON_STRING_MESSAGE]: 'Not support non-string message',\n [CoreErrorCodes.NOT_SUPPORT_LOCALE_PROMISE_VALUE]: 'cannot support promise value',\n [CoreErrorCodes.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]: 'cannot support async function',\n [CoreErrorCodes.NOT_SUPPORT_LOCALE_TYPE]: 'cannot support locale type'\n};\n\n/** @internal */\nfunction getLocale(context, options) {\n return options.locale != null\n ? resolveLocale(options.locale)\n : resolveLocale(context.locale);\n}\nlet _resolveLocale;\n/** @internal */\nfunction resolveLocale(locale) {\n if (isString(locale)) {\n return locale;\n }\n else {\n if (isFunction(locale)) {\n if (locale.resolvedOnce && _resolveLocale != null) {\n return _resolveLocale;\n }\n else if (locale.constructor.name === 'Function') {\n const resolve = locale();\n if (isPromise(resolve)) {\n throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_PROMISE_VALUE);\n }\n return (_resolveLocale = resolve);\n }\n else {\n throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);\n }\n }\n else {\n throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_TYPE);\n }\n }\n}\n/**\n * Fallback with simple implemenation\n *\n * @remarks\n * A fallback locale function implemented with a simple fallback algorithm.\n *\n * Basically, it returns the value as specified in the `fallbackLocale` props, and is processed with the fallback inside intlify.\n *\n * @param ctx - A {@link CoreContext | context}\n * @param fallback - A {@link FallbackLocale | fallback locale}\n * @param start - A starting {@link Locale | locale}\n *\n * @returns Fallback locales\n *\n * @VueI18nGeneral\n */\nfunction fallbackWithSimple(ctx, fallback, start // eslint-disable-line @typescript-eslint/no-unused-vars\n) {\n // prettier-ignore\n return [...new Set([\n start,\n ...(isArray(fallback)\n ? fallback\n : isObject(fallback)\n ? Object.keys(fallback)\n : isString(fallback)\n ? [fallback]\n : [start])\n ])];\n}\n/**\n * Fallback with locale chain\n *\n * @remarks\n * A fallback locale function implemented with a fallback chain algorithm. It's used in VueI18n as default.\n *\n * @param ctx - A {@link CoreContext | context}\n * @param fallback - A {@link FallbackLocale | fallback locale}\n * @param start - A starting {@link Locale | locale}\n *\n * @returns Fallback locales\n *\n * @VueI18nSee [Fallbacking](../guide/essentials/fallback)\n *\n * @VueI18nGeneral\n */\nfunction fallbackWithLocaleChain(ctx, fallback, start) {\n const startLocale = isString(start) ? start : DEFAULT_LOCALE;\n const context = ctx;\n if (!context.__localeChainCache) {\n context.__localeChainCache = new Map();\n }\n let chain = context.__localeChainCache.get(startLocale);\n if (!chain) {\n chain = [];\n // first block defined by start\n let block = [start];\n // while any intervening block found\n while (isArray(block)) {\n block = appendBlockToChain(chain, block, fallback);\n }\n // prettier-ignore\n // last block defined by default\n const defaults = isArray(fallback) || !isPlainObject(fallback)\n ? fallback\n : fallback['default']\n ? fallback['default']\n : null;\n // convert defaults to array\n block = isString(defaults) ? [defaults] : defaults;\n if (isArray(block)) {\n appendBlockToChain(chain, block, false);\n }\n context.__localeChainCache.set(startLocale, chain);\n }\n return chain;\n}\nfunction appendBlockToChain(chain, block, blocks) {\n let follow = true;\n for (let i = 0; i < block.length && isBoolean(follow); i++) {\n const locale = block[i];\n if (isString(locale)) {\n follow = appendLocaleToChain(chain, block[i], blocks);\n }\n }\n return follow;\n}\nfunction appendLocaleToChain(chain, locale, blocks) {\n let follow;\n const tokens = locale.split('-');\n do {\n const target = tokens.join('-');\n follow = appendItemToChain(chain, target, blocks);\n tokens.splice(-1, 1);\n } while (tokens.length && follow === true);\n return follow;\n}\nfunction appendItemToChain(chain, target, blocks) {\n let follow = false;\n if (!chain.includes(target)) {\n follow = true;\n if (target) {\n follow = target[target.length - 1] !== '!';\n const locale = target.replace(/!/g, '');\n chain.push(locale);\n if ((isArray(blocks) || isPlainObject(blocks)) &&\n blocks[locale] // eslint-disable-line @typescript-eslint/no-explicit-any\n ) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n follow = blocks[locale];\n }\n }\n }\n return follow;\n}\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/**\n * Intlify core-base version\n * @internal\n */\nconst VERSION = '9.14.2';\nconst NOT_REOSLVED = -1;\nconst DEFAULT_LOCALE = 'en-US';\nconst MISSING_RESOLVE_VALUE = '';\nconst capitalize = (str) => `${str.charAt(0).toLocaleUpperCase()}${str.substr(1)}`;\nfunction getDefaultLinkedModifiers() {\n return {\n upper: (val, type) => {\n // prettier-ignore\n return type === 'text' && isString(val)\n ? val.toUpperCase()\n : type === 'vnode' && isObject(val) && '__v_isVNode' in val\n ? val.children.toUpperCase()\n : val;\n },\n lower: (val, type) => {\n // prettier-ignore\n return type === 'text' && isString(val)\n ? val.toLowerCase()\n : type === 'vnode' && isObject(val) && '__v_isVNode' in val\n ? val.children.toLowerCase()\n : val;\n },\n capitalize: (val, type) => {\n // prettier-ignore\n return (type === 'text' && isString(val)\n ? capitalize(val)\n : type === 'vnode' && isObject(val) && '__v_isVNode' in val\n ? capitalize(val.children)\n : val);\n }\n };\n}\nlet _compiler;\nfunction registerMessageCompiler(compiler) {\n _compiler = compiler;\n}\nlet _resolver;\n/**\n * Register the message resolver\n *\n * @param resolver - A {@link MessageResolver} function\n *\n * @VueI18nGeneral\n */\nfunction registerMessageResolver(resolver) {\n _resolver = resolver;\n}\nlet _fallbacker;\n/**\n * Register the locale fallbacker\n *\n * @param fallbacker - A {@link LocaleFallbacker} function\n *\n * @VueI18nGeneral\n */\nfunction registerLocaleFallbacker(fallbacker) {\n _fallbacker = fallbacker;\n}\n// Additional Meta for Intlify DevTools\nlet _additionalMeta = null;\n/* #__NO_SIDE_EFFECTS__ */\nconst setAdditionalMeta = (meta) => {\n _additionalMeta = meta;\n};\n/* #__NO_SIDE_EFFECTS__ */\nconst getAdditionalMeta = () => _additionalMeta;\nlet _fallbackContext = null;\nconst setFallbackContext = (context) => {\n _fallbackContext = context;\n};\nconst getFallbackContext = () => _fallbackContext;\n// ID for CoreContext\nlet _cid = 0;\nfunction createCoreContext(options = {}) {\n // setup options\n const onWarn = isFunction(options.onWarn) ? options.onWarn : warn;\n const version = isString(options.version) ? options.version : VERSION;\n const locale = isString(options.locale) || isFunction(options.locale)\n ? options.locale\n : DEFAULT_LOCALE;\n const _locale = isFunction(locale) ? DEFAULT_LOCALE : locale;\n const fallbackLocale = isArray(options.fallbackLocale) ||\n isPlainObject(options.fallbackLocale) ||\n isString(options.fallbackLocale) ||\n options.fallbackLocale === false\n ? options.fallbackLocale\n : _locale;\n const messages = isPlainObject(options.messages)\n ? options.messages\n : createResources(_locale);\n const datetimeFormats = isPlainObject(options.datetimeFormats)\n ? options.datetimeFormats\n : createResources(_locale)\n ;\n const numberFormats = isPlainObject(options.numberFormats)\n ? options.numberFormats\n : createResources(_locale)\n ;\n const modifiers = assign(create(), options.modifiers, getDefaultLinkedModifiers());\n const pluralRules = options.pluralRules || create();\n const missing = isFunction(options.missing) ? options.missing : null;\n const missingWarn = isBoolean(options.missingWarn) || isRegExp(options.missingWarn)\n ? options.missingWarn\n : true;\n const fallbackWarn = isBoolean(options.fallbackWarn) || isRegExp(options.fallbackWarn)\n ? options.fallbackWarn\n : true;\n const fallbackFormat = !!options.fallbackFormat;\n const unresolving = !!options.unresolving;\n const postTranslation = isFunction(options.postTranslation)\n ? options.postTranslation\n : null;\n const processor = isPlainObject(options.processor) ? options.processor : null;\n const warnHtmlMessage = isBoolean(options.warnHtmlMessage)\n ? options.warnHtmlMessage\n : true;\n const escapeParameter = !!options.escapeParameter;\n const messageCompiler = isFunction(options.messageCompiler)\n ? options.messageCompiler\n : _compiler;\n if ((process.env.NODE_ENV !== 'production') &&\n !false &&\n !false &&\n isFunction(options.messageCompiler)) {\n warnOnce(getWarnMessage(CoreWarnCodes.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));\n }\n const messageResolver = isFunction(options.messageResolver)\n ? options.messageResolver\n : _resolver || resolveWithKeyValue;\n const localeFallbacker = isFunction(options.localeFallbacker)\n ? options.localeFallbacker\n : _fallbacker || fallbackWithSimple;\n const fallbackContext = isObject(options.fallbackContext)\n ? options.fallbackContext\n : undefined;\n // setup internal options\n const internalOptions = options;\n const __datetimeFormatters = isObject(internalOptions.__datetimeFormatters)\n ? internalOptions.__datetimeFormatters\n : new Map()\n ;\n const __numberFormatters = isObject(internalOptions.__numberFormatters)\n ? internalOptions.__numberFormatters\n : new Map()\n ;\n const __meta = isObject(internalOptions.__meta) ? internalOptions.__meta : {};\n _cid++;\n const context = {\n version,\n cid: _cid,\n locale,\n fallbackLocale,\n messages,\n modifiers,\n pluralRules,\n missing,\n missingWarn,\n fallbackWarn,\n fallbackFormat,\n unresolving,\n postTranslation,\n processor,\n warnHtmlMessage,\n escapeParameter,\n messageCompiler,\n messageResolver,\n localeFallbacker,\n fallbackContext,\n onWarn,\n __meta\n };\n {\n context.datetimeFormats = datetimeFormats;\n context.numberFormats = numberFormats;\n context.__datetimeFormatters = __datetimeFormatters;\n context.__numberFormatters = __numberFormatters;\n }\n // for vue-devtools timeline event\n if ((process.env.NODE_ENV !== 'production')) {\n context.__v_emitter =\n internalOptions.__v_emitter != null\n ? internalOptions.__v_emitter\n : undefined;\n }\n // NOTE: experimental !!\n if ((process.env.NODE_ENV !== 'production') || __INTLIFY_PROD_DEVTOOLS__) {\n initI18nDevTools(context, version, __meta);\n }\n return context;\n}\nconst createResources = (locale) => ({ [locale]: create() });\n/** @internal */\nfunction isTranslateFallbackWarn(fallback, key) {\n return fallback instanceof RegExp ? fallback.test(key) : fallback;\n}\n/** @internal */\nfunction isTranslateMissingWarn(missing, key) {\n return missing instanceof RegExp ? missing.test(key) : missing;\n}\n/** @internal */\nfunction handleMissing(context, key, locale, missingWarn, type) {\n const { missing, onWarn } = context;\n // for vue-devtools timeline event\n if ((process.env.NODE_ENV !== 'production')) {\n const emitter = context.__v_emitter;\n if (emitter) {\n emitter.emit(\"missing\" /* VueDevToolsTimelineEvents.MISSING */, {\n locale,\n key,\n type,\n groupId: `${type}:${key}`\n });\n }\n }\n if (missing !== null) {\n const ret = missing(context, locale, key, type);\n return isString(ret) ? ret : key;\n }\n else {\n if ((process.env.NODE_ENV !== 'production') && isTranslateMissingWarn(missingWarn, key)) {\n onWarn(getWarnMessage(CoreWarnCodes.NOT_FOUND_KEY, { key, locale }));\n }\n return key;\n }\n}\n/** @internal */\nfunction updateFallbackLocale(ctx, locale, fallback) {\n const context = ctx;\n context.__localeChainCache = new Map();\n ctx.localeFallbacker(ctx, fallback, locale);\n}\n/** @internal */\nfunction isAlmostSameLocale(locale, compareLocale) {\n if (locale === compareLocale)\n return false;\n return locale.split('-')[0] === compareLocale.split('-')[0];\n}\n/** @internal */\nfunction isImplicitFallback(targetLocale, locales) {\n const index = locales.indexOf(targetLocale);\n if (index === -1) {\n return false;\n }\n for (let i = index + 1; i < locales.length; i++) {\n if (isAlmostSameLocale(targetLocale, locales[i])) {\n return true;\n }\n }\n return false;\n}\n/* eslint-enable @typescript-eslint/no-explicit-any */\n\nfunction format(ast) {\n const msg = (ctx) => formatParts(ctx, ast);\n return msg;\n}\nfunction formatParts(ctx, ast) {\n const body = resolveBody(ast);\n if (body == null) {\n throw createUnhandleNodeError(0 /* NodeTypes.Resource */);\n }\n const type = resolveType(body);\n if (type === 1 /* NodeTypes.Plural */) {\n const plural = body;\n const cases = resolveCases(plural);\n return ctx.plural(cases.reduce((messages, c) => [\n ...messages,\n formatMessageParts(ctx, c)\n ], []));\n }\n else {\n return formatMessageParts(ctx, body);\n }\n}\nconst PROPS_BODY = ['b', 'body'];\nfunction resolveBody(node) {\n return resolveProps(node, PROPS_BODY);\n}\nconst PROPS_CASES = ['c', 'cases'];\nfunction resolveCases(node) {\n return resolveProps(node, PROPS_CASES, []);\n}\nfunction formatMessageParts(ctx, node) {\n const static_ = resolveStatic(node);\n if (static_ != null) {\n return ctx.type === 'text'\n ? static_\n : ctx.normalize([static_]);\n }\n else {\n const messages = resolveItems(node).reduce((acm, c) => [...acm, formatMessagePart(ctx, c)], []);\n return ctx.normalize(messages);\n }\n}\nconst PROPS_STATIC = ['s', 'static'];\nfunction resolveStatic(node) {\n return resolveProps(node, PROPS_STATIC);\n}\nconst PROPS_ITEMS = ['i', 'items'];\nfunction resolveItems(node) {\n return resolveProps(node, PROPS_ITEMS, []);\n}\nfunction formatMessagePart(ctx, node) {\n const type = resolveType(node);\n switch (type) {\n case 3 /* NodeTypes.Text */: {\n return resolveValue(node, type);\n }\n case 9 /* NodeTypes.Literal */: {\n return resolveValue(node, type);\n }\n case 4 /* NodeTypes.Named */: {\n const named = node;\n if (hasOwn(named, 'k') && named.k) {\n return ctx.interpolate(ctx.named(named.k));\n }\n if (hasOwn(named, 'key') && named.key) {\n return ctx.interpolate(ctx.named(named.key));\n }\n throw createUnhandleNodeError(type);\n }\n case 5 /* NodeTypes.List */: {\n const list = node;\n if (hasOwn(list, 'i') && isNumber(list.i)) {\n return ctx.interpolate(ctx.list(list.i));\n }\n if (hasOwn(list, 'index') && isNumber(list.index)) {\n return ctx.interpolate(ctx.list(list.index));\n }\n throw createUnhandleNodeError(type);\n }\n case 6 /* NodeTypes.Linked */: {\n const linked = node;\n const modifier = resolveLinkedModifier(linked);\n const key = resolveLinkedKey(linked);\n return ctx.linked(formatMessagePart(ctx, key), modifier ? formatMessagePart(ctx, modifier) : undefined, ctx.type);\n }\n case 7 /* NodeTypes.LinkedKey */: {\n return resolveValue(node, type);\n }\n case 8 /* NodeTypes.LinkedModifier */: {\n return resolveValue(node, type);\n }\n default:\n throw new Error(`unhandled node on format message part: ${type}`);\n }\n}\nconst PROPS_TYPE = ['t', 'type'];\nfunction resolveType(node) {\n return resolveProps(node, PROPS_TYPE);\n}\nconst PROPS_VALUE = ['v', 'value'];\nfunction resolveValue(node, type) {\n const resolved = resolveProps(node, PROPS_VALUE);\n if (resolved) {\n return resolved;\n }\n else {\n throw createUnhandleNodeError(type);\n }\n}\nconst PROPS_MODIFIER = ['m', 'modifier'];\nfunction resolveLinkedModifier(node) {\n return resolveProps(node, PROPS_MODIFIER);\n}\nconst PROPS_KEY = ['k', 'key'];\nfunction resolveLinkedKey(node) {\n const resolved = resolveProps(node, PROPS_KEY);\n if (resolved) {\n return resolved;\n }\n else {\n throw createUnhandleNodeError(6 /* NodeTypes.Linked */);\n }\n}\nfunction resolveProps(node, props, defaultValue) {\n for (let i = 0; i < props.length; i++) {\n const prop = props[i];\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n if (hasOwn(node, prop) && node[prop] != null) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return node[prop];\n }\n }\n return defaultValue;\n}\nfunction createUnhandleNodeError(type) {\n return new Error(`unhandled node type: ${type}`);\n}\n\nconst WARN_MESSAGE = `Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.`;\nfunction checkHtmlMessage(source, warnHtmlMessage) {\n if (warnHtmlMessage && detectHtmlTag(source)) {\n warn(format$1(WARN_MESSAGE, { source }));\n }\n}\nconst defaultOnCacheKey = (message) => message;\nlet compileCache = create();\nfunction onCompileWarn(_warn) {\n if (_warn.code === CompileWarnCodes.USE_MODULO_SYNTAX) {\n warn(`The use of named interpolation with modulo syntax is deprecated. ` +\n `It will be removed in v10.\\n` +\n `reference: https://vue-i18n.intlify.dev/guide/essentials/syntax#rails-i18n-format \\n` +\n `(message compiler warning message: ${_warn.message})`);\n }\n}\nfunction clearCompileCache() {\n compileCache = create();\n}\nfunction isMessageAST(val) {\n return (isObject(val) &&\n resolveType(val) === 0 &&\n (hasOwn(val, 'b') || hasOwn(val, 'body')));\n}\nfunction baseCompile(message, options = {}) {\n // error detecting on compile\n let detectError = false;\n const onError = options.onError || defaultOnError;\n options.onError = (err) => {\n detectError = true;\n onError(err);\n };\n // compile with mesasge-compiler\n return { ...baseCompile$1(message, options), detectError };\n}\n/* #__NO_SIDE_EFFECTS__ */\nconst compileToFunction = (message, context) => {\n if (!isString(message)) {\n throw createCoreError(CoreErrorCodes.NOT_SUPPORT_NON_STRING_MESSAGE);\n }\n // set onWarn\n if ((process.env.NODE_ENV !== 'production')) {\n context.onWarn = onCompileWarn;\n }\n {\n // check HTML message\n const warnHtmlMessage = isBoolean(context.warnHtmlMessage)\n ? context.warnHtmlMessage\n : true;\n (process.env.NODE_ENV !== 'production') && checkHtmlMessage(message, warnHtmlMessage);\n // check caches\n const onCacheKey = context.onCacheKey || defaultOnCacheKey;\n const cacheKey = onCacheKey(message);\n const cached = compileCache[cacheKey];\n if (cached) {\n return cached;\n }\n // compile\n const { code, detectError } = baseCompile(message, context);\n // evaluate function\n const msg = new Function(`return ${code}`)();\n // if occurred compile error, don't cache\n return !detectError\n ? (compileCache[cacheKey] = msg)\n : msg;\n }\n};\nfunction compile(message, context) {\n // set onWarn\n if ((process.env.NODE_ENV !== 'production')) {\n context.onWarn = onCompileWarn;\n }\n if (((__INTLIFY_JIT_COMPILATION__ && !__INTLIFY_DROP_MESSAGE_COMPILER__)) &&\n isString(message)) {\n // check HTML message\n const warnHtmlMessage = isBoolean(context.warnHtmlMessage)\n ? context.warnHtmlMessage\n : true;\n (process.env.NODE_ENV !== 'production') && checkHtmlMessage(message, warnHtmlMessage);\n // check caches\n const onCacheKey = context.onCacheKey || defaultOnCacheKey;\n const cacheKey = onCacheKey(message);\n const cached = compileCache[cacheKey];\n if (cached) {\n return cached;\n }\n // compile with JIT mode\n const { ast, detectError } = baseCompile(message, {\n ...context,\n location: (process.env.NODE_ENV !== 'production'),\n jit: true\n });\n // compose message function from AST\n const msg = format(ast);\n // if occurred compile error, don't cache\n return !detectError\n ? (compileCache[cacheKey] = msg)\n : msg;\n }\n else {\n if ((process.env.NODE_ENV !== 'production') && !isMessageAST(message)) {\n warn(`the message that is resolve with key '${context.key}' is not supported for jit compilation`);\n return (() => message);\n }\n // AST case (passed from bundler)\n const cacheKey = message.cacheKey;\n if (cacheKey) {\n const cached = compileCache[cacheKey];\n if (cached) {\n return cached;\n }\n // compose message function from message (AST)\n return (compileCache[cacheKey] =\n format(message));\n }\n else {\n return format(message);\n }\n }\n}\n\nconst NOOP_MESSAGE_FUNCTION = () => '';\nconst isMessageFunction = (val) => isFunction(val);\n// implementation of `translate` function\nfunction translate(context, ...args) {\n const { fallbackFormat, postTranslation, unresolving, messageCompiler, fallbackLocale, messages } = context;\n const [key, options] = parseTranslateArgs(...args);\n const missingWarn = isBoolean(options.missingWarn)\n ? options.missingWarn\n : context.missingWarn;\n const fallbackWarn = isBoolean(options.fallbackWarn)\n ? options.fallbackWarn\n : context.fallbackWarn;\n const escapeParameter = isBoolean(options.escapeParameter)\n ? options.escapeParameter\n : context.escapeParameter;\n const resolvedMessage = !!options.resolvedMessage;\n // prettier-ignore\n const defaultMsgOrKey = isString(options.default) || isBoolean(options.default) // default by function option\n ? !isBoolean(options.default)\n ? options.default\n : (!messageCompiler ? () => key : key)\n : fallbackFormat // default by `fallbackFormat` option\n ? (!messageCompiler ? () => key : key)\n : '';\n const enableDefaultMsg = fallbackFormat || defaultMsgOrKey !== '';\n const locale = getLocale(context, options);\n // escape params\n escapeParameter && escapeParams(options);\n // resolve message format\n // eslint-disable-next-line prefer-const\n let [formatScope, targetLocale, message] = !resolvedMessage\n ? resolveMessageFormat(context, key, locale, fallbackLocale, fallbackWarn, missingWarn)\n : [\n key,\n locale,\n messages[locale] || create()\n ];\n // NOTE:\n // Fix to work around `ssrTransfrom` bug in Vite.\n // https://github.com/vitejs/vite/issues/4306\n // To get around this, use temporary variables.\n // https://github.com/nuxt/framework/issues/1461#issuecomment-954606243\n let format = formatScope;\n // if you use default message, set it as message format!\n let cacheBaseKey = key;\n if (!resolvedMessage &&\n !(isString(format) ||\n isMessageAST(format) ||\n isMessageFunction(format))) {\n if (enableDefaultMsg) {\n format = defaultMsgOrKey;\n cacheBaseKey = format;\n }\n }\n // checking message format and target locale\n if (!resolvedMessage &&\n (!(isString(format) ||\n isMessageAST(format) ||\n isMessageFunction(format)) ||\n !isString(targetLocale))) {\n return unresolving ? NOT_REOSLVED : key;\n }\n // TODO: refactor\n if ((process.env.NODE_ENV !== 'production') && isString(format) && context.messageCompiler == null) {\n warn(`The message format compilation is not supported in this build. ` +\n `Because message compiler isn't included. ` +\n `You need to pre-compilation all message format. ` +\n `So translate function return '${key}'.`);\n return key;\n }\n // setup compile error detecting\n let occurred = false;\n const onError = () => {\n occurred = true;\n };\n // compile message format\n const msg = !isMessageFunction(format)\n ? compileMessageFormat(context, key, targetLocale, format, cacheBaseKey, onError)\n : format;\n // if occurred compile error, return the message format\n if (occurred) {\n return format;\n }\n // evaluate message with context\n const ctxOptions = getMessageContextOptions(context, targetLocale, message, options);\n const msgContext = createMessageContext(ctxOptions);\n const messaged = evaluateMessage(context, msg, msgContext);\n // if use post translation option, proceed it with handler\n const ret = postTranslation\n ? postTranslation(messaged, key)\n : messaged;\n // NOTE: experimental !!\n if ((process.env.NODE_ENV !== 'production') || __INTLIFY_PROD_DEVTOOLS__) {\n // prettier-ignore\n const payloads = {\n timestamp: Date.now(),\n key: isString(key)\n ? key\n : isMessageFunction(format)\n ? format.key\n : '',\n locale: targetLocale || (isMessageFunction(format)\n ? format.locale\n : ''),\n format: isString(format)\n ? format\n : isMessageFunction(format)\n ? format.source\n : '',\n message: ret\n };\n payloads.meta = assign({}, context.__meta, getAdditionalMeta() || {});\n translateDevTools(payloads);\n }\n return ret;\n}\nfunction escapeParams(options) {\n if (isArray(options.list)) {\n options.list = options.list.map(item => isString(item) ? escapeHtml(item) : item);\n }\n else if (isObject(options.named)) {\n Object.keys(options.named).forEach(key => {\n if (isString(options.named[key])) {\n options.named[key] = escapeHtml(options.named[key]);\n }\n });\n }\n}\nfunction resolveMessageFormat(context, key, locale, fallbackLocale, fallbackWarn, missingWarn) {\n const { messages, onWarn, messageResolver: resolveValue, localeFallbacker } = context;\n const locales = localeFallbacker(context, fallbackLocale, locale); // eslint-disable-line @typescript-eslint/no-explicit-any\n let message = create();\n let targetLocale;\n let format = null;\n let from = locale;\n let to = null;\n const type = 'translate';\n for (let i = 0; i < locales.length; i++) {\n targetLocale = to = locales[i];\n if ((process.env.NODE_ENV !== 'production') &&\n locale !== targetLocale &&\n !isAlmostSameLocale(locale, targetLocale) &&\n isTranslateFallbackWarn(fallbackWarn, key)) {\n onWarn(getWarnMessage(CoreWarnCodes.FALLBACK_TO_TRANSLATE, {\n key,\n target: targetLocale\n }));\n }\n // for vue-devtools timeline event\n if ((process.env.NODE_ENV !== 'production') && locale !== targetLocale) {\n const emitter = context.__v_emitter;\n if (emitter) {\n emitter.emit(\"fallback\" /* VueDevToolsTimelineEvents.FALBACK */, {\n type,\n key,\n from,\n to,\n groupId: `${type}:${key}`\n });\n }\n }\n message =\n messages[targetLocale] || create();\n // for vue-devtools timeline event\n let start = null;\n let startTag;\n let endTag;\n if ((process.env.NODE_ENV !== 'production') && inBrowser) {\n start = window.performance.now();\n startTag = 'intlify-message-resolve-start';\n endTag = 'intlify-message-resolve-end';\n mark && mark(startTag);\n }\n if ((format = resolveValue(message, key)) === null) {\n // if null, resolve with object key path\n format = message[key]; // eslint-disable-line @typescript-eslint/no-explicit-any\n }\n // for vue-devtools timeline event\n if ((process.env.NODE_ENV !== 'production') && inBrowser) {\n const end = window.performance.now();\n const emitter = context.__v_emitter;\n if (emitter && start && format) {\n emitter.emit(\"message-resolve\" /* VueDevToolsTimelineEvents.MESSAGE_RESOLVE */, {\n type: \"message-resolve\" /* VueDevToolsTimelineEvents.MESSAGE_RESOLVE */,\n key,\n message: format,\n time: end - start,\n groupId: `${type}:${key}`\n });\n }\n if (startTag && endTag && mark && measure) {\n mark(endTag);\n measure('intlify message resolve', startTag, endTag);\n }\n }\n if (isString(format) || isMessageAST(format) || isMessageFunction(format)) {\n break;\n }\n if (!isImplicitFallback(targetLocale, locales)) {\n const missingRet = handleMissing(context, // eslint-disable-line @typescript-eslint/no-explicit-any\n key, targetLocale, missingWarn, type);\n if (missingRet !== key) {\n format = missingRet;\n }\n }\n from = to;\n }\n return [format, targetLocale, message];\n}\nfunction compileMessageFormat(context, key, targetLocale, format, cacheBaseKey, onError) {\n const { messageCompiler, warnHtmlMessage } = context;\n if (isMessageFunction(format)) {\n const msg = format;\n msg.locale = msg.locale || targetLocale;\n msg.key = msg.key || key;\n return msg;\n }\n if (messageCompiler == null) {\n const msg = (() => format);\n msg.locale = targetLocale;\n msg.key = key;\n return msg;\n }\n // for vue-devtools timeline event\n let start = null;\n let startTag;\n let endTag;\n if ((process.env.NODE_ENV !== 'production') && inBrowser) {\n start = window.performance.now();\n startTag = 'intlify-message-compilation-start';\n endTag = 'intlify-message-compilation-end';\n mark && mark(startTag);\n }\n const msg = messageCompiler(format, getCompileContext(context, targetLocale, cacheBaseKey, format, warnHtmlMessage, onError));\n // for vue-devtools timeline event\n if ((process.env.NODE_ENV !== 'production') && inBrowser) {\n const end = window.performance.now();\n const emitter = context.__v_emitter;\n if (emitter && start) {\n emitter.emit(\"message-compilation\" /* VueDevToolsTimelineEvents.MESSAGE_COMPILATION */, {\n type: \"message-compilation\" /* VueDevToolsTimelineEvents.MESSAGE_COMPILATION */,\n message: format,\n time: end - start,\n groupId: `${'translate'}:${key}`\n });\n }\n if (startTag && endTag && mark && measure) {\n mark(endTag);\n measure('intlify message compilation', startTag, endTag);\n }\n }\n msg.locale = targetLocale;\n msg.key = key;\n msg.source = format;\n return msg;\n}\nfunction evaluateMessage(context, msg, msgCtx) {\n // for vue-devtools timeline event\n let start = null;\n let startTag;\n let endTag;\n if ((process.env.NODE_ENV !== 'production') && inBrowser) {\n start = window.performance.now();\n startTag = 'intlify-message-evaluation-start';\n endTag = 'intlify-message-evaluation-end';\n mark && mark(startTag);\n }\n const messaged = msg(msgCtx);\n // for vue-devtools timeline event\n if ((process.env.NODE_ENV !== 'production') && inBrowser) {\n const end = window.performance.now();\n const emitter = context.__v_emitter;\n if (emitter && start) {\n emitter.emit(\"message-evaluation\" /* VueDevToolsTimelineEvents.MESSAGE_EVALUATION */, {\n type: \"message-evaluation\" /* VueDevToolsTimelineEvents.MESSAGE_EVALUATION */,\n value: messaged,\n time: end - start,\n groupId: `${'translate'}:${msg.key}`\n });\n }\n if (startTag && endTag && mark && measure) {\n mark(endTag);\n measure('intlify message evaluation', startTag, endTag);\n }\n }\n return messaged;\n}\n/** @internal */\nfunction parseTranslateArgs(...args) {\n const [arg1, arg2, arg3] = args;\n const options = create();\n if (!isString(arg1) &&\n !isNumber(arg1) &&\n !isMessageFunction(arg1) &&\n !isMessageAST(arg1)) {\n throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);\n }\n // prettier-ignore\n const key = isNumber(arg1)\n ? String(arg1)\n : isMessageFunction(arg1)\n ? arg1\n : arg1;\n if (isNumber(arg2)) {\n options.plural = arg2;\n }\n else if (isString(arg2)) {\n options.default = arg2;\n }\n else if (isPlainObject(arg2) && !isEmptyObject(arg2)) {\n options.named = arg2;\n }\n else if (isArray(arg2)) {\n options.list = arg2;\n }\n if (isNumber(arg3)) {\n options.plural = arg3;\n }\n else if (isString(arg3)) {\n options.default = arg3;\n }\n else if (isPlainObject(arg3)) {\n assign(options, arg3);\n }\n return [key, options];\n}\nfunction getCompileContext(context, locale, key, source, warnHtmlMessage, onError) {\n return {\n locale,\n key,\n warnHtmlMessage,\n onError: (err) => {\n onError && onError(err);\n if ((process.env.NODE_ENV !== 'production')) {\n const _source = getSourceForCodeFrame(source);\n const message = `Message compilation error: ${err.message}`;\n const codeFrame = err.location &&\n _source &&\n generateCodeFrame(_source, err.location.start.offset, err.location.end.offset);\n const emitter = context.__v_emitter;\n if (emitter && _source) {\n emitter.emit(\"compile-error\" /* VueDevToolsTimelineEvents.COMPILE_ERROR */, {\n message: _source,\n error: err.message,\n start: err.location && err.location.start.offset,\n end: err.location && err.location.end.offset,\n groupId: `${'translate'}:${key}`\n });\n }\n console.error(codeFrame ? `${message}\\n${codeFrame}` : message);\n }\n else {\n throw err;\n }\n },\n onCacheKey: (source) => generateFormatCacheKey(locale, key, source)\n };\n}\nfunction getSourceForCodeFrame(source) {\n if (isString(source)) {\n return source;\n }\n else {\n if (source.loc && source.loc.source) {\n return source.loc.source;\n }\n }\n}\nfunction getMessageContextOptions(context, locale, message, options) {\n const { modifiers, pluralRules, messageResolver: resolveValue, fallbackLocale, fallbackWarn, missingWarn, fallbackContext } = context;\n const resolveMessage = (key) => {\n let val = resolveValue(message, key);\n // fallback to root context\n if (val == null && fallbackContext) {\n const [, , message] = resolveMessageFormat(fallbackContext, key, locale, fallbackLocale, fallbackWarn, missingWarn);\n val = resolveValue(message, key);\n }\n if (isString(val) || isMessageAST(val)) {\n let occurred = false;\n const onError = () => {\n occurred = true;\n };\n const msg = compileMessageFormat(context, key, locale, val, key, onError);\n return !occurred\n ? msg\n : NOOP_MESSAGE_FUNCTION;\n }\n else if (isMessageFunction(val)) {\n return val;\n }\n else {\n // TODO: should be implemented warning message\n return NOOP_MESSAGE_FUNCTION;\n }\n };\n const ctxOptions = {\n locale,\n modifiers,\n pluralRules,\n messages: resolveMessage\n };\n if (context.processor) {\n ctxOptions.processor = context.processor;\n }\n if (options.list) {\n ctxOptions.list = options.list;\n }\n if (options.named) {\n ctxOptions.named = options.named;\n }\n if (isNumber(options.plural)) {\n ctxOptions.pluralIndex = options.plural;\n }\n return ctxOptions;\n}\n\nconst intlDefined = typeof Intl !== 'undefined';\nconst Availabilities = {\n dateTimeFormat: intlDefined && typeof Intl.DateTimeFormat !== 'undefined',\n numberFormat: intlDefined && typeof Intl.NumberFormat !== 'undefined'\n};\n\n// implementation of `datetime` function\nfunction datetime(context, ...args) {\n const { datetimeFormats, unresolving, fallbackLocale, onWarn, localeFallbacker } = context;\n const { __datetimeFormatters } = context;\n if ((process.env.NODE_ENV !== 'production') && !Availabilities.dateTimeFormat) {\n onWarn(getWarnMessage(CoreWarnCodes.CANNOT_FORMAT_DATE));\n return MISSING_RESOLVE_VALUE;\n }\n const [key, value, options, overrides] = parseDateTimeArgs(...args);\n const missingWarn = isBoolean(options.missingWarn)\n ? options.missingWarn\n : context.missingWarn;\n const fallbackWarn = isBoolean(options.fallbackWarn)\n ? options.fallbackWarn\n : context.fallbackWarn;\n const part = !!options.part;\n const locale = getLocale(context, options);\n const locales = localeFallbacker(context, // eslint-disable-line @typescript-eslint/no-explicit-any\n fallbackLocale, locale);\n if (!isString(key) || key === '') {\n return new Intl.DateTimeFormat(locale, overrides).format(value);\n }\n // resolve format\n let datetimeFormat = {};\n let targetLocale;\n let format = null;\n let from = locale;\n let to = null;\n const type = 'datetime format';\n for (let i = 0; i < locales.length; i++) {\n targetLocale = to = locales[i];\n if ((process.env.NODE_ENV !== 'production') &&\n locale !== targetLocale &&\n isTranslateFallbackWarn(fallbackWarn, key)) {\n onWarn(getWarnMessage(CoreWarnCodes.FALLBACK_TO_DATE_FORMAT, {\n key,\n target: targetLocale\n }));\n }\n // for vue-devtools timeline event\n if ((process.env.NODE_ENV !== 'production') && locale !== targetLocale) {\n const emitter = context.__v_emitter;\n if (emitter) {\n emitter.emit(\"fallback\" /* VueDevToolsTimelineEvents.FALBACK */, {\n type,\n key,\n from,\n to,\n groupId: `${type}:${key}`\n });\n }\n }\n datetimeFormat =\n datetimeFormats[targetLocale] || {};\n format = datetimeFormat[key];\n if (isPlainObject(format))\n break;\n handleMissing(context, key, targetLocale, missingWarn, type); // eslint-disable-line @typescript-eslint/no-explicit-any\n from = to;\n }\n // checking format and target locale\n if (!isPlainObject(format) || !isString(targetLocale)) {\n return unresolving ? NOT_REOSLVED : key;\n }\n let id = `${targetLocale}__${key}`;\n if (!isEmptyObject(overrides)) {\n id = `${id}__${JSON.stringify(overrides)}`;\n }\n let formatter = __datetimeFormatters.get(id);\n if (!formatter) {\n formatter = new Intl.DateTimeFormat(targetLocale, assign({}, format, overrides));\n __datetimeFormatters.set(id, formatter);\n }\n return !part ? formatter.format(value) : formatter.formatToParts(value);\n}\n/** @internal */\nconst DATETIME_FORMAT_OPTIONS_KEYS = [\n 'localeMatcher',\n 'weekday',\n 'era',\n 'year',\n 'month',\n 'day',\n 'hour',\n 'minute',\n 'second',\n 'timeZoneName',\n 'formatMatcher',\n 'hour12',\n 'timeZone',\n 'dateStyle',\n 'timeStyle',\n 'calendar',\n 'dayPeriod',\n 'numberingSystem',\n 'hourCycle',\n 'fractionalSecondDigits'\n];\n/** @internal */\nfunction parseDateTimeArgs(...args) {\n const [arg1, arg2, arg3, arg4] = args;\n const options = create();\n let overrides = create();\n let value;\n if (isString(arg1)) {\n // Only allow ISO strings - other date formats are often supported,\n // but may cause different results in different browsers.\n const matches = arg1.match(/(\\d{4}-\\d{2}-\\d{2})(T|\\s)?(.*)/);\n if (!matches) {\n throw createCoreError(CoreErrorCodes.INVALID_ISO_DATE_ARGUMENT);\n }\n // Some browsers can not parse the iso datetime separated by space,\n // this is a compromise solution by replace the 'T'/' ' with 'T'\n const dateTime = matches[3]\n ? matches[3].trim().startsWith('T')\n ? `${matches[1].trim()}${matches[3].trim()}`\n : `${matches[1].trim()}T${matches[3].trim()}`\n : matches[1].trim();\n value = new Date(dateTime);\n try {\n // This will fail if the date is not valid\n value.toISOString();\n }\n catch (e) {\n throw createCoreError(CoreErrorCodes.INVALID_ISO_DATE_ARGUMENT);\n }\n }\n else if (isDate(arg1)) {\n if (isNaN(arg1.getTime())) {\n throw createCoreError(CoreErrorCodes.INVALID_DATE_ARGUMENT);\n }\n value = arg1;\n }\n else if (isNumber(arg1)) {\n value = arg1;\n }\n else {\n throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);\n }\n if (isString(arg2)) {\n options.key = arg2;\n }\n else if (isPlainObject(arg2)) {\n Object.keys(arg2).forEach(key => {\n if (DATETIME_FORMAT_OPTIONS_KEYS.includes(key)) {\n overrides[key] = arg2[key];\n }\n else {\n options[key] = arg2[key];\n }\n });\n }\n if (isString(arg3)) {\n options.locale = arg3;\n }\n else if (isPlainObject(arg3)) {\n overrides = arg3;\n }\n if (isPlainObject(arg4)) {\n overrides = arg4;\n }\n return [options.key || '', value, options, overrides];\n}\n/** @internal */\nfunction clearDateTimeFormat(ctx, locale, format) {\n const context = ctx;\n for (const key in format) {\n const id = `${locale}__${key}`;\n if (!context.__datetimeFormatters.has(id)) {\n continue;\n }\n context.__datetimeFormatters.delete(id);\n }\n}\n\n// implementation of `number` function\nfunction number(context, ...args) {\n const { numberFormats, unresolving, fallbackLocale, onWarn, localeFallbacker } = context;\n const { __numberFormatters } = context;\n if ((process.env.NODE_ENV !== 'production') && !Availabilities.numberFormat) {\n onWarn(getWarnMessage(CoreWarnCodes.CANNOT_FORMAT_NUMBER));\n return MISSING_RESOLVE_VALUE;\n }\n const [key, value, options, overrides] = parseNumberArgs(...args);\n const missingWarn = isBoolean(options.missingWarn)\n ? options.missingWarn\n : context.missingWarn;\n const fallbackWarn = isBoolean(options.fallbackWarn)\n ? options.fallbackWarn\n : context.fallbackWarn;\n const part = !!options.part;\n const locale = getLocale(context, options);\n const locales = localeFallbacker(context, // eslint-disable-line @typescript-eslint/no-explicit-any\n fallbackLocale, locale);\n if (!isString(key) || key === '') {\n return new Intl.NumberFormat(locale, overrides).format(value);\n }\n // resolve format\n let numberFormat = {};\n let targetLocale;\n let format = null;\n let from = locale;\n let to = null;\n const type = 'number format';\n for (let i = 0; i < locales.length; i++) {\n targetLocale = to = locales[i];\n if ((process.env.NODE_ENV !== 'production') &&\n locale !== targetLocale &&\n isTranslateFallbackWarn(fallbackWarn, key)) {\n onWarn(getWarnMessage(CoreWarnCodes.FALLBACK_TO_NUMBER_FORMAT, {\n key,\n target: targetLocale\n }));\n }\n // for vue-devtools timeline event\n if ((process.env.NODE_ENV !== 'production') && locale !== targetLocale) {\n const emitter = context.__v_emitter;\n if (emitter) {\n emitter.emit(\"fallback\" /* VueDevToolsTimelineEvents.FALBACK */, {\n type,\n key,\n from,\n to,\n groupId: `${type}:${key}`\n });\n }\n }\n numberFormat =\n numberFormats[targetLocale] || {};\n format = numberFormat[key];\n if (isPlainObject(format))\n break;\n handleMissing(context, key, targetLocale, missingWarn, type); // eslint-disable-line @typescript-eslint/no-explicit-any\n from = to;\n }\n // checking format and target locale\n if (!isPlainObject(format) || !isString(targetLocale)) {\n return unresolving ? NOT_REOSLVED : key;\n }\n let id = `${targetLocale}__${key}`;\n if (!isEmptyObject(overrides)) {\n id = `${id}__${JSON.stringify(overrides)}`;\n }\n let formatter = __numberFormatters.get(id);\n if (!formatter) {\n formatter = new Intl.NumberFormat(targetLocale, assign({}, format, overrides));\n __numberFormatters.set(id, formatter);\n }\n return !part ? formatter.format(value) : formatter.formatToParts(value);\n}\n/** @internal */\nconst NUMBER_FORMAT_OPTIONS_KEYS = [\n 'localeMatcher',\n 'style',\n 'currency',\n 'currencyDisplay',\n 'currencySign',\n 'useGrouping',\n 'minimumIntegerDigits',\n 'minimumFractionDigits',\n 'maximumFractionDigits',\n 'minimumSignificantDigits',\n 'maximumSignificantDigits',\n 'compactDisplay',\n 'notation',\n 'signDisplay',\n 'unit',\n 'unitDisplay',\n 'roundingMode',\n 'roundingPriority',\n 'roundingIncrement',\n 'trailingZeroDisplay'\n];\n/** @internal */\nfunction parseNumberArgs(...args) {\n const [arg1, arg2, arg3, arg4] = args;\n const options = create();\n let overrides = create();\n if (!isNumber(arg1)) {\n throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);\n }\n const value = arg1;\n if (isString(arg2)) {\n options.key = arg2;\n }\n else if (isPlainObject(arg2)) {\n Object.keys(arg2).forEach(key => {\n if (NUMBER_FORMAT_OPTIONS_KEYS.includes(key)) {\n overrides[key] = arg2[key];\n }\n else {\n options[key] = arg2[key];\n }\n });\n }\n if (isString(arg3)) {\n options.locale = arg3;\n }\n else if (isPlainObject(arg3)) {\n overrides = arg3;\n }\n if (isPlainObject(arg4)) {\n overrides = arg4;\n }\n return [options.key || '', value, options, overrides];\n}\n/** @internal */\nfunction clearNumberFormat(ctx, locale, format) {\n const context = ctx;\n for (const key in format) {\n const id = `${locale}__${key}`;\n if (!context.__numberFormatters.has(id)) {\n continue;\n }\n context.__numberFormatters.delete(id);\n }\n}\n\n{\n initFeatureFlags();\n}\n\nexport { CoreErrorCodes, CoreWarnCodes, DATETIME_FORMAT_OPTIONS_KEYS, DEFAULT_LOCALE, DEFAULT_MESSAGE_DATA_TYPE, MISSING_RESOLVE_VALUE, NOT_REOSLVED, NUMBER_FORMAT_OPTIONS_KEYS, VERSION, clearCompileCache, clearDateTimeFormat, clearNumberFormat, compile, compileToFunction, createCoreContext, createCoreError, createMessageContext, datetime, fallbackWithLocaleChain, fallbackWithSimple, getAdditionalMeta, getDevToolsHook, getFallbackContext, getLocale, getWarnMessage, handleMissing, initI18nDevTools, isAlmostSameLocale, isImplicitFallback, isMessageAST, isMessageFunction, isTranslateFallbackWarn, isTranslateMissingWarn, number, parse, parseDateTimeArgs, parseNumberArgs, parseTranslateArgs, registerLocaleFallbacker, registerMessageCompiler, registerMessageResolver, resolveLocale, resolveValue$1 as resolveValue, resolveWithKeyValue, setAdditionalMeta, setDevToolsHook, setFallbackContext, translate, translateDevTools, updateFallbackLocale };\n","/*!\n * vue-i18n v9.14.2\n * (c) 2024 kazuya kawaguchi\n * Released under the MIT License.\n */\nimport { getGlobalThis, incrementer, format, makeSymbol, isPlainObject, isArray, create, deepCopy, isString, hasOwn, isObject, warn, warnOnce, isBoolean, isRegExp, isFunction, inBrowser, assign, isNumber, createEmitter, isEmptyObject } from '@intlify/shared';\nimport { CoreWarnCodes, CoreErrorCodes, createCompileError, DEFAULT_LOCALE, updateFallbackLocale, setFallbackContext, createCoreContext, clearDateTimeFormat, clearNumberFormat, setAdditionalMeta, getFallbackContext, NOT_REOSLVED, isTranslateFallbackWarn, isTranslateMissingWarn, parseTranslateArgs, translate, MISSING_RESOLVE_VALUE, parseDateTimeArgs, datetime, parseNumberArgs, number, isMessageAST, isMessageFunction, fallbackWithLocaleChain, NUMBER_FORMAT_OPTIONS_KEYS, DATETIME_FORMAT_OPTIONS_KEYS, registerMessageCompiler, compile, registerMessageResolver, resolveValue, registerLocaleFallbacker, setDevToolsHook } from '@intlify/core-base';\nimport { createVNode, Text, computed, watch, getCurrentInstance, ref, shallowRef, Fragment, defineComponent, h, effectScope, inject, onMounted, onUnmounted, onBeforeMount, isRef } from 'vue';\nimport { setupDevtoolsPlugin } from '@vue/devtools-api';\n\n/**\n * Vue I18n Version\n *\n * @remarks\n * Semver format. Same format as the package.json `version` field.\n *\n * @VueI18nGeneral\n */\nconst VERSION = '9.14.2';\n/**\n * This is only called in esm-bundler builds.\n * istanbul-ignore-next\n */\nfunction initFeatureFlags() {\n if (typeof __VUE_I18N_FULL_INSTALL__ !== 'boolean') {\n getGlobalThis().__VUE_I18N_FULL_INSTALL__ = true;\n }\n if (typeof __VUE_I18N_LEGACY_API__ !== 'boolean') {\n getGlobalThis().__VUE_I18N_LEGACY_API__ = true;\n }\n if (typeof __INTLIFY_JIT_COMPILATION__ !== 'boolean') {\n getGlobalThis().__INTLIFY_JIT_COMPILATION__ = false;\n }\n if (typeof __INTLIFY_DROP_MESSAGE_COMPILER__ !== 'boolean') {\n getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__ = false;\n }\n if (typeof __INTLIFY_PROD_DEVTOOLS__ !== 'boolean') {\n getGlobalThis().__INTLIFY_PROD_DEVTOOLS__ = false;\n }\n}\n\nconst code$1 = CoreWarnCodes.__EXTEND_POINT__;\nconst inc$1 = incrementer(code$1);\nconst I18nWarnCodes = {\n FALLBACK_TO_ROOT: code$1, // 9\n NOT_SUPPORTED_PRESERVE: inc$1(), // 10\n NOT_SUPPORTED_FORMATTER: inc$1(), // 11\n NOT_SUPPORTED_PRESERVE_DIRECTIVE: inc$1(), // 12\n NOT_SUPPORTED_GET_CHOICE_INDEX: inc$1(), // 13\n COMPONENT_NAME_LEGACY_COMPATIBLE: inc$1(), // 14\n NOT_FOUND_PARENT_SCOPE: inc$1(), // 15\n IGNORE_OBJ_FLATTEN: inc$1(), // 16\n NOTICE_DROP_ALLOW_COMPOSITION: inc$1(), // 17\n NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG: inc$1() // 18\n};\nconst warnMessages = {\n [I18nWarnCodes.FALLBACK_TO_ROOT]: `Fall back to {type} '{key}' with root locale.`,\n [I18nWarnCodes.NOT_SUPPORTED_PRESERVE]: `Not supported 'preserve'.`,\n [I18nWarnCodes.NOT_SUPPORTED_FORMATTER]: `Not supported 'formatter'.`,\n [I18nWarnCodes.NOT_SUPPORTED_PRESERVE_DIRECTIVE]: `Not supported 'preserveDirectiveContent'.`,\n [I18nWarnCodes.NOT_SUPPORTED_GET_CHOICE_INDEX]: `Not supported 'getChoiceIndex'.`,\n [I18nWarnCodes.COMPONENT_NAME_LEGACY_COMPATIBLE]: `Component name legacy compatible: '{name}' -> 'i18n'`,\n [I18nWarnCodes.NOT_FOUND_PARENT_SCOPE]: `Not found parent scope. use the global scope.`,\n [I18nWarnCodes.IGNORE_OBJ_FLATTEN]: `Ignore object flatten: '{key}' key has an string value`,\n [I18nWarnCodes.NOTICE_DROP_ALLOW_COMPOSITION]: `'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze`,\n [I18nWarnCodes.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]: `'translateExistCompatible' option will be dropped in the next major version.`\n};\nfunction getWarnMessage(code, ...args) {\n return format(warnMessages[code], ...args);\n}\n\nconst code = CoreErrorCodes.__EXTEND_POINT__;\nconst inc = incrementer(code);\nconst I18nErrorCodes = {\n // composer module errors\n UNEXPECTED_RETURN_TYPE: code, // 24\n // legacy module errors\n INVALID_ARGUMENT: inc(), // 25\n // i18n module errors\n MUST_BE_CALL_SETUP_TOP: inc(), // 26\n NOT_INSTALLED: inc(), // 27\n NOT_AVAILABLE_IN_LEGACY_MODE: inc(), // 28\n // directive module errors\n REQUIRED_VALUE: inc(), // 29\n INVALID_VALUE: inc(), // 30\n // vue-devtools errors\n CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN: inc(), // 31\n NOT_INSTALLED_WITH_PROVIDE: inc(), // 32\n // unexpected error\n UNEXPECTED_ERROR: inc(), // 33\n // not compatible legacy vue-i18n constructor\n NOT_COMPATIBLE_LEGACY_VUE_I18N: inc(), // 34\n // bridge support vue 2.x only\n BRIDGE_SUPPORT_VUE_2_ONLY: inc(), // 35\n // need to define `i18n` option in `allowComposition: true` and `useScope: 'local' at `useI18n``\n MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION: inc(), // 36\n // Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly\n NOT_AVAILABLE_COMPOSITION_IN_LEGACY: inc(), // 37\n // for enhancement\n __EXTEND_POINT__: inc() // 38\n};\nfunction createI18nError(code, ...args) {\n return createCompileError(code, null, (process.env.NODE_ENV !== 'production') ? { messages: errorMessages, args } : undefined);\n}\nconst errorMessages = {\n [I18nErrorCodes.UNEXPECTED_RETURN_TYPE]: 'Unexpected return type in composer',\n [I18nErrorCodes.INVALID_ARGUMENT]: 'Invalid argument',\n [I18nErrorCodes.MUST_BE_CALL_SETUP_TOP]: 'Must be called at the top of a `setup` function',\n [I18nErrorCodes.NOT_INSTALLED]: 'Need to install with `app.use` function',\n [I18nErrorCodes.UNEXPECTED_ERROR]: 'Unexpected error',\n [I18nErrorCodes.NOT_AVAILABLE_IN_LEGACY_MODE]: 'Not available in legacy mode',\n [I18nErrorCodes.REQUIRED_VALUE]: `Required in value: {0}`,\n [I18nErrorCodes.INVALID_VALUE]: `Invalid value`,\n [I18nErrorCodes.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]: `Cannot setup vue-devtools plugin`,\n [I18nErrorCodes.NOT_INSTALLED_WITH_PROVIDE]: 'Need to install with `provide` function',\n [I18nErrorCodes.NOT_COMPATIBLE_LEGACY_VUE_I18N]: 'Not compatible legacy VueI18n.',\n [I18nErrorCodes.BRIDGE_SUPPORT_VUE_2_ONLY]: 'vue-i18n-bridge support Vue 2.x only',\n [I18nErrorCodes.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]: 'Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode',\n [I18nErrorCodes.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: 'Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly'\n};\n\nconst TranslateVNodeSymbol = \n/* #__PURE__*/ makeSymbol('__translateVNode');\nconst DatetimePartsSymbol = /* #__PURE__*/ makeSymbol('__datetimeParts');\nconst NumberPartsSymbol = /* #__PURE__*/ makeSymbol('__numberParts');\nconst EnableEmitter = /* #__PURE__*/ makeSymbol('__enableEmitter');\nconst DisableEmitter = /* #__PURE__*/ makeSymbol('__disableEmitter');\nconst SetPluralRulesSymbol = makeSymbol('__setPluralRules');\nmakeSymbol('__intlifyMeta');\nconst InejctWithOptionSymbol = \n/* #__PURE__*/ makeSymbol('__injectWithOption');\nconst DisposeSymbol = /* #__PURE__*/ makeSymbol('__dispose');\nconst __VUE_I18N_BRIDGE__ = '__VUE_I18N_BRIDGE__';\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/**\n * Transform flat json in obj to normal json in obj\n */\nfunction handleFlatJson(obj) {\n // check obj\n if (!isObject(obj)) {\n return obj;\n }\n for (const key in obj) {\n // check key\n if (!hasOwn(obj, key)) {\n continue;\n }\n // handle for normal json\n if (!key.includes('.')) {\n // recursive process value if value is also a object\n if (isObject(obj[key])) {\n handleFlatJson(obj[key]);\n }\n }\n // handle for flat json, transform to normal json\n else {\n // go to the last object\n const subKeys = key.split('.');\n const lastIndex = subKeys.length - 1;\n let currentObj = obj;\n let hasStringValue = false;\n for (let i = 0; i < lastIndex; i++) {\n if (!(subKeys[i] in currentObj)) {\n currentObj[subKeys[i]] = create();\n }\n if (!isObject(currentObj[subKeys[i]])) {\n (process.env.NODE_ENV !== 'production') &&\n warn(getWarnMessage(I18nWarnCodes.IGNORE_OBJ_FLATTEN, {\n key: subKeys[i]\n }));\n hasStringValue = true;\n break;\n }\n currentObj = currentObj[subKeys[i]];\n }\n // update last object value, delete old property\n if (!hasStringValue) {\n currentObj[subKeys[lastIndex]] = obj[key];\n delete obj[key];\n }\n // recursive process value if value is also a object\n if (isObject(currentObj[subKeys[lastIndex]])) {\n handleFlatJson(currentObj[subKeys[lastIndex]]);\n }\n }\n }\n return obj;\n}\nfunction getLocaleMessages(locale, options) {\n const { messages, __i18n, messageResolver, flatJson } = options;\n // prettier-ignore\n const ret = (isPlainObject(messages)\n ? messages\n : isArray(__i18n)\n ? create()\n : { [locale]: create() });\n // merge locale messages of i18n custom block\n if (isArray(__i18n)) {\n __i18n.forEach(custom => {\n if ('locale' in custom && 'resource' in custom) {\n const { locale, resource } = custom;\n if (locale) {\n ret[locale] = ret[locale] || create();\n deepCopy(resource, ret[locale]);\n }\n else {\n deepCopy(resource, ret);\n }\n }\n else {\n isString(custom) && deepCopy(JSON.parse(custom), ret);\n }\n });\n }\n // handle messages for flat json\n if (messageResolver == null && flatJson) {\n for (const key in ret) {\n if (hasOwn(ret, key)) {\n handleFlatJson(ret[key]);\n }\n }\n }\n return ret;\n}\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction getComponentOptions(instance) {\n return instance.type ;\n}\nfunction adjustI18nResources(gl, options, componentOptions // eslint-disable-line @typescript-eslint/no-explicit-any\n) {\n let messages = isObject(options.messages)\n ? options.messages\n : create();\n if ('__i18nGlobal' in componentOptions) {\n messages = getLocaleMessages(gl.locale.value, {\n messages,\n __i18n: componentOptions.__i18nGlobal\n });\n }\n // merge locale messages\n const locales = Object.keys(messages);\n if (locales.length) {\n locales.forEach(locale => {\n gl.mergeLocaleMessage(locale, messages[locale]);\n });\n }\n {\n // merge datetime formats\n if (isObject(options.datetimeFormats)) {\n const locales = Object.keys(options.datetimeFormats);\n if (locales.length) {\n locales.forEach(locale => {\n gl.mergeDateTimeFormat(locale, options.datetimeFormats[locale]);\n });\n }\n }\n // merge number formats\n if (isObject(options.numberFormats)) {\n const locales = Object.keys(options.numberFormats);\n if (locales.length) {\n locales.forEach(locale => {\n gl.mergeNumberFormat(locale, options.numberFormats[locale]);\n });\n }\n }\n }\n}\nfunction createTextNode(key) {\n return createVNode(Text, null, key, 0)\n ;\n}\n/* eslint-enable @typescript-eslint/no-explicit-any */\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\n// extend VNode interface\nconst DEVTOOLS_META = '__INTLIFY_META__';\nconst NOOP_RETURN_ARRAY = () => [];\nconst NOOP_RETURN_FALSE = () => false;\nlet composerID = 0;\nfunction defineCoreMissingHandler(missing) {\n return ((ctx, locale, key, type) => {\n return missing(locale, key, getCurrentInstance() || undefined, type);\n });\n}\n// for Intlify DevTools\n/* #__NO_SIDE_EFFECTS__ */\nconst getMetaInfo = () => {\n const instance = getCurrentInstance();\n let meta = null; // eslint-disable-line @typescript-eslint/no-explicit-any\n return instance && (meta = getComponentOptions(instance)[DEVTOOLS_META])\n ? { [DEVTOOLS_META]: meta } // eslint-disable-line @typescript-eslint/no-explicit-any\n : null;\n};\n/**\n * Create composer interface factory\n *\n * @internal\n */\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nfunction createComposer(options = {}, VueI18nLegacy) {\n const { __root, __injectWithOption } = options;\n const _isGlobal = __root === undefined;\n const flatJson = options.flatJson;\n const _ref = inBrowser ? ref : shallowRef;\n const translateExistCompatible = !!options.translateExistCompatible;\n if ((process.env.NODE_ENV !== 'production')) {\n if (translateExistCompatible && !false) {\n warnOnce(getWarnMessage(I18nWarnCodes.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));\n }\n }\n let _inheritLocale = isBoolean(options.inheritLocale)\n ? options.inheritLocale\n : true;\n const _locale = _ref(\n // prettier-ignore\n __root && _inheritLocale\n ? __root.locale.value\n : isString(options.locale)\n ? options.locale\n : DEFAULT_LOCALE);\n const _fallbackLocale = _ref(\n // prettier-ignore\n __root && _inheritLocale\n ? __root.fallbackLocale.value\n : isString(options.fallbackLocale) ||\n isArray(options.fallbackLocale) ||\n isPlainObject(options.fallbackLocale) ||\n options.fallbackLocale === false\n ? options.fallbackLocale\n : _locale.value);\n const _messages = _ref(getLocaleMessages(_locale.value, options));\n // prettier-ignore\n const _datetimeFormats = _ref(isPlainObject(options.datetimeFormats)\n ? options.datetimeFormats\n : { [_locale.value]: {} })\n ;\n // prettier-ignore\n const _numberFormats = _ref(isPlainObject(options.numberFormats)\n ? options.numberFormats\n : { [_locale.value]: {} })\n ;\n // warning suppress options\n // prettier-ignore\n let _missingWarn = __root\n ? __root.missingWarn\n : isBoolean(options.missingWarn) || isRegExp(options.missingWarn)\n ? options.missingWarn\n : true;\n // prettier-ignore\n let _fallbackWarn = __root\n ? __root.fallbackWarn\n : isBoolean(options.fallbackWarn) || isRegExp(options.fallbackWarn)\n ? options.fallbackWarn\n : true;\n // prettier-ignore\n let _fallbackRoot = __root\n ? __root.fallbackRoot\n : isBoolean(options.fallbackRoot)\n ? options.fallbackRoot\n : true;\n // configure fall back to root\n let _fallbackFormat = !!options.fallbackFormat;\n // runtime missing\n let _missing = isFunction(options.missing) ? options.missing : null;\n let _runtimeMissing = isFunction(options.missing)\n ? defineCoreMissingHandler(options.missing)\n : null;\n // postTranslation handler\n let _postTranslation = isFunction(options.postTranslation)\n ? options.postTranslation\n : null;\n // prettier-ignore\n let _warnHtmlMessage = __root\n ? __root.warnHtmlMessage\n : isBoolean(options.warnHtmlMessage)\n ? options.warnHtmlMessage\n : true;\n let _escapeParameter = !!options.escapeParameter;\n // custom linked modifiers\n // prettier-ignore\n const _modifiers = __root\n ? __root.modifiers\n : isPlainObject(options.modifiers)\n ? options.modifiers\n : {};\n // pluralRules\n let _pluralRules = options.pluralRules || (__root && __root.pluralRules);\n // runtime context\n // eslint-disable-next-line prefer-const\n let _context;\n const getCoreContext = () => {\n _isGlobal && setFallbackContext(null);\n const ctxOptions = {\n version: VERSION,\n locale: _locale.value,\n fallbackLocale: _fallbackLocale.value,\n messages: _messages.value,\n modifiers: _modifiers,\n pluralRules: _pluralRules,\n missing: _runtimeMissing === null ? undefined : _runtimeMissing,\n missingWarn: _missingWarn,\n fallbackWarn: _fallbackWarn,\n fallbackFormat: _fallbackFormat,\n unresolving: true,\n postTranslation: _postTranslation === null ? undefined : _postTranslation,\n warnHtmlMessage: _warnHtmlMessage,\n escapeParameter: _escapeParameter,\n messageResolver: options.messageResolver,\n messageCompiler: options.messageCompiler,\n __meta: { framework: 'vue' }\n };\n {\n ctxOptions.datetimeFormats = _datetimeFormats.value;\n ctxOptions.numberFormats = _numberFormats.value;\n ctxOptions.__datetimeFormatters = isPlainObject(_context)\n ? _context.__datetimeFormatters\n : undefined;\n ctxOptions.__numberFormatters = isPlainObject(_context)\n ? _context.__numberFormatters\n : undefined;\n }\n if ((process.env.NODE_ENV !== 'production')) {\n ctxOptions.__v_emitter = isPlainObject(_context)\n ? _context.__v_emitter\n : undefined;\n }\n const ctx = createCoreContext(ctxOptions);\n _isGlobal && setFallbackContext(ctx);\n return ctx;\n };\n _context = getCoreContext();\n updateFallbackLocale(_context, _locale.value, _fallbackLocale.value);\n // track reactivity\n function trackReactivityValues() {\n return [\n _locale.value,\n _fallbackLocale.value,\n _messages.value,\n _datetimeFormats.value,\n _numberFormats.value\n ]\n ;\n }\n // locale\n const locale = computed({\n get: () => _locale.value,\n set: val => {\n _locale.value = val;\n _context.locale = _locale.value;\n }\n });\n // fallbackLocale\n const fallbackLocale = computed({\n get: () => _fallbackLocale.value,\n set: val => {\n _fallbackLocale.value = val;\n _context.fallbackLocale = _fallbackLocale.value;\n updateFallbackLocale(_context, _locale.value, val);\n }\n });\n // messages\n const messages = computed(() => _messages.value);\n // datetimeFormats\n const datetimeFormats = /* #__PURE__*/ computed(() => _datetimeFormats.value);\n // numberFormats\n const numberFormats = /* #__PURE__*/ computed(() => _numberFormats.value);\n // getPostTranslationHandler\n function getPostTranslationHandler() {\n return isFunction(_postTranslation) ? _postTranslation : null;\n }\n // setPostTranslationHandler\n function setPostTranslationHandler(handler) {\n _postTranslation = handler;\n _context.postTranslation = handler;\n }\n // getMissingHandler\n function getMissingHandler() {\n return _missing;\n }\n // setMissingHandler\n function setMissingHandler(handler) {\n if (handler !== null) {\n _runtimeMissing = defineCoreMissingHandler(handler);\n }\n _missing = handler;\n _context.missing = _runtimeMissing;\n }\n function isResolvedTranslateMessage(type, arg // eslint-disable-line @typescript-eslint/no-explicit-any\n ) {\n return type !== 'translate' || !arg.resolvedMessage;\n }\n const wrapWithDeps = (fn, argumentParser, warnType, fallbackSuccess, fallbackFail, successCondition) => {\n trackReactivityValues(); // track reactive dependency\n // NOTE: experimental !!\n let ret;\n try {\n if ((process.env.NODE_ENV !== 'production') || __INTLIFY_PROD_DEVTOOLS__) {\n setAdditionalMeta(getMetaInfo());\n }\n if (!_isGlobal) {\n _context.fallbackContext = __root\n ? getFallbackContext()\n : undefined;\n }\n ret = fn(_context);\n }\n finally {\n if ((process.env.NODE_ENV !== 'production') || __INTLIFY_PROD_DEVTOOLS__) {\n setAdditionalMeta(null);\n }\n if (!_isGlobal) {\n _context.fallbackContext = undefined;\n }\n }\n if ((warnType !== 'translate exists' && // for not `te` (e.g `t`)\n isNumber(ret) &&\n ret === NOT_REOSLVED) ||\n (warnType === 'translate exists' && !ret) // for `te`\n ) {\n const [key, arg2] = argumentParser();\n if ((process.env.NODE_ENV !== 'production') &&\n __root &&\n isString(key) &&\n isResolvedTranslateMessage(warnType, arg2)) {\n if (_fallbackRoot &&\n (isTranslateFallbackWarn(_fallbackWarn, key) ||\n isTranslateMissingWarn(_missingWarn, key))) {\n warn(getWarnMessage(I18nWarnCodes.FALLBACK_TO_ROOT, {\n key,\n type: warnType\n }));\n }\n // for vue-devtools timeline event\n if ((process.env.NODE_ENV !== 'production')) {\n const { __v_emitter: emitter } = _context;\n if (emitter && _fallbackRoot) {\n emitter.emit(\"fallback\" /* VueDevToolsTimelineEvents.FALBACK */, {\n type: warnType,\n key,\n to: 'global',\n groupId: `${warnType}:${key}`\n });\n }\n }\n }\n return __root && _fallbackRoot\n ? fallbackSuccess(__root)\n : fallbackFail(key);\n }\n else if (successCondition(ret)) {\n return ret;\n }\n else {\n /* istanbul ignore next */\n throw createI18nError(I18nErrorCodes.UNEXPECTED_RETURN_TYPE);\n }\n };\n // t\n function t(...args) {\n return wrapWithDeps(context => Reflect.apply(translate, null, [context, ...args]), () => parseTranslateArgs(...args), 'translate', root => Reflect.apply(root.t, root, [...args]), key => key, val => isString(val));\n }\n // rt\n function rt(...args) {\n const [arg1, arg2, arg3] = args;\n if (arg3 && !isObject(arg3)) {\n throw createI18nError(I18nErrorCodes.INVALID_ARGUMENT);\n }\n return t(...[arg1, arg2, assign({ resolvedMessage: true }, arg3 || {})]);\n }\n // d\n function d(...args) {\n return wrapWithDeps(context => Reflect.apply(datetime, null, [context, ...args]), () => parseDateTimeArgs(...args), 'datetime format', root => Reflect.apply(root.d, root, [...args]), () => MISSING_RESOLVE_VALUE, val => isString(val));\n }\n // n\n function n(...args) {\n return wrapWithDeps(context => Reflect.apply(number, null, [context, ...args]), () => parseNumberArgs(...args), 'number format', root => Reflect.apply(root.n, root, [...args]), () => MISSING_RESOLVE_VALUE, val => isString(val));\n }\n // for custom processor\n function normalize(values) {\n return values.map(val => isString(val) || isNumber(val) || isBoolean(val)\n ? createTextNode(String(val))\n : val);\n }\n const interpolate = (val) => val;\n const processor = {\n normalize,\n interpolate,\n type: 'vnode'\n };\n // translateVNode, using for `i18n-t` component\n function translateVNode(...args) {\n return wrapWithDeps(context => {\n let ret;\n const _context = context;\n try {\n _context.processor = processor;\n ret = Reflect.apply(translate, null, [_context, ...args]);\n }\n finally {\n _context.processor = null;\n }\n return ret;\n }, () => parseTranslateArgs(...args), 'translate', \n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n root => root[TranslateVNodeSymbol](...args), key => [createTextNode(key)], val => isArray(val));\n }\n // numberParts, using for `i18n-n` component\n function numberParts(...args) {\n return wrapWithDeps(context => Reflect.apply(number, null, [context, ...args]), () => parseNumberArgs(...args), 'number format', \n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n root => root[NumberPartsSymbol](...args), NOOP_RETURN_ARRAY, val => isString(val) || isArray(val));\n }\n // datetimeParts, using for `i18n-d` component\n function datetimeParts(...args) {\n return wrapWithDeps(context => Reflect.apply(datetime, null, [context, ...args]), () => parseDateTimeArgs(...args), 'datetime format', \n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n root => root[DatetimePartsSymbol](...args), NOOP_RETURN_ARRAY, val => isString(val) || isArray(val));\n }\n function setPluralRules(rules) {\n _pluralRules = rules;\n _context.pluralRules = _pluralRules;\n }\n // te\n function te(key, locale) {\n return wrapWithDeps(() => {\n if (!key) {\n return false;\n }\n const targetLocale = isString(locale) ? locale : _locale.value;\n const message = getLocaleMessage(targetLocale);\n const resolved = _context.messageResolver(message, key);\n return !translateExistCompatible\n ? isMessageAST(resolved) ||\n isMessageFunction(resolved) ||\n isString(resolved)\n : resolved != null;\n }, () => [key], 'translate exists', root => {\n return Reflect.apply(root.te, root, [key, locale]);\n }, NOOP_RETURN_FALSE, val => isBoolean(val));\n }\n function resolveMessages(key) {\n let messages = null;\n const locales = fallbackWithLocaleChain(_context, _fallbackLocale.value, _locale.value);\n for (let i = 0; i < locales.length; i++) {\n const targetLocaleMessages = _messages.value[locales[i]] || {};\n const messageValue = _context.messageResolver(targetLocaleMessages, key);\n if (messageValue != null) {\n messages = messageValue;\n break;\n }\n }\n return messages;\n }\n // tm\n function tm(key) {\n const messages = resolveMessages(key);\n // prettier-ignore\n return messages != null\n ? messages\n : __root\n ? __root.tm(key) || {}\n : {};\n }\n // getLocaleMessage\n function getLocaleMessage(locale) {\n return (_messages.value[locale] || {});\n }\n // setLocaleMessage\n function setLocaleMessage(locale, message) {\n if (flatJson) {\n const _message = { [locale]: message };\n for (const key in _message) {\n if (hasOwn(_message, key)) {\n handleFlatJson(_message[key]);\n }\n }\n message = _message[locale];\n }\n _messages.value[locale] = message;\n _context.messages = _messages.value;\n }\n // mergeLocaleMessage\n function mergeLocaleMessage(locale, message) {\n _messages.value[locale] = _messages.value[locale] || {};\n const _message = { [locale]: message };\n if (flatJson) {\n for (const key in _message) {\n if (hasOwn(_message, key)) {\n handleFlatJson(_message[key]);\n }\n }\n }\n message = _message[locale];\n deepCopy(message, _messages.value[locale]);\n _context.messages = _messages.value;\n }\n // getDateTimeFormat\n function getDateTimeFormat(locale) {\n return _datetimeFormats.value[locale] || {};\n }\n // setDateTimeFormat\n function setDateTimeFormat(locale, format) {\n _datetimeFormats.value[locale] = format;\n _context.datetimeFormats = _datetimeFormats.value;\n clearDateTimeFormat(_context, locale, format);\n }\n // mergeDateTimeFormat\n function mergeDateTimeFormat(locale, format) {\n _datetimeFormats.value[locale] = assign(_datetimeFormats.value[locale] || {}, format);\n _context.datetimeFormats = _datetimeFormats.value;\n clearDateTimeFormat(_context, locale, format);\n }\n // getNumberFormat\n function getNumberFormat(locale) {\n return _numberFormats.value[locale] || {};\n }\n // setNumberFormat\n function setNumberFormat(locale, format) {\n _numberFormats.value[locale] = format;\n _context.numberFormats = _numberFormats.value;\n clearNumberFormat(_context, locale, format);\n }\n // mergeNumberFormat\n function mergeNumberFormat(locale, format) {\n _numberFormats.value[locale] = assign(_numberFormats.value[locale] || {}, format);\n _context.numberFormats = _numberFormats.value;\n clearNumberFormat(_context, locale, format);\n }\n // for debug\n composerID++;\n // watch root locale & fallbackLocale\n if (__root && inBrowser) {\n watch(__root.locale, (val) => {\n if (_inheritLocale) {\n _locale.value = val;\n _context.locale = val;\n updateFallbackLocale(_context, _locale.value, _fallbackLocale.value);\n }\n });\n watch(__root.fallbackLocale, (val) => {\n if (_inheritLocale) {\n _fallbackLocale.value = val;\n _context.fallbackLocale = val;\n updateFallbackLocale(_context, _locale.value, _fallbackLocale.value);\n }\n });\n }\n // define basic composition API!\n const composer = {\n id: composerID,\n locale,\n fallbackLocale,\n get inheritLocale() {\n return _inheritLocale;\n },\n set inheritLocale(val) {\n _inheritLocale = val;\n if (val && __root) {\n _locale.value = __root.locale.value;\n _fallbackLocale.value = __root.fallbackLocale.value;\n updateFallbackLocale(_context, _locale.value, _fallbackLocale.value);\n }\n },\n get availableLocales() {\n return Object.keys(_messages.value).sort();\n },\n messages,\n get modifiers() {\n return _modifiers;\n },\n get pluralRules() {\n return _pluralRules || {};\n },\n get isGlobal() {\n return _isGlobal;\n },\n get missingWarn() {\n return _missingWarn;\n },\n set missingWarn(val) {\n _missingWarn = val;\n _context.missingWarn = _missingWarn;\n },\n get fallbackWarn() {\n return _fallbackWarn;\n },\n set fallbackWarn(val) {\n _fallbackWarn = val;\n _context.fallbackWarn = _fallbackWarn;\n },\n get fallbackRoot() {\n return _fallbackRoot;\n },\n set fallbackRoot(val) {\n _fallbackRoot = val;\n },\n get fallbackFormat() {\n return _fallbackFormat;\n },\n set fallbackFormat(val) {\n _fallbackFormat = val;\n _context.fallbackFormat = _fallbackFormat;\n },\n get warnHtmlMessage() {\n return _warnHtmlMessage;\n },\n set warnHtmlMessage(val) {\n _warnHtmlMessage = val;\n _context.warnHtmlMessage = val;\n },\n get escapeParameter() {\n return _escapeParameter;\n },\n set escapeParameter(val) {\n _escapeParameter = val;\n _context.escapeParameter = val;\n },\n t,\n getLocaleMessage,\n setLocaleMessage,\n mergeLocaleMessage,\n getPostTranslationHandler,\n setPostTranslationHandler,\n getMissingHandler,\n setMissingHandler,\n [SetPluralRulesSymbol]: setPluralRules\n };\n {\n composer.datetimeFormats = datetimeFormats;\n composer.numberFormats = numberFormats;\n composer.rt = rt;\n composer.te = te;\n composer.tm = tm;\n composer.d = d;\n composer.n = n;\n composer.getDateTimeFormat = getDateTimeFormat;\n composer.setDateTimeFormat = setDateTimeFormat;\n composer.mergeDateTimeFormat = mergeDateTimeFormat;\n composer.getNumberFormat = getNumberFormat;\n composer.setNumberFormat = setNumberFormat;\n composer.mergeNumberFormat = mergeNumberFormat;\n composer[InejctWithOptionSymbol] = __injectWithOption;\n composer[TranslateVNodeSymbol] = translateVNode;\n composer[DatetimePartsSymbol] = datetimeParts;\n composer[NumberPartsSymbol] = numberParts;\n }\n // for vue-devtools timeline event\n if ((process.env.NODE_ENV !== 'production')) {\n composer[EnableEmitter] = (emitter) => {\n _context.__v_emitter = emitter;\n };\n composer[DisableEmitter] = () => {\n _context.__v_emitter = undefined;\n };\n }\n return composer;\n}\n/* eslint-enable @typescript-eslint/no-explicit-any */\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/**\n * Convert to I18n Composer Options from VueI18n Options\n *\n * @internal\n */\nfunction convertComposerOptions(options) {\n const locale = isString(options.locale) ? options.locale : DEFAULT_LOCALE;\n const fallbackLocale = isString(options.fallbackLocale) ||\n isArray(options.fallbackLocale) ||\n isPlainObject(options.fallbackLocale) ||\n options.fallbackLocale === false\n ? options.fallbackLocale\n : locale;\n const missing = isFunction(options.missing) ? options.missing : undefined;\n const missingWarn = isBoolean(options.silentTranslationWarn) ||\n isRegExp(options.silentTranslationWarn)\n ? !options.silentTranslationWarn\n : true;\n const fallbackWarn = isBoolean(options.silentFallbackWarn) ||\n isRegExp(options.silentFallbackWarn)\n ? !options.silentFallbackWarn\n : true;\n const fallbackRoot = isBoolean(options.fallbackRoot)\n ? options.fallbackRoot\n : true;\n const fallbackFormat = !!options.formatFallbackMessages;\n const modifiers = isPlainObject(options.modifiers) ? options.modifiers : {};\n const pluralizationRules = options.pluralizationRules;\n const postTranslation = isFunction(options.postTranslation)\n ? options.postTranslation\n : undefined;\n const warnHtmlMessage = isString(options.warnHtmlInMessage)\n ? options.warnHtmlInMessage !== 'off'\n : true;\n const escapeParameter = !!options.escapeParameterHtml;\n const inheritLocale = isBoolean(options.sync) ? options.sync : true;\n if ((process.env.NODE_ENV !== 'production') && options.formatter) {\n warn(getWarnMessage(I18nWarnCodes.NOT_SUPPORTED_FORMATTER));\n }\n if ((process.env.NODE_ENV !== 'production') && options.preserveDirectiveContent) {\n warn(getWarnMessage(I18nWarnCodes.NOT_SUPPORTED_PRESERVE_DIRECTIVE));\n }\n let messages = options.messages;\n if (isPlainObject(options.sharedMessages)) {\n const sharedMessages = options.sharedMessages;\n const locales = Object.keys(sharedMessages);\n messages = locales.reduce((messages, locale) => {\n const message = messages[locale] || (messages[locale] = {});\n assign(message, sharedMessages[locale]);\n return messages;\n }, (messages || {}));\n }\n const { __i18n, __root, __injectWithOption } = options;\n const datetimeFormats = options.datetimeFormats;\n const numberFormats = options.numberFormats;\n const flatJson = options.flatJson;\n const translateExistCompatible = options\n .translateExistCompatible;\n return {\n locale,\n fallbackLocale,\n messages,\n flatJson,\n datetimeFormats,\n numberFormats,\n missing,\n missingWarn,\n fallbackWarn,\n fallbackRoot,\n fallbackFormat,\n modifiers,\n pluralRules: pluralizationRules,\n postTranslation,\n warnHtmlMessage,\n escapeParameter,\n messageResolver: options.messageResolver,\n inheritLocale,\n translateExistCompatible,\n __i18n,\n __root,\n __injectWithOption\n };\n}\n/**\n * create VueI18n interface factory\n *\n * @internal\n */\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nfunction createVueI18n(options = {}, VueI18nLegacy) {\n {\n const composer = createComposer(convertComposerOptions(options));\n const { __extender } = options;\n // defines VueI18n\n const vueI18n = {\n // id\n id: composer.id,\n // locale\n get locale() {\n return composer.locale.value;\n },\n set locale(val) {\n composer.locale.value = val;\n },\n // fallbackLocale\n get fallbackLocale() {\n return composer.fallbackLocale.value;\n },\n set fallbackLocale(val) {\n composer.fallbackLocale.value = val;\n },\n // messages\n get messages() {\n return composer.messages.value;\n },\n // datetimeFormats\n get datetimeFormats() {\n return composer.datetimeFormats.value;\n },\n // numberFormats\n get numberFormats() {\n return composer.numberFormats.value;\n },\n // availableLocales\n get availableLocales() {\n return composer.availableLocales;\n },\n // formatter\n get formatter() {\n (process.env.NODE_ENV !== 'production') && warn(getWarnMessage(I18nWarnCodes.NOT_SUPPORTED_FORMATTER));\n // dummy\n return {\n interpolate() {\n return [];\n }\n };\n },\n set formatter(val) {\n (process.env.NODE_ENV !== 'production') && warn(getWarnMessage(I18nWarnCodes.NOT_SUPPORTED_FORMATTER));\n },\n // missing\n get missing() {\n return composer.getMissingHandler();\n },\n set missing(handler) {\n composer.setMissingHandler(handler);\n },\n // silentTranslationWarn\n get silentTranslationWarn() {\n return isBoolean(composer.missingWarn)\n ? !composer.missingWarn\n : composer.missingWarn;\n },\n set silentTranslationWarn(val) {\n composer.missingWarn = isBoolean(val) ? !val : val;\n },\n // silentFallbackWarn\n get silentFallbackWarn() {\n return isBoolean(composer.fallbackWarn)\n ? !composer.fallbackWarn\n : composer.fallbackWarn;\n },\n set silentFallbackWarn(val) {\n composer.fallbackWarn = isBoolean(val) ? !val : val;\n },\n // modifiers\n get modifiers() {\n return composer.modifiers;\n },\n // formatFallbackMessages\n get formatFallbackMessages() {\n return composer.fallbackFormat;\n },\n set formatFallbackMessages(val) {\n composer.fallbackFormat = val;\n },\n // postTranslation\n get postTranslation() {\n return composer.getPostTranslationHandler();\n },\n set postTranslation(handler) {\n composer.setPostTranslationHandler(handler);\n },\n // sync\n get sync() {\n return composer.inheritLocale;\n },\n set sync(val) {\n composer.inheritLocale = val;\n },\n // warnInHtmlMessage\n get warnHtmlInMessage() {\n return composer.warnHtmlMessage ? 'warn' : 'off';\n },\n set warnHtmlInMessage(val) {\n composer.warnHtmlMessage = val !== 'off';\n },\n // escapeParameterHtml\n get escapeParameterHtml() {\n return composer.escapeParameter;\n },\n set escapeParameterHtml(val) {\n composer.escapeParameter = val;\n },\n // preserveDirectiveContent\n get preserveDirectiveContent() {\n (process.env.NODE_ENV !== 'production') &&\n warn(getWarnMessage(I18nWarnCodes.NOT_SUPPORTED_PRESERVE_DIRECTIVE));\n return true;\n },\n set preserveDirectiveContent(val) {\n (process.env.NODE_ENV !== 'production') &&\n warn(getWarnMessage(I18nWarnCodes.NOT_SUPPORTED_PRESERVE_DIRECTIVE));\n },\n // pluralizationRules\n get pluralizationRules() {\n return composer.pluralRules || {};\n },\n // for internal\n __composer: composer,\n // t\n t(...args) {\n const [arg1, arg2, arg3] = args;\n const options = {};\n let list = null;\n let named = null;\n if (!isString(arg1)) {\n throw createI18nError(I18nErrorCodes.INVALID_ARGUMENT);\n }\n const key = arg1;\n if (isString(arg2)) {\n options.locale = arg2;\n }\n else if (isArray(arg2)) {\n list = arg2;\n }\n else if (isPlainObject(arg2)) {\n named = arg2;\n }\n if (isArray(arg3)) {\n list = arg3;\n }\n else if (isPlainObject(arg3)) {\n named = arg3;\n }\n // return composer.t(key, (list || named || {}) as any, options)\n return Reflect.apply(composer.t, composer, [\n key,\n (list || named || {}),\n options\n ]);\n },\n rt(...args) {\n return Reflect.apply(composer.rt, composer, [...args]);\n },\n // tc\n tc(...args) {\n const [arg1, arg2, arg3] = args;\n const options = { plural: 1 };\n let list = null;\n let named = null;\n if (!isString(arg1)) {\n throw createI18nError(I18nErrorCodes.INVALID_ARGUMENT);\n }\n const key = arg1;\n if (isString(arg2)) {\n options.locale = arg2;\n }\n else if (isNumber(arg2)) {\n options.plural = arg2;\n }\n else if (isArray(arg2)) {\n list = arg2;\n }\n else if (isPlainObject(arg2)) {\n named = arg2;\n }\n if (isString(arg3)) {\n options.locale = arg3;\n }\n else if (isArray(arg3)) {\n list = arg3;\n }\n else if (isPlainObject(arg3)) {\n named = arg3;\n }\n // return composer.t(key, (list || named || {}) as any, options)\n return Reflect.apply(composer.t, composer, [\n key,\n (list || named || {}),\n options\n ]);\n },\n // te\n te(key, locale) {\n return composer.te(key, locale);\n },\n // tm\n tm(key) {\n return composer.tm(key);\n },\n // getLocaleMessage\n getLocaleMessage(locale) {\n return composer.getLocaleMessage(locale);\n },\n // setLocaleMessage\n setLocaleMessage(locale, message) {\n composer.setLocaleMessage(locale, message);\n },\n // mergeLocaleMessage\n mergeLocaleMessage(locale, message) {\n composer.mergeLocaleMessage(locale, message);\n },\n // d\n d(...args) {\n return Reflect.apply(composer.d, composer, [...args]);\n },\n // getDateTimeFormat\n getDateTimeFormat(locale) {\n return composer.getDateTimeFormat(locale);\n },\n // setDateTimeFormat\n setDateTimeFormat(locale, format) {\n composer.setDateTimeFormat(locale, format);\n },\n // mergeDateTimeFormat\n mergeDateTimeFormat(locale, format) {\n composer.mergeDateTimeFormat(locale, format);\n },\n // n\n n(...args) {\n return Reflect.apply(composer.n, composer, [...args]);\n },\n // getNumberFormat\n getNumberFormat(locale) {\n return composer.getNumberFormat(locale);\n },\n // setNumberFormat\n setNumberFormat(locale, format) {\n composer.setNumberFormat(locale, format);\n },\n // mergeNumberFormat\n mergeNumberFormat(locale, format) {\n composer.mergeNumberFormat(locale, format);\n },\n // getChoiceIndex\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n getChoiceIndex(choice, choicesLength) {\n (process.env.NODE_ENV !== 'production') &&\n warn(getWarnMessage(I18nWarnCodes.NOT_SUPPORTED_GET_CHOICE_INDEX));\n return -1;\n }\n };\n vueI18n.__extender = __extender;\n // for vue-devtools timeline event\n if ((process.env.NODE_ENV !== 'production')) {\n vueI18n.__enableEmitter = (emitter) => {\n const __composer = composer;\n __composer[EnableEmitter] && __composer[EnableEmitter](emitter);\n };\n vueI18n.__disableEmitter = () => {\n const __composer = composer;\n __composer[DisableEmitter] && __composer[DisableEmitter]();\n };\n }\n return vueI18n;\n }\n}\n/* eslint-enable @typescript-eslint/no-explicit-any */\n\nconst baseFormatProps = {\n tag: {\n type: [String, Object]\n },\n locale: {\n type: String\n },\n scope: {\n type: String,\n // NOTE: avoid https://github.com/microsoft/rushstack/issues/1050\n validator: (val /* ComponentI18nScope */) => val === 'parent' || val === 'global',\n default: 'parent' /* ComponentI18nScope */\n },\n i18n: {\n type: Object\n }\n};\n\nfunction getInterpolateArg(\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\n{ slots }, // SetupContext,\nkeys) {\n if (keys.length === 1 && keys[0] === 'default') {\n // default slot with list\n const ret = slots.default ? slots.default() : [];\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return ret.reduce((slot, current) => {\n return [\n ...slot,\n // prettier-ignore\n ...(current.type === Fragment ? current.children : [current]\n )\n ];\n }, []);\n }\n else {\n // named slots\n return keys.reduce((arg, key) => {\n const slot = slots[key];\n if (slot) {\n arg[key] = slot();\n }\n return arg;\n }, create());\n }\n}\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction getFragmentableTag(tag) {\n return Fragment ;\n}\n\nconst TranslationImpl = /*#__PURE__*/ defineComponent({\n /* eslint-disable */\n name: 'i18n-t',\n props: assign({\n keypath: {\n type: String,\n required: true\n },\n plural: {\n type: [Number, String],\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n validator: (val) => isNumber(val) || !isNaN(val)\n }\n }, baseFormatProps),\n /* eslint-enable */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n setup(props, context) {\n const { slots, attrs } = context;\n // NOTE: avoid https://github.com/microsoft/rushstack/issues/1050\n const i18n = props.i18n ||\n useI18n({\n useScope: props.scope,\n __useComponent: true\n });\n return () => {\n const keys = Object.keys(slots).filter(key => key !== '_');\n const options = create();\n if (props.locale) {\n options.locale = props.locale;\n }\n if (props.plural !== undefined) {\n options.plural = isString(props.plural) ? +props.plural : props.plural;\n }\n const arg = getInterpolateArg(context, keys);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const children = i18n[TranslateVNodeSymbol](props.keypath, arg, options);\n const assignedAttrs = assign(create(), attrs);\n const tag = isString(props.tag) || isObject(props.tag)\n ? props.tag\n : getFragmentableTag();\n return h(tag, assignedAttrs, children);\n };\n }\n});\n/**\n * export the public type for h/tsx inference\n * also to avoid inline import() in generated d.ts files\n */\n/**\n * Translation Component\n *\n * @remarks\n * See the following items for property about details\n *\n * @VueI18nSee [TranslationProps](component#translationprops)\n * @VueI18nSee [BaseFormatProps](component#baseformatprops)\n * @VueI18nSee [Component Interpolation](../guide/advanced/component)\n *\n * @example\n * ```html\n *
\n * \n * \n * {{ $t('tos') }}\n * \n * \n *
\n * ```\n * ```js\n * import { createApp } from 'vue'\n * import { createI18n } from 'vue-i18n'\n *\n * const messages = {\n * en: {\n * tos: 'Term of Service',\n * term: 'I accept xxx {0}.'\n * },\n * ja: {\n * tos: '利用規約',\n * term: '私は xxx の{0}に同意します。'\n * }\n * }\n *\n * const i18n = createI18n({\n * locale: 'en',\n * messages\n * })\n *\n * const app = createApp({\n * data: {\n * url: '/term'\n * }\n * }).use(i18n).mount('#app')\n * ```\n *\n * @VueI18nComponent\n */\nconst Translation = TranslationImpl;\nconst I18nT = Translation;\n\nfunction isVNode(target) {\n return isArray(target) && !isString(target[0]);\n}\nfunction renderFormatter(props, context, slotKeys, partFormatter) {\n const { slots, attrs } = context;\n return () => {\n const options = { part: true };\n let overrides = create();\n if (props.locale) {\n options.locale = props.locale;\n }\n if (isString(props.format)) {\n options.key = props.format;\n }\n else if (isObject(props.format)) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n if (isString(props.format.key)) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n options.key = props.format.key;\n }\n // Filter out number format options only\n overrides = Object.keys(props.format).reduce((options, prop) => {\n return slotKeys.includes(prop)\n ? assign(create(), options, { [prop]: props.format[prop] }) // eslint-disable-line @typescript-eslint/no-explicit-any\n : options;\n }, create());\n }\n const parts = partFormatter(...[props.value, options, overrides]);\n let children = [options.key];\n if (isArray(parts)) {\n children = parts.map((part, index) => {\n const slot = slots[part.type];\n const node = slot\n ? slot({ [part.type]: part.value, index, parts })\n : [part.value];\n if (isVNode(node)) {\n node[0].key = `${part.type}-${index}`;\n }\n return node;\n });\n }\n else if (isString(parts)) {\n children = [parts];\n }\n const assignedAttrs = assign(create(), attrs);\n const tag = isString(props.tag) || isObject(props.tag)\n ? props.tag\n : getFragmentableTag();\n return h(tag, assignedAttrs, children);\n };\n}\n\nconst NumberFormatImpl = /*#__PURE__*/ defineComponent({\n /* eslint-disable */\n name: 'i18n-n',\n props: assign({\n value: {\n type: Number,\n required: true\n },\n format: {\n type: [String, Object]\n }\n }, baseFormatProps),\n /* eslint-enable */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n setup(props, context) {\n const i18n = props.i18n ||\n useI18n({\n useScope: props.scope,\n __useComponent: true\n });\n return renderFormatter(props, context, NUMBER_FORMAT_OPTIONS_KEYS, (...args) => \n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n i18n[NumberPartsSymbol](...args));\n }\n});\n/**\n * export the public type for h/tsx inference\n * also to avoid inline import() in generated d.ts files\n */\n/**\n * Number Format Component\n *\n * @remarks\n * See the following items for property about details\n *\n * @VueI18nSee [FormattableProps](component#formattableprops)\n * @VueI18nSee [BaseFormatProps](component#baseformatprops)\n * @VueI18nSee [Custom Formatting](../guide/essentials/number#custom-formatting)\n *\n * @VueI18nDanger\n * Not supported IE, due to no support `Intl.NumberFormat#formatToParts` in [IE](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/formatToParts)\n *\n * If you want to use it, you need to use [polyfill](https://github.com/formatjs/formatjs/tree/main/packages/intl-numberformat)\n *\n * @VueI18nComponent\n */\nconst NumberFormat = NumberFormatImpl;\nconst I18nN = NumberFormat;\n\nconst DatetimeFormatImpl = /* #__PURE__*/ defineComponent({\n /* eslint-disable */\n name: 'i18n-d',\n props: assign({\n value: {\n type: [Number, Date],\n required: true\n },\n format: {\n type: [String, Object]\n }\n }, baseFormatProps),\n /* eslint-enable */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n setup(props, context) {\n const i18n = props.i18n ||\n useI18n({\n useScope: props.scope,\n __useComponent: true\n });\n return renderFormatter(props, context, DATETIME_FORMAT_OPTIONS_KEYS, (...args) => \n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n i18n[DatetimePartsSymbol](...args));\n }\n});\n/**\n * Datetime Format Component\n *\n * @remarks\n * See the following items for property about details\n *\n * @VueI18nSee [FormattableProps](component#formattableprops)\n * @VueI18nSee [BaseFormatProps](component#baseformatprops)\n * @VueI18nSee [Custom Formatting](../guide/essentials/datetime#custom-formatting)\n *\n * @VueI18nDanger\n * Not supported IE, due to no support `Intl.DateTimeFormat#formatToParts` in [IE](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/formatToParts)\n *\n * If you want to use it, you need to use [polyfill](https://github.com/formatjs/formatjs/tree/main/packages/intl-datetimeformat)\n *\n * @VueI18nComponent\n */\nconst DatetimeFormat = DatetimeFormatImpl;\nconst I18nD = DatetimeFormat;\n\nfunction getComposer$2(i18n, instance) {\n const i18nInternal = i18n;\n if (i18n.mode === 'composition') {\n return (i18nInternal.__getInstance(instance) || i18n.global);\n }\n else {\n const vueI18n = i18nInternal.__getInstance(instance);\n return vueI18n != null\n ? vueI18n.__composer\n : i18n.global.__composer;\n }\n}\nfunction vTDirective(i18n) {\n const _process = (binding) => {\n const { instance, modifiers, value } = binding;\n /* istanbul ignore if */\n if (!instance || !instance.$) {\n throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);\n }\n const composer = getComposer$2(i18n, instance.$);\n if ((process.env.NODE_ENV !== 'production') && modifiers.preserve) {\n warn(getWarnMessage(I18nWarnCodes.NOT_SUPPORTED_PRESERVE));\n }\n const parsedValue = parseValue(value);\n return [\n Reflect.apply(composer.t, composer, [...makeParams(parsedValue)]),\n composer\n ];\n };\n const register = (el, binding) => {\n const [textContent, composer] = _process(binding);\n if (inBrowser && i18n.global === composer) {\n // global scope only\n el.__i18nWatcher = watch(composer.locale, () => {\n binding.instance && binding.instance.$forceUpdate();\n });\n }\n el.__composer = composer;\n el.textContent = textContent;\n };\n const unregister = (el) => {\n if (inBrowser && el.__i18nWatcher) {\n el.__i18nWatcher();\n el.__i18nWatcher = undefined;\n delete el.__i18nWatcher;\n }\n if (el.__composer) {\n el.__composer = undefined;\n delete el.__composer;\n }\n };\n const update = (el, { value }) => {\n if (el.__composer) {\n const composer = el.__composer;\n const parsedValue = parseValue(value);\n el.textContent = Reflect.apply(composer.t, composer, [\n ...makeParams(parsedValue)\n ]);\n }\n };\n const getSSRProps = (binding) => {\n const [textContent] = _process(binding);\n return { textContent };\n };\n return {\n created: register,\n unmounted: unregister,\n beforeUpdate: update,\n getSSRProps\n };\n}\nfunction parseValue(value) {\n if (isString(value)) {\n return { path: value };\n }\n else if (isPlainObject(value)) {\n if (!('path' in value)) {\n throw createI18nError(I18nErrorCodes.REQUIRED_VALUE, 'path');\n }\n return value;\n }\n else {\n throw createI18nError(I18nErrorCodes.INVALID_VALUE);\n }\n}\nfunction makeParams(value) {\n const { path, locale, args, choice, plural } = value;\n const options = {};\n const named = args || {};\n if (isString(locale)) {\n options.locale = locale;\n }\n if (isNumber(choice)) {\n options.plural = choice;\n }\n if (isNumber(plural)) {\n options.plural = plural;\n }\n return [path, named, options];\n}\n\nfunction apply(app, i18n, ...options) {\n const pluginOptions = isPlainObject(options[0])\n ? options[0]\n : {};\n const useI18nComponentName = !!pluginOptions.useI18nComponentName;\n const globalInstall = isBoolean(pluginOptions.globalInstall)\n ? pluginOptions.globalInstall\n : true;\n if ((process.env.NODE_ENV !== 'production') && globalInstall && useI18nComponentName) {\n warn(getWarnMessage(I18nWarnCodes.COMPONENT_NAME_LEGACY_COMPATIBLE, {\n name: Translation.name\n }));\n }\n if (globalInstall) {\n [!useI18nComponentName ? Translation.name : 'i18n', 'I18nT'].forEach(name => app.component(name, Translation));\n [NumberFormat.name, 'I18nN'].forEach(name => app.component(name, NumberFormat));\n [DatetimeFormat.name, 'I18nD'].forEach(name => app.component(name, DatetimeFormat));\n }\n // install directive\n {\n app.directive('t', vTDirective(i18n));\n }\n}\n\nconst VueDevToolsLabels = {\n [\"vue-devtools-plugin-vue-i18n\" /* VueDevToolsIDs.PLUGIN */]: 'Vue I18n devtools',\n [\"vue-i18n-resource-inspector\" /* VueDevToolsIDs.CUSTOM_INSPECTOR */]: 'I18n Resources',\n [\"vue-i18n-timeline\" /* VueDevToolsIDs.TIMELINE */]: 'Vue I18n'\n};\nconst VueDevToolsPlaceholders = {\n [\"vue-i18n-resource-inspector\" /* VueDevToolsIDs.CUSTOM_INSPECTOR */]: 'Search for scopes ...'\n};\nconst VueDevToolsTimelineColors = {\n [\"vue-i18n-timeline\" /* VueDevToolsIDs.TIMELINE */]: 0xffcd19\n};\n\nconst VUE_I18N_COMPONENT_TYPES = 'vue-i18n: composer properties';\nlet devtoolsApi;\nasync function enableDevTools(app, i18n) {\n return new Promise((resolve, reject) => {\n try {\n setupDevtoolsPlugin({\n id: \"vue-devtools-plugin-vue-i18n\" /* VueDevToolsIDs.PLUGIN */,\n label: VueDevToolsLabels[\"vue-devtools-plugin-vue-i18n\" /* VueDevToolsIDs.PLUGIN */],\n packageName: 'vue-i18n',\n homepage: 'https://vue-i18n.intlify.dev',\n logo: 'https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png',\n componentStateTypes: [VUE_I18N_COMPONENT_TYPES],\n app: app // eslint-disable-line @typescript-eslint/no-explicit-any\n }, api => {\n devtoolsApi = api;\n api.on.visitComponentTree(({ componentInstance, treeNode }) => {\n updateComponentTreeTags(componentInstance, treeNode, i18n);\n });\n api.on.inspectComponent(({ componentInstance, instanceData }) => {\n if (componentInstance.vnode.el &&\n componentInstance.vnode.el.__VUE_I18N__ &&\n instanceData) {\n if (i18n.mode === 'legacy') {\n // ignore global scope on legacy mode\n if (componentInstance.vnode.el.__VUE_I18N__ !==\n i18n.global.__composer) {\n inspectComposer(instanceData, componentInstance.vnode.el.__VUE_I18N__);\n }\n }\n else {\n inspectComposer(instanceData, componentInstance.vnode.el.__VUE_I18N__);\n }\n }\n });\n api.addInspector({\n id: \"vue-i18n-resource-inspector\" /* VueDevToolsIDs.CUSTOM_INSPECTOR */,\n label: VueDevToolsLabels[\"vue-i18n-resource-inspector\" /* VueDevToolsIDs.CUSTOM_INSPECTOR */],\n icon: 'language',\n treeFilterPlaceholder: VueDevToolsPlaceholders[\"vue-i18n-resource-inspector\" /* VueDevToolsIDs.CUSTOM_INSPECTOR */]\n });\n api.on.getInspectorTree(payload => {\n if (payload.app === app &&\n payload.inspectorId === \"vue-i18n-resource-inspector\" /* VueDevToolsIDs.CUSTOM_INSPECTOR */) {\n registerScope(payload, i18n);\n }\n });\n const roots = new Map();\n api.on.getInspectorState(async (payload) => {\n if (payload.app === app &&\n payload.inspectorId === \"vue-i18n-resource-inspector\" /* VueDevToolsIDs.CUSTOM_INSPECTOR */) {\n api.unhighlightElement();\n inspectScope(payload, i18n);\n if (payload.nodeId === 'global') {\n if (!roots.has(payload.app)) {\n const [root] = await api.getComponentInstances(payload.app);\n roots.set(payload.app, root);\n }\n api.highlightElement(roots.get(payload.app));\n }\n else {\n const instance = getComponentInstance(payload.nodeId, i18n);\n instance && api.highlightElement(instance);\n }\n }\n });\n api.on.editInspectorState(payload => {\n if (payload.app === app &&\n payload.inspectorId === \"vue-i18n-resource-inspector\" /* VueDevToolsIDs.CUSTOM_INSPECTOR */) {\n editScope(payload, i18n);\n }\n });\n api.addTimelineLayer({\n id: \"vue-i18n-timeline\" /* VueDevToolsIDs.TIMELINE */,\n label: VueDevToolsLabels[\"vue-i18n-timeline\" /* VueDevToolsIDs.TIMELINE */],\n color: VueDevToolsTimelineColors[\"vue-i18n-timeline\" /* VueDevToolsIDs.TIMELINE */]\n });\n resolve(true);\n });\n }\n catch (e) {\n console.error(e);\n reject(false);\n }\n });\n}\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction getI18nScopeLable(instance) {\n return (instance.type.name ||\n instance.type.displayName ||\n instance.type.__file ||\n 'Anonymous');\n}\nfunction updateComponentTreeTags(instance, // eslint-disable-line @typescript-eslint/no-explicit-any\ntreeNode, i18n) {\n // prettier-ignore\n const global = i18n.mode === 'composition'\n ? i18n.global\n : i18n.global.__composer;\n if (instance && instance.vnode.el && instance.vnode.el.__VUE_I18N__) {\n // add custom tags local scope only\n if (instance.vnode.el.__VUE_I18N__ !== global) {\n const tag = {\n label: `i18n (${getI18nScopeLable(instance)} Scope)`,\n textColor: 0x000000,\n backgroundColor: 0xffcd19\n };\n treeNode.tags.push(tag);\n }\n }\n}\nfunction inspectComposer(instanceData, composer) {\n const type = VUE_I18N_COMPONENT_TYPES;\n instanceData.state.push({\n type,\n key: 'locale',\n editable: true,\n value: composer.locale.value\n });\n instanceData.state.push({\n type,\n key: 'availableLocales',\n editable: false,\n value: composer.availableLocales\n });\n instanceData.state.push({\n type,\n key: 'fallbackLocale',\n editable: true,\n value: composer.fallbackLocale.value\n });\n instanceData.state.push({\n type,\n key: 'inheritLocale',\n editable: true,\n value: composer.inheritLocale\n });\n instanceData.state.push({\n type,\n key: 'messages',\n editable: false,\n value: getLocaleMessageValue(composer.messages.value)\n });\n {\n instanceData.state.push({\n type,\n key: 'datetimeFormats',\n editable: false,\n value: composer.datetimeFormats.value\n });\n instanceData.state.push({\n type,\n key: 'numberFormats',\n editable: false,\n value: composer.numberFormats.value\n });\n }\n}\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction getLocaleMessageValue(messages) {\n const value = {};\n Object.keys(messages).forEach((key) => {\n const v = messages[key];\n if (isFunction(v) && 'source' in v) {\n value[key] = getMessageFunctionDetails(v);\n }\n else if (isMessageAST(v) && v.loc && v.loc.source) {\n value[key] = v.loc.source;\n }\n else if (isObject(v)) {\n value[key] = getLocaleMessageValue(v);\n }\n else {\n value[key] = v;\n }\n });\n return value;\n}\nconst ESC = {\n '<': '<',\n '>': '>',\n '\"': '"',\n '&': '&'\n};\nfunction escape(s) {\n return s.replace(/[<>\"&]/g, escapeChar);\n}\nfunction escapeChar(a) {\n return ESC[a] || a;\n}\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction getMessageFunctionDetails(func) {\n const argString = func.source ? `(\"${escape(func.source)}\")` : `(?)`;\n return {\n _custom: {\n type: 'function',\n display: `ƒ ${argString}`\n }\n };\n}\nfunction registerScope(payload, i18n) {\n payload.rootNodes.push({\n id: 'global',\n label: 'Global Scope'\n });\n // prettier-ignore\n const global = i18n.mode === 'composition'\n ? i18n.global\n : i18n.global.__composer;\n for (const [keyInstance, instance] of i18n.__instances) {\n // prettier-ignore\n const composer = i18n.mode === 'composition'\n ? instance\n : instance.__composer;\n if (global === composer) {\n continue;\n }\n payload.rootNodes.push({\n id: composer.id.toString(),\n label: `${getI18nScopeLable(keyInstance)} Scope`\n });\n }\n}\nfunction getComponentInstance(nodeId, i18n) {\n let instance = null;\n if (nodeId !== 'global') {\n for (const [component, composer] of i18n.__instances.entries()) {\n if (composer.id.toString() === nodeId) {\n instance = component;\n break;\n }\n }\n }\n return instance;\n}\nfunction getComposer$1(nodeId, i18n) {\n if (nodeId === 'global') {\n return i18n.mode === 'composition'\n ? i18n.global\n : i18n.global.__composer;\n }\n else {\n const instance = Array.from(i18n.__instances.values()).find(item => item.id.toString() === nodeId);\n if (instance) {\n return i18n.mode === 'composition'\n ? instance\n : instance.__composer;\n }\n else {\n return null;\n }\n }\n}\nfunction inspectScope(payload, i18n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\n) {\n const composer = getComposer$1(payload.nodeId, i18n);\n if (composer) {\n // TODO:\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n payload.state = makeScopeInspectState(composer);\n }\n return null;\n}\nfunction makeScopeInspectState(composer) {\n const state = {};\n const localeType = 'Locale related info';\n const localeStates = [\n {\n type: localeType,\n key: 'locale',\n editable: true,\n value: composer.locale.value\n },\n {\n type: localeType,\n key: 'fallbackLocale',\n editable: true,\n value: composer.fallbackLocale.value\n },\n {\n type: localeType,\n key: 'availableLocales',\n editable: false,\n value: composer.availableLocales\n },\n {\n type: localeType,\n key: 'inheritLocale',\n editable: true,\n value: composer.inheritLocale\n }\n ];\n state[localeType] = localeStates;\n const localeMessagesType = 'Locale messages info';\n const localeMessagesStates = [\n {\n type: localeMessagesType,\n key: 'messages',\n editable: false,\n value: getLocaleMessageValue(composer.messages.value)\n }\n ];\n state[localeMessagesType] = localeMessagesStates;\n {\n const datetimeFormatsType = 'Datetime formats info';\n const datetimeFormatsStates = [\n {\n type: datetimeFormatsType,\n key: 'datetimeFormats',\n editable: false,\n value: composer.datetimeFormats.value\n }\n ];\n state[datetimeFormatsType] = datetimeFormatsStates;\n const numberFormatsType = 'Datetime formats info';\n const numberFormatsStates = [\n {\n type: numberFormatsType,\n key: 'numberFormats',\n editable: false,\n value: composer.numberFormats.value\n }\n ];\n state[numberFormatsType] = numberFormatsStates;\n }\n return state;\n}\nfunction addTimelineEvent(event, payload) {\n if (devtoolsApi) {\n let groupId;\n if (payload && 'groupId' in payload) {\n groupId = payload.groupId;\n delete payload.groupId;\n }\n devtoolsApi.addTimelineEvent({\n layerId: \"vue-i18n-timeline\" /* VueDevToolsIDs.TIMELINE */,\n event: {\n title: event,\n groupId,\n time: Date.now(),\n meta: {},\n data: payload || {},\n logType: event === \"compile-error\" /* VueDevToolsTimelineEvents.COMPILE_ERROR */\n ? 'error'\n : event === \"fallback\" /* VueDevToolsTimelineEvents.FALBACK */ ||\n event === \"missing\" /* VueDevToolsTimelineEvents.MISSING */\n ? 'warning'\n : 'default'\n }\n });\n }\n}\nfunction editScope(payload, i18n) {\n const composer = getComposer$1(payload.nodeId, i18n);\n if (composer) {\n const [field] = payload.path;\n if (field === 'locale' && isString(payload.state.value)) {\n composer.locale.value = payload.state.value;\n }\n else if (field === 'fallbackLocale' &&\n (isString(payload.state.value) ||\n isArray(payload.state.value) ||\n isObject(payload.state.value))) {\n composer.fallbackLocale.value = payload.state.value;\n }\n else if (field === 'inheritLocale' && isBoolean(payload.state.value)) {\n composer.inheritLocale = payload.state.value;\n }\n }\n}\n\n/**\n * Supports compatibility for legacy vue-i18n APIs\n * This mixin is used when we use vue-i18n@v9.x or later\n */\nfunction defineMixin(vuei18n, composer, i18n) {\n return {\n beforeCreate() {\n const instance = getCurrentInstance();\n /* istanbul ignore if */\n if (!instance) {\n throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);\n }\n const options = this.$options;\n if (options.i18n) {\n const optionsI18n = options.i18n;\n if (options.__i18n) {\n optionsI18n.__i18n = options.__i18n;\n }\n optionsI18n.__root = composer;\n if (this === this.$root) {\n // merge option and gttach global\n this.$i18n = mergeToGlobal(vuei18n, optionsI18n);\n }\n else {\n optionsI18n.__injectWithOption = true;\n optionsI18n.__extender = i18n.__vueI18nExtend;\n // atttach local VueI18n instance\n this.$i18n = createVueI18n(optionsI18n);\n // extend VueI18n instance\n const _vueI18n = this.$i18n;\n if (_vueI18n.__extender) {\n _vueI18n.__disposer = _vueI18n.__extender(this.$i18n);\n }\n }\n }\n else if (options.__i18n) {\n if (this === this.$root) {\n // merge option and gttach global\n this.$i18n = mergeToGlobal(vuei18n, options);\n }\n else {\n // atttach local VueI18n instance\n this.$i18n = createVueI18n({\n __i18n: options.__i18n,\n __injectWithOption: true,\n __extender: i18n.__vueI18nExtend,\n __root: composer\n });\n // extend VueI18n instance\n const _vueI18n = this.$i18n;\n if (_vueI18n.__extender) {\n _vueI18n.__disposer = _vueI18n.__extender(this.$i18n);\n }\n }\n }\n else {\n // attach global VueI18n instance\n this.$i18n = vuei18n;\n }\n if (options.__i18nGlobal) {\n adjustI18nResources(composer, options, options);\n }\n // defines vue-i18n legacy APIs\n this.$t = (...args) => this.$i18n.t(...args);\n this.$rt = (...args) => this.$i18n.rt(...args);\n this.$tc = (...args) => this.$i18n.tc(...args);\n this.$te = (key, locale) => this.$i18n.te(key, locale);\n this.$d = (...args) => this.$i18n.d(...args);\n this.$n = (...args) => this.$i18n.n(...args);\n this.$tm = (key) => this.$i18n.tm(key);\n i18n.__setInstance(instance, this.$i18n);\n },\n mounted() {\n /* istanbul ignore if */\n if (((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) &&\n !false &&\n this.$el &&\n this.$i18n) {\n const _vueI18n = this.$i18n;\n this.$el.__VUE_I18N__ = _vueI18n.__composer;\n const emitter = (this.__v_emitter =\n createEmitter());\n _vueI18n.__enableEmitter && _vueI18n.__enableEmitter(emitter);\n emitter.on('*', addTimelineEvent);\n }\n },\n unmounted() {\n const instance = getCurrentInstance();\n /* istanbul ignore if */\n if (!instance) {\n throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);\n }\n const _vueI18n = this.$i18n;\n /* istanbul ignore if */\n if (((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) &&\n !false &&\n this.$el &&\n this.$el.__VUE_I18N__) {\n if (this.__v_emitter) {\n this.__v_emitter.off('*', addTimelineEvent);\n delete this.__v_emitter;\n }\n if (this.$i18n) {\n _vueI18n.__disableEmitter && _vueI18n.__disableEmitter();\n delete this.$el.__VUE_I18N__;\n }\n }\n delete this.$t;\n delete this.$rt;\n delete this.$tc;\n delete this.$te;\n delete this.$d;\n delete this.$n;\n delete this.$tm;\n if (_vueI18n.__disposer) {\n _vueI18n.__disposer();\n delete _vueI18n.__disposer;\n delete _vueI18n.__extender;\n }\n i18n.__deleteInstance(instance);\n delete this.$i18n;\n }\n };\n}\nfunction mergeToGlobal(g, options) {\n g.locale = options.locale || g.locale;\n g.fallbackLocale = options.fallbackLocale || g.fallbackLocale;\n g.missing = options.missing || g.missing;\n g.silentTranslationWarn =\n options.silentTranslationWarn || g.silentFallbackWarn;\n g.silentFallbackWarn = options.silentFallbackWarn || g.silentFallbackWarn;\n g.formatFallbackMessages =\n options.formatFallbackMessages || g.formatFallbackMessages;\n g.postTranslation = options.postTranslation || g.postTranslation;\n g.warnHtmlInMessage = options.warnHtmlInMessage || g.warnHtmlInMessage;\n g.escapeParameterHtml = options.escapeParameterHtml || g.escapeParameterHtml;\n g.sync = options.sync || g.sync;\n g.__composer[SetPluralRulesSymbol](options.pluralizationRules || g.pluralizationRules);\n const messages = getLocaleMessages(g.locale, {\n messages: options.messages,\n __i18n: options.__i18n\n });\n Object.keys(messages).forEach(locale => g.mergeLocaleMessage(locale, messages[locale]));\n if (options.datetimeFormats) {\n Object.keys(options.datetimeFormats).forEach(locale => g.mergeDateTimeFormat(locale, options.datetimeFormats[locale]));\n }\n if (options.numberFormats) {\n Object.keys(options.numberFormats).forEach(locale => g.mergeNumberFormat(locale, options.numberFormats[locale]));\n }\n return g;\n}\n\n/**\n * Injection key for {@link useI18n}\n *\n * @remarks\n * The global injection key for I18n instances with `useI18n`. this injection key is used in Web Components.\n * Specify the i18n instance created by {@link createI18n} together with `provide` function.\n *\n * @VueI18nGeneral\n */\nconst I18nInjectionKey = \n/* #__PURE__*/ makeSymbol('global-vue-i18n');\n// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\nfunction createI18n(options = {}, VueI18nLegacy) {\n // prettier-ignore\n const __legacyMode = __VUE_I18N_LEGACY_API__ && isBoolean(options.legacy)\n ? options.legacy\n : __VUE_I18N_LEGACY_API__;\n // prettier-ignore\n const __globalInjection = isBoolean(options.globalInjection)\n ? options.globalInjection\n : true;\n // prettier-ignore\n const __allowComposition = __VUE_I18N_LEGACY_API__ && __legacyMode\n ? !!options.allowComposition\n : true;\n const __instances = new Map();\n const [globalScope, __global] = createGlobal(options, __legacyMode);\n const symbol = /* #__PURE__*/ makeSymbol((process.env.NODE_ENV !== 'production') ? 'vue-i18n' : '');\n if ((process.env.NODE_ENV !== 'production')) {\n if (__legacyMode && __allowComposition && !false) {\n warn(getWarnMessage(I18nWarnCodes.NOTICE_DROP_ALLOW_COMPOSITION));\n }\n }\n function __getInstance(component) {\n return __instances.get(component) || null;\n }\n function __setInstance(component, instance) {\n __instances.set(component, instance);\n }\n function __deleteInstance(component) {\n __instances.delete(component);\n }\n {\n const i18n = {\n // mode\n get mode() {\n return __VUE_I18N_LEGACY_API__ && __legacyMode\n ? 'legacy'\n : 'composition';\n },\n // allowComposition\n get allowComposition() {\n return __allowComposition;\n },\n // install plugin\n async install(app, ...options) {\n if (((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) &&\n !false) {\n app.__VUE_I18N__ = i18n;\n }\n // setup global provider\n app.__VUE_I18N_SYMBOL__ = symbol;\n app.provide(app.__VUE_I18N_SYMBOL__, i18n);\n // set composer & vuei18n extend hook options from plugin options\n if (isPlainObject(options[0])) {\n const opts = options[0];\n i18n.__composerExtend =\n opts.__composerExtend;\n i18n.__vueI18nExtend =\n opts.__vueI18nExtend;\n }\n // global method and properties injection for Composition API\n let globalReleaseHandler = null;\n if (!__legacyMode && __globalInjection) {\n globalReleaseHandler = injectGlobalFields(app, i18n.global);\n }\n // install built-in components and directive\n if (__VUE_I18N_FULL_INSTALL__) {\n apply(app, i18n, ...options);\n }\n // setup mixin for Legacy API\n if (__VUE_I18N_LEGACY_API__ && __legacyMode) {\n app.mixin(defineMixin(__global, __global.__composer, i18n));\n }\n // release global scope\n const unmountApp = app.unmount;\n app.unmount = () => {\n globalReleaseHandler && globalReleaseHandler();\n i18n.dispose();\n unmountApp();\n };\n // setup vue-devtools plugin\n if (((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) && !false) {\n const ret = await enableDevTools(app, i18n);\n if (!ret) {\n throw createI18nError(I18nErrorCodes.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);\n }\n const emitter = createEmitter();\n if (__legacyMode) {\n const _vueI18n = __global;\n _vueI18n.__enableEmitter && _vueI18n.__enableEmitter(emitter);\n }\n else {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const _composer = __global;\n _composer[EnableEmitter] && _composer[EnableEmitter](emitter);\n }\n emitter.on('*', addTimelineEvent);\n }\n },\n // global accessor\n get global() {\n return __global;\n },\n dispose() {\n globalScope.stop();\n },\n // @internal\n __instances,\n // @internal\n __getInstance,\n // @internal\n __setInstance,\n // @internal\n __deleteInstance\n };\n return i18n;\n }\n}\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nfunction useI18n(options = {}) {\n const instance = getCurrentInstance();\n if (instance == null) {\n throw createI18nError(I18nErrorCodes.MUST_BE_CALL_SETUP_TOP);\n }\n if (!instance.isCE &&\n instance.appContext.app != null &&\n !instance.appContext.app.__VUE_I18N_SYMBOL__) {\n throw createI18nError(I18nErrorCodes.NOT_INSTALLED);\n }\n const i18n = getI18nInstance(instance);\n const gl = getGlobalComposer(i18n);\n const componentOptions = getComponentOptions(instance);\n const scope = getScope(options, componentOptions);\n if (__VUE_I18N_LEGACY_API__) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n if (i18n.mode === 'legacy' && !options.__useComponent) {\n if (!i18n.allowComposition) {\n throw createI18nError(I18nErrorCodes.NOT_AVAILABLE_IN_LEGACY_MODE);\n }\n return useI18nForLegacy(instance, scope, gl, options);\n }\n }\n if (scope === 'global') {\n adjustI18nResources(gl, options, componentOptions);\n return gl;\n }\n if (scope === 'parent') {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n let composer = getComposer(i18n, instance, options.__useComponent);\n if (composer == null) {\n if ((process.env.NODE_ENV !== 'production')) {\n warn(getWarnMessage(I18nWarnCodes.NOT_FOUND_PARENT_SCOPE));\n }\n composer = gl;\n }\n return composer;\n }\n const i18nInternal = i18n;\n let composer = i18nInternal.__getInstance(instance);\n if (composer == null) {\n const composerOptions = assign({}, options);\n if ('__i18n' in componentOptions) {\n composerOptions.__i18n = componentOptions.__i18n;\n }\n if (gl) {\n composerOptions.__root = gl;\n }\n composer = createComposer(composerOptions);\n if (i18nInternal.__composerExtend) {\n composer[DisposeSymbol] =\n i18nInternal.__composerExtend(composer);\n }\n setupLifeCycle(i18nInternal, instance, composer);\n i18nInternal.__setInstance(instance, composer);\n }\n return composer;\n}\n/**\n * Cast to VueI18n legacy compatible type\n *\n * @remarks\n * This API is provided only with [vue-i18n-bridge](https://vue-i18n.intlify.dev/guide/migration/ways.html#what-is-vue-i18n-bridge).\n *\n * The purpose of this function is to convert an {@link I18n} instance created with {@link createI18n | createI18n(legacy: true)} into a `vue-i18n@v8.x` compatible instance of `new VueI18n` in a TypeScript environment.\n *\n * @param i18n - An instance of {@link I18n}\n * @returns A i18n instance which is casted to {@link VueI18n} type\n *\n * @VueI18nTip\n * :new: provided by **vue-i18n-bridge only**\n *\n * @VueI18nGeneral\n */\n/* #__NO_SIDE_EFFECTS__ */\nconst castToVueI18n = (i18n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\n) => {\n if (!(__VUE_I18N_BRIDGE__ in i18n)) {\n throw createI18nError(I18nErrorCodes.NOT_COMPATIBLE_LEGACY_VUE_I18N);\n }\n return i18n;\n};\nfunction createGlobal(options, legacyMode, VueI18nLegacy // eslint-disable-line @typescript-eslint/no-explicit-any\n) {\n const scope = effectScope();\n {\n const obj = __VUE_I18N_LEGACY_API__ && legacyMode\n ? scope.run(() => createVueI18n(options))\n : scope.run(() => createComposer(options));\n if (obj == null) {\n throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);\n }\n return [scope, obj];\n }\n}\nfunction getI18nInstance(instance) {\n {\n const i18n = inject(!instance.isCE\n ? instance.appContext.app.__VUE_I18N_SYMBOL__\n : I18nInjectionKey);\n /* istanbul ignore if */\n if (!i18n) {\n throw createI18nError(!instance.isCE\n ? I18nErrorCodes.UNEXPECTED_ERROR\n : I18nErrorCodes.NOT_INSTALLED_WITH_PROVIDE);\n }\n return i18n;\n }\n}\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction getScope(options, componentOptions) {\n // prettier-ignore\n return isEmptyObject(options)\n ? ('__i18n' in componentOptions)\n ? 'local'\n : 'global'\n : !options.useScope\n ? 'local'\n : options.useScope;\n}\nfunction getGlobalComposer(i18n) {\n // prettier-ignore\n return i18n.mode === 'composition'\n ? i18n.global\n : i18n.global.__composer\n ;\n}\nfunction getComposer(i18n, target, useComponent = false) {\n let composer = null;\n const root = target.root;\n let current = getParentComponentInstance(target, useComponent);\n while (current != null) {\n const i18nInternal = i18n;\n if (i18n.mode === 'composition') {\n composer = i18nInternal.__getInstance(current);\n }\n else {\n if (__VUE_I18N_LEGACY_API__) {\n const vueI18n = i18nInternal.__getInstance(current);\n if (vueI18n != null) {\n composer = vueI18n\n .__composer;\n if (useComponent &&\n composer &&\n !composer[InejctWithOptionSymbol] // eslint-disable-line @typescript-eslint/no-explicit-any\n ) {\n composer = null;\n }\n }\n }\n }\n if (composer != null) {\n break;\n }\n if (root === current) {\n break;\n }\n current = current.parent;\n }\n return composer;\n}\nfunction getParentComponentInstance(target, useComponent = false) {\n if (target == null) {\n return null;\n }\n {\n // if `useComponent: true` will be specified, we get lexical scope owner instance for use-case slots\n return !useComponent\n ? target.parent\n : target.vnode.ctx || target.parent; // eslint-disable-line @typescript-eslint/no-explicit-any\n }\n}\nfunction setupLifeCycle(i18n, target, composer) {\n let emitter = null;\n {\n onMounted(() => {\n // inject composer instance to DOM for intlify-devtools\n if (((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) &&\n !false &&\n target.vnode.el) {\n target.vnode.el.__VUE_I18N__ = composer;\n emitter = createEmitter();\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const _composer = composer;\n _composer[EnableEmitter] && _composer[EnableEmitter](emitter);\n emitter.on('*', addTimelineEvent);\n }\n }, target);\n onUnmounted(() => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const _composer = composer;\n // remove composer instance from DOM for intlify-devtools\n if (((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) &&\n !false &&\n target.vnode.el &&\n target.vnode.el.__VUE_I18N__) {\n emitter && emitter.off('*', addTimelineEvent);\n _composer[DisableEmitter] && _composer[DisableEmitter]();\n delete target.vnode.el.__VUE_I18N__;\n }\n i18n.__deleteInstance(target);\n // dispose extended resources\n const dispose = _composer[DisposeSymbol];\n if (dispose) {\n dispose();\n delete _composer[DisposeSymbol];\n }\n }, target);\n }\n}\nfunction useI18nForLegacy(instance, scope, root, options = {} // eslint-disable-line @typescript-eslint/no-explicit-any\n) {\n const isLocalScope = scope === 'local';\n const _composer = shallowRef(null);\n if (isLocalScope &&\n instance.proxy &&\n !(instance.proxy.$options.i18n || instance.proxy.$options.__i18n)) {\n throw createI18nError(I18nErrorCodes.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);\n }\n const _inheritLocale = isBoolean(options.inheritLocale)\n ? options.inheritLocale\n : !isString(options.locale);\n const _locale = ref(\n // prettier-ignore\n !isLocalScope || _inheritLocale\n ? root.locale.value\n : isString(options.locale)\n ? options.locale\n : DEFAULT_LOCALE);\n const _fallbackLocale = ref(\n // prettier-ignore\n !isLocalScope || _inheritLocale\n ? root.fallbackLocale.value\n : isString(options.fallbackLocale) ||\n isArray(options.fallbackLocale) ||\n isPlainObject(options.fallbackLocale) ||\n options.fallbackLocale === false\n ? options.fallbackLocale\n : _locale.value);\n const _messages = ref(getLocaleMessages(_locale.value, options));\n // prettier-ignore\n const _datetimeFormats = ref(isPlainObject(options.datetimeFormats)\n ? options.datetimeFormats\n : { [_locale.value]: {} });\n // prettier-ignore\n const _numberFormats = ref(isPlainObject(options.numberFormats)\n ? options.numberFormats\n : { [_locale.value]: {} });\n // prettier-ignore\n const _missingWarn = isLocalScope\n ? root.missingWarn\n : isBoolean(options.missingWarn) || isRegExp(options.missingWarn)\n ? options.missingWarn\n : true;\n // prettier-ignore\n const _fallbackWarn = isLocalScope\n ? root.fallbackWarn\n : isBoolean(options.fallbackWarn) || isRegExp(options.fallbackWarn)\n ? options.fallbackWarn\n : true;\n // prettier-ignore\n const _fallbackRoot = isLocalScope\n ? root.fallbackRoot\n : isBoolean(options.fallbackRoot)\n ? options.fallbackRoot\n : true;\n // configure fall back to root\n const _fallbackFormat = !!options.fallbackFormat;\n // runtime missing\n const _missing = isFunction(options.missing) ? options.missing : null;\n // postTranslation handler\n const _postTranslation = isFunction(options.postTranslation)\n ? options.postTranslation\n : null;\n // prettier-ignore\n const _warnHtmlMessage = isLocalScope\n ? root.warnHtmlMessage\n : isBoolean(options.warnHtmlMessage)\n ? options.warnHtmlMessage\n : true;\n const _escapeParameter = !!options.escapeParameter;\n // prettier-ignore\n const _modifiers = isLocalScope\n ? root.modifiers\n : isPlainObject(options.modifiers)\n ? options.modifiers\n : {};\n // pluralRules\n const _pluralRules = options.pluralRules || (isLocalScope && root.pluralRules);\n // track reactivity\n function trackReactivityValues() {\n return [\n _locale.value,\n _fallbackLocale.value,\n _messages.value,\n _datetimeFormats.value,\n _numberFormats.value\n ];\n }\n // locale\n const locale = computed({\n get: () => {\n return _composer.value ? _composer.value.locale.value : _locale.value;\n },\n set: val => {\n if (_composer.value) {\n _composer.value.locale.value = val;\n }\n _locale.value = val;\n }\n });\n // fallbackLocale\n const fallbackLocale = computed({\n get: () => {\n return _composer.value\n ? _composer.value.fallbackLocale.value\n : _fallbackLocale.value;\n },\n set: val => {\n if (_composer.value) {\n _composer.value.fallbackLocale.value = val;\n }\n _fallbackLocale.value = val;\n }\n });\n // messages\n const messages = computed(() => {\n if (_composer.value) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return _composer.value.messages.value;\n }\n else {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return _messages.value;\n }\n });\n const datetimeFormats = computed(() => _datetimeFormats.value);\n const numberFormats = computed(() => _numberFormats.value);\n function getPostTranslationHandler() {\n return _composer.value\n ? _composer.value.getPostTranslationHandler()\n : _postTranslation;\n }\n function setPostTranslationHandler(handler) {\n if (_composer.value) {\n _composer.value.setPostTranslationHandler(handler);\n }\n }\n function getMissingHandler() {\n return _composer.value ? _composer.value.getMissingHandler() : _missing;\n }\n function setMissingHandler(handler) {\n if (_composer.value) {\n _composer.value.setMissingHandler(handler);\n }\n }\n function warpWithDeps(fn) {\n trackReactivityValues();\n return fn();\n }\n function t(...args) {\n return _composer.value\n ? warpWithDeps(() => Reflect.apply(_composer.value.t, null, [...args]))\n : warpWithDeps(() => '');\n }\n function rt(...args) {\n return _composer.value\n ? Reflect.apply(_composer.value.rt, null, [...args])\n : '';\n }\n function d(...args) {\n return _composer.value\n ? warpWithDeps(() => Reflect.apply(_composer.value.d, null, [...args]))\n : warpWithDeps(() => '');\n }\n function n(...args) {\n return _composer.value\n ? warpWithDeps(() => Reflect.apply(_composer.value.n, null, [...args]))\n : warpWithDeps(() => '');\n }\n function tm(key) {\n return _composer.value ? _composer.value.tm(key) : {};\n }\n function te(key, locale) {\n return _composer.value ? _composer.value.te(key, locale) : false;\n }\n function getLocaleMessage(locale) {\n return _composer.value ? _composer.value.getLocaleMessage(locale) : {};\n }\n function setLocaleMessage(locale, message) {\n if (_composer.value) {\n _composer.value.setLocaleMessage(locale, message);\n _messages.value[locale] = message;\n }\n }\n function mergeLocaleMessage(locale, message) {\n if (_composer.value) {\n _composer.value.mergeLocaleMessage(locale, message);\n }\n }\n function getDateTimeFormat(locale) {\n return _composer.value ? _composer.value.getDateTimeFormat(locale) : {};\n }\n function setDateTimeFormat(locale, format) {\n if (_composer.value) {\n _composer.value.setDateTimeFormat(locale, format);\n _datetimeFormats.value[locale] = format;\n }\n }\n function mergeDateTimeFormat(locale, format) {\n if (_composer.value) {\n _composer.value.mergeDateTimeFormat(locale, format);\n }\n }\n function getNumberFormat(locale) {\n return _composer.value ? _composer.value.getNumberFormat(locale) : {};\n }\n function setNumberFormat(locale, format) {\n if (_composer.value) {\n _composer.value.setNumberFormat(locale, format);\n _numberFormats.value[locale] = format;\n }\n }\n function mergeNumberFormat(locale, format) {\n if (_composer.value) {\n _composer.value.mergeNumberFormat(locale, format);\n }\n }\n const wrapper = {\n get id() {\n return _composer.value ? _composer.value.id : -1;\n },\n locale,\n fallbackLocale,\n messages,\n datetimeFormats,\n numberFormats,\n get inheritLocale() {\n return _composer.value ? _composer.value.inheritLocale : _inheritLocale;\n },\n set inheritLocale(val) {\n if (_composer.value) {\n _composer.value.inheritLocale = val;\n }\n },\n get availableLocales() {\n return _composer.value\n ? _composer.value.availableLocales\n : Object.keys(_messages.value);\n },\n get modifiers() {\n return (_composer.value ? _composer.value.modifiers : _modifiers);\n },\n get pluralRules() {\n return (_composer.value ? _composer.value.pluralRules : _pluralRules);\n },\n get isGlobal() {\n return _composer.value ? _composer.value.isGlobal : false;\n },\n get missingWarn() {\n return _composer.value ? _composer.value.missingWarn : _missingWarn;\n },\n set missingWarn(val) {\n if (_composer.value) {\n _composer.value.missingWarn = val;\n }\n },\n get fallbackWarn() {\n return _composer.value ? _composer.value.fallbackWarn : _fallbackWarn;\n },\n set fallbackWarn(val) {\n if (_composer.value) {\n _composer.value.missingWarn = val;\n }\n },\n get fallbackRoot() {\n return _composer.value ? _composer.value.fallbackRoot : _fallbackRoot;\n },\n set fallbackRoot(val) {\n if (_composer.value) {\n _composer.value.fallbackRoot = val;\n }\n },\n get fallbackFormat() {\n return _composer.value ? _composer.value.fallbackFormat : _fallbackFormat;\n },\n set fallbackFormat(val) {\n if (_composer.value) {\n _composer.value.fallbackFormat = val;\n }\n },\n get warnHtmlMessage() {\n return _composer.value\n ? _composer.value.warnHtmlMessage\n : _warnHtmlMessage;\n },\n set warnHtmlMessage(val) {\n if (_composer.value) {\n _composer.value.warnHtmlMessage = val;\n }\n },\n get escapeParameter() {\n return _composer.value\n ? _composer.value.escapeParameter\n : _escapeParameter;\n },\n set escapeParameter(val) {\n if (_composer.value) {\n _composer.value.escapeParameter = val;\n }\n },\n t,\n getPostTranslationHandler,\n setPostTranslationHandler,\n getMissingHandler,\n setMissingHandler,\n rt,\n d,\n n,\n tm,\n te,\n getLocaleMessage,\n setLocaleMessage,\n mergeLocaleMessage,\n getDateTimeFormat,\n setDateTimeFormat,\n mergeDateTimeFormat,\n getNumberFormat,\n setNumberFormat,\n mergeNumberFormat\n };\n function sync(composer) {\n composer.locale.value = _locale.value;\n composer.fallbackLocale.value = _fallbackLocale.value;\n Object.keys(_messages.value).forEach(locale => {\n composer.mergeLocaleMessage(locale, _messages.value[locale]);\n });\n Object.keys(_datetimeFormats.value).forEach(locale => {\n composer.mergeDateTimeFormat(locale, _datetimeFormats.value[locale]);\n });\n Object.keys(_numberFormats.value).forEach(locale => {\n composer.mergeNumberFormat(locale, _numberFormats.value[locale]);\n });\n composer.escapeParameter = _escapeParameter;\n composer.fallbackFormat = _fallbackFormat;\n composer.fallbackRoot = _fallbackRoot;\n composer.fallbackWarn = _fallbackWarn;\n composer.missingWarn = _missingWarn;\n composer.warnHtmlMessage = _warnHtmlMessage;\n }\n onBeforeMount(() => {\n if (instance.proxy == null || instance.proxy.$i18n == null) {\n throw createI18nError(I18nErrorCodes.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);\n }\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const composer = (_composer.value = instance.proxy.$i18n\n .__composer);\n if (scope === 'global') {\n _locale.value = composer.locale.value;\n _fallbackLocale.value = composer.fallbackLocale.value;\n _messages.value = composer.messages.value;\n _datetimeFormats.value = composer.datetimeFormats.value;\n _numberFormats.value = composer.numberFormats.value;\n }\n else if (isLocalScope) {\n sync(composer);\n }\n });\n return wrapper;\n}\nconst globalExportProps = [\n 'locale',\n 'fallbackLocale',\n 'availableLocales'\n];\nconst globalExportMethods = ['t', 'rt', 'd', 'n', 'tm', 'te']\n ;\nfunction injectGlobalFields(app, composer) {\n const i18n = Object.create(null);\n globalExportProps.forEach(prop => {\n const desc = Object.getOwnPropertyDescriptor(composer, prop);\n if (!desc) {\n throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);\n }\n const wrap = isRef(desc.value) // check computed props\n ? {\n get() {\n return desc.value.value;\n },\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n set(val) {\n desc.value.value = val;\n }\n }\n : {\n get() {\n return desc.get && desc.get();\n }\n };\n Object.defineProperty(i18n, prop, wrap);\n });\n app.config.globalProperties.$i18n = i18n;\n globalExportMethods.forEach(method => {\n const desc = Object.getOwnPropertyDescriptor(composer, method);\n if (!desc || !desc.value) {\n throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);\n }\n Object.defineProperty(app.config.globalProperties, `$${method}`, desc);\n });\n const dispose = () => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n delete app.config.globalProperties.$i18n;\n globalExportMethods.forEach(method => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n delete app.config.globalProperties[`$${method}`];\n });\n };\n return dispose;\n}\n\n{\n initFeatureFlags();\n}\n// register message compiler for jit compilation\nif (__INTLIFY_JIT_COMPILATION__) {\n registerMessageCompiler(compile);\n}\n// register message resolver at vue-i18n\nregisterMessageResolver(resolveValue);\n// register fallback locale at vue-i18n\nregisterLocaleFallbacker(fallbackWithLocaleChain);\n// NOTE: experimental !!\nif ((process.env.NODE_ENV !== 'production') || __INTLIFY_PROD_DEVTOOLS__) {\n const target = getGlobalThis();\n target.__INTLIFY__ = true;\n setDevToolsHook(target.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);\n}\nif ((process.env.NODE_ENV !== 'production')) ;\n\nexport { DatetimeFormat, I18nD, I18nInjectionKey, I18nN, I18nT, NumberFormat, Translation, VERSION, castToVueI18n, createI18n, useI18n, vTDirective };\n","import { isValid, lightFormat } from 'date-fns';\nimport { ref, Ref, unref, watch } from 'vue';\nimport { useI18n } from 'vue-i18n';\n\nexport interface Translatable {\n translations?: {\n language: string;\n type: string;\n name?: string;\n }[];\n}\nexport default {\n groupBy(objectArray: any[], property: string) {\n return objectArray.reduce(function (acc, obj) {\n const key = obj[property];\n if (!acc[key]) {\n acc[key] = [];\n }\n acc[key].push(obj);\n return acc;\n }, {});\n },\n\n getTranslation(\n translations: Array<{ language: string; type: string }> | undefined | null,\n locale: string,\n ): Record | undefined {\n if (!translations || translations.length === 0 || !locale) {\n return undefined;\n }\n\n const exactMatch = translations.find(\n (translation) => translation.language === locale,\n );\n if (exactMatch) {\n return exactMatch;\n }\n\n const shorthandMatch = translations.find((translation) =>\n translation.language.startsWith(locale.substring(0, 2)),\n );\n if (shorthandMatch) {\n return shorthandMatch;\n }\n\n const englishMatch = translations.find((translation) =>\n translation.language.startsWith('en'),\n );\n if (englishMatch) {\n return englishMatch;\n }\n\n const defaultMatch = translations.find(\n (translation) => translation.type === 'default',\n );\n if (defaultMatch) {\n return defaultMatch;\n }\n\n return translations?.[0];\n },\n\n getItemTranslation(\n item: T | null,\n locale: string,\n ): string | undefined {\n return this.getTranslation(item?.translations, locale)?.name;\n },\n\n getItemDescription(\n item: {\n descriptions: Array<{\n language: string;\n type: string;\n description: string;\n }>;\n } | null,\n locale: string,\n ): string | undefined {\n return this.getTranslation(item?.descriptions, locale)?.description;\n },\n\n stringToDate(dateString: string): Date | undefined {\n const parsed = new Date(dateString);\n if (!dateString || isNaN(parsed.getTime())) {\n return undefined;\n }\n return parsed;\n },\n\n dateToString(\n inputDate: Date | string | undefined | null,\n ): string | undefined {\n if (!inputDate) {\n return undefined;\n }\n\n const date =\n typeof inputDate === 'string' ? new Date(inputDate) : inputDate;\n\n if (!isValid(date)) {\n return undefined;\n }\n\n return lightFormat(date, 'yyyy-MM-dd');\n },\n\n iriToID(iri: string | undefined): string | undefined {\n const split = iri?.split('/');\n return split?.[split.length - 1];\n },\n\n // Extract ID from IRI string or object\n extractID(\n iri: string | undefined | null | Record,\n ): string | undefined {\n if (iri === undefined || iri === null) {\n return undefined;\n }\n\n if (typeof iri === 'string') {\n return this.iriToID(iri);\n }\n\n if (iri instanceof Object && 'id' in iri) {\n return iri.id;\n }\n\n if (iri instanceof Object && '@id' in iri) {\n return this.iriToID(iri['@id']);\n }\n\n return undefined;\n },\n\n getIRI(\n object: string | undefined | null | Record,\n path: string,\n ): string | undefined {\n const id = this.extractID(object);\n if (id === undefined) {\n return undefined;\n }\n return path + id.toString();\n },\n\n dt(path: string | Ref): Ref {\n const { t, locale } = useI18n({ useScope: 'global' });\n const tr = ref(t(unref(path)));\n watch(\n () => [unref(locale), unref(path)],\n () => (tr.value = t(unref(path))),\n );\n return tr;\n },\n\n formatTimeRange(start: string, end: string, locale: string) {\n const formatter = new Intl.DateTimeFormat(locale, {\n timeStyle: 'short',\n });\n const startDate = new Date(0, 0, 0, ...start.split(':'));\n const endDate = new Date(0, 0, 0, ...end.split(':'));\n if (isNaN(startDate.getTime()) || isNaN(endDate.getTime())) {\n return '';\n }\n return formatter.formatRange(startDate, endDate);\n },\n};\n","import helpers from '@/services/helpers';\nimport type { InjectionKey, Plugin } from 'vue';\n\nexport const HelpersKey: InjectionKey = Symbol('helpers');\ndeclare module 'vue' {\n interface ComponentCustomProperties {\n $helpers: typeof helpers;\n }\n}\n\nconst helperPlugin: Plugin = {\n install: (app) => {\n app.config.globalProperties.$helpers = helpers;\n app.provide(HelpersKey, helpers);\n },\n};\n\nexport default helperPlugin;\n","{\n \"general\": {\n \"title\": \"Titel\"\n },\n \"header\": {\n \"language\": \"Taal\",\n \"help\": \"Help\",\n \"help_modal\": {\n \"description\": \"Als u hulp nodig heeft of vragen heeft, kunt u contact met ons opnemen via e-mail op {mail} of telefonisch op {phone}.\"\n }\n },\n \"fields\": {\n \"error_message\": \"Dit veld is verplicht\",\n \"invalid_email\": \"Ongeldig e-mailadres\",\n \"invalid_end\": \"Eindtijd moet na de starttijd liggen\",\n \"terms_required\": \"U moet akkoord gaan met de algemene voorwaarden om door te gaan\",\n \"invalid_phone\": \"Ongeldig telefoonnummer. Probeer de landcode toe te voegen.\"\n },\n \"reservation_steps\": {\n \"title\": \"Uw boeking:\",\n \"step_1\": {\n \"title\": \"Boekingsgegevens\",\n \"sub_steps\": {\n \"services\": \"Benodigde diensten\",\n \"location\": \"Kies een locatie\",\n \"email\": \"Contactgegevens\"\n }\n },\n \"step_2\": {\n \"title\": \"Evenementruimtes\",\n \"sub_steps\": {\n \"basic_information_meeting_rooms\": \"Uw evenement\",\n \"days\": \"Evenementdetails\",\n \"remarks\": \"Opmerkingen\"\n }\n },\n \"step_3\": {\n \"title\": \"Gastenkamers\",\n \"sub_steps\": {\n \"basic_information_hotel_rooms\": \"Details\"\n }\n },\n \"step_4\": {\n \"title\": \"Contactgegevens\",\n \"sub_steps\": {\n \"basic_information\": \"Accountgegevens\",\n \"contact_person\": \"Factuuradres\"\n }\n },\n \"step_5\": {\n \"title\": \"Boekingsoverzicht\"\n }\n },\n \"reservation_form\": {\n \"step_1\": {\n \"services\": {\n \"title\": \"Benodigde diensten\",\n \"mice\": \"Evenementruimtes\",\n \"hotel\": \"Gastenkamers\"\n },\n \"location\": {\n \"title\": \"Kies een locatie\",\n \"address\": \"Adres\",\n \"phonenumber\": \"Telefoonnummer\"\n },\n \"contract_email\": {\n \"title\": \"Contactgegevens\",\n \"field\": \"E-mailadres\"\n }\n },\n \"step_2\": {\n \"basic_information\": {\n \"title\": \"Uw evenement\",\n \"description_header\": \"\",\n \"description\": \"Selecteer de dagen waarop uw evenement plaatsvindt. U kunt meerdere dagen selecteren en de details per dag aanpassen.\",\n \"fields\": {\n \"event_name\": \"Naam van het evenement\",\n \"event_type\": \"Type evenement\",\n \"number_of_guests\": \"Aantal gasten\",\n \"start_time\": \"Starttijd\",\n \"end_time\": \"Eindtijd\",\n \"amount\": \"Bedrag\",\n \"total\": \"Totaal\",\n \"add\": \"Toevoegen\",\n \"emplacement\": \"Opstelling\"\n }\n },\n \"add_day\": {\n \"title\": \"Wilt u nog een dag toevoegen?\",\n \"add_day\": \"Dag toevoegen\",\n \"add_item\": \"Product toevoegen\",\n \"day\": \"Dag {dayCount}\",\n \"date\": \"Datum\",\n \"select_date\": \"Selecteer datum\",\n \"select_date_description\": \"Dit is {day} van uw evenement. U kunt de details voor deze dag hieronder aanpassen.\",\n \"plenary_hall\": \"Functieruimte\",\n \"sub_hall\": \"Subruimte\",\n \"add_hall_description\": \"Klik op de knop 'Functieruimte toevoegen' om meer ruimtes aan deze dag toe te voegen.\",\n \"add_hall_required\": \"Aangezien uw pakket geen functieruimte bevat, moet u er minimaal één toevoegen\",\n \"add_hall_required_error\": \"Voeg minimaal één functieruimte toe om door te gaan\",\n \"add_hall_button\": \"Functieruimte toevoegen\",\n \"package_deal\": \"Beschikbare arrangementen\",\n \"package_deal_chosen\": \"Geselecteerd arrangement\",\n \"package_deal_available\": \"Beschikbare arrangementen\",\n \"package_deal_items\": \"Extra producten\",\n \"package_deal_items_included\": \"Bekijk inbegrepen producten\",\n \"package_deal_spaces_included\": \"Inbegrepen functieruimtes\",\n \"additional_items\": \"Extra producten\",\n \"search\": \"Zoeken\",\n \"no_items_found\": \"Geen producten gevonden\",\n \"choose_package_deal\": \"Kiezen\"\n },\n \"remarks\": {\n \"title\": \"Opmerkingen\"\n },\n \"item_types\": {\n \"audiovisual\": \"Audiovisueel\",\n \"food_beverage\": \"Eten & drinken\",\n \"other\": \"Overig\"\n },\n \"item_examples\": {\n \"audiovisual\": \"Bijvoorbeeld: microfoons\",\n \"food_beverage\": \"Bijvoorbeeld: snacks\",\n \"other\": \"Bijvoorbeeld: bloemen\"\n },\n \"clone_day\": \"Dag kopiëren\",\n \"space_selector\": {\n \"show_spaces\": \"Kies een functieruimte\",\n \"hide_spaces\": \"Verberg functieruimtes\",\n \"no_selection\": \"Wij kiezen op basis van de bovenstaande informatie een geschikte functieruimte voor u.\",\n \"capacities\": \"Capaciteit per opstelling\",\n \"space_not_available\": \"Niet beschikbaar\",\n \"space_selected\": \"Geselecteerd\",\n \"select_space\": \"Selecteren\",\n \"show_more\": \"Toon meer ruimtes\",\n \"show_less\": \"Toon minder ruimtes\",\n \"show_unavailable\": \"Toon niet-beschikbare ruimtes\",\n \"hide_unavailable\": \"Verberg niet-beschikbare ruimtes\",\n \"no_image\": \"Geen foto beschikbaar\"\n }\n },\n \"step_3\": {\n \"booking\": {\n \"title\": \"Gastenkamers\",\n \"available\": \"Beschikbaar\",\n \"unavailable\": \"Niet beschikbaar\",\n \"fields\": {\n \"name\": \"Groepsnaam\",\n \"check_in_date\": \"Check-in\",\n \"check_out_date\": \"Check-out\",\n \"number_of_rooms\": \"Aantal kamers\",\n \"persons_per_room\": \"Gasten/kamer\",\n \"total_guests\": \"Totaal aantal gasten\",\n \"room_type\": \"Kamertype\",\n \"late_check_out\": \"Late check-out\",\n \"late_check_out_rooms\": \"Kamers met late check-out\",\n \"breakfast\": \"Ontbijt\",\n \"remarks\": \"Opmerkingen\"\n }\n },\n \"overnight_stay\": {\n \"title\": \"Wilt u nog een extra overnachting?\",\n \"button\": \"Overnachting toevoegen\",\n \"day\": \"Overnachting\"\n },\n \"clone_room\": \"Overnachting kopiëren\"\n },\n \"step_4\": {\n \"account_details\": {\n \"title\": \"Accountgegevens\",\n \"fields\": {\n \"first_name\": \"Voornaam\",\n \"last_name\": \"Achternaam\",\n \"company_name\": \"Bedrijf\",\n \"email_address\": \"E-mailadres\",\n \"phone_number\": \"Telefoonnummer\"\n }\n },\n \"billing_address\": {\n \"title\": \"Factuuradres\",\n \"fields\": {\n \"address\": \"Adres\",\n \"postal_code\": \"Postcode\",\n \"city\": \"Plaats\",\n \"country\": \"Land\"\n }\n },\n \"contact_person_location\": {\n \"title\": \"Contactpersoon op locatie\",\n \"fields\": {\n \"copy\": \"Kopieer van accountgegevens\"\n }\n },\n \"discount_code\": \"Actiecode\",\n \"invoice_reference\": \"Factuurreferentie\"\n },\n \"step_5\": {\n \"offer\": \"Uw offerte\",\n \"reservation\": \"Uw reservering\",\n \"request\": \"Uw boeking\",\n \"offer_details\": \"U kunt hier alle details bekijken. Bekijk ook de suggesties die wij op basis van onze expertise voor u hebben geselecteerd.\",\n \"download_pdf\": \"PDF downloaden\",\n \"hotel_only_meeting\": \"stay\",\n \"discount\": \"Korting\",\n \"remarks\": \"Opmerkingen\",\n \"payment_method\": \"Betaalmethode\",\n \"payment_done\": \"Betaling geslaagd\",\n \"payment_succeeded\": \"Uw boeking is geplaatst. Wij sturen u een e-mail met uw gegevens.\",\n \"payment_waiting\": \"Betaling in behandeling\",\n \"payment_processing\": \"Uw betaling wordt nog verwerkt. Wij sturen u een e-mail zodra uw betaling geslaagd is.\",\n \"payment_failed\": \"Betaling mislukt\",\n \"payment_failed_message\": \"Er is iets misgegaan bij het verwerken van uw betaling. Probeer het alstublieft opnieuw.\",\n \"sub_total_exclusive_vat\": \"Subtotaal (exclusief btw)\",\n \"sub_total_exclusive_sales_tax\": \"Subtotaal (exclusief verkoopbelasting)\",\n \"vat_amount\": \"{vat}% btw\",\n \"sales_tax_amount\": \"{vat}% verkoopbelasting\",\n \"terms_and_conditions\": \"Algemene voorwaarden\",\n \"minutes_left\": \"Uw aanvraag wordt nog 1 minuut voor u gereserveerd. Rond uw betaling snel af om deze te bevestigen. | Uw aanvraag wordt nog {count} minuten voor u gereserveerd. Rond uw betaling snel af om deze te bevestigen.\",\n \"seconds_left\": \"U heeft nog 1 seconde om uw betaling af te ronden. Uw aanvraag verloopt spoedig. | U heeft nog {count} seconden om uw betaling af te ronden. Uw aanvraag verloopt spoedig.\",\n \"timer\": {\n \"title\": \"Tijd op\",\n \"subtitle\": \"Sorry, de tijd voor het afronden van uw betaling is verstreken. Maak u geen zorgen, uw aanvraag is bewaard en wij nemen zo snel mogelijk contact met u op.\"\n },\n \"basic_information\": {\n \"title\": \"Boekingsdetails\",\n \"event_name\": \"Naam van het evenement\",\n \"event_type\": \"Type evenement\"\n },\n \"contact_information\": {\n \"title\": \"Contactinformatie\",\n \"contact_person_location\": \"Contactpersoon op locatie\",\n \"account_details\": \"Accountgegevens\",\n \"billing_address\": \"Factuuradres\"\n },\n \"day\": {\n \"day\": \"Dag {dayCount}\",\n \"function_spaces\": \"Functieruimtes\",\n \"additional_function_spaces\": \"Aanvullende functieruimtes\",\n \"pax\": \"Aantal gasten\",\n \"emplacement\": \"Opstelling\",\n \"start_time\": \"Starttijd\",\n \"end_time\": \"Eindtijd\",\n \"package_deals\": \"Arrangementen\",\n \"package_deals_details\": \"Het arrangement dat voor u gereedstaat met de bijbehorende producten.\",\n \"package_deals_amount\": \"1 arrangement | {count} arrangementen\",\n \"package_deals_price\": \"{amount} per person\",\n \"additional_items\": \"Extra producten\",\n \"total\": \"Totaal\",\n \"vat\": \"inclusief btw\",\n \"sales_tax\": \"exclusief verkoopbelasting\",\n \"hall_rental\": {\n \"title\": \"Huur van functieruimte\",\n \"pax\": \"{pax} Personen\"\n }\n },\n \"hotel_room\": {\n \"title\": \"Gastenkamers\",\n \"price\": \"Prijs\",\n \"room_type\": \"Kamertype\",\n \"rooms\": \"Kamers\",\n \"number_of_rooms\": \"0 Kamers | 1 Kamer | {n} Kamers\",\n \"per_room\": \"Bezetting\",\n \"pax_room\": \"0 Personen per kamer | 1 Persoon per kamer | {n} Personen per kamer\",\n \"breakfast\": \"Ontbijt\",\n \"breakfast_included\": \"Niet inbegrepen | Inbegrepen\",\n \"late_checkout\": \"Late check-out\",\n \"nights\": \"0 nachten | 1 nacht | {n} nachten\",\n \"per_night\": \"{amount} per kamer per nacht\",\n \"breakfast_price\": \"{name}: {amount} per persoon per nacht\",\n \"late_checkout_price\": \"Late check-out: {amount} per kamer\",\n \"city_tax\": \"Exclusief toeristenbelasting\"\n }\n },\n \"modal\": {\n \"confirm_turn_down\": {\n \"title\": \"Weet u zeker dat u deze offerte wilt afwijzen?\",\n \"body\": \"Dit kan niet ongedaan gemaakt worden.\",\n \"checkbox\": \"Ik accepteer dat ik deze offerte onherroepelijk afwijs.\"\n },\n \"confirm_cancel\": {\n \"title\": \"Weet u zeker dat u deze reservatie wilt annuleren?\",\n \"body\": \"De algemene voorwaarden zijn van toepassing.\",\n \"checkbox\": \"Ik heb de algemene voorwaarden gelezen, begrepen en ga ermee akkoord.\"\n },\n \"confirm_accept\": {\n \"title\": \"Bevestig uw reservatie\",\n \"body\": \"De algemene voorwaarden zijn van toepassing.\",\n \"checkbox\": \"Ik heb de algemene voorwaarden gelezen, begrepen en ga ermee akkoord.\"\n },\n \"reservation_edited\": {\n \"title\": \"Hartelijk dank. Uw wijzigingen zijn doorgevoerd.\"\n },\n \"reservation_submitted\": {\n \"title\": \"Hartelijk dank. Het is geweldig om uw interesse te zien in het organiseren van uw {meeting} bij ons.\",\n \"body\": \"U ontvangt zo spoedig mogelijk een offerte voor uw boeking.\",\n \"button\": \"Klik hier om de website van {locationName} te bezoeken\"\n },\n \"reservation_accepted\": {\n \"body\": \"U ontvangt zo spoedig mogelijk een bevestiging van uw boeking.\"\n },\n \"reservation_cancelled\": {\n \"title\": \"U heeft de reservatie voor uw {meeting} geannuleerd.\"\n },\n \"reservation_turned_down\": {\n \"title\": \"U heeft de offerte voor uw {meeting} afgewezen.\"\n },\n \"cancel_reason\": {\n \"text\": \"Reden voor annulering\",\n \"placeholder\": \"Geef alstublieft aan waarom u deze reservatie annuleert.\"\n },\n \"turn_down_reason\": {\n \"text\": \"Reden voor afwijzing\",\n \"placeholder\": \"Geef alstublieft aan waarom u deze offerte afwijst.\"\n },\n \"submitting\": {\n \"title\": \"Wij verwerken uw aanvraag\",\n \"subtitle\": \"Dit kan even duren. Sluit dit venster alstublieft niet.\"\n },\n \"request\": {\n \"loading_title\": \"Wij maken uw optionele boeking aan.\",\n \"submitted_text\": \"U ontvangt zo spoedig mogelijk een offerte voor uw boeking.\"\n },\n \"inquire\": {\n \"loading_title\": \"Wij maken uw aanvraag aan.\",\n \"submitted_text\": \"Wij nemen zo spoedig mogelijk contact met u op.\"\n },\n \"book\": {\n \"loading_title\": \"Wij berekenen de prijs.\",\n \"submitted_text\": \"\"\n }\n },\n \"buttons\": {\n \"edit_reservation\": \"Reservering Bewerken\",\n \"save_pdf\": \"Sla op als PDF\",\n \"submit_offer\": \"Offerte Aanvragen\",\n \"next_step\": \"Volgende Stap\",\n \"previous_step\": \"Vorige Stap\",\n \"accept_offer\": \"Offerte Accepteren\",\n \"cancel_offer\": \"Reservering Annuleren\",\n \"turn_down_offer\": \"Offerte Afwijzen\",\n \"edit_offer\": \"Wijzigingen Doorvoeren\",\n \"request_proposal\": \"Voorstel Aanvragen\",\n \"request\": \"Voorstel Aanvragen\",\n \"inquire\": \"Informatie Opvragen\",\n \"book\": \"Nu Boeken\",\n \"accept_booking\": \"Boeking Bevestigen\",\n \"pay_booking\": \"Betalen\",\n \"cancel_booking\": \"Boeking Annuleren\"\n }\n\n },\n \"dropdown\": {\n \"no_results\": \"Geen resultaten gevonden\",\n \"placeholder\": \"Optie selecteren\",\n \"loading\": \"Laden...\"\n },\n \"switch\": {\n \"yes\": \"Ja\",\n \"no\": \"Nee\"\n },\n \"enums\": {\n \"payment_method\": {\n \"AT_LOCATION\": \"Ter Plaatse\",\n \"CREDIT_CARD\": \"Creditcard\",\n \"INVOICE\": \"Factuur\",\n \"PRE_PAYMENT\": \"Vooruitbetaling\",\n \"VOUCHER\": \"Voucher\"\n }\n }\n }\n","{\n \"general\": {\n \"title\": \"Title\"\n },\n \"header\": {\n \"language\": \"Language\",\n \"help\": \"Help\",\n \"help_modal\": {\n \"description\": \"If you require assistance or have any questions you can contact us by email at {mail} or by phone at {phone}.\"\n }\n },\n \"fields\": {\n \"error_message\": \"This field is required\",\n \"invalid_email\": \"Invalid email address\",\n \"invalid_end\": \"End time should be after start time\",\n \"terms_required\": \"You have to agree to the Terms and Conditions to continue\",\n \"invalid_phone\": \"Invalid phone number. Try adding the country code\"\n },\n \"reservation_steps\": {\n \"title\": \"Your Booking:\",\n \"step_1\": {\n \"title\": \"Booking Details\",\n \"sub_steps\": {\n \"services\": \"Services Required\",\n \"location\": \"Property Selection\",\n \"email\": \"Contact Details\"\n }\n },\n \"step_2\": {\n \"title\": \"Meeting Spaces\",\n \"sub_steps\": {\n \"basic_information_meeting_rooms\": \"Your Event\",\n \"days\": \"Event Details\",\n \"remarks\": \"Remarks\"\n }\n },\n \"step_3\": {\n \"title\": \"Guest Rooms\",\n \"sub_steps\": {\n \"basic_information_hotel_rooms\": \"Details\"\n }\n },\n \"step_4\": {\n \"title\": \"Contact Details\",\n \"sub_steps\": {\n \"basic_information\": \"Account Details\",\n \"contact_person\": \"Billing Address\"\n }\n },\n \"step_5\": {\n \"title\": \"Booking Summary\"\n }\n },\n \"reservation_form\": {\n \"step_1\": {\n \"services\": {\n \"title\": \"Services Required\",\n \"mice\": \"Meeting Spaces\",\n \"hotel\": \"Guest Rooms\"\n },\n \"location\": {\n \"title\": \"Property Selection\",\n \"address\": \"Address\",\n \"phonenumber\": \"Phone Number\"\n },\n \"contract_email\": {\n \"title\": \"Contact Details\",\n \"field\": \"Email Address\"\n }\n },\n \"step_2\": {\n \"basic_information\": {\n \"title\": \"Your Event\",\n \"description_header\": \"\",\n \"description\": \"Please select the days your event takes place. You can select multiple days and change the details per day.\",\n \"fields\": {\n \"event_name\": \"Event Name\",\n \"event_type\": \"Event Type\",\n \"number_of_guests\": \"Number of Guests\",\n \"start_time\": \"Start Time\",\n \"end_time\": \"End Time\",\n \"amount\": \"Amount\",\n \"total\": \"Total\",\n \"add\": \"Add\",\n \"emplacement\": \"Setup\"\n }\n },\n \"add_day\": {\n \"title\": \"Do you want to add another day?\",\n \"add_day\": \"Add Day\",\n \"add_item\": \"Add Product\",\n \"day\": \"Day {dayCount}\",\n \"date\": \"Date\",\n \"select_date\": \"Select Date\",\n \"select_date_description\": \"This is {day} of your event. You can modify the details for this day below.\",\n \"plenary_hall\": \"Function Space\",\n \"sub_hall\": \"Sub Space\",\n \"add_hall_description\": \"For adding more function spaces to this day, click on the add function space button\",\n \"add_hall_required\": \"Since your package does not include a function space, you must add at least one\",\n \"add_hall_required_error\": \"Please add at least one function space to continue\",\n \"add_hall_button\": \"Add Function Space\",\n \"package_deal\": \"Available Packages\",\n \"package_deal_chosen\": \"Selected Package\",\n \"package_deal_available\": \"Available Packages\",\n \"package_deal_items\": \"Additional Products\",\n \"package_deal_items_included\": \"See Included Products\",\n \"package_deal_spaces_included\": \"Included Function Spaces\",\n \"additional_items\": \"Additional Products\",\n \"search\": \"Search\",\n \"no_items_found\": \"No products found\",\n \"choose_package_deal\": \"Choose\"\n },\n \"remarks\": {\n \"title\": \"Remarks\"\n },\n \"item_types\": {\n \"audiovisual\": \"Audiovisual\",\n \"food_beverage\": \"Food & Beverages\",\n \"other\": \"Other\"\n },\n \"item_examples\": {\n \"audiovisual\": \"For example: Microphones\",\n \"food_beverage\": \"For example: Snacks\",\n \"other\": \"For example: Flowers\"\n },\n \"clone_day\": \"Clone Day\",\n \"space_selector\": {\n \"show_spaces\": \"Choose a Function Space\",\n \"hide_spaces\": \"Hide Function Spaces\",\n \"no_selection\": \"We will select a suitable function space for you based on the above input.\",\n \"capacities\": \"Capacity per Setup\",\n \"space_not_available\": \"Not Available\",\n \"space_selected\": \"Selected\",\n \"select_space\": \"Select\",\n \"show_more\": \"Show More Spaces\",\n \"show_less\": \"Show Less Spaces\",\n \"show_unavailable\": \"Show Unavailable Spaces\",\n \"hide_unavailable\": \"Hide Unavailable Spaces\",\n \"no_image\": \"No Photo Available\"\n }\n },\n \"step_3\": {\n \"booking\": {\n \"title\": \"Guest Rooms\",\n \"available\": \"Available\",\n \"unavailable\": \"Not Available\",\n \"fields\": {\n \"name\": \"Group Name\",\n \"check_in_date\": \"Check-in\",\n \"check_out_date\": \"Check-out\",\n \"number_of_rooms\": \"Quantity\",\n \"persons_per_room\": \"Room Guests\",\n \"total_guests\": \"Total Guests\",\n \"room_type\": \"Room Type\",\n \"late_check_out\": \"Late check-out\",\n \"late_check_out_rooms\": \"Late check-out rooms\",\n \"breakfast\": \"Breakfast\",\n \"remarks\": \"Remarks\"\n }\n },\n \"overnight_stay\": {\n \"title\": \"Do you want another overnight stay?\",\n \"button\": \"Add Overnight Stay\",\n \"day\": \"Overnight stay\"\n },\n \"clone_room\": \"Clone overnight stay\"\n },\n \"step_4\": {\n \"account_details\": {\n \"title\": \"Account Details\",\n \"fields\": {\n \"first_name\": \"First Name\",\n \"last_name\": \"Last Name\",\n \"company_name\": \"Company\",\n \"email_address\": \"Email Address\",\n \"phone_number\": \"Phone Number\"\n }\n },\n \"billing_address\": {\n \"title\": \"Billing Address\",\n \"fields\": {\n \"address\": \"Address\",\n \"postal_code\": \"Postal Code\",\n \"city\": \"City\",\n \"country\": \"Country\"\n }\n },\n \"contact_person_location\": {\n \"title\": \"Contact Person on Location\",\n \"fields\": {\n \"copy\": \"Copy from Account Details\"\n }\n },\n \"discount_code\": \"Promo code\",\n \"invoice_reference\": \"Invoice Reference\"\n },\n \"step_5\": {\n \"offer\": \"Your Offer\",\n \"reservation\": \"Your Reservation\",\n \"request\": \"Your Booking\",\n \"offer_details\": \"You can check all the details here. Also view the suggestions that we have selected for you based on our expertise.\",\n \"download_pdf\": \"Download PDF\",\n \"hotel_only_meeting\": \"stay\",\n \"discount\": \"Discount\",\n \"remarks\": \"Remarks\",\n \"payment_method\": \"Payment Method\",\n \"payment_done\": \"Payment successful\",\n \"payment_succeeded\": \"Your booking has been placed. We will send you an email with your details.\",\n \"payment_waiting\": \"Payment processing\",\n \"payment_processing\": \"Your payment is still being processed. We will send you an email when your payment succeeds.\",\n \"payment_failed\": \"Payment failed\",\n \"payment_failed_message\": \"Something went wrong while processing your payment. Please try again.\",\n \"sub_total_exclusive_vat\": \"Subtotal (excluding VAT)\",\n \"sub_total_exclusive_sales_tax\": \"Subtotal (excluding sales tax)\",\n \"vat_amount\": \"{vat}% VAT\",\n \"sales_tax_amount\": \"{vat}% sales tax\",\n \"terms_and_conditions\": \"Terms & Conditions\",\n \"minutes_left\": \"Your request will be held for 1 more minute. Please complete your payment soon to secure it. | Your request will be held for {count} more minutes. Please complete your payment soon to secure it.\",\n \"seconds_left\": \"You have 1 second left to complete your payment. Your request expires soon. | You have {count} seconds left to complete your payment. Your request expires soon.\",\n \"timer\": {\n \"title\": \"Out of time\",\n \"subtitle\": \"Sorry, you've run out of time to complete your payment. But no worries, we have your request and will contact you as soon as possible.\"\n },\n \"basic_information\": {\n \"title\": \"Booking Details\",\n \"event_name\": \"Event Name\",\n \"event_type\": \"Event Type\"\n },\n \"contact_information\": {\n \"title\": \"Contact Information\",\n \"contact_person_location\": \"Contact Person on Location\",\n \"account_details\": \"Account Details\",\n \"billing_address\": \"Billing Address\"\n },\n \"day\": {\n \"day\": \"Day {dayCount}\",\n \"function_spaces\": \"Function Spaces\",\n \"additional_function_spaces\": \"Additional Function Spaces\",\n \"pax\": \"Number of guests\",\n \"emplacement\": \"Setup\",\n \"start_time\": \"Start time\",\n \"end_time\": \"End time\",\n \"package_deals\": \"Packages\",\n \"package_deals_details\": \"The package that is ready for you with the associated items.\",\n \"package_deals_amount\": \"1 Person | {count} Persons\",\n \"package_deals_price\": \"{amount} per person\",\n \"additional_items\": \"Additional Items\",\n \"total\": \"Total\",\n \"vat\": \"including VAT\",\n \"sales_tax\": \"excluding sales tax\",\n \"hall_rental\": {\n \"title\": \"Function space rental\",\n \"pax\": \"{pax} persons\"\n }\n },\n \"hotel_room\": {\n \"title\": \"Guest Rooms\",\n \"price\": \"Price\",\n \"room_type\": \"Room Type\",\n \"rooms\": \"Rooms\",\n \"number_of_rooms\": \"0 Rooms | 1 Room | {n} Rooms\",\n \"per_room\": \"Occupancy\",\n \"pax_room\": \"0 Persons per room | 1 Person per room | {n} Persons per room\",\n \"breakfast\": \"Breakfast\",\n \"breakfast_included\": \"Not Included | Included\",\n \"late_checkout\": \"Late-check-out\",\n \"nights\": \"0 nights | 1 night | {n} nights\",\n \"per_night\": \"{amount} per room per night\",\n \"breakfast_price\": \"{name}: {amount} per person per night\",\n \"late_checkout_price\": \"Late checkout: {amount} per room\",\n \"city_tax\": \"Excluding city tax\"\n }\n },\n \"modal\": {\n \"confirm_turn_down\": {\n \"title\": \"Are You Sure You Want to Turn Down This Offer?\",\n \"body\": \"This cannot be undone.\",\n \"checkbox\": \"I accept that I am turning down this offer irrevocably.\"\n },\n \"confirm_cancel\": {\n \"title\": \"Are You Sure You Want to Cancel This Reservation?\",\n \"body\": \"Terms and conditions apply.\",\n \"checkbox\": \"I have read, understood, and agree to the Terms & Conditions.\"\n },\n \"confirm_accept\": {\n \"title\": \"Confirm Your Reservation\",\n \"body\": \"Terms and conditions apply.\",\n \"checkbox\": \"I have read, understood, and agree to the Terms & Conditions.\"\n },\n \"reservation_edited\": {\n \"title\": \"Thank You Very Much. Your Changes Have Been Applied.\"\n },\n \"reservation_submitted\": {\n \"title\": \"Thank You Very Much. It's Great to See Your Interest in Organizing Your {meeting} With Us.\",\n \"body\": \"You will receive an offer for your reservation as soon as possible.\",\n \"button\": \"Click Here to Visit the {locationName} Website\"\n },\n \"reservation_accepted\": {\n \"body\": \"You will receive a confirmation of your reservation as soon as possible.\"\n },\n \"reservation_cancelled\": {\n \"title\": \"You Have Cancelled the Reservation for Your {meeting}.\"\n },\n \"reservation_turned_down\": {\n \"title\": \"You Have Turned Down the Offer for Your {meeting}.\"\n },\n \"cancel_reason\": {\n \"text\": \"Cancellation Reason\",\n \"placeholder\": \"Please specify why you are cancelling this reservation.\"\n },\n \"turn_down_reason\": {\n \"text\": \"Reason for Turning Down\",\n \"placeholder\": \"Please specify why you are turning down this offer.\"\n },\n \"submitting\": {\n \"title\": \"We Are Submitting Your Request\",\n \"subtitle\": \"This can take a while. Please do not close this window.\"\n },\n \"request\": {\n \"loading_title\": \"We Are Creating Your Optional Booking\",\n \"submitted_text\": \"You will receive an offer for your booking as soon as possible.\"\n },\n \"inquire\": {\n \"loading_title\": \"We Are Creating Your Inquiry\",\n \"submitted_text\": \"We will reach out to you as soon as possible.\"\n },\n \"book\": {\n \"loading_title\": \"We Are Calculating the Price\",\n \"submitted_text\": \"\"\n }\n },\n \"buttons\": {\n \"edit_reservation\": \"Edit Reservation\",\n \"save_pdf\": \"Save Offer as PDF\",\n \"submit_offer\": \"Request Offer\",\n \"next_step\": \"Next Step\",\n \"previous_step\": \"Previous Step\",\n \"accept_offer\": \"Accept Offer\",\n \"cancel_offer\": \"Cancel Reservation\",\n \"turn_down_offer\": \"Turn Down Offer\",\n \"edit_offer\": \"Apply Changes\",\n \"request_proposal\": \"Request Proposal\",\n \"request\": \"Request Proposal\",\n \"inquire\": \"Inquire\",\n \"book\": \"Book Now\",\n \"accept_booking\": \"Confirm Booking\",\n \"pay_booking\": \"Pay\",\n \"cancel_booking\": \"Cancel Reservation\"\n }\n },\n \"dropdown\": {\n \"no_results\": \"No Results Found\",\n \"placeholder\": \"Select Option\",\n \"loading\": \"Loading...\"\n },\n \"switch\": {\n \"yes\": \"Yes\",\n \"no\": \"No\"\n },\n \"enums\": {\n \"payment_method\": {\n \"AT_LOCATION\": \"On Location\",\n \"CREDIT_CARD\": \"Credit Card\",\n \"INVOICE\": \"Invoice\",\n \"PRE_PAYMENT\": \"Pre Payment\",\n \"VOUCHER\": \"Voucher\"\n }\n }\n}\n","{\n \"general\": {\n \"title\": \"Titel\"\n },\n \"header\": {\n \"language\": \"Sprache\",\n \"help\": \"Hilfe\",\n \"help_modal\": {\n \"description\": \"Wenn Sie Hilfe benötigen oder Fragen haben, können Sie uns per E-Mail unter {mail} oder telefonisch unter {phone} kontaktieren.\"\n }\n },\n \"fields\": {\n \"error_message\": \"Dieses Feld ist erforderlich\",\n \"invalid_email\": \"Ungültige E-Mail-Adresse\",\n \"invalid_end\": \"Die Endzeit muss nach der Startzeit liegen\",\n \"terms_required\": \"Sie müssen den Geschäftsbedingungen zustimmen, um fortzufahren\",\n \"invalid_phone\": \"Ungültige Telefonnummer. Versuchen Sie, die Ländervorwahl hinzuzufügen\"\n },\n \"reservation_steps\": {\n \"title\": \"Ihre Buchung:\",\n \"step_1\": {\n \"title\": \"Buchungsdetails\",\n \"sub_steps\": {\n \"services\": \"Benötigte Dienstleistungen\",\n \"location\": \"Wählen Sie eine Einrichtung\",\n \"email\": \"Kontaktdaten\"\n }\n },\n \"step_2\": {\n \"title\": \"Veranstaltungsräume\",\n \"sub_steps\": {\n \"basic_information_meeting_rooms\": \"Ihre Veranstaltung\",\n \"days\": \"Veranstaltungsdetails\",\n \"remarks\": \"Bemerkungen\"\n }\n },\n \"step_3\": {\n \"title\": \"Gästezimmer\",\n \"sub_steps\": {\n \"basic_information_hotel_rooms\": \"Details\"\n }\n },\n \"step_4\": {\n \"title\": \"Kontaktdaten\",\n \"sub_steps\": {\n \"basic_information\": \"Kontodaten\",\n \"contact_person\": \"Rechnungsadresse\"\n }\n },\n \"step_5\": {\n \"title\": \"Buchungsübersicht\"\n }\n },\n \"reservation_form\": {\n \"step_1\": {\n \"services\": {\n \"title\": \"Benötigte Dienstleistungen\",\n \"mice\": \"Veranstaltungsräume\",\n \"hotel\": \"Gästezimmer\"\n },\n \"location\": {\n \"title\": \"Wählen Sie Eine Einrichtung\",\n \"address\": \"Adresse\",\n \"phonenumber\": \"Telefonnummer\"\n },\n \"contract_email\": {\n \"title\": \"Kontaktdaten\",\n \"field\": \"E-Mail-Adresse\"\n }\n },\n \"step_2\": {\n \"basic_information\": {\n \"title\": \"Ihre Veranstaltung\",\n \"description_header\": \"\",\n \"description\": \"Bitte wählen Sie die Tage aus, an denen Ihre Veranstaltung stattfindet. Sie können mehrere Tage auswählen und die Details für jeden Tag ändern.\",\n \"fields\": {\n \"event_name\": \"Veranstaltungsname\",\n \"event_type\": \"Veranstaltungsart\",\n \"number_of_guests\": \"Anzahl der Gäste\",\n \"start_time\": \"Startzeit\",\n \"end_time\": \"Endzeit\",\n \"amount\": \"Betrag\",\n \"total\": \"Gesamt\",\n \"add\": \"Hinzufügen\",\n \"emplacement\": \"Raumaufteilung\"\n }\n },\n \"add_day\": {\n \"title\": \"Möchten Sie Einen Weiteren Tag Hinzufügen?\",\n \"add_day\": \"Tag Hinzufügen\",\n \"add_item\": \"Produkt Hinzufügen\",\n \"day\": \"Tag {dayCount}\",\n \"date\": \"Datum\",\n \"select_date\": \"Datum Auswählen\",\n \"select_date_description\": \"Dies ist {day} Ihrer Veranstaltung. Sie können die Details für diesen Tag unten ändern.\",\n \"plenary_hall\": \"Plenarsaal\",\n \"sub_hall\": \"Nebensaal\",\n \"add_hall_description\": \"Um an diesem Tag weitere Veranstaltungsräume hinzuzufügen, klicken Sie auf die Schaltfläche „Veranstaltungsraum hinzufügen“.\",\n \"add_hall_required\": \"Da Ihr Paket keinen Funktionsraum enthält, müssen Sie mindestens einen hinzufügen\",\n \"add_hall_required_error\": \"Bitte fügen Sie mindestens einen Funktionsraum hinzu, um fortzufahren\",\n \"add_hall_button\": \"Veranstaltungsraum Hinzufügen\",\n \"package_deal\": \"Verfügbare Pakete\",\n \"package_deal_chosen\": \"Ausgewähltes Paket\",\n \"package_deal_available\": \"Verfügbare Pakete\",\n \"package_deal_items\": \"Zusätzliche Produkte\",\n \"package_deal_items_included\": \"Enthaltene Produkte Anzeigen\",\n \"package_deal_spaces_included\": \"Inklusive Veranstaltungsräume\",\n \"additional_items\": \"Zusätzliche Produkte\",\n \"search\": \"Suchen\",\n \"no_items_found\": \"Keine Produkte gefunden\",\n \"choose_package_deal\": \"Wählen\"\n },\n \"remarks\": {\n \"title\": \"Bemerkungen\"\n },\n \"item_types\": {\n \"audiovisual\": \"Audiovisuell\",\n \"food_beverage\": \"Speisen & Getränke\",\n \"other\": \"Andere\"\n },\n \"item_examples\": {\n \"audiovisual\": \"Zum Beispiel: Mikrofone\",\n \"food_beverage\": \"Zum Beispiel: Snacks\",\n \"other\": \"Zum Beispiel: Blumen\"\n },\n \"clone_day\": \"Tag Klonen\",\n \"space_selector\": {\n \"show_spaces\": \"Wählen Sie Einen Veranstaltungsraum\",\n \"hide_spaces\": \"Veranstaltungsräume Ausblenden\",\n \"no_selection\": \"Wir wählen einen geeigneten Veranstaltungsraum für Sie basierend auf den oben eingegebenen Informationen aus.\",\n \"capacities\": \"Kapazität Pro Raumaufteilung\",\n \"space_not_available\": \"Nicht verfügbar\",\n \"space_selected\": \"Ausgewählt\",\n \"select_space\": \"Auswählen\",\n \"show_more\": \"Mehr Räume Anzeigen\",\n \"show_less\": \"Weniger Räume Anzeigen\",\n \"show_unavailable\": \"Nicht verfügbare Räume Anzeigen\",\n \"hide_unavailable\": \"Nicht verfügbare Räume Ausblenden\",\n \"no_image\": \"Kein Foto verfügbar\"\n }\n },\n \"step_3\": {\n \"booking\": {\n \"title\": \"Gästezimmer\",\n \"available\": \"Verfügbar\",\n \"unavailable\": \"Nicht verfügbar\",\n \"fields\": {\n \"name\": \"Gruppenname\",\n \"check_in_date\": \"Anreise\",\n \"check_out_date\": \"Abreise\",\n \"number_of_rooms\": \"Anzahl der Zimmer\",\n \"persons_per_room\": \"Gäste pro Zimmer\",\n \"total_guests\": \"Gesamtzahl der Gäste\",\n \"room_type\": \"Zimmertyp\",\n \"late_check_out\": \"Später Check-out\",\n \"late_check_out_rooms\": \"Zimmer mit spätem Check-out\",\n \"breakfast\": \"Frühstück\",\n \"remarks\": \"Bemerkungen\"\n }\n },\n \"overnight_stay\": {\n \"title\": \"Möchten Sie Eine Weitere Übernachtung Hinzufügen?\",\n \"button\": \"Übernachtung Hinzufügen\",\n \"day\": \"Übernachtung\"\n },\n \"clone_room\": \"Übernachtung Klonen\"\n },\n \"step_4\": {\n \"account_details\": {\n \"title\": \"Kontodaten\",\n \"fields\": {\n \"first_name\": \"Vorname\",\n \"last_name\": \"Nachname\",\n \"company_name\": \"Firma\",\n \"email_address\": \"E-Mail-Adresse\",\n \"phone_number\": \"Telefonnummer\"\n }\n },\n \"billing_address\": {\n \"title\": \"Rechnungsadresse\",\n \"fields\": {\n \"address\": \"Adresse\",\n \"postal_code\": \"Postleitzahl\",\n \"city\": \"Stadt\",\n \"country\": \"Land\"\n }\n },\n \"contact_person_location\": {\n \"title\": \"Kontaktperson Vor Ort\",\n \"fields\": {\n \"copy\": \"Von Kontodaten Kopieren\"\n }\n },\n \"discount_code\": \"Aktionscode\",\n \"invoice_reference\": \"Rechnungsreferenz\"\n },\n \"step_5\": {\n \"offer\": \"Ihr Angebot\",\n \"reservation\": \"Ihre Buchung\",\n \"request\": \"Ihre Buchung\",\n \"offer_details\": \"Sie können hier alle Details einsehen. Sehen Sie auch die Vorschläge, die wir basierend auf unserer Expertise für Sie ausgewählt haben.\",\n \"download_pdf\": \"PDF Herunterladen\",\n \"hotel_only_meeting\": \"Aufenthalt\",\n \"discount\": \"Rabatt\",\n \"remarks\": \"Bemerkungen\",\n \"payment_method\": \"Zahlungsmethode\",\n \"payment_done\": \"Zahlung erfolgreich\",\n \"payment_succeeded\": \"Ihre Buchung wurde erfolgreich aufgegeben. Wir werden Ihnen eine E-Mail mit Ihren Details senden.\",\n \"payment_waiting\": \"Zahlung wird verarbeitet\",\n \"payment_processing\": \"Ihre Zahlung wird noch verarbeitet. Wir senden Ihnen eine E-Mail, sobald Ihre Zahlung erfolgreich ist.\",\n \"payment_failed\": \"Zahlung fehlgeschlagen\",\n \"payment_failed_message\": \"Bei der Verarbeitung Ihrer Zahlung ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.\",\n \"sub_total_exclusive_vat\": \"Zwischensumme (ohne MwSt.)\",\n \"sub_total_exclusive_sales_tax\": \"Zwischensumme (ohne Verkaufssteuer)\",\n \"vat_amount\": \"{vat}% MwSt.\",\n \"sales_tax_amount\": \"{vat}% Verkaufssteuer\",\n \"terms_and_conditions\": \"Geschäftsbedingungen\",\n \"minutes_left\": \"Ihre Anfrage wird noch für 1 weitere Minute gehalten. Bitte schließen Sie Ihre Zahlung bald ab, um sie zu sichern. | Ihre Anfrage wird noch für {count} weitere Minuten gehalten. Bitte schließen Sie Ihre Zahlung bald ab, um sie zu sichern.\",\n \"seconds_left\": \"Sie haben noch 1 Sekunde, um Ihre Zahlung abzuschließen. Ihre Anfrage läuft bald ab. | Sie haben noch {count} Sekunden, um Ihre Zahlung abzuschließen. Ihre Anfrage läuft bald ab.\",\n \"timer\": {\n \"title\": \"Zeit abgelaufen\",\n \"subtitle\": \"Entschuldigung, die Zeit für die Zahlung ist abgelaufen. Keine Sorge, wir haben Ihre Anfrage gespeichert und werden Sie so schnell wie möglich kontaktieren.\"\n },\n \"basic_information\": {\n \"title\": \"Buchungsdetails\",\n \"event_name\": \"Veranstaltungsname\",\n \"event_type\": \"Veranstaltungsart\"\n },\n \"contact_information\": {\n \"title\": \"Kontaktinformationen\",\n \"contact_person_location\": \"Kontaktperson vor Ort\",\n \"account_details\": \"Kontodaten\",\n \"billing_address\": \"Rechnungsadresse\"\n },\n \"day\": {\n \"day\": \"Tag {dayCount}\",\n \"function_spaces\": \"Veranstaltungsräume\",\n \"additional_function_spaces\": \"Zusätzliche Veranstaltungsräume\",\n \"pax\": \"Anzahl der Gäste\",\n \"emplacement\": \"Raumaufteilung\",\n \"start_time\": \"Startzeit\",\n \"end_time\": \"Endzeit\",\n \"package_deals\": \"Pakete\",\n \"package_deals_details\": \"Das Paket, das für Sie bereitsteht, mit den zugehörigen Artikeln.\",\n \"package_deals_amount\": \"1 Person | {count} Personen\",\n \"package_deals_price\": \"{amount} pro Person\",\n \"additional_items\": \"Zusätzliche Artikel\",\n \"total\": \"Gesamt\",\n \"vat\": \"inkl. MwSt.\",\n \"sales_tax\": \"ohne Verkaufssteuer\",\n \"hall_rental\": {\n \"title\": \"Mietraum\",\n \"pax\": \"{pax} Personen\"\n }\n },\n \"hotel_room\": {\n \"title\": \"Gästezimmer\",\n \"price\": \"Preis\",\n \"room_type\": \"Zimmertyp\",\n \"rooms\": \"Zimmer\",\n \"number_of_rooms\": \"0 Zimmer | 1 Zimmer | {n} Zimmer\",\n \"per_room\": \"Gäste pro Zimmer\",\n \"pax_room\": \"0 Personen pro Zimmer | 1 Person pro Zimmer | {n} Personen pro Zimmer\",\n \"breakfast\": \"Frühstück\",\n \"breakfast_included\": \"Nicht enthalten | Enthalten\",\n \"late_checkout\": \"Late Check-out\",\n \"nights\": \"0 Nächte | 1 Nacht | {n} Nächte\",\n \"per_night\": \"{amount} pro Zimmer pro Nacht\",\n \"breakfast_price\": \"{name}: {amount} pro Person pro Nacht\",\n \"late_checkout_price\": \"Late Check-out: {amount} pro Zimmer\",\n \"city_tax\": \"ohne Kurtaxe\"\n }\n },\n \"modal\": {\n \"confirm_turn_down\": {\n \"title\": \"Sind Sie Sicher, Dass Sie Dieses Angebot Ablehnen Möchten?\",\n \"body\": \"Dies kann nicht rückgängig gemacht werden.\",\n \"checkbox\": \"Ich akzeptiere, dass ich dieses Angebot unwiderruflich ablehne.\"\n },\n \"confirm_cancel\": {\n \"title\": \"Sind Sie Sicher, Dass Sie Diese Reservierung Stornieren Möchten?\",\n \"body\": \"Es gelten die Geschäftsbedingungen.\",\n \"checkbox\": \"Ich habe die Geschäftsbedingungen gelesen, verstanden und akzeptiert.\"\n },\n \"confirm_accept\": {\n \"title\": \"Bestätigen Sie Ihre Reservierung\",\n \"body\": \"Es gelten die Geschäftsbedingungen.\",\n \"checkbox\": \"Ich habe die Geschäftsbedingungen gelesen, verstanden und akzeptiert.\"\n },\n \"reservation_edited\": {\n \"title\": \"Vielen Dank. Ihre Änderungen wurden übernommen.\"\n },\n \"reservation_submitted\": {\n \"title\": \"Vielen Dank. Es freut uns sehr, dass Sie daran interessiert sind, Ihre {meeting} mit uns zu organisieren.\",\n \"body\": \"Sie erhalten so bald wie möglich ein Angebot für Ihre Buchung.\",\n \"button\": \"Klicken Sie hier, um die Website von {locationName} zu besuchen\"\n },\n \"reservation_accepted\": {\n \"body\": \"Sie erhalten so bald wie möglich eine Bestätigung Ihrer Buchung.\"\n },\n \"reservation_cancelled\": {\n \"title\": \"Sie haben die Reservierung für Ihre {meeting} storniert.\"\n },\n \"reservation_turned_down\": {\n \"title\": \"Sie haben das Angebot für Ihre {meeting} abgelehnt.\"\n },\n \"cancel_reason\": {\n \"text\": \"Stornierungsgrund\",\n \"placeholder\": \"Bitte geben Sie den Grund für die Stornierung dieser Reservierung an.\"\n },\n \"turn_down_reason\": {\n \"text\": \"Grund für die Ablehnung\",\n \"placeholder\": \"Bitte geben Sie den Grund für Ihren Ablehnungsbescheid an.\"\n },\n \"submitting\": {\n \"title\": \"Wir übermitteln Ihre Anfrage.\",\n \"subtitle\": \"Dies kann einige Zeit dauern. Bitte schließen Sie dieses Fenster nicht.\"\n },\n \"request\": {\n \"loading_title\": \"Wir erstellen Ihre optionale Buchung.\",\n \"submitted_text\": \"Sie erhalten so bald wie möglich ein Angebot für Ihre Buchung.\"\n },\n \"inquire\": {\n \"loading_title\": \"Wir erstellen Ihre Anfrage.\",\n \"submitted_text\": \"Wir werden uns so bald wie möglich mit Ihnen in Verbindung setzen.\"\n },\n \"book\": {\n \"loading_title\": \"Wir berechnen den Preis.\",\n \"submitted_text\": \"\"\n }\n },\n \"buttons\": {\n \"edit_reservation\": \"Reservierung bearbeiten\",\n \"save_pdf\": \"Angebot als PDF speichern\",\n \"submit_offer\": \"Angebot anfordern\",\n \"next_step\": \"Nächster Schritt\",\n \"previous_step\": \"Vorheriger Schritt\",\n \"accept_offer\": \"Angebot annehmen\",\n \"cancel_offer\": \"Reservierung stornieren\",\n \"turn_down_offer\": \"Angebot ablehnen\",\n \"edit_offer\": \"Änderungen übernehmen\",\n \"request_proposal\": \"Angebot anfordern\",\n \"request\": \"Angebot anfordern\",\n \"inquire\": \"Anfragen\",\n \"book\": \"Jetzt buchen\",\n \"accept_booking\": \"Buchung bestätigen\",\n \"pay_booking\": \"Bezahlen\",\n \"cancel_booking\": \"Buchung stornieren\"\n }\n },\n \"dropdown\": {\n \"no_results\": \"Keine Ergebnisse gefunden\",\n \"placeholder\": \"Option auswählen\",\n \"loading\": \"Laden...\"\n },\n \"switch\": {\n \"yes\": \"Ja\",\n \"no\": \"Nein\"\n },\n \"enums\": {\n \"payment_method\": {\n \"AT_LOCATION\": \"Vor Ort\",\n \"CREDIT_CARD\": \"Kreditkarte\",\n \"INVOICE\": \"Rechnung\",\n \"PRE_PAYMENT\": \"Vorauszahlung\",\n \"VOUCHER\": \"Gutschein\"\n }\n }\n}\n","{\n \"general\": {\n \"title\": \"Titre\"\n },\n \"header\": {\n \"language\": \"Langue\",\n \"help\": \"Aide\",\n \"help_modal\": {\n \"description\": \"Si vous avez besoin d'assistance ou si vous avez des questions, vous pouvez nous contacter par e-mail à {mail} ou par téléphone au {phone}.\"\n }\n },\n \"fields\": {\n \"error_message\": \"Ce champ est requis\",\n \"invalid_email\": \"Adresse e-mail invalide\",\n \"invalid_end\": \"L'heure de fin doit être postérieure à l'heure de début\",\n \"terms_required\": \"Vous devez accepter les conditions générales pour continuer\",\n \"invalid_phone\": \"Numéro de téléphone invalide. Essayez d'ajouter l'indicatif du pays\"\n },\n \"reservation_steps\": {\n \"title\": \"Votre Réservation :\",\n \"step_1\": {\n \"title\": \"Détails De La Réservation\",\n \"sub_steps\": {\n \"services\": \"Services Requis\",\n \"location\": \"Choisissez un Établissement\",\n \"email\": \"Coordonnées\"\n }\n },\n \"step_2\": {\n \"title\": \"Espaces Événementiels\",\n \"sub_steps\": {\n \"basic_information_meeting_rooms\": \"Votre événement\",\n \"days\": \"Détails De L'Événement\",\n \"remarks\": \"Remarques\"\n }\n },\n \"step_3\": {\n \"title\": \"Chambres\",\n \"sub_steps\": {\n \"basic_information_hotel_rooms\": \"Détails\"\n }\n },\n \"step_4\": {\n \"title\": \"Coordonnées\",\n \"sub_steps\": {\n \"basic_information\": \"Informations Sur Le Compte\",\n \"contact_person\": \"Adresse De Facturation\"\n }\n },\n \"step_5\": {\n \"title\": \"Récapitulatif De La Réservation\"\n }\n },\n \"reservation_form\": {\n \"step_1\": {\n \"services\": {\n \"title\": \"Services Requis\",\n \"mice\": \"Espaces Pour Événements\",\n \"hotel\": \"Chambres\"\n },\n \"location\": {\n \"title\": \"Choisissez un Établissement\",\n \"address\": \"Adresse\",\n \"phonenumber\": \"Numéro De Téléphone\"\n },\n \"contract_email\": {\n \"title\": \"Coordonnées\",\n \"field\": \"Adresse E-mail\"\n }\n },\n \"step_2\": {\n \"basic_information\": {\n \"title\": \"Votre Événement\",\n \"description_header\": \"\",\n \"description\": \"Veuillez sélectionner les jours pendant lesquels se déroule votre événement. Vous pouvez sélectionner plusieurs jours et modifier les détails pour chaque jour.\",\n \"fields\": {\n \"event_name\": \"Nom de l'événement\",\n \"event_type\": \"Type d'événement\",\n \"number_of_guests\": \"Nombre d'invités\",\n \"start_time\": \"Heure de début\",\n \"end_time\": \"Heure de fin\",\n \"amount\": \"Montant\",\n \"total\": \"Total\",\n \"add\": \"Ajouter\",\n \"emplacement\": \"Disposition\"\n }\n },\n \"add_day\": {\n \"title\": \"Voulez-Vous Ajouter Un Autre Jour?\",\n \"add_day\": \"Ajouter Un Jour\",\n \"add_item\": \"Ajouter Un Produit\",\n \"day\": \"Jour {dayCount}\",\n \"date\": \"Date\",\n \"select_date\": \"Sélectionner Une Date\",\n \"select_date_description\": \"C'est le {day} de votre événement. Vous pouvez modifier les détails pour ce jour ci-dessous.\",\n \"plenary_hall\": \"Salle Plénière\",\n \"sub_hall\": \"Salle Annexe\",\n \"add_hall_description\": \"Pour ajouter d'autres espaces de réception à ce jour, cliquez sur le bouton d'ajout d'espace\",\n \"add_hall_required\": \"Comme votre forfait n'inclut pas d'espace de fonction, vous devez en ajouter au moins un\",\n \"add_hall_required_error\": \"Veuillez ajouter au moins un espace de fonction pour continuer\",\n \"add_hall_button\": \"Ajouter Un Espace\",\n \"package_deal\": \"Packages Disponibles\",\n \"package_deal_chosen\": \"Package Sélectionné\",\n \"package_deal_available\": \"Packages Disponibles\",\n \"package_deal_items\": \"Articles Supplémentaires\",\n \"package_deal_items_included\": \"Voir Les Articles Inclus\",\n \"package_deal_spaces_included\": \"Espaces inclus\",\n \"additional_items\": \"Articles Supplémentaires\",\n \"search\": \"Rechercher\",\n \"no_items_found\": \"Aucun produit trouvé\",\n \"choose_package_deal\": \"Choisir\"\n },\n \"remarks\": {\n \"title\": \"Remarques\"\n },\n \"item_types\": {\n \"audiovisual\": \"Audiovisuel\",\n \"food_beverage\": \"Nourriture Et Boissons\",\n \"other\": \"Autre\"\n },\n \"item_examples\": {\n \"audiovisual\": \"Par exemple: microphones\",\n \"food_beverage\": \"Par exemple: collations\",\n \"other\": \"Par exemple: fleurs\"\n },\n \"clone_day\": \"Cloner Le Jour\",\n \"space_selector\": {\n \"show_spaces\": \"Choisissez Un Espace\",\n \"hide_spaces\": \"Cacher Les Espaces\",\n \"no_selection\": \"Nous sélectionnerons un espace adapté pour vous en fonction des informations ci-dessus.\",\n \"capacities\": \"Capacité Par Disposition\",\n \"space_not_available\": \"Non Disponible\",\n \"space_selected\": \"Sélectionné\",\n \"select_space\": \"Sélectionner\",\n \"show_more\": \"Afficher Plus D'Espaces\",\n \"show_less\": \"Afficher Moins D'Espaces\",\n \"show_unavailable\": \"Afficher Les Espaces Indisponibles\",\n \"hide_unavailable\": \"Cacher Les Espaces Indisponibles\",\n \"no_image\": \"Aucune Photo Disponible\"\n }\n },\n \"step_3\": {\n \"booking\": {\n \"title\": \"Chambres\",\n \"available\": \"Disponible\",\n \"unavailable\": \"Indisponible\",\n \"fields\": {\n \"name\": \"Nom du groupe\",\n \"check_in_date\": \"Arrivée\",\n \"check_out_date\": \"Départ\",\n \"number_of_rooms\": \"Quantité\",\n \"persons_per_room\": \"Invités par chambre\",\n \"total_guests\": \"Nombre total d'invités\",\n \"room_type\": \"Type de chambre\",\n \"late_check_out\": \"Départ tardif\",\n \"late_check_out_rooms\": \"Chambres en départ tardif\",\n \"breakfast\": \"Petit-déjeuner\",\n \"remarks\": \"Remarques\"\n }\n },\n \"overnight_stay\": {\n \"title\": \"Voulez-Vous Ajouter Une Autre Nuitée ?\",\n \"button\": \"Ajouter Une Nuitée\",\n \"day\": \"Nuitée\"\n },\n \"clone_room\": \"Cloner La Nuitée\"\n },\n \"step_4\": {\n \"account_details\": {\n \"title\": \"Informations Sur Le Compte\",\n \"fields\": {\n \"first_name\": \"Prénom\",\n \"last_name\": \"Nom de famille\",\n \"company_name\": \"Société\",\n \"email_address\": \"Adresse e-mail\",\n \"phone_number\": \"Numéro de téléphone\"\n }\n },\n \"billing_address\": {\n \"title\": \"Adresse De Facturation\",\n \"fields\": {\n \"address\": \"Adresse\",\n \"postal_code\": \"Code postal\",\n \"city\": \"Ville\",\n \"country\": \"Pays\"\n }\n },\n \"contact_person_location\": {\n \"title\": \"Personne De Contact Sur Place\",\n \"fields\": {\n \"copy\": \"Copier Depuis Les Informations Du Compte\"\n }\n },\n \"discount_code\": \"Code promo\",\n \"invoice_reference\": \"Référence de facture\"\n },\n \"step_5\": {\n \"offer\": \"Votre Offre\",\n \"reservation\": \"Votre Réservation\",\n \"request\": \"Votre Réservation\",\n \"offer_details\": \"Vous pouvez vérifier tous les détails ici. Consultez également les suggestions que nous avons sélectionnées pour vous en fonction de notre expertise.\",\n \"download_pdf\": \"Télécharger Le PDF\",\n \"hotel_only_meeting\": \"Séjour\",\n \"discount\": \"Remise\",\n \"remarks\": \"Remarques\",\n \"payment_method\": \"Mode De Paiement\",\n \"payment_done\": \"Paiement Réussi\",\n \"payment_succeeded\": \"Votre réservation a été effectuée. Nous vous enverrons un e-mail avec vos détails.\",\n \"payment_waiting\": \"Traitement Du Paiement\",\n \"payment_processing\": \"Votre paiement est en cours de traitement. Nous vous enverrons un e-mail dès que votre paiement sera approuvé.\",\n \"payment_failed\": \"Échec Du Paiement\",\n \"payment_failed_message\": \"Une erreur s'est produite lors du traitement de votre paiement. Veuillez réessayer.\",\n \"sub_total_exclusive_vat\": \"Sous-Total (Hors TVA)\",\n \"sub_total_exclusive_sales_tax\": \"Sous-Total (Hors Taxe De Vente)\",\n \"vat_amount\": \"{vat}% TVA\",\n \"sales_tax_amount\": \"{vat}% Taxe De Vente\",\n \"terms_and_conditions\": \"Conditions Générales\",\n \"minutes_left\": \"Votre demande sera réservée pendant 1 minute de plus. Veuillez finaliser votre paiement rapidement pour la sécuriser. | Votre demande sera réservée pendant {count} minutes de plus. Veuillez finaliser votre paiement rapidement pour la sécuriser.\",\n \"seconds_left\": \"Il vous reste 1 seconde pour finaliser votre paiement. Votre demande expirera bientôt. | Il vous reste {count} secondes pour finaliser votre paiement. Votre demande expirera bientôt.\",\n \"timer\": {\n \"title\": \"Temps Écoulé\",\n \"subtitle\": \"Désolé, le temps pour finaliser votre paiement est écoulé. Ne vous inquiétez pas, nous avons enregistré votre demande et nous vous contacterons dès que possible.\"\n },\n \"basic_information\": {\n \"title\": \"Détails de la Réservation\",\n \"event_name\": \"Nom de l'événement\",\n \"event_type\": \"Type d'événement\"\n },\n \"contact_information\": {\n \"title\": \"Informations De Contact\",\n \"contact_person_location\": \"Personne De Contact Sur Place\",\n \"account_details\": \"Informations sur le compte\",\n \"billing_address\": \"Adresse de facturation\"\n },\n \"day\": {\n \"day\": \"Jour {dayCount}\",\n \"function_spaces\": \"Espaces événementiels\",\n \"additional_function_spaces\": \"Espaces événementiels supplémentaires\",\n \"pax\": \"Nombre d'invités\",\n \"emplacement\": \"Disposition\",\n \"start_time\": \"Heure De Début\",\n \"end_time\": \"Heure De Fin\",\n \"package_deals\": \"Packages\",\n \"package_deals_details\": \"Le package prêt pour vous avec les articles associés.\",\n \"package_deals_amount\": \"1 Personne | {count} Personnes\",\n \"package_deals_price\": \"{amount} Par Personne\",\n \"additional_items\": \"Articles Supplémentaires\",\n \"total\": \"Total\",\n \"vat\": \"TVA Incluse\",\n \"sales_tax\": \"Hors Taxe De Vente\",\n \"hall_rental\": {\n \"title\": \"Location D'Espace\",\n \"pax\": \"{pax} Personnes\"\n }\n },\n \"hotel_room\": {\n \"title\": \"Chambres\",\n \"price\": \"Prix\",\n \"room_type\": \"Type de chambre\",\n \"rooms\": \"Chambres\",\n \"number_of_rooms\": \"0 Chambres | 1 Chambre | {n} Chambres\",\n \"per_room\": \"Invités par chambre\",\n \"pax_room\": \"0 Personne Par Chambre | 1 Personne Par Chambre | {n} Personnes Par Chambre\",\n \"breakfast\": \"Petit-déjeuner\",\n \"breakfast_included\": \"Non inclus | Inclus\",\n \"late_checkout\": \"Late Check-out\",\n \"nights\": \"0 Nuit | 1 Nuit | {n} Nuits\",\n \"per_night\": \"{amount} Par Chambre Par Nuit\",\n \"breakfast_price\": \"{name}: {amount} Par Personne Par Nuit\",\n \"late_checkout_price\": \"Late Check-out: {amount} Par Chambre\",\n \"city_tax\": \"Hors Taxe De Séjour\"\n }\n },\n \"modal\": {\n \"confirm_turn_down\": {\n \"title\": \"Êtes-Vous Sûr De Vouloir Refuser Cette Offre ?\",\n \"body\": \"Cette action est irréversible.\",\n \"checkbox\": \"J'accepte de refuser cette offre de manière irrévocable.\"\n },\n \"confirm_cancel\": {\n \"title\": \"Êtes-Vous Sûr De Vouloir Annuler Cette Réservation ?\",\n \"body\": \"Les conditions générales s'appliquent.\",\n \"checkbox\": \"J'ai lu, compris et j'accepte les conditions générales.\"\n },\n \"confirm_accept\": {\n \"title\": \"Confirmez Votre Réservation\",\n \"body\": \"Les conditions générales s'appliquent.\",\n \"checkbox\": \"J'ai lu, compris et j'accepte les conditions générales.\"\n },\n \"reservation_edited\": {\n \"title\": \"Merci Beaucoup. Vos Modifications Ont Été Appliquées.\"\n },\n \"reservation_submitted\": {\n \"title\": \"Merci Beaucoup. C'est Formidable De Voir Votre Intérêt Pour L'Organisation De Votre {meeting} Chez Nous.\",\n \"body\": \"Vous recevrez une offre pour votre réservation dès que possible.\",\n \"button\": \"Cliquez ici pour visiter le site web de {locationName}\"\n },\n \"reservation_accepted\": {\n \"body\": \"Vous recevrez une confirmation de votre réservation dès que possible.\"\n },\n \"reservation_cancelled\": {\n \"title\": \"Vous Avez Annulé La Réservation Pour Votre {meeting}.\"\n },\n \"reservation_turned_down\": {\n \"title\": \"Vous Avez Refusé L'Offre Pour Votre {meeting}.\"\n },\n \"cancel_reason\": {\n \"text\": \"Raison Pour L'Annulation\",\n \"placeholder\": \"Veuillez préciser la raison de l'annulation de cette réservation.\"\n },\n \"turn_down_reason\": {\n \"text\": \"Raison Du Refus\",\n \"placeholder\": \"Veuillez préciser la raison de votre refus de cette offre.\"\n },\n \"submitting\": {\n \"title\": \"Nous Soumettons Votre Demande\",\n \"subtitle\": \"Cela peut prendre un certain temps. Veuillez ne pas fermer cette fenêtre.\"\n },\n \"request\": {\n \"loading_title\": \"Nous Créons Votre Réservation Optionnelle\",\n \"submitted_text\": \"Vous recevrez une offre pour votre réservation dès que possible.\"\n },\n \"inquire\": {\n \"loading_title\": \"Nous Créons Votre Demande De Renseignements\",\n \"submitted_text\": \"Nous vous contacterons dès que possible.\"\n },\n \"book\": {\n \"loading_title\": \"Nous Calculons Le Prix\",\n \"submitted_text\": \"\"\n }\n },\n \"buttons\": {\n \"edit_reservation\": \"Modifier La Réservation\",\n \"save_pdf\": \"Enregistrer L'Offre En PDF\",\n \"submit_offer\": \"Demander Une Offre\",\n \"next_step\": \"Étape Suivante\",\n \"previous_step\": \"Étape Précédente\",\n \"accept_offer\": \"Accepter L'Offre\",\n \"cancel_offer\": \"Annuler La Réservation\",\n \"turn_down_offer\": \"Refuser L'Offre\",\n \"edit_offer\": \"Appliquer Les Modifications\",\n \"request_proposal\": \"Demander Une Proposition\",\n \"request\": \"Demander Une Proposition\",\n \"inquire\": \"Demander Des Informations\",\n \"book\": \"Réserver Maintenant\",\n \"accept_booking\": \"Confirmer La Réservation\",\n \"pay_booking\": \"Payer\",\n \"cancel_booking\": \"Annuler La Réservation\"\n }\n },\n \"dropdown\": {\n \"no_results\": \"Aucun Résultat Trouvé\",\n \"placeholder\": \"Sélectionner Une Option\",\n \"loading\": \"Chargement...\"\n },\n \"switch\": {\n \"yes\": \"Oui\",\n \"no\": \"Non\"\n },\n \"enums\": {\n \"payment_method\": {\n \"AT_LOCATION\": \"Sur Place\",\n \"CREDIT_CARD\": \"Carte De Crédit\",\n \"INVOICE\": \"Facture\",\n \"PRE_PAYMENT\": \"Pré-Paiement\",\n \"VOUCHER\": \"Bon\"\n }\n }\n}\n","{\n \"general\": {\n \"title\": \"Otsikko\"\n },\n \"header\": {\n \"language\": \"Kieli\",\n \"help\": \"Ohje\",\n \"help_modal\": {\n \"description\": \"Jos tarvitset apua tai sinulla on kysyttävää, voit ottaa meihin yhteyttä sähköpostitse osoitteessa {mail} tai puhelimitse numerossa {phone}.\"\n }\n },\n \"fields\": {\n \"error_message\": \"Tämä kenttä on pakollinen\",\n \"invalid_email\": \"Virheellinen sähköpostiosoite\",\n \"invalid_end\": \"Päättymisajan tulee olla alkamisajan jälkeen\",\n \"terms_required\": \"Sinun on hyväksyttävä käyttöehdot jatkaaksesi\",\n \"invalid_phone\": \"Virheellinen puhelinnumero. Kokeile lisätä maakoodi\"\n },\n \"reservation_steps\": {\n \"title\": \"Varauksesi:\",\n \"step_1\": {\n \"title\": \"Varaustiedot\",\n \"sub_steps\": {\n \"services\": \"Tarvittavat palvelut\",\n \"location\": \"Kohteen valinta\",\n \"email\": \"Yhteystiedot\"\n }\n },\n \"step_2\": {\n \"title\": \"Kokoustilat\",\n \"sub_steps\": {\n \"basic_information_meeting_rooms\": \"Tapahtumasi\",\n \"days\": \"Tapahtuman tiedot\",\n \"remarks\": \"Lisätiedot\"\n }\n },\n \"step_3\": {\n \"title\": \"Hotellihuoneet\",\n \"sub_steps\": {\n \"basic_information_hotel_rooms\": \"Tiedot\"\n }\n },\n \"step_4\": {\n \"title\": \"Yhteystiedot\",\n \"sub_steps\": {\n \"basic_information\": \"Tilitiedot\",\n \"contact_person\": \"Laskutusosoite\"\n }\n },\n \"step_5\": {\n \"title\": \"Varauksen yhteenveto\"\n }\n },\n \"reservation_form\": {\n \"step_1\": {\n \"services\": {\n \"title\": \"Tarvittavat palvelut\",\n \"mice\": \"Kokoustilat\",\n \"hotel\": \"Hotellihuoneet\"\n },\n \"location\": {\n \"title\": \"Kohteen valinta\",\n \"address\": \"Osoite\",\n \"phonenumber\": \"Puhelinnumero\"\n },\n \"contract_email\": {\n \"title\": \"Yhteystiedot\",\n \"field\": \"Sähköpostiosoite\"\n }\n },\n \"step_2\": {\n \"basic_information\": {\n \"title\": \"Tapahtumasi\",\n \"description_header\": \"\",\n \"description\": \"Valitse päivät, jolloin tapahtumasi järjestetään. Voit valita useita päiviä ja muuttaa tietoja päiväkohtaisesti.\",\n \"fields\": {\n \"event_name\": \"Tapahtuman nimi\",\n \"event_type\": \"Tapahtuman tyyppi\",\n \"number_of_guests\": \"Vieraiden määrä\",\n \"start_time\": \"Alkamisaika\",\n \"end_time\": \"Päättymisaika\",\n \"amount\": \"Määrä\",\n \"total\": \"Yhteensä\",\n \"add\": \"Lisää\",\n \"emplacement\": \"Asettelu\"\n }\n },\n \"add_day\": {\n \"title\": \"Haluatko lisätä toisen päivän?\",\n \"add_day\": \"Lisää päivä\",\n \"add_item\": \"Lisää tuote\",\n \"day\": \"Päivä {dayCount}\",\n \"date\": \"Päivämäärä\",\n \"select_date\": \"Valitse päivämäärä\",\n \"select_date_description\": \"Tämä on tapahtumasi {day}. päivä. Voit muokata tämän päivän tietoja alla.\",\n \"plenary_hall\": \"Kokoustila\",\n \"sub_hall\": \"Lisätila\",\n \"add_hall_description\": \"Lisätäksesi lisää toimintotiloja tälle päivälle, napsauta Lisää toimintotila -painiketta\",\n \"add_hall_required\": \"Koska pakettisi ei sisällä kokoustilaa, sinun on lisättävä vähintään yksi\",\n \"add_hall_required_error\": \"Lisää vähintään yksi toimintotila jatkaaksesi\",\n \"add_hall_button\": \"Lisää kokoustila\",\n \"package_deal\": \"Saatavilla olevat paketit\",\n \"package_deal_chosen\": \"Valittu paketti\",\n \"package_deal_available\": \"Saatavilla olevat paketit\",\n \"package_deal_items\": \"Lisätuotteet\",\n \"package_deal_items_included\": \"Katso sisältyvät tuotteet\",\n \"package_deal_spaces_included\": \"Sisältyvät kokoustilat\",\n \"additional_items\": \"Lisätuotteet\",\n \"search\": \"Hae\",\n \"no_items_found\": \"Tuotteita ei löytynyt\",\n \"choose_package_deal\": \"Valitse\"\n },\n \"remarks\": {\n \"title\": \"Lisätiedot\"\n },\n \"item_types\": {\n \"audiovisual\": \"Audiovisuaalinen\",\n \"food_beverage\": \"Ruoka ja juoma\",\n \"other\": \"Muu\"\n },\n \"item_examples\": {\n \"audiovisual\": \"Esimerkiksi: Mikrofonit\",\n \"food_beverage\": \"Esimerkiksi: Välipalat\",\n \"other\": \"Esimerkiksi: Kukat\"\n },\n \"clone_day\": \"Kopioi päivä\",\n \"space_selector\": {\n \"show_spaces\": \"Valitse kokoustila\",\n \"hide_spaces\": \"Piilota kokoustilat\",\n \"no_selection\": \"Valitsemme sinulle sopivan kokoustilan yllä olevien tietojen perusteella.\",\n \"capacities\": \"Kapasiteetti asettelua kohden\",\n \"space_not_available\": \"Ei saatavilla\",\n \"space_selected\": \"Valittu\",\n \"select_space\": \"Valitse\",\n \"show_more\": \"Näytä lisää tiloja\",\n \"show_less\": \"Näytä vähemmän tiloja\",\n \"show_unavailable\": \"Näytä tilat, jotka eivät ole saatavilla\",\n \"hide_unavailable\": \"Piilota tilat, jotka eivät ole saatavilla\",\n \"no_image\": \"Ei kuvaa saatavilla\"\n }\n },\n \"step_3\": {\n \"booking\": {\n \"title\": \"Hotellihuoneet\",\n \"available\": \"Saatavilla\",\n \"unavailable\": \"Ei saatavilla\",\n \"fields\": {\n \"name\": \"Ryhmän nimi\",\n \"check_in_date\": \"Saapumispäivä\",\n \"check_out_date\": \"Lähtöpäivä\",\n \"number_of_rooms\": \"Määrä\",\n \"persons_per_room\": \"Vieraita huoneessa\",\n \"total_guests\": \"Vieraiden kokonaismäärä\",\n \"room_type\": \"Huonetyyppi\",\n \"late_check_out\": \"Myöhäinen uloskirjautuminen\",\n \"late_check_out_rooms\": \"Myöhäisen uloskirjautumisen huoneet\",\n \"breakfast\": \"Aamiainen\",\n \"remarks\": \"Lisätiedot\"\n }\n },\n \"overnight_stay\": {\n \"title\": \"Haluatko lisätä toisen yöpymisen?\",\n \"button\": \"Lisää yöpyminen\",\n \"day\": \"Yöpyminen\"\n },\n \"clone_room\": \"Kopioi yöpyminen\"\n },\n \"step_4\": {\n \"account_details\": {\n \"title\": \"Tilitiedot\",\n \"fields\": {\n \"first_name\": \"Etunimi\",\n \"last_name\": \"Sukunimi\",\n \"company_name\": \"Yritys\",\n \"email_address\": \"Sähköpostiosoite\",\n \"phone_number\": \"Puhelinnumero\"\n }\n },\n \"billing_address\": {\n \"title\": \"Laskutusosoite\",\n \"fields\": {\n \"address\": \"Osoite\",\n \"postal_code\": \"Postinumero\",\n \"city\": \"Kaupunki\",\n \"country\": \"Maa\"\n }\n },\n \"contact_person_location\": {\n \"title\": \"Yhteyshenkilö paikan päällä\",\n \"fields\": {\n \"copy\": \"Kopioi tilitiedoista\"\n }\n },\n \"discount_code\": \"Tarjouskoodi\",\n \"invoice_reference\": \"Laskuviite\"\n },\n \"step_5\": {\n \"offer\": \"Tarjouksesi\",\n \"reservation\": \"Varauksesi\",\n \"request\": \"Varauksesi\",\n \"offer_details\": \"Voit tarkistaa kaikki tiedot täältä. Katso myös asiantuntemuksemme perusteella valitsemamme ehdotukset.\",\n \"download_pdf\": \"Lataa PDF\",\n \"hotel_only_meeting\": \"yöpyminen\",\n \"discount\": \"Alennus\",\n \"remarks\": \"Lisätiedot\",\n \"payment_method\": \"Maksutapa\",\n \"payment_done\": \"Maksu onnistui\",\n \"payment_succeeded\": \"Varauksesi on tehty. Lähetämme sinulle sähköpostia tietoinesi.\",\n \"payment_waiting\": \"Maksua käsitellään\",\n \"payment_processing\": \"Maksuasi käsitellään edelleen. Lähetämme sinulle sähköpostia, kun maksusi onnistuu.\",\n \"payment_failed\": \"Maksu epäonnistui\",\n \"payment_failed_message\": \"Maksun käsittelyssä tapahtui virhe. Yritä uudelleen.\",\n \"sub_total_exclusive_vat\": \"Välisumma (ilman ALV:tä)\",\n \"sub_total_exclusive_sales_tax\": \"Välisumma (ilman myyntiveroa)\",\n \"vat_amount\": \"{vat}% ALV\",\n \"sales_tax_amount\": \"{vat}% myyntivero\",\n \"terms_and_conditions\": \"Käyttöehdot\",\n \"minutes_left\": \"Pyyntöäsi pidetään voimassa vielä 1 minuutin ajan. Suorita maksu pian varmistaaksesi sen. | Pyyntöäsi pidetään voimassa vielä {count} minuuttia. Suorita maksu pian varmistaaksesi sen.\",\n \"seconds_left\": \"Sinulla on 1 sekunti aikaa suorittaa maksu. Pyyntösi vanhenee pian. | Sinulla on {count} sekuntia aikaa suorittaa maksu. Pyyntösi vanhenee pian.\",\n \"timer\": {\n \"title\": \"Aika loppui\",\n \"subtitle\": \"Valitettavasti aikasi maksun suorittamiseen loppui. Mutta ei huolta, meillä on pyyntösi ja otamme sinuun yhteyttä mahdollisimman pian.\"\n },\n \"basic_information\": {\n \"title\": \"Varaustiedot\",\n \"event_name\": \"Tapahtuman nimi\",\n \"event_type\": \"Tapahtuman tyyppi\"\n },\n \"contact_information\": {\n \"title\": \"Yhteystiedot\",\n \"contact_person_location\": \"Yhteyshenkilö paikan päällä\",\n \"account_details\": \"Tilitiedot\",\n \"billing_address\": \"Laskutusosoite\"\n },\n \"day\": {\n \"day\": \"Päivä {dayCount}\",\n \"function_spaces\": \"Kokoustilat\",\n \"additional_function_spaces\": \"Lisäkokoustilat\",\n \"pax\": \"Vieraiden määrä\",\n \"emplacement\": \"Asettelu\",\n \"start_time\": \"Alkamisaika\",\n \"end_time\": \"Päättymisaika\",\n \"package_deals\": \"Paketit\",\n \"package_deals_details\": \"Sinulle valmiina oleva paketti liittyvine tuotteineen.\",\n \"package_deals_amount\": \"1 Henkilö | {count} Henkilöä\",\n \"package_deals_price\": \"{amount} per henkilö\",\n \"additional_items\": \"Lisätuotteet\",\n \"total\": \"Yhteensä\",\n \"vat\": \"sisältää ALV:n\",\n \"sales_tax\": \"ei sisällä myyntiveroa\",\n \"hall_rental\": {\n \"title\": \"Kokoustilan vuokra\",\n \"pax\": \"{pax} henkilöä\"\n }\n },\n \"hotel_room\": {\n \"title\": \"Hotellihuoneet\",\n \"price\": \"Hinta\",\n \"room_type\": \"Huonetyyppi\",\n \"rooms\": \"Huoneet\",\n \"number_of_rooms\": \"0 Huonetta | 1 Huone | {n} Huonetta\",\n \"per_room\": \"Käyttöaste\",\n \"pax_room\": \"0 Henkilöä huoneessa | 1 Henkilö huoneessa | {n} Henkilöä huoneessa\",\n \"breakfast\": \"Aamiainen\",\n \"breakfast_included\": \"Ei sisälly | Sisältyy\",\n \"late_checkout\": \"Myöhäinen uloskirjautuminen\",\n \"nights\": \"0 yötä | 1 yö | {n} yötä\",\n \"per_night\": \"{amount} per huone per yö\",\n \"breakfast_price\": \"{name}: {amount} per henkilö per yö\",\n \"late_checkout_price\": \"Myöhäinen uloskirjautuminen: {amount} per huone\",\n \"city_tax\": \"Ei sisällä kaupunkiveroa\"\n }\n },\n \"modal\": {\n \"confirm_turn_down\": {\n \"title\": \"Haluatko varmasti hylätä tämän tarjouksen?\",\n \"body\": \"Tätä ei voi perua.\",\n \"checkbox\": \"Hyväksyn, että hylkään tämän tarjouksen peruuttamattomasti.\"\n },\n \"confirm_cancel\": {\n \"title\": \"Haluatko varmasti peruuttaa tämän varauksen?\",\n \"body\": \"Käyttöehdot ovat voimassa.\",\n \"checkbox\": \"Olen lukenut ja ymmärtänyt käyttöehdot ja hyväksyn ne.\"\n },\n \"confirm_accept\": {\n \"title\": \"Vahvista varauksesi\",\n \"body\": \"Käyttöehdot ovat voimassa.\",\n \"checkbox\": \"Olen lukenut ja ymmärtänyt käyttöehdot ja hyväksyn ne.\"\n },\n \"reservation_edited\": {\n \"title\": \"Kiitos paljon. Muutoksesi on tehty.\"\n },\n \"reservation_submitted\": {\n \"title\": \"Kiitos paljon. On hienoa nähdä kiinnostuksesi järjestää {meeting} kanssamme.\",\n \"body\": \"Saat tarjouksen varauksestasi mahdollisimman pian.\",\n \"button\": \"Klikkaa tästä vieraillaksesi {locationName} verkkosivustolla\"\n },\n \"reservation_accepted\": {\n \"body\": \"Saat vahvistuksen varauksestasi mahdollisimman pian.\"\n },\n \"reservation_cancelled\": {\n \"title\": \"Olet peruuttanut varauksen {meeting}.\"\n },\n \"reservation_turned_down\": {\n \"title\": \"Olet hylännyt tarjouksen {meeting}.\"\n },\n \"cancel_reason\": {\n \"text\": \"Peruutuksen syy\",\n \"placeholder\": \"Kerro miksi peruutat tämän varauksen.\"\n },\n \"turn_down_reason\": {\n \"text\": \"Hylkäämisen syy\",\n \"placeholder\": \"Kerro miksi hylkäät tämän tarjouksen.\"\n },\n \"submitting\": {\n \"title\": \"Käsittelemme pyyntöäsi\",\n \"subtitle\": \"Tämä voi kestää hetken. Älä sulje tätä ikkunaa.\"\n },\n \"request\": {\n \"loading_title\": \"Luomme valinnaista varaustasi\",\n \"submitted_text\": \"Saat tarjouksen varauksestasi mahdollisimman pian.\"\n },\n \"inquire\": {\n \"loading_title\": \"Luomme tiedusteluasi\",\n \"submitted_text\": \"Otamme sinuun yhteyttä mahdollisimman pian.\"\n },\n \"book\": {\n \"loading_title\": \"Laskemme hintaa\",\n \"submitted_text\": \"\"\n }\n },\n \"buttons\": {\n \"edit_reservation\": \"Muokkaa varausta\",\n \"save_pdf\": \"Tallenna tarjous PDF-muodossa\",\n \"submit_offer\": \"Pyydä tarjous\",\n \"next_step\": \"Seuraava vaihe\",\n \"previous_step\": \"Edellinen vaihe\",\n \"accept_offer\": \"Hyväksy tarjous\",\n \"cancel_offer\": \"Peruuta varaus\",\n \"turn_down_offer\": \"Hylkää tarjous\",\n \"edit_offer\": \"Tallenna muutokset\",\n \"request_proposal\": \"Pyydä ehdotus\",\n \"request\": \"Pyydä ehdotus\",\n \"inquire\": \"Tiedustele\",\n \"book\": \"Varaa nyt\",\n \"accept_booking\": \"Vahvista varaus\",\n \"pay_booking\": \"Maksa\",\n \"cancel_booking\": \"Peruuta varaus\"\n }\n },\n \"dropdown\": {\n \"no_results\": \"Ei tuloksia\",\n \"placeholder\": \"Valitse vaihtoehto\",\n \"loading\": \"Ladataan...\"\n },\n \"switch\": {\n \"yes\": \"Kyllä\",\n \"no\": \"Ei\"\n },\n \"enums\": {\n \"payment_method\": {\n \"AT_LOCATION\": \"Paikan päällä\",\n \"CREDIT_CARD\": \"Luottokortti\",\n \"INVOICE\": \"Lasku\",\n \"PRE_PAYMENT\": \"Ennakkomaksu\",\n \"VOUCHER\": \"Lahjakortti\"\n }\n }\n}\n","import {\n createI18n,\n Locale,\n LocaleMessageDictionary,\n VueMessageType,\n} from 'vue-i18n';\nimport nl from '@/locales/nl-NL.json';\nimport en from '@/locales/en-US.json';\nimport de from '@/locales/de-DE.json';\nimport fr from '@/locales/fr-FR.json';\nimport fi from '@/locales/fi-FI.json';\n\nconst messages: Record> = {};\n\nmessages['en-US'] = en;\nmessages['nl-NL'] = nl;\nmessages['de-DE'] = de;\nmessages['fr-FR'] = fr;\nmessages['fi-FI'] = fi;\n\nconst detectLanguage = (): Locale => {\n const userLocale = navigator.language;\n if (!userLocale) {\n return 'en-US';\n }\n const availableLocales = Object.keys(messages);\n if (availableLocales.includes(userLocale)) {\n return userLocale;\n }\n\n const shortenedLocale = availableLocales.find(\n (locale) =>\n locale.slice(0, 2).toLocaleLowerCase() ===\n userLocale.slice(0, 2).toLocaleLowerCase(),\n );\n return shortenedLocale ?? 'en-US';\n};\n\nexport default createI18n({\n legacy: false,\n globalInjection: true,\n locale: detectLanguage(),\n fallbackLocale: 'en-US',\n warnHtmlInMessage: 'off',\n messages,\n});\n","/**\n * vee-validate v4.15.0\n * (c) 2024 Abdelrahman Awad\n * @license MIT\n */\nimport { getCurrentInstance, inject, warn as warn$1, computed, toValue, ref, watch, nextTick, unref, isRef, reactive, onUnmounted, onMounted, provide, onBeforeUnmount, defineComponent, toRef, resolveDynamicComponent, h, readonly, watchEffect, shallowRef } from 'vue';\n\nfunction isCallable(fn) {\n return typeof fn === 'function';\n}\nfunction isNullOrUndefined(value) {\n return value === null || value === undefined;\n}\nconst isObject = (obj) => obj !== null && !!obj && typeof obj === 'object' && !Array.isArray(obj);\nfunction isIndex(value) {\n return Number(value) >= 0;\n}\nfunction toNumber(value) {\n const n = parseFloat(value);\n return isNaN(n) ? value : n;\n}\nfunction isObjectLike(value) {\n return typeof value === 'object' && value !== null;\n}\nfunction getTag(value) {\n if (value == null) {\n return value === undefined ? '[object Undefined]' : '[object Null]';\n }\n return Object.prototype.toString.call(value);\n}\n// Reference: https://github.com/lodash/lodash/blob/master/isPlainObject.js\nfunction isPlainObject(value) {\n if (!isObjectLike(value) || getTag(value) !== '[object Object]') {\n return false;\n }\n if (Object.getPrototypeOf(value) === null) {\n return true;\n }\n let proto = value;\n while (Object.getPrototypeOf(proto) !== null) {\n proto = Object.getPrototypeOf(proto);\n }\n return Object.getPrototypeOf(value) === proto;\n}\nfunction merge(target, source) {\n Object.keys(source).forEach(key => {\n if (isPlainObject(source[key]) && isPlainObject(target[key])) {\n if (!target[key]) {\n target[key] = {};\n }\n merge(target[key], source[key]);\n return;\n }\n target[key] = source[key];\n });\n return target;\n}\n/**\n * Constructs a path with dot paths for arrays to use brackets to be compatible with vee-validate path syntax\n */\nfunction normalizeFormPath(path) {\n const pathArr = path.split('.');\n if (!pathArr.length) {\n return '';\n }\n let fullPath = String(pathArr[0]);\n for (let i = 1; i < pathArr.length; i++) {\n if (isIndex(pathArr[i])) {\n fullPath += `[${pathArr[i]}]`;\n continue;\n }\n fullPath += `.${pathArr[i]}`;\n }\n return fullPath;\n}\n\nconst RULES = {};\n/**\n * Adds a custom validator to the list of validation rules.\n */\nfunction defineRule(id, validator) {\n // makes sure new rules are properly formatted.\n guardExtend(id, validator);\n RULES[id] = validator;\n}\n/**\n * Gets an already defined rule\n */\nfunction resolveRule(id) {\n return RULES[id];\n}\n/**\n * Guards from extension violations.\n */\nfunction guardExtend(id, validator) {\n if (isCallable(validator)) {\n return;\n }\n throw new Error(`Extension Error: The validator '${id}' must be a function.`);\n}\n\nfunction set(obj, key, val) {\n\tif (typeof val.value === 'object') val.value = klona(val.value);\n\tif (!val.enumerable || val.get || val.set || !val.configurable || !val.writable || key === '__proto__') {\n\t\tObject.defineProperty(obj, key, val);\n\t} else obj[key] = val.value;\n}\n\nfunction klona(x) {\n\tif (typeof x !== 'object') return x;\n\n\tvar i=0, k, list, tmp, str=Object.prototype.toString.call(x);\n\n\tif (str === '[object Object]') {\n\t\ttmp = Object.create(x.__proto__ || null);\n\t} else if (str === '[object Array]') {\n\t\ttmp = Array(x.length);\n\t} else if (str === '[object Set]') {\n\t\ttmp = new Set;\n\t\tx.forEach(function (val) {\n\t\t\ttmp.add(klona(val));\n\t\t});\n\t} else if (str === '[object Map]') {\n\t\ttmp = new Map;\n\t\tx.forEach(function (val, key) {\n\t\t\ttmp.set(klona(key), klona(val));\n\t\t});\n\t} else if (str === '[object Date]') {\n\t\ttmp = new Date(+x);\n\t} else if (str === '[object RegExp]') {\n\t\ttmp = new RegExp(x.source, x.flags);\n\t} else if (str === '[object DataView]') {\n\t\ttmp = new x.constructor( klona(x.buffer) );\n\t} else if (str === '[object ArrayBuffer]') {\n\t\ttmp = x.slice(0);\n\t} else if (str.slice(-6) === 'Array]') {\n\t\t// ArrayBuffer.isView(x)\n\t\t// ~> `new` bcuz `Buffer.slice` => ref\n\t\ttmp = new x.constructor(x);\n\t}\n\n\tif (tmp) {\n\t\tfor (list=Object.getOwnPropertySymbols(x); i < list.length; i++) {\n\t\t\tset(tmp, list[i], Object.getOwnPropertyDescriptor(x, list[i]));\n\t\t}\n\n\t\tfor (i=0, list=Object.getOwnPropertyNames(x); i < list.length; i++) {\n\t\t\tif (Object.hasOwnProperty.call(tmp, k=list[i]) && tmp[k] === x[k]) continue;\n\t\t\tset(tmp, k, Object.getOwnPropertyDescriptor(x, k));\n\t\t}\n\t}\n\n\treturn tmp || x;\n}\n\nconst FormContextKey = Symbol('vee-validate-form');\nconst PublicFormContextKey = Symbol('vee-validate-form-context');\nconst FieldContextKey = Symbol('vee-validate-field-instance');\nconst IS_ABSENT = Symbol('Default empty value');\n\nconst isClient = typeof window !== 'undefined';\nfunction isLocator(value) {\n return isCallable(value) && !!value.__locatorRef;\n}\nfunction isTypedSchema(value) {\n return !!value && isCallable(value.parse) && value.__type === 'VVTypedSchema';\n}\nfunction isYupValidator(value) {\n return !!value && isCallable(value.validate);\n}\nfunction hasCheckedAttr(type) {\n return type === 'checkbox' || type === 'radio';\n}\nfunction isContainerValue(value) {\n return isObject(value) || Array.isArray(value);\n}\n/**\n * True if the value is an empty object or array\n */\nfunction isEmptyContainer(value) {\n if (Array.isArray(value)) {\n return value.length === 0;\n }\n return isObject(value) && Object.keys(value).length === 0;\n}\n/**\n * Checks if the path opted out of nested fields using `[fieldName]` syntax\n */\nfunction isNotNestedPath(path) {\n return /^\\[.+\\]$/i.test(path);\n}\n/**\n * Checks if an element is a native HTML5 multi-select input element\n */\nfunction isNativeMultiSelect(el) {\n return isNativeSelect(el) && el.multiple;\n}\n/**\n * Checks if an element is a native HTML5 select input element\n */\nfunction isNativeSelect(el) {\n return el.tagName === 'SELECT';\n}\n/**\n * Checks if a tag name with attrs object will render a native multi-select element\n */\nfunction isNativeMultiSelectNode(tag, attrs) {\n // The falsy value array is the values that Vue won't add the `multiple` prop if it has one of these values\n const hasTruthyBindingValue = ![false, null, undefined, 0].includes(attrs.multiple) && !Number.isNaN(attrs.multiple);\n return tag === 'select' && 'multiple' in attrs && hasTruthyBindingValue;\n}\n/**\n * Checks if a node should have a `:value` binding or not\n *\n * These nodes should not have a value binding\n * For files, because they are not reactive\n * For multi-selects because the value binding will reset the value\n */\nfunction shouldHaveValueBinding(tag, attrs) {\n return !isNativeMultiSelectNode(tag, attrs) && attrs.type !== 'file' && !hasCheckedAttr(attrs.type);\n}\nfunction isFormSubmitEvent(evt) {\n return isEvent(evt) && evt.target && 'submit' in evt.target;\n}\nfunction isEvent(evt) {\n if (!evt) {\n return false;\n }\n if (typeof Event !== 'undefined' && isCallable(Event) && evt instanceof Event) {\n return true;\n }\n // this is for IE and Cypress #3161\n /* istanbul ignore next */\n if (evt && evt.srcElement) {\n return true;\n }\n return false;\n}\nfunction isPropPresent(obj, prop) {\n return prop in obj && obj[prop] !== IS_ABSENT;\n}\n/**\n * Compares if two values are the same borrowed from:\n * https://github.com/epoberezkin/fast-deep-equal\n * We added a case for file matching since `Object.keys` doesn't work with Files.\n *\n * NB: keys with the value undefined are ignored in the evaluation and considered equal to missing keys.\n * */\nfunction isEqual(a, b) {\n if (a === b)\n return true;\n if (a && b && typeof a === 'object' && typeof b === 'object') {\n if (a.constructor !== b.constructor)\n return false;\n // eslint-disable-next-line no-var\n var length, i, keys;\n if (Array.isArray(a)) {\n length = a.length;\n if (length != b.length)\n return false;\n for (i = length; i-- !== 0;)\n if (!isEqual(a[i], b[i]))\n return false;\n return true;\n }\n if (a instanceof Map && b instanceof Map) {\n if (a.size !== b.size)\n return false;\n for (i of a.entries())\n if (!b.has(i[0]))\n return false;\n for (i of a.entries())\n if (!isEqual(i[1], b.get(i[0])))\n return false;\n return true;\n }\n // We added this part for file comparison, arguably a little naive but should work for most cases.\n // #3911\n if (isFile(a) && isFile(b)) {\n if (a.size !== b.size)\n return false;\n if (a.name !== b.name)\n return false;\n if (a.lastModified !== b.lastModified)\n return false;\n if (a.type !== b.type)\n return false;\n return true;\n }\n if (a instanceof Set && b instanceof Set) {\n if (a.size !== b.size)\n return false;\n for (i of a.entries())\n if (!b.has(i[0]))\n return false;\n return true;\n }\n if (ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) {\n length = a.length;\n if (length != b.length)\n return false;\n for (i = length; i-- !== 0;)\n if (a[i] !== b[i])\n return false;\n return true;\n }\n if (a.constructor === RegExp)\n return a.source === b.source && a.flags === b.flags;\n if (a.valueOf !== Object.prototype.valueOf)\n return a.valueOf() === b.valueOf();\n if (a.toString !== Object.prototype.toString)\n return a.toString() === b.toString();\n keys = Object.keys(a);\n length = keys.length - countUndefinedValues(a, keys);\n if (length !== Object.keys(b).length - countUndefinedValues(b, Object.keys(b)))\n return false;\n for (i = length; i-- !== 0;) {\n if (!Object.prototype.hasOwnProperty.call(b, keys[i]))\n return false;\n }\n for (i = length; i-- !== 0;) {\n // eslint-disable-next-line no-var\n var key = keys[i];\n if (!isEqual(a[key], b[key]))\n return false;\n }\n return true;\n }\n // true if both NaN, false otherwise\n return a !== a && b !== b;\n}\nfunction countUndefinedValues(a, keys) {\n let result = 0;\n for (let i = keys.length; i-- !== 0;) {\n // eslint-disable-next-line no-var\n var key = keys[i];\n if (a[key] === undefined)\n result++;\n }\n return result;\n}\nfunction isFile(a) {\n if (!isClient) {\n return false;\n }\n return a instanceof File;\n}\n\nfunction cleanupNonNestedPath(path) {\n if (isNotNestedPath(path)) {\n return path.replace(/\\[|\\]/gi, '');\n }\n return path;\n}\nfunction getFromPath(object, path, fallback) {\n if (!object) {\n return fallback;\n }\n if (isNotNestedPath(path)) {\n return object[cleanupNonNestedPath(path)];\n }\n const resolvedValue = (path || '')\n .split(/\\.|\\[(\\d+)\\]/)\n .filter(Boolean)\n .reduce((acc, propKey) => {\n if (isContainerValue(acc) && propKey in acc) {\n return acc[propKey];\n }\n return fallback;\n }, object);\n return resolvedValue;\n}\n/**\n * Sets a nested property value in a path, creates the path properties if it doesn't exist\n */\nfunction setInPath(object, path, value) {\n if (isNotNestedPath(path)) {\n object[cleanupNonNestedPath(path)] = value;\n return;\n }\n const keys = path.split(/\\.|\\[(\\d+)\\]/).filter(Boolean);\n let acc = object;\n for (let i = 0; i < keys.length; i++) {\n // Last key, set it\n if (i === keys.length - 1) {\n acc[keys[i]] = value;\n return;\n }\n // Key does not exist, create a container for it\n if (!(keys[i] in acc) || isNullOrUndefined(acc[keys[i]])) {\n // container can be either an object or an array depending on the next key if it exists\n acc[keys[i]] = isIndex(keys[i + 1]) ? [] : {};\n }\n acc = acc[keys[i]];\n }\n}\nfunction unset(object, key) {\n if (Array.isArray(object) && isIndex(key)) {\n object.splice(Number(key), 1);\n return;\n }\n if (isObject(object)) {\n delete object[key];\n }\n}\n/**\n * Removes a nested property from object\n */\nfunction unsetPath(object, path) {\n if (isNotNestedPath(path)) {\n delete object[cleanupNonNestedPath(path)];\n return;\n }\n const keys = path.split(/\\.|\\[(\\d+)\\]/).filter(Boolean);\n let acc = object;\n for (let i = 0; i < keys.length; i++) {\n // Last key, unset it\n if (i === keys.length - 1) {\n unset(acc, keys[i]);\n break;\n }\n // Key does not exist, exit\n if (!(keys[i] in acc) || isNullOrUndefined(acc[keys[i]])) {\n break;\n }\n acc = acc[keys[i]];\n }\n const pathValues = keys.map((_, idx) => {\n return getFromPath(object, keys.slice(0, idx).join('.'));\n });\n for (let i = pathValues.length - 1; i >= 0; i--) {\n if (!isEmptyContainer(pathValues[i])) {\n continue;\n }\n if (i === 0) {\n unset(object, keys[0]);\n continue;\n }\n unset(pathValues[i - 1], keys[i - 1]);\n }\n}\n/**\n * A typed version of Object.keys\n */\nfunction keysOf(record) {\n return Object.keys(record);\n}\n// Uses same component provide as its own injections\n// Due to changes in https://github.com/vuejs/vue-next/pull/2424\nfunction injectWithSelf(symbol, def = undefined) {\n const vm = getCurrentInstance();\n return (vm === null || vm === void 0 ? void 0 : vm.provides[symbol]) || inject(symbol, def);\n}\nfunction warn(message) {\n warn$1(`[vee-validate]: ${message}`);\n}\nfunction resolveNextCheckboxValue(currentValue, checkedValue, uncheckedValue) {\n if (Array.isArray(currentValue)) {\n const newVal = [...currentValue];\n // Use isEqual since checked object values can possibly fail the equality check #3883\n const idx = newVal.findIndex(v => isEqual(v, checkedValue));\n idx >= 0 ? newVal.splice(idx, 1) : newVal.push(checkedValue);\n return newVal;\n }\n return isEqual(currentValue, checkedValue) ? uncheckedValue : checkedValue;\n}\n/**\n * Creates a throttled function that only invokes the provided function (`func`) at most once per within a given number of milliseconds\n * (`limit`)\n */\nfunction throttle(func, limit) {\n let inThrottle;\n let lastResult;\n return function (...args) {\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n const context = this;\n if (!inThrottle) {\n inThrottle = true;\n setTimeout(() => (inThrottle = false), limit);\n lastResult = func.apply(context, args);\n }\n return lastResult;\n };\n}\nfunction debounceAsync(inner, ms = 0) {\n let timer = null;\n let resolves = [];\n return function (...args) {\n // Run the function after a certain amount of time\n if (timer) {\n clearTimeout(timer);\n }\n // @ts-expect-error timer is a number\n timer = setTimeout(() => {\n // Get the result of the inner function, then apply it to the resolve function of\n // each promise that has been created since the last time the inner function was run\n const result = inner(...args);\n resolves.forEach(r => r(result));\n resolves = [];\n }, ms);\n return new Promise(resolve => resolves.push(resolve));\n };\n}\nfunction applyModelModifiers(value, modifiers) {\n if (!isObject(modifiers)) {\n return value;\n }\n if (modifiers.number) {\n return toNumber(value);\n }\n return value;\n}\nfunction withLatest(fn, onDone) {\n let latestRun;\n return async function runLatest(...args) {\n const pending = fn(...args);\n latestRun = pending;\n const result = await pending;\n if (pending !== latestRun) {\n return result;\n }\n latestRun = undefined;\n return onDone(result, args);\n };\n}\nfunction computedDeep({ get, set }) {\n const baseRef = ref(klona(get()));\n watch(get, newValue => {\n if (isEqual(newValue, baseRef.value)) {\n return;\n }\n baseRef.value = klona(newValue);\n }, {\n deep: true,\n });\n watch(baseRef, newValue => {\n if (isEqual(newValue, get())) {\n return;\n }\n set(klona(newValue));\n }, {\n deep: true,\n });\n return baseRef;\n}\nfunction normalizeErrorItem(message) {\n return Array.isArray(message) ? message : message ? [message] : [];\n}\nfunction resolveFieldOrPathState(path) {\n const form = injectWithSelf(FormContextKey);\n const state = path ? computed(() => form === null || form === void 0 ? void 0 : form.getPathState(toValue(path))) : undefined;\n const field = path ? undefined : inject(FieldContextKey);\n if (!field && !(state === null || state === void 0 ? void 0 : state.value)) {\n if ((process.env.NODE_ENV !== 'production')) {\n warn(`field with name ${toValue(path)} was not found`);\n }\n }\n return state || field;\n}\nfunction omit(obj, keys) {\n const target = {};\n for (const key in obj) {\n if (!keys.includes(key)) {\n target[key] = obj[key];\n }\n }\n return target;\n}\nfunction debounceNextTick(inner) {\n let lastTick = null;\n let resolves = [];\n return function (...args) {\n // Run the function after a certain amount of time\n const thisTick = nextTick(() => {\n if (lastTick !== thisTick) {\n return;\n }\n // Get the result of the inner function, then apply it to the resolve function of\n // each promise that has been created since the last time the inner function was run\n const result = inner(...args);\n resolves.forEach(r => r(result));\n resolves = [];\n lastTick = null;\n });\n lastTick = thisTick;\n return new Promise(resolve => resolves.push(resolve));\n };\n}\n\nfunction normalizeChildren(tag, context, slotProps) {\n if (!context.slots.default) {\n return context.slots.default;\n }\n if (typeof tag === 'string' || !tag) {\n return context.slots.default(slotProps());\n }\n return {\n default: () => { var _a, _b; return (_b = (_a = context.slots).default) === null || _b === void 0 ? void 0 : _b.call(_a, slotProps()); },\n };\n}\n/**\n * Vue adds a `_value` prop at the moment on the input elements to store the REAL value on them, real values are different than the `value` attribute\n * as they do not get casted to strings unlike `el.value` which preserves user-code behavior\n */\nfunction getBoundValue(el) {\n if (hasValueBinding(el)) {\n return el._value;\n }\n return undefined;\n}\n/**\n * Vue adds a `_value` prop at the moment on the input elements to store the REAL value on them, real values are different than the `value` attribute\n * as they do not get casted to strings unlike `el.value` which preserves user-code behavior\n */\nfunction hasValueBinding(el) {\n return '_value' in el;\n}\n\nfunction parseInputValue(el) {\n if (el.type === 'number') {\n return Number.isNaN(el.valueAsNumber) ? el.value : el.valueAsNumber;\n }\n if (el.type === 'range') {\n return Number.isNaN(el.valueAsNumber) ? el.value : el.valueAsNumber;\n }\n return el.value;\n}\nfunction normalizeEventValue(value) {\n if (!isEvent(value)) {\n return value;\n }\n const input = value.target;\n // Vue sets the current bound value on `_value` prop\n // for checkboxes it it should fetch the value binding type as is (boolean instead of string)\n if (hasCheckedAttr(input.type) && hasValueBinding(input)) {\n return getBoundValue(input);\n }\n if (input.type === 'file' && input.files) {\n const files = Array.from(input.files);\n return input.multiple ? files : files[0];\n }\n if (isNativeMultiSelect(input)) {\n return Array.from(input.options)\n .filter(opt => opt.selected && !opt.disabled)\n .map(getBoundValue);\n }\n // makes sure we get the actual `option` bound value\n // #3440\n if (isNativeSelect(input)) {\n const selectedOption = Array.from(input.options).find(opt => opt.selected);\n return selectedOption ? getBoundValue(selectedOption) : input.value;\n }\n return parseInputValue(input);\n}\n\n/**\n * Normalizes the given rules expression.\n */\nfunction normalizeRules(rules) {\n const acc = {};\n Object.defineProperty(acc, '_$$isNormalized', {\n value: true,\n writable: false,\n enumerable: false,\n configurable: false,\n });\n if (!rules) {\n return acc;\n }\n // Object is already normalized, skip.\n if (isObject(rules) && rules._$$isNormalized) {\n return rules;\n }\n if (isObject(rules)) {\n return Object.keys(rules).reduce((prev, curr) => {\n const params = normalizeParams(rules[curr]);\n if (rules[curr] !== false) {\n prev[curr] = buildParams(params);\n }\n return prev;\n }, acc);\n }\n /* istanbul ignore if */\n if (typeof rules !== 'string') {\n return acc;\n }\n return rules.split('|').reduce((prev, rule) => {\n const parsedRule = parseRule(rule);\n if (!parsedRule.name) {\n return prev;\n }\n prev[parsedRule.name] = buildParams(parsedRule.params);\n return prev;\n }, acc);\n}\n/**\n * Normalizes a rule param.\n */\nfunction normalizeParams(params) {\n if (params === true) {\n return [];\n }\n if (Array.isArray(params)) {\n return params;\n }\n if (isObject(params)) {\n return params;\n }\n return [params];\n}\nfunction buildParams(provided) {\n const mapValueToLocator = (value) => {\n // A target param using interpolation\n if (typeof value === 'string' && value[0] === '@') {\n return createLocator(value.slice(1));\n }\n return value;\n };\n if (Array.isArray(provided)) {\n return provided.map(mapValueToLocator);\n }\n // #3073\n if (provided instanceof RegExp) {\n return [provided];\n }\n return Object.keys(provided).reduce((prev, key) => {\n prev[key] = mapValueToLocator(provided[key]);\n return prev;\n }, {});\n}\n/**\n * Parses a rule string expression.\n */\nconst parseRule = (rule) => {\n let params = [];\n const name = rule.split(':')[0];\n if (rule.includes(':')) {\n params = rule.split(':').slice(1).join(':').split(',');\n }\n return { name, params };\n};\nfunction createLocator(value) {\n const locator = (crossTable) => {\n var _a;\n const val = (_a = getFromPath(crossTable, value)) !== null && _a !== void 0 ? _a : crossTable[value];\n return val;\n };\n locator.__locatorRef = value;\n return locator;\n}\nfunction extractLocators(params) {\n if (Array.isArray(params)) {\n return params.filter(isLocator);\n }\n return keysOf(params)\n .filter(key => isLocator(params[key]))\n .map(key => params[key]);\n}\n\nconst DEFAULT_CONFIG = {\n generateMessage: ({ field }) => `${field} is not valid.`,\n bails: true,\n validateOnBlur: true,\n validateOnChange: true,\n validateOnInput: false,\n validateOnModelUpdate: true,\n};\nlet currentConfig = Object.assign({}, DEFAULT_CONFIG);\nconst getConfig = () => currentConfig;\nconst setConfig = (newConf) => {\n currentConfig = Object.assign(Object.assign({}, currentConfig), newConf);\n};\nconst configure = setConfig;\n\n/**\n * Validates a value against the rules.\n */\nasync function validate(value, rules, options = {}) {\n const shouldBail = options === null || options === void 0 ? void 0 : options.bails;\n const field = {\n name: (options === null || options === void 0 ? void 0 : options.name) || '{field}',\n rules,\n label: options === null || options === void 0 ? void 0 : options.label,\n bails: shouldBail !== null && shouldBail !== void 0 ? shouldBail : true,\n formData: (options === null || options === void 0 ? void 0 : options.values) || {},\n };\n const result = await _validate(field, value);\n return Object.assign(Object.assign({}, result), { valid: !result.errors.length });\n}\n/**\n * Starts the validation process.\n */\nasync function _validate(field, value) {\n const rules = field.rules;\n if (isTypedSchema(rules) || isYupValidator(rules)) {\n return validateFieldWithTypedSchema(value, Object.assign(Object.assign({}, field), { rules }));\n }\n // if a generic function or chain of generic functions\n if (isCallable(rules) || Array.isArray(rules)) {\n const ctx = {\n field: field.label || field.name,\n name: field.name,\n label: field.label,\n form: field.formData,\n value,\n };\n // Normalize the pipeline\n const pipeline = Array.isArray(rules) ? rules : [rules];\n const length = pipeline.length;\n const errors = [];\n for (let i = 0; i < length; i++) {\n const rule = pipeline[i];\n const result = await rule(value, ctx);\n const isValid = typeof result !== 'string' && !Array.isArray(result) && result;\n if (isValid) {\n continue;\n }\n if (Array.isArray(result)) {\n errors.push(...result);\n }\n else {\n const message = typeof result === 'string' ? result : _generateFieldError(ctx);\n errors.push(message);\n }\n if (field.bails) {\n return {\n errors,\n };\n }\n }\n return {\n errors,\n };\n }\n const normalizedContext = Object.assign(Object.assign({}, field), { rules: normalizeRules(rules) });\n const errors = [];\n const rulesKeys = Object.keys(normalizedContext.rules);\n const length = rulesKeys.length;\n for (let i = 0; i < length; i++) {\n const rule = rulesKeys[i];\n const result = await _test(normalizedContext, value, {\n name: rule,\n params: normalizedContext.rules[rule],\n });\n if (result.error) {\n errors.push(result.error);\n if (field.bails) {\n return {\n errors,\n };\n }\n }\n }\n return {\n errors,\n };\n}\nfunction isYupError(err) {\n return !!err && err.name === 'ValidationError';\n}\nfunction yupToTypedSchema(yupSchema) {\n const schema = {\n __type: 'VVTypedSchema',\n async parse(values, context) {\n var _a;\n try {\n const output = await yupSchema.validate(values, { abortEarly: false, context: (context === null || context === void 0 ? void 0 : context.formData) || {} });\n return {\n output,\n errors: [],\n };\n }\n catch (err) {\n // Yup errors have a name prop one them.\n // https://github.com/jquense/yup#validationerrorerrors-string--arraystring-value-any-path-string\n if (!isYupError(err)) {\n throw err;\n }\n if (!((_a = err.inner) === null || _a === void 0 ? void 0 : _a.length) && err.errors.length) {\n return { errors: [{ path: err.path, errors: err.errors }] };\n }\n const errors = err.inner.reduce((acc, curr) => {\n const path = curr.path || '';\n if (!acc[path]) {\n acc[path] = { errors: [], path };\n }\n acc[path].errors.push(...curr.errors);\n return acc;\n }, {});\n return { errors: Object.values(errors) };\n }\n },\n };\n return schema;\n}\n/**\n * Handles yup validation\n */\nasync function validateFieldWithTypedSchema(value, context) {\n const typedSchema = isTypedSchema(context.rules) ? context.rules : yupToTypedSchema(context.rules);\n const result = await typedSchema.parse(value, { formData: context.formData });\n const messages = [];\n for (const error of result.errors) {\n if (error.errors.length) {\n messages.push(...error.errors);\n }\n }\n return {\n value: result.value,\n errors: messages,\n };\n}\n/**\n * Tests a single input value against a rule.\n */\nasync function _test(field, value, rule) {\n const validator = resolveRule(rule.name);\n if (!validator) {\n throw new Error(`No such validator '${rule.name}' exists.`);\n }\n const params = fillTargetValues(rule.params, field.formData);\n const ctx = {\n field: field.label || field.name,\n name: field.name,\n label: field.label,\n value,\n form: field.formData,\n rule: Object.assign(Object.assign({}, rule), { params }),\n };\n const result = await validator(value, params, ctx);\n if (typeof result === 'string') {\n return {\n error: result,\n };\n }\n return {\n error: result ? undefined : _generateFieldError(ctx),\n };\n}\n/**\n * Generates error messages.\n */\nfunction _generateFieldError(fieldCtx) {\n const message = getConfig().generateMessage;\n if (!message) {\n return 'Field is invalid';\n }\n return message(fieldCtx);\n}\nfunction fillTargetValues(params, crossTable) {\n const normalize = (value) => {\n if (isLocator(value)) {\n return value(crossTable);\n }\n return value;\n };\n if (Array.isArray(params)) {\n return params.map(normalize);\n }\n return Object.keys(params).reduce((acc, param) => {\n acc[param] = normalize(params[param]);\n return acc;\n }, {});\n}\nasync function validateTypedSchema(schema, values) {\n const typedSchema = isTypedSchema(schema) ? schema : yupToTypedSchema(schema);\n const validationResult = await typedSchema.parse(klona(values), { formData: klona(values) });\n const results = {};\n const errors = {};\n for (const error of validationResult.errors) {\n const messages = error.errors;\n // Fixes issue with path mapping with Yup 1.0 including quotes around array indices\n const path = (error.path || '').replace(/\\[\"(\\d+)\"\\]/g, (_, m) => {\n return `[${m}]`;\n });\n results[path] = { valid: !messages.length, errors: messages };\n if (messages.length) {\n errors[path] = messages[0];\n }\n }\n return {\n valid: !validationResult.errors.length,\n results,\n errors,\n values: validationResult.value,\n source: 'schema',\n };\n}\nasync function validateObjectSchema(schema, values, opts) {\n const paths = keysOf(schema);\n const validations = paths.map(async (path) => {\n var _a, _b, _c;\n const strings = (_a = opts === null || opts === void 0 ? void 0 : opts.names) === null || _a === void 0 ? void 0 : _a[path];\n const fieldResult = await validate(getFromPath(values, path), schema[path], {\n name: (strings === null || strings === void 0 ? void 0 : strings.name) || path,\n label: strings === null || strings === void 0 ? void 0 : strings.label,\n values: values,\n bails: (_c = (_b = opts === null || opts === void 0 ? void 0 : opts.bailsMap) === null || _b === void 0 ? void 0 : _b[path]) !== null && _c !== void 0 ? _c : true,\n });\n return Object.assign(Object.assign({}, fieldResult), { path });\n });\n let isAllValid = true;\n const validationResults = await Promise.all(validations);\n const results = {};\n const errors = {};\n for (const result of validationResults) {\n results[result.path] = {\n valid: result.valid,\n errors: result.errors,\n };\n if (!result.valid) {\n isAllValid = false;\n errors[result.path] = result.errors[0];\n }\n }\n return {\n valid: isAllValid,\n results,\n errors,\n source: 'schema',\n };\n}\n\nlet ID_COUNTER = 0;\nfunction useFieldState(path, init) {\n const { value, initialValue, setInitialValue } = _useFieldValue(path, init.modelValue, init.form);\n if (!init.form) {\n const { errors, setErrors } = createFieldErrors();\n const id = ID_COUNTER >= Number.MAX_SAFE_INTEGER ? 0 : ++ID_COUNTER;\n const meta = createFieldMeta(value, initialValue, errors, init.schema);\n function setState(state) {\n var _a;\n if ('value' in state) {\n value.value = state.value;\n }\n if ('errors' in state) {\n setErrors(state.errors);\n }\n if ('touched' in state) {\n meta.touched = (_a = state.touched) !== null && _a !== void 0 ? _a : meta.touched;\n }\n if ('initialValue' in state) {\n setInitialValue(state.initialValue);\n }\n }\n return {\n id,\n path,\n value,\n initialValue,\n meta,\n flags: { pendingUnmount: { [id]: false }, pendingReset: false },\n errors,\n setState,\n };\n }\n const state = init.form.createPathState(path, {\n bails: init.bails,\n label: init.label,\n type: init.type,\n validate: init.validate,\n schema: init.schema,\n });\n const errors = computed(() => state.errors);\n function setState(state) {\n var _a, _b, _c;\n if ('value' in state) {\n value.value = state.value;\n }\n if ('errors' in state) {\n (_a = init.form) === null || _a === void 0 ? void 0 : _a.setFieldError(unref(path), state.errors);\n }\n if ('touched' in state) {\n (_b = init.form) === null || _b === void 0 ? void 0 : _b.setFieldTouched(unref(path), (_c = state.touched) !== null && _c !== void 0 ? _c : false);\n }\n if ('initialValue' in state) {\n setInitialValue(state.initialValue);\n }\n }\n return {\n id: Array.isArray(state.id) ? state.id[state.id.length - 1] : state.id,\n path,\n value,\n errors,\n meta: state,\n initialValue,\n flags: state.__flags,\n setState,\n };\n}\n/**\n * Creates the field value and resolves the initial value\n */\nfunction _useFieldValue(path, modelValue, form) {\n const modelRef = ref(unref(modelValue));\n function resolveInitialValue() {\n if (!form) {\n return unref(modelRef);\n }\n return getFromPath(form.initialValues.value, unref(path), unref(modelRef));\n }\n function setInitialValue(value) {\n if (!form) {\n modelRef.value = value;\n return;\n }\n form.setFieldInitialValue(unref(path), value, true);\n }\n const initialValue = computed(resolveInitialValue);\n // if no form is associated, use a regular ref.\n if (!form) {\n const value = ref(resolveInitialValue());\n return {\n value,\n initialValue,\n setInitialValue,\n };\n }\n // to set the initial value, first check if there is a current value, if there is then use it.\n // otherwise use the configured initial value if it exists.\n // prioritize model value over form values\n // #3429\n const currentValue = resolveModelValue(modelValue, form, initialValue, path);\n form.stageInitialValue(unref(path), currentValue, true);\n // otherwise use a computed setter that triggers the `setFieldValue`\n const value = computed({\n get() {\n return getFromPath(form.values, unref(path));\n },\n set(newVal) {\n form.setFieldValue(unref(path), newVal, false);\n },\n });\n return {\n value,\n initialValue,\n setInitialValue,\n };\n}\n/*\n to set the initial value, first check if there is a current value, if there is then use it.\n otherwise use the configured initial value if it exists.\n prioritize model value over form values\n #3429\n*/\nfunction resolveModelValue(modelValue, form, initialValue, path) {\n if (isRef(modelValue)) {\n return unref(modelValue);\n }\n if (modelValue !== undefined) {\n return modelValue;\n }\n return getFromPath(form.values, unref(path), unref(initialValue));\n}\n/**\n * Creates meta flags state and some associated effects with them\n */\nfunction createFieldMeta(currentValue, initialValue, errors, schema) {\n const isRequired = computed(() => { var _a, _b, _c; return (_c = (_b = (_a = toValue(schema)) === null || _a === void 0 ? void 0 : _a.describe) === null || _b === void 0 ? void 0 : _b.call(_a).required) !== null && _c !== void 0 ? _c : false; });\n const meta = reactive({\n touched: false,\n pending: false,\n valid: true,\n required: isRequired,\n validated: !!unref(errors).length,\n initialValue: computed(() => unref(initialValue)),\n dirty: computed(() => {\n return !isEqual(unref(currentValue), unref(initialValue));\n }),\n });\n watch(errors, value => {\n meta.valid = !value.length;\n }, {\n immediate: true,\n flush: 'sync',\n });\n return meta;\n}\n/**\n * Creates the error message state for the field state\n */\nfunction createFieldErrors() {\n const errors = ref([]);\n return {\n errors,\n setErrors: (messages) => {\n errors.value = normalizeErrorItem(messages);\n },\n };\n}\n\nconst DEVTOOLS_FORMS = {};\nconst DEVTOOLS_FIELDS = {};\nconst INSPECTOR_ID = 'vee-validate-inspector';\nconst COLORS = {\n error: 0xbd4b4b,\n success: 0x06d77b,\n unknown: 0x54436b,\n white: 0xffffff,\n black: 0x000000,\n blue: 0x035397,\n purple: 0xb980f0,\n orange: 0xf5a962,\n gray: 0xbbbfca,\n};\nlet SELECTED_NODE = null;\n/**\n * Plugin API\n */\nlet API;\nasync function installDevtoolsPlugin(app) {\n if ((process.env.NODE_ENV !== 'production')) {\n if (!isClient) {\n return;\n }\n const devtools = await import('@vue/devtools-api');\n devtools.setupDevtoolsPlugin({\n id: 'vee-validate-devtools-plugin',\n label: 'VeeValidate Plugin',\n packageName: 'vee-validate',\n homepage: 'https://vee-validate.logaretm.com/v4',\n app,\n logo: 'https://vee-validate.logaretm.com/v4/logo.png',\n }, api => {\n API = api;\n api.addInspector({\n id: INSPECTOR_ID,\n icon: 'rule',\n label: 'vee-validate',\n noSelectionText: 'Select a vee-validate node to inspect',\n actions: [\n {\n icon: 'done_outline',\n tooltip: 'Validate selected item',\n action: async () => {\n if (!SELECTED_NODE) {\n // eslint-disable-next-line no-console\n console.error('There is not a valid selected vee-validate node or component');\n return;\n }\n if (SELECTED_NODE.type === 'field') {\n await SELECTED_NODE.field.validate();\n return;\n }\n if (SELECTED_NODE.type === 'form') {\n await SELECTED_NODE.form.validate();\n return;\n }\n if (SELECTED_NODE.type === 'pathState') {\n await SELECTED_NODE.form.validateField(SELECTED_NODE.state.path);\n }\n },\n },\n {\n icon: 'delete_sweep',\n tooltip: 'Clear validation state of the selected item',\n action: () => {\n if (!SELECTED_NODE) {\n // eslint-disable-next-line no-console\n console.error('There is not a valid selected vee-validate node or component');\n return;\n }\n if (SELECTED_NODE.type === 'field') {\n SELECTED_NODE.field.resetField();\n return;\n }\n if (SELECTED_NODE.type === 'form') {\n SELECTED_NODE.form.resetForm();\n }\n if (SELECTED_NODE.type === 'pathState') {\n SELECTED_NODE.form.resetField(SELECTED_NODE.state.path);\n }\n },\n },\n ],\n });\n api.on.getInspectorTree(payload => {\n if (payload.inspectorId !== INSPECTOR_ID) {\n return;\n }\n const forms = Object.values(DEVTOOLS_FORMS);\n const fields = Object.values(DEVTOOLS_FIELDS);\n payload.rootNodes = [\n ...forms.map(mapFormForDevtoolsInspector),\n ...fields.map(field => mapFieldForDevtoolsInspector(field)),\n ];\n });\n api.on.getInspectorState(payload => {\n if (payload.inspectorId !== INSPECTOR_ID) {\n return;\n }\n const { form, field, state, type } = decodeNodeId(payload.nodeId);\n api.unhighlightElement();\n if (form && type === 'form') {\n payload.state = buildFormState(form);\n SELECTED_NODE = { type: 'form', form };\n api.highlightElement(form._vm);\n return;\n }\n if (state && type === 'pathState' && form) {\n payload.state = buildFieldState(state);\n SELECTED_NODE = { type: 'pathState', state, form };\n return;\n }\n if (field && type === 'field') {\n payload.state = buildFieldState({\n errors: field.errors.value,\n dirty: field.meta.dirty,\n valid: field.meta.valid,\n touched: field.meta.touched,\n value: field.value.value,\n initialValue: field.meta.initialValue,\n });\n SELECTED_NODE = { field, type: 'field' };\n api.highlightElement(field._vm);\n return;\n }\n SELECTED_NODE = null;\n api.unhighlightElement();\n });\n });\n }\n}\nconst refreshInspector = throttle(() => {\n setTimeout(async () => {\n await nextTick();\n API === null || API === void 0 ? void 0 : API.sendInspectorState(INSPECTOR_ID);\n API === null || API === void 0 ? void 0 : API.sendInspectorTree(INSPECTOR_ID);\n }, 100);\n}, 100);\nfunction registerFormWithDevTools(form) {\n const vm = getCurrentInstance();\n if (!API) {\n const app = vm === null || vm === void 0 ? void 0 : vm.appContext.app;\n if (!app) {\n return;\n }\n installDevtoolsPlugin(app);\n }\n DEVTOOLS_FORMS[form.formId] = Object.assign({}, form);\n DEVTOOLS_FORMS[form.formId]._vm = vm;\n onUnmounted(() => {\n delete DEVTOOLS_FORMS[form.formId];\n refreshInspector();\n });\n refreshInspector();\n}\nfunction registerSingleFieldWithDevtools(field) {\n const vm = getCurrentInstance();\n if (!API) {\n const app = vm === null || vm === void 0 ? void 0 : vm.appContext.app;\n if (!app) {\n return;\n }\n installDevtoolsPlugin(app);\n }\n DEVTOOLS_FIELDS[field.id] = Object.assign({}, field);\n DEVTOOLS_FIELDS[field.id]._vm = vm;\n onUnmounted(() => {\n delete DEVTOOLS_FIELDS[field.id];\n refreshInspector();\n });\n refreshInspector();\n}\nfunction mapFormForDevtoolsInspector(form) {\n const { textColor, bgColor } = getValidityColors(form.meta.value.valid);\n const formTreeNodes = {};\n Object.values(form.getAllPathStates()).forEach(state => {\n setInPath(formTreeNodes, toValue(state.path), mapPathForDevtoolsInspector(state, form));\n });\n function buildFormTree(tree, path = []) {\n const key = [...path].pop();\n if ('id' in tree) {\n return Object.assign(Object.assign({}, tree), { label: key || tree.label });\n }\n if (isObject(tree)) {\n return {\n id: `${path.join('.')}`,\n label: key || '',\n children: Object.keys(tree).map(key => buildFormTree(tree[key], [...path, key])),\n };\n }\n if (Array.isArray(tree)) {\n return {\n id: `${path.join('.')}`,\n label: `${key}[]`,\n children: tree.map((c, idx) => buildFormTree(c, [...path, String(idx)])),\n };\n }\n return { id: '', label: '', children: [] };\n }\n const { children } = buildFormTree(formTreeNodes);\n return {\n id: encodeNodeId(form),\n label: form.name,\n children,\n tags: [\n {\n label: 'Form',\n textColor,\n backgroundColor: bgColor,\n },\n {\n label: `${form.getAllPathStates().length} fields`,\n textColor: COLORS.white,\n backgroundColor: COLORS.unknown,\n },\n ],\n };\n}\nfunction mapPathForDevtoolsInspector(state, form) {\n return {\n id: encodeNodeId(form, state),\n label: toValue(state.path),\n tags: getFieldNodeTags(state.multiple, state.fieldsCount, state.type, state.valid, form),\n };\n}\nfunction mapFieldForDevtoolsInspector(field, form) {\n return {\n id: encodeNodeId(form, field),\n label: unref(field.name),\n tags: getFieldNodeTags(false, 1, field.type, field.meta.valid, form),\n };\n}\nfunction getFieldNodeTags(multiple, fieldsCount, type, valid, form) {\n const { textColor, bgColor } = getValidityColors(valid);\n return [\n multiple\n ? undefined\n : {\n label: 'Field',\n textColor,\n backgroundColor: bgColor,\n },\n !form\n ? {\n label: 'Standalone',\n textColor: COLORS.black,\n backgroundColor: COLORS.gray,\n }\n : undefined,\n type === 'checkbox'\n ? {\n label: 'Checkbox',\n textColor: COLORS.white,\n backgroundColor: COLORS.blue,\n }\n : undefined,\n type === 'radio'\n ? {\n label: 'Radio',\n textColor: COLORS.white,\n backgroundColor: COLORS.purple,\n }\n : undefined,\n multiple\n ? {\n label: 'Multiple',\n textColor: COLORS.black,\n backgroundColor: COLORS.orange,\n }\n : undefined,\n ].filter(Boolean);\n}\nfunction encodeNodeId(form, stateOrField) {\n const type = stateOrField ? ('path' in stateOrField ? 'pathState' : 'field') : 'form';\n const fieldPath = stateOrField ? ('path' in stateOrField ? stateOrField === null || stateOrField === void 0 ? void 0 : stateOrField.path : toValue(stateOrField === null || stateOrField === void 0 ? void 0 : stateOrField.name)) : '';\n const idObject = { f: form === null || form === void 0 ? void 0 : form.formId, ff: (stateOrField === null || stateOrField === void 0 ? void 0 : stateOrField.id) || fieldPath, type };\n return btoa(encodeURIComponent(JSON.stringify(idObject)));\n}\nfunction decodeNodeId(nodeId) {\n try {\n const idObject = JSON.parse(decodeURIComponent(atob(nodeId)));\n const form = DEVTOOLS_FORMS[idObject.f];\n if (!form && idObject.ff) {\n const field = DEVTOOLS_FIELDS[idObject.ff];\n if (!field) {\n return {};\n }\n return {\n type: idObject.type,\n field,\n };\n }\n if (!form) {\n return {};\n }\n const state = form.getPathState(idObject.ff);\n return {\n type: idObject.type,\n form,\n state,\n };\n }\n catch (err) {\n // console.error(`Devtools: [vee-validate] Failed to parse node id ${nodeId}`);\n }\n return {};\n}\nfunction buildFieldState(state) {\n return {\n 'Field state': [\n { key: 'errors', value: state.errors },\n {\n key: 'initialValue',\n value: state.initialValue,\n },\n {\n key: 'currentValue',\n value: state.value,\n },\n {\n key: 'touched',\n value: state.touched,\n },\n {\n key: 'dirty',\n value: state.dirty,\n },\n {\n key: 'valid',\n value: state.valid,\n },\n ],\n };\n}\nfunction buildFormState(form) {\n const { errorBag, meta, values, isSubmitting, isValidating, submitCount } = form;\n return {\n 'Form state': [\n {\n key: 'submitCount',\n value: submitCount.value,\n },\n {\n key: 'isSubmitting',\n value: isSubmitting.value,\n },\n {\n key: 'isValidating',\n value: isValidating.value,\n },\n {\n key: 'touched',\n value: meta.value.touched,\n },\n {\n key: 'dirty',\n value: meta.value.dirty,\n },\n {\n key: 'valid',\n value: meta.value.valid,\n },\n {\n key: 'initialValues',\n value: meta.value.initialValues,\n },\n {\n key: 'currentValues',\n value: values,\n },\n {\n key: 'errors',\n value: keysOf(errorBag.value).reduce((acc, key) => {\n var _a;\n const message = (_a = errorBag.value[key]) === null || _a === void 0 ? void 0 : _a[0];\n if (message) {\n acc[key] = message;\n }\n return acc;\n }, {}),\n },\n ],\n };\n}\n/**\n * Resolves the tag color based on the form state\n */\nfunction getValidityColors(valid) {\n return {\n bgColor: valid ? COLORS.success : COLORS.error,\n textColor: valid ? COLORS.black : COLORS.white,\n };\n}\n\n/**\n * Creates a field composite.\n */\nfunction useField(path, rules, opts) {\n if (hasCheckedAttr(opts === null || opts === void 0 ? void 0 : opts.type)) {\n return useFieldWithChecked(path, rules, opts);\n }\n return _useField(path, rules, opts);\n}\nfunction _useField(path, rules, opts) {\n const { initialValue: modelValue, validateOnMount, bails, type, checkedValue, label, validateOnValueUpdate, uncheckedValue, controlled, keepValueOnUnmount, syncVModel, form: controlForm, } = normalizeOptions(opts);\n const injectedForm = controlled ? injectWithSelf(FormContextKey) : undefined;\n const form = controlForm || injectedForm;\n const name = computed(() => normalizeFormPath(toValue(path)));\n const validator = computed(() => {\n const schema = toValue(form === null || form === void 0 ? void 0 : form.schema);\n if (schema) {\n return undefined;\n }\n const rulesValue = unref(rules);\n if (isYupValidator(rulesValue) ||\n isTypedSchema(rulesValue) ||\n isCallable(rulesValue) ||\n Array.isArray(rulesValue)) {\n return rulesValue;\n }\n return normalizeRules(rulesValue);\n });\n const isTyped = !isCallable(validator.value) && isTypedSchema(toValue(rules));\n const { id, value, initialValue, meta, setState, errors, flags } = useFieldState(name, {\n modelValue,\n form,\n bails,\n label,\n type,\n validate: validator.value ? validate$1 : undefined,\n schema: isTyped ? rules : undefined,\n });\n const errorMessage = computed(() => errors.value[0]);\n if (syncVModel) {\n useVModel({\n value,\n prop: syncVModel,\n handleChange,\n shouldValidate: () => validateOnValueUpdate && !flags.pendingReset,\n });\n }\n /**\n * Handles common onBlur meta update\n */\n const handleBlur = (evt, shouldValidate = false) => {\n meta.touched = true;\n if (shouldValidate) {\n validateWithStateMutation();\n }\n };\n async function validateCurrentValue(mode) {\n var _a, _b;\n if (form === null || form === void 0 ? void 0 : form.validateSchema) {\n const { results } = await form.validateSchema(mode);\n return (_a = results[toValue(name)]) !== null && _a !== void 0 ? _a : { valid: true, errors: [] };\n }\n if (validator.value) {\n return validate(value.value, validator.value, {\n name: toValue(name),\n label: toValue(label),\n values: (_b = form === null || form === void 0 ? void 0 : form.values) !== null && _b !== void 0 ? _b : {},\n bails,\n });\n }\n return { valid: true, errors: [] };\n }\n const validateWithStateMutation = withLatest(async () => {\n meta.pending = true;\n meta.validated = true;\n return validateCurrentValue('validated-only');\n }, result => {\n if (flags.pendingUnmount[field.id]) {\n return result;\n }\n setState({ errors: result.errors });\n meta.pending = false;\n meta.valid = result.valid;\n return result;\n });\n const validateValidStateOnly = withLatest(async () => {\n return validateCurrentValue('silent');\n }, result => {\n meta.valid = result.valid;\n return result;\n });\n function validate$1(opts) {\n if ((opts === null || opts === void 0 ? void 0 : opts.mode) === 'silent') {\n return validateValidStateOnly();\n }\n return validateWithStateMutation();\n }\n // Common input/change event handler\n function handleChange(e, shouldValidate = true) {\n const newValue = normalizeEventValue(e);\n setValue(newValue, shouldValidate);\n }\n // Runs the initial validation\n onMounted(() => {\n if (validateOnMount) {\n return validateWithStateMutation();\n }\n // validate self initially if no form was handling this\n // forms should have their own initial silent validation run to make things more efficient\n if (!form || !form.validateSchema) {\n validateValidStateOnly();\n }\n });\n function setTouched(isTouched) {\n meta.touched = isTouched;\n }\n function resetField(state) {\n var _a;\n const newValue = state && 'value' in state ? state.value : initialValue.value;\n setState({\n value: klona(newValue),\n initialValue: klona(newValue),\n touched: (_a = state === null || state === void 0 ? void 0 : state.touched) !== null && _a !== void 0 ? _a : false,\n errors: (state === null || state === void 0 ? void 0 : state.errors) || [],\n });\n meta.pending = false;\n meta.validated = false;\n validateValidStateOnly();\n }\n const vm = getCurrentInstance();\n function setValue(newValue, shouldValidate = true) {\n value.value = vm && syncVModel ? applyModelModifiers(newValue, vm.props.modelModifiers) : newValue;\n const validateFn = shouldValidate ? validateWithStateMutation : validateValidStateOnly;\n validateFn();\n }\n function setErrors(errors) {\n setState({ errors: Array.isArray(errors) ? errors : [errors] });\n }\n const valueProxy = computed({\n get() {\n return value.value;\n },\n set(newValue) {\n setValue(newValue, validateOnValueUpdate);\n },\n });\n const field = {\n id,\n name,\n label,\n value: valueProxy,\n meta,\n errors,\n errorMessage,\n type,\n checkedValue,\n uncheckedValue,\n bails,\n keepValueOnUnmount,\n resetField,\n handleReset: () => resetField(),\n validate: validate$1,\n handleChange,\n handleBlur,\n setState,\n setTouched,\n setErrors,\n setValue,\n };\n provide(FieldContextKey, field);\n if (isRef(rules) && typeof unref(rules) !== 'function') {\n watch(rules, (value, oldValue) => {\n if (isEqual(value, oldValue)) {\n return;\n }\n meta.validated ? validateWithStateMutation() : validateValidStateOnly();\n }, {\n deep: true,\n });\n }\n if ((process.env.NODE_ENV !== 'production')) {\n field._vm = getCurrentInstance();\n watch(() => (Object.assign(Object.assign({ errors: errors.value }, meta), { value: value.value })), refreshInspector, {\n deep: true,\n });\n if (!form) {\n registerSingleFieldWithDevtools(field);\n }\n }\n // if no associated form return the field API immediately\n if (!form) {\n return field;\n }\n // associate the field with the given form\n // extract cross-field dependencies in a computed prop\n const dependencies = computed(() => {\n const rulesVal = validator.value;\n // is falsy, a function schema or a yup schema\n if (!rulesVal ||\n isCallable(rulesVal) ||\n isYupValidator(rulesVal) ||\n isTypedSchema(rulesVal) ||\n Array.isArray(rulesVal)) {\n return {};\n }\n return Object.keys(rulesVal).reduce((acc, rule) => {\n const deps = extractLocators(rulesVal[rule])\n .map((dep) => dep.__locatorRef)\n .reduce((depAcc, depName) => {\n const depValue = getFromPath(form.values, depName) || form.values[depName];\n if (depValue !== undefined) {\n depAcc[depName] = depValue;\n }\n return depAcc;\n }, {});\n Object.assign(acc, deps);\n return acc;\n }, {});\n });\n // Adds a watcher that runs the validation whenever field dependencies change\n watch(dependencies, (deps, oldDeps) => {\n // Skip if no dependencies or if the field wasn't manipulated\n if (!Object.keys(deps).length) {\n return;\n }\n const shouldValidate = !isEqual(deps, oldDeps);\n if (shouldValidate) {\n meta.validated ? validateWithStateMutation() : validateValidStateOnly();\n }\n });\n onBeforeUnmount(() => {\n var _a;\n const shouldKeepValue = (_a = toValue(field.keepValueOnUnmount)) !== null && _a !== void 0 ? _a : toValue(form.keepValuesOnUnmount);\n const path = toValue(name);\n if (shouldKeepValue || !form || flags.pendingUnmount[field.id]) {\n form === null || form === void 0 ? void 0 : form.removePathState(path, id);\n return;\n }\n flags.pendingUnmount[field.id] = true;\n const pathState = form.getPathState(path);\n const matchesId = Array.isArray(pathState === null || pathState === void 0 ? void 0 : pathState.id) && (pathState === null || pathState === void 0 ? void 0 : pathState.multiple)\n ? pathState === null || pathState === void 0 ? void 0 : pathState.id.includes(field.id)\n : (pathState === null || pathState === void 0 ? void 0 : pathState.id) === field.id;\n if (!matchesId) {\n return;\n }\n if ((pathState === null || pathState === void 0 ? void 0 : pathState.multiple) && Array.isArray(pathState.value)) {\n const valueIdx = pathState.value.findIndex(i => isEqual(i, toValue(field.checkedValue)));\n if (valueIdx > -1) {\n const newVal = [...pathState.value];\n newVal.splice(valueIdx, 1);\n form.setFieldValue(path, newVal);\n }\n if (Array.isArray(pathState.id)) {\n pathState.id.splice(pathState.id.indexOf(field.id), 1);\n }\n }\n else {\n form.unsetPathValue(toValue(name));\n }\n form.removePathState(path, id);\n });\n return field;\n}\n/**\n * Normalizes partial field options to include the full options\n */\nfunction normalizeOptions(opts) {\n const defaults = () => ({\n initialValue: undefined,\n validateOnMount: false,\n bails: true,\n label: undefined,\n validateOnValueUpdate: true,\n keepValueOnUnmount: undefined,\n syncVModel: false,\n controlled: true,\n });\n const isVModelSynced = !!(opts === null || opts === void 0 ? void 0 : opts.syncVModel);\n const modelPropName = typeof (opts === null || opts === void 0 ? void 0 : opts.syncVModel) === 'string' ? opts.syncVModel : (opts === null || opts === void 0 ? void 0 : opts.modelPropName) || 'modelValue';\n const initialValue = isVModelSynced && !('initialValue' in (opts || {}))\n ? getCurrentModelValue(getCurrentInstance(), modelPropName)\n : opts === null || opts === void 0 ? void 0 : opts.initialValue;\n if (!opts) {\n return Object.assign(Object.assign({}, defaults()), { initialValue });\n }\n // TODO: Deprecate this in next major release\n const checkedValue = 'valueProp' in opts ? opts.valueProp : opts.checkedValue;\n const controlled = 'standalone' in opts ? !opts.standalone : opts.controlled;\n const syncVModel = (opts === null || opts === void 0 ? void 0 : opts.modelPropName) || (opts === null || opts === void 0 ? void 0 : opts.syncVModel) || false;\n return Object.assign(Object.assign(Object.assign({}, defaults()), (opts || {})), { initialValue, controlled: controlled !== null && controlled !== void 0 ? controlled : true, checkedValue,\n syncVModel });\n}\nfunction useFieldWithChecked(name, rules, opts) {\n const form = !(opts === null || opts === void 0 ? void 0 : opts.standalone) ? injectWithSelf(FormContextKey) : undefined;\n const checkedValue = opts === null || opts === void 0 ? void 0 : opts.checkedValue;\n const uncheckedValue = opts === null || opts === void 0 ? void 0 : opts.uncheckedValue;\n function patchCheckedApi(field) {\n const handleChange = field.handleChange;\n const checked = computed(() => {\n const currentValue = toValue(field.value);\n const checkedVal = toValue(checkedValue);\n return Array.isArray(currentValue)\n ? currentValue.findIndex(v => isEqual(v, checkedVal)) >= 0\n : isEqual(checkedVal, currentValue);\n });\n function handleCheckboxChange(e, shouldValidate = true) {\n var _a, _b;\n if (checked.value === ((_a = e === null || e === void 0 ? void 0 : e.target) === null || _a === void 0 ? void 0 : _a.checked)) {\n if (shouldValidate) {\n field.validate();\n }\n return;\n }\n const path = toValue(name);\n const pathState = form === null || form === void 0 ? void 0 : form.getPathState(path);\n const value = normalizeEventValue(e);\n let newValue = (_b = toValue(checkedValue)) !== null && _b !== void 0 ? _b : value;\n if (form && (pathState === null || pathState === void 0 ? void 0 : pathState.multiple) && pathState.type === 'checkbox') {\n newValue = resolveNextCheckboxValue(getFromPath(form.values, path) || [], newValue, undefined);\n }\n else if ((opts === null || opts === void 0 ? void 0 : opts.type) === 'checkbox') {\n newValue = resolveNextCheckboxValue(toValue(field.value), newValue, toValue(uncheckedValue));\n }\n handleChange(newValue, shouldValidate);\n }\n return Object.assign(Object.assign({}, field), { checked,\n checkedValue,\n uncheckedValue, handleChange: handleCheckboxChange });\n }\n return patchCheckedApi(_useField(name, rules, opts));\n}\nfunction useVModel({ prop, value, handleChange, shouldValidate }) {\n const vm = getCurrentInstance();\n /* istanbul ignore next */\n if (!vm || !prop) {\n if ((process.env.NODE_ENV !== 'production')) {\n // eslint-disable-next-line no-console\n console.warn('Failed to setup model events because `useField` was not called in setup.');\n }\n return;\n }\n const propName = typeof prop === 'string' ? prop : 'modelValue';\n const emitName = `update:${propName}`;\n // Component doesn't have a model prop setup (must be defined on the props)\n if (!(propName in vm.props)) {\n return;\n }\n watch(value, newValue => {\n if (isEqual(newValue, getCurrentModelValue(vm, propName))) {\n return;\n }\n vm.emit(emitName, newValue);\n });\n watch(() => getCurrentModelValue(vm, propName), propValue => {\n if (propValue === IS_ABSENT && value.value === undefined) {\n return;\n }\n const newValue = propValue === IS_ABSENT ? undefined : propValue;\n if (isEqual(newValue, value.value)) {\n return;\n }\n handleChange(newValue, shouldValidate());\n });\n}\nfunction getCurrentModelValue(vm, propName) {\n if (!vm) {\n return undefined;\n }\n return vm.props[propName];\n}\n\nconst FieldImpl = /** #__PURE__ */ defineComponent({\n name: 'Field',\n inheritAttrs: false,\n props: {\n as: {\n type: [String, Object],\n default: undefined,\n },\n name: {\n type: String,\n required: true,\n },\n rules: {\n type: [Object, String, Function],\n default: undefined,\n },\n validateOnMount: {\n type: Boolean,\n default: false,\n },\n validateOnBlur: {\n type: Boolean,\n default: undefined,\n },\n validateOnChange: {\n type: Boolean,\n default: undefined,\n },\n validateOnInput: {\n type: Boolean,\n default: undefined,\n },\n validateOnModelUpdate: {\n type: Boolean,\n default: undefined,\n },\n bails: {\n type: Boolean,\n default: () => getConfig().bails,\n },\n label: {\n type: String,\n default: undefined,\n },\n uncheckedValue: {\n type: null,\n default: undefined,\n },\n modelValue: {\n type: null,\n default: IS_ABSENT,\n },\n modelModifiers: {\n type: null,\n default: () => ({}),\n },\n 'onUpdate:modelValue': {\n type: null,\n default: undefined,\n },\n standalone: {\n type: Boolean,\n default: false,\n },\n keepValue: {\n type: Boolean,\n default: undefined,\n },\n },\n setup(props, ctx) {\n const rules = toRef(props, 'rules');\n const name = toRef(props, 'name');\n const label = toRef(props, 'label');\n const uncheckedValue = toRef(props, 'uncheckedValue');\n const keepValue = toRef(props, 'keepValue');\n const { errors, value, errorMessage, validate: validateField, handleChange, handleBlur, setTouched, resetField, handleReset, meta, checked, setErrors, setValue, } = useField(name, rules, {\n validateOnMount: props.validateOnMount,\n bails: props.bails,\n standalone: props.standalone,\n type: ctx.attrs.type,\n initialValue: resolveInitialValue(props, ctx),\n // Only for checkboxes and radio buttons\n checkedValue: ctx.attrs.value,\n uncheckedValue,\n label,\n validateOnValueUpdate: props.validateOnModelUpdate,\n keepValueOnUnmount: keepValue,\n syncVModel: true,\n });\n // If there is a v-model applied on the component we need to emit the `update:modelValue` whenever the value binding changes\n const onChangeHandler = function handleChangeWithModel(e, shouldValidate = true) {\n handleChange(e, shouldValidate);\n };\n const sharedProps = computed(() => {\n const { validateOnInput, validateOnChange, validateOnBlur, validateOnModelUpdate } = resolveValidationTriggers(props);\n function baseOnBlur(e) {\n handleBlur(e, validateOnBlur);\n if (isCallable(ctx.attrs.onBlur)) {\n ctx.attrs.onBlur(e);\n }\n }\n function baseOnInput(e) {\n onChangeHandler(e, validateOnInput);\n if (isCallable(ctx.attrs.onInput)) {\n ctx.attrs.onInput(e);\n }\n }\n function baseOnChange(e) {\n onChangeHandler(e, validateOnChange);\n if (isCallable(ctx.attrs.onChange)) {\n ctx.attrs.onChange(e);\n }\n }\n const attrs = {\n name: props.name,\n onBlur: baseOnBlur,\n onInput: baseOnInput,\n onChange: baseOnChange,\n };\n attrs['onUpdate:modelValue'] = e => onChangeHandler(e, validateOnModelUpdate);\n return attrs;\n });\n const fieldProps = computed(() => {\n const attrs = Object.assign({}, sharedProps.value);\n if (hasCheckedAttr(ctx.attrs.type) && checked) {\n attrs.checked = checked.value;\n }\n const tag = resolveTag(props, ctx);\n if (shouldHaveValueBinding(tag, ctx.attrs)) {\n attrs.value = value.value;\n }\n return attrs;\n });\n const componentProps = computed(() => {\n return Object.assign(Object.assign({}, sharedProps.value), { modelValue: value.value });\n });\n function slotProps() {\n return {\n field: fieldProps.value,\n componentField: componentProps.value,\n value: value.value,\n meta,\n errors: errors.value,\n errorMessage: errorMessage.value,\n validate: validateField,\n resetField,\n handleChange: onChangeHandler,\n handleInput: e => onChangeHandler(e, false),\n handleReset,\n handleBlur: sharedProps.value.onBlur,\n setTouched,\n setErrors,\n setValue,\n };\n }\n ctx.expose({\n value,\n meta,\n errors,\n errorMessage,\n setErrors,\n setTouched,\n setValue,\n reset: resetField,\n validate: validateField,\n handleChange,\n });\n return () => {\n const tag = resolveDynamicComponent(resolveTag(props, ctx));\n const children = normalizeChildren(tag, ctx, slotProps);\n if (tag) {\n return h(tag, Object.assign(Object.assign({}, ctx.attrs), fieldProps.value), children);\n }\n return children;\n };\n },\n});\nfunction resolveTag(props, ctx) {\n let tag = props.as || '';\n if (!props.as && !ctx.slots.default) {\n tag = 'input';\n }\n return tag;\n}\nfunction resolveValidationTriggers(props) {\n var _a, _b, _c, _d;\n const { validateOnInput, validateOnChange, validateOnBlur, validateOnModelUpdate } = getConfig();\n return {\n validateOnInput: (_a = props.validateOnInput) !== null && _a !== void 0 ? _a : validateOnInput,\n validateOnChange: (_b = props.validateOnChange) !== null && _b !== void 0 ? _b : validateOnChange,\n validateOnBlur: (_c = props.validateOnBlur) !== null && _c !== void 0 ? _c : validateOnBlur,\n validateOnModelUpdate: (_d = props.validateOnModelUpdate) !== null && _d !== void 0 ? _d : validateOnModelUpdate,\n };\n}\nfunction resolveInitialValue(props, ctx) {\n // Gets the initial value either from `value` prop/attr or `v-model` binding (modelValue)\n // For checkboxes and radio buttons it will always be the model value not the `value` attribute\n if (!hasCheckedAttr(ctx.attrs.type)) {\n return isPropPresent(props, 'modelValue') ? props.modelValue : ctx.attrs.value;\n }\n return isPropPresent(props, 'modelValue') ? props.modelValue : undefined;\n}\nconst Field = FieldImpl;\n\nlet FORM_COUNTER = 0;\nconst PRIVATE_PATH_STATE_KEYS = ['bails', 'fieldsCount', 'id', 'multiple', 'type', 'validate'];\nfunction resolveInitialValues(opts) {\n const givenInitial = (opts === null || opts === void 0 ? void 0 : opts.initialValues) || {};\n const providedValues = Object.assign({}, toValue(givenInitial));\n const schema = unref(opts === null || opts === void 0 ? void 0 : opts.validationSchema);\n if (schema && isTypedSchema(schema) && isCallable(schema.cast)) {\n return klona(schema.cast(providedValues) || {});\n }\n return klona(providedValues);\n}\nfunction useForm(opts) {\n var _a;\n const formId = FORM_COUNTER++;\n const name = (opts === null || opts === void 0 ? void 0 : opts.name) || 'Form';\n // Prevents fields from double resetting their values, which causes checkboxes to toggle their initial value\n let FIELD_ID_COUNTER = 0;\n // If the form is currently submitting\n const isSubmitting = ref(false);\n // If the form is currently validating\n const isValidating = ref(false);\n // The number of times the user tried to submit the form\n const submitCount = ref(0);\n // field arrays managed by this form\n const fieldArrays = [];\n // a private ref for all form values\n const formValues = reactive(resolveInitialValues(opts));\n const pathStates = ref([]);\n const extraErrorsBag = ref({});\n const pathStateLookup = ref({});\n const rebuildPathLookup = debounceNextTick(() => {\n pathStateLookup.value = pathStates.value.reduce((names, state) => {\n names[normalizeFormPath(toValue(state.path))] = state;\n return names;\n }, {});\n });\n /**\n * Manually sets an error message on a specific field\n */\n function setFieldError(field, message) {\n const state = findPathState(field);\n if (!state) {\n if (typeof field === 'string') {\n extraErrorsBag.value[normalizeFormPath(field)] = normalizeErrorItem(message);\n }\n return;\n }\n // Move the error from the extras path if exists\n if (typeof field === 'string') {\n const normalizedPath = normalizeFormPath(field);\n if (extraErrorsBag.value[normalizedPath]) {\n delete extraErrorsBag.value[normalizedPath];\n }\n }\n state.errors = normalizeErrorItem(message);\n state.valid = !state.errors.length;\n }\n /**\n * Sets errors for the fields specified in the object\n */\n function setErrors(paths) {\n keysOf(paths).forEach(path => {\n setFieldError(path, paths[path]);\n });\n }\n if (opts === null || opts === void 0 ? void 0 : opts.initialErrors) {\n setErrors(opts.initialErrors);\n }\n const errorBag = computed(() => {\n const pathErrors = pathStates.value.reduce((acc, state) => {\n if (state.errors.length) {\n acc[toValue(state.path)] = state.errors;\n }\n return acc;\n }, {});\n return Object.assign(Object.assign({}, extraErrorsBag.value), pathErrors);\n });\n // Gets the first error of each field\n const errors = computed(() => {\n return keysOf(errorBag.value).reduce((acc, key) => {\n const errors = errorBag.value[key];\n if (errors === null || errors === void 0 ? void 0 : errors.length) {\n acc[key] = errors[0];\n }\n return acc;\n }, {});\n });\n /**\n * Holds a computed reference to all fields names and labels\n */\n const fieldNames = computed(() => {\n return pathStates.value.reduce((names, state) => {\n names[toValue(state.path)] = { name: toValue(state.path) || '', label: state.label || '' };\n return names;\n }, {});\n });\n const fieldBailsMap = computed(() => {\n return pathStates.value.reduce((map, state) => {\n var _a;\n map[toValue(state.path)] = (_a = state.bails) !== null && _a !== void 0 ? _a : true;\n return map;\n }, {});\n });\n // mutable non-reactive reference to initial errors\n // we need this to process initial errors then unset them\n const initialErrors = Object.assign({}, ((opts === null || opts === void 0 ? void 0 : opts.initialErrors) || {}));\n const keepValuesOnUnmount = (_a = opts === null || opts === void 0 ? void 0 : opts.keepValuesOnUnmount) !== null && _a !== void 0 ? _a : false;\n // initial form values\n const { initialValues, originalInitialValues, setInitialValues } = useFormInitialValues(pathStates, formValues, opts);\n // form meta aggregations\n const meta = useFormMeta(pathStates, formValues, originalInitialValues, errors);\n const controlledValues = computed(() => {\n return pathStates.value.reduce((acc, state) => {\n const value = getFromPath(formValues, toValue(state.path));\n setInPath(acc, toValue(state.path), value);\n return acc;\n }, {});\n });\n const schema = opts === null || opts === void 0 ? void 0 : opts.validationSchema;\n function createPathState(path, config) {\n var _a, _b;\n const initialValue = computed(() => getFromPath(initialValues.value, toValue(path)));\n const pathStateExists = pathStateLookup.value[toValue(path)];\n const isCheckboxOrRadio = (config === null || config === void 0 ? void 0 : config.type) === 'checkbox' || (config === null || config === void 0 ? void 0 : config.type) === 'radio';\n if (pathStateExists && isCheckboxOrRadio) {\n pathStateExists.multiple = true;\n const id = FIELD_ID_COUNTER++;\n if (Array.isArray(pathStateExists.id)) {\n pathStateExists.id.push(id);\n }\n else {\n pathStateExists.id = [pathStateExists.id, id];\n }\n pathStateExists.fieldsCount++;\n pathStateExists.__flags.pendingUnmount[id] = false;\n return pathStateExists;\n }\n const currentValue = computed(() => getFromPath(formValues, toValue(path)));\n const pathValue = toValue(path);\n const unsetBatchIndex = UNSET_BATCH.findIndex(_path => _path === pathValue);\n if (unsetBatchIndex !== -1) {\n UNSET_BATCH.splice(unsetBatchIndex, 1);\n }\n const isRequired = computed(() => {\n var _a, _b, _c, _d;\n const schemaValue = toValue(schema);\n if (isTypedSchema(schemaValue)) {\n return (_b = (_a = schemaValue.describe) === null || _a === void 0 ? void 0 : _a.call(schemaValue, toValue(path)).required) !== null && _b !== void 0 ? _b : false;\n }\n // Path own schema\n const configSchemaValue = toValue(config === null || config === void 0 ? void 0 : config.schema);\n if (isTypedSchema(configSchemaValue)) {\n return (_d = (_c = configSchemaValue.describe) === null || _c === void 0 ? void 0 : _c.call(configSchemaValue).required) !== null && _d !== void 0 ? _d : false;\n }\n return false;\n });\n const id = FIELD_ID_COUNTER++;\n const state = reactive({\n id,\n path,\n touched: false,\n pending: false,\n valid: true,\n validated: !!((_a = initialErrors[pathValue]) === null || _a === void 0 ? void 0 : _a.length),\n required: isRequired,\n initialValue,\n errors: shallowRef([]),\n bails: (_b = config === null || config === void 0 ? void 0 : config.bails) !== null && _b !== void 0 ? _b : false,\n label: config === null || config === void 0 ? void 0 : config.label,\n type: (config === null || config === void 0 ? void 0 : config.type) || 'default',\n value: currentValue,\n multiple: false,\n __flags: {\n pendingUnmount: { [id]: false },\n pendingReset: false,\n },\n fieldsCount: 1,\n validate: config === null || config === void 0 ? void 0 : config.validate,\n dirty: computed(() => {\n return !isEqual(unref(currentValue), unref(initialValue));\n }),\n });\n pathStates.value.push(state);\n pathStateLookup.value[pathValue] = state;\n rebuildPathLookup();\n if (errors.value[pathValue] && !initialErrors[pathValue]) {\n nextTick(() => {\n validateField(pathValue, { mode: 'silent' });\n });\n }\n // Handles when a path changes\n if (isRef(path)) {\n watch(path, newPath => {\n rebuildPathLookup();\n const nextValue = klona(currentValue.value);\n pathStateLookup.value[newPath] = state;\n nextTick(() => {\n setInPath(formValues, newPath, nextValue);\n });\n });\n }\n return state;\n }\n /**\n * Batches validation runs in 5ms batches\n * Must have two distinct batch queues to make sure they don't override each other settings #3783\n */\n const debouncedSilentValidation = debounceAsync(_validateSchema, 5);\n const debouncedValidation = debounceAsync(_validateSchema, 5);\n const validateSchema = withLatest(async (mode) => {\n return (await (mode === 'silent'\n ? debouncedSilentValidation()\n : debouncedValidation()));\n }, (formResult, [mode]) => {\n // fields by id lookup\n // errors fields names, we need it to also check if custom errors are updated\n const currentErrorsPaths = keysOf(formCtx.errorBag.value);\n // collect all the keys from the schema and all fields\n // this ensures we have a complete key map of all the fields\n const paths = [\n ...new Set([...keysOf(formResult.results), ...pathStates.value.map(p => p.path), ...currentErrorsPaths]),\n ].sort();\n // aggregates the paths into a single result object while applying the results on the fields\n const results = paths.reduce((validation, _path) => {\n var _a;\n const expectedPath = _path;\n const pathState = findPathState(expectedPath) || findHoistedPath(expectedPath);\n const messages = ((_a = formResult.results[expectedPath]) === null || _a === void 0 ? void 0 : _a.errors) || [];\n // This is the real path of the field, because it might've been a hoisted field\n const path = (toValue(pathState === null || pathState === void 0 ? void 0 : pathState.path) || expectedPath);\n // It is possible that multiple paths are collected across loops\n // We want to merge them to avoid overriding any iteration's results\n const fieldResult = mergeValidationResults({ errors: messages, valid: !messages.length }, validation.results[path]);\n validation.results[path] = fieldResult;\n if (!fieldResult.valid) {\n validation.errors[path] = fieldResult.errors[0];\n }\n // clean up extra errors if path state exists\n if (pathState && extraErrorsBag.value[path]) {\n delete extraErrorsBag.value[path];\n }\n // field not rendered\n if (!pathState) {\n setFieldError(path, messages);\n return validation;\n }\n // always update the valid flag regardless of the mode\n pathState.valid = fieldResult.valid;\n if (mode === 'silent') {\n return validation;\n }\n if (mode === 'validated-only' && !pathState.validated) {\n return validation;\n }\n setFieldError(pathState, fieldResult.errors);\n return validation;\n }, {\n valid: formResult.valid,\n results: {},\n errors: {},\n source: formResult.source,\n });\n if (formResult.values) {\n results.values = formResult.values;\n results.source = formResult.source;\n }\n keysOf(results.results).forEach(path => {\n var _a;\n const pathState = findPathState(path);\n if (!pathState) {\n return;\n }\n if (mode === 'silent') {\n return;\n }\n if (mode === 'validated-only' && !pathState.validated) {\n return;\n }\n setFieldError(pathState, (_a = results.results[path]) === null || _a === void 0 ? void 0 : _a.errors);\n });\n return results;\n });\n function mutateAllPathState(mutation) {\n pathStates.value.forEach(mutation);\n }\n function findPathState(path) {\n const normalizedPath = typeof path === 'string' ? normalizeFormPath(path) : path;\n const pathState = typeof normalizedPath === 'string' ? pathStateLookup.value[normalizedPath] : normalizedPath;\n return pathState;\n }\n function findHoistedPath(path) {\n const candidates = pathStates.value.filter(state => path.startsWith(toValue(state.path)));\n return candidates.reduce((bestCandidate, candidate) => {\n if (!bestCandidate) {\n return candidate;\n }\n return (candidate.path.length > bestCandidate.path.length ? candidate : bestCandidate);\n }, undefined);\n }\n let UNSET_BATCH = [];\n let PENDING_UNSET;\n function unsetPathValue(path) {\n UNSET_BATCH.push(path);\n if (!PENDING_UNSET) {\n PENDING_UNSET = nextTick(() => {\n const sortedPaths = [...UNSET_BATCH].sort().reverse();\n sortedPaths.forEach(p => {\n unsetPath(formValues, p);\n });\n UNSET_BATCH = [];\n PENDING_UNSET = null;\n });\n }\n return PENDING_UNSET;\n }\n function makeSubmissionFactory(onlyControlled) {\n return function submitHandlerFactory(fn, onValidationError) {\n return function submissionHandler(e) {\n if (e instanceof Event) {\n e.preventDefault();\n e.stopPropagation();\n }\n // Touch all fields\n mutateAllPathState(s => (s.touched = true));\n isSubmitting.value = true;\n submitCount.value++;\n return validate()\n .then(result => {\n const values = klona(formValues);\n if (result.valid && typeof fn === 'function') {\n const controlled = klona(controlledValues.value);\n let submittedValues = (onlyControlled ? controlled : values);\n if (result.values) {\n submittedValues =\n result.source === 'schema'\n ? result.values\n : Object.assign({}, submittedValues, result.values);\n }\n return fn(submittedValues, {\n evt: e,\n controlledValues: controlled,\n setErrors,\n setFieldError,\n setTouched,\n setFieldTouched,\n setValues,\n setFieldValue,\n resetForm,\n resetField,\n });\n }\n if (!result.valid && typeof onValidationError === 'function') {\n onValidationError({\n values,\n evt: e,\n errors: result.errors,\n results: result.results,\n });\n }\n })\n .then(returnVal => {\n isSubmitting.value = false;\n return returnVal;\n }, err => {\n isSubmitting.value = false;\n // re-throw the err so it doesn't go silent\n throw err;\n });\n };\n };\n }\n const handleSubmitImpl = makeSubmissionFactory(false);\n const handleSubmit = handleSubmitImpl;\n handleSubmit.withControlled = makeSubmissionFactory(true);\n function removePathState(path, id) {\n const idx = pathStates.value.findIndex(s => {\n return s.path === path && (Array.isArray(s.id) ? s.id.includes(id) : s.id === id);\n });\n const pathState = pathStates.value[idx];\n if (idx === -1 || !pathState) {\n return;\n }\n nextTick(() => {\n validateField(path, { mode: 'silent', warn: false });\n });\n if (pathState.multiple && pathState.fieldsCount) {\n pathState.fieldsCount--;\n }\n if (Array.isArray(pathState.id)) {\n const idIndex = pathState.id.indexOf(id);\n if (idIndex >= 0) {\n pathState.id.splice(idIndex, 1);\n }\n delete pathState.__flags.pendingUnmount[id];\n }\n if (!pathState.multiple || pathState.fieldsCount <= 0) {\n pathStates.value.splice(idx, 1);\n unsetInitialValue(path);\n rebuildPathLookup();\n delete pathStateLookup.value[path];\n }\n }\n function destroyPath(path) {\n keysOf(pathStateLookup.value).forEach(key => {\n if (key.startsWith(path)) {\n delete pathStateLookup.value[key];\n }\n });\n pathStates.value = pathStates.value.filter(s => !s.path.startsWith(path));\n nextTick(() => {\n rebuildPathLookup();\n });\n }\n const formCtx = {\n name,\n formId,\n values: formValues,\n controlledValues,\n errorBag,\n errors,\n schema,\n submitCount,\n meta,\n isSubmitting,\n isValidating,\n fieldArrays,\n keepValuesOnUnmount,\n validateSchema: unref(schema) ? validateSchema : undefined,\n validate,\n setFieldError,\n validateField,\n setFieldValue,\n setValues,\n setErrors,\n setFieldTouched,\n setTouched,\n resetForm,\n resetField,\n handleSubmit,\n useFieldModel,\n defineInputBinds,\n defineComponentBinds: defineComponentBinds,\n defineField,\n stageInitialValue,\n unsetInitialValue,\n setFieldInitialValue,\n createPathState,\n getPathState: findPathState,\n unsetPathValue,\n removePathState,\n initialValues: initialValues,\n getAllPathStates: () => pathStates.value,\n destroyPath,\n isFieldTouched,\n isFieldDirty,\n isFieldValid,\n };\n /**\n * Sets a single field value\n */\n function setFieldValue(field, value, shouldValidate = true) {\n const clonedValue = klona(value);\n const path = typeof field === 'string' ? field : field.path;\n const pathState = findPathState(path);\n if (!pathState) {\n createPathState(path);\n }\n setInPath(formValues, path, clonedValue);\n if (shouldValidate) {\n validateField(path);\n }\n }\n function forceSetValues(fields, shouldValidate = true) {\n // clean up old values\n keysOf(formValues).forEach(key => {\n delete formValues[key];\n });\n // set up new values\n keysOf(fields).forEach(path => {\n setFieldValue(path, fields[path], false);\n });\n if (shouldValidate) {\n validate();\n }\n }\n /**\n * Sets multiple fields values\n */\n function setValues(fields, shouldValidate = true) {\n merge(formValues, fields);\n // regenerate the arrays when the form values change\n fieldArrays.forEach(f => f && f.reset());\n if (shouldValidate) {\n validate();\n }\n }\n function createModel(path, shouldValidate) {\n const pathState = findPathState(toValue(path)) || createPathState(path);\n return computed({\n get() {\n return pathState.value;\n },\n set(value) {\n var _a;\n const pathValue = toValue(path);\n setFieldValue(pathValue, value, (_a = toValue(shouldValidate)) !== null && _a !== void 0 ? _a : false);\n },\n });\n }\n /**\n * Sets the touched meta state on a field\n */\n function setFieldTouched(field, isTouched) {\n const pathState = findPathState(field);\n if (pathState) {\n pathState.touched = isTouched;\n }\n }\n function isFieldTouched(field) {\n const pathState = findPathState(field);\n if (pathState) {\n return pathState.touched;\n }\n // Find all nested paths and consider their touched state\n return pathStates.value.filter(s => s.path.startsWith(field)).some(s => s.touched);\n }\n function isFieldDirty(field) {\n const pathState = findPathState(field);\n if (pathState) {\n return pathState.dirty;\n }\n return pathStates.value.filter(s => s.path.startsWith(field)).some(s => s.dirty);\n }\n function isFieldValid(field) {\n const pathState = findPathState(field);\n if (pathState) {\n return pathState.valid;\n }\n return pathStates.value.filter(s => s.path.startsWith(field)).every(s => s.valid);\n }\n /**\n * Sets the touched meta state on multiple fields\n */\n function setTouched(fields) {\n if (typeof fields === 'boolean') {\n mutateAllPathState(state => {\n state.touched = fields;\n });\n return;\n }\n keysOf(fields).forEach(field => {\n setFieldTouched(field, !!fields[field]);\n });\n }\n function resetField(field, state) {\n var _a;\n const newValue = state && 'value' in state ? state.value : getFromPath(initialValues.value, field);\n const pathState = findPathState(field);\n if (pathState) {\n pathState.__flags.pendingReset = true;\n }\n setFieldInitialValue(field, klona(newValue), true);\n setFieldValue(field, newValue, false);\n setFieldTouched(field, (_a = state === null || state === void 0 ? void 0 : state.touched) !== null && _a !== void 0 ? _a : false);\n setFieldError(field, (state === null || state === void 0 ? void 0 : state.errors) || []);\n nextTick(() => {\n if (pathState) {\n pathState.__flags.pendingReset = false;\n }\n });\n }\n /**\n * Resets all fields\n */\n function resetForm(resetState, opts) {\n let newValues = klona((resetState === null || resetState === void 0 ? void 0 : resetState.values) ? resetState.values : originalInitialValues.value);\n newValues = (opts === null || opts === void 0 ? void 0 : opts.force) ? newValues : merge(originalInitialValues.value, newValues);\n newValues = isTypedSchema(schema) && isCallable(schema.cast) ? schema.cast(newValues) : newValues;\n setInitialValues(newValues, { force: opts === null || opts === void 0 ? void 0 : opts.force });\n mutateAllPathState(state => {\n var _a;\n state.__flags.pendingReset = true;\n state.validated = false;\n state.touched = ((_a = resetState === null || resetState === void 0 ? void 0 : resetState.touched) === null || _a === void 0 ? void 0 : _a[toValue(state.path)]) || false;\n setFieldValue(toValue(state.path), getFromPath(newValues, toValue(state.path)), false);\n setFieldError(toValue(state.path), undefined);\n });\n (opts === null || opts === void 0 ? void 0 : opts.force) ? forceSetValues(newValues, false) : setValues(newValues, false);\n setErrors((resetState === null || resetState === void 0 ? void 0 : resetState.errors) || {});\n submitCount.value = (resetState === null || resetState === void 0 ? void 0 : resetState.submitCount) || 0;\n nextTick(() => {\n validate({ mode: 'silent' });\n mutateAllPathState(state => {\n state.__flags.pendingReset = false;\n });\n });\n }\n async function validate(opts) {\n const mode = (opts === null || opts === void 0 ? void 0 : opts.mode) || 'force';\n if (mode === 'force') {\n mutateAllPathState(f => (f.validated = true));\n }\n if (formCtx.validateSchema) {\n return formCtx.validateSchema(mode);\n }\n isValidating.value = true;\n // No schema, each field is responsible to validate itself\n const validations = await Promise.all(pathStates.value.map(state => {\n if (!state.validate) {\n return Promise.resolve({\n key: toValue(state.path),\n valid: true,\n errors: [],\n value: undefined,\n });\n }\n return state.validate(opts).then(result => {\n return {\n key: toValue(state.path),\n valid: result.valid,\n errors: result.errors,\n value: result.value,\n };\n });\n }));\n isValidating.value = false;\n const results = {};\n const errors = {};\n const values = {};\n for (const validation of validations) {\n results[validation.key] = {\n valid: validation.valid,\n errors: validation.errors,\n };\n if (validation.value) {\n setInPath(values, validation.key, validation.value);\n }\n if (validation.errors.length) {\n errors[validation.key] = validation.errors[0];\n }\n }\n return {\n valid: validations.every(r => r.valid),\n results,\n errors,\n values,\n source: 'fields',\n };\n }\n async function validateField(path, opts) {\n var _a;\n const state = findPathState(path);\n if (state && (opts === null || opts === void 0 ? void 0 : opts.mode) !== 'silent') {\n state.validated = true;\n }\n if (schema) {\n const { results } = await validateSchema((opts === null || opts === void 0 ? void 0 : opts.mode) || 'validated-only');\n return results[path] || { errors: [], valid: true };\n }\n if (state === null || state === void 0 ? void 0 : state.validate) {\n return state.validate(opts);\n }\n const shouldWarn = !state && ((_a = opts === null || opts === void 0 ? void 0 : opts.warn) !== null && _a !== void 0 ? _a : true);\n if (shouldWarn) {\n if ((process.env.NODE_ENV !== 'production')) {\n warn$1(`field with path ${path} was not found`);\n }\n }\n return Promise.resolve({ errors: [], valid: true });\n }\n function unsetInitialValue(path) {\n unsetPath(initialValues.value, path);\n }\n /**\n * Sneaky function to set initial field values\n */\n function stageInitialValue(path, value, updateOriginal = false) {\n setFieldInitialValue(path, value);\n setInPath(formValues, path, value);\n if (updateOriginal && !(opts === null || opts === void 0 ? void 0 : opts.initialValues)) {\n setInPath(originalInitialValues.value, path, klona(value));\n }\n }\n function setFieldInitialValue(path, value, updateOriginal = false) {\n setInPath(initialValues.value, path, klona(value));\n if (updateOriginal) {\n setInPath(originalInitialValues.value, path, klona(value));\n }\n }\n async function _validateSchema() {\n const schemaValue = unref(schema);\n if (!schemaValue) {\n return { valid: true, results: {}, errors: {}, source: 'none' };\n }\n isValidating.value = true;\n const formResult = isYupValidator(schemaValue) || isTypedSchema(schemaValue)\n ? await validateTypedSchema(schemaValue, formValues)\n : await validateObjectSchema(schemaValue, formValues, {\n names: fieldNames.value,\n bailsMap: fieldBailsMap.value,\n });\n isValidating.value = false;\n return formResult;\n }\n const submitForm = handleSubmit((_, { evt }) => {\n if (isFormSubmitEvent(evt)) {\n evt.target.submit();\n }\n });\n // Trigger initial validation\n onMounted(() => {\n if (opts === null || opts === void 0 ? void 0 : opts.initialErrors) {\n setErrors(opts.initialErrors);\n }\n if (opts === null || opts === void 0 ? void 0 : opts.initialTouched) {\n setTouched(opts.initialTouched);\n }\n // if validate on mount was enabled\n if (opts === null || opts === void 0 ? void 0 : opts.validateOnMount) {\n validate();\n return;\n }\n // otherwise run initial silent validation through schema if available\n // the useField should skip their own silent validation if a yup schema is present\n if (formCtx.validateSchema) {\n formCtx.validateSchema('silent');\n }\n });\n if (isRef(schema)) {\n watch(schema, () => {\n var _a;\n (_a = formCtx.validateSchema) === null || _a === void 0 ? void 0 : _a.call(formCtx, 'validated-only');\n });\n }\n // Provide injections\n provide(FormContextKey, formCtx);\n if ((process.env.NODE_ENV !== 'production')) {\n registerFormWithDevTools(formCtx);\n watch(() => (Object.assign(Object.assign({ errors: errorBag.value }, meta.value), { values: formValues, isSubmitting: isSubmitting.value, isValidating: isValidating.value, submitCount: submitCount.value })), refreshInspector, {\n deep: true,\n });\n }\n function defineField(path, config) {\n const label = isCallable(config) ? undefined : config === null || config === void 0 ? void 0 : config.label;\n const pathState = (findPathState(toValue(path)) || createPathState(path, { label }));\n const evalConfig = () => (isCallable(config) ? config(omit(pathState, PRIVATE_PATH_STATE_KEYS)) : config || {});\n function onBlur() {\n var _a;\n pathState.touched = true;\n const validateOnBlur = (_a = evalConfig().validateOnBlur) !== null && _a !== void 0 ? _a : getConfig().validateOnBlur;\n if (validateOnBlur) {\n validateField(toValue(pathState.path));\n }\n }\n function onInput() {\n var _a;\n const validateOnInput = (_a = evalConfig().validateOnInput) !== null && _a !== void 0 ? _a : getConfig().validateOnInput;\n if (validateOnInput) {\n nextTick(() => {\n validateField(toValue(pathState.path));\n });\n }\n }\n function onChange() {\n var _a;\n const validateOnChange = (_a = evalConfig().validateOnChange) !== null && _a !== void 0 ? _a : getConfig().validateOnChange;\n if (validateOnChange) {\n nextTick(() => {\n validateField(toValue(pathState.path));\n });\n }\n }\n const props = computed(() => {\n const base = {\n onChange,\n onInput,\n onBlur,\n };\n if (isCallable(config)) {\n return Object.assign(Object.assign({}, base), (config(omit(pathState, PRIVATE_PATH_STATE_KEYS)).props || {}));\n }\n if (config === null || config === void 0 ? void 0 : config.props) {\n return Object.assign(Object.assign({}, base), config.props(omit(pathState, PRIVATE_PATH_STATE_KEYS)));\n }\n return base;\n });\n const model = createModel(path, () => { var _a, _b, _c; return (_c = (_a = evalConfig().validateOnModelUpdate) !== null && _a !== void 0 ? _a : (_b = getConfig()) === null || _b === void 0 ? void 0 : _b.validateOnModelUpdate) !== null && _c !== void 0 ? _c : true; });\n return [model, props];\n }\n function useFieldModel(pathOrPaths) {\n if (!Array.isArray(pathOrPaths)) {\n return createModel(pathOrPaths);\n }\n return pathOrPaths.map(p => createModel(p, true));\n }\n /**\n * @deprecated use defineField instead\n */\n function defineInputBinds(path, config) {\n const [model, props] = defineField(path, config);\n function onBlur() {\n props.value.onBlur();\n }\n function onInput(e) {\n const value = normalizeEventValue(e);\n setFieldValue(toValue(path), value, false);\n props.value.onInput();\n }\n function onChange(e) {\n const value = normalizeEventValue(e);\n setFieldValue(toValue(path), value, false);\n props.value.onChange();\n }\n return computed(() => {\n return Object.assign(Object.assign({}, props.value), { onBlur,\n onInput,\n onChange, value: model.value });\n });\n }\n /**\n * @deprecated use defineField instead\n */\n function defineComponentBinds(path, config) {\n const [model, props] = defineField(path, config);\n const pathState = findPathState(toValue(path));\n function onUpdateModelValue(value) {\n model.value = value;\n }\n return computed(() => {\n const conf = isCallable(config) ? config(omit(pathState, PRIVATE_PATH_STATE_KEYS)) : config || {};\n return Object.assign({ [conf.model || 'modelValue']: model.value, [`onUpdate:${conf.model || 'modelValue'}`]: onUpdateModelValue }, props.value);\n });\n }\n const ctx = Object.assign(Object.assign({}, formCtx), { values: readonly(formValues), handleReset: () => resetForm(), submitForm });\n provide(PublicFormContextKey, ctx);\n return ctx;\n}\n/**\n * Manages form meta aggregation\n */\nfunction useFormMeta(pathsState, currentValues, initialValues, errors) {\n const MERGE_STRATEGIES = {\n touched: 'some',\n pending: 'some',\n valid: 'every',\n };\n const isDirty = computed(() => {\n return !isEqual(currentValues, unref(initialValues));\n });\n function calculateFlags() {\n const states = pathsState.value;\n return keysOf(MERGE_STRATEGIES).reduce((acc, flag) => {\n const mergeMethod = MERGE_STRATEGIES[flag];\n acc[flag] = states[mergeMethod](s => s[flag]);\n return acc;\n }, {});\n }\n const flags = reactive(calculateFlags());\n watchEffect(() => {\n const value = calculateFlags();\n flags.touched = value.touched;\n flags.valid = value.valid;\n flags.pending = value.pending;\n });\n return computed(() => {\n return Object.assign(Object.assign({ initialValues: unref(initialValues) }, flags), { valid: flags.valid && !keysOf(errors.value).length, dirty: isDirty.value });\n });\n}\n/**\n * Manages the initial values prop\n */\nfunction useFormInitialValues(pathsState, formValues, opts) {\n const values = resolveInitialValues(opts);\n // these are the mutable initial values as the fields are mounted/unmounted\n const initialValues = ref(values);\n // these are the original initial value as provided by the user initially, they don't keep track of conditional fields\n // this is important because some conditional fields will overwrite the initial values for other fields who had the same name\n // like array fields, any push/insert operation will overwrite the initial values because they \"create new fields\"\n // so these are the values that the reset function should use\n // these only change when the user explicitly changes the initial values or when the user resets them with new values.\n const originalInitialValues = ref(klona(values));\n function setInitialValues(values, opts) {\n if (opts === null || opts === void 0 ? void 0 : opts.force) {\n initialValues.value = klona(values);\n originalInitialValues.value = klona(values);\n }\n else {\n initialValues.value = merge(klona(initialValues.value) || {}, klona(values));\n originalInitialValues.value = merge(klona(originalInitialValues.value) || {}, klona(values));\n }\n if (!(opts === null || opts === void 0 ? void 0 : opts.updateFields)) {\n return;\n }\n // update the pristine non-touched fields\n // those are excluded because it's unlikely you want to change the form values using initial values\n // we mostly watch them for API population or newly inserted fields\n // if the user API is taking too much time before user interaction they should consider disabling or hiding their inputs until the values are ready\n pathsState.value.forEach(state => {\n const wasTouched = state.touched;\n if (wasTouched) {\n return;\n }\n const newValue = getFromPath(initialValues.value, toValue(state.path));\n setInPath(formValues, toValue(state.path), klona(newValue));\n });\n }\n return {\n initialValues,\n originalInitialValues,\n setInitialValues,\n };\n}\nfunction mergeValidationResults(a, b) {\n if (!b) {\n return a;\n }\n return {\n valid: a.valid && b.valid,\n errors: [...a.errors, ...b.errors],\n };\n}\nfunction useFormContext() {\n return inject(PublicFormContextKey);\n}\n\nconst FormImpl = /** #__PURE__ */ defineComponent({\n name: 'Form',\n inheritAttrs: false,\n props: {\n as: {\n type: null,\n default: 'form',\n },\n validationSchema: {\n type: Object,\n default: undefined,\n },\n initialValues: {\n type: Object,\n default: undefined,\n },\n initialErrors: {\n type: Object,\n default: undefined,\n },\n initialTouched: {\n type: Object,\n default: undefined,\n },\n validateOnMount: {\n type: Boolean,\n default: false,\n },\n onSubmit: {\n type: Function,\n default: undefined,\n },\n onInvalidSubmit: {\n type: Function,\n default: undefined,\n },\n keepValues: {\n type: Boolean,\n default: false,\n },\n name: {\n type: String,\n default: 'Form',\n },\n },\n setup(props, ctx) {\n const validationSchema = toRef(props, 'validationSchema');\n const keepValues = toRef(props, 'keepValues');\n const { errors, errorBag, values, meta, isSubmitting, isValidating, submitCount, controlledValues, validate, validateField, handleReset, resetForm, handleSubmit, setErrors, setFieldError, setFieldValue, setValues, setFieldTouched, setTouched, resetField, } = useForm({\n validationSchema: validationSchema.value ? validationSchema : undefined,\n initialValues: props.initialValues,\n initialErrors: props.initialErrors,\n initialTouched: props.initialTouched,\n validateOnMount: props.validateOnMount,\n keepValuesOnUnmount: keepValues,\n name: props.name,\n });\n const submitForm = handleSubmit((_, { evt }) => {\n if (isFormSubmitEvent(evt)) {\n evt.target.submit();\n }\n }, props.onInvalidSubmit);\n const onSubmit = props.onSubmit ? handleSubmit(props.onSubmit, props.onInvalidSubmit) : submitForm;\n function handleFormReset(e) {\n if (isEvent(e)) {\n // Prevent default form reset behavior\n e.preventDefault();\n }\n handleReset();\n if (typeof ctx.attrs.onReset === 'function') {\n ctx.attrs.onReset();\n }\n }\n function handleScopedSlotSubmit(evt, onSubmit) {\n const onSuccess = typeof evt === 'function' && !onSubmit ? evt : onSubmit;\n return handleSubmit(onSuccess, props.onInvalidSubmit)(evt);\n }\n function getValues() {\n return klona(values);\n }\n function getMeta() {\n return klona(meta.value);\n }\n function getErrors() {\n return klona(errors.value);\n }\n function slotProps() {\n return {\n meta: meta.value,\n errors: errors.value,\n errorBag: errorBag.value,\n values,\n isSubmitting: isSubmitting.value,\n isValidating: isValidating.value,\n submitCount: submitCount.value,\n controlledValues: controlledValues.value,\n validate,\n validateField,\n handleSubmit: handleScopedSlotSubmit,\n handleReset,\n submitForm,\n setErrors,\n setFieldError,\n setFieldValue,\n setValues,\n setFieldTouched,\n setTouched,\n resetForm,\n resetField,\n getValues,\n getMeta,\n getErrors,\n };\n }\n // expose these functions and methods as part of public API\n ctx.expose({\n setFieldError,\n setErrors,\n setFieldValue,\n setValues,\n setFieldTouched,\n setTouched,\n resetForm,\n validate,\n validateField,\n resetField,\n getValues,\n getMeta,\n getErrors,\n values,\n meta,\n errors,\n });\n return function renderForm() {\n // avoid resolving the form component as itself\n const tag = props.as === 'form' ? props.as : !props.as ? null : resolveDynamicComponent(props.as);\n const children = normalizeChildren(tag, ctx, slotProps);\n if (!tag) {\n return children;\n }\n // Attributes to add on a native `form` tag\n const formAttrs = tag === 'form'\n ? {\n // Disables native validation as vee-validate will handle it.\n novalidate: true,\n }\n : {};\n return h(tag, Object.assign(Object.assign(Object.assign({}, formAttrs), ctx.attrs), { onSubmit, onReset: handleFormReset }), children);\n };\n },\n});\nconst Form = FormImpl;\n\nfunction useFieldArray(arrayPath) {\n const form = injectWithSelf(FormContextKey, undefined);\n const fields = ref([]);\n const noOp = () => { };\n const noOpApi = {\n fields,\n remove: noOp,\n push: noOp,\n swap: noOp,\n insert: noOp,\n update: noOp,\n replace: noOp,\n prepend: noOp,\n move: noOp,\n };\n if (!form) {\n if ((process.env.NODE_ENV !== 'production')) {\n warn('FieldArray requires being a child of `
` or `useForm` being called before it. Array fields may not work correctly');\n }\n return noOpApi;\n }\n if (!unref(arrayPath)) {\n if ((process.env.NODE_ENV !== 'production')) {\n warn('FieldArray requires a field path to be provided, did you forget to pass the `name` prop?');\n }\n return noOpApi;\n }\n const alreadyExists = form.fieldArrays.find(a => unref(a.path) === unref(arrayPath));\n if (alreadyExists) {\n return alreadyExists;\n }\n let entryCounter = 0;\n function getCurrentValues() {\n return getFromPath(form === null || form === void 0 ? void 0 : form.values, toValue(arrayPath), []) || [];\n }\n function initFields() {\n const currentValues = getCurrentValues();\n if (!Array.isArray(currentValues)) {\n return;\n }\n fields.value = currentValues.map((v, idx) => createEntry(v, idx, fields.value));\n updateEntryFlags();\n }\n initFields();\n function updateEntryFlags() {\n const fieldsLength = fields.value.length;\n for (let i = 0; i < fieldsLength; i++) {\n const entry = fields.value[i];\n entry.isFirst = i === 0;\n entry.isLast = i === fieldsLength - 1;\n }\n }\n function createEntry(value, idx, currentFields) {\n // Skips the work by returning the current entry if it already exists\n // This should make the `key` prop stable and doesn't cause more re-renders than needed\n // The value is computed and should update anyways\n if (currentFields && !isNullOrUndefined(idx) && currentFields[idx]) {\n return currentFields[idx];\n }\n const key = entryCounter++;\n const entry = {\n key,\n value: computedDeep({\n get() {\n const currentValues = getFromPath(form === null || form === void 0 ? void 0 : form.values, toValue(arrayPath), []) || [];\n const idx = fields.value.findIndex(e => e.key === key);\n return idx === -1 ? value : currentValues[idx];\n },\n set(value) {\n const idx = fields.value.findIndex(e => e.key === key);\n if (idx === -1) {\n if ((process.env.NODE_ENV !== 'production')) {\n warn(`Attempting to update a non-existent array item`);\n }\n return;\n }\n update(idx, value);\n },\n }), // will be auto unwrapped\n isFirst: false,\n isLast: false,\n };\n return entry;\n }\n function afterMutation() {\n updateEntryFlags();\n // Should trigger a silent validation since a field may not do that #4096\n form === null || form === void 0 ? void 0 : form.validate({ mode: 'silent' });\n }\n function remove(idx) {\n const pathName = toValue(arrayPath);\n const pathValue = getFromPath(form === null || form === void 0 ? void 0 : form.values, pathName);\n if (!pathValue || !Array.isArray(pathValue)) {\n return;\n }\n const newValue = [...pathValue];\n newValue.splice(idx, 1);\n const fieldPath = pathName + `[${idx}]`;\n form.destroyPath(fieldPath);\n form.unsetInitialValue(fieldPath);\n setInPath(form.values, pathName, newValue);\n fields.value.splice(idx, 1);\n afterMutation();\n }\n function push(initialValue) {\n const value = klona(initialValue);\n const pathName = toValue(arrayPath);\n const pathValue = getFromPath(form === null || form === void 0 ? void 0 : form.values, pathName);\n const normalizedPathValue = isNullOrUndefined(pathValue) ? [] : pathValue;\n if (!Array.isArray(normalizedPathValue)) {\n return;\n }\n const newValue = [...normalizedPathValue];\n newValue.push(value);\n form.stageInitialValue(pathName + `[${newValue.length - 1}]`, value);\n setInPath(form.values, pathName, newValue);\n fields.value.push(createEntry(value));\n afterMutation();\n }\n function swap(indexA, indexB) {\n const pathName = toValue(arrayPath);\n const pathValue = getFromPath(form === null || form === void 0 ? void 0 : form.values, pathName);\n if (!Array.isArray(pathValue) || !(indexA in pathValue) || !(indexB in pathValue)) {\n return;\n }\n const newValue = [...pathValue];\n const newFields = [...fields.value];\n // the old switcheroo\n const temp = newValue[indexA];\n newValue[indexA] = newValue[indexB];\n newValue[indexB] = temp;\n const tempEntry = newFields[indexA];\n newFields[indexA] = newFields[indexB];\n newFields[indexB] = tempEntry;\n setInPath(form.values, pathName, newValue);\n fields.value = newFields;\n updateEntryFlags();\n }\n function insert(idx, initialValue) {\n const value = klona(initialValue);\n const pathName = toValue(arrayPath);\n const pathValue = getFromPath(form === null || form === void 0 ? void 0 : form.values, pathName);\n if (!Array.isArray(pathValue) || pathValue.length < idx) {\n return;\n }\n const newValue = [...pathValue];\n const newFields = [...fields.value];\n newValue.splice(idx, 0, value);\n newFields.splice(idx, 0, createEntry(value));\n setInPath(form.values, pathName, newValue);\n fields.value = newFields;\n afterMutation();\n }\n function replace(arr) {\n const pathName = toValue(arrayPath);\n form.stageInitialValue(pathName, arr);\n setInPath(form.values, pathName, arr);\n initFields();\n afterMutation();\n }\n function update(idx, value) {\n const pathName = toValue(arrayPath);\n const pathValue = getFromPath(form === null || form === void 0 ? void 0 : form.values, pathName);\n if (!Array.isArray(pathValue) || pathValue.length - 1 < idx) {\n return;\n }\n setInPath(form.values, `${pathName}[${idx}]`, value);\n form === null || form === void 0 ? void 0 : form.validate({ mode: 'validated-only' });\n }\n function prepend(initialValue) {\n const value = klona(initialValue);\n const pathName = toValue(arrayPath);\n const pathValue = getFromPath(form === null || form === void 0 ? void 0 : form.values, pathName);\n const normalizedPathValue = isNullOrUndefined(pathValue) ? [] : pathValue;\n if (!Array.isArray(normalizedPathValue)) {\n return;\n }\n const newValue = [value, ...normalizedPathValue];\n setInPath(form.values, pathName, newValue);\n form.stageInitialValue(pathName + `[0]`, value);\n fields.value.unshift(createEntry(value));\n afterMutation();\n }\n function move(oldIdx, newIdx) {\n const pathName = toValue(arrayPath);\n const pathValue = getFromPath(form === null || form === void 0 ? void 0 : form.values, pathName);\n const newValue = isNullOrUndefined(pathValue) ? [] : [...pathValue];\n if (!Array.isArray(pathValue) || !(oldIdx in pathValue) || !(newIdx in pathValue)) {\n return;\n }\n const newFields = [...fields.value];\n const movedItem = newFields[oldIdx];\n newFields.splice(oldIdx, 1);\n newFields.splice(newIdx, 0, movedItem);\n const movedValue = newValue[oldIdx];\n newValue.splice(oldIdx, 1);\n newValue.splice(newIdx, 0, movedValue);\n setInPath(form.values, pathName, newValue);\n fields.value = newFields;\n afterMutation();\n }\n const fieldArrayCtx = {\n fields,\n remove,\n push,\n swap,\n insert,\n update,\n replace,\n prepend,\n move,\n };\n form.fieldArrays.push(Object.assign({ path: arrayPath, reset: initFields }, fieldArrayCtx));\n onBeforeUnmount(() => {\n const idx = form.fieldArrays.findIndex(i => toValue(i.path) === toValue(arrayPath));\n if (idx >= 0) {\n form.fieldArrays.splice(idx, 1);\n }\n });\n // Makes sure to sync the form values with the array value if they go out of sync\n // #4153\n watch(getCurrentValues, formValues => {\n const fieldsValues = fields.value.map(f => f.value);\n // If form values are not the same as the current values then something overrode them.\n if (!isEqual(formValues, fieldsValues)) {\n initFields();\n }\n });\n return fieldArrayCtx;\n}\n\nconst FieldArrayImpl = /** #__PURE__ */ defineComponent({\n name: 'FieldArray',\n inheritAttrs: false,\n props: {\n name: {\n type: String,\n required: true,\n },\n },\n setup(props, ctx) {\n const { push, remove, swap, insert, replace, update, prepend, move, fields } = useFieldArray(() => props.name);\n function slotProps() {\n return {\n fields: fields.value,\n push,\n remove,\n swap,\n insert,\n update,\n replace,\n prepend,\n move,\n };\n }\n ctx.expose({\n push,\n remove,\n swap,\n insert,\n update,\n replace,\n prepend,\n move,\n });\n return () => {\n const children = normalizeChildren(undefined, ctx, slotProps);\n return children;\n };\n },\n});\nconst FieldArray = FieldArrayImpl;\n\nconst ErrorMessageImpl = /** #__PURE__ */ defineComponent({\n name: 'ErrorMessage',\n props: {\n as: {\n type: String,\n default: undefined,\n },\n name: {\n type: String,\n required: true,\n },\n },\n setup(props, ctx) {\n const form = inject(FormContextKey, undefined);\n const message = computed(() => {\n return form === null || form === void 0 ? void 0 : form.errors.value[props.name];\n });\n function slotProps() {\n return {\n message: message.value,\n };\n }\n return () => {\n // Renders nothing if there are no messages\n if (!message.value) {\n return undefined;\n }\n const tag = (props.as ? resolveDynamicComponent(props.as) : props.as);\n const children = normalizeChildren(tag, ctx, slotProps);\n const attrs = Object.assign({ role: 'alert' }, ctx.attrs);\n // If no tag was specified and there are children\n // render the slot as is without wrapping it\n if (!tag && (Array.isArray(children) || !children) && (children === null || children === void 0 ? void 0 : children.length)) {\n return children;\n }\n // If no children in slot\n // render whatever specified and fallback to a with the message in it's contents\n if ((Array.isArray(children) || !children) && !(children === null || children === void 0 ? void 0 : children.length)) {\n return h(tag || 'span', attrs, message.value);\n }\n return h(tag, attrs, children);\n };\n },\n});\nconst ErrorMessage = ErrorMessageImpl;\n\nfunction useResetForm() {\n const form = injectWithSelf(FormContextKey);\n if (!form) {\n if ((process.env.NODE_ENV !== 'production')) {\n warn('No vee-validate or `useForm` was detected in the component tree');\n }\n }\n return function resetForm(state, opts) {\n if (!form) {\n return;\n }\n return form.resetForm(state, opts);\n };\n}\n\n/**\n * If a field is dirty or not\n */\nfunction useIsFieldDirty(path) {\n const fieldOrPath = resolveFieldOrPathState(path);\n return computed(() => {\n var _a, _b;\n if (!fieldOrPath) {\n return false;\n }\n return (_b = ('meta' in fieldOrPath ? fieldOrPath.meta.dirty : (_a = fieldOrPath === null || fieldOrPath === void 0 ? void 0 : fieldOrPath.value) === null || _a === void 0 ? void 0 : _a.dirty)) !== null && _b !== void 0 ? _b : false;\n });\n}\n\n/**\n * If a field is touched or not\n */\nfunction useIsFieldTouched(path) {\n const fieldOrPath = resolveFieldOrPathState(path);\n return computed(() => {\n var _a, _b;\n if (!fieldOrPath) {\n return false;\n }\n return (_b = ('meta' in fieldOrPath ? fieldOrPath.meta.touched : (_a = fieldOrPath === null || fieldOrPath === void 0 ? void 0 : fieldOrPath.value) === null || _a === void 0 ? void 0 : _a.touched)) !== null && _b !== void 0 ? _b : false;\n });\n}\n\n/**\n * If a field is validated and is valid\n */\nfunction useIsFieldValid(path) {\n const fieldOrPath = resolveFieldOrPathState(path);\n return computed(() => {\n var _a, _b;\n if (!fieldOrPath) {\n return false;\n }\n return (_b = ('meta' in fieldOrPath ? fieldOrPath.meta.valid : (_a = fieldOrPath === null || fieldOrPath === void 0 ? void 0 : fieldOrPath.value) === null || _a === void 0 ? void 0 : _a.valid)) !== null && _b !== void 0 ? _b : false;\n });\n}\n\n/**\n * If the form is submitting or not\n */\nfunction useIsSubmitting() {\n const form = injectWithSelf(FormContextKey);\n if (!form) {\n if ((process.env.NODE_ENV !== 'production')) {\n warn('No vee-validate or `useForm` was detected in the component tree');\n }\n }\n return computed(() => {\n var _a;\n return (_a = form === null || form === void 0 ? void 0 : form.isSubmitting.value) !== null && _a !== void 0 ? _a : false;\n });\n}\n\n/**\n * If the form is validating or not\n */\nfunction useIsValidating() {\n const form = injectWithSelf(FormContextKey);\n if (!form) {\n if ((process.env.NODE_ENV !== 'production')) {\n warn('No vee-validate or `useForm` was detected in the component tree');\n }\n }\n return computed(() => {\n var _a;\n return (_a = form === null || form === void 0 ? void 0 : form.isValidating.value) !== null && _a !== void 0 ? _a : false;\n });\n}\n\n/**\n * Validates a single field\n */\nfunction useValidateField(path) {\n const form = injectWithSelf(FormContextKey);\n const field = path ? undefined : inject(FieldContextKey);\n return function validateField() {\n if (field) {\n return field.validate();\n }\n if (form && path) {\n return form === null || form === void 0 ? void 0 : form.validateField(toValue(path));\n }\n if ((process.env.NODE_ENV !== 'production')) {\n warn(`field with name ${unref(path)} was not found`);\n }\n return Promise.resolve({\n errors: [],\n valid: true,\n });\n };\n}\n\n/**\n * If the form is dirty or not\n */\nfunction useIsFormDirty() {\n const form = injectWithSelf(FormContextKey);\n if (!form) {\n if ((process.env.NODE_ENV !== 'production')) {\n warn('No vee-validate or `useForm` was detected in the component tree');\n }\n }\n return computed(() => {\n var _a;\n return (_a = form === null || form === void 0 ? void 0 : form.meta.value.dirty) !== null && _a !== void 0 ? _a : false;\n });\n}\n\n/**\n * If the form is touched or not\n */\nfunction useIsFormTouched() {\n const form = injectWithSelf(FormContextKey);\n if (!form) {\n if ((process.env.NODE_ENV !== 'production')) {\n warn('No vee-validate or `useForm` was detected in the component tree');\n }\n }\n return computed(() => {\n var _a;\n return (_a = form === null || form === void 0 ? void 0 : form.meta.value.touched) !== null && _a !== void 0 ? _a : false;\n });\n}\n\n/**\n * If the form has been validated and is valid\n */\nfunction useIsFormValid() {\n const form = injectWithSelf(FormContextKey);\n if (!form) {\n if ((process.env.NODE_ENV !== 'production')) {\n warn('No vee-validate or `useForm` was detected in the component tree');\n }\n }\n return computed(() => {\n var _a;\n return (_a = form === null || form === void 0 ? void 0 : form.meta.value.valid) !== null && _a !== void 0 ? _a : false;\n });\n}\n\n/**\n * Validate multiple fields\n */\nfunction useValidateForm() {\n const form = injectWithSelf(FormContextKey);\n if (!form) {\n if ((process.env.NODE_ENV !== 'production')) {\n warn('No vee-validate or `useForm` was detected in the component tree');\n }\n }\n return function validateField() {\n if (!form) {\n return Promise.resolve({ results: {}, errors: {}, valid: true, source: 'none' });\n }\n return form.validate();\n };\n}\n\n/**\n * The number of form's submission count\n */\nfunction useSubmitCount() {\n const form = injectWithSelf(FormContextKey);\n if (!form) {\n if ((process.env.NODE_ENV !== 'production')) {\n warn('No vee-validate or `useForm` was detected in the component tree');\n }\n }\n return computed(() => {\n var _a;\n return (_a = form === null || form === void 0 ? void 0 : form.submitCount.value) !== null && _a !== void 0 ? _a : 0;\n });\n}\n\n/**\n * Gives access to a field's current value\n */\nfunction useFieldValue(path) {\n const form = injectWithSelf(FormContextKey);\n // We don't want to use self injected context as it doesn't make sense\n const field = path ? undefined : inject(FieldContextKey);\n return computed(() => {\n if (path) {\n return getFromPath(form === null || form === void 0 ? void 0 : form.values, toValue(path));\n }\n return toValue(field === null || field === void 0 ? void 0 : field.value);\n });\n}\n\n/**\n * Gives access to a form's values\n */\nfunction useFormValues() {\n const form = injectWithSelf(FormContextKey);\n if (!form) {\n if ((process.env.NODE_ENV !== 'production')) {\n warn('No vee-validate or `useForm` was detected in the component tree');\n }\n }\n return computed(() => {\n return (form === null || form === void 0 ? void 0 : form.values) || {};\n });\n}\n\n/**\n * Gives access to all form errors\n */\nfunction useFormErrors() {\n const form = injectWithSelf(FormContextKey);\n if (!form) {\n if ((process.env.NODE_ENV !== 'production')) {\n warn('No vee-validate or `useForm` was detected in the component tree');\n }\n }\n return computed(() => {\n return ((form === null || form === void 0 ? void 0 : form.errors.value) || {});\n });\n}\n\n/**\n * Gives access to a single field error\n */\nfunction useFieldError(path) {\n const form = injectWithSelf(FormContextKey);\n // We don't want to use self injected context as it doesn't make sense\n const field = path ? undefined : inject(FieldContextKey);\n return computed(() => {\n if (path) {\n return form === null || form === void 0 ? void 0 : form.errors.value[toValue(path)];\n }\n return field === null || field === void 0 ? void 0 : field.errorMessage.value;\n });\n}\n\nfunction useSubmitForm(cb) {\n const form = injectWithSelf(FormContextKey);\n if (!form) {\n if ((process.env.NODE_ENV !== 'production')) {\n warn('No vee-validate or `useForm` was detected in the component tree');\n }\n }\n const onSubmit = form ? form.handleSubmit(cb) : undefined;\n return function submitForm(e) {\n if (!onSubmit) {\n return;\n }\n return onSubmit(e);\n };\n}\n\n/**\n * Sets a field's error message\n */\nfunction useSetFieldError(path) {\n const form = injectWithSelf(FormContextKey);\n // We don't want to use self injected context as it doesn't make sense\n const field = path ? undefined : inject(FieldContextKey);\n return function setFieldError(message) {\n if (path && form) {\n form.setFieldError(toValue(path), message);\n return;\n }\n if (field) {\n field.setErrors(message || []);\n return;\n }\n if ((process.env.NODE_ENV !== 'production')) {\n warn(`Could not set error message since there is no form context or a field named \"${toValue(path)}\", did you forget to call \"useField\" or \"useForm\"?`);\n }\n };\n}\n\n/**\n * Sets a field's touched meta state\n */\nfunction useSetFieldTouched(path) {\n const form = injectWithSelf(FormContextKey);\n // We don't want to use self injected context as it doesn't make sense\n const field = path ? undefined : inject(FieldContextKey);\n return function setFieldTouched(touched) {\n if (path && form) {\n form.setFieldTouched(toValue(path), touched);\n return;\n }\n if (field) {\n field.setTouched(touched);\n return;\n }\n if ((process.env.NODE_ENV !== 'production')) {\n warn(`Could not set touched state since there is no form context or a field named \"${toValue(path)}\", did you forget to call \"useField\" or \"useForm\"?`);\n }\n };\n}\n\n/**\n * Sets a field's value\n */\nfunction useSetFieldValue(path) {\n const form = injectWithSelf(FormContextKey);\n // We don't want to use self injected context as it doesn't make sense\n const field = path ? undefined : inject(FieldContextKey);\n return function setFieldValue(value, shouldValidate = true) {\n if (path && form) {\n form.setFieldValue(toValue(path), value, shouldValidate);\n return;\n }\n if (field) {\n field.setValue(value, shouldValidate);\n return;\n }\n if ((process.env.NODE_ENV !== 'production')) {\n warn(`Could not set value since there is no form context or a field named \"${toValue(path)}\", did you forget to call \"useField\" or \"useForm\"?`);\n }\n };\n}\n\n/**\n * Sets multiple fields errors\n */\nfunction useSetFormErrors() {\n const form = injectWithSelf(FormContextKey);\n function setFormErrors(fields) {\n if (form) {\n form.setErrors(fields);\n return;\n }\n if ((process.env.NODE_ENV !== 'production')) {\n warn(`Could not set errors because a form was not detected, did you forget to use \"useForm\" in a parent component?`);\n }\n }\n return setFormErrors;\n}\n\n/**\n * Sets multiple fields touched or all fields in the form\n */\nfunction useSetFormTouched() {\n const form = injectWithSelf(FormContextKey);\n function setFormTouched(fields) {\n if (form) {\n form.setTouched(fields);\n return;\n }\n if ((process.env.NODE_ENV !== 'production')) {\n warn(`Could not set touched state because a form was not detected, did you forget to use \"useForm\" in a parent component?`);\n }\n }\n return setFormTouched;\n}\n\n/**\n * Sets multiple fields values\n */\nfunction useSetFormValues() {\n const form = injectWithSelf(FormContextKey);\n function setFormValues(fields, shouldValidate = true) {\n if (form) {\n form.setValues(fields, shouldValidate);\n return;\n }\n if ((process.env.NODE_ENV !== 'production')) {\n warn(`Could not set form values because a form was not detected, did you forget to use \"useForm\" in a parent component?`);\n }\n }\n return setFormValues;\n}\n\nexport { ErrorMessage, Field, FieldArray, FieldContextKey, Form, FormContextKey, IS_ABSENT, PublicFormContextKey, cleanupNonNestedPath, configure, defineRule, isNotNestedPath, normalizeRules, useField, useFieldArray, useFieldError, useFieldValue, useForm, useFormContext, useFormErrors, useFormValues, useIsFieldDirty, useIsFieldTouched, useIsFieldValid, useIsFormDirty, useIsFormTouched, useIsFormValid, useIsSubmitting, useIsValidating, useResetForm, useSetFieldError, useSetFieldTouched, useSetFieldValue, useSetFormErrors, useSetFormTouched, useSetFormValues, useSubmitCount, useSubmitForm, useValidateField, useValidateForm, validate, validateObjectSchema as validateObject };\n","/**\n * vee-validate v4.15.0\n * (c) 2024 Abdelrahman Awad\n * @license MIT\n */\nimport 'vue';\nimport { validate, validateObject } from 'vee-validate';\n\n/* eslint-disable no-misleading-character-class */\n/**\n * Some Alpha Regex helpers.\n * https://github.com/chriso/validator.js/blob/master/src/lib/alpha.js\n */\nconst alpha = {\n en: /^[A-Z]*$/i,\n cs: /^[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]*$/i,\n da: /^[A-ZÆØÅ]*$/i,\n de: /^[A-ZÄÖÜß]*$/i,\n es: /^[A-ZÁÉÍÑÓÚÜ]*$/i,\n fr: /^[A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]*$/i,\n it: /^[A-Z\\xC0-\\xFF]*$/i,\n lt: /^[A-ZĄČĘĖĮŠŲŪŽ]*$/i,\n nl: /^[A-ZÉËÏÓÖÜ]*$/i,\n hu: /^[A-ZÁÉÍÓÖŐÚÜŰ]*$/i,\n pl: /^[A-ZĄĆĘŚŁŃÓŻŹ]*$/i,\n pt: /^[A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ]*$/i,\n ru: /^[А-ЯЁ]*$/i,\n kz: /^[А-ЯЁ\\u04D8\\u04B0\\u0406\\u04A2\\u0492\\u04AE\\u049A\\u04E8\\u04BA]*$/i,\n sk: /^[A-ZÁÄČĎÉÍĹĽŇÓŔŠŤÚÝŽ]*$/i,\n sr: /^[A-ZČĆŽŠĐ]*$/i,\n sv: /^[A-ZÅÄÖ]*$/i,\n tr: /^[A-ZÇĞİıÖŞÜ]*$/i,\n uk: /^[А-ЩЬЮЯЄІЇҐ]*$/i,\n ar: /^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]*$/,\n az: /^[A-ZÇƏĞİıÖŞÜ]*$/i,\n ug: /^[A-Zچۋېرتيۇڭوپھسداەىقكلزشغۈبنمژفگخجۆئ]*$/i,\n};\nconst alphaSpaces = {\n en: /^[A-Z\\s]*$/i,\n cs: /^[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ\\s]*$/i,\n da: /^[A-ZÆØÅ\\s]*$/i,\n de: /^[A-ZÄÖÜß\\s]*$/i,\n es: /^[A-ZÁÉÍÑÓÚÜ\\s]*$/i,\n fr: /^[A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ\\s]*$/i,\n it: /^[A-Z\\xC0-\\xFF\\s]*$/i,\n lt: /^[A-ZĄČĘĖĮŠŲŪŽ\\s]*$/i,\n nl: /^[A-ZÉËÏÓÖÜ\\s]*$/i,\n hu: /^[A-ZÁÉÍÓÖŐÚÜŰ\\s]*$/i,\n pl: /^[A-ZĄĆĘŚŁŃÓŻŹ\\s]*$/i,\n pt: /^[A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ\\s]*$/i,\n ru: /^[А-ЯЁ\\s]*$/i,\n kz: /^[А-ЯЁ\\u04D8\\u04B0\\u0406\\u04A2\\u0492\\u04AE\\u049A\\u04E8\\u04BA\\s]*$/i,\n sk: /^[A-ZÁÄČĎÉÍĹĽŇÓŔŠŤÚÝŽ\\s]*$/i,\n sr: /^[A-ZČĆŽŠĐ\\s]*$/i,\n sv: /^[A-ZÅÄÖ\\s]*$/i,\n tr: /^[A-ZÇĞİıÖŞÜ\\s]*$/i,\n uk: /^[А-ЩЬЮЯЄІЇҐ\\s]*$/i,\n ar: /^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ\\s]*$/,\n az: /^[A-ZÇƏĞİıÖŞÜ\\s]*$/i,\n ug: /^[A-Zچۋېرتيۇڭوپھسداەىقكلزشغۈبنمژفگخجۆئ\\s]*$/i,\n};\nconst alphanumeric = {\n en: /^[0-9A-Z]*$/i,\n cs: /^[0-9A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]*$/i,\n da: /^[0-9A-ZÆØÅ]$/i,\n de: /^[0-9A-ZÄÖÜß]*$/i,\n es: /^[0-9A-ZÁÉÍÑÓÚÜ]*$/i,\n fr: /^[0-9A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]*$/i,\n it: /^[0-9A-Z\\xC0-\\xFF]*$/i,\n lt: /^[0-9A-ZĄČĘĖĮŠŲŪŽ]*$/i,\n hu: /^[0-9A-ZÁÉÍÓÖŐÚÜŰ]*$/i,\n nl: /^[0-9A-ZÉËÏÓÖÜ]*$/i,\n pl: /^[0-9A-ZĄĆĘŚŁŃÓŻŹ]*$/i,\n pt: /^[0-9A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ]*$/i,\n ru: /^[0-9А-ЯЁ]*$/i,\n kz: /^[0-9А-ЯЁ\\u04D8\\u04B0\\u0406\\u04A2\\u0492\\u04AE\\u049A\\u04E8\\u04BA]*$/i,\n sk: /^[0-9A-ZÁÄČĎÉÍĹĽŇÓŔŠŤÚÝŽ]*$/i,\n sr: /^[0-9A-ZČĆŽŠĐ]*$/i,\n sv: /^[0-9A-ZÅÄÖ]*$/i,\n tr: /^[0-9A-ZÇĞİıÖŞÜ]*$/i,\n uk: /^[0-9А-ЩЬЮЯЄІЇҐ]*$/i,\n ar: /^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]*$/,\n az: /^[0-9A-ZÇƏĞİıÖŞÜ]*$/i,\n ug: /^[0-9A-Zچۋېرتيۇڭوپھسداەىقكلزشغۈبنمژفگخجۆئ]*$/i,\n};\nconst alphaDash = {\n en: /^[0-9A-Z_-]*$/i,\n cs: /^[0-9A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ_-]*$/i,\n da: /^[0-9A-ZÆØÅ_-]*$/i,\n de: /^[0-9A-ZÄÖÜß_-]*$/i,\n es: /^[0-9A-ZÁÉÍÑÓÚÜ_-]*$/i,\n fr: /^[0-9A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ_-]*$/i,\n it: /^[0-9A-Z\\xC0-\\xFF_-]*$/i,\n lt: /^[0-9A-ZĄČĘĖĮŠŲŪŽ_-]*$/i,\n nl: /^[0-9A-ZÉËÏÓÖÜ_-]*$/i,\n hu: /^[0-9A-ZÁÉÍÓÖŐÚÜŰ_-]*$/i,\n pl: /^[0-9A-ZĄĆĘŚŁŃÓŻŹ_-]*$/i,\n pt: /^[0-9A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ_-]*$/i,\n ru: /^[0-9А-ЯЁ_-]*$/i,\n kz: /^[0-9А-ЯЁ\\u04D8\\u04B0\\u0406\\u04A2\\u0492\\u04AE\\u049A\\u04E8\\u04BA_-]*$/i,\n sk: /^[0-9A-ZÁÄČĎÉÍĹĽŇÓŔŠŤÚÝŽ_-]*$/i,\n sr: /^[0-9A-ZČĆŽŠĐ_-]*$/i,\n sv: /^[0-9A-ZÅÄÖ_-]*$/i,\n tr: /^[0-9A-ZÇĞİıÖŞÜ_-]*$/i,\n uk: /^[0-9А-ЩЬЮЯЄІЇҐ_-]*$/i,\n ar: /^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ_-]*$/,\n az: /^[0-9A-ZÇƏĞİıÖŞÜ_-]*$/i,\n ug: /^[0-9A-Zچۋېرتيۇڭوپھسداەىقكلزشغۈبنمژفگخجۆئ_-]*$/i,\n};\nconst getLocale = (params) => {\n if (!params) {\n return undefined;\n }\n return Array.isArray(params) ? params[0] : params.locale;\n};\n\nfunction getSingleParam(params, paramName) {\n return Array.isArray(params) ? params[0] : params[paramName];\n}\nfunction isEmpty(value) {\n if (value === null || value === undefined || value === '') {\n return true;\n }\n if (Array.isArray(value) && value.length === 0) {\n return true;\n }\n return false;\n}\n\nconst alphaValidator = (value, params) => {\n if (isEmpty(value)) {\n return true;\n }\n const locale = getLocale(params);\n if (Array.isArray(value)) {\n return value.every(val => alphaValidator(val, { locale }));\n }\n const valueAsString = String(value);\n // Match at least one locale.\n if (!locale) {\n return Object.keys(alpha).some(loc => alpha[loc].test(valueAsString));\n }\n return (alpha[locale] || alpha.en).test(valueAsString);\n};\n\nconst alphaDashValidator = (value, params) => {\n if (isEmpty(value)) {\n return true;\n }\n const locale = getLocale(params);\n if (Array.isArray(value)) {\n return value.every(val => alphaDashValidator(val, { locale }));\n }\n const valueAsString = String(value);\n // Match at least one locale.\n if (!locale) {\n return Object.keys(alphaDash).some(loc => alphaDash[loc].test(valueAsString));\n }\n return (alphaDash[locale] || alphaDash.en).test(valueAsString);\n};\n\nconst alphaNumValidator = (value, params) => {\n if (isEmpty(value)) {\n return true;\n }\n const locale = getLocale(params);\n if (Array.isArray(value)) {\n return value.every(val => alphaNumValidator(val, { locale }));\n }\n const valueAsString = String(value);\n // Match at least one locale.\n if (!locale) {\n return Object.keys(alphanumeric).some(loc => alphanumeric[loc].test(valueAsString));\n }\n return (alphanumeric[locale] || alphanumeric.en).test(valueAsString);\n};\n\nconst alphaSpacesValidator = (value, params) => {\n if (isEmpty(value)) {\n return true;\n }\n const locale = getLocale(params);\n if (Array.isArray(value)) {\n return value.every(val => alphaSpacesValidator(val, { locale }));\n }\n const valueAsString = String(value);\n // Match at least one locale.\n if (!locale) {\n return Object.keys(alphaSpaces).some(loc => alphaSpaces[loc].test(valueAsString));\n }\n return (alphaSpaces[locale] || alphaSpaces.en).test(valueAsString);\n};\n\nfunction getParams$1(params) {\n if (Array.isArray(params)) {\n return { min: params[0], max: params[1] };\n }\n return params;\n}\nconst betweenValidator = (value, params) => {\n if (isEmpty(value)) {\n return true;\n }\n const { min, max } = getParams$1(params);\n if (Array.isArray(value)) {\n return value.every(val => betweenValidator(val, { min, max }));\n }\n const valueAsNumber = Number(value);\n return Number(min) <= valueAsNumber && Number(max) >= valueAsNumber;\n};\n\nconst confirmedValidator = (value, params) => {\n const target = getSingleParam(params, 'target');\n return String(value) === String(target);\n};\n\nconst digitsValidator = (value, params) => {\n if (isEmpty(value)) {\n return true;\n }\n const length = getSingleParam(params, 'length');\n if (Array.isArray(value)) {\n return value.every(val => digitsValidator(val, { length }));\n }\n const strVal = String(value);\n return /^[0-9]*$/.test(strVal) && strVal.length === Number(length);\n};\n\nconst validateImage = (file, width, height) => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const URL = window.URL || window.webkitURL;\n return new Promise(resolve => {\n const image = new Image();\n image.onerror = () => resolve(false);\n image.onload = () => resolve(image.width === width && image.height === height);\n image.src = URL.createObjectURL(file);\n });\n};\nfunction getParams(params) {\n if (!params) {\n return { width: 0, height: 0 };\n }\n if (Array.isArray(params)) {\n return { width: Number(params[0]), height: Number(params[1]) };\n }\n return {\n width: Number(params.width),\n height: Number(params.height),\n };\n}\nconst dimensionsValidator = (files, params) => {\n if (isEmpty(files)) {\n return true;\n }\n const { width, height } = getParams(params);\n const list = [];\n const fileList = Array.isArray(files) ? files : [files];\n for (let i = 0; i < fileList.length; i++) {\n // if file is not an image, reject.\n if (!/\\.(jpg|svg|jpeg|png|bmp|gif)$/i.test(fileList[i].name)) {\n return Promise.resolve(false);\n }\n list.push(fileList[i]);\n }\n return Promise.all(list.map(file => validateImage(file, width, height))).then(values => {\n return values.every(v => v);\n });\n};\n\n/* eslint-disable no-useless-escape */\n// https://github.com/colinhacks/zod/blob/40e72f9eaf576985f876d1afc2dbc22f73abc1ba/src/types.ts#L595\nconst emailRE = /^(?!\\.)(?!.*\\.\\.)([A-Z0-9_'+\\-\\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\\-]*\\.)+[A-Z]{2,}$/i;\nconst emailValidator = (value) => {\n if (isEmpty(value)) {\n return true;\n }\n if (Array.isArray(value)) {\n return value.every(val => emailRE.test(String(val)));\n }\n return emailRE.test(String(value));\n};\n\nconst extValidator = (files, extensions) => {\n if (isEmpty(files)) {\n return true;\n }\n const regex = new RegExp(`\\\\.(${extensions.join('|')})$`, 'i');\n if (Array.isArray(files)) {\n return files.every(file => regex.test(file.name));\n }\n return regex.test(files.name);\n};\n\nconst imageValidator = (files) => {\n if (isEmpty(files)) {\n return true;\n }\n const regex = /\\.(jpg|svg|jpeg|png|bmp|gif|webp)$/i;\n if (Array.isArray(files)) {\n return files.every(file => regex.test(file.name));\n }\n return regex.test(files.name);\n};\n\nconst integerValidator = (value) => {\n if (isEmpty(value)) {\n return true;\n }\n if (Array.isArray(value)) {\n return value.every(val => /^-?[0-9]+$/.test(String(val)));\n }\n return /^-?[0-9]+$/.test(String(value));\n};\n\nconst isValidator = (value, params) => {\n const other = getSingleParam(params, 'other');\n return value === other;\n};\n\nconst isNotValidator = (value, params) => {\n const other = getSingleParam(params, 'other');\n return value !== other;\n};\n\nconst lengthValidator = (value, params) => {\n if (isEmpty(value)) {\n return true;\n }\n // Normalize the length value\n const length = getSingleParam(params, 'length');\n if (typeof value === 'number') {\n value = String(value);\n }\n if (!value.length) {\n value = Array.from(value);\n }\n return value.length === Number(length);\n};\n\nconst maxLengthValidator = (value, params) => {\n if (isEmpty(value)) {\n return true;\n }\n const length = getSingleParam(params, 'length');\n if (Array.isArray(value)) {\n return value.every(val => maxLengthValidator(val, { length }));\n }\n return [...String(value)].length <= Number(length);\n};\n\nconst maxValueValidator = (value, params) => {\n if (isEmpty(value)) {\n return true;\n }\n const max = getSingleParam(params, 'max');\n if (Array.isArray(value)) {\n return value.length > 0 && value.every(val => maxValueValidator(val, { max }));\n }\n return Number(value) <= Number(max);\n};\n\nconst ADDED_MIME_RE = /\\+(.+)?/;\nfunction buildRegExp(mime) {\n let strPattern = mime;\n if (ADDED_MIME_RE.test(mime)) {\n strPattern = mime.replace(ADDED_MIME_RE, '(\\\\+$1)?');\n }\n return new RegExp(strPattern.replace('*', '.+'), 'i');\n}\nconst mimesValidator = (files, mimes) => {\n if (isEmpty(files)) {\n return true;\n }\n if (!mimes) {\n mimes = [];\n }\n const patterns = mimes.map(buildRegExp);\n if (Array.isArray(files)) {\n return files.every(file => patterns.some(p => p.test(file.type)));\n }\n return patterns.some(p => p.test(files.type));\n};\n\nconst minValidator = (value, params) => {\n if (isEmpty(value)) {\n return true;\n }\n const length = getSingleParam(params, 'length');\n if (Array.isArray(value)) {\n return value.every(val => minValidator(val, { length }));\n }\n return [...String(value)].length >= Number(length);\n};\n\nconst minValueValidator = (value, params) => {\n if (isEmpty(value)) {\n return true;\n }\n const min = getSingleParam(params, 'min');\n if (Array.isArray(value)) {\n return value.length > 0 && value.every(val => minValueValidator(val, { min }));\n }\n return Number(value) >= Number(min);\n};\n\nconst oneOfValidator = (value, list) => {\n if (isEmpty(value)) {\n return true;\n }\n if (Array.isArray(value)) {\n return value.every(val => oneOfValidator(val, list));\n }\n return Array.from(list).some(item => {\n return item == value;\n });\n};\n\nconst notOneOfValidator = (value, list) => {\n if (isEmpty(value)) {\n return true;\n }\n return !oneOfValidator(value, list);\n};\n\nconst ar = /^[٠١٢٣٤٥٦٧٨٩]+$/;\nconst en = /^[0-9]+$/;\nconst numericValidator = (value) => {\n if (isEmpty(value)) {\n return true;\n }\n const testValue = (val) => {\n const strValue = String(val);\n return en.test(strValue) || ar.test(strValue);\n };\n if (Array.isArray(value)) {\n return value.every(testValue);\n }\n return testValue(value);\n};\n\nconst regexValidator = (value, params) => {\n if (isEmpty(value)) {\n return true;\n }\n let regex = getSingleParam(params, 'regex');\n if (typeof regex === 'string') {\n regex = new RegExp(regex);\n }\n if (Array.isArray(value)) {\n return value.every(val => regexValidator(val, { regex }));\n }\n return regex.test(String(value));\n};\n\nfunction isNullOrUndefined(value) {\n return value === null || value === undefined;\n}\nfunction isEmptyArray(arr) {\n return Array.isArray(arr) && arr.length === 0;\n}\nconst isObject = (obj) => obj !== null && !!obj && typeof obj === 'object' && !Array.isArray(obj);\n\nconst requiredValidator = (value) => {\n if (isNullOrUndefined(value) || isEmptyArray(value) || value === false) {\n return false;\n }\n return !!String(value).trim().length;\n};\n\nconst sizeValidator = (files, params) => {\n if (isEmpty(files)) {\n return true;\n }\n let size = getSingleParam(params, 'size');\n size = Number(size);\n if (isNaN(size)) {\n return false;\n }\n const nSize = size * 1024;\n if (!Array.isArray(files)) {\n return files.size <= nSize;\n }\n for (let i = 0; i < files.length; i++) {\n if (files[i].size > nSize) {\n return false;\n }\n }\n return true;\n};\n\nconst urlValidator = (value, params) => {\n var _a;\n if (isEmpty(value)) {\n return true;\n }\n let pattern = getSingleParam(params, 'pattern');\n if (typeof pattern === 'string') {\n pattern = new RegExp(pattern);\n }\n try {\n new URL(value);\n }\n catch (_b) {\n return false;\n }\n return (_a = pattern === null || pattern === void 0 ? void 0 : pattern.test(value)) !== null && _a !== void 0 ? _a : true;\n};\n\n/**\n * A typed version of Object.keys\n */\nfunction keysOf(record) {\n return Object.keys(record);\n}\n\nfunction toTypedSchema(rawSchema) {\n const schema = {\n __type: 'VVTypedSchema',\n async parse(values) {\n // single field\n if (typeof rawSchema === 'string') {\n const result = await validate(values, rawSchema);\n return {\n errors: [\n {\n errors: result.errors,\n },\n ],\n };\n }\n const result = await validateObject(rawSchema, values);\n return {\n errors: keysOf(result.errors).map(path => {\n var _a;\n const error = {\n path: path,\n errors: ((_a = result.results[path]) === null || _a === void 0 ? void 0 : _a.errors) || [],\n };\n return error;\n }),\n };\n },\n describe(path) {\n if (!path) {\n return getDescriptionFromExpression(rawSchema);\n }\n if (isObject(rawSchema) && path in rawSchema) {\n return getDescriptionFromExpression(rawSchema[path]);\n }\n return {\n required: false,\n exists: false,\n };\n },\n };\n return schema;\n}\nfunction getDescriptionFromExpression(rules) {\n if (typeof rules === 'string') {\n return {\n exists: true,\n required: rules.includes('required'),\n };\n }\n if (isObject(rules)) {\n return {\n exists: true,\n required: !!rules.required,\n };\n }\n return {\n required: false,\n exists: true,\n };\n}\n\nconst all = {\n alpha_dash: alphaDashValidator,\n alpha_num: alphaNumValidator,\n alpha_spaces: alphaSpacesValidator,\n alpha: alphaValidator,\n between: betweenValidator,\n confirmed: confirmedValidator,\n digits: digitsValidator,\n dimensions: dimensionsValidator,\n email: emailValidator,\n ext: extValidator,\n image: imageValidator,\n integer: integerValidator,\n is_not: isNotValidator,\n is: isValidator,\n length: lengthValidator,\n max_value: maxValueValidator,\n max: maxLengthValidator,\n mimes: mimesValidator,\n min_value: minValueValidator,\n min: minValidator,\n not_one_of: notOneOfValidator,\n numeric: numericValidator,\n one_of: oneOfValidator,\n regex: regexValidator,\n required: requiredValidator,\n size: sizeValidator,\n url: urlValidator,\n};\n\nexport { all, alphaValidator as alpha, alphaDashValidator as alpha_dash, alphaNumValidator as alpha_num, alphaSpacesValidator as alpha_spaces, betweenValidator as between, confirmedValidator as confirmed, digitsValidator as digits, dimensionsValidator as dimensions, emailValidator as email, extValidator as ext, imageValidator as image, integerValidator as integer, isValidator as is, isNotValidator as is_not, lengthValidator as length, maxLengthValidator as max, maxValueValidator as max_value, mimesValidator as mimes, minValidator as min, minValueValidator as min_value, notOneOfValidator as not_one_of, numericValidator as numeric, oneOfValidator as one_of, regexValidator as regex, requiredValidator as required, sizeValidator as size, toTypedSchema, urlValidator as url };\n","import { defineRule } from 'vee-validate';\nimport { email, min } from '@vee-validate/rules';\n\ndefineRule('required', (value: any) => {\n if (\n value === null ||\n value === undefined ||\n (Array.isArray(value) && value.length === 0) ||\n !String(value).trim().length\n ) {\n return 'fields.error_message';\n }\n\n return true;\n});\n\ndefineRule('requiredDateRange', (value: any) => {\n const validDate = /^\\d{4}-\\d{2}-\\d{2}$/;\n\n if (Array.isArray(value)) {\n if (!validDate.test(value?.[0] ?? '')) {\n return 'fields.error_message';\n }\n if (!validDate.test(value?.[1] ?? '')) {\n return 'fields.error_message';\n }\n }\n\n if (\n value === null ||\n value === undefined ||\n !String(value).trim().length ||\n (!validDate.test(value) && !Array.isArray(value))\n ) {\n return 'fields.error_message';\n }\n\n return true;\n});\n\ndefineRule('email', (value: any) => {\n if (!value || !value.length || !email(value)) {\n return 'fields.invalid_email';\n }\n return true;\n});\ndefineRule('min', min);\n\ndefineRule('objectHasName', (value: any) => {\n if (value?.name === undefined || value.name === null || value.name === '') {\n return 'fields.error_message';\n }\n return true;\n});\n\ndefineRule('terms', (value: boolean) => {\n if (!value) {\n return 'fields.terms_required';\n }\n\n return true;\n});\n","'use strict';\n\nexport default function bind(fn, thisArg) {\n return function wrap() {\n return fn.apply(thisArg, arguments);\n };\n}\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 {toString} = Object.prototype;\nconst {getPrototypeOf} = Object;\n\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));\n\nconst kindOfTest = (type) => {\n type = type.toLowerCase();\n return (thing) => kindOf(thing) === type\n}\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 {isArray} = 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)\n && 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/**\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\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 && (\n (typeof FormData === 'function' && thing instanceof FormData) || (\n isFunction(thing.append) && (\n (kind = kindOf(thing)) === 'formdata' ||\n // detect form-data instance\n (kind === 'object' && isFunction(thing.toString) && thing.toString() === '[object FormData]')\n )\n )\n )\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');\n\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 ?\n 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, {allOwnKeys = false} = {}) {\n // Don't bother if no value provided\n if (obj === null || typeof obj === 'undefined') {\n return;\n }\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\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\n for (i = 0; i < len; i++) {\n key = keys[i];\n fn.call(null, obj[key], key, obj);\n }\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}\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})();\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 const {caseless} = 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\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 = (a, b, thisArg, {allOwnKeys}= {}) => {\n forEach(b, (val, key) => {\n if (thisArg && isFunction(val)) {\n a[key] = bind(val, thisArg);\n } else {\n a[key] = val;\n }\n }, {allOwnKeys});\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\n destObj = destObj || {};\n // eslint-disable-next-line no-eq-null,eqeqeq\n if (sourceObj == null) return destObj;\n\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\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/**\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\n const iterator = generator.call(obj);\n\n let result;\n\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\n while ((matches = regExp.exec(str)) !== null) {\n arr.push(matches);\n }\n\n return arr;\n}\n\n/* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */\nconst isHTMLForm = kindOfTest('HTMLFormElement');\n\nconst toCamelCase = str => {\n return str.toLowerCase().replace(/[-_\\s]([a-z\\d])(\\w*)/g,\n function replacer(m, p1, p2) {\n return p1.toUpperCase() + p2;\n }\n );\n};\n\n/* Creating a function that will check if an object has a property. */\nconst hasOwnProperty = (({hasOwnProperty}) => (obj, prop) => hasOwnProperty.call(obj, prop))(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');\n\nconst reduceDescriptors = (obj, reducer) => {\n const descriptors = Object.getOwnPropertyDescriptors(obj);\n const reducedDescriptors = {};\n\n forEach(descriptors, (descriptor, name) => {\n let ret;\n if ((ret = reducer(descriptor, name, obj)) !== false) {\n reducedDescriptors[name] = ret || descriptor;\n }\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\n const value = obj[name];\n\n if (!isFunction(value)) return;\n\n descriptor.enumerable = false;\n\n if ('writable' in descriptor) {\n descriptor.writable = false;\n return;\n }\n\n if (!descriptor.set) {\n descriptor.set = () => {\n throw Error('Can not rewrite read-only method \\'' + name + '\\'');\n };\n }\n });\n}\n\nconst toObjectSet = (arrayOrString, delimiter) => {\n const obj = {};\n\n const define = (arr) => {\n arr.forEach(value => {\n obj[value] = true;\n });\n }\n\n isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter));\n\n return obj;\n}\n\nconst noop = () => {}\n\nconst toFiniteNumber = (value, defaultValue) => {\n return value != null && Number.isFinite(value = +value) ? value : defaultValue;\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}\n\nconst toJSONObject = (obj) => {\n const stack = new Array(10);\n\n const visit = (source, i) => {\n\n if (isObject(source)) {\n if (stack.indexOf(source) >= 0) {\n return;\n }\n\n if(!('toJSON' in source)) {\n stack[i] = source;\n const target = isArray(source) ? [] : {};\n\n forEach(source, (value, key) => {\n const reducedValue = visit(value, i + 1);\n !isUndefined(reducedValue) && (target[key] = reducedValue);\n });\n\n stack[i] = undefined;\n\n return target;\n }\n }\n\n return source;\n }\n\n return visit(obj, 0);\n}\n\nconst isAsyncFn = kindOfTest('AsyncFunction');\n\nconst isThenable = (thing) =>\n 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\n return postMessageSupported ? ((token, callbacks) => {\n _global.addEventListener(\"message\", ({source, data}) => {\n if (source === _global && data === token) {\n callbacks.length && callbacks.shift()();\n }\n }, false);\n\n return (cb) => {\n callbacks.push(cb);\n _global.postMessage(token, \"*\");\n }\n })(`axios@${Math.random()}`, []) : (cb) => setTimeout(cb);\n})(\n typeof setImmediate === 'function',\n isFunction(_global.postMessage)\n);\n\nconst asap = typeof queueMicrotask !== 'undefined' ?\n 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, // 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 isSpecCompliantForm,\n toJSONObject,\n isAsyncFn,\n isThenable,\n setImmediate: _setImmediate,\n asap\n};\n","'use strict';\n\nimport utils from '../utils.js';\n\n/**\n * Create an Error with the specified message, config, error code, request and response.\n *\n * @param {string} message The error message.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [config] The config.\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n *\n * @returns {Error} The created error.\n */\nfunction AxiosError(message, code, config, request, response) {\n Error.call(this);\n\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, this.constructor);\n } else {\n this.stack = (new Error()).stack;\n }\n\n this.message = message;\n this.name = 'AxiosError';\n code && (this.code = code);\n config && (this.config = config);\n request && (this.request = request);\n if (response) {\n this.response = response;\n this.status = response.status ? response.status : null;\n }\n}\n\nutils.inherits(AxiosError, Error, {\n toJSON: function toJSON() {\n return {\n // Standard\n message: this.message,\n name: this.name,\n // Microsoft\n description: this.description,\n number: this.number,\n // Mozilla\n fileName: this.fileName,\n lineNumber: this.lineNumber,\n columnNumber: this.columnNumber,\n stack: this.stack,\n // Axios\n config: utils.toJSONObject(this.config),\n code: this.code,\n status: this.status\n };\n }\n});\n\nconst prototype = AxiosError.prototype;\nconst descriptors = {};\n\n[\n 'ERR_BAD_OPTION_VALUE',\n 'ERR_BAD_OPTION',\n 'ECONNABORTED',\n 'ETIMEDOUT',\n 'ERR_NETWORK',\n 'ERR_FR_TOO_MANY_REDIRECTS',\n 'ERR_DEPRECATED',\n 'ERR_BAD_RESPONSE',\n 'ERR_BAD_REQUEST',\n 'ERR_CANCELED',\n 'ERR_NOT_SUPPORT',\n 'ERR_INVALID_URL'\n// eslint-disable-next-line func-names\n].forEach(code => {\n descriptors[code] = {value: code};\n});\n\nObject.defineProperties(AxiosError, descriptors);\nObject.defineProperty(prototype, 'isAxiosError', {value: true});\n\n// eslint-disable-next-line func-names\nAxiosError.from = (error, code, config, request, response, customProps) => {\n const axiosError = Object.create(prototype);\n\n utils.toFlatObject(error, axiosError, function filter(obj) {\n return obj !== Error.prototype;\n }, prop => {\n return prop !== 'isAxiosError';\n });\n\n AxiosError.call(axiosError, error.message, code, config, request, response);\n\n axiosError.cause = error;\n\n axiosError.name = error.name;\n\n customProps && Object.assign(axiosError, customProps);\n\n return axiosError;\n};\n\nexport default AxiosError;\n","// eslint-disable-next-line strict\nexport default null;\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosError from '../core/AxiosError.js';\n// temporary hotfix to avoid circular references until AxiosURLSearchParams is refactored\nimport PlatformFormData from '../platform/node/classes/FormData.js';\n\n/**\n * Determines if the given thing is a array or js object.\n *\n * @param {string} thing - The object or array to be visited.\n *\n * @returns {boolean}\n */\nfunction isVisitable(thing) {\n return utils.isPlainObject(thing) || utils.isArray(thing);\n}\n\n/**\n * It removes the brackets from the end of a string\n *\n * @param {string} key - The key of the parameter.\n *\n * @returns {string} the key without the brackets.\n */\nfunction removeBrackets(key) {\n return utils.endsWith(key, '[]') ? key.slice(0, -2) : key;\n}\n\n/**\n * It takes a path, a key, and a boolean, and returns a string\n *\n * @param {string} path - The path to the current key.\n * @param {string} key - The key of the current object being iterated over.\n * @param {string} dots - If true, the key will be rendered with dots instead of brackets.\n *\n * @returns {string} The path to the current key.\n */\nfunction renderKey(path, key, dots) {\n if (!path) return key;\n return path.concat(key).map(function each(token, i) {\n // eslint-disable-next-line no-param-reassign\n token = removeBrackets(token);\n return !dots && i ? '[' + token + ']' : token;\n }).join(dots ? '.' : '');\n}\n\n/**\n * If the array is an array and none of its elements are visitable, then it's a flat array.\n *\n * @param {Array} arr - The array to check\n *\n * @returns {boolean}\n */\nfunction isFlatArray(arr) {\n return utils.isArray(arr) && !arr.some(isVisitable);\n}\n\nconst predicates = utils.toFlatObject(utils, {}, null, function filter(prop) {\n return /^is[A-Z]/.test(prop);\n});\n\n/**\n * Convert a data object to FormData\n *\n * @param {Object} obj\n * @param {?Object} [formData]\n * @param {?Object} [options]\n * @param {Function} [options.visitor]\n * @param {Boolean} [options.metaTokens = true]\n * @param {Boolean} [options.dots = false]\n * @param {?Boolean} [options.indexes = false]\n *\n * @returns {Object}\n **/\n\n/**\n * It converts an object into a FormData object\n *\n * @param {Object} obj - The object to convert to form data.\n * @param {string} formData - The FormData object to append to.\n * @param {Object} options\n *\n * @returns\n */\nfunction toFormData(obj, formData, options) {\n if (!utils.isObject(obj)) {\n throw new TypeError('target must be an object');\n }\n\n // eslint-disable-next-line no-param-reassign\n formData = formData || new (PlatformFormData || FormData)();\n\n // eslint-disable-next-line no-param-reassign\n options = utils.toFlatObject(options, {\n metaTokens: true,\n dots: false,\n indexes: false\n }, false, function defined(option, source) {\n // eslint-disable-next-line no-eq-null,eqeqeq\n return !utils.isUndefined(source[option]);\n });\n\n const metaTokens = options.metaTokens;\n // eslint-disable-next-line no-use-before-define\n const visitor = options.visitor || defaultVisitor;\n const dots = options.dots;\n const indexes = options.indexes;\n const _Blob = options.Blob || typeof Blob !== 'undefined' && Blob;\n const useBlob = _Blob && utils.isSpecCompliantForm(formData);\n\n if (!utils.isFunction(visitor)) {\n throw new TypeError('visitor must be a function');\n }\n\n function convertValue(value) {\n if (value === null) return '';\n\n if (utils.isDate(value)) {\n return value.toISOString();\n }\n\n if (!useBlob && utils.isBlob(value)) {\n throw new AxiosError('Blob is not supported. Use a Buffer instead.');\n }\n\n if (utils.isArrayBuffer(value) || utils.isTypedArray(value)) {\n return useBlob && typeof Blob === 'function' ? new Blob([value]) : Buffer.from(value);\n }\n\n return value;\n }\n\n /**\n * Default visitor.\n *\n * @param {*} value\n * @param {String|Number} key\n * @param {Array} path\n * @this {FormData}\n *\n * @returns {boolean} return true to visit the each prop of the value recursively\n */\n function defaultVisitor(value, key, path) {\n let arr = value;\n\n if (value && !path && typeof value === 'object') {\n if (utils.endsWith(key, '{}')) {\n // eslint-disable-next-line no-param-reassign\n key = metaTokens ? key : key.slice(0, -2);\n // eslint-disable-next-line no-param-reassign\n value = JSON.stringify(value);\n } else if (\n (utils.isArray(value) && isFlatArray(value)) ||\n ((utils.isFileList(value) || utils.endsWith(key, '[]')) && (arr = utils.toArray(value))\n )) {\n // eslint-disable-next-line no-param-reassign\n key = removeBrackets(key);\n\n arr.forEach(function each(el, index) {\n !(utils.isUndefined(el) || el === null) && formData.append(\n // eslint-disable-next-line no-nested-ternary\n indexes === true ? renderKey([key], index, dots) : (indexes === null ? key : key + '[]'),\n convertValue(el)\n );\n });\n return false;\n }\n }\n\n if (isVisitable(value)) {\n return true;\n }\n\n formData.append(renderKey(path, key, dots), convertValue(value));\n\n return false;\n }\n\n const stack = [];\n\n const exposedHelpers = Object.assign(predicates, {\n defaultVisitor,\n convertValue,\n isVisitable\n });\n\n function build(value, path) {\n if (utils.isUndefined(value)) return;\n\n if (stack.indexOf(value) !== -1) {\n throw Error('Circular reference detected in ' + path.join('.'));\n }\n\n stack.push(value);\n\n utils.forEach(value, function each(el, key) {\n const result = !(utils.isUndefined(el) || el === null) && visitor.call(\n formData, el, utils.isString(key) ? key.trim() : key, path, exposedHelpers\n );\n\n if (result === true) {\n build(el, path ? path.concat(key) : [key]);\n }\n });\n\n stack.pop();\n }\n\n if (!utils.isObject(obj)) {\n throw new TypeError('data must be an object');\n }\n\n build(obj);\n\n return formData;\n}\n\nexport default toFormData;\n","'use strict';\n\nimport toFormData from './toFormData.js';\n\n/**\n * It encodes a string by replacing all characters that are not in the unreserved set with\n * their percent-encoded equivalents\n *\n * @param {string} str - The string to encode.\n *\n * @returns {string} The encoded string.\n */\nfunction encode(str) {\n const charMap = {\n '!': '%21',\n \"'\": '%27',\n '(': '%28',\n ')': '%29',\n '~': '%7E',\n '%20': '+',\n '%00': '\\x00'\n };\n return encodeURIComponent(str).replace(/[!'()~]|%20|%00/g, function replacer(match) {\n return charMap[match];\n });\n}\n\n/**\n * It takes a params object and converts it to a FormData object\n *\n * @param {Object} params - The parameters to be converted to a FormData object.\n * @param {Object} options - The options object passed to the Axios constructor.\n *\n * @returns {void}\n */\nfunction AxiosURLSearchParams(params, options) {\n this._pairs = [];\n\n params && toFormData(params, this, options);\n}\n\nconst prototype = AxiosURLSearchParams.prototype;\n\nprototype.append = function append(name, value) {\n this._pairs.push([name, value]);\n};\n\nprototype.toString = function toString(encoder) {\n const _encode = encoder ? function(value) {\n return encoder.call(this, value, encode);\n } : encode;\n\n return this._pairs.map(function each(pair) {\n return _encode(pair[0]) + '=' + _encode(pair[1]);\n }, '').join('&');\n};\n\nexport default AxiosURLSearchParams;\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosURLSearchParams from '../helpers/AxiosURLSearchParams.js';\n\n/**\n * It replaces all instances of the characters `:`, `$`, `,`, `+`, `[`, and `]` with their\n * URI encoded counterparts\n *\n * @param {string} val The value to be encoded.\n *\n * @returns {string} The encoded value.\n */\nfunction encode(val) {\n return encodeURIComponent(val).\n replace(/%3A/gi, ':').\n replace(/%24/g, '$').\n replace(/%2C/gi, ',').\n replace(/%20/g, '+').\n replace(/%5B/gi, '[').\n replace(/%5D/gi, ']');\n}\n\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @param {?(object|Function)} options\n *\n * @returns {string} The formatted url\n */\nexport default function buildURL(url, params, options) {\n /*eslint no-param-reassign:0*/\n if (!params) {\n return url;\n }\n \n const _encode = options && options.encode || encode;\n\n if (utils.isFunction(options)) {\n options = {\n serialize: options\n };\n } \n\n const serializeFn = options && options.serialize;\n\n let serializedParams;\n\n if (serializeFn) {\n serializedParams = serializeFn(params, options);\n } else {\n serializedParams = utils.isURLSearchParams(params) ?\n params.toString() :\n new AxiosURLSearchParams(params, options).toString(_encode);\n }\n\n if (serializedParams) {\n const hashmarkIndex = url.indexOf(\"#\");\n\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n }\n\n return url;\n}\n","'use strict';\n\nimport utils from './../utils.js';\n\nclass InterceptorManager {\n constructor() {\n this.handlers = [];\n }\n\n /**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n *\n * @return {Number} An ID used to remove interceptor later\n */\n use(fulfilled, rejected, options) {\n this.handlers.push({\n fulfilled,\n rejected,\n synchronous: options ? options.synchronous : false,\n runWhen: options ? options.runWhen : null\n });\n return this.handlers.length - 1;\n }\n\n /**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n *\n * @returns {Boolean} `true` if the interceptor was removed, `false` otherwise\n */\n eject(id) {\n if (this.handlers[id]) {\n this.handlers[id] = null;\n }\n }\n\n /**\n * Clear all interceptors from the stack\n *\n * @returns {void}\n */\n clear() {\n if (this.handlers) {\n this.handlers = [];\n }\n }\n\n /**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n *\n * @returns {void}\n */\n forEach(fn) {\n utils.forEach(this.handlers, function forEachHandler(h) {\n if (h !== null) {\n fn(h);\n }\n });\n }\n}\n\nexport default InterceptorManager;\n","'use strict';\n\nexport default {\n silentJSONParsing: true,\n forcedJSONParsing: true,\n clarifyTimeoutError: false\n};\n","'use strict';\n\nimport AxiosURLSearchParams from '../../../helpers/AxiosURLSearchParams.js';\nexport default typeof URLSearchParams !== 'undefined' ? URLSearchParams : AxiosURLSearchParams;\n","'use strict';\n\nexport default typeof FormData !== 'undefined' ? FormData : null;\n","'use strict'\n\nexport default typeof Blob !== 'undefined' ? Blob : null\n","import URLSearchParams from './classes/URLSearchParams.js'\nimport FormData from './classes/FormData.js'\nimport Blob from './classes/Blob.js'\n\nexport default {\n isBrowser: true,\n classes: {\n URLSearchParams,\n FormData,\n Blob\n },\n protocols: ['http', 'https', 'file', 'blob', 'url', 'data']\n};\n","const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';\n\nconst _navigator = typeof navigator === 'object' && navigator || undefined;\n\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n * typeof window -> undefined\n * typeof document -> undefined\n *\n * react-native:\n * navigator.product -> 'ReactNative'\n * nativescript\n * navigator.product -> 'NativeScript' or 'NS'\n *\n * @returns {boolean}\n */\nconst hasStandardBrowserEnv = hasBrowserEnv &&\n (!_navigator || ['ReactNative', 'NativeScript', 'NS'].indexOf(_navigator.product) < 0);\n\n/**\n * Determine if we're running in a standard browser webWorker environment\n *\n * Although the `isStandardBrowserEnv` method indicates that\n * `allows axios to run in a web worker`, the WebWorker will still be\n * filtered out due to its judgment standard\n * `typeof window !== 'undefined' && typeof document !== 'undefined'`.\n * This leads to a problem when axios post `FormData` in webWorker\n */\nconst hasStandardBrowserWebWorkerEnv = (() => {\n return (\n typeof WorkerGlobalScope !== 'undefined' &&\n // eslint-disable-next-line no-undef\n self instanceof WorkerGlobalScope &&\n typeof self.importScripts === 'function'\n );\n})();\n\nconst origin = hasBrowserEnv && window.location.href || 'http://localhost';\n\nexport {\n hasBrowserEnv,\n hasStandardBrowserWebWorkerEnv,\n hasStandardBrowserEnv,\n _navigator as navigator,\n origin\n}\n","import platform from './node/index.js';\nimport * as utils from './common/utils.js';\n\nexport default {\n ...utils,\n ...platform\n}\n","'use strict';\n\nimport utils from '../utils.js';\nimport toFormData from './toFormData.js';\nimport platform from '../platform/index.js';\n\nexport default function toURLEncodedForm(data, options) {\n return toFormData(data, new platform.classes.URLSearchParams(), Object.assign({\n visitor: function(value, key, path, helpers) {\n if (platform.isNode && utils.isBuffer(value)) {\n this.append(key, value.toString('base64'));\n return false;\n }\n\n return helpers.defaultVisitor.apply(this, arguments);\n }\n }, options));\n}\n","'use strict';\n\nimport utils from '../utils.js';\n\n/**\n * It takes a string like `foo[x][y][z]` and returns an array like `['foo', 'x', 'y', 'z']\n *\n * @param {string} name - The name of the property to get.\n *\n * @returns An array of strings.\n */\nfunction parsePropPath(name) {\n // foo[x][y][z]\n // foo.x.y.z\n // foo-x-y-z\n // foo x y z\n return utils.matchAll(/\\w+|\\[(\\w*)]/g, name).map(match => {\n return match[0] === '[]' ? '' : match[1] || match[0];\n });\n}\n\n/**\n * Convert an array to an object.\n *\n * @param {Array} arr - The array to convert to an object.\n *\n * @returns An object with the same keys and values as the array.\n */\nfunction arrayToObject(arr) {\n const obj = {};\n const keys = Object.keys(arr);\n let i;\n const len = keys.length;\n let key;\n for (i = 0; i < len; i++) {\n key = keys[i];\n obj[key] = arr[key];\n }\n return obj;\n}\n\n/**\n * It takes a FormData object and returns a JavaScript object\n *\n * @param {string} formData The FormData object to convert to JSON.\n *\n * @returns {Object | null} The converted object.\n */\nfunction formDataToJSON(formData) {\n function buildPath(path, value, target, index) {\n let name = path[index++];\n\n if (name === '__proto__') return true;\n\n const isNumericKey = Number.isFinite(+name);\n const isLast = index >= path.length;\n name = !name && utils.isArray(target) ? target.length : name;\n\n if (isLast) {\n if (utils.hasOwnProp(target, name)) {\n target[name] = [target[name], value];\n } else {\n target[name] = value;\n }\n\n return !isNumericKey;\n }\n\n if (!target[name] || !utils.isObject(target[name])) {\n target[name] = [];\n }\n\n const result = buildPath(path, value, target[name], index);\n\n if (result && utils.isArray(target[name])) {\n target[name] = arrayToObject(target[name]);\n }\n\n return !isNumericKey;\n }\n\n if (utils.isFormData(formData) && utils.isFunction(formData.entries)) {\n const obj = {};\n\n utils.forEachEntry(formData, (name, value) => {\n buildPath(parsePropPath(name), value, obj, 0);\n });\n\n return obj;\n }\n\n return null;\n}\n\nexport default formDataToJSON;\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosError from '../core/AxiosError.js';\nimport transitionalDefaults from './transitional.js';\nimport toFormData from '../helpers/toFormData.js';\nimport toURLEncodedForm from '../helpers/toURLEncodedForm.js';\nimport platform from '../platform/index.js';\nimport formDataToJSON from '../helpers/formDataToJSON.js';\n\n/**\n * It takes a string, tries to parse it, and if it fails, it returns the stringified version\n * of the input\n *\n * @param {any} rawValue - The value to be stringified.\n * @param {Function} parser - A function that parses a string into a JavaScript object.\n * @param {Function} encoder - A function that takes a value and returns a string.\n *\n * @returns {string} A stringified version of the rawValue.\n */\nfunction stringifySafely(rawValue, parser, encoder) {\n if (utils.isString(rawValue)) {\n try {\n (parser || JSON.parse)(rawValue);\n return utils.trim(rawValue);\n } catch (e) {\n if (e.name !== 'SyntaxError') {\n throw e;\n }\n }\n }\n\n return (encoder || JSON.stringify)(rawValue);\n}\n\nconst defaults = {\n\n transitional: transitionalDefaults,\n\n adapter: ['xhr', 'http', 'fetch'],\n\n transformRequest: [function transformRequest(data, headers) {\n const contentType = headers.getContentType() || '';\n const hasJSONContentType = contentType.indexOf('application/json') > -1;\n const isObjectPayload = utils.isObject(data);\n\n if (isObjectPayload && utils.isHTMLForm(data)) {\n data = new FormData(data);\n }\n\n const isFormData = utils.isFormData(data);\n\n if (isFormData) {\n return hasJSONContentType ? JSON.stringify(formDataToJSON(data)) : data;\n }\n\n if (utils.isArrayBuffer(data) ||\n utils.isBuffer(data) ||\n utils.isStream(data) ||\n utils.isFile(data) ||\n utils.isBlob(data) ||\n utils.isReadableStream(data)\n ) {\n return data;\n }\n if (utils.isArrayBufferView(data)) {\n return data.buffer;\n }\n if (utils.isURLSearchParams(data)) {\n headers.setContentType('application/x-www-form-urlencoded;charset=utf-8', false);\n return data.toString();\n }\n\n let isFileList;\n\n if (isObjectPayload) {\n if (contentType.indexOf('application/x-www-form-urlencoded') > -1) {\n return toURLEncodedForm(data, this.formSerializer).toString();\n }\n\n if ((isFileList = utils.isFileList(data)) || contentType.indexOf('multipart/form-data') > -1) {\n const _FormData = this.env && this.env.FormData;\n\n return toFormData(\n isFileList ? {'files[]': data} : data,\n _FormData && new _FormData(),\n this.formSerializer\n );\n }\n }\n\n if (isObjectPayload || hasJSONContentType ) {\n headers.setContentType('application/json', false);\n return stringifySafely(data);\n }\n\n return data;\n }],\n\n transformResponse: [function transformResponse(data) {\n const transitional = this.transitional || defaults.transitional;\n const forcedJSONParsing = transitional && transitional.forcedJSONParsing;\n const JSONRequested = this.responseType === 'json';\n\n if (utils.isResponse(data) || utils.isReadableStream(data)) {\n return data;\n }\n\n if (data && utils.isString(data) && ((forcedJSONParsing && !this.responseType) || JSONRequested)) {\n const silentJSONParsing = transitional && transitional.silentJSONParsing;\n const strictJSONParsing = !silentJSONParsing && JSONRequested;\n\n try {\n return JSON.parse(data);\n } catch (e) {\n if (strictJSONParsing) {\n if (e.name === 'SyntaxError') {\n throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, this.response);\n }\n throw e;\n }\n }\n }\n\n return data;\n }],\n\n /**\n * A timeout in milliseconds to abort a request. If set to 0 (default) a\n * timeout is not created.\n */\n timeout: 0,\n\n xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN',\n\n maxContentLength: -1,\n maxBodyLength: -1,\n\n env: {\n FormData: platform.classes.FormData,\n Blob: platform.classes.Blob\n },\n\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n },\n\n headers: {\n common: {\n 'Accept': 'application/json, text/plain, */*',\n 'Content-Type': undefined\n }\n }\n};\n\nutils.forEach(['delete', 'get', 'head', 'post', 'put', 'patch'], (method) => {\n defaults.headers[method] = {};\n});\n\nexport default defaults;\n","'use strict';\n\nimport utils from './../utils.js';\n\n// RawAxiosHeaders whose duplicates are ignored by node\n// c.f. https://nodejs.org/api/http.html#http_message_headers\nconst ignoreDuplicateOf = utils.toObjectSet([\n 'age', 'authorization', 'content-length', 'content-type', 'etag',\n 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',\n 'last-modified', 'location', 'max-forwards', 'proxy-authorization',\n 'referer', 'retry-after', 'user-agent'\n]);\n\n/**\n * Parse headers into an object\n *\n * ```\n * Date: Wed, 27 Aug 2014 08:58:49 GMT\n * Content-Type: application/json\n * Connection: keep-alive\n * Transfer-Encoding: chunked\n * ```\n *\n * @param {String} rawHeaders Headers needing to be parsed\n *\n * @returns {Object} Headers parsed into an object\n */\nexport default rawHeaders => {\n const parsed = {};\n let key;\n let val;\n let i;\n\n rawHeaders && rawHeaders.split('\\n').forEach(function parser(line) {\n i = line.indexOf(':');\n key = line.substring(0, i).trim().toLowerCase();\n val = line.substring(i + 1).trim();\n\n if (!key || (parsed[key] && ignoreDuplicateOf[key])) {\n return;\n }\n\n if (key === 'set-cookie') {\n if (parsed[key]) {\n parsed[key].push(val);\n } else {\n parsed[key] = [val];\n }\n } else {\n parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n }\n });\n\n return parsed;\n};\n","'use strict';\n\nimport utils from '../utils.js';\nimport parseHeaders from '../helpers/parseHeaders.js';\n\nconst $internals = Symbol('internals');\n\nfunction normalizeHeader(header) {\n return header && String(header).trim().toLowerCase();\n}\n\nfunction normalizeValue(value) {\n if (value === false || value == null) {\n return value;\n }\n\n return utils.isArray(value) ? value.map(normalizeValue) : String(value);\n}\n\nfunction parseTokens(str) {\n const tokens = Object.create(null);\n const tokensRE = /([^\\s,;=]+)\\s*(?:=\\s*([^,;]+))?/g;\n let match;\n\n while ((match = tokensRE.exec(str))) {\n tokens[match[1]] = match[2];\n }\n\n return tokens;\n}\n\nconst isValidHeaderName = (str) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim());\n\nfunction matchHeaderValue(context, value, header, filter, isHeaderNameFilter) {\n if (utils.isFunction(filter)) {\n return filter.call(this, value, header);\n }\n\n if (isHeaderNameFilter) {\n value = header;\n }\n\n if (!utils.isString(value)) return;\n\n if (utils.isString(filter)) {\n return value.indexOf(filter) !== -1;\n }\n\n if (utils.isRegExp(filter)) {\n return filter.test(value);\n }\n}\n\nfunction formatHeader(header) {\n return header.trim()\n .toLowerCase().replace(/([a-z\\d])(\\w*)/g, (w, char, str) => {\n return char.toUpperCase() + str;\n });\n}\n\nfunction buildAccessors(obj, header) {\n const accessorName = utils.toCamelCase(' ' + header);\n\n ['get', 'set', 'has'].forEach(methodName => {\n Object.defineProperty(obj, methodName + accessorName, {\n value: function(arg1, arg2, arg3) {\n return this[methodName].call(this, header, arg1, arg2, arg3);\n },\n configurable: true\n });\n });\n}\n\nclass AxiosHeaders {\n constructor(headers) {\n headers && this.set(headers);\n }\n\n set(header, valueOrRewrite, rewrite) {\n const self = this;\n\n function setHeader(_value, _header, _rewrite) {\n const lHeader = normalizeHeader(_header);\n\n if (!lHeader) {\n throw new Error('header name must be a non-empty string');\n }\n\n const key = utils.findKey(self, lHeader);\n\n if(!key || self[key] === undefined || _rewrite === true || (_rewrite === undefined && self[key] !== false)) {\n self[key || _header] = normalizeValue(_value);\n }\n }\n\n const setHeaders = (headers, _rewrite) =>\n utils.forEach(headers, (_value, _header) => setHeader(_value, _header, _rewrite));\n\n if (utils.isPlainObject(header) || header instanceof this.constructor) {\n setHeaders(header, valueOrRewrite)\n } else if(utils.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {\n setHeaders(parseHeaders(header), valueOrRewrite);\n } else if (utils.isHeaders(header)) {\n for (const [key, value] of header.entries()) {\n setHeader(value, key, rewrite);\n }\n } else {\n header != null && setHeader(valueOrRewrite, header, rewrite);\n }\n\n return this;\n }\n\n get(header, parser) {\n header = normalizeHeader(header);\n\n if (header) {\n const key = utils.findKey(this, header);\n\n if (key) {\n const value = this[key];\n\n if (!parser) {\n return value;\n }\n\n if (parser === true) {\n return parseTokens(value);\n }\n\n if (utils.isFunction(parser)) {\n return parser.call(this, value, key);\n }\n\n if (utils.isRegExp(parser)) {\n return parser.exec(value);\n }\n\n throw new TypeError('parser must be boolean|regexp|function');\n }\n }\n }\n\n has(header, matcher) {\n header = normalizeHeader(header);\n\n if (header) {\n const key = utils.findKey(this, header);\n\n return !!(key && this[key] !== undefined && (!matcher || matchHeaderValue(this, this[key], key, matcher)));\n }\n\n return false;\n }\n\n delete(header, matcher) {\n const self = this;\n let deleted = false;\n\n function deleteHeader(_header) {\n _header = normalizeHeader(_header);\n\n if (_header) {\n const key = utils.findKey(self, _header);\n\n if (key && (!matcher || matchHeaderValue(self, self[key], key, matcher))) {\n delete self[key];\n\n deleted = true;\n }\n }\n }\n\n if (utils.isArray(header)) {\n header.forEach(deleteHeader);\n } else {\n deleteHeader(header);\n }\n\n return deleted;\n }\n\n clear(matcher) {\n const keys = Object.keys(this);\n let i = keys.length;\n let deleted = false;\n\n while (i--) {\n const key = keys[i];\n if(!matcher || matchHeaderValue(this, this[key], key, matcher, true)) {\n delete this[key];\n deleted = true;\n }\n }\n\n return deleted;\n }\n\n normalize(format) {\n const self = this;\n const headers = {};\n\n utils.forEach(this, (value, header) => {\n const key = utils.findKey(headers, header);\n\n if (key) {\n self[key] = normalizeValue(value);\n delete self[header];\n return;\n }\n\n const normalized = format ? formatHeader(header) : String(header).trim();\n\n if (normalized !== header) {\n delete self[header];\n }\n\n self[normalized] = normalizeValue(value);\n\n headers[normalized] = true;\n });\n\n return this;\n }\n\n concat(...targets) {\n return this.constructor.concat(this, ...targets);\n }\n\n toJSON(asStrings) {\n const obj = Object.create(null);\n\n utils.forEach(this, (value, header) => {\n value != null && value !== false && (obj[header] = asStrings && utils.isArray(value) ? value.join(', ') : value);\n });\n\n return obj;\n }\n\n [Symbol.iterator]() {\n return Object.entries(this.toJSON())[Symbol.iterator]();\n }\n\n toString() {\n return Object.entries(this.toJSON()).map(([header, value]) => header + ': ' + value).join('\\n');\n }\n\n get [Symbol.toStringTag]() {\n return 'AxiosHeaders';\n }\n\n static from(thing) {\n return thing instanceof this ? thing : new this(thing);\n }\n\n static concat(first, ...targets) {\n const computed = new this(first);\n\n targets.forEach((target) => computed.set(target));\n\n return computed;\n }\n\n static accessor(header) {\n const internals = this[$internals] = (this[$internals] = {\n accessors: {}\n });\n\n const accessors = internals.accessors;\n const prototype = this.prototype;\n\n function defineAccessor(_header) {\n const lHeader = normalizeHeader(_header);\n\n if (!accessors[lHeader]) {\n buildAccessors(prototype, _header);\n accessors[lHeader] = true;\n }\n }\n\n utils.isArray(header) ? header.forEach(defineAccessor) : defineAccessor(header);\n\n return this;\n }\n}\n\nAxiosHeaders.accessor(['Content-Type', 'Content-Length', 'Accept', 'Accept-Encoding', 'User-Agent', 'Authorization']);\n\n// reserved names hotfix\nutils.reduceDescriptors(AxiosHeaders.prototype, ({value}, key) => {\n let mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set`\n return {\n get: () => value,\n set(headerValue) {\n this[mapped] = headerValue;\n }\n }\n});\n\nutils.freezeMethods(AxiosHeaders);\n\nexport default AxiosHeaders;\n","'use strict';\n\nimport utils from './../utils.js';\nimport defaults from '../defaults/index.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\n\n/**\n * Transform the data for a request or a response\n *\n * @param {Array|Function} fns A single function or Array of functions\n * @param {?Object} response The response object\n *\n * @returns {*} The resulting transformed data\n */\nexport default function transformData(fns, response) {\n const config = this || defaults;\n const context = response || config;\n const headers = AxiosHeaders.from(context.headers);\n let data = context.data;\n\n utils.forEach(fns, function transform(fn) {\n data = fn.call(config, data, headers.normalize(), response ? response.status : undefined);\n });\n\n headers.normalize();\n\n return data;\n}\n","'use strict';\n\nexport default function isCancel(value) {\n return !!(value && value.__CANCEL__);\n}\n","'use strict';\n\nimport AxiosError from '../core/AxiosError.js';\nimport utils from '../utils.js';\n\n/**\n * A `CanceledError` is an object that is thrown when an operation is canceled.\n *\n * @param {string=} message The message.\n * @param {Object=} config The config.\n * @param {Object=} request The request.\n *\n * @returns {CanceledError} The created error.\n */\nfunction CanceledError(message, config, request) {\n // eslint-disable-next-line no-eq-null,eqeqeq\n AxiosError.call(this, message == null ? 'canceled' : message, AxiosError.ERR_CANCELED, config, request);\n this.name = 'CanceledError';\n}\n\nutils.inherits(CanceledError, AxiosError, {\n __CANCEL__: true\n});\n\nexport default CanceledError;\n","'use strict';\n\nimport AxiosError from './AxiosError.js';\n\n/**\n * Resolve or reject a Promise based on response status.\n *\n * @param {Function} resolve A function that resolves the promise.\n * @param {Function} reject A function that rejects the promise.\n * @param {object} response The response.\n *\n * @returns {object} The response.\n */\nexport default function settle(resolve, reject, response) {\n const validateStatus = response.config.validateStatus;\n if (!response.status || !validateStatus || validateStatus(response.status)) {\n resolve(response);\n } else {\n reject(new AxiosError(\n 'Request failed with status code ' + response.status,\n [AxiosError.ERR_BAD_REQUEST, AxiosError.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4],\n response.config,\n response.request,\n response\n ));\n }\n}\n","'use strict';\n\nexport default function parseProtocol(url) {\n const match = /^([-+\\w]{1,25})(:?\\/\\/|:)/.exec(url);\n return match && match[1] || '';\n}\n","'use strict';\n\n/**\n * Calculate data maxRate\n * @param {Number} [samplesCount= 10]\n * @param {Number} [min= 1000]\n * @returns {Function}\n */\nfunction speedometer(samplesCount, min) {\n samplesCount = samplesCount || 10;\n const bytes = new Array(samplesCount);\n const timestamps = new Array(samplesCount);\n let head = 0;\n let tail = 0;\n let firstSampleTS;\n\n min = min !== undefined ? min : 1000;\n\n return function push(chunkLength) {\n const now = Date.now();\n\n const startedAt = timestamps[tail];\n\n if (!firstSampleTS) {\n firstSampleTS = now;\n }\n\n bytes[head] = chunkLength;\n timestamps[head] = now;\n\n let i = tail;\n let bytesCount = 0;\n\n while (i !== head) {\n bytesCount += bytes[i++];\n i = i % samplesCount;\n }\n\n head = (head + 1) % samplesCount;\n\n if (head === tail) {\n tail = (tail + 1) % samplesCount;\n }\n\n if (now - firstSampleTS < min) {\n return;\n }\n\n const passed = startedAt && now - startedAt;\n\n return passed ? Math.round(bytesCount * 1000 / passed) : undefined;\n };\n}\n\nexport default speedometer;\n","/**\n * Throttle decorator\n * @param {Function} fn\n * @param {Number} freq\n * @return {Function}\n */\nfunction throttle(fn, freq) {\n let timestamp = 0;\n let threshold = 1000 / freq;\n let lastArgs;\n let timer;\n\n const invoke = (args, now = Date.now()) => {\n timestamp = now;\n lastArgs = null;\n if (timer) {\n clearTimeout(timer);\n timer = null;\n }\n fn.apply(null, args);\n }\n\n const throttled = (...args) => {\n const now = Date.now();\n const passed = now - timestamp;\n if ( passed >= threshold) {\n invoke(args, now);\n } else {\n lastArgs = args;\n if (!timer) {\n timer = setTimeout(() => {\n timer = null;\n invoke(lastArgs)\n }, threshold - passed);\n }\n }\n }\n\n const flush = () => lastArgs && invoke(lastArgs);\n\n return [throttled, flush];\n}\n\nexport default throttle;\n","import speedometer from \"./speedometer.js\";\nimport throttle from \"./throttle.js\";\nimport utils from \"../utils.js\";\n\nexport const progressEventReducer = (listener, isDownloadStream, freq = 3) => {\n let bytesNotified = 0;\n const _speedometer = speedometer(50, 250);\n\n return throttle(e => {\n const loaded = e.loaded;\n const total = e.lengthComputable ? e.total : undefined;\n const progressBytes = loaded - bytesNotified;\n const rate = _speedometer(progressBytes);\n const inRange = loaded <= total;\n\n bytesNotified = loaded;\n\n const data = {\n loaded,\n total,\n progress: total ? (loaded / total) : undefined,\n bytes: progressBytes,\n rate: rate ? rate : undefined,\n estimated: rate && total && inRange ? (total - loaded) / rate : undefined,\n event: e,\n lengthComputable: total != null,\n [isDownloadStream ? 'download' : 'upload']: true\n };\n\n listener(data);\n }, freq);\n}\n\nexport const progressEventDecorator = (total, throttled) => {\n const lengthComputable = total != null;\n\n return [(loaded) => throttled[0]({\n lengthComputable,\n total,\n loaded\n }), throttled[1]];\n}\n\nexport const asyncDecorator = (fn) => (...args) => utils.asap(() => fn(...args));\n","import platform from '../platform/index.js';\n\nexport default platform.hasStandardBrowserEnv ? ((origin, isMSIE) => (url) => {\n url = new URL(url, platform.origin);\n\n return (\n origin.protocol === url.protocol &&\n origin.host === url.host &&\n (isMSIE || origin.port === url.port)\n );\n})(\n new URL(platform.origin),\n platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent)\n) : () => true;\n","import utils from './../utils.js';\nimport platform from '../platform/index.js';\n\nexport default platform.hasStandardBrowserEnv ?\n\n // Standard browser envs support document.cookie\n {\n write(name, value, expires, path, domain, secure) {\n const cookie = [name + '=' + encodeURIComponent(value)];\n\n utils.isNumber(expires) && cookie.push('expires=' + new Date(expires).toGMTString());\n\n utils.isString(path) && cookie.push('path=' + path);\n\n utils.isString(domain) && cookie.push('domain=' + domain);\n\n secure === true && cookie.push('secure');\n\n document.cookie = cookie.join('; ');\n },\n\n read(name) {\n const match = document.cookie.match(new RegExp('(^|;\\\\s*)(' + name + ')=([^;]*)'));\n return (match ? decodeURIComponent(match[3]) : null);\n },\n\n remove(name) {\n this.write(name, '', Date.now() - 86400000);\n }\n }\n\n :\n\n // Non-standard browser env (web workers, react-native) lack needed support.\n {\n write() {},\n read() {\n return null;\n },\n remove() {}\n };\n\n","'use strict';\n\n/**\n * Determines whether the specified URL is absolute\n *\n * @param {string} url The URL to test\n *\n * @returns {boolean} True if the specified URL is absolute, otherwise false\n */\nexport default function isAbsoluteURL(url) {\n // A URL is considered absolute if it begins with \"://\" or \"//\" (protocol-relative URL).\n // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed\n // by any combination of letters, digits, plus, period, or hyphen.\n return /^([a-z][a-z\\d+\\-.]*:)?\\/\\//i.test(url);\n}\n","'use strict';\n\n/**\n * Creates a new URL by combining the specified URLs\n *\n * @param {string} baseURL The base URL\n * @param {string} relativeURL The relative URL\n *\n * @returns {string} The combined URL\n */\nexport default function combineURLs(baseURL, relativeURL) {\n return relativeURL\n ? baseURL.replace(/\\/?\\/$/, '') + '/' + relativeURL.replace(/^\\/+/, '')\n : baseURL;\n}\n","'use strict';\n\nimport isAbsoluteURL from '../helpers/isAbsoluteURL.js';\nimport combineURLs from '../helpers/combineURLs.js';\n\n/**\n * Creates a new URL by combining the baseURL with the requestedURL,\n * only when the requestedURL is not already an absolute URL.\n * If the requestURL is absolute, this function returns the requestedURL untouched.\n *\n * @param {string} baseURL The base URL\n * @param {string} requestedURL Absolute or relative URL to combine\n *\n * @returns {string} The combined full path\n */\nexport default function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {\n let isRelativeUrl = !isAbsoluteURL(requestedURL);\n if (baseURL && isRelativeUrl || allowAbsoluteUrls == false) {\n return combineURLs(baseURL, requestedURL);\n }\n return requestedURL;\n}\n","'use strict';\n\nimport utils from '../utils.js';\nimport AxiosHeaders from \"./AxiosHeaders.js\";\n\nconst headersToObject = (thing) => thing instanceof AxiosHeaders ? { ...thing } : thing;\n\n/**\n * Config-specific merge-function which creates a new config-object\n * by merging two configuration objects together.\n *\n * @param {Object} config1\n * @param {Object} config2\n *\n * @returns {Object} New object resulting from merging config2 to config1\n */\nexport default function mergeConfig(config1, config2) {\n // eslint-disable-next-line no-param-reassign\n config2 = config2 || {};\n const config = {};\n\n function getMergedValue(target, source, prop, caseless) {\n if (utils.isPlainObject(target) && utils.isPlainObject(source)) {\n return utils.merge.call({caseless}, target, source);\n } else if (utils.isPlainObject(source)) {\n return utils.merge({}, source);\n } else if (utils.isArray(source)) {\n return source.slice();\n }\n return source;\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDeepProperties(a, b, prop , caseless) {\n if (!utils.isUndefined(b)) {\n return getMergedValue(a, b, prop , caseless);\n } else if (!utils.isUndefined(a)) {\n return getMergedValue(undefined, a, prop , caseless);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function valueFromConfig2(a, b) {\n if (!utils.isUndefined(b)) {\n return getMergedValue(undefined, b);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function defaultToConfig2(a, b) {\n if (!utils.isUndefined(b)) {\n return getMergedValue(undefined, b);\n } else if (!utils.isUndefined(a)) {\n return getMergedValue(undefined, a);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDirectKeys(a, b, prop) {\n if (prop in config2) {\n return getMergedValue(a, b);\n } else if (prop in config1) {\n return getMergedValue(undefined, a);\n }\n }\n\n const mergeMap = {\n url: valueFromConfig2,\n method: valueFromConfig2,\n data: valueFromConfig2,\n baseURL: defaultToConfig2,\n transformRequest: defaultToConfig2,\n transformResponse: defaultToConfig2,\n paramsSerializer: defaultToConfig2,\n timeout: defaultToConfig2,\n timeoutMessage: defaultToConfig2,\n withCredentials: defaultToConfig2,\n withXSRFToken: defaultToConfig2,\n adapter: defaultToConfig2,\n responseType: defaultToConfig2,\n xsrfCookieName: defaultToConfig2,\n xsrfHeaderName: defaultToConfig2,\n onUploadProgress: defaultToConfig2,\n onDownloadProgress: defaultToConfig2,\n decompress: defaultToConfig2,\n maxContentLength: defaultToConfig2,\n maxBodyLength: defaultToConfig2,\n beforeRedirect: defaultToConfig2,\n transport: defaultToConfig2,\n httpAgent: defaultToConfig2,\n httpsAgent: defaultToConfig2,\n cancelToken: defaultToConfig2,\n socketPath: defaultToConfig2,\n responseEncoding: defaultToConfig2,\n validateStatus: mergeDirectKeys,\n headers: (a, b , prop) => mergeDeepProperties(headersToObject(a), headersToObject(b),prop, true)\n };\n\n utils.forEach(Object.keys(Object.assign({}, config1, config2)), function computeConfigValue(prop) {\n const merge = mergeMap[prop] || mergeDeepProperties;\n const configValue = merge(config1[prop], config2[prop], prop);\n (utils.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);\n });\n\n return config;\n}\n","import platform from \"../platform/index.js\";\nimport utils from \"../utils.js\";\nimport isURLSameOrigin from \"./isURLSameOrigin.js\";\nimport cookies from \"./cookies.js\";\nimport buildFullPath from \"../core/buildFullPath.js\";\nimport mergeConfig from \"../core/mergeConfig.js\";\nimport AxiosHeaders from \"../core/AxiosHeaders.js\";\nimport buildURL from \"./buildURL.js\";\n\nexport default (config) => {\n const newConfig = mergeConfig({}, config);\n\n let {data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth} = newConfig;\n\n newConfig.headers = headers = AxiosHeaders.from(headers);\n\n newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url), config.params, config.paramsSerializer);\n\n // HTTP basic authentication\n if (auth) {\n headers.set('Authorization', 'Basic ' +\n btoa((auth.username || '') + ':' + (auth.password ? unescape(encodeURIComponent(auth.password)) : ''))\n );\n }\n\n let contentType;\n\n if (utils.isFormData(data)) {\n if (platform.hasStandardBrowserEnv || platform.hasStandardBrowserWebWorkerEnv) {\n headers.setContentType(undefined); // Let the browser set it\n } else if ((contentType = headers.getContentType()) !== false) {\n // fix semicolon duplication issue for ReactNative FormData implementation\n const [type, ...tokens] = contentType ? contentType.split(';').map(token => token.trim()).filter(Boolean) : [];\n headers.setContentType([type || 'multipart/form-data', ...tokens].join('; '));\n }\n }\n\n // Add xsrf header\n // This is only done if running in a standard browser environment.\n // Specifically not if we're in a web worker, or react-native.\n\n if (platform.hasStandardBrowserEnv) {\n withXSRFToken && utils.isFunction(withXSRFToken) && (withXSRFToken = withXSRFToken(newConfig));\n\n if (withXSRFToken || (withXSRFToken !== false && isURLSameOrigin(newConfig.url))) {\n // Add xsrf header\n const xsrfValue = xsrfHeaderName && xsrfCookieName && cookies.read(xsrfCookieName);\n\n if (xsrfValue) {\n headers.set(xsrfHeaderName, xsrfValue);\n }\n }\n }\n\n return newConfig;\n}\n\n","import utils from './../utils.js';\nimport settle from './../core/settle.js';\nimport transitionalDefaults from '../defaults/transitional.js';\nimport AxiosError from '../core/AxiosError.js';\nimport CanceledError from '../cancel/CanceledError.js';\nimport parseProtocol from '../helpers/parseProtocol.js';\nimport platform from '../platform/index.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\nimport {progressEventReducer} from '../helpers/progressEventReducer.js';\nimport resolveConfig from \"../helpers/resolveConfig.js\";\n\nconst isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';\n\nexport default isXHRAdapterSupported && function (config) {\n return new Promise(function dispatchXhrRequest(resolve, reject) {\n const _config = resolveConfig(config);\n let requestData = _config.data;\n const requestHeaders = AxiosHeaders.from(_config.headers).normalize();\n let {responseType, onUploadProgress, onDownloadProgress} = _config;\n let onCanceled;\n let uploadThrottled, downloadThrottled;\n let flushUpload, flushDownload;\n\n function done() {\n flushUpload && flushUpload(); // flush events\n flushDownload && flushDownload(); // flush events\n\n _config.cancelToken && _config.cancelToken.unsubscribe(onCanceled);\n\n _config.signal && _config.signal.removeEventListener('abort', onCanceled);\n }\n\n let request = new XMLHttpRequest();\n\n request.open(_config.method.toUpperCase(), _config.url, true);\n\n // Set the request timeout in MS\n request.timeout = _config.timeout;\n\n function onloadend() {\n if (!request) {\n return;\n }\n // Prepare the response\n const responseHeaders = AxiosHeaders.from(\n 'getAllResponseHeaders' in request && request.getAllResponseHeaders()\n );\n const responseData = !responseType || responseType === 'text' || responseType === 'json' ?\n request.responseText : request.response;\n const response = {\n data: responseData,\n status: request.status,\n statusText: request.statusText,\n headers: responseHeaders,\n config,\n request\n };\n\n settle(function _resolve(value) {\n resolve(value);\n done();\n }, function _reject(err) {\n reject(err);\n done();\n }, response);\n\n // Clean up request\n request = null;\n }\n\n if ('onloadend' in request) {\n // Use onloadend if available\n request.onloadend = onloadend;\n } else {\n // Listen for ready state to emulate onloadend\n request.onreadystatechange = function handleLoad() {\n if (!request || request.readyState !== 4) {\n return;\n }\n\n // The request errored out and we didn't get a response, this will be\n // handled by onerror instead\n // With one exception: request that using file: protocol, most browsers\n // will return status as 0 even though it's a successful request\n if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {\n return;\n }\n // readystate handler is calling before onerror or ontimeout handlers,\n // so we should call onloadend on the next 'tick'\n setTimeout(onloadend);\n };\n }\n\n // Handle browser request cancellation (as opposed to a manual cancellation)\n request.onabort = function handleAbort() {\n if (!request) {\n return;\n }\n\n reject(new AxiosError('Request aborted', AxiosError.ECONNABORTED, config, request));\n\n // Clean up request\n request = null;\n };\n\n // Handle low level network errors\n request.onerror = function handleError() {\n // Real errors are hidden from us by the browser\n // onerror should only fire if it's a network error\n reject(new AxiosError('Network Error', AxiosError.ERR_NETWORK, config, request));\n\n // Clean up request\n request = null;\n };\n\n // Handle timeout\n request.ontimeout = function handleTimeout() {\n let timeoutErrorMessage = _config.timeout ? 'timeout of ' + _config.timeout + 'ms exceeded' : 'timeout exceeded';\n const transitional = _config.transitional || transitionalDefaults;\n if (_config.timeoutErrorMessage) {\n timeoutErrorMessage = _config.timeoutErrorMessage;\n }\n reject(new AxiosError(\n timeoutErrorMessage,\n transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,\n config,\n request));\n\n // Clean up request\n request = null;\n };\n\n // Remove Content-Type if data is undefined\n requestData === undefined && requestHeaders.setContentType(null);\n\n // Add headers to the request\n if ('setRequestHeader' in request) {\n utils.forEach(requestHeaders.toJSON(), function setRequestHeader(val, key) {\n request.setRequestHeader(key, val);\n });\n }\n\n // Add withCredentials to request if needed\n if (!utils.isUndefined(_config.withCredentials)) {\n request.withCredentials = !!_config.withCredentials;\n }\n\n // Add responseType to request if needed\n if (responseType && responseType !== 'json') {\n request.responseType = _config.responseType;\n }\n\n // Handle progress if needed\n if (onDownloadProgress) {\n ([downloadThrottled, flushDownload] = progressEventReducer(onDownloadProgress, true));\n request.addEventListener('progress', downloadThrottled);\n }\n\n // Not all browsers support upload events\n if (onUploadProgress && request.upload) {\n ([uploadThrottled, flushUpload] = progressEventReducer(onUploadProgress));\n\n request.upload.addEventListener('progress', uploadThrottled);\n\n request.upload.addEventListener('loadend', flushUpload);\n }\n\n if (_config.cancelToken || _config.signal) {\n // Handle cancellation\n // eslint-disable-next-line func-names\n onCanceled = cancel => {\n if (!request) {\n return;\n }\n reject(!cancel || cancel.type ? new CanceledError(null, config, request) : cancel);\n request.abort();\n request = null;\n };\n\n _config.cancelToken && _config.cancelToken.subscribe(onCanceled);\n if (_config.signal) {\n _config.signal.aborted ? onCanceled() : _config.signal.addEventListener('abort', onCanceled);\n }\n }\n\n const protocol = parseProtocol(_config.url);\n\n if (protocol && platform.protocols.indexOf(protocol) === -1) {\n reject(new AxiosError('Unsupported protocol ' + protocol + ':', AxiosError.ERR_BAD_REQUEST, config));\n return;\n }\n\n\n // Send the request\n request.send(requestData || null);\n });\n}\n","import CanceledError from \"../cancel/CanceledError.js\";\nimport AxiosError from \"../core/AxiosError.js\";\nimport utils from '../utils.js';\n\nconst composeSignals = (signals, timeout) => {\n const {length} = (signals = signals ? signals.filter(Boolean) : []);\n\n if (timeout || length) {\n let controller = new AbortController();\n\n let aborted;\n\n const onabort = function (reason) {\n if (!aborted) {\n aborted = true;\n unsubscribe();\n const err = reason instanceof Error ? reason : this.reason;\n controller.abort(err instanceof AxiosError ? err : new CanceledError(err instanceof Error ? err.message : err));\n }\n }\n\n let timer = timeout && setTimeout(() => {\n timer = null;\n onabort(new AxiosError(`timeout ${timeout} of ms exceeded`, AxiosError.ETIMEDOUT))\n }, timeout)\n\n const unsubscribe = () => {\n if (signals) {\n timer && clearTimeout(timer);\n timer = null;\n signals.forEach(signal => {\n signal.unsubscribe ? signal.unsubscribe(onabort) : signal.removeEventListener('abort', onabort);\n });\n signals = null;\n }\n }\n\n signals.forEach((signal) => signal.addEventListener('abort', onabort));\n\n const {signal} = controller;\n\n signal.unsubscribe = () => utils.asap(unsubscribe);\n\n return signal;\n }\n}\n\nexport default composeSignals;\n","\nexport const streamChunk = function* (chunk, chunkSize) {\n let len = chunk.byteLength;\n\n if (!chunkSize || len < chunkSize) {\n yield chunk;\n return;\n }\n\n let pos = 0;\n let end;\n\n while (pos < len) {\n end = pos + chunkSize;\n yield chunk.slice(pos, end);\n pos = end;\n }\n}\n\nexport const readBytes = async function* (iterable, chunkSize) {\n for await (const chunk of readStream(iterable)) {\n yield* streamChunk(chunk, chunkSize);\n }\n}\n\nconst readStream = async function* (stream) {\n if (stream[Symbol.asyncIterator]) {\n yield* stream;\n return;\n }\n\n const reader = stream.getReader();\n try {\n for (;;) {\n const {done, value} = await reader.read();\n if (done) {\n break;\n }\n yield value;\n }\n } finally {\n await reader.cancel();\n }\n}\n\nexport const trackStream = (stream, chunkSize, onProgress, onFinish) => {\n const iterator = readBytes(stream, chunkSize);\n\n let bytes = 0;\n let done;\n let _onFinish = (e) => {\n if (!done) {\n done = true;\n onFinish && onFinish(e);\n }\n }\n\n return new ReadableStream({\n async pull(controller) {\n try {\n const {done, value} = await iterator.next();\n\n if (done) {\n _onFinish();\n controller.close();\n return;\n }\n\n let len = value.byteLength;\n if (onProgress) {\n let loadedBytes = bytes += len;\n onProgress(loadedBytes);\n }\n controller.enqueue(new Uint8Array(value));\n } catch (err) {\n _onFinish(err);\n throw err;\n }\n },\n cancel(reason) {\n _onFinish(reason);\n return iterator.return();\n }\n }, {\n highWaterMark: 2\n })\n}\n","import platform from \"../platform/index.js\";\nimport utils from \"../utils.js\";\nimport AxiosError from \"../core/AxiosError.js\";\nimport composeSignals from \"../helpers/composeSignals.js\";\nimport {trackStream} from \"../helpers/trackStream.js\";\nimport AxiosHeaders from \"../core/AxiosHeaders.js\";\nimport {progressEventReducer, progressEventDecorator, asyncDecorator} from \"../helpers/progressEventReducer.js\";\nimport resolveConfig from \"../helpers/resolveConfig.js\";\nimport settle from \"../core/settle.js\";\n\nconst isFetchSupported = typeof fetch === 'function' && typeof Request === 'function' && typeof Response === 'function';\nconst isReadableStreamSupported = isFetchSupported && typeof ReadableStream === 'function';\n\n// used only inside the fetch adapter\nconst encodeText = isFetchSupported && (typeof TextEncoder === 'function' ?\n ((encoder) => (str) => encoder.encode(str))(new TextEncoder()) :\n async (str) => new Uint8Array(await new Response(str).arrayBuffer())\n);\n\nconst test = (fn, ...args) => {\n try {\n return !!fn(...args);\n } catch (e) {\n return false\n }\n}\n\nconst supportsRequestStream = isReadableStreamSupported && test(() => {\n let duplexAccessed = false;\n\n const hasContentType = new Request(platform.origin, {\n body: new ReadableStream(),\n method: 'POST',\n get duplex() {\n duplexAccessed = true;\n return 'half';\n },\n }).headers.has('Content-Type');\n\n return duplexAccessed && !hasContentType;\n});\n\nconst DEFAULT_CHUNK_SIZE = 64 * 1024;\n\nconst supportsResponseStream = isReadableStreamSupported &&\n test(() => utils.isReadableStream(new Response('').body));\n\n\nconst resolvers = {\n stream: supportsResponseStream && ((res) => res.body)\n};\n\nisFetchSupported && (((res) => {\n ['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach(type => {\n !resolvers[type] && (resolvers[type] = utils.isFunction(res[type]) ? (res) => res[type]() :\n (_, config) => {\n throw new AxiosError(`Response type '${type}' is not supported`, AxiosError.ERR_NOT_SUPPORT, config);\n })\n });\n})(new Response));\n\nconst getBodyLength = async (body) => {\n if (body == null) {\n return 0;\n }\n\n if(utils.isBlob(body)) {\n return body.size;\n }\n\n if(utils.isSpecCompliantForm(body)) {\n const _request = new Request(platform.origin, {\n method: 'POST',\n body,\n });\n return (await _request.arrayBuffer()).byteLength;\n }\n\n if(utils.isArrayBufferView(body) || utils.isArrayBuffer(body)) {\n return body.byteLength;\n }\n\n if(utils.isURLSearchParams(body)) {\n body = body + '';\n }\n\n if(utils.isString(body)) {\n return (await encodeText(body)).byteLength;\n }\n}\n\nconst resolveBodyLength = async (headers, body) => {\n const length = utils.toFiniteNumber(headers.getContentLength());\n\n return length == null ? getBodyLength(body) : length;\n}\n\nexport default isFetchSupported && (async (config) => {\n let {\n url,\n method,\n data,\n signal,\n cancelToken,\n timeout,\n onDownloadProgress,\n onUploadProgress,\n responseType,\n headers,\n withCredentials = 'same-origin',\n fetchOptions\n } = resolveConfig(config);\n\n responseType = responseType ? (responseType + '').toLowerCase() : 'text';\n\n let composedSignal = composeSignals([signal, cancelToken && cancelToken.toAbortSignal()], timeout);\n\n let request;\n\n const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {\n composedSignal.unsubscribe();\n });\n\n let requestContentLength;\n\n try {\n if (\n onUploadProgress && supportsRequestStream && method !== 'get' && method !== 'head' &&\n (requestContentLength = await resolveBodyLength(headers, data)) !== 0\n ) {\n let _request = new Request(url, {\n method: 'POST',\n body: data,\n duplex: \"half\"\n });\n\n let contentTypeHeader;\n\n if (utils.isFormData(data) && (contentTypeHeader = _request.headers.get('content-type'))) {\n headers.setContentType(contentTypeHeader)\n }\n\n if (_request.body) {\n const [onProgress, flush] = progressEventDecorator(\n requestContentLength,\n progressEventReducer(asyncDecorator(onUploadProgress))\n );\n\n data = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);\n }\n }\n\n if (!utils.isString(withCredentials)) {\n withCredentials = withCredentials ? 'include' : 'omit';\n }\n\n // Cloudflare Workers throws when credentials are defined\n // see https://github.com/cloudflare/workerd/issues/902\n const isCredentialsSupported = \"credentials\" in Request.prototype;\n request = new Request(url, {\n ...fetchOptions,\n signal: composedSignal,\n method: method.toUpperCase(),\n headers: headers.normalize().toJSON(),\n body: data,\n duplex: \"half\",\n credentials: isCredentialsSupported ? withCredentials : undefined\n });\n\n let response = await fetch(request);\n\n const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');\n\n if (supportsResponseStream && (onDownloadProgress || (isStreamResponse && unsubscribe))) {\n const options = {};\n\n ['status', 'statusText', 'headers'].forEach(prop => {\n options[prop] = response[prop];\n });\n\n const responseContentLength = utils.toFiniteNumber(response.headers.get('content-length'));\n\n const [onProgress, flush] = onDownloadProgress && progressEventDecorator(\n responseContentLength,\n progressEventReducer(asyncDecorator(onDownloadProgress), true)\n ) || [];\n\n response = new Response(\n trackStream(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {\n flush && flush();\n unsubscribe && unsubscribe();\n }),\n options\n );\n }\n\n responseType = responseType || 'text';\n\n let responseData = await resolvers[utils.findKey(resolvers, responseType) || 'text'](response, config);\n\n !isStreamResponse && unsubscribe && unsubscribe();\n\n return await new Promise((resolve, reject) => {\n settle(resolve, reject, {\n data: responseData,\n headers: AxiosHeaders.from(response.headers),\n status: response.status,\n statusText: response.statusText,\n config,\n request\n })\n })\n } catch (err) {\n unsubscribe && unsubscribe();\n\n if (err && err.name === 'TypeError' && /fetch/i.test(err.message)) {\n throw Object.assign(\n new AxiosError('Network Error', AxiosError.ERR_NETWORK, config, request),\n {\n cause: err.cause || err\n }\n )\n }\n\n throw AxiosError.from(err, err && err.code, config, request);\n }\n});\n\n\n","import utils from '../utils.js';\nimport httpAdapter from './http.js';\nimport xhrAdapter from './xhr.js';\nimport fetchAdapter from './fetch.js';\nimport AxiosError from \"../core/AxiosError.js\";\n\nconst knownAdapters = {\n http: httpAdapter,\n xhr: xhrAdapter,\n fetch: fetchAdapter\n}\n\nutils.forEach(knownAdapters, (fn, value) => {\n if (fn) {\n try {\n Object.defineProperty(fn, 'name', {value});\n } catch (e) {\n // eslint-disable-next-line no-empty\n }\n Object.defineProperty(fn, 'adapterName', {value});\n }\n});\n\nconst renderReason = (reason) => `- ${reason}`;\n\nconst isResolvedHandle = (adapter) => utils.isFunction(adapter) || adapter === null || adapter === false;\n\nexport default {\n getAdapter: (adapters) => {\n adapters = utils.isArray(adapters) ? adapters : [adapters];\n\n const {length} = adapters;\n let nameOrAdapter;\n let adapter;\n\n const rejectedReasons = {};\n\n for (let i = 0; i < length; i++) {\n nameOrAdapter = adapters[i];\n let id;\n\n adapter = nameOrAdapter;\n\n if (!isResolvedHandle(nameOrAdapter)) {\n adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];\n\n if (adapter === undefined) {\n throw new AxiosError(`Unknown adapter '${id}'`);\n }\n }\n\n if (adapter) {\n break;\n }\n\n rejectedReasons[id || '#' + i] = adapter;\n }\n\n if (!adapter) {\n\n const reasons = Object.entries(rejectedReasons)\n .map(([id, state]) => `adapter ${id} ` +\n (state === false ? 'is not supported by the environment' : 'is not available in the build')\n );\n\n let s = length ?\n (reasons.length > 1 ? 'since :\\n' + reasons.map(renderReason).join('\\n') : ' ' + renderReason(reasons[0])) :\n 'as no adapter specified';\n\n throw new AxiosError(\n `There is no suitable adapter to dispatch the request ` + s,\n 'ERR_NOT_SUPPORT'\n );\n }\n\n return adapter;\n },\n adapters: knownAdapters\n}\n","'use strict';\n\nimport transformData from './transformData.js';\nimport isCancel from '../cancel/isCancel.js';\nimport defaults from '../defaults/index.js';\nimport CanceledError from '../cancel/CanceledError.js';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\nimport adapters from \"../adapters/adapters.js\";\n\n/**\n * Throws a `CanceledError` if cancellation has been requested.\n *\n * @param {Object} config The config that is to be used for the request\n *\n * @returns {void}\n */\nfunction throwIfCancellationRequested(config) {\n if (config.cancelToken) {\n config.cancelToken.throwIfRequested();\n }\n\n if (config.signal && config.signal.aborted) {\n throw new CanceledError(null, config);\n }\n}\n\n/**\n * Dispatch a request to the server using the configured adapter.\n *\n * @param {object} config The config that is to be used for the request\n *\n * @returns {Promise} The Promise to be fulfilled\n */\nexport default function dispatchRequest(config) {\n throwIfCancellationRequested(config);\n\n config.headers = AxiosHeaders.from(config.headers);\n\n // Transform request data\n config.data = transformData.call(\n config,\n config.transformRequest\n );\n\n if (['post', 'put', 'patch'].indexOf(config.method) !== -1) {\n config.headers.setContentType('application/x-www-form-urlencoded', false);\n }\n\n const adapter = adapters.getAdapter(config.adapter || defaults.adapter);\n\n return adapter(config).then(function onAdapterResolution(response) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n response.data = transformData.call(\n config,\n config.transformResponse,\n response\n );\n\n response.headers = AxiosHeaders.from(response.headers);\n\n return response;\n }, function onAdapterRejection(reason) {\n if (!isCancel(reason)) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n if (reason && reason.response) {\n reason.response.data = transformData.call(\n config,\n config.transformResponse,\n reason.response\n );\n reason.response.headers = AxiosHeaders.from(reason.response.headers);\n }\n }\n\n return Promise.reject(reason);\n });\n}\n","export const VERSION = \"1.8.1\";","'use strict';\n\nimport {VERSION} from '../env/data.js';\nimport AxiosError from '../core/AxiosError.js';\n\nconst validators = {};\n\n// eslint-disable-next-line func-names\n['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach((type, i) => {\n validators[type] = function validator(thing) {\n return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;\n };\n});\n\nconst deprecatedWarnings = {};\n\n/**\n * Transitional option validator\n *\n * @param {function|boolean?} validator - set to false if the transitional option has been removed\n * @param {string?} version - deprecated version / removed since version\n * @param {string?} message - some message with additional info\n *\n * @returns {function}\n */\nvalidators.transitional = function transitional(validator, version, message) {\n function formatMessage(opt, desc) {\n return '[Axios v' + VERSION + '] Transitional option \\'' + opt + '\\'' + desc + (message ? '. ' + message : '');\n }\n\n // eslint-disable-next-line func-names\n return (value, opt, opts) => {\n if (validator === false) {\n throw new AxiosError(\n formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')),\n AxiosError.ERR_DEPRECATED\n );\n }\n\n if (version && !deprecatedWarnings[opt]) {\n deprecatedWarnings[opt] = true;\n // eslint-disable-next-line no-console\n console.warn(\n formatMessage(\n opt,\n ' has been deprecated since v' + version + ' and will be removed in the near future'\n )\n );\n }\n\n return validator ? validator(value, opt, opts) : true;\n };\n};\n\nvalidators.spelling = function spelling(correctSpelling) {\n return (value, opt) => {\n // eslint-disable-next-line no-console\n console.warn(`${opt} is likely a misspelling of ${correctSpelling}`);\n return true;\n }\n};\n\n/**\n * Assert object's properties type\n *\n * @param {object} options\n * @param {object} schema\n * @param {boolean?} allowUnknown\n *\n * @returns {object}\n */\n\nfunction assertOptions(options, schema, allowUnknown) {\n if (typeof options !== 'object') {\n throw new AxiosError('options must be an object', AxiosError.ERR_BAD_OPTION_VALUE);\n }\n const keys = Object.keys(options);\n let i = keys.length;\n while (i-- > 0) {\n const opt = keys[i];\n const validator = schema[opt];\n if (validator) {\n const value = options[opt];\n const result = value === undefined || validator(value, opt, options);\n if (result !== true) {\n throw new AxiosError('option ' + opt + ' must be ' + result, AxiosError.ERR_BAD_OPTION_VALUE);\n }\n continue;\n }\n if (allowUnknown !== true) {\n throw new AxiosError('Unknown option ' + opt, AxiosError.ERR_BAD_OPTION);\n }\n }\n}\n\nexport default {\n assertOptions,\n validators\n};\n","'use strict';\n\nimport utils from './../utils.js';\nimport buildURL from '../helpers/buildURL.js';\nimport InterceptorManager from './InterceptorManager.js';\nimport dispatchRequest from './dispatchRequest.js';\nimport mergeConfig from './mergeConfig.js';\nimport buildFullPath from './buildFullPath.js';\nimport validator from '../helpers/validator.js';\nimport AxiosHeaders from './AxiosHeaders.js';\n\nconst validators = validator.validators;\n\n/**\n * Create a new instance of Axios\n *\n * @param {Object} instanceConfig The default config for the instance\n *\n * @return {Axios} A new instance of Axios\n */\nclass Axios {\n constructor(instanceConfig) {\n this.defaults = instanceConfig;\n this.interceptors = {\n request: new InterceptorManager(),\n response: new InterceptorManager()\n };\n }\n\n /**\n * Dispatch a request\n *\n * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults)\n * @param {?Object} config\n *\n * @returns {Promise} The Promise to be fulfilled\n */\n async request(configOrUrl, config) {\n try {\n return await this._request(configOrUrl, config);\n } catch (err) {\n if (err instanceof Error) {\n let dummy = {};\n\n Error.captureStackTrace ? Error.captureStackTrace(dummy) : (dummy = new Error());\n\n // slice off the Error: ... line\n const stack = dummy.stack ? dummy.stack.replace(/^.+\\n/, '') : '';\n try {\n if (!err.stack) {\n err.stack = stack;\n // match without the 2 top stack lines\n } else if (stack && !String(err.stack).endsWith(stack.replace(/^.+\\n.+\\n/, ''))) {\n err.stack += '\\n' + stack\n }\n } catch (e) {\n // ignore the case where \"stack\" is an un-writable property\n }\n }\n\n throw err;\n }\n }\n\n _request(configOrUrl, config) {\n /*eslint no-param-reassign:0*/\n // Allow for axios('example/url'[, config]) a la fetch API\n if (typeof configOrUrl === 'string') {\n config = config || {};\n config.url = configOrUrl;\n } else {\n config = configOrUrl || {};\n }\n\n config = mergeConfig(this.defaults, config);\n\n const {transitional, paramsSerializer, headers} = config;\n\n if (transitional !== undefined) {\n validator.assertOptions(transitional, {\n silentJSONParsing: validators.transitional(validators.boolean),\n forcedJSONParsing: validators.transitional(validators.boolean),\n clarifyTimeoutError: validators.transitional(validators.boolean)\n }, false);\n }\n\n if (paramsSerializer != null) {\n if (utils.isFunction(paramsSerializer)) {\n config.paramsSerializer = {\n serialize: paramsSerializer\n }\n } else {\n validator.assertOptions(paramsSerializer, {\n encode: validators.function,\n serialize: validators.function\n }, true);\n }\n }\n\n // Set config.allowAbsoluteUrls\n if (config.allowAbsoluteUrls !== undefined) {\n // do nothing\n } else if (this.defaults.allowAbsoluteUrls !== undefined) {\n config.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls;\n } else {\n config.allowAbsoluteUrls = true;\n }\n\n validator.assertOptions(config, {\n baseUrl: validators.spelling('baseURL'),\n withXsrfToken: validators.spelling('withXSRFToken')\n }, true);\n\n // Set config.method\n config.method = (config.method || this.defaults.method || 'get').toLowerCase();\n\n // Flatten headers\n let contextHeaders = headers && utils.merge(\n headers.common,\n headers[config.method]\n );\n\n headers && utils.forEach(\n ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],\n (method) => {\n delete headers[method];\n }\n );\n\n config.headers = AxiosHeaders.concat(contextHeaders, headers);\n\n // filter out skipped interceptors\n const requestInterceptorChain = [];\n let synchronousRequestInterceptors = true;\n this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {\n if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {\n return;\n }\n\n synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;\n\n requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);\n });\n\n const responseInterceptorChain = [];\n this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {\n responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);\n });\n\n let promise;\n let i = 0;\n let len;\n\n if (!synchronousRequestInterceptors) {\n const chain = [dispatchRequest.bind(this), undefined];\n chain.unshift.apply(chain, requestInterceptorChain);\n chain.push.apply(chain, responseInterceptorChain);\n len = chain.length;\n\n promise = Promise.resolve(config);\n\n while (i < len) {\n promise = promise.then(chain[i++], chain[i++]);\n }\n\n return promise;\n }\n\n len = requestInterceptorChain.length;\n\n let newConfig = config;\n\n i = 0;\n\n while (i < len) {\n const onFulfilled = requestInterceptorChain[i++];\n const onRejected = requestInterceptorChain[i++];\n try {\n newConfig = onFulfilled(newConfig);\n } catch (error) {\n onRejected.call(this, error);\n break;\n }\n }\n\n try {\n promise = dispatchRequest.call(this, newConfig);\n } catch (error) {\n return Promise.reject(error);\n }\n\n i = 0;\n len = responseInterceptorChain.length;\n\n while (i < len) {\n promise = promise.then(responseInterceptorChain[i++], responseInterceptorChain[i++]);\n }\n\n return promise;\n }\n\n getUri(config) {\n config = mergeConfig(this.defaults, config);\n const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);\n return buildURL(fullPath, config.params, config.paramsSerializer);\n }\n}\n\n// Provide aliases for supported request methods\nutils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, config) {\n return this.request(mergeConfig(config || {}, {\n method,\n url,\n data: (config || {}).data\n }));\n };\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n /*eslint func-names:0*/\n\n function generateHTTPMethod(isForm) {\n return function httpMethod(url, data, config) {\n return this.request(mergeConfig(config || {}, {\n method,\n headers: isForm ? {\n 'Content-Type': 'multipart/form-data'\n } : {},\n url,\n data\n }));\n };\n }\n\n Axios.prototype[method] = generateHTTPMethod();\n\n Axios.prototype[method + 'Form'] = generateHTTPMethod(true);\n});\n\nexport default Axios;\n","'use strict';\n\nimport CanceledError from './CanceledError.js';\n\n/**\n * A `CancelToken` is an object that can be used to request cancellation of an operation.\n *\n * @param {Function} executor The executor function.\n *\n * @returns {CancelToken}\n */\nclass CancelToken {\n constructor(executor) {\n if (typeof executor !== 'function') {\n throw new TypeError('executor must be a function.');\n }\n\n let resolvePromise;\n\n this.promise = new Promise(function promiseExecutor(resolve) {\n resolvePromise = resolve;\n });\n\n const token = this;\n\n // eslint-disable-next-line func-names\n this.promise.then(cancel => {\n if (!token._listeners) return;\n\n let i = token._listeners.length;\n\n while (i-- > 0) {\n token._listeners[i](cancel);\n }\n token._listeners = null;\n });\n\n // eslint-disable-next-line func-names\n this.promise.then = onfulfilled => {\n let _resolve;\n // eslint-disable-next-line func-names\n const promise = new Promise(resolve => {\n token.subscribe(resolve);\n _resolve = resolve;\n }).then(onfulfilled);\n\n promise.cancel = function reject() {\n token.unsubscribe(_resolve);\n };\n\n return promise;\n };\n\n executor(function cancel(message, config, request) {\n if (token.reason) {\n // Cancellation has already been requested\n return;\n }\n\n token.reason = new CanceledError(message, config, request);\n resolvePromise(token.reason);\n });\n }\n\n /**\n * Throws a `CanceledError` if cancellation has been requested.\n */\n throwIfRequested() {\n if (this.reason) {\n throw this.reason;\n }\n }\n\n /**\n * Subscribe to the cancel signal\n */\n\n subscribe(listener) {\n if (this.reason) {\n listener(this.reason);\n return;\n }\n\n if (this._listeners) {\n this._listeners.push(listener);\n } else {\n this._listeners = [listener];\n }\n }\n\n /**\n * Unsubscribe from the cancel signal\n */\n\n unsubscribe(listener) {\n if (!this._listeners) {\n return;\n }\n const index = this._listeners.indexOf(listener);\n if (index !== -1) {\n this._listeners.splice(index, 1);\n }\n }\n\n toAbortSignal() {\n const controller = new AbortController();\n\n const abort = (err) => {\n controller.abort(err);\n };\n\n this.subscribe(abort);\n\n controller.signal.unsubscribe = () => this.unsubscribe(abort);\n\n return controller.signal;\n }\n\n /**\n * Returns an object that contains a new `CancelToken` and a function that, when called,\n * cancels the `CancelToken`.\n */\n static source() {\n let cancel;\n const token = new CancelToken(function executor(c) {\n cancel = c;\n });\n return {\n token,\n cancel\n };\n }\n}\n\nexport default CancelToken;\n","'use strict';\n\n/**\n * Syntactic sugar for invoking a function and expanding an array for arguments.\n *\n * Common use case would be to use `Function.prototype.apply`.\n *\n * ```js\n * function f(x, y, z) {}\n * var args = [1, 2, 3];\n * f.apply(null, args);\n * ```\n *\n * With `spread` this example can be re-written.\n *\n * ```js\n * spread(function(x, y, z) {})([1, 2, 3]);\n * ```\n *\n * @param {Function} callback\n *\n * @returns {Function}\n */\nexport default function spread(callback) {\n return function wrap(arr) {\n return callback.apply(null, arr);\n };\n}\n","'use strict';\n\nimport utils from './../utils.js';\n\n/**\n * Determines whether the payload is an error thrown by Axios\n *\n * @param {*} payload The value to test\n *\n * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false\n */\nexport default function isAxiosError(payload) {\n return utils.isObject(payload) && (payload.isAxiosError === true);\n}\n","const HttpStatusCode = {\n Continue: 100,\n SwitchingProtocols: 101,\n Processing: 102,\n EarlyHints: 103,\n Ok: 200,\n Created: 201,\n Accepted: 202,\n NonAuthoritativeInformation: 203,\n NoContent: 204,\n ResetContent: 205,\n PartialContent: 206,\n MultiStatus: 207,\n AlreadyReported: 208,\n ImUsed: 226,\n MultipleChoices: 300,\n MovedPermanently: 301,\n Found: 302,\n SeeOther: 303,\n NotModified: 304,\n UseProxy: 305,\n Unused: 306,\n TemporaryRedirect: 307,\n PermanentRedirect: 308,\n BadRequest: 400,\n Unauthorized: 401,\n PaymentRequired: 402,\n Forbidden: 403,\n NotFound: 404,\n MethodNotAllowed: 405,\n NotAcceptable: 406,\n ProxyAuthenticationRequired: 407,\n RequestTimeout: 408,\n Conflict: 409,\n Gone: 410,\n LengthRequired: 411,\n PreconditionFailed: 412,\n PayloadTooLarge: 413,\n UriTooLong: 414,\n UnsupportedMediaType: 415,\n RangeNotSatisfiable: 416,\n ExpectationFailed: 417,\n ImATeapot: 418,\n MisdirectedRequest: 421,\n UnprocessableEntity: 422,\n Locked: 423,\n FailedDependency: 424,\n TooEarly: 425,\n UpgradeRequired: 426,\n PreconditionRequired: 428,\n TooManyRequests: 429,\n RequestHeaderFieldsTooLarge: 431,\n UnavailableForLegalReasons: 451,\n InternalServerError: 500,\n NotImplemented: 501,\n BadGateway: 502,\n ServiceUnavailable: 503,\n GatewayTimeout: 504,\n HttpVersionNotSupported: 505,\n VariantAlsoNegotiates: 506,\n InsufficientStorage: 507,\n LoopDetected: 508,\n NotExtended: 510,\n NetworkAuthenticationRequired: 511,\n};\n\nObject.entries(HttpStatusCode).forEach(([key, value]) => {\n HttpStatusCode[value] = key;\n});\n\nexport default HttpStatusCode;\n","'use strict';\n\nimport utils from './utils.js';\nimport bind from './helpers/bind.js';\nimport Axios from './core/Axios.js';\nimport mergeConfig from './core/mergeConfig.js';\nimport defaults from './defaults/index.js';\nimport formDataToJSON from './helpers/formDataToJSON.js';\nimport CanceledError from './cancel/CanceledError.js';\nimport CancelToken from './cancel/CancelToken.js';\nimport isCancel from './cancel/isCancel.js';\nimport {VERSION} from './env/data.js';\nimport toFormData from './helpers/toFormData.js';\nimport AxiosError from './core/AxiosError.js';\nimport spread from './helpers/spread.js';\nimport isAxiosError from './helpers/isAxiosError.js';\nimport AxiosHeaders from \"./core/AxiosHeaders.js\";\nimport adapters from './adapters/adapters.js';\nimport HttpStatusCode from './helpers/HttpStatusCode.js';\n\n/**\n * Create an instance of Axios\n *\n * @param {Object} defaultConfig The default config for the instance\n *\n * @returns {Axios} A new instance of Axios\n */\nfunction createInstance(defaultConfig) {\n const context = new Axios(defaultConfig);\n const instance = bind(Axios.prototype.request, context);\n\n // Copy axios.prototype to instance\n utils.extend(instance, Axios.prototype, context, {allOwnKeys: true});\n\n // Copy context to instance\n utils.extend(instance, context, null, {allOwnKeys: true});\n\n // Factory for creating new instances\n instance.create = function create(instanceConfig) {\n return createInstance(mergeConfig(defaultConfig, instanceConfig));\n };\n\n return instance;\n}\n\n// Create the default instance to be exported\nconst axios = createInstance(defaults);\n\n// Expose Axios class to allow class inheritance\naxios.Axios = Axios;\n\n// Expose Cancel & CancelToken\naxios.CanceledError = CanceledError;\naxios.CancelToken = CancelToken;\naxios.isCancel = isCancel;\naxios.VERSION = VERSION;\naxios.toFormData = toFormData;\n\n// Expose AxiosError class\naxios.AxiosError = AxiosError;\n\n// alias for CanceledError for backward compatibility\naxios.Cancel = axios.CanceledError;\n\n// Expose all/spread\naxios.all = function all(promises) {\n return Promise.all(promises);\n};\n\naxios.spread = spread;\n\n// Expose isAxiosError\naxios.isAxiosError = isAxiosError;\n\n// Expose mergeConfig\naxios.mergeConfig = mergeConfig;\n\naxios.AxiosHeaders = AxiosHeaders;\n\naxios.formToJSON = thing => formDataToJSON(utils.isHTMLForm(thing) ? new FormData(thing) : thing);\n\naxios.getAdapter = adapters.getAdapter;\n\naxios.HttpStatusCode = HttpStatusCode;\n\naxios.default = axios;\n\n// this module should only have a default export\nexport default axios\n","import axios from './lib/axios.js';\n\n// This module is intended to unwrap Axios default export as named.\n// Keep top-level export same with static properties\n// so that it can keep same with es module or cjs\nconst {\n Axios,\n AxiosError,\n CanceledError,\n isCancel,\n CancelToken,\n VERSION,\n all,\n Cancel,\n isAxiosError,\n spread,\n toFormData,\n AxiosHeaders,\n HttpStatusCode,\n formToJSON,\n getAdapter,\n mergeConfig\n} = axios;\n\nexport {\n axios as default,\n Axios,\n AxiosError,\n CanceledError,\n isCancel,\n CancelToken,\n VERSION,\n all,\n Cancel,\n isAxiosError,\n spread,\n toFormData,\n AxiosHeaders,\n HttpStatusCode,\n formToJSON,\n getAdapter,\n mergeConfig\n}\n","function _typeof(e){return _typeof=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},_typeof(e)}function plugin(e,n){if(!e.vueAxiosInstalled){var o=isAxiosLike(n)?migrateToMultipleInstances(n):n;if(isValidConfig(o)){var t=getVueVersion(e);if(t){var i=t<3?registerOnVue2:registerOnVue3;Object.keys(o).forEach((function(n){i(e,n,o[n])})),e.vueAxiosInstalled=!0}else console.error(\"[vue-axios] unknown Vue version\")}else console.error(\"[vue-axios] configuration is invalid, expected options are either or { : }\")}}function registerOnVue2(e,n,o){Object.defineProperty(e.prototype,n,{get:function(){return o}}),e[n]=o}function registerOnVue3(e,n,o){e.config.globalProperties[n]=o,e[n]=o}function isAxiosLike(e){return e&&\"function\"==typeof e.get&&\"function\"==typeof e.post}function migrateToMultipleInstances(e){return{axios:e,$http:e}}function isValidConfig(e){return\"object\"===_typeof(e)&&Object.keys(e).every((function(n){return isAxiosLike(e[n])}))}function getVueVersion(e){return e&&e.version&&Number(e.version.split(\".\")[0])}\"object\"==(\"undefined\"==typeof exports?\"undefined\":_typeof(exports))?module.exports=plugin:\"function\"==typeof define&&define.amd?define([],(function(){return plugin})):window.Vue&&window.axios&&window.Vue.use&&Vue.use(plugin,window.axios);export{plugin as default};","/* tslint:disable */\n/* eslint-disable */\n/**\n * Thynk Direct API\n * The API for managing reservation for [Thynk Direct](https://thynk.cloud/).\n *\n * The version of the OpenAPI document: 4.20.16\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nimport type { Configuration } from './configuration';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';\nimport globalAxios from 'axios';\n\nexport const BASE_PATH = \"http://localhost\".replace(/\\/+$/, \"\");\n\n/**\n *\n * @export\n */\nexport const COLLECTION_FORMATS = {\n csv: \",\",\n ssv: \" \",\n tsv: \"\\t\",\n pipes: \"|\",\n};\n\n/**\n *\n * @export\n * @interface RequestArgs\n */\nexport interface RequestArgs {\n url: string;\n options: AxiosRequestConfig;\n}\n\n/**\n *\n * @export\n * @class BaseAPI\n */\nexport class BaseAPI {\n protected configuration: Configuration | undefined;\n\n constructor(configuration?: Configuration, protected basePath: string = BASE_PATH, protected axios: AxiosInstance = globalAxios) {\n if (configuration) {\n this.configuration = configuration;\n this.basePath = configuration.basePath ?? basePath;\n }\n }\n};\n\n/**\n *\n * @export\n * @class RequiredError\n * @extends {Error}\n */\nexport class RequiredError extends Error {\n constructor(public field: string, msg?: string) {\n super(msg);\n this.name = \"RequiredError\"\n }\n}\n\ninterface ServerMap {\n [key: string]: {\n url: string,\n description: string,\n }[];\n}\n\n/**\n *\n * @export\n */\nexport const operationServerMap: ServerMap = {\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Thynk Direct API\n * The API for managing reservation for [Thynk Direct](https://thynk.cloud/).\n *\n * The version of the OpenAPI document: 4.20.16\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nimport type { Configuration } from \"./configuration\";\nimport type { RequestArgs } from \"./base\";\nimport type { AxiosInstance, AxiosResponse } from 'axios';\nimport { RequiredError } from \"./base\";\n\n/**\n *\n * @export\n */\nexport const DUMMY_BASE_URL = 'https://example.com'\n\n/**\n *\n * @throws {RequiredError}\n * @export\n */\nexport const assertParamExists = function (functionName: string, paramName: string, paramValue: unknown) {\n if (paramValue === null || paramValue === undefined) {\n throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);\n }\n}\n\n/**\n *\n * @export\n */\nexport const setApiKeyToObject = async function (object: any, keyParamName: string, configuration?: Configuration) {\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(keyParamName)\n : await configuration.apiKey;\n object[keyParamName] = localVarApiKeyValue;\n }\n}\n\n/**\n *\n * @export\n */\nexport const setBasicAuthToObject = function (object: any, configuration?: Configuration) {\n if (configuration && (configuration.username || configuration.password)) {\n object[\"auth\"] = { username: configuration.username, password: configuration.password };\n }\n}\n\n/**\n *\n * @export\n */\nexport const setBearerAuthToObject = async function (object: any, configuration?: Configuration) {\n if (configuration && configuration.accessToken) {\n const accessToken = typeof configuration.accessToken === 'function'\n ? await configuration.accessToken()\n : await configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + accessToken;\n }\n}\n\n/**\n *\n * @export\n */\nexport const setOAuthToObject = async function (object: any, name: string, scopes: string[], configuration?: Configuration) {\n if (configuration && configuration.accessToken) {\n const localVarAccessTokenValue = typeof configuration.accessToken === 'function'\n ? await configuration.accessToken(name, scopes)\n : await configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + localVarAccessTokenValue;\n }\n}\n\nfunction setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: any, key: string = \"\"): void {\n if (parameter == null) return;\n if (typeof parameter === \"object\") {\n if (Array.isArray(parameter)) {\n (parameter as any[]).forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));\n } \n else {\n Object.keys(parameter).forEach(currentKey => \n setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`)\n );\n }\n } \n else {\n if (urlSearchParams.has(key)) {\n urlSearchParams.append(key, parameter);\n } \n else {\n urlSearchParams.set(key, parameter);\n }\n }\n}\n\n/**\n *\n * @export\n */\nexport const setSearchParams = function (url: URL, ...objects: any[]) {\n const searchParams = new URLSearchParams(url.search);\n setFlattenedQueryParams(searchParams, objects);\n url.search = searchParams.toString();\n}\n\n/**\n *\n * @export\n */\nexport const serializeDataIfNeeded = function (value: any, requestOptions: any, configuration?: Configuration) {\n const nonString = typeof value !== 'string';\n const needsSerialization = nonString && configuration && configuration.isJsonMime\n ? configuration.isJsonMime(requestOptions.headers['Content-Type'])\n : nonString;\n return needsSerialization\n ? JSON.stringify(value !== undefined ? value : {})\n : (value || \"\");\n}\n\n/**\n *\n * @export\n */\nexport const toPathString = function (url: URL) {\n return url.pathname + url.search + url.hash\n}\n\n/**\n *\n * @export\n */\nexport const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {\n return >(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...axiosArgs.options, url: (configuration?.basePath || axios.defaults.baseURL || basePath) + axiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Thynk Direct API\n * The API for managing reservation for [Thynk Direct](https://thynk.cloud/).\n *\n * The version of the OpenAPI document: 4.20.16\n *\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport type { Configuration } from '../configuration';\nimport type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';\nimport globalAxios from 'axios';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport {\n DUMMY_BASE_URL,\n assertParamExists,\n setApiKeyToObject,\n setBasicAuthToObject,\n setBearerAuthToObject,\n setOAuthToObject,\n setSearchParams,\n serializeDataIfNeeded,\n toPathString,\n createRequestFunction,\n} from '../common';\n// @ts-ignore\nimport {\n BASE_PATH,\n COLLECTION_FORMATS,\n RequestArgs,\n BaseAPI,\n RequiredError,\n operationServerMap,\n} from '../base';\n// @ts-ignore\nimport { BookingBookingBillingRead } from '../model';\n// @ts-ignore\nimport { BookingJsonldBookingStatusWrite } from '../model';\n// @ts-ignore\nimport { BookingRead } from '../model';\n// @ts-ignore\nimport { BookingReservationCancelBookingWrite } from '../model';\n// @ts-ignore\nimport { BookingWrite } from '../model';\n/**\n * BookingApi - axios parameter creator\n * @export\n */\nexport const BookingApiAxiosParamCreator = function (\n configuration?: Configuration,\n) {\n return {\n /**\n * Creates a BookingAccept resource.\n * @summary Accept a reservation booking\n * @param {string} id BookingAccept identifier\n * @param {object} body The new BookingAccept resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n bookingAccept: async (\n id: string,\n body: object,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('bookingAccept', 'id', id);\n // verify required parameter 'body' is not null or undefined\n assertParamExists('bookingAccept', 'body', body);\n const localVarPath = `/api/booking/{id}/accept`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'POST',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n localVarHeaderParameter['Content-Type'] = 'application/ld+json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n localVarRequestOptions.data = serializeDataIfNeeded(\n body,\n localVarRequestOptions,\n configuration,\n );\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Creates a BookingReservationCancel resource.\n * @summary Cancel a reservation\n * @param {string} id BookingReservationCancel identifier\n * @param {BookingReservationCancelBookingWrite} bookingReservationCancelBookingWrite The new BookingReservationCancel resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n bookingReservationCancel: async (\n id: string,\n bookingReservationCancelBookingWrite: BookingReservationCancelBookingWrite,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('bookingReservationCancel', 'id', id);\n // verify required parameter 'bookingReservationCancelBookingWrite' is not null or undefined\n assertParamExists(\n 'bookingReservationCancel',\n 'bookingReservationCancelBookingWrite',\n bookingReservationCancelBookingWrite,\n );\n const localVarPath = `/api/booking/reservation/{id}/cancel`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'POST',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n localVarHeaderParameter['Content-Type'] = 'application/ld+json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n localVarRequestOptions.data = serializeDataIfNeeded(\n bookingReservationCancelBookingWrite,\n localVarRequestOptions,\n configuration,\n );\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Creates a BookingReservationRequestProposal resource.\n * @summary Request proposal a reservation\n * @param {string} id BookingReservationRequestProposal identifier\n * @param {object} body The new BookingReservationRequestProposal resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n bookingReservationRequestProposal: async (\n id: string,\n body: object,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('bookingReservationRequestProposal', 'id', id);\n // verify required parameter 'body' is not null or undefined\n assertParamExists('bookingReservationRequestProposal', 'body', body);\n const localVarPath =\n `/api/booking/reservation/{id}/request_proposal`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'POST',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n localVarHeaderParameter['Content-Type'] = 'application/ld+json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n localVarRequestOptions.data = serializeDataIfNeeded(\n body,\n localVarRequestOptions,\n configuration,\n );\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Creates a BookingReservationTurndown resource.\n * @summary Turndown a reservation\n * @param {string} id BookingReservationTurndown identifier\n * @param {object} body The new BookingReservationTurndown resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n bookingReservationTurndown: async (\n id: string,\n body: object,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('bookingReservationTurndown', 'id', id);\n // verify required parameter 'body' is not null or undefined\n assertParamExists('bookingReservationTurndown', 'body', body);\n const localVarPath = `/api/booking/reservation/{id}/turndown`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'POST',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n localVarHeaderParameter['Content-Type'] = 'application/ld+json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n localVarRequestOptions.data = serializeDataIfNeeded(\n body,\n localVarRequestOptions,\n configuration,\n );\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Replaces the Booking resource.\n * @summary Update booking status\n * @param {string} id Booking identifier\n * @param {BookingJsonldBookingStatusWrite} bookingJsonldBookingStatusWrite The updated Booking resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n bookingUpdateStatus: async (\n id: string,\n bookingJsonldBookingStatusWrite: BookingJsonldBookingStatusWrite,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('bookingUpdateStatus', 'id', id);\n // verify required parameter 'bookingJsonldBookingStatusWrite' is not null or undefined\n assertParamExists(\n 'bookingUpdateStatus',\n 'bookingJsonldBookingStatusWrite',\n bookingJsonldBookingStatusWrite,\n );\n const localVarPath = `/api/booking/{id}/status`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'PUT',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n localVarHeaderParameter['Content-Type'] = 'application/ld+json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n localVarRequestOptions.data = serializeDataIfNeeded(\n bookingJsonldBookingStatusWrite,\n localVarRequestOptions,\n configuration,\n );\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Retrieves a Booking resource.\n * @summary Retrieve reservation booking billing\n * @param {string} id Booking identifier\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n reservationsBookingBillingGet: async (\n id: string,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('reservationsBookingBillingGet', 'id', id);\n const localVarPath = `/api/booking/{id}/billing`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'GET',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Retrieves a Booking resource.\n * @summary Retrieve reservation booking confirmation page\n * @param {string} id Booking identifier\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n reservationsBookingConfirmationGet: async (\n id: string,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('reservationsBookingConfirmationGet', 'id', id);\n const localVarPath = `/api/booking/{id}/confirmation`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'GET',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Retrieves a Booking resource.\n * @summary Retrieves a Booking resource.\n * @param {string} id Booking identifier\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n reservationsBookingGet: async (\n id: string,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('reservationsBookingGet', 'id', id);\n const localVarPath = `/api/booking/{id}`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'GET',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Updates the Booking resource.\n * @summary Update an existing reservation booking\n * @param {string} id Booking identifier\n * @param {BookingWrite} bookingWrite The updated Booking resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n reservationsBookingPatch: async (\n id: string,\n bookingWrite: BookingWrite,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('reservationsBookingPatch', 'id', id);\n // verify required parameter 'bookingWrite' is not null or undefined\n assertParamExists(\n 'reservationsBookingPatch',\n 'bookingWrite',\n bookingWrite,\n );\n const localVarPath = `/api/booking/{id}`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'PATCH',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n localVarHeaderParameter['Content-Type'] = 'application/merge-patch+json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n localVarRequestOptions.data = serializeDataIfNeeded(\n bookingWrite,\n localVarRequestOptions,\n configuration,\n );\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Creates a Booking resource.\n * @summary Create a new reservation booking\n * @param {BookingWrite} bookingWrite The new Booking resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n reservationsBookingPost: async (\n bookingWrite: BookingWrite,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'bookingWrite' is not null or undefined\n assertParamExists(\n 'reservationsBookingPost',\n 'bookingWrite',\n bookingWrite,\n );\n const localVarPath = `/api/booking`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'POST',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n localVarHeaderParameter['Content-Type'] = 'application/ld+json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n localVarRequestOptions.data = serializeDataIfNeeded(\n bookingWrite,\n localVarRequestOptions,\n configuration,\n );\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Replaces the Booking resource.\n * @summary Update an existing reservation booking\n * @param {string} id Booking identifier\n * @param {BookingWrite} bookingWrite The updated Booking resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n reservationsBookingPut: async (\n id: string,\n bookingWrite: BookingWrite,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('reservationsBookingPut', 'id', id);\n // verify required parameter 'bookingWrite' is not null or undefined\n assertParamExists('reservationsBookingPut', 'bookingWrite', bookingWrite);\n const localVarPath = `/api/booking/{id}`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'PUT',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n localVarHeaderParameter['Content-Type'] = 'application/ld+json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n localVarRequestOptions.data = serializeDataIfNeeded(\n bookingWrite,\n localVarRequestOptions,\n configuration,\n );\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n };\n};\n\n/**\n * BookingApi - functional programming interface\n * @export\n */\nexport const BookingApiFp = function (configuration?: Configuration) {\n const localVarAxiosParamCreator = BookingApiAxiosParamCreator(configuration);\n return {\n /**\n * Creates a BookingAccept resource.\n * @summary Accept a reservation booking\n * @param {string} id BookingAccept identifier\n * @param {object} body The new BookingAccept resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async bookingAccept(\n id: string,\n body: object,\n options?: AxiosRequestConfig,\n ): Promise<\n (axios?: AxiosInstance, basePath?: string) => AxiosPromise\n > {\n const localVarAxiosArgs = await localVarAxiosParamCreator.bookingAccept(\n id,\n body,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['BookingApi.bookingAccept']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Creates a BookingReservationCancel resource.\n * @summary Cancel a reservation\n * @param {string} id BookingReservationCancel identifier\n * @param {BookingReservationCancelBookingWrite} bookingReservationCancelBookingWrite The new BookingReservationCancel resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async bookingReservationCancel(\n id: string,\n bookingReservationCancelBookingWrite: BookingReservationCancelBookingWrite,\n options?: AxiosRequestConfig,\n ): Promise<\n (axios?: AxiosInstance, basePath?: string) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.bookingReservationCancel(\n id,\n bookingReservationCancelBookingWrite,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['BookingApi.bookingReservationCancel']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Creates a BookingReservationRequestProposal resource.\n * @summary Request proposal a reservation\n * @param {string} id BookingReservationRequestProposal identifier\n * @param {object} body The new BookingReservationRequestProposal resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async bookingReservationRequestProposal(\n id: string,\n body: object,\n options?: AxiosRequestConfig,\n ): Promise<\n (axios?: AxiosInstance, basePath?: string) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.bookingReservationRequestProposal(\n id,\n body,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['BookingApi.bookingReservationRequestProposal']?.[\n index\n ]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Creates a BookingReservationTurndown resource.\n * @summary Turndown a reservation\n * @param {string} id BookingReservationTurndown identifier\n * @param {object} body The new BookingReservationTurndown resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async bookingReservationTurndown(\n id: string,\n body: object,\n options?: AxiosRequestConfig,\n ): Promise<\n (axios?: AxiosInstance, basePath?: string) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.bookingReservationTurndown(\n id,\n body,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['BookingApi.bookingReservationTurndown']?.[index]\n ?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Replaces the Booking resource.\n * @summary Update booking status\n * @param {string} id Booking identifier\n * @param {BookingJsonldBookingStatusWrite} bookingJsonldBookingStatusWrite The updated Booking resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async bookingUpdateStatus(\n id: string,\n bookingJsonldBookingStatusWrite: BookingJsonldBookingStatusWrite,\n options?: AxiosRequestConfig,\n ): Promise<\n (axios?: AxiosInstance, basePath?: string) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.bookingUpdateStatus(\n id,\n bookingJsonldBookingStatusWrite,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['BookingApi.bookingUpdateStatus']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Retrieves a Booking resource.\n * @summary Retrieve reservation booking billing\n * @param {string} id Booking identifier\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async reservationsBookingBillingGet(\n id: string,\n options?: AxiosRequestConfig,\n ): Promise<\n (\n axios?: AxiosInstance,\n basePath?: string,\n ) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.reservationsBookingBillingGet(\n id,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['BookingApi.reservationsBookingBillingGet']?.[index]\n ?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Retrieves a Booking resource.\n * @summary Retrieve reservation booking confirmation page\n * @param {string} id Booking identifier\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async reservationsBookingConfirmationGet(\n id: string,\n options?: AxiosRequestConfig,\n ): Promise<\n (\n axios?: AxiosInstance,\n basePath?: string,\n ) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.reservationsBookingConfirmationGet(\n id,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['BookingApi.reservationsBookingConfirmationGet']?.[\n index\n ]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Retrieves a Booking resource.\n * @summary Retrieves a Booking resource.\n * @param {string} id Booking identifier\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async reservationsBookingGet(\n id: string,\n options?: AxiosRequestConfig,\n ): Promise<\n (axios?: AxiosInstance, basePath?: string) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.reservationsBookingGet(id, options);\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['BookingApi.reservationsBookingGet']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Updates the Booking resource.\n * @summary Update an existing reservation booking\n * @param {string} id Booking identifier\n * @param {BookingWrite} bookingWrite The updated Booking resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async reservationsBookingPatch(\n id: string,\n bookingWrite: BookingWrite,\n options?: AxiosRequestConfig,\n ): Promise<\n (axios?: AxiosInstance, basePath?: string) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.reservationsBookingPatch(\n id,\n bookingWrite,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['BookingApi.reservationsBookingPatch']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Creates a Booking resource.\n * @summary Create a new reservation booking\n * @param {BookingWrite} bookingWrite The new Booking resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async reservationsBookingPost(\n bookingWrite: BookingWrite,\n options?: AxiosRequestConfig,\n ): Promise<\n (axios?: AxiosInstance, basePath?: string) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.reservationsBookingPost(\n bookingWrite,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['BookingApi.reservationsBookingPost']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Replaces the Booking resource.\n * @summary Update an existing reservation booking\n * @param {string} id Booking identifier\n * @param {BookingWrite} bookingWrite The updated Booking resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async reservationsBookingPut(\n id: string,\n bookingWrite: BookingWrite,\n options?: AxiosRequestConfig,\n ): Promise<\n (axios?: AxiosInstance, basePath?: string) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.reservationsBookingPut(\n id,\n bookingWrite,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['BookingApi.reservationsBookingPut']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n };\n};\n\n/**\n * BookingApi - factory interface\n * @export\n */\nexport const BookingApiFactory = function (\n configuration?: Configuration,\n basePath?: string,\n axios?: AxiosInstance,\n) {\n const localVarFp = BookingApiFp(configuration);\n return {\n /**\n * Creates a BookingAccept resource.\n * @summary Accept a reservation booking\n * @param {BookingApiBookingAcceptRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n bookingAccept(\n requestParameters: BookingApiBookingAcceptRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .bookingAccept(requestParameters.id, requestParameters.body, options)\n .then((request) => request(axios, basePath));\n },\n /**\n * Creates a BookingReservationCancel resource.\n * @summary Cancel a reservation\n * @param {BookingApiBookingReservationCancelRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n bookingReservationCancel(\n requestParameters: BookingApiBookingReservationCancelRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .bookingReservationCancel(\n requestParameters.id,\n requestParameters.bookingReservationCancelBookingWrite,\n options,\n )\n .then((request) => request(axios, basePath));\n },\n /**\n * Creates a BookingReservationRequestProposal resource.\n * @summary Request proposal a reservation\n * @param {BookingApiBookingReservationRequestProposalRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n bookingReservationRequestProposal(\n requestParameters: BookingApiBookingReservationRequestProposalRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .bookingReservationRequestProposal(\n requestParameters.id,\n requestParameters.body,\n options,\n )\n .then((request) => request(axios, basePath));\n },\n /**\n * Creates a BookingReservationTurndown resource.\n * @summary Turndown a reservation\n * @param {BookingApiBookingReservationTurndownRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n bookingReservationTurndown(\n requestParameters: BookingApiBookingReservationTurndownRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .bookingReservationTurndown(\n requestParameters.id,\n requestParameters.body,\n options,\n )\n .then((request) => request(axios, basePath));\n },\n /**\n * Replaces the Booking resource.\n * @summary Update booking status\n * @param {BookingApiBookingUpdateStatusRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n bookingUpdateStatus(\n requestParameters: BookingApiBookingUpdateStatusRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .bookingUpdateStatus(\n requestParameters.id,\n requestParameters.bookingJsonldBookingStatusWrite,\n options,\n )\n .then((request) => request(axios, basePath));\n },\n /**\n * Retrieves a Booking resource.\n * @summary Retrieve reservation booking billing\n * @param {BookingApiReservationsBookingBillingGetRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n reservationsBookingBillingGet(\n requestParameters: BookingApiReservationsBookingBillingGetRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .reservationsBookingBillingGet(requestParameters.id, options)\n .then((request) => request(axios, basePath));\n },\n /**\n * Retrieves a Booking resource.\n * @summary Retrieve reservation booking confirmation page\n * @param {BookingApiReservationsBookingConfirmationGetRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n reservationsBookingConfirmationGet(\n requestParameters: BookingApiReservationsBookingConfirmationGetRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .reservationsBookingConfirmationGet(requestParameters.id, options)\n .then((request) => request(axios, basePath));\n },\n /**\n * Retrieves a Booking resource.\n * @summary Retrieves a Booking resource.\n * @param {BookingApiReservationsBookingGetRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n reservationsBookingGet(\n requestParameters: BookingApiReservationsBookingGetRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .reservationsBookingGet(requestParameters.id, options)\n .then((request) => request(axios, basePath));\n },\n /**\n * Updates the Booking resource.\n * @summary Update an existing reservation booking\n * @param {BookingApiReservationsBookingPatchRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n reservationsBookingPatch(\n requestParameters: BookingApiReservationsBookingPatchRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .reservationsBookingPatch(\n requestParameters.id,\n requestParameters.bookingWrite,\n options,\n )\n .then((request) => request(axios, basePath));\n },\n /**\n * Creates a Booking resource.\n * @summary Create a new reservation booking\n * @param {BookingApiReservationsBookingPostRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n reservationsBookingPost(\n requestParameters: BookingApiReservationsBookingPostRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .reservationsBookingPost(requestParameters.bookingWrite, options)\n .then((request) => request(axios, basePath));\n },\n /**\n * Replaces the Booking resource.\n * @summary Update an existing reservation booking\n * @param {BookingApiReservationsBookingPutRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n reservationsBookingPut(\n requestParameters: BookingApiReservationsBookingPutRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .reservationsBookingPut(\n requestParameters.id,\n requestParameters.bookingWrite,\n options,\n )\n .then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * Request parameters for bookingAccept operation in BookingApi.\n * @export\n * @interface BookingApiBookingAcceptRequest\n */\nexport interface BookingApiBookingAcceptRequest {\n /**\n * BookingAccept identifier\n * @type {string}\n * @memberof BookingApiBookingAccept\n */\n readonly id: string;\n\n /**\n * The new BookingAccept resource\n * @type {object}\n * @memberof BookingApiBookingAccept\n */\n readonly body: object;\n}\n\n/**\n * Request parameters for bookingReservationCancel operation in BookingApi.\n * @export\n * @interface BookingApiBookingReservationCancelRequest\n */\nexport interface BookingApiBookingReservationCancelRequest {\n /**\n * BookingReservationCancel identifier\n * @type {string}\n * @memberof BookingApiBookingReservationCancel\n */\n readonly id: string;\n\n /**\n * The new BookingReservationCancel resource\n * @type {BookingReservationCancelBookingWrite}\n * @memberof BookingApiBookingReservationCancel\n */\n readonly bookingReservationCancelBookingWrite: BookingReservationCancelBookingWrite;\n}\n\n/**\n * Request parameters for bookingReservationRequestProposal operation in BookingApi.\n * @export\n * @interface BookingApiBookingReservationRequestProposalRequest\n */\nexport interface BookingApiBookingReservationRequestProposalRequest {\n /**\n * BookingReservationRequestProposal identifier\n * @type {string}\n * @memberof BookingApiBookingReservationRequestProposal\n */\n readonly id: string;\n\n /**\n * The new BookingReservationRequestProposal resource\n * @type {object}\n * @memberof BookingApiBookingReservationRequestProposal\n */\n readonly body: object;\n}\n\n/**\n * Request parameters for bookingReservationTurndown operation in BookingApi.\n * @export\n * @interface BookingApiBookingReservationTurndownRequest\n */\nexport interface BookingApiBookingReservationTurndownRequest {\n /**\n * BookingReservationTurndown identifier\n * @type {string}\n * @memberof BookingApiBookingReservationTurndown\n */\n readonly id: string;\n\n /**\n * The new BookingReservationTurndown resource\n * @type {object}\n * @memberof BookingApiBookingReservationTurndown\n */\n readonly body: object;\n}\n\n/**\n * Request parameters for bookingUpdateStatus operation in BookingApi.\n * @export\n * @interface BookingApiBookingUpdateStatusRequest\n */\nexport interface BookingApiBookingUpdateStatusRequest {\n /**\n * Booking identifier\n * @type {string}\n * @memberof BookingApiBookingUpdateStatus\n */\n readonly id: string;\n\n /**\n * The updated Booking resource\n * @type {BookingJsonldBookingStatusWrite}\n * @memberof BookingApiBookingUpdateStatus\n */\n readonly bookingJsonldBookingStatusWrite: BookingJsonldBookingStatusWrite;\n}\n\n/**\n * Request parameters for reservationsBookingBillingGet operation in BookingApi.\n * @export\n * @interface BookingApiReservationsBookingBillingGetRequest\n */\nexport interface BookingApiReservationsBookingBillingGetRequest {\n /**\n * Booking identifier\n * @type {string}\n * @memberof BookingApiReservationsBookingBillingGet\n */\n readonly id: string;\n}\n\n/**\n * Request parameters for reservationsBookingConfirmationGet operation in BookingApi.\n * @export\n * @interface BookingApiReservationsBookingConfirmationGetRequest\n */\nexport interface BookingApiReservationsBookingConfirmationGetRequest {\n /**\n * Booking identifier\n * @type {string}\n * @memberof BookingApiReservationsBookingConfirmationGet\n */\n readonly id: string;\n}\n\n/**\n * Request parameters for reservationsBookingGet operation in BookingApi.\n * @export\n * @interface BookingApiReservationsBookingGetRequest\n */\nexport interface BookingApiReservationsBookingGetRequest {\n /**\n * Booking identifier\n * @type {string}\n * @memberof BookingApiReservationsBookingGet\n */\n readonly id: string;\n}\n\n/**\n * Request parameters for reservationsBookingPatch operation in BookingApi.\n * @export\n * @interface BookingApiReservationsBookingPatchRequest\n */\nexport interface BookingApiReservationsBookingPatchRequest {\n /**\n * Booking identifier\n * @type {string}\n * @memberof BookingApiReservationsBookingPatch\n */\n readonly id: string;\n\n /**\n * The updated Booking resource\n * @type {BookingWrite}\n * @memberof BookingApiReservationsBookingPatch\n */\n readonly bookingWrite: BookingWrite;\n}\n\n/**\n * Request parameters for reservationsBookingPost operation in BookingApi.\n * @export\n * @interface BookingApiReservationsBookingPostRequest\n */\nexport interface BookingApiReservationsBookingPostRequest {\n /**\n * The new Booking resource\n * @type {BookingWrite}\n * @memberof BookingApiReservationsBookingPost\n */\n readonly bookingWrite: BookingWrite;\n}\n\n/**\n * Request parameters for reservationsBookingPut operation in BookingApi.\n * @export\n * @interface BookingApiReservationsBookingPutRequest\n */\nexport interface BookingApiReservationsBookingPutRequest {\n /**\n * Booking identifier\n * @type {string}\n * @memberof BookingApiReservationsBookingPut\n */\n readonly id: string;\n\n /**\n * The updated Booking resource\n * @type {BookingWrite}\n * @memberof BookingApiReservationsBookingPut\n */\n readonly bookingWrite: BookingWrite;\n}\n\n/**\n * BookingApi - object-oriented interface\n * @export\n * @class BookingApi\n * @extends {BaseAPI}\n */\nexport class BookingApi extends BaseAPI {\n /**\n * Creates a BookingAccept resource.\n * @summary Accept a reservation booking\n * @param {BookingApiBookingAcceptRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof BookingApi\n */\n public bookingAccept(\n requestParameters: BookingApiBookingAcceptRequest,\n options?: AxiosRequestConfig,\n ) {\n return BookingApiFp(this.configuration)\n .bookingAccept(requestParameters.id, requestParameters.body, options)\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Creates a BookingReservationCancel resource.\n * @summary Cancel a reservation\n * @param {BookingApiBookingReservationCancelRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof BookingApi\n */\n public bookingReservationCancel(\n requestParameters: BookingApiBookingReservationCancelRequest,\n options?: AxiosRequestConfig,\n ) {\n return BookingApiFp(this.configuration)\n .bookingReservationCancel(\n requestParameters.id,\n requestParameters.bookingReservationCancelBookingWrite,\n options,\n )\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Creates a BookingReservationRequestProposal resource.\n * @summary Request proposal a reservation\n * @param {BookingApiBookingReservationRequestProposalRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof BookingApi\n */\n public bookingReservationRequestProposal(\n requestParameters: BookingApiBookingReservationRequestProposalRequest,\n options?: AxiosRequestConfig,\n ) {\n return BookingApiFp(this.configuration)\n .bookingReservationRequestProposal(\n requestParameters.id,\n requestParameters.body,\n options,\n )\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Creates a BookingReservationTurndown resource.\n * @summary Turndown a reservation\n * @param {BookingApiBookingReservationTurndownRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof BookingApi\n */\n public bookingReservationTurndown(\n requestParameters: BookingApiBookingReservationTurndownRequest,\n options?: AxiosRequestConfig,\n ) {\n return BookingApiFp(this.configuration)\n .bookingReservationTurndown(\n requestParameters.id,\n requestParameters.body,\n options,\n )\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Replaces the Booking resource.\n * @summary Update booking status\n * @param {BookingApiBookingUpdateStatusRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof BookingApi\n */\n public bookingUpdateStatus(\n requestParameters: BookingApiBookingUpdateStatusRequest,\n options?: AxiosRequestConfig,\n ) {\n return BookingApiFp(this.configuration)\n .bookingUpdateStatus(\n requestParameters.id,\n requestParameters.bookingJsonldBookingStatusWrite,\n options,\n )\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Retrieves a Booking resource.\n * @summary Retrieve reservation booking billing\n * @param {BookingApiReservationsBookingBillingGetRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof BookingApi\n */\n public reservationsBookingBillingGet(\n requestParameters: BookingApiReservationsBookingBillingGetRequest,\n options?: AxiosRequestConfig,\n ) {\n return BookingApiFp(this.configuration)\n .reservationsBookingBillingGet(requestParameters.id, options)\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Retrieves a Booking resource.\n * @summary Retrieve reservation booking confirmation page\n * @param {BookingApiReservationsBookingConfirmationGetRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof BookingApi\n */\n public reservationsBookingConfirmationGet(\n requestParameters: BookingApiReservationsBookingConfirmationGetRequest,\n options?: AxiosRequestConfig,\n ) {\n return BookingApiFp(this.configuration)\n .reservationsBookingConfirmationGet(requestParameters.id, options)\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Retrieves a Booking resource.\n * @summary Retrieves a Booking resource.\n * @param {BookingApiReservationsBookingGetRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof BookingApi\n */\n public reservationsBookingGet(\n requestParameters: BookingApiReservationsBookingGetRequest,\n options?: AxiosRequestConfig,\n ) {\n return BookingApiFp(this.configuration)\n .reservationsBookingGet(requestParameters.id, options)\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Updates the Booking resource.\n * @summary Update an existing reservation booking\n * @param {BookingApiReservationsBookingPatchRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof BookingApi\n */\n public reservationsBookingPatch(\n requestParameters: BookingApiReservationsBookingPatchRequest,\n options?: AxiosRequestConfig,\n ) {\n return BookingApiFp(this.configuration)\n .reservationsBookingPatch(\n requestParameters.id,\n requestParameters.bookingWrite,\n options,\n )\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Creates a Booking resource.\n * @summary Create a new reservation booking\n * @param {BookingApiReservationsBookingPostRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof BookingApi\n */\n public reservationsBookingPost(\n requestParameters: BookingApiReservationsBookingPostRequest,\n options?: AxiosRequestConfig,\n ) {\n return BookingApiFp(this.configuration)\n .reservationsBookingPost(requestParameters.bookingWrite, options)\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Replaces the Booking resource.\n * @summary Update an existing reservation booking\n * @param {BookingApiReservationsBookingPutRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof BookingApi\n */\n public reservationsBookingPut(\n requestParameters: BookingApiReservationsBookingPutRequest,\n options?: AxiosRequestConfig,\n ) {\n return BookingApiFp(this.configuration)\n .reservationsBookingPut(\n requestParameters.id,\n requestParameters.bookingWrite,\n options,\n )\n .then((request) => request(this.axios, this.basePath));\n }\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Thynk Direct API\n * The API for managing reservation for [Thynk Direct](https://thynk.cloud/).\n *\n * The version of the OpenAPI document: 4.20.16\n *\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport type { Configuration } from '../configuration';\nimport type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';\nimport globalAxios from 'axios';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport {\n DUMMY_BASE_URL,\n assertParamExists,\n setApiKeyToObject,\n setBasicAuthToObject,\n setBearerAuthToObject,\n setOAuthToObject,\n setSearchParams,\n serializeDataIfNeeded,\n toPathString,\n createRequestFunction,\n} from '../common';\n// @ts-ignore\nimport {\n BASE_PATH,\n COLLECTION_FORMATS,\n RequestArgs,\n BaseAPI,\n RequiredError,\n operationServerMap,\n} from '../base';\n// @ts-ignore\nimport { EmplacementRead } from '../model';\n// @ts-ignore\nimport { EmplacementsGetCollection200Response } from '../model';\n/**\n * EmplacementApi - axios parameter creator\n * @export\n */\nexport const EmplacementApiAxiosParamCreator = function (\n configuration?: Configuration,\n) {\n return {\n /**\n * Retrieves the collection of Emplacement resources.\n * @summary Retrieves the collection of Emplacement resources.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n emplacementsGetCollection: async (\n options: AxiosRequestConfig = {},\n ): Promise => {\n const localVarPath = `/api/emplacements`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'GET',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Retrieves a Emplacement resource.\n * @summary Retrieves a Emplacement resource.\n * @param {string} id Emplacement identifier\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n emplacementsIdGet: async (\n id: string,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('emplacementsIdGet', 'id', id);\n const localVarPath = `/api/emplacements/{id}`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'GET',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n };\n};\n\n/**\n * EmplacementApi - functional programming interface\n * @export\n */\nexport const EmplacementApiFp = function (configuration?: Configuration) {\n const localVarAxiosParamCreator =\n EmplacementApiAxiosParamCreator(configuration);\n return {\n /**\n * Retrieves the collection of Emplacement resources.\n * @summary Retrieves the collection of Emplacement resources.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async emplacementsGetCollection(\n options?: AxiosRequestConfig,\n ): Promise<\n (\n axios?: AxiosInstance,\n basePath?: string,\n ) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.emplacementsGetCollection(options);\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['EmplacementApi.emplacementsGetCollection']?.[index]\n ?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Retrieves a Emplacement resource.\n * @summary Retrieves a Emplacement resource.\n * @param {string} id Emplacement identifier\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async emplacementsIdGet(\n id: string,\n options?: AxiosRequestConfig,\n ): Promise<\n (\n axios?: AxiosInstance,\n basePath?: string,\n ) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.emplacementsIdGet(id, options);\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['EmplacementApi.emplacementsIdGet']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n };\n};\n\n/**\n * EmplacementApi - factory interface\n * @export\n */\nexport const EmplacementApiFactory = function (\n configuration?: Configuration,\n basePath?: string,\n axios?: AxiosInstance,\n) {\n const localVarFp = EmplacementApiFp(configuration);\n return {\n /**\n * Retrieves the collection of Emplacement resources.\n * @summary Retrieves the collection of Emplacement resources.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n emplacementsGetCollection(\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .emplacementsGetCollection(options)\n .then((request) => request(axios, basePath));\n },\n /**\n * Retrieves a Emplacement resource.\n * @summary Retrieves a Emplacement resource.\n * @param {EmplacementApiEmplacementsIdGetRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n emplacementsIdGet(\n requestParameters: EmplacementApiEmplacementsIdGetRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .emplacementsIdGet(requestParameters.id, options)\n .then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * Request parameters for emplacementsIdGet operation in EmplacementApi.\n * @export\n * @interface EmplacementApiEmplacementsIdGetRequest\n */\nexport interface EmplacementApiEmplacementsIdGetRequest {\n /**\n * Emplacement identifier\n * @type {string}\n * @memberof EmplacementApiEmplacementsIdGet\n */\n readonly id: string;\n}\n\n/**\n * EmplacementApi - object-oriented interface\n * @export\n * @class EmplacementApi\n * @extends {BaseAPI}\n */\nexport class EmplacementApi extends BaseAPI {\n /**\n * Retrieves the collection of Emplacement resources.\n * @summary Retrieves the collection of Emplacement resources.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof EmplacementApi\n */\n public emplacementsGetCollection(options?: AxiosRequestConfig) {\n return EmplacementApiFp(this.configuration)\n .emplacementsGetCollection(options)\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Retrieves a Emplacement resource.\n * @summary Retrieves a Emplacement resource.\n * @param {EmplacementApiEmplacementsIdGetRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof EmplacementApi\n */\n public emplacementsIdGet(\n requestParameters: EmplacementApiEmplacementsIdGetRequest,\n options?: AxiosRequestConfig,\n ) {\n return EmplacementApiFp(this.configuration)\n .emplacementsIdGet(requestParameters.id, options)\n .then((request) => request(this.axios, this.basePath));\n }\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Thynk Direct API\n * The API for managing reservation for [Thynk Direct](https://thynk.cloud/).\n *\n * The version of the OpenAPI document: 4.20.16\n *\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport type { Configuration } from '../configuration';\nimport type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';\nimport globalAxios from 'axios';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport {\n DUMMY_BASE_URL,\n assertParamExists,\n setApiKeyToObject,\n setBasicAuthToObject,\n setBearerAuthToObject,\n setOAuthToObject,\n setSearchParams,\n serializeDataIfNeeded,\n toPathString,\n createRequestFunction,\n} from '../common';\n// @ts-ignore\nimport {\n BASE_PATH,\n COLLECTION_FORMATS,\n RequestArgs,\n BaseAPI,\n RequiredError,\n operationServerMap,\n} from '../base';\n// @ts-ignore\nimport { Bool } from '../model';\n// @ts-ignore\nimport { HallEmplacementRead } from '../model';\n// @ts-ignore\nimport { HallEmplacementWrite } from '../model';\n// @ts-ignore\nimport { HallEmplacementsGetCollection200Response } from '../model';\n// @ts-ignore\nimport { HallPeriodPricingRead } from '../model';\n// @ts-ignore\nimport { HallPeriodPricingWrite } from '../model';\n// @ts-ignore\nimport { HallPeriodPricingsGetCollection200Response } from '../model';\n// @ts-ignore\nimport { HallRead } from '../model';\n// @ts-ignore\nimport { HallWrite } from '../model';\n// @ts-ignore\nimport { HallsGetCollection200Response } from '../model';\n// @ts-ignore\nimport { SuitableHallsGetCollection200Response } from '../model';\n// @ts-ignore\nimport { Time } from '../model';\n/**\n * HallApi - axios parameter creator\n * @export\n */\nexport const HallApiAxiosParamCreator = function (\n configuration?: Configuration,\n) {\n return {\n /**\n * Retrieves the collection of HallEmplacement resources.\n * @summary Retrieve hall emplacements\n * @param {number} [page] The collection page number\n * @param {number} [itemsPerPage] The number of items per page\n * @param {string} [hall]\n * @param {Array} [hall2]\n * @param {string} [emplacement]\n * @param {Array} [emplacement2]\n * @param {string} [hallLocation]\n * @param {Array} [hallLocation2]\n * @param {string} [paxBetween]\n * @param {string} [paxGt]\n * @param {string} [paxGte]\n * @param {string} [paxLt]\n * @param {string} [paxLte]\n * @param {string} [hallSquareMetersBetween]\n * @param {string} [hallSquareMetersGt]\n * @param {string} [hallSquareMetersGte]\n * @param {string} [hallSquareMetersLt]\n * @param {string} [hallSquareMetersLte]\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n hallEmplacementsGetCollection: async (\n page?: number,\n itemsPerPage?: number,\n hall?: string,\n hall2?: Array,\n emplacement?: string,\n emplacement2?: Array,\n hallLocation?: string,\n hallLocation2?: Array,\n paxBetween?: string,\n paxGt?: string,\n paxGte?: string,\n paxLt?: string,\n paxLte?: string,\n hallSquareMetersBetween?: string,\n hallSquareMetersGt?: string,\n hallSquareMetersGte?: string,\n hallSquareMetersLt?: string,\n hallSquareMetersLte?: string,\n options: AxiosRequestConfig = {},\n ): Promise => {\n const localVarPath = `/api/hall_emplacements`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'GET',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n if (page !== undefined) {\n localVarQueryParameter['page'] = page;\n }\n\n if (itemsPerPage !== undefined) {\n localVarQueryParameter['itemsPerPage'] = itemsPerPage;\n }\n\n if (hall !== undefined) {\n localVarQueryParameter['hall'] = hall;\n }\n\n if (hall2) {\n localVarQueryParameter['hall[]'] = hall2;\n }\n\n if (emplacement !== undefined) {\n localVarQueryParameter['emplacement'] = emplacement;\n }\n\n if (emplacement2) {\n localVarQueryParameter['emplacement[]'] = emplacement2;\n }\n\n if (hallLocation !== undefined) {\n localVarQueryParameter['hall.location'] = hallLocation;\n }\n\n if (hallLocation2) {\n localVarQueryParameter['hall.location[]'] = hallLocation2;\n }\n\n if (paxBetween !== undefined) {\n localVarQueryParameter['pax[between]'] = paxBetween;\n }\n\n if (paxGt !== undefined) {\n localVarQueryParameter['pax[gt]'] = paxGt;\n }\n\n if (paxGte !== undefined) {\n localVarQueryParameter['pax[gte]'] = paxGte;\n }\n\n if (paxLt !== undefined) {\n localVarQueryParameter['pax[lt]'] = paxLt;\n }\n\n if (paxLte !== undefined) {\n localVarQueryParameter['pax[lte]'] = paxLte;\n }\n\n if (hallSquareMetersBetween !== undefined) {\n localVarQueryParameter['hall.squareMeters[between]'] =\n hallSquareMetersBetween;\n }\n\n if (hallSquareMetersGt !== undefined) {\n localVarQueryParameter['hall.squareMeters[gt]'] = hallSquareMetersGt;\n }\n\n if (hallSquareMetersGte !== undefined) {\n localVarQueryParameter['hall.squareMeters[gte]'] = hallSquareMetersGte;\n }\n\n if (hallSquareMetersLt !== undefined) {\n localVarQueryParameter['hall.squareMeters[lt]'] = hallSquareMetersLt;\n }\n\n if (hallSquareMetersLte !== undefined) {\n localVarQueryParameter['hall.squareMeters[lte]'] = hallSquareMetersLte;\n }\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Retrieves a HallEmplacement resource.\n * @summary Retrieve a single hall emplacement\n * @param {string} id HallEmplacement identifier\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n hallEmplacementsIdGet: async (\n id: string,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('hallEmplacementsIdGet', 'id', id);\n const localVarPath = `/api/hall_emplacements/{id}`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'GET',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Updates the HallEmplacement resource.\n * @summary Update an existing hall emplacement\n * @param {string} id HallEmplacement identifier\n * @param {HallEmplacementWrite} hallEmplacementWrite The updated HallEmplacement resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n hallEmplacementsIdPatch: async (\n id: string,\n hallEmplacementWrite: HallEmplacementWrite,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('hallEmplacementsIdPatch', 'id', id);\n // verify required parameter 'hallEmplacementWrite' is not null or undefined\n assertParamExists(\n 'hallEmplacementsIdPatch',\n 'hallEmplacementWrite',\n hallEmplacementWrite,\n );\n const localVarPath = `/api/hall_emplacements/{id}`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'PATCH',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n localVarHeaderParameter['Content-Type'] = 'application/merge-patch+json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n localVarRequestOptions.data = serializeDataIfNeeded(\n hallEmplacementWrite,\n localVarRequestOptions,\n configuration,\n );\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Replaces the HallEmplacement resource.\n * @summary Replace an existing hall emplacement\n * @param {string} id HallEmplacement identifier\n * @param {HallEmplacementWrite} hallEmplacementWrite The updated HallEmplacement resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n hallEmplacementsIdPut: async (\n id: string,\n hallEmplacementWrite: HallEmplacementWrite,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('hallEmplacementsIdPut', 'id', id);\n // verify required parameter 'hallEmplacementWrite' is not null or undefined\n assertParamExists(\n 'hallEmplacementsIdPut',\n 'hallEmplacementWrite',\n hallEmplacementWrite,\n );\n const localVarPath = `/api/hall_emplacements/{id}`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'PUT',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n localVarHeaderParameter['Content-Type'] = 'application/ld+json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n localVarRequestOptions.data = serializeDataIfNeeded(\n hallEmplacementWrite,\n localVarRequestOptions,\n configuration,\n );\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Retrieves the collection of HallPeriodPricing resources.\n * @summary Retrieve hall period pricing\n * @param {number} [page] The collection page number\n * @param {number} [itemsPerPage] The number of items per page\n * @param {string} [hall]\n * @param {Array} [hall2]\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n hallPeriodPricingsGetCollection: async (\n page?: number,\n itemsPerPage?: number,\n hall?: string,\n hall2?: Array,\n options: AxiosRequestConfig = {},\n ): Promise => {\n const localVarPath = `/api/hall_period_pricings`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'GET',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n if (page !== undefined) {\n localVarQueryParameter['page'] = page;\n }\n\n if (itemsPerPage !== undefined) {\n localVarQueryParameter['itemsPerPage'] = itemsPerPage;\n }\n\n if (hall !== undefined) {\n localVarQueryParameter['hall'] = hall;\n }\n\n if (hall2) {\n localVarQueryParameter['hall[]'] = hall2;\n }\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Retrieves a HallPeriodPricing resource.\n * @summary Retrieve a single hall period pricing\n * @param {string} id HallPeriodPricing identifier\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n hallPeriodPricingsIdGet: async (\n id: string,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('hallPeriodPricingsIdGet', 'id', id);\n const localVarPath = `/api/hall_period_pricings/{id}`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'GET',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Updates the HallPeriodPricing resource.\n * @summary Update an existing hall period pricing\n * @param {string} id HallPeriodPricing identifier\n * @param {HallPeriodPricingWrite} hallPeriodPricingWrite The updated HallPeriodPricing resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n hallPeriodPricingsIdPatch: async (\n id: string,\n hallPeriodPricingWrite: HallPeriodPricingWrite,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('hallPeriodPricingsIdPatch', 'id', id);\n // verify required parameter 'hallPeriodPricingWrite' is not null or undefined\n assertParamExists(\n 'hallPeriodPricingsIdPatch',\n 'hallPeriodPricingWrite',\n hallPeriodPricingWrite,\n );\n const localVarPath = `/api/hall_period_pricings/{id}`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'PATCH',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n localVarHeaderParameter['Content-Type'] = 'application/merge-patch+json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n localVarRequestOptions.data = serializeDataIfNeeded(\n hallPeriodPricingWrite,\n localVarRequestOptions,\n configuration,\n );\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Replaces the HallPeriodPricing resource.\n * @summary Replace an existing hall period pricing\n * @param {string} id HallPeriodPricing identifier\n * @param {HallPeriodPricingWrite} hallPeriodPricingWrite The updated HallPeriodPricing resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n hallPeriodPricingsIdPut: async (\n id: string,\n hallPeriodPricingWrite: HallPeriodPricingWrite,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('hallPeriodPricingsIdPut', 'id', id);\n // verify required parameter 'hallPeriodPricingWrite' is not null or undefined\n assertParamExists(\n 'hallPeriodPricingsIdPut',\n 'hallPeriodPricingWrite',\n hallPeriodPricingWrite,\n );\n const localVarPath = `/api/hall_period_pricings/{id}`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'PUT',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n localVarHeaderParameter['Content-Type'] = 'application/ld+json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n localVarRequestOptions.data = serializeDataIfNeeded(\n hallPeriodPricingWrite,\n localVarRequestOptions,\n configuration,\n );\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Retrieves the collection of Hall resources.\n * @summary Retrieves the collection of Hall resources.\n * @param {string} [location]\n * @param {Array} [location2]\n * @param {string} [name]\n * @param {boolean} [available]\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n hallsGetCollection: async (\n location?: string,\n location2?: Array,\n name?: string,\n available?: boolean,\n options: AxiosRequestConfig = {},\n ): Promise => {\n const localVarPath = `/api/halls`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'GET',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n if (location !== undefined) {\n localVarQueryParameter['location'] = location;\n }\n\n if (location2) {\n localVarQueryParameter['location[]'] = location2;\n }\n\n if (name !== undefined) {\n localVarQueryParameter['name'] = name;\n }\n\n if (available !== undefined) {\n localVarQueryParameter['available'] = available;\n }\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Retrieves a Hall resource.\n * @summary Retrieves a Hall resource.\n * @param {string} id Hall identifier\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n hallsIdGet: async (\n id: string,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('hallsIdGet', 'id', id);\n const localVarPath = `/api/halls/{id}`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'GET',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Updates the Hall resource.\n * @summary Updates the Hall resource.\n * @param {string} id Hall identifier\n * @param {HallWrite} hallWrite The updated Hall resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n hallsIdPatch: async (\n id: string,\n hallWrite: HallWrite,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('hallsIdPatch', 'id', id);\n // verify required parameter 'hallWrite' is not null or undefined\n assertParamExists('hallsIdPatch', 'hallWrite', hallWrite);\n const localVarPath = `/api/halls/{id}`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'PATCH',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n localVarHeaderParameter['Content-Type'] = 'application/merge-patch+json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n localVarRequestOptions.data = serializeDataIfNeeded(\n hallWrite,\n localVarRequestOptions,\n configuration,\n );\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Replaces the Hall resource.\n * @summary Replaces the Hall resource.\n * @param {string} id Hall identifier\n * @param {HallWrite} hallWrite The updated Hall resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n hallsIdPut: async (\n id: string,\n hallWrite: HallWrite,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('hallsIdPut', 'id', id);\n // verify required parameter 'hallWrite' is not null or undefined\n assertParamExists('hallsIdPut', 'hallWrite', hallWrite);\n const localVarPath = `/api/halls/{id}`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'PUT',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n localVarHeaderParameter['Content-Type'] = 'application/ld+json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n localVarRequestOptions.data = serializeDataIfNeeded(\n hallWrite,\n localVarRequestOptions,\n configuration,\n );\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Retrieves the collection of Hall resources.\n * @summary Retrieve a list of halls available for the given reservation day with the most suitable at the top\n * @param {Time} [startTime] The start time of the hall booking\n * @param {Time} [endTime] The end time of the hall booking\n * @param {string} [date] The end time of the hall booking\n * @param {number} [pax] The pax amount needed for the hall\n * @param {string} [emplacement] The required IRI emplacement of the hall\n * @param {string} [location] The IRI of the location the hall should be selected from\n * @param {string} [reservationDayHall] If a day hall is available the IRI of that day hall can be used to retrieve the suitable halls instead\n * @param {Bool} [available] Whether a hall is available for the booking engine\n * @param {Array} [location2]\n * @param {string} [name]\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n hallsSuitableGetCollection: async (\n startTime?: Time,\n endTime?: Time,\n date?: string,\n pax?: number,\n emplacement?: string,\n location?: string,\n reservationDayHall?: string,\n available?: Bool,\n location2?: Array,\n name?: string,\n options: AxiosRequestConfig = {},\n ): Promise => {\n const localVarPath = `/api/halls_suitable`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'GET',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n if (startTime !== undefined) {\n localVarQueryParameter['startTime'] = startTime;\n }\n\n if (endTime !== undefined) {\n localVarQueryParameter['endTime'] = endTime;\n }\n\n if (date !== undefined) {\n localVarQueryParameter['date'] =\n (date as any) instanceof Date ? (date as any).toISOString() : date;\n }\n\n if (pax !== undefined) {\n localVarQueryParameter['pax'] = pax;\n }\n\n if (emplacement !== undefined) {\n localVarQueryParameter['emplacement'] = emplacement;\n }\n\n if (location !== undefined) {\n localVarQueryParameter['location'] = location;\n }\n\n if (reservationDayHall !== undefined) {\n localVarQueryParameter['reservationDayHall'] = reservationDayHall;\n }\n\n if (available !== undefined) {\n localVarQueryParameter['available'] = available;\n }\n\n if (location2) {\n localVarQueryParameter['location[]'] = location2;\n }\n\n if (name !== undefined) {\n localVarQueryParameter['name'] = name;\n }\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Retrieves the collection of SuitableHall resources.\n * @summary Retrieve a list of halls available for the given reservation day with the most suitable at the top\n * @param {string} [startTime] The start time of the hall booking\n * @param {string} [endTime] The end time of the hall booking\n * @param {number} [pax] The pax amount needed for the hall\n * @param {string} [emplacement] The required IRI emplacement of the hall\n * @param {string} [location] The IRI of the location the hall should be selected from\n * @param {string} [reservationDayHall] If a day hall is available the IRI of that day hall can be used to retrieve the suitable halls instead\n * @param {Bool} [available] Whether a hall is available for the booking engine\n * @param {number} [page] The collection page number\n * @param {number} [itemsPerPage] The number of items per page\n * @param {*} [options] Override http request option.\n * @deprecated\n * @throws {RequiredError}\n */\n suitableHallsGetCollection: async (\n startTime?: string,\n endTime?: string,\n pax?: number,\n emplacement?: string,\n location?: string,\n reservationDayHall?: string,\n available?: Bool,\n page?: number,\n itemsPerPage?: number,\n options: AxiosRequestConfig = {},\n ): Promise => {\n const localVarPath = `/api/suitable_halls`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'GET',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n if (startTime !== undefined) {\n localVarQueryParameter['startTime'] =\n (startTime as any) instanceof Date\n ? (startTime as any).toISOString()\n : startTime;\n }\n\n if (endTime !== undefined) {\n localVarQueryParameter['endTime'] =\n (endTime as any) instanceof Date\n ? (endTime as any).toISOString()\n : endTime;\n }\n\n if (pax !== undefined) {\n localVarQueryParameter['pax'] = pax;\n }\n\n if (emplacement !== undefined) {\n localVarQueryParameter['emplacement'] = emplacement;\n }\n\n if (location !== undefined) {\n localVarQueryParameter['location'] = location;\n }\n\n if (reservationDayHall !== undefined) {\n localVarQueryParameter['reservationDayHall'] = reservationDayHall;\n }\n\n if (available !== undefined) {\n localVarQueryParameter['available'] = available;\n }\n\n if (page !== undefined) {\n localVarQueryParameter['page'] = page;\n }\n\n if (itemsPerPage !== undefined) {\n localVarQueryParameter['itemsPerPage'] = itemsPerPage;\n }\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n };\n};\n\n/**\n * HallApi - functional programming interface\n * @export\n */\nexport const HallApiFp = function (configuration?: Configuration) {\n const localVarAxiosParamCreator = HallApiAxiosParamCreator(configuration);\n return {\n /**\n * Retrieves the collection of HallEmplacement resources.\n * @summary Retrieve hall emplacements\n * @param {number} [page] The collection page number\n * @param {number} [itemsPerPage] The number of items per page\n * @param {string} [hall]\n * @param {Array} [hall2]\n * @param {string} [emplacement]\n * @param {Array} [emplacement2]\n * @param {string} [hallLocation]\n * @param {Array} [hallLocation2]\n * @param {string} [paxBetween]\n * @param {string} [paxGt]\n * @param {string} [paxGte]\n * @param {string} [paxLt]\n * @param {string} [paxLte]\n * @param {string} [hallSquareMetersBetween]\n * @param {string} [hallSquareMetersGt]\n * @param {string} [hallSquareMetersGte]\n * @param {string} [hallSquareMetersLt]\n * @param {string} [hallSquareMetersLte]\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async hallEmplacementsGetCollection(\n page?: number,\n itemsPerPage?: number,\n hall?: string,\n hall2?: Array,\n emplacement?: string,\n emplacement2?: Array,\n hallLocation?: string,\n hallLocation2?: Array,\n paxBetween?: string,\n paxGt?: string,\n paxGte?: string,\n paxLt?: string,\n paxLte?: string,\n hallSquareMetersBetween?: string,\n hallSquareMetersGt?: string,\n hallSquareMetersGte?: string,\n hallSquareMetersLt?: string,\n hallSquareMetersLte?: string,\n options?: AxiosRequestConfig,\n ): Promise<\n (\n axios?: AxiosInstance,\n basePath?: string,\n ) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.hallEmplacementsGetCollection(\n page,\n itemsPerPage,\n hall,\n hall2,\n emplacement,\n emplacement2,\n hallLocation,\n hallLocation2,\n paxBetween,\n paxGt,\n paxGte,\n paxLt,\n paxLte,\n hallSquareMetersBetween,\n hallSquareMetersGt,\n hallSquareMetersGte,\n hallSquareMetersLt,\n hallSquareMetersLte,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['HallApi.hallEmplacementsGetCollection']?.[index]\n ?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Retrieves a HallEmplacement resource.\n * @summary Retrieve a single hall emplacement\n * @param {string} id HallEmplacement identifier\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async hallEmplacementsIdGet(\n id: string,\n options?: AxiosRequestConfig,\n ): Promise<\n (\n axios?: AxiosInstance,\n basePath?: string,\n ) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.hallEmplacementsIdGet(id, options);\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['HallApi.hallEmplacementsIdGet']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Updates the HallEmplacement resource.\n * @summary Update an existing hall emplacement\n * @param {string} id HallEmplacement identifier\n * @param {HallEmplacementWrite} hallEmplacementWrite The updated HallEmplacement resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async hallEmplacementsIdPatch(\n id: string,\n hallEmplacementWrite: HallEmplacementWrite,\n options?: AxiosRequestConfig,\n ): Promise<\n (\n axios?: AxiosInstance,\n basePath?: string,\n ) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.hallEmplacementsIdPatch(\n id,\n hallEmplacementWrite,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['HallApi.hallEmplacementsIdPatch']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Replaces the HallEmplacement resource.\n * @summary Replace an existing hall emplacement\n * @param {string} id HallEmplacement identifier\n * @param {HallEmplacementWrite} hallEmplacementWrite The updated HallEmplacement resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async hallEmplacementsIdPut(\n id: string,\n hallEmplacementWrite: HallEmplacementWrite,\n options?: AxiosRequestConfig,\n ): Promise<\n (\n axios?: AxiosInstance,\n basePath?: string,\n ) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.hallEmplacementsIdPut(\n id,\n hallEmplacementWrite,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['HallApi.hallEmplacementsIdPut']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Retrieves the collection of HallPeriodPricing resources.\n * @summary Retrieve hall period pricing\n * @param {number} [page] The collection page number\n * @param {number} [itemsPerPage] The number of items per page\n * @param {string} [hall]\n * @param {Array} [hall2]\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async hallPeriodPricingsGetCollection(\n page?: number,\n itemsPerPage?: number,\n hall?: string,\n hall2?: Array,\n options?: AxiosRequestConfig,\n ): Promise<\n (\n axios?: AxiosInstance,\n basePath?: string,\n ) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.hallPeriodPricingsGetCollection(\n page,\n itemsPerPage,\n hall,\n hall2,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['HallApi.hallPeriodPricingsGetCollection']?.[index]\n ?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Retrieves a HallPeriodPricing resource.\n * @summary Retrieve a single hall period pricing\n * @param {string} id HallPeriodPricing identifier\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async hallPeriodPricingsIdGet(\n id: string,\n options?: AxiosRequestConfig,\n ): Promise<\n (\n axios?: AxiosInstance,\n basePath?: string,\n ) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.hallPeriodPricingsIdGet(id, options);\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['HallApi.hallPeriodPricingsIdGet']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Updates the HallPeriodPricing resource.\n * @summary Update an existing hall period pricing\n * @param {string} id HallPeriodPricing identifier\n * @param {HallPeriodPricingWrite} hallPeriodPricingWrite The updated HallPeriodPricing resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async hallPeriodPricingsIdPatch(\n id: string,\n hallPeriodPricingWrite: HallPeriodPricingWrite,\n options?: AxiosRequestConfig,\n ): Promise<\n (\n axios?: AxiosInstance,\n basePath?: string,\n ) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.hallPeriodPricingsIdPatch(\n id,\n hallPeriodPricingWrite,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['HallApi.hallPeriodPricingsIdPatch']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Replaces the HallPeriodPricing resource.\n * @summary Replace an existing hall period pricing\n * @param {string} id HallPeriodPricing identifier\n * @param {HallPeriodPricingWrite} hallPeriodPricingWrite The updated HallPeriodPricing resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async hallPeriodPricingsIdPut(\n id: string,\n hallPeriodPricingWrite: HallPeriodPricingWrite,\n options?: AxiosRequestConfig,\n ): Promise<\n (\n axios?: AxiosInstance,\n basePath?: string,\n ) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.hallPeriodPricingsIdPut(\n id,\n hallPeriodPricingWrite,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['HallApi.hallPeriodPricingsIdPut']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Retrieves the collection of Hall resources.\n * @summary Retrieves the collection of Hall resources.\n * @param {string} [location]\n * @param {Array} [location2]\n * @param {string} [name]\n * @param {boolean} [available]\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async hallsGetCollection(\n location?: string,\n location2?: Array,\n name?: string,\n available?: boolean,\n options?: AxiosRequestConfig,\n ): Promise<\n (\n axios?: AxiosInstance,\n basePath?: string,\n ) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.hallsGetCollection(\n location,\n location2,\n name,\n available,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['HallApi.hallsGetCollection']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Retrieves a Hall resource.\n * @summary Retrieves a Hall resource.\n * @param {string} id Hall identifier\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async hallsIdGet(\n id: string,\n options?: AxiosRequestConfig,\n ): Promise<\n (axios?: AxiosInstance, basePath?: string) => AxiosPromise\n > {\n const localVarAxiosArgs = await localVarAxiosParamCreator.hallsIdGet(\n id,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['HallApi.hallsIdGet']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Updates the Hall resource.\n * @summary Updates the Hall resource.\n * @param {string} id Hall identifier\n * @param {HallWrite} hallWrite The updated Hall resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async hallsIdPatch(\n id: string,\n hallWrite: HallWrite,\n options?: AxiosRequestConfig,\n ): Promise<\n (axios?: AxiosInstance, basePath?: string) => AxiosPromise\n > {\n const localVarAxiosArgs = await localVarAxiosParamCreator.hallsIdPatch(\n id,\n hallWrite,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['HallApi.hallsIdPatch']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Replaces the Hall resource.\n * @summary Replaces the Hall resource.\n * @param {string} id Hall identifier\n * @param {HallWrite} hallWrite The updated Hall resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async hallsIdPut(\n id: string,\n hallWrite: HallWrite,\n options?: AxiosRequestConfig,\n ): Promise<\n (axios?: AxiosInstance, basePath?: string) => AxiosPromise\n > {\n const localVarAxiosArgs = await localVarAxiosParamCreator.hallsIdPut(\n id,\n hallWrite,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['HallApi.hallsIdPut']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Retrieves the collection of Hall resources.\n * @summary Retrieve a list of halls available for the given reservation day with the most suitable at the top\n * @param {Time} [startTime] The start time of the hall booking\n * @param {Time} [endTime] The end time of the hall booking\n * @param {string} [date] The end time of the hall booking\n * @param {number} [pax] The pax amount needed for the hall\n * @param {string} [emplacement] The required IRI emplacement of the hall\n * @param {string} [location] The IRI of the location the hall should be selected from\n * @param {string} [reservationDayHall] If a day hall is available the IRI of that day hall can be used to retrieve the suitable halls instead\n * @param {Bool} [available] Whether a hall is available for the booking engine\n * @param {Array} [location2]\n * @param {string} [name]\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async hallsSuitableGetCollection(\n startTime?: Time,\n endTime?: Time,\n date?: string,\n pax?: number,\n emplacement?: string,\n location?: string,\n reservationDayHall?: string,\n available?: Bool,\n location2?: Array,\n name?: string,\n options?: AxiosRequestConfig,\n ): Promise<\n (\n axios?: AxiosInstance,\n basePath?: string,\n ) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.hallsSuitableGetCollection(\n startTime,\n endTime,\n date,\n pax,\n emplacement,\n location,\n reservationDayHall,\n available,\n location2,\n name,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['HallApi.hallsSuitableGetCollection']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Retrieves the collection of SuitableHall resources.\n * @summary Retrieve a list of halls available for the given reservation day with the most suitable at the top\n * @param {string} [startTime] The start time of the hall booking\n * @param {string} [endTime] The end time of the hall booking\n * @param {number} [pax] The pax amount needed for the hall\n * @param {string} [emplacement] The required IRI emplacement of the hall\n * @param {string} [location] The IRI of the location the hall should be selected from\n * @param {string} [reservationDayHall] If a day hall is available the IRI of that day hall can be used to retrieve the suitable halls instead\n * @param {Bool} [available] Whether a hall is available for the booking engine\n * @param {number} [page] The collection page number\n * @param {number} [itemsPerPage] The number of items per page\n * @param {*} [options] Override http request option.\n * @deprecated\n * @throws {RequiredError}\n */\n async suitableHallsGetCollection(\n startTime?: string,\n endTime?: string,\n pax?: number,\n emplacement?: string,\n location?: string,\n reservationDayHall?: string,\n available?: Bool,\n page?: number,\n itemsPerPage?: number,\n options?: AxiosRequestConfig,\n ): Promise<\n (\n axios?: AxiosInstance,\n basePath?: string,\n ) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.suitableHallsGetCollection(\n startTime,\n endTime,\n pax,\n emplacement,\n location,\n reservationDayHall,\n available,\n page,\n itemsPerPage,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['HallApi.suitableHallsGetCollection']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n };\n};\n\n/**\n * HallApi - factory interface\n * @export\n */\nexport const HallApiFactory = function (\n configuration?: Configuration,\n basePath?: string,\n axios?: AxiosInstance,\n) {\n const localVarFp = HallApiFp(configuration);\n return {\n /**\n * Retrieves the collection of HallEmplacement resources.\n * @summary Retrieve hall emplacements\n * @param {HallApiHallEmplacementsGetCollectionRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n hallEmplacementsGetCollection(\n requestParameters: HallApiHallEmplacementsGetCollectionRequest = {},\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .hallEmplacementsGetCollection(\n requestParameters.page,\n requestParameters.itemsPerPage,\n requestParameters.hall,\n requestParameters.hall2,\n requestParameters.emplacement,\n requestParameters.emplacement2,\n requestParameters.hallLocation,\n requestParameters.hallLocation2,\n requestParameters.paxBetween,\n requestParameters.paxGt,\n requestParameters.paxGte,\n requestParameters.paxLt,\n requestParameters.paxLte,\n requestParameters.hallSquareMetersBetween,\n requestParameters.hallSquareMetersGt,\n requestParameters.hallSquareMetersGte,\n requestParameters.hallSquareMetersLt,\n requestParameters.hallSquareMetersLte,\n options,\n )\n .then((request) => request(axios, basePath));\n },\n /**\n * Retrieves a HallEmplacement resource.\n * @summary Retrieve a single hall emplacement\n * @param {HallApiHallEmplacementsIdGetRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n hallEmplacementsIdGet(\n requestParameters: HallApiHallEmplacementsIdGetRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .hallEmplacementsIdGet(requestParameters.id, options)\n .then((request) => request(axios, basePath));\n },\n /**\n * Updates the HallEmplacement resource.\n * @summary Update an existing hall emplacement\n * @param {HallApiHallEmplacementsIdPatchRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n hallEmplacementsIdPatch(\n requestParameters: HallApiHallEmplacementsIdPatchRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .hallEmplacementsIdPatch(\n requestParameters.id,\n requestParameters.hallEmplacementWrite,\n options,\n )\n .then((request) => request(axios, basePath));\n },\n /**\n * Replaces the HallEmplacement resource.\n * @summary Replace an existing hall emplacement\n * @param {HallApiHallEmplacementsIdPutRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n hallEmplacementsIdPut(\n requestParameters: HallApiHallEmplacementsIdPutRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .hallEmplacementsIdPut(\n requestParameters.id,\n requestParameters.hallEmplacementWrite,\n options,\n )\n .then((request) => request(axios, basePath));\n },\n /**\n * Retrieves the collection of HallPeriodPricing resources.\n * @summary Retrieve hall period pricing\n * @param {HallApiHallPeriodPricingsGetCollectionRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n hallPeriodPricingsGetCollection(\n requestParameters: HallApiHallPeriodPricingsGetCollectionRequest = {},\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .hallPeriodPricingsGetCollection(\n requestParameters.page,\n requestParameters.itemsPerPage,\n requestParameters.hall,\n requestParameters.hall2,\n options,\n )\n .then((request) => request(axios, basePath));\n },\n /**\n * Retrieves a HallPeriodPricing resource.\n * @summary Retrieve a single hall period pricing\n * @param {HallApiHallPeriodPricingsIdGetRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n hallPeriodPricingsIdGet(\n requestParameters: HallApiHallPeriodPricingsIdGetRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .hallPeriodPricingsIdGet(requestParameters.id, options)\n .then((request) => request(axios, basePath));\n },\n /**\n * Updates the HallPeriodPricing resource.\n * @summary Update an existing hall period pricing\n * @param {HallApiHallPeriodPricingsIdPatchRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n hallPeriodPricingsIdPatch(\n requestParameters: HallApiHallPeriodPricingsIdPatchRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .hallPeriodPricingsIdPatch(\n requestParameters.id,\n requestParameters.hallPeriodPricingWrite,\n options,\n )\n .then((request) => request(axios, basePath));\n },\n /**\n * Replaces the HallPeriodPricing resource.\n * @summary Replace an existing hall period pricing\n * @param {HallApiHallPeriodPricingsIdPutRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n hallPeriodPricingsIdPut(\n requestParameters: HallApiHallPeriodPricingsIdPutRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .hallPeriodPricingsIdPut(\n requestParameters.id,\n requestParameters.hallPeriodPricingWrite,\n options,\n )\n .then((request) => request(axios, basePath));\n },\n /**\n * Retrieves the collection of Hall resources.\n * @summary Retrieves the collection of Hall resources.\n * @param {HallApiHallsGetCollectionRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n hallsGetCollection(\n requestParameters: HallApiHallsGetCollectionRequest = {},\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .hallsGetCollection(\n requestParameters.location,\n requestParameters.location2,\n requestParameters.name,\n requestParameters.available,\n options,\n )\n .then((request) => request(axios, basePath));\n },\n /**\n * Retrieves a Hall resource.\n * @summary Retrieves a Hall resource.\n * @param {HallApiHallsIdGetRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n hallsIdGet(\n requestParameters: HallApiHallsIdGetRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .hallsIdGet(requestParameters.id, options)\n .then((request) => request(axios, basePath));\n },\n /**\n * Updates the Hall resource.\n * @summary Updates the Hall resource.\n * @param {HallApiHallsIdPatchRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n hallsIdPatch(\n requestParameters: HallApiHallsIdPatchRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .hallsIdPatch(\n requestParameters.id,\n requestParameters.hallWrite,\n options,\n )\n .then((request) => request(axios, basePath));\n },\n /**\n * Replaces the Hall resource.\n * @summary Replaces the Hall resource.\n * @param {HallApiHallsIdPutRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n hallsIdPut(\n requestParameters: HallApiHallsIdPutRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .hallsIdPut(requestParameters.id, requestParameters.hallWrite, options)\n .then((request) => request(axios, basePath));\n },\n /**\n * Retrieves the collection of Hall resources.\n * @summary Retrieve a list of halls available for the given reservation day with the most suitable at the top\n * @param {HallApiHallsSuitableGetCollectionRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n hallsSuitableGetCollection(\n requestParameters: HallApiHallsSuitableGetCollectionRequest = {},\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .hallsSuitableGetCollection(\n requestParameters.startTime,\n requestParameters.endTime,\n requestParameters.date,\n requestParameters.pax,\n requestParameters.emplacement,\n requestParameters.location,\n requestParameters.reservationDayHall,\n requestParameters.available,\n requestParameters.location2,\n requestParameters.name,\n options,\n )\n .then((request) => request(axios, basePath));\n },\n /**\n * Retrieves the collection of SuitableHall resources.\n * @summary Retrieve a list of halls available for the given reservation day with the most suitable at the top\n * @param {HallApiSuitableHallsGetCollectionRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @deprecated\n * @throws {RequiredError}\n */\n suitableHallsGetCollection(\n requestParameters: HallApiSuitableHallsGetCollectionRequest = {},\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .suitableHallsGetCollection(\n requestParameters.startTime,\n requestParameters.endTime,\n requestParameters.pax,\n requestParameters.emplacement,\n requestParameters.location,\n requestParameters.reservationDayHall,\n requestParameters.available,\n requestParameters.page,\n requestParameters.itemsPerPage,\n options,\n )\n .then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * Request parameters for hallEmplacementsGetCollection operation in HallApi.\n * @export\n * @interface HallApiHallEmplacementsGetCollectionRequest\n */\nexport interface HallApiHallEmplacementsGetCollectionRequest {\n /**\n * The collection page number\n * @type {number}\n * @memberof HallApiHallEmplacementsGetCollection\n */\n readonly page?: number;\n\n /**\n * The number of items per page\n * @type {number}\n * @memberof HallApiHallEmplacementsGetCollection\n */\n readonly itemsPerPage?: number;\n\n /**\n *\n * @type {string}\n * @memberof HallApiHallEmplacementsGetCollection\n */\n readonly hall?: string;\n\n /**\n *\n * @type {Array}\n * @memberof HallApiHallEmplacementsGetCollection\n */\n readonly hall2?: Array;\n\n /**\n *\n * @type {string}\n * @memberof HallApiHallEmplacementsGetCollection\n */\n readonly emplacement?: string;\n\n /**\n *\n * @type {Array}\n * @memberof HallApiHallEmplacementsGetCollection\n */\n readonly emplacement2?: Array;\n\n /**\n *\n * @type {string}\n * @memberof HallApiHallEmplacementsGetCollection\n */\n readonly hallLocation?: string;\n\n /**\n *\n * @type {Array}\n * @memberof HallApiHallEmplacementsGetCollection\n */\n readonly hallLocation2?: Array;\n\n /**\n *\n * @type {string}\n * @memberof HallApiHallEmplacementsGetCollection\n */\n readonly paxBetween?: string;\n\n /**\n *\n * @type {string}\n * @memberof HallApiHallEmplacementsGetCollection\n */\n readonly paxGt?: string;\n\n /**\n *\n * @type {string}\n * @memberof HallApiHallEmplacementsGetCollection\n */\n readonly paxGte?: string;\n\n /**\n *\n * @type {string}\n * @memberof HallApiHallEmplacementsGetCollection\n */\n readonly paxLt?: string;\n\n /**\n *\n * @type {string}\n * @memberof HallApiHallEmplacementsGetCollection\n */\n readonly paxLte?: string;\n\n /**\n *\n * @type {string}\n * @memberof HallApiHallEmplacementsGetCollection\n */\n readonly hallSquareMetersBetween?: string;\n\n /**\n *\n * @type {string}\n * @memberof HallApiHallEmplacementsGetCollection\n */\n readonly hallSquareMetersGt?: string;\n\n /**\n *\n * @type {string}\n * @memberof HallApiHallEmplacementsGetCollection\n */\n readonly hallSquareMetersGte?: string;\n\n /**\n *\n * @type {string}\n * @memberof HallApiHallEmplacementsGetCollection\n */\n readonly hallSquareMetersLt?: string;\n\n /**\n *\n * @type {string}\n * @memberof HallApiHallEmplacementsGetCollection\n */\n readonly hallSquareMetersLte?: string;\n}\n\n/**\n * Request parameters for hallEmplacementsIdGet operation in HallApi.\n * @export\n * @interface HallApiHallEmplacementsIdGetRequest\n */\nexport interface HallApiHallEmplacementsIdGetRequest {\n /**\n * HallEmplacement identifier\n * @type {string}\n * @memberof HallApiHallEmplacementsIdGet\n */\n readonly id: string;\n}\n\n/**\n * Request parameters for hallEmplacementsIdPatch operation in HallApi.\n * @export\n * @interface HallApiHallEmplacementsIdPatchRequest\n */\nexport interface HallApiHallEmplacementsIdPatchRequest {\n /**\n * HallEmplacement identifier\n * @type {string}\n * @memberof HallApiHallEmplacementsIdPatch\n */\n readonly id: string;\n\n /**\n * The updated HallEmplacement resource\n * @type {HallEmplacementWrite}\n * @memberof HallApiHallEmplacementsIdPatch\n */\n readonly hallEmplacementWrite: HallEmplacementWrite;\n}\n\n/**\n * Request parameters for hallEmplacementsIdPut operation in HallApi.\n * @export\n * @interface HallApiHallEmplacementsIdPutRequest\n */\nexport interface HallApiHallEmplacementsIdPutRequest {\n /**\n * HallEmplacement identifier\n * @type {string}\n * @memberof HallApiHallEmplacementsIdPut\n */\n readonly id: string;\n\n /**\n * The updated HallEmplacement resource\n * @type {HallEmplacementWrite}\n * @memberof HallApiHallEmplacementsIdPut\n */\n readonly hallEmplacementWrite: HallEmplacementWrite;\n}\n\n/**\n * Request parameters for hallPeriodPricingsGetCollection operation in HallApi.\n * @export\n * @interface HallApiHallPeriodPricingsGetCollectionRequest\n */\nexport interface HallApiHallPeriodPricingsGetCollectionRequest {\n /**\n * The collection page number\n * @type {number}\n * @memberof HallApiHallPeriodPricingsGetCollection\n */\n readonly page?: number;\n\n /**\n * The number of items per page\n * @type {number}\n * @memberof HallApiHallPeriodPricingsGetCollection\n */\n readonly itemsPerPage?: number;\n\n /**\n *\n * @type {string}\n * @memberof HallApiHallPeriodPricingsGetCollection\n */\n readonly hall?: string;\n\n /**\n *\n * @type {Array}\n * @memberof HallApiHallPeriodPricingsGetCollection\n */\n readonly hall2?: Array;\n}\n\n/**\n * Request parameters for hallPeriodPricingsIdGet operation in HallApi.\n * @export\n * @interface HallApiHallPeriodPricingsIdGetRequest\n */\nexport interface HallApiHallPeriodPricingsIdGetRequest {\n /**\n * HallPeriodPricing identifier\n * @type {string}\n * @memberof HallApiHallPeriodPricingsIdGet\n */\n readonly id: string;\n}\n\n/**\n * Request parameters for hallPeriodPricingsIdPatch operation in HallApi.\n * @export\n * @interface HallApiHallPeriodPricingsIdPatchRequest\n */\nexport interface HallApiHallPeriodPricingsIdPatchRequest {\n /**\n * HallPeriodPricing identifier\n * @type {string}\n * @memberof HallApiHallPeriodPricingsIdPatch\n */\n readonly id: string;\n\n /**\n * The updated HallPeriodPricing resource\n * @type {HallPeriodPricingWrite}\n * @memberof HallApiHallPeriodPricingsIdPatch\n */\n readonly hallPeriodPricingWrite: HallPeriodPricingWrite;\n}\n\n/**\n * Request parameters for hallPeriodPricingsIdPut operation in HallApi.\n * @export\n * @interface HallApiHallPeriodPricingsIdPutRequest\n */\nexport interface HallApiHallPeriodPricingsIdPutRequest {\n /**\n * HallPeriodPricing identifier\n * @type {string}\n * @memberof HallApiHallPeriodPricingsIdPut\n */\n readonly id: string;\n\n /**\n * The updated HallPeriodPricing resource\n * @type {HallPeriodPricingWrite}\n * @memberof HallApiHallPeriodPricingsIdPut\n */\n readonly hallPeriodPricingWrite: HallPeriodPricingWrite;\n}\n\n/**\n * Request parameters for hallsGetCollection operation in HallApi.\n * @export\n * @interface HallApiHallsGetCollectionRequest\n */\nexport interface HallApiHallsGetCollectionRequest {\n /**\n *\n * @type {string}\n * @memberof HallApiHallsGetCollection\n */\n readonly location?: string;\n\n /**\n *\n * @type {Array}\n * @memberof HallApiHallsGetCollection\n */\n readonly location2?: Array;\n\n /**\n *\n * @type {string}\n * @memberof HallApiHallsGetCollection\n */\n readonly name?: string;\n\n /**\n *\n * @type {boolean}\n * @memberof HallApiHallsGetCollection\n */\n readonly available?: boolean;\n}\n\n/**\n * Request parameters for hallsIdGet operation in HallApi.\n * @export\n * @interface HallApiHallsIdGetRequest\n */\nexport interface HallApiHallsIdGetRequest {\n /**\n * Hall identifier\n * @type {string}\n * @memberof HallApiHallsIdGet\n */\n readonly id: string;\n}\n\n/**\n * Request parameters for hallsIdPatch operation in HallApi.\n * @export\n * @interface HallApiHallsIdPatchRequest\n */\nexport interface HallApiHallsIdPatchRequest {\n /**\n * Hall identifier\n * @type {string}\n * @memberof HallApiHallsIdPatch\n */\n readonly id: string;\n\n /**\n * The updated Hall resource\n * @type {HallWrite}\n * @memberof HallApiHallsIdPatch\n */\n readonly hallWrite: HallWrite;\n}\n\n/**\n * Request parameters for hallsIdPut operation in HallApi.\n * @export\n * @interface HallApiHallsIdPutRequest\n */\nexport interface HallApiHallsIdPutRequest {\n /**\n * Hall identifier\n * @type {string}\n * @memberof HallApiHallsIdPut\n */\n readonly id: string;\n\n /**\n * The updated Hall resource\n * @type {HallWrite}\n * @memberof HallApiHallsIdPut\n */\n readonly hallWrite: HallWrite;\n}\n\n/**\n * Request parameters for hallsSuitableGetCollection operation in HallApi.\n * @export\n * @interface HallApiHallsSuitableGetCollectionRequest\n */\nexport interface HallApiHallsSuitableGetCollectionRequest {\n /**\n * The start time of the hall booking\n * @type {Time}\n * @memberof HallApiHallsSuitableGetCollection\n */\n readonly startTime?: Time;\n\n /**\n * The end time of the hall booking\n * @type {Time}\n * @memberof HallApiHallsSuitableGetCollection\n */\n readonly endTime?: Time;\n\n /**\n * The end time of the hall booking\n * @type {string}\n * @memberof HallApiHallsSuitableGetCollection\n */\n readonly date?: string;\n\n /**\n * The pax amount needed for the hall\n * @type {number}\n * @memberof HallApiHallsSuitableGetCollection\n */\n readonly pax?: number;\n\n /**\n * The required IRI emplacement of the hall\n * @type {string}\n * @memberof HallApiHallsSuitableGetCollection\n */\n readonly emplacement?: string;\n\n /**\n * The IRI of the location the hall should be selected from\n * @type {string}\n * @memberof HallApiHallsSuitableGetCollection\n */\n readonly location?: string;\n\n /**\n * If a day hall is available the IRI of that day hall can be used to retrieve the suitable halls instead\n * @type {string}\n * @memberof HallApiHallsSuitableGetCollection\n */\n readonly reservationDayHall?: string;\n\n /**\n * Whether a hall is available for the booking engine\n * @type {Bool}\n * @memberof HallApiHallsSuitableGetCollection\n */\n readonly available?: Bool;\n\n /**\n *\n * @type {Array}\n * @memberof HallApiHallsSuitableGetCollection\n */\n readonly location2?: Array;\n\n /**\n *\n * @type {string}\n * @memberof HallApiHallsSuitableGetCollection\n */\n readonly name?: string;\n}\n\n/**\n * Request parameters for suitableHallsGetCollection operation in HallApi.\n * @export\n * @interface HallApiSuitableHallsGetCollectionRequest\n */\nexport interface HallApiSuitableHallsGetCollectionRequest {\n /**\n * The start time of the hall booking\n * @type {string}\n * @memberof HallApiSuitableHallsGetCollection\n */\n readonly startTime?: string;\n\n /**\n * The end time of the hall booking\n * @type {string}\n * @memberof HallApiSuitableHallsGetCollection\n */\n readonly endTime?: string;\n\n /**\n * The pax amount needed for the hall\n * @type {number}\n * @memberof HallApiSuitableHallsGetCollection\n */\n readonly pax?: number;\n\n /**\n * The required IRI emplacement of the hall\n * @type {string}\n * @memberof HallApiSuitableHallsGetCollection\n */\n readonly emplacement?: string;\n\n /**\n * The IRI of the location the hall should be selected from\n * @type {string}\n * @memberof HallApiSuitableHallsGetCollection\n */\n readonly location?: string;\n\n /**\n * If a day hall is available the IRI of that day hall can be used to retrieve the suitable halls instead\n * @type {string}\n * @memberof HallApiSuitableHallsGetCollection\n */\n readonly reservationDayHall?: string;\n\n /**\n * Whether a hall is available for the booking engine\n * @type {Bool}\n * @memberof HallApiSuitableHallsGetCollection\n */\n readonly available?: Bool;\n\n /**\n * The collection page number\n * @type {number}\n * @memberof HallApiSuitableHallsGetCollection\n */\n readonly page?: number;\n\n /**\n * The number of items per page\n * @type {number}\n * @memberof HallApiSuitableHallsGetCollection\n */\n readonly itemsPerPage?: number;\n}\n\n/**\n * HallApi - object-oriented interface\n * @export\n * @class HallApi\n * @extends {BaseAPI}\n */\nexport class HallApi extends BaseAPI {\n /**\n * Retrieves the collection of HallEmplacement resources.\n * @summary Retrieve hall emplacements\n * @param {HallApiHallEmplacementsGetCollectionRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof HallApi\n */\n public hallEmplacementsGetCollection(\n requestParameters: HallApiHallEmplacementsGetCollectionRequest = {},\n options?: AxiosRequestConfig,\n ) {\n return HallApiFp(this.configuration)\n .hallEmplacementsGetCollection(\n requestParameters.page,\n requestParameters.itemsPerPage,\n requestParameters.hall,\n requestParameters.hall2,\n requestParameters.emplacement,\n requestParameters.emplacement2,\n requestParameters.hallLocation,\n requestParameters.hallLocation2,\n requestParameters.paxBetween,\n requestParameters.paxGt,\n requestParameters.paxGte,\n requestParameters.paxLt,\n requestParameters.paxLte,\n requestParameters.hallSquareMetersBetween,\n requestParameters.hallSquareMetersGt,\n requestParameters.hallSquareMetersGte,\n requestParameters.hallSquareMetersLt,\n requestParameters.hallSquareMetersLte,\n options,\n )\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Retrieves a HallEmplacement resource.\n * @summary Retrieve a single hall emplacement\n * @param {HallApiHallEmplacementsIdGetRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof HallApi\n */\n public hallEmplacementsIdGet(\n requestParameters: HallApiHallEmplacementsIdGetRequest,\n options?: AxiosRequestConfig,\n ) {\n return HallApiFp(this.configuration)\n .hallEmplacementsIdGet(requestParameters.id, options)\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Updates the HallEmplacement resource.\n * @summary Update an existing hall emplacement\n * @param {HallApiHallEmplacementsIdPatchRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof HallApi\n */\n public hallEmplacementsIdPatch(\n requestParameters: HallApiHallEmplacementsIdPatchRequest,\n options?: AxiosRequestConfig,\n ) {\n return HallApiFp(this.configuration)\n .hallEmplacementsIdPatch(\n requestParameters.id,\n requestParameters.hallEmplacementWrite,\n options,\n )\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Replaces the HallEmplacement resource.\n * @summary Replace an existing hall emplacement\n * @param {HallApiHallEmplacementsIdPutRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof HallApi\n */\n public hallEmplacementsIdPut(\n requestParameters: HallApiHallEmplacementsIdPutRequest,\n options?: AxiosRequestConfig,\n ) {\n return HallApiFp(this.configuration)\n .hallEmplacementsIdPut(\n requestParameters.id,\n requestParameters.hallEmplacementWrite,\n options,\n )\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Retrieves the collection of HallPeriodPricing resources.\n * @summary Retrieve hall period pricing\n * @param {HallApiHallPeriodPricingsGetCollectionRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof HallApi\n */\n public hallPeriodPricingsGetCollection(\n requestParameters: HallApiHallPeriodPricingsGetCollectionRequest = {},\n options?: AxiosRequestConfig,\n ) {\n return HallApiFp(this.configuration)\n .hallPeriodPricingsGetCollection(\n requestParameters.page,\n requestParameters.itemsPerPage,\n requestParameters.hall,\n requestParameters.hall2,\n options,\n )\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Retrieves a HallPeriodPricing resource.\n * @summary Retrieve a single hall period pricing\n * @param {HallApiHallPeriodPricingsIdGetRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof HallApi\n */\n public hallPeriodPricingsIdGet(\n requestParameters: HallApiHallPeriodPricingsIdGetRequest,\n options?: AxiosRequestConfig,\n ) {\n return HallApiFp(this.configuration)\n .hallPeriodPricingsIdGet(requestParameters.id, options)\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Updates the HallPeriodPricing resource.\n * @summary Update an existing hall period pricing\n * @param {HallApiHallPeriodPricingsIdPatchRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof HallApi\n */\n public hallPeriodPricingsIdPatch(\n requestParameters: HallApiHallPeriodPricingsIdPatchRequest,\n options?: AxiosRequestConfig,\n ) {\n return HallApiFp(this.configuration)\n .hallPeriodPricingsIdPatch(\n requestParameters.id,\n requestParameters.hallPeriodPricingWrite,\n options,\n )\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Replaces the HallPeriodPricing resource.\n * @summary Replace an existing hall period pricing\n * @param {HallApiHallPeriodPricingsIdPutRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof HallApi\n */\n public hallPeriodPricingsIdPut(\n requestParameters: HallApiHallPeriodPricingsIdPutRequest,\n options?: AxiosRequestConfig,\n ) {\n return HallApiFp(this.configuration)\n .hallPeriodPricingsIdPut(\n requestParameters.id,\n requestParameters.hallPeriodPricingWrite,\n options,\n )\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Retrieves the collection of Hall resources.\n * @summary Retrieves the collection of Hall resources.\n * @param {HallApiHallsGetCollectionRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof HallApi\n */\n public hallsGetCollection(\n requestParameters: HallApiHallsGetCollectionRequest = {},\n options?: AxiosRequestConfig,\n ) {\n return HallApiFp(this.configuration)\n .hallsGetCollection(\n requestParameters.location,\n requestParameters.location2,\n requestParameters.name,\n requestParameters.available,\n options,\n )\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Retrieves a Hall resource.\n * @summary Retrieves a Hall resource.\n * @param {HallApiHallsIdGetRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof HallApi\n */\n public hallsIdGet(\n requestParameters: HallApiHallsIdGetRequest,\n options?: AxiosRequestConfig,\n ) {\n return HallApiFp(this.configuration)\n .hallsIdGet(requestParameters.id, options)\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Updates the Hall resource.\n * @summary Updates the Hall resource.\n * @param {HallApiHallsIdPatchRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof HallApi\n */\n public hallsIdPatch(\n requestParameters: HallApiHallsIdPatchRequest,\n options?: AxiosRequestConfig,\n ) {\n return HallApiFp(this.configuration)\n .hallsIdPatch(requestParameters.id, requestParameters.hallWrite, options)\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Replaces the Hall resource.\n * @summary Replaces the Hall resource.\n * @param {HallApiHallsIdPutRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof HallApi\n */\n public hallsIdPut(\n requestParameters: HallApiHallsIdPutRequest,\n options?: AxiosRequestConfig,\n ) {\n return HallApiFp(this.configuration)\n .hallsIdPut(requestParameters.id, requestParameters.hallWrite, options)\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Retrieves the collection of Hall resources.\n * @summary Retrieve a list of halls available for the given reservation day with the most suitable at the top\n * @param {HallApiHallsSuitableGetCollectionRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof HallApi\n */\n public hallsSuitableGetCollection(\n requestParameters: HallApiHallsSuitableGetCollectionRequest = {},\n options?: AxiosRequestConfig,\n ) {\n return HallApiFp(this.configuration)\n .hallsSuitableGetCollection(\n requestParameters.startTime,\n requestParameters.endTime,\n requestParameters.date,\n requestParameters.pax,\n requestParameters.emplacement,\n requestParameters.location,\n requestParameters.reservationDayHall,\n requestParameters.available,\n requestParameters.location2,\n requestParameters.name,\n options,\n )\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Retrieves the collection of SuitableHall resources.\n * @summary Retrieve a list of halls available for the given reservation day with the most suitable at the top\n * @param {HallApiSuitableHallsGetCollectionRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @deprecated\n * @throws {RequiredError}\n * @memberof HallApi\n */\n public suitableHallsGetCollection(\n requestParameters: HallApiSuitableHallsGetCollectionRequest = {},\n options?: AxiosRequestConfig,\n ) {\n return HallApiFp(this.configuration)\n .suitableHallsGetCollection(\n requestParameters.startTime,\n requestParameters.endTime,\n requestParameters.pax,\n requestParameters.emplacement,\n requestParameters.location,\n requestParameters.reservationDayHall,\n requestParameters.available,\n requestParameters.page,\n requestParameters.itemsPerPage,\n options,\n )\n .then((request) => request(this.axios, this.basePath));\n }\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Thynk Direct API\n * The API for managing reservation for [Thynk Direct](https://thynk.cloud/).\n *\n * The version of the OpenAPI document: 4.20.16\n *\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport type { Configuration } from '../configuration';\nimport type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';\nimport globalAxios from 'axios';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport {\n DUMMY_BASE_URL,\n assertParamExists,\n setApiKeyToObject,\n setBasicAuthToObject,\n setBearerAuthToObject,\n setOAuthToObject,\n setSearchParams,\n serializeDataIfNeeded,\n toPathString,\n createRequestFunction,\n} from '../common';\n// @ts-ignore\nimport {\n BASE_PATH,\n COLLECTION_FORMATS,\n RequestArgs,\n BaseAPI,\n RequiredError,\n operationServerMap,\n} from '../base';\n// @ts-ignore\nimport { ItemRead } from '../model';\n// @ts-ignore\nimport { ItemWrite } from '../model';\n// @ts-ignore\nimport { ItemsGetCollection200Response } from '../model';\n/**\n * ItemApi - axios parameter creator\n * @export\n */\nexport const ItemApiAxiosParamCreator = function (\n configuration?: Configuration,\n) {\n return {\n /**\n * Retrieves the collection of Item resources.\n * @summary Retrieves the collection of Item resources.\n * @param {ItemsGetCollectionOrderTranslationsNameEnum} [orderTranslationsName]\n * @param {ItemsGetCollectionOrderCategoryEnum} [orderCategory]\n * @param {ItemsGetCollectionOrderLocationNameEnum} [orderLocationName]\n * @param {ItemsGetCollectionOrderPriceEnum} [orderPrice]\n * @param {ItemsGetCollectionOrderAvailableEnum} [orderAvailable]\n * @param {string} [location]\n * @param {Array} [location2]\n * @param {string} [category]\n * @param {Array} [category2]\n * @param {string} [translationsName]\n * @param {boolean} [available]\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n itemsGetCollection: async (\n orderTranslationsName?: ItemsGetCollectionOrderTranslationsNameEnum,\n orderCategory?: ItemsGetCollectionOrderCategoryEnum,\n orderLocationName?: ItemsGetCollectionOrderLocationNameEnum,\n orderPrice?: ItemsGetCollectionOrderPriceEnum,\n orderAvailable?: ItemsGetCollectionOrderAvailableEnum,\n location?: string,\n location2?: Array,\n category?: string,\n category2?: Array,\n translationsName?: string,\n available?: boolean,\n options: AxiosRequestConfig = {},\n ): Promise => {\n const localVarPath = `/api/items`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'GET',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n if (orderTranslationsName !== undefined) {\n localVarQueryParameter['order[translations.name]'] =\n orderTranslationsName;\n }\n\n if (orderCategory !== undefined) {\n localVarQueryParameter['order[category]'] = orderCategory;\n }\n\n if (orderLocationName !== undefined) {\n localVarQueryParameter['order[location.name]'] = orderLocationName;\n }\n\n if (orderPrice !== undefined) {\n localVarQueryParameter['order[price]'] = orderPrice;\n }\n\n if (orderAvailable !== undefined) {\n localVarQueryParameter['order[available]'] = orderAvailable;\n }\n\n if (location !== undefined) {\n localVarQueryParameter['location'] = location;\n }\n\n if (location2) {\n localVarQueryParameter['location[]'] = location2;\n }\n\n if (category !== undefined) {\n localVarQueryParameter['category'] = category;\n }\n\n if (category2) {\n localVarQueryParameter['category[]'] = category2;\n }\n\n if (translationsName !== undefined) {\n localVarQueryParameter['translations.name'] = translationsName;\n }\n\n if (available !== undefined) {\n localVarQueryParameter['available'] = available;\n }\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Retrieves a Item resource.\n * @summary Retrieves a Item resource.\n * @param {string} id Item identifier\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n itemsIdGet: async (\n id: string,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('itemsIdGet', 'id', id);\n const localVarPath = `/api/items/{id}`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'GET',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Replaces the Item resource.\n * @summary Replaces the Item resource.\n * @param {string} id Item identifier\n * @param {ItemWrite} itemWrite The updated Item resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n itemsIdPut: async (\n id: string,\n itemWrite: ItemWrite,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('itemsIdPut', 'id', id);\n // verify required parameter 'itemWrite' is not null or undefined\n assertParamExists('itemsIdPut', 'itemWrite', itemWrite);\n const localVarPath = `/api/items/{id}`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'PUT',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n localVarHeaderParameter['Content-Type'] = 'application/ld+json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n localVarRequestOptions.data = serializeDataIfNeeded(\n itemWrite,\n localVarRequestOptions,\n configuration,\n );\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Creates a Item resource.\n * @summary Creates a Item resource.\n * @param {ItemWrite} itemWrite The new Item resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n itemsPost: async (\n itemWrite: ItemWrite,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'itemWrite' is not null or undefined\n assertParamExists('itemsPost', 'itemWrite', itemWrite);\n const localVarPath = `/api/items`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'POST',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n localVarHeaderParameter['Content-Type'] = 'application/ld+json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n localVarRequestOptions.data = serializeDataIfNeeded(\n itemWrite,\n localVarRequestOptions,\n configuration,\n );\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n };\n};\n\n/**\n * ItemApi - functional programming interface\n * @export\n */\nexport const ItemApiFp = function (configuration?: Configuration) {\n const localVarAxiosParamCreator = ItemApiAxiosParamCreator(configuration);\n return {\n /**\n * Retrieves the collection of Item resources.\n * @summary Retrieves the collection of Item resources.\n * @param {ItemsGetCollectionOrderTranslationsNameEnum} [orderTranslationsName]\n * @param {ItemsGetCollectionOrderCategoryEnum} [orderCategory]\n * @param {ItemsGetCollectionOrderLocationNameEnum} [orderLocationName]\n * @param {ItemsGetCollectionOrderPriceEnum} [orderPrice]\n * @param {ItemsGetCollectionOrderAvailableEnum} [orderAvailable]\n * @param {string} [location]\n * @param {Array} [location2]\n * @param {string} [category]\n * @param {Array} [category2]\n * @param {string} [translationsName]\n * @param {boolean} [available]\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async itemsGetCollection(\n orderTranslationsName?: ItemsGetCollectionOrderTranslationsNameEnum,\n orderCategory?: ItemsGetCollectionOrderCategoryEnum,\n orderLocationName?: ItemsGetCollectionOrderLocationNameEnum,\n orderPrice?: ItemsGetCollectionOrderPriceEnum,\n orderAvailable?: ItemsGetCollectionOrderAvailableEnum,\n location?: string,\n location2?: Array,\n category?: string,\n category2?: Array,\n translationsName?: string,\n available?: boolean,\n options?: AxiosRequestConfig,\n ): Promise<\n (\n axios?: AxiosInstance,\n basePath?: string,\n ) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.itemsGetCollection(\n orderTranslationsName,\n orderCategory,\n orderLocationName,\n orderPrice,\n orderAvailable,\n location,\n location2,\n category,\n category2,\n translationsName,\n available,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['ItemApi.itemsGetCollection']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Retrieves a Item resource.\n * @summary Retrieves a Item resource.\n * @param {string} id Item identifier\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async itemsIdGet(\n id: string,\n options?: AxiosRequestConfig,\n ): Promise<\n (axios?: AxiosInstance, basePath?: string) => AxiosPromise\n > {\n const localVarAxiosArgs = await localVarAxiosParamCreator.itemsIdGet(\n id,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['ItemApi.itemsIdGet']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Replaces the Item resource.\n * @summary Replaces the Item resource.\n * @param {string} id Item identifier\n * @param {ItemWrite} itemWrite The updated Item resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async itemsIdPut(\n id: string,\n itemWrite: ItemWrite,\n options?: AxiosRequestConfig,\n ): Promise<\n (axios?: AxiosInstance, basePath?: string) => AxiosPromise\n > {\n const localVarAxiosArgs = await localVarAxiosParamCreator.itemsIdPut(\n id,\n itemWrite,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['ItemApi.itemsIdPut']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Creates a Item resource.\n * @summary Creates a Item resource.\n * @param {ItemWrite} itemWrite The new Item resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async itemsPost(\n itemWrite: ItemWrite,\n options?: AxiosRequestConfig,\n ): Promise<\n (axios?: AxiosInstance, basePath?: string) => AxiosPromise\n > {\n const localVarAxiosArgs = await localVarAxiosParamCreator.itemsPost(\n itemWrite,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['ItemApi.itemsPost']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n };\n};\n\n/**\n * ItemApi - factory interface\n * @export\n */\nexport const ItemApiFactory = function (\n configuration?: Configuration,\n basePath?: string,\n axios?: AxiosInstance,\n) {\n const localVarFp = ItemApiFp(configuration);\n return {\n /**\n * Retrieves the collection of Item resources.\n * @summary Retrieves the collection of Item resources.\n * @param {ItemApiItemsGetCollectionRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n itemsGetCollection(\n requestParameters: ItemApiItemsGetCollectionRequest = {},\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .itemsGetCollection(\n requestParameters.orderTranslationsName,\n requestParameters.orderCategory,\n requestParameters.orderLocationName,\n requestParameters.orderPrice,\n requestParameters.orderAvailable,\n requestParameters.location,\n requestParameters.location2,\n requestParameters.category,\n requestParameters.category2,\n requestParameters.translationsName,\n requestParameters.available,\n options,\n )\n .then((request) => request(axios, basePath));\n },\n /**\n * Retrieves a Item resource.\n * @summary Retrieves a Item resource.\n * @param {ItemApiItemsIdGetRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n itemsIdGet(\n requestParameters: ItemApiItemsIdGetRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .itemsIdGet(requestParameters.id, options)\n .then((request) => request(axios, basePath));\n },\n /**\n * Replaces the Item resource.\n * @summary Replaces the Item resource.\n * @param {ItemApiItemsIdPutRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n itemsIdPut(\n requestParameters: ItemApiItemsIdPutRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .itemsIdPut(requestParameters.id, requestParameters.itemWrite, options)\n .then((request) => request(axios, basePath));\n },\n /**\n * Creates a Item resource.\n * @summary Creates a Item resource.\n * @param {ItemApiItemsPostRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n itemsPost(\n requestParameters: ItemApiItemsPostRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .itemsPost(requestParameters.itemWrite, options)\n .then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * Request parameters for itemsGetCollection operation in ItemApi.\n * @export\n * @interface ItemApiItemsGetCollectionRequest\n */\nexport interface ItemApiItemsGetCollectionRequest {\n /**\n *\n * @type {'asc' | 'desc'}\n * @memberof ItemApiItemsGetCollection\n */\n readonly orderTranslationsName?: ItemsGetCollectionOrderTranslationsNameEnum;\n\n /**\n *\n * @type {'asc' | 'desc'}\n * @memberof ItemApiItemsGetCollection\n */\n readonly orderCategory?: ItemsGetCollectionOrderCategoryEnum;\n\n /**\n *\n * @type {'asc' | 'desc'}\n * @memberof ItemApiItemsGetCollection\n */\n readonly orderLocationName?: ItemsGetCollectionOrderLocationNameEnum;\n\n /**\n *\n * @type {'asc' | 'desc'}\n * @memberof ItemApiItemsGetCollection\n */\n readonly orderPrice?: ItemsGetCollectionOrderPriceEnum;\n\n /**\n *\n * @type {'asc' | 'desc'}\n * @memberof ItemApiItemsGetCollection\n */\n readonly orderAvailable?: ItemsGetCollectionOrderAvailableEnum;\n\n /**\n *\n * @type {string}\n * @memberof ItemApiItemsGetCollection\n */\n readonly location?: string;\n\n /**\n *\n * @type {Array}\n * @memberof ItemApiItemsGetCollection\n */\n readonly location2?: Array;\n\n /**\n *\n * @type {string}\n * @memberof ItemApiItemsGetCollection\n */\n readonly category?: string;\n\n /**\n *\n * @type {Array}\n * @memberof ItemApiItemsGetCollection\n */\n readonly category2?: Array;\n\n /**\n *\n * @type {string}\n * @memberof ItemApiItemsGetCollection\n */\n readonly translationsName?: string;\n\n /**\n *\n * @type {boolean}\n * @memberof ItemApiItemsGetCollection\n */\n readonly available?: boolean;\n}\n\n/**\n * Request parameters for itemsIdGet operation in ItemApi.\n * @export\n * @interface ItemApiItemsIdGetRequest\n */\nexport interface ItemApiItemsIdGetRequest {\n /**\n * Item identifier\n * @type {string}\n * @memberof ItemApiItemsIdGet\n */\n readonly id: string;\n}\n\n/**\n * Request parameters for itemsIdPut operation in ItemApi.\n * @export\n * @interface ItemApiItemsIdPutRequest\n */\nexport interface ItemApiItemsIdPutRequest {\n /**\n * Item identifier\n * @type {string}\n * @memberof ItemApiItemsIdPut\n */\n readonly id: string;\n\n /**\n * The updated Item resource\n * @type {ItemWrite}\n * @memberof ItemApiItemsIdPut\n */\n readonly itemWrite: ItemWrite;\n}\n\n/**\n * Request parameters for itemsPost operation in ItemApi.\n * @export\n * @interface ItemApiItemsPostRequest\n */\nexport interface ItemApiItemsPostRequest {\n /**\n * The new Item resource\n * @type {ItemWrite}\n * @memberof ItemApiItemsPost\n */\n readonly itemWrite: ItemWrite;\n}\n\n/**\n * ItemApi - object-oriented interface\n * @export\n * @class ItemApi\n * @extends {BaseAPI}\n */\nexport class ItemApi extends BaseAPI {\n /**\n * Retrieves the collection of Item resources.\n * @summary Retrieves the collection of Item resources.\n * @param {ItemApiItemsGetCollectionRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ItemApi\n */\n public itemsGetCollection(\n requestParameters: ItemApiItemsGetCollectionRequest = {},\n options?: AxiosRequestConfig,\n ) {\n return ItemApiFp(this.configuration)\n .itemsGetCollection(\n requestParameters.orderTranslationsName,\n requestParameters.orderCategory,\n requestParameters.orderLocationName,\n requestParameters.orderPrice,\n requestParameters.orderAvailable,\n requestParameters.location,\n requestParameters.location2,\n requestParameters.category,\n requestParameters.category2,\n requestParameters.translationsName,\n requestParameters.available,\n options,\n )\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Retrieves a Item resource.\n * @summary Retrieves a Item resource.\n * @param {ItemApiItemsIdGetRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ItemApi\n */\n public itemsIdGet(\n requestParameters: ItemApiItemsIdGetRequest,\n options?: AxiosRequestConfig,\n ) {\n return ItemApiFp(this.configuration)\n .itemsIdGet(requestParameters.id, options)\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Replaces the Item resource.\n * @summary Replaces the Item resource.\n * @param {ItemApiItemsIdPutRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ItemApi\n */\n public itemsIdPut(\n requestParameters: ItemApiItemsIdPutRequest,\n options?: AxiosRequestConfig,\n ) {\n return ItemApiFp(this.configuration)\n .itemsIdPut(requestParameters.id, requestParameters.itemWrite, options)\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Creates a Item resource.\n * @summary Creates a Item resource.\n * @param {ItemApiItemsPostRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ItemApi\n */\n public itemsPost(\n requestParameters: ItemApiItemsPostRequest,\n options?: AxiosRequestConfig,\n ) {\n return ItemApiFp(this.configuration)\n .itemsPost(requestParameters.itemWrite, options)\n .then((request) => request(this.axios, this.basePath));\n }\n}\n\n/**\n * @export\n */\nexport const ItemsGetCollectionOrderTranslationsNameEnum = {\n Asc: 'asc',\n Desc: 'desc',\n} as const;\nexport type ItemsGetCollectionOrderTranslationsNameEnum =\n (typeof ItemsGetCollectionOrderTranslationsNameEnum)[keyof typeof ItemsGetCollectionOrderTranslationsNameEnum];\n/**\n * @export\n */\nexport const ItemsGetCollectionOrderCategoryEnum = {\n Asc: 'asc',\n Desc: 'desc',\n} as const;\nexport type ItemsGetCollectionOrderCategoryEnum =\n (typeof ItemsGetCollectionOrderCategoryEnum)[keyof typeof ItemsGetCollectionOrderCategoryEnum];\n/**\n * @export\n */\nexport const ItemsGetCollectionOrderLocationNameEnum = {\n Asc: 'asc',\n Desc: 'desc',\n} as const;\nexport type ItemsGetCollectionOrderLocationNameEnum =\n (typeof ItemsGetCollectionOrderLocationNameEnum)[keyof typeof ItemsGetCollectionOrderLocationNameEnum];\n/**\n * @export\n */\nexport const ItemsGetCollectionOrderPriceEnum = {\n Asc: 'asc',\n Desc: 'desc',\n} as const;\nexport type ItemsGetCollectionOrderPriceEnum =\n (typeof ItemsGetCollectionOrderPriceEnum)[keyof typeof ItemsGetCollectionOrderPriceEnum];\n/**\n * @export\n */\nexport const ItemsGetCollectionOrderAvailableEnum = {\n Asc: 'asc',\n Desc: 'desc',\n} as const;\nexport type ItemsGetCollectionOrderAvailableEnum =\n (typeof ItemsGetCollectionOrderAvailableEnum)[keyof typeof ItemsGetCollectionOrderAvailableEnum];\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Thynk Direct API\n * The API for managing reservation for [Thynk Direct](https://thynk.cloud/).\n *\n * The version of the OpenAPI document: 4.20.16\n *\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport type { Configuration } from '../configuration';\nimport type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';\nimport globalAxios from 'axios';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport {\n DUMMY_BASE_URL,\n assertParamExists,\n setApiKeyToObject,\n setBasicAuthToObject,\n setBearerAuthToObject,\n setOAuthToObject,\n setSearchParams,\n serializeDataIfNeeded,\n toPathString,\n createRequestFunction,\n} from '../common';\n// @ts-ignore\nimport {\n BASE_PATH,\n COLLECTION_FORMATS,\n RequestArgs,\n BaseAPI,\n RequiredError,\n operationServerMap,\n} from '../base';\n// @ts-ignore\nimport { LocationRead } from '../model';\n// @ts-ignore\nimport { LocationWrite } from '../model';\n// @ts-ignore\nimport { LocationsGetCollection200Response } from '../model';\n/**\n * LocationApi - axios parameter creator\n * @export\n */\nexport const LocationApiAxiosParamCreator = function (\n configuration?: Configuration,\n) {\n return {\n /**\n * Retrieves the collection of Location resources.\n * @summary Retrieves the collection of Location resources.\n * @param {number} [page] The collection page number\n * @param {number} [itemsPerPage] The number of items per page\n * @param {LocationsGetCollectionOrderNameEnum} [orderName]\n * @param {LocationsGetCollectionOrderCityEnum} [orderCity]\n * @param {LocationsGetCollectionOrderAbbreviationEnum} [orderAbbreviation]\n * @param {LocationsGetCollectionOrderAvailableEnum} [orderAvailable]\n * @param {string} [search]\n * @param {boolean} [available]\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n locationsGetCollection: async (\n page?: number,\n itemsPerPage?: number,\n orderName?: LocationsGetCollectionOrderNameEnum,\n orderCity?: LocationsGetCollectionOrderCityEnum,\n orderAbbreviation?: LocationsGetCollectionOrderAbbreviationEnum,\n orderAvailable?: LocationsGetCollectionOrderAvailableEnum,\n search?: string,\n available?: boolean,\n options: AxiosRequestConfig = {},\n ): Promise => {\n const localVarPath = `/api/locations`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'GET',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n if (page !== undefined) {\n localVarQueryParameter['page'] = page;\n }\n\n if (itemsPerPage !== undefined) {\n localVarQueryParameter['itemsPerPage'] = itemsPerPage;\n }\n\n if (orderName !== undefined) {\n localVarQueryParameter['order[name]'] = orderName;\n }\n\n if (orderCity !== undefined) {\n localVarQueryParameter['order[city]'] = orderCity;\n }\n\n if (orderAbbreviation !== undefined) {\n localVarQueryParameter['order[abbreviation]'] = orderAbbreviation;\n }\n\n if (orderAvailable !== undefined) {\n localVarQueryParameter['order[available]'] = orderAvailable;\n }\n\n if (search !== undefined) {\n localVarQueryParameter['search'] = search;\n }\n\n if (available !== undefined) {\n localVarQueryParameter['available'] = available;\n }\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Removes the Location resource.\n * @summary Removes the Location resource.\n * @param {string} id Location identifier\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n locationsIdDelete: async (\n id: string,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('locationsIdDelete', 'id', id);\n const localVarPath = `/api/locations/{id}`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'DELETE',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Retrieves a Location resource.\n * @summary Retrieves a Location resource.\n * @param {string} id Location identifier\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n locationsIdGet: async (\n id: string,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('locationsIdGet', 'id', id);\n const localVarPath = `/api/locations/{id}`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'GET',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Updates the Location resource.\n * @summary Updates the Location resource.\n * @param {string} id Location identifier\n * @param {LocationWrite} locationWrite The updated Location resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n locationsIdPatch: async (\n id: string,\n locationWrite: LocationWrite,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('locationsIdPatch', 'id', id);\n // verify required parameter 'locationWrite' is not null or undefined\n assertParamExists('locationsIdPatch', 'locationWrite', locationWrite);\n const localVarPath = `/api/locations/{id}`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'PATCH',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n localVarHeaderParameter['Content-Type'] = 'application/merge-patch+json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n localVarRequestOptions.data = serializeDataIfNeeded(\n locationWrite,\n localVarRequestOptions,\n configuration,\n );\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Replaces the Location resource.\n * @summary Replaces the Location resource.\n * @param {string} id Location identifier\n * @param {LocationWrite} locationWrite The updated Location resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n locationsIdPut: async (\n id: string,\n locationWrite: LocationWrite,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('locationsIdPut', 'id', id);\n // verify required parameter 'locationWrite' is not null or undefined\n assertParamExists('locationsIdPut', 'locationWrite', locationWrite);\n const localVarPath = `/api/locations/{id}`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'PUT',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n localVarHeaderParameter['Content-Type'] = 'application/ld+json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n localVarRequestOptions.data = serializeDataIfNeeded(\n locationWrite,\n localVarRequestOptions,\n configuration,\n );\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Creates a Location resource.\n * @summary Creates a Location resource.\n * @param {LocationWrite} locationWrite The new Location resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n locationsPost: async (\n locationWrite: LocationWrite,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'locationWrite' is not null or undefined\n assertParamExists('locationsPost', 'locationWrite', locationWrite);\n const localVarPath = `/api/locations`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'POST',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n localVarHeaderParameter['Content-Type'] = 'application/ld+json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n localVarRequestOptions.data = serializeDataIfNeeded(\n locationWrite,\n localVarRequestOptions,\n configuration,\n );\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n };\n};\n\n/**\n * LocationApi - functional programming interface\n * @export\n */\nexport const LocationApiFp = function (configuration?: Configuration) {\n const localVarAxiosParamCreator = LocationApiAxiosParamCreator(configuration);\n return {\n /**\n * Retrieves the collection of Location resources.\n * @summary Retrieves the collection of Location resources.\n * @param {number} [page] The collection page number\n * @param {number} [itemsPerPage] The number of items per page\n * @param {LocationsGetCollectionOrderNameEnum} [orderName]\n * @param {LocationsGetCollectionOrderCityEnum} [orderCity]\n * @param {LocationsGetCollectionOrderAbbreviationEnum} [orderAbbreviation]\n * @param {LocationsGetCollectionOrderAvailableEnum} [orderAvailable]\n * @param {string} [search]\n * @param {boolean} [available]\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async locationsGetCollection(\n page?: number,\n itemsPerPage?: number,\n orderName?: LocationsGetCollectionOrderNameEnum,\n orderCity?: LocationsGetCollectionOrderCityEnum,\n orderAbbreviation?: LocationsGetCollectionOrderAbbreviationEnum,\n orderAvailable?: LocationsGetCollectionOrderAvailableEnum,\n search?: string,\n available?: boolean,\n options?: AxiosRequestConfig,\n ): Promise<\n (\n axios?: AxiosInstance,\n basePath?: string,\n ) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.locationsGetCollection(\n page,\n itemsPerPage,\n orderName,\n orderCity,\n orderAbbreviation,\n orderAvailable,\n search,\n available,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['LocationApi.locationsGetCollection']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Removes the Location resource.\n * @summary Removes the Location resource.\n * @param {string} id Location identifier\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async locationsIdDelete(\n id: string,\n options?: AxiosRequestConfig,\n ): Promise<\n (axios?: AxiosInstance, basePath?: string) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.locationsIdDelete(id, options);\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['LocationApi.locationsIdDelete']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Retrieves a Location resource.\n * @summary Retrieves a Location resource.\n * @param {string} id Location identifier\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async locationsIdGet(\n id: string,\n options?: AxiosRequestConfig,\n ): Promise<\n (axios?: AxiosInstance, basePath?: string) => AxiosPromise\n > {\n const localVarAxiosArgs = await localVarAxiosParamCreator.locationsIdGet(\n id,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['LocationApi.locationsIdGet']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Updates the Location resource.\n * @summary Updates the Location resource.\n * @param {string} id Location identifier\n * @param {LocationWrite} locationWrite The updated Location resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async locationsIdPatch(\n id: string,\n locationWrite: LocationWrite,\n options?: AxiosRequestConfig,\n ): Promise<\n (axios?: AxiosInstance, basePath?: string) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.locationsIdPatch(\n id,\n locationWrite,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['LocationApi.locationsIdPatch']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Replaces the Location resource.\n * @summary Replaces the Location resource.\n * @param {string} id Location identifier\n * @param {LocationWrite} locationWrite The updated Location resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async locationsIdPut(\n id: string,\n locationWrite: LocationWrite,\n options?: AxiosRequestConfig,\n ): Promise<\n (axios?: AxiosInstance, basePath?: string) => AxiosPromise\n > {\n const localVarAxiosArgs = await localVarAxiosParamCreator.locationsIdPut(\n id,\n locationWrite,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['LocationApi.locationsIdPut']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Creates a Location resource.\n * @summary Creates a Location resource.\n * @param {LocationWrite} locationWrite The new Location resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async locationsPost(\n locationWrite: LocationWrite,\n options?: AxiosRequestConfig,\n ): Promise<\n (axios?: AxiosInstance, basePath?: string) => AxiosPromise\n > {\n const localVarAxiosArgs = await localVarAxiosParamCreator.locationsPost(\n locationWrite,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['LocationApi.locationsPost']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n };\n};\n\n/**\n * LocationApi - factory interface\n * @export\n */\nexport const LocationApiFactory = function (\n configuration?: Configuration,\n basePath?: string,\n axios?: AxiosInstance,\n) {\n const localVarFp = LocationApiFp(configuration);\n return {\n /**\n * Retrieves the collection of Location resources.\n * @summary Retrieves the collection of Location resources.\n * @param {LocationApiLocationsGetCollectionRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n locationsGetCollection(\n requestParameters: LocationApiLocationsGetCollectionRequest = {},\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .locationsGetCollection(\n requestParameters.page,\n requestParameters.itemsPerPage,\n requestParameters.orderName,\n requestParameters.orderCity,\n requestParameters.orderAbbreviation,\n requestParameters.orderAvailable,\n requestParameters.search,\n requestParameters.available,\n options,\n )\n .then((request) => request(axios, basePath));\n },\n /**\n * Removes the Location resource.\n * @summary Removes the Location resource.\n * @param {LocationApiLocationsIdDeleteRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n locationsIdDelete(\n requestParameters: LocationApiLocationsIdDeleteRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .locationsIdDelete(requestParameters.id, options)\n .then((request) => request(axios, basePath));\n },\n /**\n * Retrieves a Location resource.\n * @summary Retrieves a Location resource.\n * @param {LocationApiLocationsIdGetRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n locationsIdGet(\n requestParameters: LocationApiLocationsIdGetRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .locationsIdGet(requestParameters.id, options)\n .then((request) => request(axios, basePath));\n },\n /**\n * Updates the Location resource.\n * @summary Updates the Location resource.\n * @param {LocationApiLocationsIdPatchRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n locationsIdPatch(\n requestParameters: LocationApiLocationsIdPatchRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .locationsIdPatch(\n requestParameters.id,\n requestParameters.locationWrite,\n options,\n )\n .then((request) => request(axios, basePath));\n },\n /**\n * Replaces the Location resource.\n * @summary Replaces the Location resource.\n * @param {LocationApiLocationsIdPutRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n locationsIdPut(\n requestParameters: LocationApiLocationsIdPutRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .locationsIdPut(\n requestParameters.id,\n requestParameters.locationWrite,\n options,\n )\n .then((request) => request(axios, basePath));\n },\n /**\n * Creates a Location resource.\n * @summary Creates a Location resource.\n * @param {LocationApiLocationsPostRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n locationsPost(\n requestParameters: LocationApiLocationsPostRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .locationsPost(requestParameters.locationWrite, options)\n .then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * Request parameters for locationsGetCollection operation in LocationApi.\n * @export\n * @interface LocationApiLocationsGetCollectionRequest\n */\nexport interface LocationApiLocationsGetCollectionRequest {\n /**\n * The collection page number\n * @type {number}\n * @memberof LocationApiLocationsGetCollection\n */\n readonly page?: number;\n\n /**\n * The number of items per page\n * @type {number}\n * @memberof LocationApiLocationsGetCollection\n */\n readonly itemsPerPage?: number;\n\n /**\n *\n * @type {'asc' | 'desc'}\n * @memberof LocationApiLocationsGetCollection\n */\n readonly orderName?: LocationsGetCollectionOrderNameEnum;\n\n /**\n *\n * @type {'asc' | 'desc'}\n * @memberof LocationApiLocationsGetCollection\n */\n readonly orderCity?: LocationsGetCollectionOrderCityEnum;\n\n /**\n *\n * @type {'asc' | 'desc'}\n * @memberof LocationApiLocationsGetCollection\n */\n readonly orderAbbreviation?: LocationsGetCollectionOrderAbbreviationEnum;\n\n /**\n *\n * @type {'asc' | 'desc'}\n * @memberof LocationApiLocationsGetCollection\n */\n readonly orderAvailable?: LocationsGetCollectionOrderAvailableEnum;\n\n /**\n *\n * @type {string}\n * @memberof LocationApiLocationsGetCollection\n */\n readonly search?: string;\n\n /**\n *\n * @type {boolean}\n * @memberof LocationApiLocationsGetCollection\n */\n readonly available?: boolean;\n}\n\n/**\n * Request parameters for locationsIdDelete operation in LocationApi.\n * @export\n * @interface LocationApiLocationsIdDeleteRequest\n */\nexport interface LocationApiLocationsIdDeleteRequest {\n /**\n * Location identifier\n * @type {string}\n * @memberof LocationApiLocationsIdDelete\n */\n readonly id: string;\n}\n\n/**\n * Request parameters for locationsIdGet operation in LocationApi.\n * @export\n * @interface LocationApiLocationsIdGetRequest\n */\nexport interface LocationApiLocationsIdGetRequest {\n /**\n * Location identifier\n * @type {string}\n * @memberof LocationApiLocationsIdGet\n */\n readonly id: string;\n}\n\n/**\n * Request parameters for locationsIdPatch operation in LocationApi.\n * @export\n * @interface LocationApiLocationsIdPatchRequest\n */\nexport interface LocationApiLocationsIdPatchRequest {\n /**\n * Location identifier\n * @type {string}\n * @memberof LocationApiLocationsIdPatch\n */\n readonly id: string;\n\n /**\n * The updated Location resource\n * @type {LocationWrite}\n * @memberof LocationApiLocationsIdPatch\n */\n readonly locationWrite: LocationWrite;\n}\n\n/**\n * Request parameters for locationsIdPut operation in LocationApi.\n * @export\n * @interface LocationApiLocationsIdPutRequest\n */\nexport interface LocationApiLocationsIdPutRequest {\n /**\n * Location identifier\n * @type {string}\n * @memberof LocationApiLocationsIdPut\n */\n readonly id: string;\n\n /**\n * The updated Location resource\n * @type {LocationWrite}\n * @memberof LocationApiLocationsIdPut\n */\n readonly locationWrite: LocationWrite;\n}\n\n/**\n * Request parameters for locationsPost operation in LocationApi.\n * @export\n * @interface LocationApiLocationsPostRequest\n */\nexport interface LocationApiLocationsPostRequest {\n /**\n * The new Location resource\n * @type {LocationWrite}\n * @memberof LocationApiLocationsPost\n */\n readonly locationWrite: LocationWrite;\n}\n\n/**\n * LocationApi - object-oriented interface\n * @export\n * @class LocationApi\n * @extends {BaseAPI}\n */\nexport class LocationApi extends BaseAPI {\n /**\n * Retrieves the collection of Location resources.\n * @summary Retrieves the collection of Location resources.\n * @param {LocationApiLocationsGetCollectionRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof LocationApi\n */\n public locationsGetCollection(\n requestParameters: LocationApiLocationsGetCollectionRequest = {},\n options?: AxiosRequestConfig,\n ) {\n return LocationApiFp(this.configuration)\n .locationsGetCollection(\n requestParameters.page,\n requestParameters.itemsPerPage,\n requestParameters.orderName,\n requestParameters.orderCity,\n requestParameters.orderAbbreviation,\n requestParameters.orderAvailable,\n requestParameters.search,\n requestParameters.available,\n options,\n )\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Removes the Location resource.\n * @summary Removes the Location resource.\n * @param {LocationApiLocationsIdDeleteRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof LocationApi\n */\n public locationsIdDelete(\n requestParameters: LocationApiLocationsIdDeleteRequest,\n options?: AxiosRequestConfig,\n ) {\n return LocationApiFp(this.configuration)\n .locationsIdDelete(requestParameters.id, options)\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Retrieves a Location resource.\n * @summary Retrieves a Location resource.\n * @param {LocationApiLocationsIdGetRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof LocationApi\n */\n public locationsIdGet(\n requestParameters: LocationApiLocationsIdGetRequest,\n options?: AxiosRequestConfig,\n ) {\n return LocationApiFp(this.configuration)\n .locationsIdGet(requestParameters.id, options)\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Updates the Location resource.\n * @summary Updates the Location resource.\n * @param {LocationApiLocationsIdPatchRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof LocationApi\n */\n public locationsIdPatch(\n requestParameters: LocationApiLocationsIdPatchRequest,\n options?: AxiosRequestConfig,\n ) {\n return LocationApiFp(this.configuration)\n .locationsIdPatch(\n requestParameters.id,\n requestParameters.locationWrite,\n options,\n )\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Replaces the Location resource.\n * @summary Replaces the Location resource.\n * @param {LocationApiLocationsIdPutRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof LocationApi\n */\n public locationsIdPut(\n requestParameters: LocationApiLocationsIdPutRequest,\n options?: AxiosRequestConfig,\n ) {\n return LocationApiFp(this.configuration)\n .locationsIdPut(\n requestParameters.id,\n requestParameters.locationWrite,\n options,\n )\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Creates a Location resource.\n * @summary Creates a Location resource.\n * @param {LocationApiLocationsPostRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof LocationApi\n */\n public locationsPost(\n requestParameters: LocationApiLocationsPostRequest,\n options?: AxiosRequestConfig,\n ) {\n return LocationApiFp(this.configuration)\n .locationsPost(requestParameters.locationWrite, options)\n .then((request) => request(this.axios, this.basePath));\n }\n}\n\n/**\n * @export\n */\nexport const LocationsGetCollectionOrderNameEnum = {\n Asc: 'asc',\n Desc: 'desc',\n} as const;\nexport type LocationsGetCollectionOrderNameEnum =\n (typeof LocationsGetCollectionOrderNameEnum)[keyof typeof LocationsGetCollectionOrderNameEnum];\n/**\n * @export\n */\nexport const LocationsGetCollectionOrderCityEnum = {\n Asc: 'asc',\n Desc: 'desc',\n} as const;\nexport type LocationsGetCollectionOrderCityEnum =\n (typeof LocationsGetCollectionOrderCityEnum)[keyof typeof LocationsGetCollectionOrderCityEnum];\n/**\n * @export\n */\nexport const LocationsGetCollectionOrderAbbreviationEnum = {\n Asc: 'asc',\n Desc: 'desc',\n} as const;\nexport type LocationsGetCollectionOrderAbbreviationEnum =\n (typeof LocationsGetCollectionOrderAbbreviationEnum)[keyof typeof LocationsGetCollectionOrderAbbreviationEnum];\n/**\n * @export\n */\nexport const LocationsGetCollectionOrderAvailableEnum = {\n Asc: 'asc',\n Desc: 'desc',\n} as const;\nexport type LocationsGetCollectionOrderAvailableEnum =\n (typeof LocationsGetCollectionOrderAvailableEnum)[keyof typeof LocationsGetCollectionOrderAvailableEnum];\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Thynk Direct API\n * The API for managing reservation for [Thynk Direct](https://thynk.cloud/).\n *\n * The version of the OpenAPI document: 4.20.16\n *\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport type { Configuration } from '../configuration';\nimport type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';\nimport globalAxios from 'axios';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport {\n DUMMY_BASE_URL,\n assertParamExists,\n setApiKeyToObject,\n setBasicAuthToObject,\n setBearerAuthToObject,\n setOAuthToObject,\n setSearchParams,\n serializeDataIfNeeded,\n toPathString,\n createRequestFunction,\n} from '../common';\n// @ts-ignore\nimport {\n BASE_PATH,\n COLLECTION_FORMATS,\n RequestArgs,\n BaseAPI,\n RequiredError,\n operationServerMap,\n} from '../base';\n// @ts-ignore\nimport { LocationEmplacementRead } from '../model';\n// @ts-ignore\nimport { LocationEmplacementWrite } from '../model';\n// @ts-ignore\nimport { LocationEmplacementsGetCollection200Response } from '../model';\n/**\n * LocationEmplacementApi - axios parameter creator\n * @export\n */\nexport const LocationEmplacementApiAxiosParamCreator = function (\n configuration?: Configuration,\n) {\n return {\n /**\n * Retrieves the collection of LocationEmplacement resources.\n * @summary Retrieves the collection of LocationEmplacement resources.\n * @param {number} [page] The collection page number\n * @param {number} [itemsPerPage] The number of items per page\n * @param {string} [location]\n * @param {Array} [location2]\n * @param {string} [emplacement]\n * @param {Array} [emplacement2]\n * @param {LocationEmplacementsGetCollectionOrderEmplacementNameEnum} [orderEmplacementName]\n * @param {LocationEmplacementsGetCollectionOrderLocationNameEnum} [orderLocationName]\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n locationEmplacementsGetCollection: async (\n page?: number,\n itemsPerPage?: number,\n location?: string,\n location2?: Array,\n emplacement?: string,\n emplacement2?: Array,\n orderEmplacementName?: LocationEmplacementsGetCollectionOrderEmplacementNameEnum,\n orderLocationName?: LocationEmplacementsGetCollectionOrderLocationNameEnum,\n options: AxiosRequestConfig = {},\n ): Promise => {\n const localVarPath = `/api/location_emplacements`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'GET',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n if (page !== undefined) {\n localVarQueryParameter['page'] = page;\n }\n\n if (itemsPerPage !== undefined) {\n localVarQueryParameter['itemsPerPage'] = itemsPerPage;\n }\n\n if (location !== undefined) {\n localVarQueryParameter['location'] = location;\n }\n\n if (location2) {\n localVarQueryParameter['location[]'] = location2;\n }\n\n if (emplacement !== undefined) {\n localVarQueryParameter['emplacement'] = emplacement;\n }\n\n if (emplacement2) {\n localVarQueryParameter['emplacement[]'] = emplacement2;\n }\n\n if (orderEmplacementName !== undefined) {\n localVarQueryParameter['order[emplacement.name]'] =\n orderEmplacementName;\n }\n\n if (orderLocationName !== undefined) {\n localVarQueryParameter['order[location.name]'] = orderLocationName;\n }\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Removes the LocationEmplacement resource.\n * @summary Removes the LocationEmplacement resource.\n * @param {string} id LocationEmplacement identifier\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n locationEmplacementsIdDelete: async (\n id: string,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('locationEmplacementsIdDelete', 'id', id);\n const localVarPath = `/api/location_emplacements/{id}`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'DELETE',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Retrieves a LocationEmplacement resource.\n * @summary Retrieves a LocationEmplacement resource.\n * @param {string} id LocationEmplacement identifier\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n locationEmplacementsIdGet: async (\n id: string,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('locationEmplacementsIdGet', 'id', id);\n const localVarPath = `/api/location_emplacements/{id}`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'GET',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Creates a LocationEmplacement resource.\n * @summary Creates a LocationEmplacement resource.\n * @param {LocationEmplacementWrite} locationEmplacementWrite The new LocationEmplacement resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n locationEmplacementsPost: async (\n locationEmplacementWrite: LocationEmplacementWrite,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'locationEmplacementWrite' is not null or undefined\n assertParamExists(\n 'locationEmplacementsPost',\n 'locationEmplacementWrite',\n locationEmplacementWrite,\n );\n const localVarPath = `/api/location_emplacements`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'POST',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n localVarHeaderParameter['Content-Type'] = 'application/ld+json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n localVarRequestOptions.data = serializeDataIfNeeded(\n locationEmplacementWrite,\n localVarRequestOptions,\n configuration,\n );\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n };\n};\n\n/**\n * LocationEmplacementApi - functional programming interface\n * @export\n */\nexport const LocationEmplacementApiFp = function (\n configuration?: Configuration,\n) {\n const localVarAxiosParamCreator =\n LocationEmplacementApiAxiosParamCreator(configuration);\n return {\n /**\n * Retrieves the collection of LocationEmplacement resources.\n * @summary Retrieves the collection of LocationEmplacement resources.\n * @param {number} [page] The collection page number\n * @param {number} [itemsPerPage] The number of items per page\n * @param {string} [location]\n * @param {Array} [location2]\n * @param {string} [emplacement]\n * @param {Array} [emplacement2]\n * @param {LocationEmplacementsGetCollectionOrderEmplacementNameEnum} [orderEmplacementName]\n * @param {LocationEmplacementsGetCollectionOrderLocationNameEnum} [orderLocationName]\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async locationEmplacementsGetCollection(\n page?: number,\n itemsPerPage?: number,\n location?: string,\n location2?: Array,\n emplacement?: string,\n emplacement2?: Array,\n orderEmplacementName?: LocationEmplacementsGetCollectionOrderEmplacementNameEnum,\n orderLocationName?: LocationEmplacementsGetCollectionOrderLocationNameEnum,\n options?: AxiosRequestConfig,\n ): Promise<\n (\n axios?: AxiosInstance,\n basePath?: string,\n ) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.locationEmplacementsGetCollection(\n page,\n itemsPerPage,\n location,\n location2,\n emplacement,\n emplacement2,\n orderEmplacementName,\n orderLocationName,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap[\n 'LocationEmplacementApi.locationEmplacementsGetCollection'\n ]?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Removes the LocationEmplacement resource.\n * @summary Removes the LocationEmplacement resource.\n * @param {string} id LocationEmplacement identifier\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async locationEmplacementsIdDelete(\n id: string,\n options?: AxiosRequestConfig,\n ): Promise<\n (axios?: AxiosInstance, basePath?: string) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.locationEmplacementsIdDelete(\n id,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap[\n 'LocationEmplacementApi.locationEmplacementsIdDelete'\n ]?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Retrieves a LocationEmplacement resource.\n * @summary Retrieves a LocationEmplacement resource.\n * @param {string} id LocationEmplacement identifier\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async locationEmplacementsIdGet(\n id: string,\n options?: AxiosRequestConfig,\n ): Promise<\n (\n axios?: AxiosInstance,\n basePath?: string,\n ) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.locationEmplacementsIdGet(id, options);\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap[\n 'LocationEmplacementApi.locationEmplacementsIdGet'\n ]?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Creates a LocationEmplacement resource.\n * @summary Creates a LocationEmplacement resource.\n * @param {LocationEmplacementWrite} locationEmplacementWrite The new LocationEmplacement resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async locationEmplacementsPost(\n locationEmplacementWrite: LocationEmplacementWrite,\n options?: AxiosRequestConfig,\n ): Promise<\n (\n axios?: AxiosInstance,\n basePath?: string,\n ) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.locationEmplacementsPost(\n locationEmplacementWrite,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['LocationEmplacementApi.locationEmplacementsPost']?.[\n index\n ]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n };\n};\n\n/**\n * LocationEmplacementApi - factory interface\n * @export\n */\nexport const LocationEmplacementApiFactory = function (\n configuration?: Configuration,\n basePath?: string,\n axios?: AxiosInstance,\n) {\n const localVarFp = LocationEmplacementApiFp(configuration);\n return {\n /**\n * Retrieves the collection of LocationEmplacement resources.\n * @summary Retrieves the collection of LocationEmplacement resources.\n * @param {LocationEmplacementApiLocationEmplacementsGetCollectionRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n locationEmplacementsGetCollection(\n requestParameters: LocationEmplacementApiLocationEmplacementsGetCollectionRequest = {},\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .locationEmplacementsGetCollection(\n requestParameters.page,\n requestParameters.itemsPerPage,\n requestParameters.location,\n requestParameters.location2,\n requestParameters.emplacement,\n requestParameters.emplacement2,\n requestParameters.orderEmplacementName,\n requestParameters.orderLocationName,\n options,\n )\n .then((request) => request(axios, basePath));\n },\n /**\n * Removes the LocationEmplacement resource.\n * @summary Removes the LocationEmplacement resource.\n * @param {LocationEmplacementApiLocationEmplacementsIdDeleteRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n locationEmplacementsIdDelete(\n requestParameters: LocationEmplacementApiLocationEmplacementsIdDeleteRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .locationEmplacementsIdDelete(requestParameters.id, options)\n .then((request) => request(axios, basePath));\n },\n /**\n * Retrieves a LocationEmplacement resource.\n * @summary Retrieves a LocationEmplacement resource.\n * @param {LocationEmplacementApiLocationEmplacementsIdGetRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n locationEmplacementsIdGet(\n requestParameters: LocationEmplacementApiLocationEmplacementsIdGetRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .locationEmplacementsIdGet(requestParameters.id, options)\n .then((request) => request(axios, basePath));\n },\n /**\n * Creates a LocationEmplacement resource.\n * @summary Creates a LocationEmplacement resource.\n * @param {LocationEmplacementApiLocationEmplacementsPostRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n locationEmplacementsPost(\n requestParameters: LocationEmplacementApiLocationEmplacementsPostRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .locationEmplacementsPost(\n requestParameters.locationEmplacementWrite,\n options,\n )\n .then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * Request parameters for locationEmplacementsGetCollection operation in LocationEmplacementApi.\n * @export\n * @interface LocationEmplacementApiLocationEmplacementsGetCollectionRequest\n */\nexport interface LocationEmplacementApiLocationEmplacementsGetCollectionRequest {\n /**\n * The collection page number\n * @type {number}\n * @memberof LocationEmplacementApiLocationEmplacementsGetCollection\n */\n readonly page?: number;\n\n /**\n * The number of items per page\n * @type {number}\n * @memberof LocationEmplacementApiLocationEmplacementsGetCollection\n */\n readonly itemsPerPage?: number;\n\n /**\n *\n * @type {string}\n * @memberof LocationEmplacementApiLocationEmplacementsGetCollection\n */\n readonly location?: string;\n\n /**\n *\n * @type {Array}\n * @memberof LocationEmplacementApiLocationEmplacementsGetCollection\n */\n readonly location2?: Array;\n\n /**\n *\n * @type {string}\n * @memberof LocationEmplacementApiLocationEmplacementsGetCollection\n */\n readonly emplacement?: string;\n\n /**\n *\n * @type {Array}\n * @memberof LocationEmplacementApiLocationEmplacementsGetCollection\n */\n readonly emplacement2?: Array;\n\n /**\n *\n * @type {'asc' | 'desc'}\n * @memberof LocationEmplacementApiLocationEmplacementsGetCollection\n */\n readonly orderEmplacementName?: LocationEmplacementsGetCollectionOrderEmplacementNameEnum;\n\n /**\n *\n * @type {'asc' | 'desc'}\n * @memberof LocationEmplacementApiLocationEmplacementsGetCollection\n */\n readonly orderLocationName?: LocationEmplacementsGetCollectionOrderLocationNameEnum;\n}\n\n/**\n * Request parameters for locationEmplacementsIdDelete operation in LocationEmplacementApi.\n * @export\n * @interface LocationEmplacementApiLocationEmplacementsIdDeleteRequest\n */\nexport interface LocationEmplacementApiLocationEmplacementsIdDeleteRequest {\n /**\n * LocationEmplacement identifier\n * @type {string}\n * @memberof LocationEmplacementApiLocationEmplacementsIdDelete\n */\n readonly id: string;\n}\n\n/**\n * Request parameters for locationEmplacementsIdGet operation in LocationEmplacementApi.\n * @export\n * @interface LocationEmplacementApiLocationEmplacementsIdGetRequest\n */\nexport interface LocationEmplacementApiLocationEmplacementsIdGetRequest {\n /**\n * LocationEmplacement identifier\n * @type {string}\n * @memberof LocationEmplacementApiLocationEmplacementsIdGet\n */\n readonly id: string;\n}\n\n/**\n * Request parameters for locationEmplacementsPost operation in LocationEmplacementApi.\n * @export\n * @interface LocationEmplacementApiLocationEmplacementsPostRequest\n */\nexport interface LocationEmplacementApiLocationEmplacementsPostRequest {\n /**\n * The new LocationEmplacement resource\n * @type {LocationEmplacementWrite}\n * @memberof LocationEmplacementApiLocationEmplacementsPost\n */\n readonly locationEmplacementWrite: LocationEmplacementWrite;\n}\n\n/**\n * LocationEmplacementApi - object-oriented interface\n * @export\n * @class LocationEmplacementApi\n * @extends {BaseAPI}\n */\nexport class LocationEmplacementApi extends BaseAPI {\n /**\n * Retrieves the collection of LocationEmplacement resources.\n * @summary Retrieves the collection of LocationEmplacement resources.\n * @param {LocationEmplacementApiLocationEmplacementsGetCollectionRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof LocationEmplacementApi\n */\n public locationEmplacementsGetCollection(\n requestParameters: LocationEmplacementApiLocationEmplacementsGetCollectionRequest = {},\n options?: AxiosRequestConfig,\n ) {\n return LocationEmplacementApiFp(this.configuration)\n .locationEmplacementsGetCollection(\n requestParameters.page,\n requestParameters.itemsPerPage,\n requestParameters.location,\n requestParameters.location2,\n requestParameters.emplacement,\n requestParameters.emplacement2,\n requestParameters.orderEmplacementName,\n requestParameters.orderLocationName,\n options,\n )\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Removes the LocationEmplacement resource.\n * @summary Removes the LocationEmplacement resource.\n * @param {LocationEmplacementApiLocationEmplacementsIdDeleteRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof LocationEmplacementApi\n */\n public locationEmplacementsIdDelete(\n requestParameters: LocationEmplacementApiLocationEmplacementsIdDeleteRequest,\n options?: AxiosRequestConfig,\n ) {\n return LocationEmplacementApiFp(this.configuration)\n .locationEmplacementsIdDelete(requestParameters.id, options)\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Retrieves a LocationEmplacement resource.\n * @summary Retrieves a LocationEmplacement resource.\n * @param {LocationEmplacementApiLocationEmplacementsIdGetRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof LocationEmplacementApi\n */\n public locationEmplacementsIdGet(\n requestParameters: LocationEmplacementApiLocationEmplacementsIdGetRequest,\n options?: AxiosRequestConfig,\n ) {\n return LocationEmplacementApiFp(this.configuration)\n .locationEmplacementsIdGet(requestParameters.id, options)\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Creates a LocationEmplacement resource.\n * @summary Creates a LocationEmplacement resource.\n * @param {LocationEmplacementApiLocationEmplacementsPostRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof LocationEmplacementApi\n */\n public locationEmplacementsPost(\n requestParameters: LocationEmplacementApiLocationEmplacementsPostRequest,\n options?: AxiosRequestConfig,\n ) {\n return LocationEmplacementApiFp(this.configuration)\n .locationEmplacementsPost(\n requestParameters.locationEmplacementWrite,\n options,\n )\n .then((request) => request(this.axios, this.basePath));\n }\n}\n\n/**\n * @export\n */\nexport const LocationEmplacementsGetCollectionOrderEmplacementNameEnum = {\n Asc: 'asc',\n Desc: 'desc',\n} as const;\nexport type LocationEmplacementsGetCollectionOrderEmplacementNameEnum =\n (typeof LocationEmplacementsGetCollectionOrderEmplacementNameEnum)[keyof typeof LocationEmplacementsGetCollectionOrderEmplacementNameEnum];\n/**\n * @export\n */\nexport const LocationEmplacementsGetCollectionOrderLocationNameEnum = {\n Asc: 'asc',\n Desc: 'desc',\n} as const;\nexport type LocationEmplacementsGetCollectionOrderLocationNameEnum =\n (typeof LocationEmplacementsGetCollectionOrderLocationNameEnum)[keyof typeof LocationEmplacementsGetCollectionOrderLocationNameEnum];\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Thynk Direct API\n * The API for managing reservation for [Thynk Direct](https://thynk.cloud/).\n *\n * The version of the OpenAPI document: 4.20.16\n *\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport type { Configuration } from '../configuration';\nimport type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';\nimport globalAxios from 'axios';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport {\n DUMMY_BASE_URL,\n assertParamExists,\n setApiKeyToObject,\n setBasicAuthToObject,\n setBearerAuthToObject,\n setOAuthToObject,\n setSearchParams,\n serializeDataIfNeeded,\n toPathString,\n createRequestFunction,\n} from '../common';\n// @ts-ignore\nimport {\n BASE_PATH,\n COLLECTION_FORMATS,\n RequestArgs,\n BaseAPI,\n RequiredError,\n operationServerMap,\n} from '../base';\n// @ts-ignore\nimport { LocationRoomTypeRead } from '../model';\n// @ts-ignore\nimport { LocationRoomTypeWrite } from '../model';\n// @ts-ignore\nimport { LocationRoomTypesGetCollection200Response } from '../model';\n// @ts-ignore\nimport { LocationRoomTypesavailabilitiesGetCollection200Response } from '../model';\n/**\n * LocationRoomTypeApi - axios parameter creator\n * @export\n */\nexport const LocationRoomTypeApiAxiosParamCreator = function (\n configuration?: Configuration,\n) {\n return {\n /**\n * Retrieves the collection of LocationRoomType resources.\n * @summary Retrieves the collection of LocationRoomType resources.\n * @param {number} [page] The collection page number\n * @param {number} [itemsPerPage] The number of items per page\n * @param {string} [location]\n * @param {Array} [location2]\n * @param {string} [code]\n * @param {Array} [code2]\n * @param {string} [search]\n * @param {LocationRoomTypesGetCollectionOrderCodeEnum} [orderCode]\n * @param {LocationRoomTypesGetCollectionOrderRoomsTypeEnum} [orderRoomsType]\n * @param {LocationRoomTypesGetCollectionOrderLocationNameEnum} [orderLocationName]\n * @param {LocationRoomTypesGetCollectionOrderTranslationsNameEnum} [orderTranslationsName]\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n locationRoomTypesGetCollection: async (\n page?: number,\n itemsPerPage?: number,\n location?: string,\n location2?: Array,\n code?: string,\n code2?: Array,\n search?: string,\n orderCode?: LocationRoomTypesGetCollectionOrderCodeEnum,\n orderRoomsType?: LocationRoomTypesGetCollectionOrderRoomsTypeEnum,\n orderLocationName?: LocationRoomTypesGetCollectionOrderLocationNameEnum,\n orderTranslationsName?: LocationRoomTypesGetCollectionOrderTranslationsNameEnum,\n options: AxiosRequestConfig = {},\n ): Promise => {\n const localVarPath = `/api/location_room_types`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'GET',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n if (page !== undefined) {\n localVarQueryParameter['page'] = page;\n }\n\n if (itemsPerPage !== undefined) {\n localVarQueryParameter['itemsPerPage'] = itemsPerPage;\n }\n\n if (location !== undefined) {\n localVarQueryParameter['location'] = location;\n }\n\n if (location2) {\n localVarQueryParameter['location[]'] = location2;\n }\n\n if (code !== undefined) {\n localVarQueryParameter['code'] = code;\n }\n\n if (code2) {\n localVarQueryParameter['code[]'] = code2;\n }\n\n if (search !== undefined) {\n localVarQueryParameter['search'] = search;\n }\n\n if (orderCode !== undefined) {\n localVarQueryParameter['order[code]'] = orderCode;\n }\n\n if (orderRoomsType !== undefined) {\n localVarQueryParameter['order[rooms.type]'] = orderRoomsType;\n }\n\n if (orderLocationName !== undefined) {\n localVarQueryParameter['order[location.name]'] = orderLocationName;\n }\n\n if (orderTranslationsName !== undefined) {\n localVarQueryParameter['order[translations.name]'] =\n orderTranslationsName;\n }\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Retrieves a LocationRoomType resource.\n * @summary Retrieves a LocationRoomType resource.\n * @param {string} id LocationRoomType identifier\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n locationRoomTypesIdGet: async (\n id: string,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('locationRoomTypesIdGet', 'id', id);\n const localVarPath = `/api/location_room_types/{id}`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'GET',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Replaces the LocationRoomType resource.\n * @summary Replaces the LocationRoomType resource.\n * @param {string} id LocationRoomType identifier\n * @param {LocationRoomTypeWrite} locationRoomTypeWrite The updated LocationRoomType resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n locationRoomTypesIdPut: async (\n id: string,\n locationRoomTypeWrite: LocationRoomTypeWrite,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('locationRoomTypesIdPut', 'id', id);\n // verify required parameter 'locationRoomTypeWrite' is not null or undefined\n assertParamExists(\n 'locationRoomTypesIdPut',\n 'locationRoomTypeWrite',\n locationRoomTypeWrite,\n );\n const localVarPath = `/api/location_room_types/{id}`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'PUT',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n localVarHeaderParameter['Content-Type'] = 'application/ld+json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n localVarRequestOptions.data = serializeDataIfNeeded(\n locationRoomTypeWrite,\n localVarRequestOptions,\n configuration,\n );\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Retrieves the collection of RoomAvailabilities resources.\n * @summary Retrieve room types availabilities.\n * @param {string} [arrivalDate] Checkin date at the hotel\n * @param {string} [departureDate] Checkout date at the hotel\n * @param {number} [amount] Amount of the hotels rooms booked\n * @param {number} [locationId] Filter room types by location\n * @param {number} [page] The collection page number\n * @param {number} [itemsPerPage] The number of items per page\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n locationRoomTypesavailabilitiesGetCollection: async (\n arrivalDate?: string,\n departureDate?: string,\n amount?: number,\n locationId?: number,\n page?: number,\n itemsPerPage?: number,\n options: AxiosRequestConfig = {},\n ): Promise => {\n const localVarPath = `/api/location_room_types/availabilities`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'GET',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n if (arrivalDate !== undefined) {\n localVarQueryParameter['arrivalDate'] =\n (arrivalDate as any) instanceof Date\n ? (arrivalDate as any).toISOString().substring(0, 10)\n : arrivalDate;\n }\n\n if (departureDate !== undefined) {\n localVarQueryParameter['departureDate'] =\n (departureDate as any) instanceof Date\n ? (departureDate as any).toISOString().substring(0, 10)\n : departureDate;\n }\n\n if (amount !== undefined) {\n localVarQueryParameter['amount'] = amount;\n }\n\n if (locationId !== undefined) {\n localVarQueryParameter['locationId'] = locationId;\n }\n\n if (page !== undefined) {\n localVarQueryParameter['page'] = page;\n }\n\n if (itemsPerPage !== undefined) {\n localVarQueryParameter['itemsPerPage'] = itemsPerPage;\n }\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n };\n};\n\n/**\n * LocationRoomTypeApi - functional programming interface\n * @export\n */\nexport const LocationRoomTypeApiFp = function (configuration?: Configuration) {\n const localVarAxiosParamCreator =\n LocationRoomTypeApiAxiosParamCreator(configuration);\n return {\n /**\n * Retrieves the collection of LocationRoomType resources.\n * @summary Retrieves the collection of LocationRoomType resources.\n * @param {number} [page] The collection page number\n * @param {number} [itemsPerPage] The number of items per page\n * @param {string} [location]\n * @param {Array} [location2]\n * @param {string} [code]\n * @param {Array} [code2]\n * @param {string} [search]\n * @param {LocationRoomTypesGetCollectionOrderCodeEnum} [orderCode]\n * @param {LocationRoomTypesGetCollectionOrderRoomsTypeEnum} [orderRoomsType]\n * @param {LocationRoomTypesGetCollectionOrderLocationNameEnum} [orderLocationName]\n * @param {LocationRoomTypesGetCollectionOrderTranslationsNameEnum} [orderTranslationsName]\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async locationRoomTypesGetCollection(\n page?: number,\n itemsPerPage?: number,\n location?: string,\n location2?: Array,\n code?: string,\n code2?: Array,\n search?: string,\n orderCode?: LocationRoomTypesGetCollectionOrderCodeEnum,\n orderRoomsType?: LocationRoomTypesGetCollectionOrderRoomsTypeEnum,\n orderLocationName?: LocationRoomTypesGetCollectionOrderLocationNameEnum,\n orderTranslationsName?: LocationRoomTypesGetCollectionOrderTranslationsNameEnum,\n options?: AxiosRequestConfig,\n ): Promise<\n (\n axios?: AxiosInstance,\n basePath?: string,\n ) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.locationRoomTypesGetCollection(\n page,\n itemsPerPage,\n location,\n location2,\n code,\n code2,\n search,\n orderCode,\n orderRoomsType,\n orderLocationName,\n orderTranslationsName,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap[\n 'LocationRoomTypeApi.locationRoomTypesGetCollection'\n ]?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Retrieves a LocationRoomType resource.\n * @summary Retrieves a LocationRoomType resource.\n * @param {string} id LocationRoomType identifier\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async locationRoomTypesIdGet(\n id: string,\n options?: AxiosRequestConfig,\n ): Promise<\n (\n axios?: AxiosInstance,\n basePath?: string,\n ) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.locationRoomTypesIdGet(id, options);\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['LocationRoomTypeApi.locationRoomTypesIdGet']?.[\n index\n ]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Replaces the LocationRoomType resource.\n * @summary Replaces the LocationRoomType resource.\n * @param {string} id LocationRoomType identifier\n * @param {LocationRoomTypeWrite} locationRoomTypeWrite The updated LocationRoomType resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async locationRoomTypesIdPut(\n id: string,\n locationRoomTypeWrite: LocationRoomTypeWrite,\n options?: AxiosRequestConfig,\n ): Promise<\n (\n axios?: AxiosInstance,\n basePath?: string,\n ) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.locationRoomTypesIdPut(\n id,\n locationRoomTypeWrite,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['LocationRoomTypeApi.locationRoomTypesIdPut']?.[\n index\n ]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Retrieves the collection of RoomAvailabilities resources.\n * @summary Retrieve room types availabilities.\n * @param {string} [arrivalDate] Checkin date at the hotel\n * @param {string} [departureDate] Checkout date at the hotel\n * @param {number} [amount] Amount of the hotels rooms booked\n * @param {number} [locationId] Filter room types by location\n * @param {number} [page] The collection page number\n * @param {number} [itemsPerPage] The number of items per page\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async locationRoomTypesavailabilitiesGetCollection(\n arrivalDate?: string,\n departureDate?: string,\n amount?: number,\n locationId?: number,\n page?: number,\n itemsPerPage?: number,\n options?: AxiosRequestConfig,\n ): Promise<\n (\n axios?: AxiosInstance,\n basePath?: string,\n ) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.locationRoomTypesavailabilitiesGetCollection(\n arrivalDate,\n departureDate,\n amount,\n locationId,\n page,\n itemsPerPage,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap[\n 'LocationRoomTypeApi.locationRoomTypesavailabilitiesGetCollection'\n ]?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n };\n};\n\n/**\n * LocationRoomTypeApi - factory interface\n * @export\n */\nexport const LocationRoomTypeApiFactory = function (\n configuration?: Configuration,\n basePath?: string,\n axios?: AxiosInstance,\n) {\n const localVarFp = LocationRoomTypeApiFp(configuration);\n return {\n /**\n * Retrieves the collection of LocationRoomType resources.\n * @summary Retrieves the collection of LocationRoomType resources.\n * @param {LocationRoomTypeApiLocationRoomTypesGetCollectionRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n locationRoomTypesGetCollection(\n requestParameters: LocationRoomTypeApiLocationRoomTypesGetCollectionRequest = {},\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .locationRoomTypesGetCollection(\n requestParameters.page,\n requestParameters.itemsPerPage,\n requestParameters.location,\n requestParameters.location2,\n requestParameters.code,\n requestParameters.code2,\n requestParameters.search,\n requestParameters.orderCode,\n requestParameters.orderRoomsType,\n requestParameters.orderLocationName,\n requestParameters.orderTranslationsName,\n options,\n )\n .then((request) => request(axios, basePath));\n },\n /**\n * Retrieves a LocationRoomType resource.\n * @summary Retrieves a LocationRoomType resource.\n * @param {LocationRoomTypeApiLocationRoomTypesIdGetRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n locationRoomTypesIdGet(\n requestParameters: LocationRoomTypeApiLocationRoomTypesIdGetRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .locationRoomTypesIdGet(requestParameters.id, options)\n .then((request) => request(axios, basePath));\n },\n /**\n * Replaces the LocationRoomType resource.\n * @summary Replaces the LocationRoomType resource.\n * @param {LocationRoomTypeApiLocationRoomTypesIdPutRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n locationRoomTypesIdPut(\n requestParameters: LocationRoomTypeApiLocationRoomTypesIdPutRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .locationRoomTypesIdPut(\n requestParameters.id,\n requestParameters.locationRoomTypeWrite,\n options,\n )\n .then((request) => request(axios, basePath));\n },\n /**\n * Retrieves the collection of RoomAvailabilities resources.\n * @summary Retrieve room types availabilities.\n * @param {LocationRoomTypeApiLocationRoomTypesavailabilitiesGetCollectionRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n locationRoomTypesavailabilitiesGetCollection(\n requestParameters: LocationRoomTypeApiLocationRoomTypesavailabilitiesGetCollectionRequest = {},\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .locationRoomTypesavailabilitiesGetCollection(\n requestParameters.arrivalDate,\n requestParameters.departureDate,\n requestParameters.amount,\n requestParameters.locationId,\n requestParameters.page,\n requestParameters.itemsPerPage,\n options,\n )\n .then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * Request parameters for locationRoomTypesGetCollection operation in LocationRoomTypeApi.\n * @export\n * @interface LocationRoomTypeApiLocationRoomTypesGetCollectionRequest\n */\nexport interface LocationRoomTypeApiLocationRoomTypesGetCollectionRequest {\n /**\n * The collection page number\n * @type {number}\n * @memberof LocationRoomTypeApiLocationRoomTypesGetCollection\n */\n readonly page?: number;\n\n /**\n * The number of items per page\n * @type {number}\n * @memberof LocationRoomTypeApiLocationRoomTypesGetCollection\n */\n readonly itemsPerPage?: number;\n\n /**\n *\n * @type {string}\n * @memberof LocationRoomTypeApiLocationRoomTypesGetCollection\n */\n readonly location?: string;\n\n /**\n *\n * @type {Array}\n * @memberof LocationRoomTypeApiLocationRoomTypesGetCollection\n */\n readonly location2?: Array;\n\n /**\n *\n * @type {string}\n * @memberof LocationRoomTypeApiLocationRoomTypesGetCollection\n */\n readonly code?: string;\n\n /**\n *\n * @type {Array}\n * @memberof LocationRoomTypeApiLocationRoomTypesGetCollection\n */\n readonly code2?: Array;\n\n /**\n *\n * @type {string}\n * @memberof LocationRoomTypeApiLocationRoomTypesGetCollection\n */\n readonly search?: string;\n\n /**\n *\n * @type {'asc' | 'desc'}\n * @memberof LocationRoomTypeApiLocationRoomTypesGetCollection\n */\n readonly orderCode?: LocationRoomTypesGetCollectionOrderCodeEnum;\n\n /**\n *\n * @type {'asc' | 'desc'}\n * @memberof LocationRoomTypeApiLocationRoomTypesGetCollection\n */\n readonly orderRoomsType?: LocationRoomTypesGetCollectionOrderRoomsTypeEnum;\n\n /**\n *\n * @type {'asc' | 'desc'}\n * @memberof LocationRoomTypeApiLocationRoomTypesGetCollection\n */\n readonly orderLocationName?: LocationRoomTypesGetCollectionOrderLocationNameEnum;\n\n /**\n *\n * @type {'asc' | 'desc'}\n * @memberof LocationRoomTypeApiLocationRoomTypesGetCollection\n */\n readonly orderTranslationsName?: LocationRoomTypesGetCollectionOrderTranslationsNameEnum;\n}\n\n/**\n * Request parameters for locationRoomTypesIdGet operation in LocationRoomTypeApi.\n * @export\n * @interface LocationRoomTypeApiLocationRoomTypesIdGetRequest\n */\nexport interface LocationRoomTypeApiLocationRoomTypesIdGetRequest {\n /**\n * LocationRoomType identifier\n * @type {string}\n * @memberof LocationRoomTypeApiLocationRoomTypesIdGet\n */\n readonly id: string;\n}\n\n/**\n * Request parameters for locationRoomTypesIdPut operation in LocationRoomTypeApi.\n * @export\n * @interface LocationRoomTypeApiLocationRoomTypesIdPutRequest\n */\nexport interface LocationRoomTypeApiLocationRoomTypesIdPutRequest {\n /**\n * LocationRoomType identifier\n * @type {string}\n * @memberof LocationRoomTypeApiLocationRoomTypesIdPut\n */\n readonly id: string;\n\n /**\n * The updated LocationRoomType resource\n * @type {LocationRoomTypeWrite}\n * @memberof LocationRoomTypeApiLocationRoomTypesIdPut\n */\n readonly locationRoomTypeWrite: LocationRoomTypeWrite;\n}\n\n/**\n * Request parameters for locationRoomTypesavailabilitiesGetCollection operation in LocationRoomTypeApi.\n * @export\n * @interface LocationRoomTypeApiLocationRoomTypesavailabilitiesGetCollectionRequest\n */\nexport interface LocationRoomTypeApiLocationRoomTypesavailabilitiesGetCollectionRequest {\n /**\n * Checkin date at the hotel\n * @type {string}\n * @memberof LocationRoomTypeApiLocationRoomTypesavailabilitiesGetCollection\n */\n readonly arrivalDate?: string;\n\n /**\n * Checkout date at the hotel\n * @type {string}\n * @memberof LocationRoomTypeApiLocationRoomTypesavailabilitiesGetCollection\n */\n readonly departureDate?: string;\n\n /**\n * Amount of the hotels rooms booked\n * @type {number}\n * @memberof LocationRoomTypeApiLocationRoomTypesavailabilitiesGetCollection\n */\n readonly amount?: number;\n\n /**\n * Filter room types by location\n * @type {number}\n * @memberof LocationRoomTypeApiLocationRoomTypesavailabilitiesGetCollection\n */\n readonly locationId?: number;\n\n /**\n * The collection page number\n * @type {number}\n * @memberof LocationRoomTypeApiLocationRoomTypesavailabilitiesGetCollection\n */\n readonly page?: number;\n\n /**\n * The number of items per page\n * @type {number}\n * @memberof LocationRoomTypeApiLocationRoomTypesavailabilitiesGetCollection\n */\n readonly itemsPerPage?: number;\n}\n\n/**\n * LocationRoomTypeApi - object-oriented interface\n * @export\n * @class LocationRoomTypeApi\n * @extends {BaseAPI}\n */\nexport class LocationRoomTypeApi extends BaseAPI {\n /**\n * Retrieves the collection of LocationRoomType resources.\n * @summary Retrieves the collection of LocationRoomType resources.\n * @param {LocationRoomTypeApiLocationRoomTypesGetCollectionRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof LocationRoomTypeApi\n */\n public locationRoomTypesGetCollection(\n requestParameters: LocationRoomTypeApiLocationRoomTypesGetCollectionRequest = {},\n options?: AxiosRequestConfig,\n ) {\n return LocationRoomTypeApiFp(this.configuration)\n .locationRoomTypesGetCollection(\n requestParameters.page,\n requestParameters.itemsPerPage,\n requestParameters.location,\n requestParameters.location2,\n requestParameters.code,\n requestParameters.code2,\n requestParameters.search,\n requestParameters.orderCode,\n requestParameters.orderRoomsType,\n requestParameters.orderLocationName,\n requestParameters.orderTranslationsName,\n options,\n )\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Retrieves a LocationRoomType resource.\n * @summary Retrieves a LocationRoomType resource.\n * @param {LocationRoomTypeApiLocationRoomTypesIdGetRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof LocationRoomTypeApi\n */\n public locationRoomTypesIdGet(\n requestParameters: LocationRoomTypeApiLocationRoomTypesIdGetRequest,\n options?: AxiosRequestConfig,\n ) {\n return LocationRoomTypeApiFp(this.configuration)\n .locationRoomTypesIdGet(requestParameters.id, options)\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Replaces the LocationRoomType resource.\n * @summary Replaces the LocationRoomType resource.\n * @param {LocationRoomTypeApiLocationRoomTypesIdPutRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof LocationRoomTypeApi\n */\n public locationRoomTypesIdPut(\n requestParameters: LocationRoomTypeApiLocationRoomTypesIdPutRequest,\n options?: AxiosRequestConfig,\n ) {\n return LocationRoomTypeApiFp(this.configuration)\n .locationRoomTypesIdPut(\n requestParameters.id,\n requestParameters.locationRoomTypeWrite,\n options,\n )\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Retrieves the collection of RoomAvailabilities resources.\n * @summary Retrieve room types availabilities.\n * @param {LocationRoomTypeApiLocationRoomTypesavailabilitiesGetCollectionRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof LocationRoomTypeApi\n */\n public locationRoomTypesavailabilitiesGetCollection(\n requestParameters: LocationRoomTypeApiLocationRoomTypesavailabilitiesGetCollectionRequest = {},\n options?: AxiosRequestConfig,\n ) {\n return LocationRoomTypeApiFp(this.configuration)\n .locationRoomTypesavailabilitiesGetCollection(\n requestParameters.arrivalDate,\n requestParameters.departureDate,\n requestParameters.amount,\n requestParameters.locationId,\n requestParameters.page,\n requestParameters.itemsPerPage,\n options,\n )\n .then((request) => request(this.axios, this.basePath));\n }\n}\n\n/**\n * @export\n */\nexport const LocationRoomTypesGetCollectionOrderCodeEnum = {\n Asc: 'asc',\n Desc: 'desc',\n} as const;\nexport type LocationRoomTypesGetCollectionOrderCodeEnum =\n (typeof LocationRoomTypesGetCollectionOrderCodeEnum)[keyof typeof LocationRoomTypesGetCollectionOrderCodeEnum];\n/**\n * @export\n */\nexport const LocationRoomTypesGetCollectionOrderRoomsTypeEnum = {\n Asc: 'asc',\n Desc: 'desc',\n} as const;\nexport type LocationRoomTypesGetCollectionOrderRoomsTypeEnum =\n (typeof LocationRoomTypesGetCollectionOrderRoomsTypeEnum)[keyof typeof LocationRoomTypesGetCollectionOrderRoomsTypeEnum];\n/**\n * @export\n */\nexport const LocationRoomTypesGetCollectionOrderLocationNameEnum = {\n Asc: 'asc',\n Desc: 'desc',\n} as const;\nexport type LocationRoomTypesGetCollectionOrderLocationNameEnum =\n (typeof LocationRoomTypesGetCollectionOrderLocationNameEnum)[keyof typeof LocationRoomTypesGetCollectionOrderLocationNameEnum];\n/**\n * @export\n */\nexport const LocationRoomTypesGetCollectionOrderTranslationsNameEnum = {\n Asc: 'asc',\n Desc: 'desc',\n} as const;\nexport type LocationRoomTypesGetCollectionOrderTranslationsNameEnum =\n (typeof LocationRoomTypesGetCollectionOrderTranslationsNameEnum)[keyof typeof LocationRoomTypesGetCollectionOrderTranslationsNameEnum];\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Thynk Direct API\n * The API for managing reservation for [Thynk Direct](https://thynk.cloud/).\n *\n * The version of the OpenAPI document: 4.20.16\n *\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport type { Configuration } from '../configuration';\nimport type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';\nimport globalAxios from 'axios';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport {\n DUMMY_BASE_URL,\n assertParamExists,\n setApiKeyToObject,\n setBasicAuthToObject,\n setBearerAuthToObject,\n setOAuthToObject,\n setSearchParams,\n serializeDataIfNeeded,\n toPathString,\n createRequestFunction,\n} from '../common';\n// @ts-ignore\nimport {\n BASE_PATH,\n COLLECTION_FORMATS,\n RequestArgs,\n BaseAPI,\n RequiredError,\n operationServerMap,\n} from '../base';\n// @ts-ignore\nimport { LocationsIdpackageDealsGetCollection200Response } from '../model';\n// @ts-ignore\nimport { PackageDealOrderPackagedealChangeOrder } from '../model';\n// @ts-ignore\nimport { PackageDealRead } from '../model';\n// @ts-ignore\nimport { PackageDealWrite } from '../model';\n// @ts-ignore\nimport { PackageDealsGetCollection200Response } from '../model';\n/**\n * PackageDealApi - axios parameter creator\n * @export\n */\nexport const PackageDealApiAxiosParamCreator = function (\n configuration?: Configuration,\n) {\n return {\n /**\n * Retrieves the collection of PackageDeal resources.\n * @summary Get base package deal for given location\n * @param {number} id Location for retrieving base packagedeal for\n * @param {string} startTime Start time of hall to determine base packagedeal for\n * @param {string} endTime End date of hall to determine base packagedeal for\n * @param {string} date Date to filter available package deal\n * @param {number} pax Pax of hall to determine base packagedeal for\n * @param {string} [email] E-mail address for the reservation used to determine if the request falls under a contract\n * @param {LocationsIdpackageDealsGetCollectionOrderTranslationsNameEnum} [orderTranslationsName]\n * @param {LocationsIdpackageDealsGetCollectionOrderTypeEnum} [orderType]\n * @param {LocationsIdpackageDealsGetCollectionOrderLocationNameEnum} [orderLocationName]\n * @param {LocationsIdpackageDealsGetCollectionOrderPriceEnum} [orderPrice]\n * @param {LocationsIdpackageDealsGetCollectionOrderAvailableEnum} [orderAvailable]\n * @param {string} [location]\n * @param {Array} [location2]\n * @param {string} [type]\n * @param {Array} [type2]\n * @param {string} [timeslots]\n * @param {Array} [timeslots2]\n * @param {string} [period]\n * @param {Array} [period2]\n * @param {string} [translationsName]\n * @param {boolean} [cateringPackage]\n * @param {boolean} [includingHallRental]\n * @param {boolean} [available]\n * @param {boolean} [deleted]\n * @param {string} [reservation]\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n locationsIdpackageDealsGetCollection: async (\n id: number,\n startTime: string,\n endTime: string,\n date: string,\n pax: number,\n email?: string,\n orderTranslationsName?: LocationsIdpackageDealsGetCollectionOrderTranslationsNameEnum,\n orderType?: LocationsIdpackageDealsGetCollectionOrderTypeEnum,\n orderLocationName?: LocationsIdpackageDealsGetCollectionOrderLocationNameEnum,\n orderPrice?: LocationsIdpackageDealsGetCollectionOrderPriceEnum,\n orderAvailable?: LocationsIdpackageDealsGetCollectionOrderAvailableEnum,\n location?: string,\n location2?: Array,\n type?: string,\n type2?: Array,\n timeslots?: string,\n timeslots2?: Array,\n period?: string,\n period2?: Array,\n translationsName?: string,\n cateringPackage?: boolean,\n includingHallRental?: boolean,\n available?: boolean,\n deleted?: boolean,\n reservation?: string,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('locationsIdpackageDealsGetCollection', 'id', id);\n // verify required parameter 'startTime' is not null or undefined\n assertParamExists(\n 'locationsIdpackageDealsGetCollection',\n 'startTime',\n startTime,\n );\n // verify required parameter 'endTime' is not null or undefined\n assertParamExists(\n 'locationsIdpackageDealsGetCollection',\n 'endTime',\n endTime,\n );\n // verify required parameter 'date' is not null or undefined\n assertParamExists('locationsIdpackageDealsGetCollection', 'date', date);\n // verify required parameter 'pax' is not null or undefined\n assertParamExists('locationsIdpackageDealsGetCollection', 'pax', pax);\n const localVarPath = `/api/locations/{id}/package_deals`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'GET',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n if (startTime !== undefined) {\n localVarQueryParameter['startTime'] = startTime;\n }\n\n if (endTime !== undefined) {\n localVarQueryParameter['endTime'] = endTime;\n }\n\n if (date !== undefined) {\n localVarQueryParameter['date'] = date;\n }\n\n if (pax !== undefined) {\n localVarQueryParameter['pax'] = pax;\n }\n\n if (email !== undefined) {\n localVarQueryParameter['email'] = email;\n }\n\n if (orderTranslationsName !== undefined) {\n localVarQueryParameter['order[translations.name]'] =\n orderTranslationsName;\n }\n\n if (orderType !== undefined) {\n localVarQueryParameter['order[type]'] = orderType;\n }\n\n if (orderLocationName !== undefined) {\n localVarQueryParameter['order[location.name]'] = orderLocationName;\n }\n\n if (orderPrice !== undefined) {\n localVarQueryParameter['order[price]'] = orderPrice;\n }\n\n if (orderAvailable !== undefined) {\n localVarQueryParameter['order[available]'] = orderAvailable;\n }\n\n if (location !== undefined) {\n localVarQueryParameter['location'] = location;\n }\n\n if (location2) {\n localVarQueryParameter['location[]'] = location2;\n }\n\n if (type !== undefined) {\n localVarQueryParameter['type'] = type;\n }\n\n if (type2) {\n localVarQueryParameter['type[]'] = type2;\n }\n\n if (timeslots !== undefined) {\n localVarQueryParameter['timeslots'] = timeslots;\n }\n\n if (timeslots2) {\n localVarQueryParameter['timeslots[]'] = timeslots2;\n }\n\n if (period !== undefined) {\n localVarQueryParameter['period'] = period;\n }\n\n if (period2) {\n localVarQueryParameter['period[]'] = period2;\n }\n\n if (translationsName !== undefined) {\n localVarQueryParameter['translations.name'] = translationsName;\n }\n\n if (cateringPackage !== undefined) {\n localVarQueryParameter['cateringPackage'] = cateringPackage;\n }\n\n if (includingHallRental !== undefined) {\n localVarQueryParameter['includingHallRental'] = includingHallRental;\n }\n\n if (available !== undefined) {\n localVarQueryParameter['available'] = available;\n }\n\n if (deleted !== undefined) {\n localVarQueryParameter['deleted'] = deleted;\n }\n\n if (reservation !== undefined) {\n localVarQueryParameter['reservation'] = reservation;\n }\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Retrieves the collection of PackageDeal resources.\n * @summary Retrieves the collection of PackageDeal resources.\n * @param {number} [page] The collection page number\n * @param {number} [itemsPerPage] The number of items per page\n * @param {PackageDealsGetCollectionOrderTranslationsNameEnum} [orderTranslationsName]\n * @param {PackageDealsGetCollectionOrderTypeEnum} [orderType]\n * @param {PackageDealsGetCollectionOrderLocationNameEnum} [orderLocationName]\n * @param {PackageDealsGetCollectionOrderPriceEnum} [orderPrice]\n * @param {PackageDealsGetCollectionOrderAvailableEnum} [orderAvailable]\n * @param {string} [location]\n * @param {Array} [location2]\n * @param {string} [type]\n * @param {Array} [type2]\n * @param {string} [timeslots]\n * @param {Array} [timeslots2]\n * @param {string} [period]\n * @param {Array} [period2]\n * @param {string} [translationsName]\n * @param {boolean} [cateringPackage]\n * @param {boolean} [includingHallRental]\n * @param {boolean} [available]\n * @param {boolean} [deleted]\n * @param {string} [reservation]\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n packageDealsGetCollection: async (\n page?: number,\n itemsPerPage?: number,\n orderTranslationsName?: PackageDealsGetCollectionOrderTranslationsNameEnum,\n orderType?: PackageDealsGetCollectionOrderTypeEnum,\n orderLocationName?: PackageDealsGetCollectionOrderLocationNameEnum,\n orderPrice?: PackageDealsGetCollectionOrderPriceEnum,\n orderAvailable?: PackageDealsGetCollectionOrderAvailableEnum,\n location?: string,\n location2?: Array,\n type?: string,\n type2?: Array,\n timeslots?: string,\n timeslots2?: Array,\n period?: string,\n period2?: Array,\n translationsName?: string,\n cateringPackage?: boolean,\n includingHallRental?: boolean,\n available?: boolean,\n deleted?: boolean,\n reservation?: string,\n options: AxiosRequestConfig = {},\n ): Promise => {\n const localVarPath = `/api/package_deals`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'GET',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n if (page !== undefined) {\n localVarQueryParameter['page'] = page;\n }\n\n if (itemsPerPage !== undefined) {\n localVarQueryParameter['itemsPerPage'] = itemsPerPage;\n }\n\n if (orderTranslationsName !== undefined) {\n localVarQueryParameter['order[translations.name]'] =\n orderTranslationsName;\n }\n\n if (orderType !== undefined) {\n localVarQueryParameter['order[type]'] = orderType;\n }\n\n if (orderLocationName !== undefined) {\n localVarQueryParameter['order[location.name]'] = orderLocationName;\n }\n\n if (orderPrice !== undefined) {\n localVarQueryParameter['order[price]'] = orderPrice;\n }\n\n if (orderAvailable !== undefined) {\n localVarQueryParameter['order[available]'] = orderAvailable;\n }\n\n if (location !== undefined) {\n localVarQueryParameter['location'] = location;\n }\n\n if (location2) {\n localVarQueryParameter['location[]'] = location2;\n }\n\n if (type !== undefined) {\n localVarQueryParameter['type'] = type;\n }\n\n if (type2) {\n localVarQueryParameter['type[]'] = type2;\n }\n\n if (timeslots !== undefined) {\n localVarQueryParameter['timeslots'] = timeslots;\n }\n\n if (timeslots2) {\n localVarQueryParameter['timeslots[]'] = timeslots2;\n }\n\n if (period !== undefined) {\n localVarQueryParameter['period'] = period;\n }\n\n if (period2) {\n localVarQueryParameter['period[]'] = period2;\n }\n\n if (translationsName !== undefined) {\n localVarQueryParameter['translations.name'] = translationsName;\n }\n\n if (cateringPackage !== undefined) {\n localVarQueryParameter['cateringPackage'] = cateringPackage;\n }\n\n if (includingHallRental !== undefined) {\n localVarQueryParameter['includingHallRental'] = includingHallRental;\n }\n\n if (available !== undefined) {\n localVarQueryParameter['available'] = available;\n }\n\n if (deleted !== undefined) {\n localVarQueryParameter['deleted'] = deleted;\n }\n\n if (reservation !== undefined) {\n localVarQueryParameter['reservation'] = reservation;\n }\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Retrieves a PackageDeal resource.\n * @summary Retrieves a PackageDeal resource.\n * @param {string} id PackageDeal identifier\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n packageDealsIdGet: async (\n id: string,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('packageDealsIdGet', 'id', id);\n const localVarPath = `/api/package_deals/{id}`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'GET',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Updates the PackageDeal resource.\n * @summary Updates the PackageDeal resource.\n * @param {string} id PackageDeal identifier\n * @param {PackageDealWrite} packageDealWrite The updated PackageDeal resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n packageDealsIdPatch: async (\n id: string,\n packageDealWrite: PackageDealWrite,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('packageDealsIdPatch', 'id', id);\n // verify required parameter 'packageDealWrite' is not null or undefined\n assertParamExists(\n 'packageDealsIdPatch',\n 'packageDealWrite',\n packageDealWrite,\n );\n const localVarPath = `/api/package_deals/{id}`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'PATCH',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n localVarHeaderParameter['Content-Type'] = 'application/merge-patch+json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n localVarRequestOptions.data = serializeDataIfNeeded(\n packageDealWrite,\n localVarRequestOptions,\n configuration,\n );\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Creates a PackageDealOrder resource.\n * @summary Change the order of the package deal priority\n * @param {PackageDealOrderPackagedealChangeOrder} packageDealOrderPackagedealChangeOrder The new PackageDealOrder resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n packageDealschangeOrderPost: async (\n packageDealOrderPackagedealChangeOrder: PackageDealOrderPackagedealChangeOrder,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'packageDealOrderPackagedealChangeOrder' is not null or undefined\n assertParamExists(\n 'packageDealschangeOrderPost',\n 'packageDealOrderPackagedealChangeOrder',\n packageDealOrderPackagedealChangeOrder,\n );\n const localVarPath = `/api/package_deals/change_order`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'POST',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n localVarHeaderParameter['Content-Type'] = 'application/ld+json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n localVarRequestOptions.data = serializeDataIfNeeded(\n packageDealOrderPackagedealChangeOrder,\n localVarRequestOptions,\n configuration,\n );\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n };\n};\n\n/**\n * PackageDealApi - functional programming interface\n * @export\n */\nexport const PackageDealApiFp = function (configuration?: Configuration) {\n const localVarAxiosParamCreator =\n PackageDealApiAxiosParamCreator(configuration);\n return {\n /**\n * Retrieves the collection of PackageDeal resources.\n * @summary Get base package deal for given location\n * @param {number} id Location for retrieving base packagedeal for\n * @param {string} startTime Start time of hall to determine base packagedeal for\n * @param {string} endTime End date of hall to determine base packagedeal for\n * @param {string} date Date to filter available package deal\n * @param {number} pax Pax of hall to determine base packagedeal for\n * @param {string} [email] E-mail address for the reservation used to determine if the request falls under a contract\n * @param {LocationsIdpackageDealsGetCollectionOrderTranslationsNameEnum} [orderTranslationsName]\n * @param {LocationsIdpackageDealsGetCollectionOrderTypeEnum} [orderType]\n * @param {LocationsIdpackageDealsGetCollectionOrderLocationNameEnum} [orderLocationName]\n * @param {LocationsIdpackageDealsGetCollectionOrderPriceEnum} [orderPrice]\n * @param {LocationsIdpackageDealsGetCollectionOrderAvailableEnum} [orderAvailable]\n * @param {string} [location]\n * @param {Array} [location2]\n * @param {string} [type]\n * @param {Array} [type2]\n * @param {string} [timeslots]\n * @param {Array} [timeslots2]\n * @param {string} [period]\n * @param {Array} [period2]\n * @param {string} [translationsName]\n * @param {boolean} [cateringPackage]\n * @param {boolean} [includingHallRental]\n * @param {boolean} [available]\n * @param {boolean} [deleted]\n * @param {string} [reservation]\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async locationsIdpackageDealsGetCollection(\n id: number,\n startTime: string,\n endTime: string,\n date: string,\n pax: number,\n email?: string,\n orderTranslationsName?: LocationsIdpackageDealsGetCollectionOrderTranslationsNameEnum,\n orderType?: LocationsIdpackageDealsGetCollectionOrderTypeEnum,\n orderLocationName?: LocationsIdpackageDealsGetCollectionOrderLocationNameEnum,\n orderPrice?: LocationsIdpackageDealsGetCollectionOrderPriceEnum,\n orderAvailable?: LocationsIdpackageDealsGetCollectionOrderAvailableEnum,\n location?: string,\n location2?: Array,\n type?: string,\n type2?: Array,\n timeslots?: string,\n timeslots2?: Array,\n period?: string,\n period2?: Array,\n translationsName?: string,\n cateringPackage?: boolean,\n includingHallRental?: boolean,\n available?: boolean,\n deleted?: boolean,\n reservation?: string,\n options?: AxiosRequestConfig,\n ): Promise<\n (\n axios?: AxiosInstance,\n basePath?: string,\n ) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.locationsIdpackageDealsGetCollection(\n id,\n startTime,\n endTime,\n date,\n pax,\n email,\n orderTranslationsName,\n orderType,\n orderLocationName,\n orderPrice,\n orderAvailable,\n location,\n location2,\n type,\n type2,\n timeslots,\n timeslots2,\n period,\n period2,\n translationsName,\n cateringPackage,\n includingHallRental,\n available,\n deleted,\n reservation,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap[\n 'PackageDealApi.locationsIdpackageDealsGetCollection'\n ]?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Retrieves the collection of PackageDeal resources.\n * @summary Retrieves the collection of PackageDeal resources.\n * @param {number} [page] The collection page number\n * @param {number} [itemsPerPage] The number of items per page\n * @param {PackageDealsGetCollectionOrderTranslationsNameEnum} [orderTranslationsName]\n * @param {PackageDealsGetCollectionOrderTypeEnum} [orderType]\n * @param {PackageDealsGetCollectionOrderLocationNameEnum} [orderLocationName]\n * @param {PackageDealsGetCollectionOrderPriceEnum} [orderPrice]\n * @param {PackageDealsGetCollectionOrderAvailableEnum} [orderAvailable]\n * @param {string} [location]\n * @param {Array} [location2]\n * @param {string} [type]\n * @param {Array} [type2]\n * @param {string} [timeslots]\n * @param {Array} [timeslots2]\n * @param {string} [period]\n * @param {Array} [period2]\n * @param {string} [translationsName]\n * @param {boolean} [cateringPackage]\n * @param {boolean} [includingHallRental]\n * @param {boolean} [available]\n * @param {boolean} [deleted]\n * @param {string} [reservation]\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async packageDealsGetCollection(\n page?: number,\n itemsPerPage?: number,\n orderTranslationsName?: PackageDealsGetCollectionOrderTranslationsNameEnum,\n orderType?: PackageDealsGetCollectionOrderTypeEnum,\n orderLocationName?: PackageDealsGetCollectionOrderLocationNameEnum,\n orderPrice?: PackageDealsGetCollectionOrderPriceEnum,\n orderAvailable?: PackageDealsGetCollectionOrderAvailableEnum,\n location?: string,\n location2?: Array,\n type?: string,\n type2?: Array,\n timeslots?: string,\n timeslots2?: Array,\n period?: string,\n period2?: Array,\n translationsName?: string,\n cateringPackage?: boolean,\n includingHallRental?: boolean,\n available?: boolean,\n deleted?: boolean,\n reservation?: string,\n options?: AxiosRequestConfig,\n ): Promise<\n (\n axios?: AxiosInstance,\n basePath?: string,\n ) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.packageDealsGetCollection(\n page,\n itemsPerPage,\n orderTranslationsName,\n orderType,\n orderLocationName,\n orderPrice,\n orderAvailable,\n location,\n location2,\n type,\n type2,\n timeslots,\n timeslots2,\n period,\n period2,\n translationsName,\n cateringPackage,\n includingHallRental,\n available,\n deleted,\n reservation,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['PackageDealApi.packageDealsGetCollection']?.[index]\n ?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Retrieves a PackageDeal resource.\n * @summary Retrieves a PackageDeal resource.\n * @param {string} id PackageDeal identifier\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async packageDealsIdGet(\n id: string,\n options?: AxiosRequestConfig,\n ): Promise<\n (\n axios?: AxiosInstance,\n basePath?: string,\n ) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.packageDealsIdGet(id, options);\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['PackageDealApi.packageDealsIdGet']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Updates the PackageDeal resource.\n * @summary Updates the PackageDeal resource.\n * @param {string} id PackageDeal identifier\n * @param {PackageDealWrite} packageDealWrite The updated PackageDeal resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async packageDealsIdPatch(\n id: string,\n packageDealWrite: PackageDealWrite,\n options?: AxiosRequestConfig,\n ): Promise<\n (\n axios?: AxiosInstance,\n basePath?: string,\n ) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.packageDealsIdPatch(\n id,\n packageDealWrite,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['PackageDealApi.packageDealsIdPatch']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Creates a PackageDealOrder resource.\n * @summary Change the order of the package deal priority\n * @param {PackageDealOrderPackagedealChangeOrder} packageDealOrderPackagedealChangeOrder The new PackageDealOrder resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async packageDealschangeOrderPost(\n packageDealOrderPackagedealChangeOrder: PackageDealOrderPackagedealChangeOrder,\n options?: AxiosRequestConfig,\n ): Promise<\n (axios?: AxiosInstance, basePath?: string) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.packageDealschangeOrderPost(\n packageDealOrderPackagedealChangeOrder,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['PackageDealApi.packageDealschangeOrderPost']?.[\n index\n ]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n };\n};\n\n/**\n * PackageDealApi - factory interface\n * @export\n */\nexport const PackageDealApiFactory = function (\n configuration?: Configuration,\n basePath?: string,\n axios?: AxiosInstance,\n) {\n const localVarFp = PackageDealApiFp(configuration);\n return {\n /**\n * Retrieves the collection of PackageDeal resources.\n * @summary Get base package deal for given location\n * @param {PackageDealApiLocationsIdpackageDealsGetCollectionRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n locationsIdpackageDealsGetCollection(\n requestParameters: PackageDealApiLocationsIdpackageDealsGetCollectionRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .locationsIdpackageDealsGetCollection(\n requestParameters.id,\n requestParameters.startTime,\n requestParameters.endTime,\n requestParameters.date,\n requestParameters.pax,\n requestParameters.email,\n requestParameters.orderTranslationsName,\n requestParameters.orderType,\n requestParameters.orderLocationName,\n requestParameters.orderPrice,\n requestParameters.orderAvailable,\n requestParameters.location,\n requestParameters.location2,\n requestParameters.type,\n requestParameters.type2,\n requestParameters.timeslots,\n requestParameters.timeslots2,\n requestParameters.period,\n requestParameters.period2,\n requestParameters.translationsName,\n requestParameters.cateringPackage,\n requestParameters.includingHallRental,\n requestParameters.available,\n requestParameters.deleted,\n requestParameters.reservation,\n options,\n )\n .then((request) => request(axios, basePath));\n },\n /**\n * Retrieves the collection of PackageDeal resources.\n * @summary Retrieves the collection of PackageDeal resources.\n * @param {PackageDealApiPackageDealsGetCollectionRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n packageDealsGetCollection(\n requestParameters: PackageDealApiPackageDealsGetCollectionRequest = {},\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .packageDealsGetCollection(\n requestParameters.page,\n requestParameters.itemsPerPage,\n requestParameters.orderTranslationsName,\n requestParameters.orderType,\n requestParameters.orderLocationName,\n requestParameters.orderPrice,\n requestParameters.orderAvailable,\n requestParameters.location,\n requestParameters.location2,\n requestParameters.type,\n requestParameters.type2,\n requestParameters.timeslots,\n requestParameters.timeslots2,\n requestParameters.period,\n requestParameters.period2,\n requestParameters.translationsName,\n requestParameters.cateringPackage,\n requestParameters.includingHallRental,\n requestParameters.available,\n requestParameters.deleted,\n requestParameters.reservation,\n options,\n )\n .then((request) => request(axios, basePath));\n },\n /**\n * Retrieves a PackageDeal resource.\n * @summary Retrieves a PackageDeal resource.\n * @param {PackageDealApiPackageDealsIdGetRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n packageDealsIdGet(\n requestParameters: PackageDealApiPackageDealsIdGetRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .packageDealsIdGet(requestParameters.id, options)\n .then((request) => request(axios, basePath));\n },\n /**\n * Updates the PackageDeal resource.\n * @summary Updates the PackageDeal resource.\n * @param {PackageDealApiPackageDealsIdPatchRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n packageDealsIdPatch(\n requestParameters: PackageDealApiPackageDealsIdPatchRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .packageDealsIdPatch(\n requestParameters.id,\n requestParameters.packageDealWrite,\n options,\n )\n .then((request) => request(axios, basePath));\n },\n /**\n * Creates a PackageDealOrder resource.\n * @summary Change the order of the package deal priority\n * @param {PackageDealApiPackageDealschangeOrderPostRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n packageDealschangeOrderPost(\n requestParameters: PackageDealApiPackageDealschangeOrderPostRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .packageDealschangeOrderPost(\n requestParameters.packageDealOrderPackagedealChangeOrder,\n options,\n )\n .then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * Request parameters for locationsIdpackageDealsGetCollection operation in PackageDealApi.\n * @export\n * @interface PackageDealApiLocationsIdpackageDealsGetCollectionRequest\n */\nexport interface PackageDealApiLocationsIdpackageDealsGetCollectionRequest {\n /**\n * Location for retrieving base packagedeal for\n * @type {number}\n * @memberof PackageDealApiLocationsIdpackageDealsGetCollection\n */\n readonly id: number;\n\n /**\n * Start time of hall to determine base packagedeal for\n * @type {string}\n * @memberof PackageDealApiLocationsIdpackageDealsGetCollection\n */\n readonly startTime: string;\n\n /**\n * End date of hall to determine base packagedeal for\n * @type {string}\n * @memberof PackageDealApiLocationsIdpackageDealsGetCollection\n */\n readonly endTime: string;\n\n /**\n * Date to filter available package deal\n * @type {string}\n * @memberof PackageDealApiLocationsIdpackageDealsGetCollection\n */\n readonly date: string;\n\n /**\n * Pax of hall to determine base packagedeal for\n * @type {number}\n * @memberof PackageDealApiLocationsIdpackageDealsGetCollection\n */\n readonly pax: number;\n\n /**\n * E-mail address for the reservation used to determine if the request falls under a contract\n * @type {string}\n * @memberof PackageDealApiLocationsIdpackageDealsGetCollection\n */\n readonly email?: string;\n\n /**\n *\n * @type {'asc' | 'desc'}\n * @memberof PackageDealApiLocationsIdpackageDealsGetCollection\n */\n readonly orderTranslationsName?: LocationsIdpackageDealsGetCollectionOrderTranslationsNameEnum;\n\n /**\n *\n * @type {'asc' | 'desc'}\n * @memberof PackageDealApiLocationsIdpackageDealsGetCollection\n */\n readonly orderType?: LocationsIdpackageDealsGetCollectionOrderTypeEnum;\n\n /**\n *\n * @type {'asc' | 'desc'}\n * @memberof PackageDealApiLocationsIdpackageDealsGetCollection\n */\n readonly orderLocationName?: LocationsIdpackageDealsGetCollectionOrderLocationNameEnum;\n\n /**\n *\n * @type {'asc' | 'desc'}\n * @memberof PackageDealApiLocationsIdpackageDealsGetCollection\n */\n readonly orderPrice?: LocationsIdpackageDealsGetCollectionOrderPriceEnum;\n\n /**\n *\n * @type {'asc' | 'desc'}\n * @memberof PackageDealApiLocationsIdpackageDealsGetCollection\n */\n readonly orderAvailable?: LocationsIdpackageDealsGetCollectionOrderAvailableEnum;\n\n /**\n *\n * @type {string}\n * @memberof PackageDealApiLocationsIdpackageDealsGetCollection\n */\n readonly location?: string;\n\n /**\n *\n * @type {Array}\n * @memberof PackageDealApiLocationsIdpackageDealsGetCollection\n */\n readonly location2?: Array;\n\n /**\n *\n * @type {string}\n * @memberof PackageDealApiLocationsIdpackageDealsGetCollection\n */\n readonly type?: string;\n\n /**\n *\n * @type {Array}\n * @memberof PackageDealApiLocationsIdpackageDealsGetCollection\n */\n readonly type2?: Array;\n\n /**\n *\n * @type {string}\n * @memberof PackageDealApiLocationsIdpackageDealsGetCollection\n */\n readonly timeslots?: string;\n\n /**\n *\n * @type {Array}\n * @memberof PackageDealApiLocationsIdpackageDealsGetCollection\n */\n readonly timeslots2?: Array;\n\n /**\n *\n * @type {string}\n * @memberof PackageDealApiLocationsIdpackageDealsGetCollection\n */\n readonly period?: string;\n\n /**\n *\n * @type {Array}\n * @memberof PackageDealApiLocationsIdpackageDealsGetCollection\n */\n readonly period2?: Array;\n\n /**\n *\n * @type {string}\n * @memberof PackageDealApiLocationsIdpackageDealsGetCollection\n */\n readonly translationsName?: string;\n\n /**\n *\n * @type {boolean}\n * @memberof PackageDealApiLocationsIdpackageDealsGetCollection\n */\n readonly cateringPackage?: boolean;\n\n /**\n *\n * @type {boolean}\n * @memberof PackageDealApiLocationsIdpackageDealsGetCollection\n */\n readonly includingHallRental?: boolean;\n\n /**\n *\n * @type {boolean}\n * @memberof PackageDealApiLocationsIdpackageDealsGetCollection\n */\n readonly available?: boolean;\n\n /**\n *\n * @type {boolean}\n * @memberof PackageDealApiLocationsIdpackageDealsGetCollection\n */\n readonly deleted?: boolean;\n\n /**\n *\n * @type {string}\n * @memberof PackageDealApiLocationsIdpackageDealsGetCollection\n */\n readonly reservation?: string;\n}\n\n/**\n * Request parameters for packageDealsGetCollection operation in PackageDealApi.\n * @export\n * @interface PackageDealApiPackageDealsGetCollectionRequest\n */\nexport interface PackageDealApiPackageDealsGetCollectionRequest {\n /**\n * The collection page number\n * @type {number}\n * @memberof PackageDealApiPackageDealsGetCollection\n */\n readonly page?: number;\n\n /**\n * The number of items per page\n * @type {number}\n * @memberof PackageDealApiPackageDealsGetCollection\n */\n readonly itemsPerPage?: number;\n\n /**\n *\n * @type {'asc' | 'desc'}\n * @memberof PackageDealApiPackageDealsGetCollection\n */\n readonly orderTranslationsName?: PackageDealsGetCollectionOrderTranslationsNameEnum;\n\n /**\n *\n * @type {'asc' | 'desc'}\n * @memberof PackageDealApiPackageDealsGetCollection\n */\n readonly orderType?: PackageDealsGetCollectionOrderTypeEnum;\n\n /**\n *\n * @type {'asc' | 'desc'}\n * @memberof PackageDealApiPackageDealsGetCollection\n */\n readonly orderLocationName?: PackageDealsGetCollectionOrderLocationNameEnum;\n\n /**\n *\n * @type {'asc' | 'desc'}\n * @memberof PackageDealApiPackageDealsGetCollection\n */\n readonly orderPrice?: PackageDealsGetCollectionOrderPriceEnum;\n\n /**\n *\n * @type {'asc' | 'desc'}\n * @memberof PackageDealApiPackageDealsGetCollection\n */\n readonly orderAvailable?: PackageDealsGetCollectionOrderAvailableEnum;\n\n /**\n *\n * @type {string}\n * @memberof PackageDealApiPackageDealsGetCollection\n */\n readonly location?: string;\n\n /**\n *\n * @type {Array}\n * @memberof PackageDealApiPackageDealsGetCollection\n */\n readonly location2?: Array;\n\n /**\n *\n * @type {string}\n * @memberof PackageDealApiPackageDealsGetCollection\n */\n readonly type?: string;\n\n /**\n *\n * @type {Array}\n * @memberof PackageDealApiPackageDealsGetCollection\n */\n readonly type2?: Array;\n\n /**\n *\n * @type {string}\n * @memberof PackageDealApiPackageDealsGetCollection\n */\n readonly timeslots?: string;\n\n /**\n *\n * @type {Array}\n * @memberof PackageDealApiPackageDealsGetCollection\n */\n readonly timeslots2?: Array;\n\n /**\n *\n * @type {string}\n * @memberof PackageDealApiPackageDealsGetCollection\n */\n readonly period?: string;\n\n /**\n *\n * @type {Array}\n * @memberof PackageDealApiPackageDealsGetCollection\n */\n readonly period2?: Array;\n\n /**\n *\n * @type {string}\n * @memberof PackageDealApiPackageDealsGetCollection\n */\n readonly translationsName?: string;\n\n /**\n *\n * @type {boolean}\n * @memberof PackageDealApiPackageDealsGetCollection\n */\n readonly cateringPackage?: boolean;\n\n /**\n *\n * @type {boolean}\n * @memberof PackageDealApiPackageDealsGetCollection\n */\n readonly includingHallRental?: boolean;\n\n /**\n *\n * @type {boolean}\n * @memberof PackageDealApiPackageDealsGetCollection\n */\n readonly available?: boolean;\n\n /**\n *\n * @type {boolean}\n * @memberof PackageDealApiPackageDealsGetCollection\n */\n readonly deleted?: boolean;\n\n /**\n *\n * @type {string}\n * @memberof PackageDealApiPackageDealsGetCollection\n */\n readonly reservation?: string;\n}\n\n/**\n * Request parameters for packageDealsIdGet operation in PackageDealApi.\n * @export\n * @interface PackageDealApiPackageDealsIdGetRequest\n */\nexport interface PackageDealApiPackageDealsIdGetRequest {\n /**\n * PackageDeal identifier\n * @type {string}\n * @memberof PackageDealApiPackageDealsIdGet\n */\n readonly id: string;\n}\n\n/**\n * Request parameters for packageDealsIdPatch operation in PackageDealApi.\n * @export\n * @interface PackageDealApiPackageDealsIdPatchRequest\n */\nexport interface PackageDealApiPackageDealsIdPatchRequest {\n /**\n * PackageDeal identifier\n * @type {string}\n * @memberof PackageDealApiPackageDealsIdPatch\n */\n readonly id: string;\n\n /**\n * The updated PackageDeal resource\n * @type {PackageDealWrite}\n * @memberof PackageDealApiPackageDealsIdPatch\n */\n readonly packageDealWrite: PackageDealWrite;\n}\n\n/**\n * Request parameters for packageDealschangeOrderPost operation in PackageDealApi.\n * @export\n * @interface PackageDealApiPackageDealschangeOrderPostRequest\n */\nexport interface PackageDealApiPackageDealschangeOrderPostRequest {\n /**\n * The new PackageDealOrder resource\n * @type {PackageDealOrderPackagedealChangeOrder}\n * @memberof PackageDealApiPackageDealschangeOrderPost\n */\n readonly packageDealOrderPackagedealChangeOrder: PackageDealOrderPackagedealChangeOrder;\n}\n\n/**\n * PackageDealApi - object-oriented interface\n * @export\n * @class PackageDealApi\n * @extends {BaseAPI}\n */\nexport class PackageDealApi extends BaseAPI {\n /**\n * Retrieves the collection of PackageDeal resources.\n * @summary Get base package deal for given location\n * @param {PackageDealApiLocationsIdpackageDealsGetCollectionRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof PackageDealApi\n */\n public locationsIdpackageDealsGetCollection(\n requestParameters: PackageDealApiLocationsIdpackageDealsGetCollectionRequest,\n options?: AxiosRequestConfig,\n ) {\n return PackageDealApiFp(this.configuration)\n .locationsIdpackageDealsGetCollection(\n requestParameters.id,\n requestParameters.startTime,\n requestParameters.endTime,\n requestParameters.date,\n requestParameters.pax,\n requestParameters.email,\n requestParameters.orderTranslationsName,\n requestParameters.orderType,\n requestParameters.orderLocationName,\n requestParameters.orderPrice,\n requestParameters.orderAvailable,\n requestParameters.location,\n requestParameters.location2,\n requestParameters.type,\n requestParameters.type2,\n requestParameters.timeslots,\n requestParameters.timeslots2,\n requestParameters.period,\n requestParameters.period2,\n requestParameters.translationsName,\n requestParameters.cateringPackage,\n requestParameters.includingHallRental,\n requestParameters.available,\n requestParameters.deleted,\n requestParameters.reservation,\n options,\n )\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Retrieves the collection of PackageDeal resources.\n * @summary Retrieves the collection of PackageDeal resources.\n * @param {PackageDealApiPackageDealsGetCollectionRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof PackageDealApi\n */\n public packageDealsGetCollection(\n requestParameters: PackageDealApiPackageDealsGetCollectionRequest = {},\n options?: AxiosRequestConfig,\n ) {\n return PackageDealApiFp(this.configuration)\n .packageDealsGetCollection(\n requestParameters.page,\n requestParameters.itemsPerPage,\n requestParameters.orderTranslationsName,\n requestParameters.orderType,\n requestParameters.orderLocationName,\n requestParameters.orderPrice,\n requestParameters.orderAvailable,\n requestParameters.location,\n requestParameters.location2,\n requestParameters.type,\n requestParameters.type2,\n requestParameters.timeslots,\n requestParameters.timeslots2,\n requestParameters.period,\n requestParameters.period2,\n requestParameters.translationsName,\n requestParameters.cateringPackage,\n requestParameters.includingHallRental,\n requestParameters.available,\n requestParameters.deleted,\n requestParameters.reservation,\n options,\n )\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Retrieves a PackageDeal resource.\n * @summary Retrieves a PackageDeal resource.\n * @param {PackageDealApiPackageDealsIdGetRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof PackageDealApi\n */\n public packageDealsIdGet(\n requestParameters: PackageDealApiPackageDealsIdGetRequest,\n options?: AxiosRequestConfig,\n ) {\n return PackageDealApiFp(this.configuration)\n .packageDealsIdGet(requestParameters.id, options)\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Updates the PackageDeal resource.\n * @summary Updates the PackageDeal resource.\n * @param {PackageDealApiPackageDealsIdPatchRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof PackageDealApi\n */\n public packageDealsIdPatch(\n requestParameters: PackageDealApiPackageDealsIdPatchRequest,\n options?: AxiosRequestConfig,\n ) {\n return PackageDealApiFp(this.configuration)\n .packageDealsIdPatch(\n requestParameters.id,\n requestParameters.packageDealWrite,\n options,\n )\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Creates a PackageDealOrder resource.\n * @summary Change the order of the package deal priority\n * @param {PackageDealApiPackageDealschangeOrderPostRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof PackageDealApi\n */\n public packageDealschangeOrderPost(\n requestParameters: PackageDealApiPackageDealschangeOrderPostRequest,\n options?: AxiosRequestConfig,\n ) {\n return PackageDealApiFp(this.configuration)\n .packageDealschangeOrderPost(\n requestParameters.packageDealOrderPackagedealChangeOrder,\n options,\n )\n .then((request) => request(this.axios, this.basePath));\n }\n}\n\n/**\n * @export\n */\nexport const LocationsIdpackageDealsGetCollectionOrderTranslationsNameEnum = {\n Asc: 'asc',\n Desc: 'desc',\n} as const;\nexport type LocationsIdpackageDealsGetCollectionOrderTranslationsNameEnum =\n (typeof LocationsIdpackageDealsGetCollectionOrderTranslationsNameEnum)[keyof typeof LocationsIdpackageDealsGetCollectionOrderTranslationsNameEnum];\n/**\n * @export\n */\nexport const LocationsIdpackageDealsGetCollectionOrderTypeEnum = {\n Asc: 'asc',\n Desc: 'desc',\n} as const;\nexport type LocationsIdpackageDealsGetCollectionOrderTypeEnum =\n (typeof LocationsIdpackageDealsGetCollectionOrderTypeEnum)[keyof typeof LocationsIdpackageDealsGetCollectionOrderTypeEnum];\n/**\n * @export\n */\nexport const LocationsIdpackageDealsGetCollectionOrderLocationNameEnum = {\n Asc: 'asc',\n Desc: 'desc',\n} as const;\nexport type LocationsIdpackageDealsGetCollectionOrderLocationNameEnum =\n (typeof LocationsIdpackageDealsGetCollectionOrderLocationNameEnum)[keyof typeof LocationsIdpackageDealsGetCollectionOrderLocationNameEnum];\n/**\n * @export\n */\nexport const LocationsIdpackageDealsGetCollectionOrderPriceEnum = {\n Asc: 'asc',\n Desc: 'desc',\n} as const;\nexport type LocationsIdpackageDealsGetCollectionOrderPriceEnum =\n (typeof LocationsIdpackageDealsGetCollectionOrderPriceEnum)[keyof typeof LocationsIdpackageDealsGetCollectionOrderPriceEnum];\n/**\n * @export\n */\nexport const LocationsIdpackageDealsGetCollectionOrderAvailableEnum = {\n Asc: 'asc',\n Desc: 'desc',\n} as const;\nexport type LocationsIdpackageDealsGetCollectionOrderAvailableEnum =\n (typeof LocationsIdpackageDealsGetCollectionOrderAvailableEnum)[keyof typeof LocationsIdpackageDealsGetCollectionOrderAvailableEnum];\n/**\n * @export\n */\nexport const PackageDealsGetCollectionOrderTranslationsNameEnum = {\n Asc: 'asc',\n Desc: 'desc',\n} as const;\nexport type PackageDealsGetCollectionOrderTranslationsNameEnum =\n (typeof PackageDealsGetCollectionOrderTranslationsNameEnum)[keyof typeof PackageDealsGetCollectionOrderTranslationsNameEnum];\n/**\n * @export\n */\nexport const PackageDealsGetCollectionOrderTypeEnum = {\n Asc: 'asc',\n Desc: 'desc',\n} as const;\nexport type PackageDealsGetCollectionOrderTypeEnum =\n (typeof PackageDealsGetCollectionOrderTypeEnum)[keyof typeof PackageDealsGetCollectionOrderTypeEnum];\n/**\n * @export\n */\nexport const PackageDealsGetCollectionOrderLocationNameEnum = {\n Asc: 'asc',\n Desc: 'desc',\n} as const;\nexport type PackageDealsGetCollectionOrderLocationNameEnum =\n (typeof PackageDealsGetCollectionOrderLocationNameEnum)[keyof typeof PackageDealsGetCollectionOrderLocationNameEnum];\n/**\n * @export\n */\nexport const PackageDealsGetCollectionOrderPriceEnum = {\n Asc: 'asc',\n Desc: 'desc',\n} as const;\nexport type PackageDealsGetCollectionOrderPriceEnum =\n (typeof PackageDealsGetCollectionOrderPriceEnum)[keyof typeof PackageDealsGetCollectionOrderPriceEnum];\n/**\n * @export\n */\nexport const PackageDealsGetCollectionOrderAvailableEnum = {\n Asc: 'asc',\n Desc: 'desc',\n} as const;\nexport type PackageDealsGetCollectionOrderAvailableEnum =\n (typeof PackageDealsGetCollectionOrderAvailableEnum)[keyof typeof PackageDealsGetCollectionOrderAvailableEnum];\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Thynk Direct API\n * The API for managing reservation for [Thynk Direct](https://thynk.cloud/).\n *\n * The version of the OpenAPI document: 4.20.16\n *\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport type { Configuration } from '../configuration';\nimport type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';\nimport globalAxios from 'axios';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport {\n DUMMY_BASE_URL,\n assertParamExists,\n setApiKeyToObject,\n setBasicAuthToObject,\n setBearerAuthToObject,\n setOAuthToObject,\n setSearchParams,\n serializeDataIfNeeded,\n toPathString,\n createRequestFunction,\n} from '../common';\n// @ts-ignore\nimport {\n BASE_PATH,\n COLLECTION_FORMATS,\n RequestArgs,\n BaseAPI,\n RequiredError,\n operationServerMap,\n} from '../base';\n// @ts-ignore\nimport { PartnerProcessedmail } from '../model';\n// @ts-ignore\nimport { PartnerRead } from '../model';\n// @ts-ignore\nimport { PartnerWrite } from '../model';\n// @ts-ignore\nimport { PartnersGetCollection200Response } from '../model';\n/**\n * PartnerApi - axios parameter creator\n * @export\n */\nexport const PartnerApiAxiosParamCreator = function (\n configuration?: Configuration,\n) {\n return {\n /**\n * Retrieves the collection of Partner resources.\n * @summary Retrieves the collection of Partner resources.\n * @param {string} [slug]\n * @param {Array} [slug2]\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n partnersGetCollection: async (\n slug?: string,\n slug2?: Array,\n options: AxiosRequestConfig = {},\n ): Promise => {\n const localVarPath = `/api/partners`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'GET',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n if (slug !== undefined) {\n localVarQueryParameter['slug'] = slug;\n }\n\n if (slug2) {\n localVarQueryParameter['slug[]'] = slug2;\n }\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Retrieves a Partner resource.\n * @summary Retrieves a Partner resource.\n * @param {string} id Partner identifier\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n partnersIdGet: async (\n id: string,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('partnersIdGet', 'id', id);\n const localVarPath = `/api/partners/{id}`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'GET',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Updates the Partner resource.\n * @summary Updates the Partner resource.\n * @param {string} id Partner identifier\n * @param {PartnerWrite} partnerWrite The updated Partner resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n partnersIdPatch: async (\n id: string,\n partnerWrite: PartnerWrite,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('partnersIdPatch', 'id', id);\n // verify required parameter 'partnerWrite' is not null or undefined\n assertParamExists('partnersIdPatch', 'partnerWrite', partnerWrite);\n const localVarPath = `/api/partners/{id}`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'PATCH',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n localVarHeaderParameter['Content-Type'] = 'application/merge-patch+json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n localVarRequestOptions.data = serializeDataIfNeeded(\n partnerWrite,\n localVarRequestOptions,\n configuration,\n );\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Replaces the Partner resource.\n * @summary Replaces the Partner resource.\n * @param {string} id Partner identifier\n * @param {PartnerWrite} partnerWrite The updated Partner resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n partnersIdPut: async (\n id: string,\n partnerWrite: PartnerWrite,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('partnersIdPut', 'id', id);\n // verify required parameter 'partnerWrite' is not null or undefined\n assertParamExists('partnersIdPut', 'partnerWrite', partnerWrite);\n const localVarPath = `/api/partners/{id}`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'PUT',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n localVarHeaderParameter['Content-Type'] = 'application/ld+json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n localVarRequestOptions.data = serializeDataIfNeeded(\n partnerWrite,\n localVarRequestOptions,\n configuration,\n );\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Replaces the Partner resource.\n * @summary Replaces the Partner resource.\n * @param {string} id Partner identifier\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n partnersIdsyncPut: async (\n id: string,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('partnersIdsyncPut', 'id', id);\n const localVarPath = `/api/partners/{id}/sync`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'PUT',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Creates a Partner resource.\n * @summary Creates a Partner resource.\n * @param {PartnerWrite} partnerWrite The new Partner resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n partnersPost: async (\n partnerWrite: PartnerWrite,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'partnerWrite' is not null or undefined\n assertParamExists('partnersPost', 'partnerWrite', partnerWrite);\n const localVarPath = `/api/partners`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'POST',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n localVarHeaderParameter['Content-Type'] = 'application/ld+json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n localVarRequestOptions.data = serializeDataIfNeeded(\n partnerWrite,\n localVarRequestOptions,\n configuration,\n );\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Retrieves a Partner resource.\n * @summary Retrieves the partner which uses (based on partner of location) this processing email address\n * @param {string} email Processing email address\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n partnersProcessedEmail: async (\n email: string,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'email' is not null or undefined\n assertParamExists('partnersProcessedEmail', 'email', email);\n const localVarPath = `/api/partners/processed_email/{email}`.replace(\n `{${'email'}}`,\n encodeURIComponent(String(email)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'GET',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n };\n};\n\n/**\n * PartnerApi - functional programming interface\n * @export\n */\nexport const PartnerApiFp = function (configuration?: Configuration) {\n const localVarAxiosParamCreator = PartnerApiAxiosParamCreator(configuration);\n return {\n /**\n * Retrieves the collection of Partner resources.\n * @summary Retrieves the collection of Partner resources.\n * @param {string} [slug]\n * @param {Array} [slug2]\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async partnersGetCollection(\n slug?: string,\n slug2?: Array,\n options?: AxiosRequestConfig,\n ): Promise<\n (\n axios?: AxiosInstance,\n basePath?: string,\n ) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.partnersGetCollection(\n slug,\n slug2,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['PartnerApi.partnersGetCollection']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Retrieves a Partner resource.\n * @summary Retrieves a Partner resource.\n * @param {string} id Partner identifier\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async partnersIdGet(\n id: string,\n options?: AxiosRequestConfig,\n ): Promise<\n (axios?: AxiosInstance, basePath?: string) => AxiosPromise\n > {\n const localVarAxiosArgs = await localVarAxiosParamCreator.partnersIdGet(\n id,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['PartnerApi.partnersIdGet']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Updates the Partner resource.\n * @summary Updates the Partner resource.\n * @param {string} id Partner identifier\n * @param {PartnerWrite} partnerWrite The updated Partner resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async partnersIdPatch(\n id: string,\n partnerWrite: PartnerWrite,\n options?: AxiosRequestConfig,\n ): Promise<\n (axios?: AxiosInstance, basePath?: string) => AxiosPromise\n > {\n const localVarAxiosArgs = await localVarAxiosParamCreator.partnersIdPatch(\n id,\n partnerWrite,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['PartnerApi.partnersIdPatch']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Replaces the Partner resource.\n * @summary Replaces the Partner resource.\n * @param {string} id Partner identifier\n * @param {PartnerWrite} partnerWrite The updated Partner resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async partnersIdPut(\n id: string,\n partnerWrite: PartnerWrite,\n options?: AxiosRequestConfig,\n ): Promise<\n (axios?: AxiosInstance, basePath?: string) => AxiosPromise\n > {\n const localVarAxiosArgs = await localVarAxiosParamCreator.partnersIdPut(\n id,\n partnerWrite,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['PartnerApi.partnersIdPut']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Replaces the Partner resource.\n * @summary Replaces the Partner resource.\n * @param {string} id Partner identifier\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async partnersIdsyncPut(\n id: string,\n options?: AxiosRequestConfig,\n ): Promise<\n (axios?: AxiosInstance, basePath?: string) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.partnersIdsyncPut(id, options);\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['PartnerApi.partnersIdsyncPut']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Creates a Partner resource.\n * @summary Creates a Partner resource.\n * @param {PartnerWrite} partnerWrite The new Partner resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async partnersPost(\n partnerWrite: PartnerWrite,\n options?: AxiosRequestConfig,\n ): Promise<\n (axios?: AxiosInstance, basePath?: string) => AxiosPromise\n > {\n const localVarAxiosArgs = await localVarAxiosParamCreator.partnersPost(\n partnerWrite,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['PartnerApi.partnersPost']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Retrieves a Partner resource.\n * @summary Retrieves the partner which uses (based on partner of location) this processing email address\n * @param {string} email Processing email address\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async partnersProcessedEmail(\n email: string,\n options?: AxiosRequestConfig,\n ): Promise<\n (\n axios?: AxiosInstance,\n basePath?: string,\n ) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.partnersProcessedEmail(email, options);\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['PartnerApi.partnersProcessedEmail']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n };\n};\n\n/**\n * PartnerApi - factory interface\n * @export\n */\nexport const PartnerApiFactory = function (\n configuration?: Configuration,\n basePath?: string,\n axios?: AxiosInstance,\n) {\n const localVarFp = PartnerApiFp(configuration);\n return {\n /**\n * Retrieves the collection of Partner resources.\n * @summary Retrieves the collection of Partner resources.\n * @param {PartnerApiPartnersGetCollectionRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n partnersGetCollection(\n requestParameters: PartnerApiPartnersGetCollectionRequest = {},\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .partnersGetCollection(\n requestParameters.slug,\n requestParameters.slug2,\n options,\n )\n .then((request) => request(axios, basePath));\n },\n /**\n * Retrieves a Partner resource.\n * @summary Retrieves a Partner resource.\n * @param {PartnerApiPartnersIdGetRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n partnersIdGet(\n requestParameters: PartnerApiPartnersIdGetRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .partnersIdGet(requestParameters.id, options)\n .then((request) => request(axios, basePath));\n },\n /**\n * Updates the Partner resource.\n * @summary Updates the Partner resource.\n * @param {PartnerApiPartnersIdPatchRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n partnersIdPatch(\n requestParameters: PartnerApiPartnersIdPatchRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .partnersIdPatch(\n requestParameters.id,\n requestParameters.partnerWrite,\n options,\n )\n .then((request) => request(axios, basePath));\n },\n /**\n * Replaces the Partner resource.\n * @summary Replaces the Partner resource.\n * @param {PartnerApiPartnersIdPutRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n partnersIdPut(\n requestParameters: PartnerApiPartnersIdPutRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .partnersIdPut(\n requestParameters.id,\n requestParameters.partnerWrite,\n options,\n )\n .then((request) => request(axios, basePath));\n },\n /**\n * Replaces the Partner resource.\n * @summary Replaces the Partner resource.\n * @param {PartnerApiPartnersIdsyncPutRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n partnersIdsyncPut(\n requestParameters: PartnerApiPartnersIdsyncPutRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .partnersIdsyncPut(requestParameters.id, options)\n .then((request) => request(axios, basePath));\n },\n /**\n * Creates a Partner resource.\n * @summary Creates a Partner resource.\n * @param {PartnerApiPartnersPostRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n partnersPost(\n requestParameters: PartnerApiPartnersPostRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .partnersPost(requestParameters.partnerWrite, options)\n .then((request) => request(axios, basePath));\n },\n /**\n * Retrieves a Partner resource.\n * @summary Retrieves the partner which uses (based on partner of location) this processing email address\n * @param {PartnerApiPartnersProcessedEmailRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n partnersProcessedEmail(\n requestParameters: PartnerApiPartnersProcessedEmailRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .partnersProcessedEmail(requestParameters.email, options)\n .then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * Request parameters for partnersGetCollection operation in PartnerApi.\n * @export\n * @interface PartnerApiPartnersGetCollectionRequest\n */\nexport interface PartnerApiPartnersGetCollectionRequest {\n /**\n *\n * @type {string}\n * @memberof PartnerApiPartnersGetCollection\n */\n readonly slug?: string;\n\n /**\n *\n * @type {Array}\n * @memberof PartnerApiPartnersGetCollection\n */\n readonly slug2?: Array;\n}\n\n/**\n * Request parameters for partnersIdGet operation in PartnerApi.\n * @export\n * @interface PartnerApiPartnersIdGetRequest\n */\nexport interface PartnerApiPartnersIdGetRequest {\n /**\n * Partner identifier\n * @type {string}\n * @memberof PartnerApiPartnersIdGet\n */\n readonly id: string;\n}\n\n/**\n * Request parameters for partnersIdPatch operation in PartnerApi.\n * @export\n * @interface PartnerApiPartnersIdPatchRequest\n */\nexport interface PartnerApiPartnersIdPatchRequest {\n /**\n * Partner identifier\n * @type {string}\n * @memberof PartnerApiPartnersIdPatch\n */\n readonly id: string;\n\n /**\n * The updated Partner resource\n * @type {PartnerWrite}\n * @memberof PartnerApiPartnersIdPatch\n */\n readonly partnerWrite: PartnerWrite;\n}\n\n/**\n * Request parameters for partnersIdPut operation in PartnerApi.\n * @export\n * @interface PartnerApiPartnersIdPutRequest\n */\nexport interface PartnerApiPartnersIdPutRequest {\n /**\n * Partner identifier\n * @type {string}\n * @memberof PartnerApiPartnersIdPut\n */\n readonly id: string;\n\n /**\n * The updated Partner resource\n * @type {PartnerWrite}\n * @memberof PartnerApiPartnersIdPut\n */\n readonly partnerWrite: PartnerWrite;\n}\n\n/**\n * Request parameters for partnersIdsyncPut operation in PartnerApi.\n * @export\n * @interface PartnerApiPartnersIdsyncPutRequest\n */\nexport interface PartnerApiPartnersIdsyncPutRequest {\n /**\n * Partner identifier\n * @type {string}\n * @memberof PartnerApiPartnersIdsyncPut\n */\n readonly id: string;\n}\n\n/**\n * Request parameters for partnersPost operation in PartnerApi.\n * @export\n * @interface PartnerApiPartnersPostRequest\n */\nexport interface PartnerApiPartnersPostRequest {\n /**\n * The new Partner resource\n * @type {PartnerWrite}\n * @memberof PartnerApiPartnersPost\n */\n readonly partnerWrite: PartnerWrite;\n}\n\n/**\n * Request parameters for partnersProcessedEmail operation in PartnerApi.\n * @export\n * @interface PartnerApiPartnersProcessedEmailRequest\n */\nexport interface PartnerApiPartnersProcessedEmailRequest {\n /**\n * Processing email address\n * @type {string}\n * @memberof PartnerApiPartnersProcessedEmail\n */\n readonly email: string;\n}\n\n/**\n * PartnerApi - object-oriented interface\n * @export\n * @class PartnerApi\n * @extends {BaseAPI}\n */\nexport class PartnerApi extends BaseAPI {\n /**\n * Retrieves the collection of Partner resources.\n * @summary Retrieves the collection of Partner resources.\n * @param {PartnerApiPartnersGetCollectionRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof PartnerApi\n */\n public partnersGetCollection(\n requestParameters: PartnerApiPartnersGetCollectionRequest = {},\n options?: AxiosRequestConfig,\n ) {\n return PartnerApiFp(this.configuration)\n .partnersGetCollection(\n requestParameters.slug,\n requestParameters.slug2,\n options,\n )\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Retrieves a Partner resource.\n * @summary Retrieves a Partner resource.\n * @param {PartnerApiPartnersIdGetRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof PartnerApi\n */\n public partnersIdGet(\n requestParameters: PartnerApiPartnersIdGetRequest,\n options?: AxiosRequestConfig,\n ) {\n return PartnerApiFp(this.configuration)\n .partnersIdGet(requestParameters.id, options)\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Updates the Partner resource.\n * @summary Updates the Partner resource.\n * @param {PartnerApiPartnersIdPatchRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof PartnerApi\n */\n public partnersIdPatch(\n requestParameters: PartnerApiPartnersIdPatchRequest,\n options?: AxiosRequestConfig,\n ) {\n return PartnerApiFp(this.configuration)\n .partnersIdPatch(\n requestParameters.id,\n requestParameters.partnerWrite,\n options,\n )\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Replaces the Partner resource.\n * @summary Replaces the Partner resource.\n * @param {PartnerApiPartnersIdPutRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof PartnerApi\n */\n public partnersIdPut(\n requestParameters: PartnerApiPartnersIdPutRequest,\n options?: AxiosRequestConfig,\n ) {\n return PartnerApiFp(this.configuration)\n .partnersIdPut(\n requestParameters.id,\n requestParameters.partnerWrite,\n options,\n )\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Replaces the Partner resource.\n * @summary Replaces the Partner resource.\n * @param {PartnerApiPartnersIdsyncPutRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof PartnerApi\n */\n public partnersIdsyncPut(\n requestParameters: PartnerApiPartnersIdsyncPutRequest,\n options?: AxiosRequestConfig,\n ) {\n return PartnerApiFp(this.configuration)\n .partnersIdsyncPut(requestParameters.id, options)\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Creates a Partner resource.\n * @summary Creates a Partner resource.\n * @param {PartnerApiPartnersPostRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof PartnerApi\n */\n public partnersPost(\n requestParameters: PartnerApiPartnersPostRequest,\n options?: AxiosRequestConfig,\n ) {\n return PartnerApiFp(this.configuration)\n .partnersPost(requestParameters.partnerWrite, options)\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Retrieves a Partner resource.\n * @summary Retrieves the partner which uses (based on partner of location) this processing email address\n * @param {PartnerApiPartnersProcessedEmailRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof PartnerApi\n */\n public partnersProcessedEmail(\n requestParameters: PartnerApiPartnersProcessedEmailRequest,\n options?: AxiosRequestConfig,\n ) {\n return PartnerApiFp(this.configuration)\n .partnersProcessedEmail(requestParameters.email, options)\n .then((request) => request(this.axios, this.basePath));\n }\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Thynk Direct API\n * The API for managing reservation for [Thynk Direct](https://thynk.cloud/).\n *\n * The version of the OpenAPI document: 4.20.16\n *\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport type { Configuration } from '../configuration';\nimport type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';\nimport globalAxios from 'axios';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport {\n DUMMY_BASE_URL,\n assertParamExists,\n setApiKeyToObject,\n setBasicAuthToObject,\n setBearerAuthToObject,\n setOAuthToObject,\n setSearchParams,\n serializeDataIfNeeded,\n toPathString,\n createRequestFunction,\n} from '../common';\n// @ts-ignore\nimport {\n BASE_PATH,\n COLLECTION_FORMATS,\n RequestArgs,\n BaseAPI,\n RequiredError,\n operationServerMap,\n} from '../base';\n// @ts-ignore\nimport { ReservationCancel } from '../model';\n// @ts-ignore\nimport { ReservationMailWrite } from '../model';\n// @ts-ignore\nimport { ReservationOpen } from '../model';\n// @ts-ignore\nimport { ReservationRead } from '../model';\n// @ts-ignore\nimport { ReservationTransition } from '../model';\n// @ts-ignore\nimport { ReservationWrite } from '../model';\n// @ts-ignore\nimport { ReservationsGetCollection200Response } from '../model';\n/**\n * ReservationApi - axios parameter creator\n * @export\n */\nexport const ReservationApiAxiosParamCreator = function (\n configuration?: Configuration,\n) {\n return {\n /**\n * Retrieves a Reservation resource.\n * @summary Option the Reservation resource.\n * @param {string} id Reservation identifier\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n reservationGetOption: async (\n id: string,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('reservationGetOption', 'id', id);\n const localVarPath = `/api/reservations/{id}/option`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'GET',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Replaces the Reservation resource.\n * @summary Apply a transition on the reservation\n * @param {string} id Reservation identifier\n * @param {ReservationTransition} reservationTransition The updated Reservation resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n reservationsApplyTransitionPut: async (\n id: string,\n reservationTransition: ReservationTransition,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('reservationsApplyTransitionPut', 'id', id);\n // verify required parameter 'reservationTransition' is not null or undefined\n assertParamExists(\n 'reservationsApplyTransitionPut',\n 'reservationTransition',\n reservationTransition,\n );\n const localVarPath = `/api/reservations/{id}/apply_transition`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'PUT',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n localVarHeaderParameter['Content-Type'] = 'application/ld+json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n localVarRequestOptions.data = serializeDataIfNeeded(\n reservationTransition,\n localVarRequestOptions,\n configuration,\n );\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Replaces the Reservation resource.\n * @summary Cancel the Reservation resource.\n * @param {string} id Reservation identifier\n * @param {ReservationCancel} reservationCancel The updated Reservation resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n reservationsCancelPut: async (\n id: string,\n reservationCancel: ReservationCancel,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('reservationsCancelPut', 'id', id);\n // verify required parameter 'reservationCancel' is not null or undefined\n assertParamExists(\n 'reservationsCancelPut',\n 'reservationCancel',\n reservationCancel,\n );\n const localVarPath = `/api/reservations/{id}/cancel`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'PUT',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n localVarHeaderParameter['Content-Type'] = 'application/ld+json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n localVarRequestOptions.data = serializeDataIfNeeded(\n reservationCancel,\n localVarRequestOptions,\n configuration,\n );\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Retrieves the collection of Reservation resources.\n * @summary Retrieves the collection of Reservation resources.\n * @param {number} [page] The collection page number\n * @param {number} [itemsPerPage] The number of items per page\n * @param {string} [company]\n * @param {string} [userEmail]\n * @param {Array} [userEmail2]\n * @param {string} [location]\n * @param {Array} [location2]\n * @param {string} [reservationNumber]\n * @param {string} [createdAtBefore]\n * @param {string} [createdAtStrictlyBefore]\n * @param {string} [createdAtAfter]\n * @param {string} [createdAtStrictlyAfter]\n * @param {string} [updatedAtBefore]\n * @param {string} [updatedAtStrictlyBefore]\n * @param {string} [updatedAtAfter]\n * @param {string} [updatedAtStrictlyAfter]\n * @param {string} [daysDateBefore]\n * @param {string} [daysDateStrictlyBefore]\n * @param {string} [daysDateAfter]\n * @param {string} [daysDateStrictlyAfter]\n * @param {string} [roomsStartDateBefore]\n * @param {string} [roomsStartDateStrictlyBefore]\n * @param {string} [roomsStartDateAfter]\n * @param {string} [roomsStartDateStrictlyAfter]\n * @param {boolean} [active]\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n reservationsGetCollection: async (\n page?: number,\n itemsPerPage?: number,\n company?: string,\n userEmail?: string,\n userEmail2?: Array,\n location?: string,\n location2?: Array,\n reservationNumber?: string,\n createdAtBefore?: string,\n createdAtStrictlyBefore?: string,\n createdAtAfter?: string,\n createdAtStrictlyAfter?: string,\n updatedAtBefore?: string,\n updatedAtStrictlyBefore?: string,\n updatedAtAfter?: string,\n updatedAtStrictlyAfter?: string,\n daysDateBefore?: string,\n daysDateStrictlyBefore?: string,\n daysDateAfter?: string,\n daysDateStrictlyAfter?: string,\n roomsStartDateBefore?: string,\n roomsStartDateStrictlyBefore?: string,\n roomsStartDateAfter?: string,\n roomsStartDateStrictlyAfter?: string,\n active?: boolean,\n options: AxiosRequestConfig = {},\n ): Promise => {\n const localVarPath = `/api/reservations`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'GET',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n if (page !== undefined) {\n localVarQueryParameter['page'] = page;\n }\n\n if (itemsPerPage !== undefined) {\n localVarQueryParameter['itemsPerPage'] = itemsPerPage;\n }\n\n if (company !== undefined) {\n localVarQueryParameter['company'] = company;\n }\n\n if (userEmail !== undefined) {\n localVarQueryParameter['user.email'] = userEmail;\n }\n\n if (userEmail2) {\n localVarQueryParameter['user.email[]'] = userEmail2;\n }\n\n if (location !== undefined) {\n localVarQueryParameter['location'] = location;\n }\n\n if (location2) {\n localVarQueryParameter['location[]'] = location2;\n }\n\n if (reservationNumber !== undefined) {\n localVarQueryParameter['reservationNumber'] = reservationNumber;\n }\n\n if (createdAtBefore !== undefined) {\n localVarQueryParameter['createdAt[before]'] = createdAtBefore;\n }\n\n if (createdAtStrictlyBefore !== undefined) {\n localVarQueryParameter['createdAt[strictly_before]'] =\n createdAtStrictlyBefore;\n }\n\n if (createdAtAfter !== undefined) {\n localVarQueryParameter['createdAt[after]'] = createdAtAfter;\n }\n\n if (createdAtStrictlyAfter !== undefined) {\n localVarQueryParameter['createdAt[strictly_after]'] =\n createdAtStrictlyAfter;\n }\n\n if (updatedAtBefore !== undefined) {\n localVarQueryParameter['updatedAt[before]'] = updatedAtBefore;\n }\n\n if (updatedAtStrictlyBefore !== undefined) {\n localVarQueryParameter['updatedAt[strictly_before]'] =\n updatedAtStrictlyBefore;\n }\n\n if (updatedAtAfter !== undefined) {\n localVarQueryParameter['updatedAt[after]'] = updatedAtAfter;\n }\n\n if (updatedAtStrictlyAfter !== undefined) {\n localVarQueryParameter['updatedAt[strictly_after]'] =\n updatedAtStrictlyAfter;\n }\n\n if (daysDateBefore !== undefined) {\n localVarQueryParameter['days.date[before]'] = daysDateBefore;\n }\n\n if (daysDateStrictlyBefore !== undefined) {\n localVarQueryParameter['days.date[strictly_before]'] =\n daysDateStrictlyBefore;\n }\n\n if (daysDateAfter !== undefined) {\n localVarQueryParameter['days.date[after]'] = daysDateAfter;\n }\n\n if (daysDateStrictlyAfter !== undefined) {\n localVarQueryParameter['days.date[strictly_after]'] =\n daysDateStrictlyAfter;\n }\n\n if (roomsStartDateBefore !== undefined) {\n localVarQueryParameter['rooms.startDate[before]'] =\n roomsStartDateBefore;\n }\n\n if (roomsStartDateStrictlyBefore !== undefined) {\n localVarQueryParameter['rooms.startDate[strictly_before]'] =\n roomsStartDateStrictlyBefore;\n }\n\n if (roomsStartDateAfter !== undefined) {\n localVarQueryParameter['rooms.startDate[after]'] = roomsStartDateAfter;\n }\n\n if (roomsStartDateStrictlyAfter !== undefined) {\n localVarQueryParameter['rooms.startDate[strictly_after]'] =\n roomsStartDateStrictlyAfter;\n }\n\n if (active !== undefined) {\n localVarQueryParameter['active'] = active;\n }\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Retrieves a Reservation resource.\n * @summary Retrieves a Reservation resource.\n * @param {string} id Reservation identifier\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n reservationsIdGet: async (\n id: string,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('reservationsIdGet', 'id', id);\n const localVarPath = `/api/reservations/{id}`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'GET',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Replaces the Reservation resource.\n * @summary Replaces the Reservation resource.\n * @param {string} id Reservation identifier\n * @param {ReservationWrite} reservationWrite The updated Reservation resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n reservationsIdPut: async (\n id: string,\n reservationWrite: ReservationWrite,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('reservationsIdPut', 'id', id);\n // verify required parameter 'reservationWrite' is not null or undefined\n assertParamExists(\n 'reservationsIdPut',\n 'reservationWrite',\n reservationWrite,\n );\n const localVarPath = `/api/reservations/{id}`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'PUT',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n localVarHeaderParameter['Content-Type'] = 'application/ld+json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n localVarRequestOptions.data = serializeDataIfNeeded(\n reservationWrite,\n localVarRequestOptions,\n configuration,\n );\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Retrieves a Reservation resource.\n * @summary Check if this reservation is open for corrections.\n * @param {string} id Reservation identifier\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n reservationsIsOpenForCorrectionsGet: async (\n id: string,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('reservationsIsOpenForCorrectionsGet', 'id', id);\n const localVarPath =\n `/api/reservations/{id}/is_open_for_corrections`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'GET',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Creates a Reservation resource.\n * @summary Creates a Reservation resource.\n * @param {ReservationWrite} reservationWrite The new Reservation resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n reservationsPost: async (\n reservationWrite: ReservationWrite,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'reservationWrite' is not null or undefined\n assertParamExists(\n 'reservationsPost',\n 'reservationWrite',\n reservationWrite,\n );\n const localVarPath = `/api/reservations`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'POST',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n localVarHeaderParameter['Content-Type'] = 'application/ld+json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n localVarRequestOptions.data = serializeDataIfNeeded(\n reservationWrite,\n localVarRequestOptions,\n configuration,\n );\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Creates a Reservation resource.\n * @summary Prepare a reservation to be processed by the processor.\n * @param {number} [reservationId] Platform id of reservation, will create a new reservation if missing\n * @param {ReservationMailWrite} [reservationMailWrite] Mail that will be processed\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n reservationsPreparePost: async (\n reservationId?: number,\n reservationMailWrite?: ReservationMailWrite,\n options: AxiosRequestConfig = {},\n ): Promise => {\n const localVarPath = `/api/reservations/prepare`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'POST',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n if (reservationId !== undefined) {\n localVarQueryParameter['reservationId'] = reservationId;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/ld+json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n localVarRequestOptions.data = serializeDataIfNeeded(\n reservationMailWrite,\n localVarRequestOptions,\n configuration,\n );\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Retrieves a Reservation resource.\n * @summary Resets the Reservation resource to stat suitable for start marking.\n * @param {string} id Reservation identifier\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n reservationsRestartGet: async (\n id: string,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('reservationsRestartGet', 'id', id);\n const localVarPath = `/api/reservations/{id}/restart`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'GET',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Retrieves the collection of Reservation resources.\n * @summary Retrieves a Reservation resource by TagTog identifier.\n * @param {string} tagTogId TagTogId of mail\n * @param {number} [page] The collection page number\n * @param {number} [itemsPerPage] The number of items per page\n * @param {string} [company]\n * @param {string} [userEmail]\n * @param {Array} [userEmail2]\n * @param {string} [location]\n * @param {Array} [location2]\n * @param {string} [reservationNumber]\n * @param {string} [createdAtBefore]\n * @param {string} [createdAtStrictlyBefore]\n * @param {string} [createdAtAfter]\n * @param {string} [createdAtStrictlyAfter]\n * @param {string} [updatedAtBefore]\n * @param {string} [updatedAtStrictlyBefore]\n * @param {string} [updatedAtAfter]\n * @param {string} [updatedAtStrictlyAfter]\n * @param {string} [daysDateBefore]\n * @param {string} [daysDateStrictlyBefore]\n * @param {string} [daysDateAfter]\n * @param {string} [daysDateStrictlyAfter]\n * @param {string} [roomsStartDateBefore]\n * @param {string} [roomsStartDateStrictlyBefore]\n * @param {string} [roomsStartDateAfter]\n * @param {string} [roomsStartDateStrictlyAfter]\n * @param {boolean} [active]\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n reservationsTagtogCollection: async (\n tagTogId: string,\n page?: number,\n itemsPerPage?: number,\n company?: string,\n userEmail?: string,\n userEmail2?: Array,\n location?: string,\n location2?: Array,\n reservationNumber?: string,\n createdAtBefore?: string,\n createdAtStrictlyBefore?: string,\n createdAtAfter?: string,\n createdAtStrictlyAfter?: string,\n updatedAtBefore?: string,\n updatedAtStrictlyBefore?: string,\n updatedAtAfter?: string,\n updatedAtStrictlyAfter?: string,\n daysDateBefore?: string,\n daysDateStrictlyBefore?: string,\n daysDateAfter?: string,\n daysDateStrictlyAfter?: string,\n roomsStartDateBefore?: string,\n roomsStartDateStrictlyBefore?: string,\n roomsStartDateAfter?: string,\n roomsStartDateStrictlyAfter?: string,\n active?: boolean,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'tagTogId' is not null or undefined\n assertParamExists('reservationsTagtogCollection', 'tagTogId', tagTogId);\n const localVarPath = `/api/reservations/tagtog/{tagTogId}`.replace(\n `{${'tagTogId'}}`,\n encodeURIComponent(String(tagTogId)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'GET',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n if (page !== undefined) {\n localVarQueryParameter['page'] = page;\n }\n\n if (itemsPerPage !== undefined) {\n localVarQueryParameter['itemsPerPage'] = itemsPerPage;\n }\n\n if (company !== undefined) {\n localVarQueryParameter['company'] = company;\n }\n\n if (userEmail !== undefined) {\n localVarQueryParameter['user.email'] = userEmail;\n }\n\n if (userEmail2) {\n localVarQueryParameter['user.email[]'] = userEmail2;\n }\n\n if (location !== undefined) {\n localVarQueryParameter['location'] = location;\n }\n\n if (location2) {\n localVarQueryParameter['location[]'] = location2;\n }\n\n if (reservationNumber !== undefined) {\n localVarQueryParameter['reservationNumber'] = reservationNumber;\n }\n\n if (createdAtBefore !== undefined) {\n localVarQueryParameter['createdAt[before]'] = createdAtBefore;\n }\n\n if (createdAtStrictlyBefore !== undefined) {\n localVarQueryParameter['createdAt[strictly_before]'] =\n createdAtStrictlyBefore;\n }\n\n if (createdAtAfter !== undefined) {\n localVarQueryParameter['createdAt[after]'] = createdAtAfter;\n }\n\n if (createdAtStrictlyAfter !== undefined) {\n localVarQueryParameter['createdAt[strictly_after]'] =\n createdAtStrictlyAfter;\n }\n\n if (updatedAtBefore !== undefined) {\n localVarQueryParameter['updatedAt[before]'] = updatedAtBefore;\n }\n\n if (updatedAtStrictlyBefore !== undefined) {\n localVarQueryParameter['updatedAt[strictly_before]'] =\n updatedAtStrictlyBefore;\n }\n\n if (updatedAtAfter !== undefined) {\n localVarQueryParameter['updatedAt[after]'] = updatedAtAfter;\n }\n\n if (updatedAtStrictlyAfter !== undefined) {\n localVarQueryParameter['updatedAt[strictly_after]'] =\n updatedAtStrictlyAfter;\n }\n\n if (daysDateBefore !== undefined) {\n localVarQueryParameter['days.date[before]'] = daysDateBefore;\n }\n\n if (daysDateStrictlyBefore !== undefined) {\n localVarQueryParameter['days.date[strictly_before]'] =\n daysDateStrictlyBefore;\n }\n\n if (daysDateAfter !== undefined) {\n localVarQueryParameter['days.date[after]'] = daysDateAfter;\n }\n\n if (daysDateStrictlyAfter !== undefined) {\n localVarQueryParameter['days.date[strictly_after]'] =\n daysDateStrictlyAfter;\n }\n\n if (roomsStartDateBefore !== undefined) {\n localVarQueryParameter['rooms.startDate[before]'] =\n roomsStartDateBefore;\n }\n\n if (roomsStartDateStrictlyBefore !== undefined) {\n localVarQueryParameter['rooms.startDate[strictly_before]'] =\n roomsStartDateStrictlyBefore;\n }\n\n if (roomsStartDateAfter !== undefined) {\n localVarQueryParameter['rooms.startDate[after]'] = roomsStartDateAfter;\n }\n\n if (roomsStartDateStrictlyAfter !== undefined) {\n localVarQueryParameter['rooms.startDate[strictly_after]'] =\n roomsStartDateStrictlyAfter;\n }\n\n if (active !== undefined) {\n localVarQueryParameter['active'] = active;\n }\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Retrieves a Reservation resource.\n * @summary Validate the reservation based on configured validation rules.\n * @param {string} id Reservation identifier\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n reservationsValidateGet: async (\n id: string,\n options: AxiosRequestConfig = {},\n ): Promise => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('reservationsValidateGet', 'id', id);\n const localVarPath = `/api/reservations/{id}/validate`.replace(\n `{${'id'}}`,\n encodeURIComponent(String(id)),\n );\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = {\n method: 'GET',\n ...baseOptions,\n ...options,\n };\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication apiKey required\n await setApiKeyToObject(\n localVarHeaderParameter,\n 'Authorization',\n configuration,\n );\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions =\n baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {\n ...localVarHeaderParameter,\n ...headersFromBaseOptions,\n ...options.headers,\n };\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n };\n};\n\n/**\n * ReservationApi - functional programming interface\n * @export\n */\nexport const ReservationApiFp = function (configuration?: Configuration) {\n const localVarAxiosParamCreator =\n ReservationApiAxiosParamCreator(configuration);\n return {\n /**\n * Retrieves a Reservation resource.\n * @summary Option the Reservation resource.\n * @param {string} id Reservation identifier\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async reservationGetOption(\n id: string,\n options?: AxiosRequestConfig,\n ): Promise<\n (\n axios?: AxiosInstance,\n basePath?: string,\n ) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.reservationGetOption(id, options);\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['ReservationApi.reservationGetOption']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Replaces the Reservation resource.\n * @summary Apply a transition on the reservation\n * @param {string} id Reservation identifier\n * @param {ReservationTransition} reservationTransition The updated Reservation resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async reservationsApplyTransitionPut(\n id: string,\n reservationTransition: ReservationTransition,\n options?: AxiosRequestConfig,\n ): Promise<\n (\n axios?: AxiosInstance,\n basePath?: string,\n ) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.reservationsApplyTransitionPut(\n id,\n reservationTransition,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['ReservationApi.reservationsApplyTransitionPut']?.[\n index\n ]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Replaces the Reservation resource.\n * @summary Cancel the Reservation resource.\n * @param {string} id Reservation identifier\n * @param {ReservationCancel} reservationCancel The updated Reservation resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async reservationsCancelPut(\n id: string,\n reservationCancel: ReservationCancel,\n options?: AxiosRequestConfig,\n ): Promise<\n (\n axios?: AxiosInstance,\n basePath?: string,\n ) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.reservationsCancelPut(\n id,\n reservationCancel,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['ReservationApi.reservationsCancelPut']?.[index]\n ?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Retrieves the collection of Reservation resources.\n * @summary Retrieves the collection of Reservation resources.\n * @param {number} [page] The collection page number\n * @param {number} [itemsPerPage] The number of items per page\n * @param {string} [company]\n * @param {string} [userEmail]\n * @param {Array} [userEmail2]\n * @param {string} [location]\n * @param {Array} [location2]\n * @param {string} [reservationNumber]\n * @param {string} [createdAtBefore]\n * @param {string} [createdAtStrictlyBefore]\n * @param {string} [createdAtAfter]\n * @param {string} [createdAtStrictlyAfter]\n * @param {string} [updatedAtBefore]\n * @param {string} [updatedAtStrictlyBefore]\n * @param {string} [updatedAtAfter]\n * @param {string} [updatedAtStrictlyAfter]\n * @param {string} [daysDateBefore]\n * @param {string} [daysDateStrictlyBefore]\n * @param {string} [daysDateAfter]\n * @param {string} [daysDateStrictlyAfter]\n * @param {string} [roomsStartDateBefore]\n * @param {string} [roomsStartDateStrictlyBefore]\n * @param {string} [roomsStartDateAfter]\n * @param {string} [roomsStartDateStrictlyAfter]\n * @param {boolean} [active]\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async reservationsGetCollection(\n page?: number,\n itemsPerPage?: number,\n company?: string,\n userEmail?: string,\n userEmail2?: Array,\n location?: string,\n location2?: Array,\n reservationNumber?: string,\n createdAtBefore?: string,\n createdAtStrictlyBefore?: string,\n createdAtAfter?: string,\n createdAtStrictlyAfter?: string,\n updatedAtBefore?: string,\n updatedAtStrictlyBefore?: string,\n updatedAtAfter?: string,\n updatedAtStrictlyAfter?: string,\n daysDateBefore?: string,\n daysDateStrictlyBefore?: string,\n daysDateAfter?: string,\n daysDateStrictlyAfter?: string,\n roomsStartDateBefore?: string,\n roomsStartDateStrictlyBefore?: string,\n roomsStartDateAfter?: string,\n roomsStartDateStrictlyAfter?: string,\n active?: boolean,\n options?: AxiosRequestConfig,\n ): Promise<\n (\n axios?: AxiosInstance,\n basePath?: string,\n ) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.reservationsGetCollection(\n page,\n itemsPerPage,\n company,\n userEmail,\n userEmail2,\n location,\n location2,\n reservationNumber,\n createdAtBefore,\n createdAtStrictlyBefore,\n createdAtAfter,\n createdAtStrictlyAfter,\n updatedAtBefore,\n updatedAtStrictlyBefore,\n updatedAtAfter,\n updatedAtStrictlyAfter,\n daysDateBefore,\n daysDateStrictlyBefore,\n daysDateAfter,\n daysDateStrictlyAfter,\n roomsStartDateBefore,\n roomsStartDateStrictlyBefore,\n roomsStartDateAfter,\n roomsStartDateStrictlyAfter,\n active,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['ReservationApi.reservationsGetCollection']?.[index]\n ?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Retrieves a Reservation resource.\n * @summary Retrieves a Reservation resource.\n * @param {string} id Reservation identifier\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async reservationsIdGet(\n id: string,\n options?: AxiosRequestConfig,\n ): Promise<\n (\n axios?: AxiosInstance,\n basePath?: string,\n ) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.reservationsIdGet(id, options);\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['ReservationApi.reservationsIdGet']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Replaces the Reservation resource.\n * @summary Replaces the Reservation resource.\n * @param {string} id Reservation identifier\n * @param {ReservationWrite} reservationWrite The updated Reservation resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async reservationsIdPut(\n id: string,\n reservationWrite: ReservationWrite,\n options?: AxiosRequestConfig,\n ): Promise<\n (\n axios?: AxiosInstance,\n basePath?: string,\n ) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.reservationsIdPut(\n id,\n reservationWrite,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['ReservationApi.reservationsIdPut']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Retrieves a Reservation resource.\n * @summary Check if this reservation is open for corrections.\n * @param {string} id Reservation identifier\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async reservationsIsOpenForCorrectionsGet(\n id: string,\n options?: AxiosRequestConfig,\n ): Promise<\n (\n axios?: AxiosInstance,\n basePath?: string,\n ) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.reservationsIsOpenForCorrectionsGet(\n id,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap[\n 'ReservationApi.reservationsIsOpenForCorrectionsGet'\n ]?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Creates a Reservation resource.\n * @summary Creates a Reservation resource.\n * @param {ReservationWrite} reservationWrite The new Reservation resource\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async reservationsPost(\n reservationWrite: ReservationWrite,\n options?: AxiosRequestConfig,\n ): Promise<\n (\n axios?: AxiosInstance,\n basePath?: string,\n ) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.reservationsPost(\n reservationWrite,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['ReservationApi.reservationsPost']?.[index]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Creates a Reservation resource.\n * @summary Prepare a reservation to be processed by the processor.\n * @param {number} [reservationId] Platform id of reservation, will create a new reservation if missing\n * @param {ReservationMailWrite} [reservationMailWrite] Mail that will be processed\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async reservationsPreparePost(\n reservationId?: number,\n reservationMailWrite?: ReservationMailWrite,\n options?: AxiosRequestConfig,\n ): Promise<\n (\n axios?: AxiosInstance,\n basePath?: string,\n ) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.reservationsPreparePost(\n reservationId,\n reservationMailWrite,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['ReservationApi.reservationsPreparePost']?.[index]\n ?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Retrieves a Reservation resource.\n * @summary Resets the Reservation resource to stat suitable for start marking.\n * @param {string} id Reservation identifier\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async reservationsRestartGet(\n id: string,\n options?: AxiosRequestConfig,\n ): Promise<\n (\n axios?: AxiosInstance,\n basePath?: string,\n ) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.reservationsRestartGet(id, options);\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['ReservationApi.reservationsRestartGet']?.[index]\n ?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Retrieves the collection of Reservation resources.\n * @summary Retrieves a Reservation resource by TagTog identifier.\n * @param {string} tagTogId TagTogId of mail\n * @param {number} [page] The collection page number\n * @param {number} [itemsPerPage] The number of items per page\n * @param {string} [company]\n * @param {string} [userEmail]\n * @param {Array} [userEmail2]\n * @param {string} [location]\n * @param {Array} [location2]\n * @param {string} [reservationNumber]\n * @param {string} [createdAtBefore]\n * @param {string} [createdAtStrictlyBefore]\n * @param {string} [createdAtAfter]\n * @param {string} [createdAtStrictlyAfter]\n * @param {string} [updatedAtBefore]\n * @param {string} [updatedAtStrictlyBefore]\n * @param {string} [updatedAtAfter]\n * @param {string} [updatedAtStrictlyAfter]\n * @param {string} [daysDateBefore]\n * @param {string} [daysDateStrictlyBefore]\n * @param {string} [daysDateAfter]\n * @param {string} [daysDateStrictlyAfter]\n * @param {string} [roomsStartDateBefore]\n * @param {string} [roomsStartDateStrictlyBefore]\n * @param {string} [roomsStartDateAfter]\n * @param {string} [roomsStartDateStrictlyAfter]\n * @param {boolean} [active]\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async reservationsTagtogCollection(\n tagTogId: string,\n page?: number,\n itemsPerPage?: number,\n company?: string,\n userEmail?: string,\n userEmail2?: Array,\n location?: string,\n location2?: Array,\n reservationNumber?: string,\n createdAtBefore?: string,\n createdAtStrictlyBefore?: string,\n createdAtAfter?: string,\n createdAtStrictlyAfter?: string,\n updatedAtBefore?: string,\n updatedAtStrictlyBefore?: string,\n updatedAtAfter?: string,\n updatedAtStrictlyAfter?: string,\n daysDateBefore?: string,\n daysDateStrictlyBefore?: string,\n daysDateAfter?: string,\n daysDateStrictlyAfter?: string,\n roomsStartDateBefore?: string,\n roomsStartDateStrictlyBefore?: string,\n roomsStartDateAfter?: string,\n roomsStartDateStrictlyAfter?: string,\n active?: boolean,\n options?: AxiosRequestConfig,\n ): Promise<\n (\n axios?: AxiosInstance,\n basePath?: string,\n ) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.reservationsTagtogCollection(\n tagTogId,\n page,\n itemsPerPage,\n company,\n userEmail,\n userEmail2,\n location,\n location2,\n reservationNumber,\n createdAtBefore,\n createdAtStrictlyBefore,\n createdAtAfter,\n createdAtStrictlyAfter,\n updatedAtBefore,\n updatedAtStrictlyBefore,\n updatedAtAfter,\n updatedAtStrictlyAfter,\n daysDateBefore,\n daysDateStrictlyBefore,\n daysDateAfter,\n daysDateStrictlyAfter,\n roomsStartDateBefore,\n roomsStartDateStrictlyBefore,\n roomsStartDateAfter,\n roomsStartDateStrictlyAfter,\n active,\n options,\n );\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['ReservationApi.reservationsTagtogCollection']?.[\n index\n ]?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n /**\n * Retrieves a Reservation resource.\n * @summary Validate the reservation based on configured validation rules.\n * @param {string} id Reservation identifier\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async reservationsValidateGet(\n id: string,\n options?: AxiosRequestConfig,\n ): Promise<\n (\n axios?: AxiosInstance,\n basePath?: string,\n ) => AxiosPromise\n > {\n const localVarAxiosArgs =\n await localVarAxiosParamCreator.reservationsValidateGet(id, options);\n const index = configuration?.serverIndex ?? 0;\n const operationBasePath =\n operationServerMap['ReservationApi.reservationsValidateGet']?.[index]\n ?.url;\n return (axios, basePath) =>\n createRequestFunction(\n localVarAxiosArgs,\n globalAxios,\n BASE_PATH,\n configuration,\n )(axios, operationBasePath || basePath);\n },\n };\n};\n\n/**\n * ReservationApi - factory interface\n * @export\n */\nexport const ReservationApiFactory = function (\n configuration?: Configuration,\n basePath?: string,\n axios?: AxiosInstance,\n) {\n const localVarFp = ReservationApiFp(configuration);\n return {\n /**\n * Retrieves a Reservation resource.\n * @summary Option the Reservation resource.\n * @param {ReservationApiReservationGetOptionRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n reservationGetOption(\n requestParameters: ReservationApiReservationGetOptionRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .reservationGetOption(requestParameters.id, options)\n .then((request) => request(axios, basePath));\n },\n /**\n * Replaces the Reservation resource.\n * @summary Apply a transition on the reservation\n * @param {ReservationApiReservationsApplyTransitionPutRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n reservationsApplyTransitionPut(\n requestParameters: ReservationApiReservationsApplyTransitionPutRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .reservationsApplyTransitionPut(\n requestParameters.id,\n requestParameters.reservationTransition,\n options,\n )\n .then((request) => request(axios, basePath));\n },\n /**\n * Replaces the Reservation resource.\n * @summary Cancel the Reservation resource.\n * @param {ReservationApiReservationsCancelPutRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n reservationsCancelPut(\n requestParameters: ReservationApiReservationsCancelPutRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .reservationsCancelPut(\n requestParameters.id,\n requestParameters.reservationCancel,\n options,\n )\n .then((request) => request(axios, basePath));\n },\n /**\n * Retrieves the collection of Reservation resources.\n * @summary Retrieves the collection of Reservation resources.\n * @param {ReservationApiReservationsGetCollectionRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n reservationsGetCollection(\n requestParameters: ReservationApiReservationsGetCollectionRequest = {},\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .reservationsGetCollection(\n requestParameters.page,\n requestParameters.itemsPerPage,\n requestParameters.company,\n requestParameters.userEmail,\n requestParameters.userEmail2,\n requestParameters.location,\n requestParameters.location2,\n requestParameters.reservationNumber,\n requestParameters.createdAtBefore,\n requestParameters.createdAtStrictlyBefore,\n requestParameters.createdAtAfter,\n requestParameters.createdAtStrictlyAfter,\n requestParameters.updatedAtBefore,\n requestParameters.updatedAtStrictlyBefore,\n requestParameters.updatedAtAfter,\n requestParameters.updatedAtStrictlyAfter,\n requestParameters.daysDateBefore,\n requestParameters.daysDateStrictlyBefore,\n requestParameters.daysDateAfter,\n requestParameters.daysDateStrictlyAfter,\n requestParameters.roomsStartDateBefore,\n requestParameters.roomsStartDateStrictlyBefore,\n requestParameters.roomsStartDateAfter,\n requestParameters.roomsStartDateStrictlyAfter,\n requestParameters.active,\n options,\n )\n .then((request) => request(axios, basePath));\n },\n /**\n * Retrieves a Reservation resource.\n * @summary Retrieves a Reservation resource.\n * @param {ReservationApiReservationsIdGetRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n reservationsIdGet(\n requestParameters: ReservationApiReservationsIdGetRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .reservationsIdGet(requestParameters.id, options)\n .then((request) => request(axios, basePath));\n },\n /**\n * Replaces the Reservation resource.\n * @summary Replaces the Reservation resource.\n * @param {ReservationApiReservationsIdPutRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n reservationsIdPut(\n requestParameters: ReservationApiReservationsIdPutRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .reservationsIdPut(\n requestParameters.id,\n requestParameters.reservationWrite,\n options,\n )\n .then((request) => request(axios, basePath));\n },\n /**\n * Retrieves a Reservation resource.\n * @summary Check if this reservation is open for corrections.\n * @param {ReservationApiReservationsIsOpenForCorrectionsGetRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n reservationsIsOpenForCorrectionsGet(\n requestParameters: ReservationApiReservationsIsOpenForCorrectionsGetRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .reservationsIsOpenForCorrectionsGet(requestParameters.id, options)\n .then((request) => request(axios, basePath));\n },\n /**\n * Creates a Reservation resource.\n * @summary Creates a Reservation resource.\n * @param {ReservationApiReservationsPostRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n reservationsPost(\n requestParameters: ReservationApiReservationsPostRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .reservationsPost(requestParameters.reservationWrite, options)\n .then((request) => request(axios, basePath));\n },\n /**\n * Creates a Reservation resource.\n * @summary Prepare a reservation to be processed by the processor.\n * @param {ReservationApiReservationsPreparePostRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n reservationsPreparePost(\n requestParameters: ReservationApiReservationsPreparePostRequest = {},\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .reservationsPreparePost(\n requestParameters.reservationId,\n requestParameters.reservationMailWrite,\n options,\n )\n .then((request) => request(axios, basePath));\n },\n /**\n * Retrieves a Reservation resource.\n * @summary Resets the Reservation resource to stat suitable for start marking.\n * @param {ReservationApiReservationsRestartGetRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n reservationsRestartGet(\n requestParameters: ReservationApiReservationsRestartGetRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .reservationsRestartGet(requestParameters.id, options)\n .then((request) => request(axios, basePath));\n },\n /**\n * Retrieves the collection of Reservation resources.\n * @summary Retrieves a Reservation resource by TagTog identifier.\n * @param {ReservationApiReservationsTagtogCollectionRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n reservationsTagtogCollection(\n requestParameters: ReservationApiReservationsTagtogCollectionRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .reservationsTagtogCollection(\n requestParameters.tagTogId,\n requestParameters.page,\n requestParameters.itemsPerPage,\n requestParameters.company,\n requestParameters.userEmail,\n requestParameters.userEmail2,\n requestParameters.location,\n requestParameters.location2,\n requestParameters.reservationNumber,\n requestParameters.createdAtBefore,\n requestParameters.createdAtStrictlyBefore,\n requestParameters.createdAtAfter,\n requestParameters.createdAtStrictlyAfter,\n requestParameters.updatedAtBefore,\n requestParameters.updatedAtStrictlyBefore,\n requestParameters.updatedAtAfter,\n requestParameters.updatedAtStrictlyAfter,\n requestParameters.daysDateBefore,\n requestParameters.daysDateStrictlyBefore,\n requestParameters.daysDateAfter,\n requestParameters.daysDateStrictlyAfter,\n requestParameters.roomsStartDateBefore,\n requestParameters.roomsStartDateStrictlyBefore,\n requestParameters.roomsStartDateAfter,\n requestParameters.roomsStartDateStrictlyAfter,\n requestParameters.active,\n options,\n )\n .then((request) => request(axios, basePath));\n },\n /**\n * Retrieves a Reservation resource.\n * @summary Validate the reservation based on configured validation rules.\n * @param {ReservationApiReservationsValidateGetRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n reservationsValidateGet(\n requestParameters: ReservationApiReservationsValidateGetRequest,\n options?: AxiosRequestConfig,\n ): AxiosPromise {\n return localVarFp\n .reservationsValidateGet(requestParameters.id, options)\n .then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * Request parameters for reservationGetOption operation in ReservationApi.\n * @export\n * @interface ReservationApiReservationGetOptionRequest\n */\nexport interface ReservationApiReservationGetOptionRequest {\n /**\n * Reservation identifier\n * @type {string}\n * @memberof ReservationApiReservationGetOption\n */\n readonly id: string;\n}\n\n/**\n * Request parameters for reservationsApplyTransitionPut operation in ReservationApi.\n * @export\n * @interface ReservationApiReservationsApplyTransitionPutRequest\n */\nexport interface ReservationApiReservationsApplyTransitionPutRequest {\n /**\n * Reservation identifier\n * @type {string}\n * @memberof ReservationApiReservationsApplyTransitionPut\n */\n readonly id: string;\n\n /**\n * The updated Reservation resource\n * @type {ReservationTransition}\n * @memberof ReservationApiReservationsApplyTransitionPut\n */\n readonly reservationTransition: ReservationTransition;\n}\n\n/**\n * Request parameters for reservationsCancelPut operation in ReservationApi.\n * @export\n * @interface ReservationApiReservationsCancelPutRequest\n */\nexport interface ReservationApiReservationsCancelPutRequest {\n /**\n * Reservation identifier\n * @type {string}\n * @memberof ReservationApiReservationsCancelPut\n */\n readonly id: string;\n\n /**\n * The updated Reservation resource\n * @type {ReservationCancel}\n * @memberof ReservationApiReservationsCancelPut\n */\n readonly reservationCancel: ReservationCancel;\n}\n\n/**\n * Request parameters for reservationsGetCollection operation in ReservationApi.\n * @export\n * @interface ReservationApiReservationsGetCollectionRequest\n */\nexport interface ReservationApiReservationsGetCollectionRequest {\n /**\n * The collection page number\n * @type {number}\n * @memberof ReservationApiReservationsGetCollection\n */\n readonly page?: number;\n\n /**\n * The number of items per page\n * @type {number}\n * @memberof ReservationApiReservationsGetCollection\n */\n readonly itemsPerPage?: number;\n\n /**\n *\n * @type {string}\n * @memberof ReservationApiReservationsGetCollection\n */\n readonly company?: string;\n\n /**\n *\n * @type {string}\n * @memberof ReservationApiReservationsGetCollection\n */\n readonly userEmail?: string;\n\n /**\n *\n * @type {Array}\n * @memberof ReservationApiReservationsGetCollection\n */\n readonly userEmail2?: Array;\n\n /**\n *\n * @type {string}\n * @memberof ReservationApiReservationsGetCollection\n */\n readonly location?: string;\n\n /**\n *\n * @type {Array}\n * @memberof ReservationApiReservationsGetCollection\n */\n readonly location2?: Array;\n\n /**\n *\n * @type {string}\n * @memberof ReservationApiReservationsGetCollection\n */\n readonly reservationNumber?: string;\n\n /**\n *\n * @type {string}\n * @memberof ReservationApiReservationsGetCollection\n */\n readonly createdAtBefore?: string;\n\n /**\n *\n * @type {string}\n * @memberof ReservationApiReservationsGetCollection\n */\n readonly createdAtStrictlyBefore?: string;\n\n /**\n *\n * @type {string}\n * @memberof ReservationApiReservationsGetCollection\n */\n readonly createdAtAfter?: string;\n\n /**\n *\n * @type {string}\n * @memberof ReservationApiReservationsGetCollection\n */\n readonly createdAtStrictlyAfter?: string;\n\n /**\n *\n * @type {string}\n * @memberof ReservationApiReservationsGetCollection\n */\n readonly updatedAtBefore?: string;\n\n /**\n *\n * @type {string}\n * @memberof ReservationApiReservationsGetCollection\n */\n readonly updatedAtStrictlyBefore?: string;\n\n /**\n *\n * @type {string}\n * @memberof ReservationApiReservationsGetCollection\n */\n readonly updatedAtAfter?: string;\n\n /**\n *\n * @type {string}\n * @memberof ReservationApiReservationsGetCollection\n */\n readonly updatedAtStrictlyAfter?: string;\n\n /**\n *\n * @type {string}\n * @memberof ReservationApiReservationsGetCollection\n */\n readonly daysDateBefore?: string;\n\n /**\n *\n * @type {string}\n * @memberof ReservationApiReservationsGetCollection\n */\n readonly daysDateStrictlyBefore?: string;\n\n /**\n *\n * @type {string}\n * @memberof ReservationApiReservationsGetCollection\n */\n readonly daysDateAfter?: string;\n\n /**\n *\n * @type {string}\n * @memberof ReservationApiReservationsGetCollection\n */\n readonly daysDateStrictlyAfter?: string;\n\n /**\n *\n * @type {string}\n * @memberof ReservationApiReservationsGetCollection\n */\n readonly roomsStartDateBefore?: string;\n\n /**\n *\n * @type {string}\n * @memberof ReservationApiReservationsGetCollection\n */\n readonly roomsStartDateStrictlyBefore?: string;\n\n /**\n *\n * @type {string}\n * @memberof ReservationApiReservationsGetCollection\n */\n readonly roomsStartDateAfter?: string;\n\n /**\n *\n * @type {string}\n * @memberof ReservationApiReservationsGetCollection\n */\n readonly roomsStartDateStrictlyAfter?: string;\n\n /**\n *\n * @type {boolean}\n * @memberof ReservationApiReservationsGetCollection\n */\n readonly active?: boolean;\n}\n\n/**\n * Request parameters for reservationsIdGet operation in ReservationApi.\n * @export\n * @interface ReservationApiReservationsIdGetRequest\n */\nexport interface ReservationApiReservationsIdGetRequest {\n /**\n * Reservation identifier\n * @type {string}\n * @memberof ReservationApiReservationsIdGet\n */\n readonly id: string;\n}\n\n/**\n * Request parameters for reservationsIdPut operation in ReservationApi.\n * @export\n * @interface ReservationApiReservationsIdPutRequest\n */\nexport interface ReservationApiReservationsIdPutRequest {\n /**\n * Reservation identifier\n * @type {string}\n * @memberof ReservationApiReservationsIdPut\n */\n readonly id: string;\n\n /**\n * The updated Reservation resource\n * @type {ReservationWrite}\n * @memberof ReservationApiReservationsIdPut\n */\n readonly reservationWrite: ReservationWrite;\n}\n\n/**\n * Request parameters for reservationsIsOpenForCorrectionsGet operation in ReservationApi.\n * @export\n * @interface ReservationApiReservationsIsOpenForCorrectionsGetRequest\n */\nexport interface ReservationApiReservationsIsOpenForCorrectionsGetRequest {\n /**\n * Reservation identifier\n * @type {string}\n * @memberof ReservationApiReservationsIsOpenForCorrectionsGet\n */\n readonly id: string;\n}\n\n/**\n * Request parameters for reservationsPost operation in ReservationApi.\n * @export\n * @interface ReservationApiReservationsPostRequest\n */\nexport interface ReservationApiReservationsPostRequest {\n /**\n * The new Reservation resource\n * @type {ReservationWrite}\n * @memberof ReservationApiReservationsPost\n */\n readonly reservationWrite: ReservationWrite;\n}\n\n/**\n * Request parameters for reservationsPreparePost operation in ReservationApi.\n * @export\n * @interface ReservationApiReservationsPreparePostRequest\n */\nexport interface ReservationApiReservationsPreparePostRequest {\n /**\n * Platform id of reservation, will create a new reservation if missing\n * @type {number}\n * @memberof ReservationApiReservationsPreparePost\n */\n readonly reservationId?: number;\n\n /**\n * Mail that will be processed\n * @type {ReservationMailWrite}\n * @memberof ReservationApiReservationsPreparePost\n */\n readonly reservationMailWrite?: ReservationMailWrite;\n}\n\n/**\n * Request parameters for reservationsRestartGet operation in ReservationApi.\n * @export\n * @interface ReservationApiReservationsRestartGetRequest\n */\nexport interface ReservationApiReservationsRestartGetRequest {\n /**\n * Reservation identifier\n * @type {string}\n * @memberof ReservationApiReservationsRestartGet\n */\n readonly id: string;\n}\n\n/**\n * Request parameters for reservationsTagtogCollection operation in ReservationApi.\n * @export\n * @interface ReservationApiReservationsTagtogCollectionRequest\n */\nexport interface ReservationApiReservationsTagtogCollectionRequest {\n /**\n * TagTogId of mail\n * @type {string}\n * @memberof ReservationApiReservationsTagtogCollection\n */\n readonly tagTogId: string;\n\n /**\n * The collection page number\n * @type {number}\n * @memberof ReservationApiReservationsTagtogCollection\n */\n readonly page?: number;\n\n /**\n * The number of items per page\n * @type {number}\n * @memberof ReservationApiReservationsTagtogCollection\n */\n readonly itemsPerPage?: number;\n\n /**\n *\n * @type {string}\n * @memberof ReservationApiReservationsTagtogCollection\n */\n readonly company?: string;\n\n /**\n *\n * @type {string}\n * @memberof ReservationApiReservationsTagtogCollection\n */\n readonly userEmail?: string;\n\n /**\n *\n * @type {Array}\n * @memberof ReservationApiReservationsTagtogCollection\n */\n readonly userEmail2?: Array;\n\n /**\n *\n * @type {string}\n * @memberof ReservationApiReservationsTagtogCollection\n */\n readonly location?: string;\n\n /**\n *\n * @type {Array}\n * @memberof ReservationApiReservationsTagtogCollection\n */\n readonly location2?: Array;\n\n /**\n *\n * @type {string}\n * @memberof ReservationApiReservationsTagtogCollection\n */\n readonly reservationNumber?: string;\n\n /**\n *\n * @type {string}\n * @memberof ReservationApiReservationsTagtogCollection\n */\n readonly createdAtBefore?: string;\n\n /**\n *\n * @type {string}\n * @memberof ReservationApiReservationsTagtogCollection\n */\n readonly createdAtStrictlyBefore?: string;\n\n /**\n *\n * @type {string}\n * @memberof ReservationApiReservationsTagtogCollection\n */\n readonly createdAtAfter?: string;\n\n /**\n *\n * @type {string}\n * @memberof ReservationApiReservationsTagtogCollection\n */\n readonly createdAtStrictlyAfter?: string;\n\n /**\n *\n * @type {string}\n * @memberof ReservationApiReservationsTagtogCollection\n */\n readonly updatedAtBefore?: string;\n\n /**\n *\n * @type {string}\n * @memberof ReservationApiReservationsTagtogCollection\n */\n readonly updatedAtStrictlyBefore?: string;\n\n /**\n *\n * @type {string}\n * @memberof ReservationApiReservationsTagtogCollection\n */\n readonly updatedAtAfter?: string;\n\n /**\n *\n * @type {string}\n * @memberof ReservationApiReservationsTagtogCollection\n */\n readonly updatedAtStrictlyAfter?: string;\n\n /**\n *\n * @type {string}\n * @memberof ReservationApiReservationsTagtogCollection\n */\n readonly daysDateBefore?: string;\n\n /**\n *\n * @type {string}\n * @memberof ReservationApiReservationsTagtogCollection\n */\n readonly daysDateStrictlyBefore?: string;\n\n /**\n *\n * @type {string}\n * @memberof ReservationApiReservationsTagtogCollection\n */\n readonly daysDateAfter?: string;\n\n /**\n *\n * @type {string}\n * @memberof ReservationApiReservationsTagtogCollection\n */\n readonly daysDateStrictlyAfter?: string;\n\n /**\n *\n * @type {string}\n * @memberof ReservationApiReservationsTagtogCollection\n */\n readonly roomsStartDateBefore?: string;\n\n /**\n *\n * @type {string}\n * @memberof ReservationApiReservationsTagtogCollection\n */\n readonly roomsStartDateStrictlyBefore?: string;\n\n /**\n *\n * @type {string}\n * @memberof ReservationApiReservationsTagtogCollection\n */\n readonly roomsStartDateAfter?: string;\n\n /**\n *\n * @type {string}\n * @memberof ReservationApiReservationsTagtogCollection\n */\n readonly roomsStartDateStrictlyAfter?: string;\n\n /**\n *\n * @type {boolean}\n * @memberof ReservationApiReservationsTagtogCollection\n */\n readonly active?: boolean;\n}\n\n/**\n * Request parameters for reservationsValidateGet operation in ReservationApi.\n * @export\n * @interface ReservationApiReservationsValidateGetRequest\n */\nexport interface ReservationApiReservationsValidateGetRequest {\n /**\n * Reservation identifier\n * @type {string}\n * @memberof ReservationApiReservationsValidateGet\n */\n readonly id: string;\n}\n\n/**\n * ReservationApi - object-oriented interface\n * @export\n * @class ReservationApi\n * @extends {BaseAPI}\n */\nexport class ReservationApi extends BaseAPI {\n /**\n * Retrieves a Reservation resource.\n * @summary Option the Reservation resource.\n * @param {ReservationApiReservationGetOptionRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ReservationApi\n */\n public reservationGetOption(\n requestParameters: ReservationApiReservationGetOptionRequest,\n options?: AxiosRequestConfig,\n ) {\n return ReservationApiFp(this.configuration)\n .reservationGetOption(requestParameters.id, options)\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Replaces the Reservation resource.\n * @summary Apply a transition on the reservation\n * @param {ReservationApiReservationsApplyTransitionPutRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ReservationApi\n */\n public reservationsApplyTransitionPut(\n requestParameters: ReservationApiReservationsApplyTransitionPutRequest,\n options?: AxiosRequestConfig,\n ) {\n return ReservationApiFp(this.configuration)\n .reservationsApplyTransitionPut(\n requestParameters.id,\n requestParameters.reservationTransition,\n options,\n )\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Replaces the Reservation resource.\n * @summary Cancel the Reservation resource.\n * @param {ReservationApiReservationsCancelPutRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ReservationApi\n */\n public reservationsCancelPut(\n requestParameters: ReservationApiReservationsCancelPutRequest,\n options?: AxiosRequestConfig,\n ) {\n return ReservationApiFp(this.configuration)\n .reservationsCancelPut(\n requestParameters.id,\n requestParameters.reservationCancel,\n options,\n )\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Retrieves the collection of Reservation resources.\n * @summary Retrieves the collection of Reservation resources.\n * @param {ReservationApiReservationsGetCollectionRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ReservationApi\n */\n public reservationsGetCollection(\n requestParameters: ReservationApiReservationsGetCollectionRequest = {},\n options?: AxiosRequestConfig,\n ) {\n return ReservationApiFp(this.configuration)\n .reservationsGetCollection(\n requestParameters.page,\n requestParameters.itemsPerPage,\n requestParameters.company,\n requestParameters.userEmail,\n requestParameters.userEmail2,\n requestParameters.location,\n requestParameters.location2,\n requestParameters.reservationNumber,\n requestParameters.createdAtBefore,\n requestParameters.createdAtStrictlyBefore,\n requestParameters.createdAtAfter,\n requestParameters.createdAtStrictlyAfter,\n requestParameters.updatedAtBefore,\n requestParameters.updatedAtStrictlyBefore,\n requestParameters.updatedAtAfter,\n requestParameters.updatedAtStrictlyAfter,\n requestParameters.daysDateBefore,\n requestParameters.daysDateStrictlyBefore,\n requestParameters.daysDateAfter,\n requestParameters.daysDateStrictlyAfter,\n requestParameters.roomsStartDateBefore,\n requestParameters.roomsStartDateStrictlyBefore,\n requestParameters.roomsStartDateAfter,\n requestParameters.roomsStartDateStrictlyAfter,\n requestParameters.active,\n options,\n )\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Retrieves a Reservation resource.\n * @summary Retrieves a Reservation resource.\n * @param {ReservationApiReservationsIdGetRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ReservationApi\n */\n public reservationsIdGet(\n requestParameters: ReservationApiReservationsIdGetRequest,\n options?: AxiosRequestConfig,\n ) {\n return ReservationApiFp(this.configuration)\n .reservationsIdGet(requestParameters.id, options)\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Replaces the Reservation resource.\n * @summary Replaces the Reservation resource.\n * @param {ReservationApiReservationsIdPutRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ReservationApi\n */\n public reservationsIdPut(\n requestParameters: ReservationApiReservationsIdPutRequest,\n options?: AxiosRequestConfig,\n ) {\n return ReservationApiFp(this.configuration)\n .reservationsIdPut(\n requestParameters.id,\n requestParameters.reservationWrite,\n options,\n )\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Retrieves a Reservation resource.\n * @summary Check if this reservation is open for corrections.\n * @param {ReservationApiReservationsIsOpenForCorrectionsGetRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ReservationApi\n */\n public reservationsIsOpenForCorrectionsGet(\n requestParameters: ReservationApiReservationsIsOpenForCorrectionsGetRequest,\n options?: AxiosRequestConfig,\n ) {\n return ReservationApiFp(this.configuration)\n .reservationsIsOpenForCorrectionsGet(requestParameters.id, options)\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Creates a Reservation resource.\n * @summary Creates a Reservation resource.\n * @param {ReservationApiReservationsPostRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ReservationApi\n */\n public reservationsPost(\n requestParameters: ReservationApiReservationsPostRequest,\n options?: AxiosRequestConfig,\n ) {\n return ReservationApiFp(this.configuration)\n .reservationsPost(requestParameters.reservationWrite, options)\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Creates a Reservation resource.\n * @summary Prepare a reservation to be processed by the processor.\n * @param {ReservationApiReservationsPreparePostRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ReservationApi\n */\n public reservationsPreparePost(\n requestParameters: ReservationApiReservationsPreparePostRequest = {},\n options?: AxiosRequestConfig,\n ) {\n return ReservationApiFp(this.configuration)\n .reservationsPreparePost(\n requestParameters.reservationId,\n requestParameters.reservationMailWrite,\n options,\n )\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Retrieves a Reservation resource.\n * @summary Resets the Reservation resource to stat suitable for start marking.\n * @param {ReservationApiReservationsRestartGetRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ReservationApi\n */\n public reservationsRestartGet(\n requestParameters: ReservationApiReservationsRestartGetRequest,\n options?: AxiosRequestConfig,\n ) {\n return ReservationApiFp(this.configuration)\n .reservationsRestartGet(requestParameters.id, options)\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Retrieves the collection of Reservation resources.\n * @summary Retrieves a Reservation resource by TagTog identifier.\n * @param {ReservationApiReservationsTagtogCollectionRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ReservationApi\n */\n public reservationsTagtogCollection(\n requestParameters: ReservationApiReservationsTagtogCollectionRequest,\n options?: AxiosRequestConfig,\n ) {\n return ReservationApiFp(this.configuration)\n .reservationsTagtogCollection(\n requestParameters.tagTogId,\n requestParameters.page,\n requestParameters.itemsPerPage,\n requestParameters.company,\n requestParameters.userEmail,\n requestParameters.userEmail2,\n requestParameters.location,\n requestParameters.location2,\n requestParameters.reservationNumber,\n requestParameters.createdAtBefore,\n requestParameters.createdAtStrictlyBefore,\n requestParameters.createdAtAfter,\n requestParameters.createdAtStrictlyAfter,\n requestParameters.updatedAtBefore,\n requestParameters.updatedAtStrictlyBefore,\n requestParameters.updatedAtAfter,\n requestParameters.updatedAtStrictlyAfter,\n requestParameters.daysDateBefore,\n requestParameters.daysDateStrictlyBefore,\n requestParameters.daysDateAfter,\n requestParameters.daysDateStrictlyAfter,\n requestParameters.roomsStartDateBefore,\n requestParameters.roomsStartDateStrictlyBefore,\n requestParameters.roomsStartDateAfter,\n requestParameters.roomsStartDateStrictlyAfter,\n requestParameters.active,\n options,\n )\n .then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Retrieves a Reservation resource.\n * @summary Validate the reservation based on configured validation rules.\n * @param {ReservationApiReservationsValidateGetRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ReservationApi\n */\n public reservationsValidateGet(\n requestParameters: ReservationApiReservationsValidateGetRequest,\n options?: AxiosRequestConfig,\n ) {\n return ReservationApiFp(this.configuration)\n .reservationsValidateGet(requestParameters.id, options)\n .then((request) => request(this.axios, this.basePath));\n }\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Thynk Direct API\n * The API for managing reservation for [Thynk Direct](https://thynk.cloud/).\n *\n * The version of the OpenAPI document: 4.20.16\n *\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n/**\n *\n * @export\n * @interface BookingRemarkBookingWrite\n */\nexport interface BookingRemarkBookingWrite {\n /**\n *\n * @type {number}\n * @memberof BookingRemarkBookingWrite\n */\n id?: number | null;\n /**\n *\n * @type {string}\n * @memberof BookingRemarkBookingWrite\n */\n type?: BookingRemarkBookingWriteTypeEnum;\n /**\n *\n * @type {string}\n * @memberof BookingRemarkBookingWrite\n */\n description?: string | null;\n /**\n *\n * @type {string}\n * @memberof BookingRemarkBookingWrite\n */\n reservatonDay?: string | null;\n}\n\nexport const BookingRemarkBookingWriteTypeEnum = {\n Internal: 'internal',\n External: 'external',\n Scribble: 'scribble',\n Tagtog: 'tagtog',\n Flag: 'flag',\n Note: 'note',\n DinnerRequest: 'dinner_request',\n DietaryRequirements: 'dietary_requirements',\n BreakfastRequest: 'breakfast_request',\n} as const;\n\nexport type BookingRemarkBookingWriteTypeEnum =\n (typeof BookingRemarkBookingWriteTypeEnum)[keyof typeof BookingRemarkBookingWriteTypeEnum];\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Thynk Direct API\n * The API for managing reservation for [Thynk Direct](https://thynk.cloud/).\n *\n * The version of the OpenAPI document: 4.20.16\n *\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n// May contain unused imports in some cases\n// @ts-ignore\nimport { LocationCaseRead } from './location-case-read';\n// May contain unused imports in some cases\n// @ts-ignore\nimport { ReservationCaseRead } from './reservation-case-read';\n// May contain unused imports in some cases\n// @ts-ignore\nimport { ReservationMailCaseRead } from './reservation-mail-case-read';\n// May contain unused imports in some cases\n// @ts-ignore\nimport { UserCaseRead } from './user-case-read';\n\n/**\n * A case within PleaseAskM. It is a collection of correspondence with a customer, it typically resolves around a reservation initiated by a reservation e-mail from a customer.\n * @export\n * @interface CaseRead\n */\nexport interface CaseRead {\n /**\n *\n * @type {string}\n * @memberof CaseRead\n */\n '@context'?: string | null;\n /**\n *\n * @type {string}\n * @memberof CaseRead\n */\n '@id'?: string;\n /**\n *\n * @type {string}\n * @memberof CaseRead\n */\n '@type'?: string;\n /**\n * the database identifier of a case\n * @type {number}\n * @memberof CaseRead\n */\n id?: number;\n /**\n *\n * @type {Array}\n * @memberof CaseRead\n */\n mails?: Array;\n /**\n * the partner to which this case belongs\n * @type {string}\n * @memberof CaseRead\n */\n partner?: string | null;\n /**\n *\n * @type {UserCaseRead}\n * @memberof CaseRead\n */\n assignee?: UserCaseRead | null;\n /**\n *\n * @type {UserCaseRead}\n * @memberof CaseRead\n */\n createdBy?: UserCaseRead | null;\n /**\n *\n * @type {UserCaseRead}\n * @memberof CaseRead\n */\n updatedBy?: UserCaseRead | null;\n /**\n * case number based on the active reservation\n * @type {string}\n * @memberof CaseRead\n */\n caseNumber?: string | null;\n /**\n * company name of reservation if available otherwise the mail\n * @type {string}\n * @memberof CaseRead\n */\n companyName?: string | null;\n /**\n * company contact person of the reservation if available otherwise the mail\n * @type {string}\n * @memberof CaseRead\n */\n companyContactperson?: string | null;\n /**\n * subject of the first received mail\n * @type {string}\n * @memberof CaseRead\n */\n subject?: string | null;\n /**\n *\n * @type {Array}\n * @memberof CaseRead\n */\n intents?: Array;\n /**\n *\n * @type {Array}\n * @memberof CaseRead\n */\n flags?: Array;\n /**\n * current status based on the markings of the reservation or mail\n * @type {string}\n * @memberof CaseRead\n */\n status?: CaseReadStatusEnum;\n /**\n * current marking based on the reservation or mail\n * @type {string}\n * @memberof CaseRead\n */\n marking?: CaseReadMarkingEnum;\n /**\n * datetime when a reservation mailing transition is scheduled\n * @type {string}\n * @memberof CaseRead\n */\n transitionAt?: string | null;\n /**\n *\n * @type {LocationCaseRead}\n * @memberof CaseRead\n */\n location?: LocationCaseRead | null;\n /**\n * first date a guest will arrive and check in\n * @type {string}\n * @memberof CaseRead\n */\n checkinDate?: string | null;\n /**\n *\n * @type {Array}\n * @memberof CaseRead\n */\n types?: Array;\n /**\n * indicates what the source of the case is\n * @type {string}\n * @memberof CaseRead\n */\n source?: string | null;\n /**\n * date when the case has last been opened\n * @type {string}\n * @memberof CaseRead\n */\n openedAt?: string | null;\n /**\n *\n * @type {string}\n * @memberof CaseRead\n */\n createdAt?: string;\n /**\n *\n * @type {string}\n * @memberof CaseRead\n */\n updatedAt?: string;\n /**\n *\n * @type {ReservationCaseRead}\n * @memberof CaseRead\n */\n activeReservation?: ReservationCaseRead | null;\n /**\n *\n * @type {ReservationMailCaseRead}\n * @memberof CaseRead\n * @deprecated\n */\n activeMail?: ReservationMailCaseRead | null;\n}\n\nexport const CaseReadFlagsEnum = {\n Ai: 'AI',\n Bricksandbasics: 'bricksandbasics',\n Broker: 'broker',\n Cancel: 'cancel',\n Language: 'language',\n Ota: 'ota',\n Pax: 'pax',\n MReady: 'm-ready',\n LongLeadTime: 'long-lead-time',\n ShortLeadTime: 'short-lead-time',\n} as const;\n\nexport type CaseReadFlagsEnum =\n (typeof CaseReadFlagsEnum)[keyof typeof CaseReadFlagsEnum];\nexport const CaseReadStatusEnum = {\n New: 'new',\n Processing: 'processing',\n Running: 'running',\n Confirmed: 'confirmed',\n FutureConfirmation: 'future_confirmation',\n Archived: 'archived',\n} as const;\n\nexport type CaseReadStatusEnum =\n (typeof CaseReadStatusEnum)[keyof typeof CaseReadStatusEnum];\nexport const CaseReadMarkingEnum = {\n New: 'new',\n Start: 'start',\n AwaitingMailingLink: 'awaiting_mailing_link',\n LinkMailed: 'link_mailed',\n ProposalRequested: 'proposal_requested',\n AvailabilityChecking: 'availability_checking',\n AvailabilitySucceeded: 'availability_succeeded',\n AvailabilityFailed: 'availability_failed',\n HotelroomoptionChecking: 'hotelroomoption_checking',\n HotelroomoptionSucceeded: 'hotelroomoption_succeeded',\n HotelroomoptionFailed: 'hotelroomoption_failed',\n MeetingroomoptionChecking: 'meetingroomoption_checking',\n MeetingroomoptionSucceeded: 'meetingroomoption_succeeded',\n AwaitingMailingMeetingroomoptionChanges:\n 'awaiting_mailing_meetingroomoption_changes',\n MeetingroomoptionChangesMailed: 'meetingroomoption_changes_mailed',\n MeetingroomoptionFailed: 'meetingroomoption_failed',\n AwaitingMailingProposal: 'awaiting_mailing_proposal',\n ProposalMailed: 'proposal_mailed',\n ProposalMailedManually: 'proposal_mailed_manually',\n ProposalAccepted: 'proposal_accepted',\n HotelroombookingConfirming: 'hotelroombooking_confirming',\n HotelroombookingSucceeded: 'hotelroombooking_succeeded',\n HotelroombookingFailed: 'hotelroombooking_failed',\n MeetingroombookingConfirming: 'meetingroombooking_confirming',\n MeetingroombookingSucceeded: 'meetingroombooking_succeeded',\n MeetingroombookingFailed: 'meetingroombooking_failed',\n AwaitingMailingConfirmation: 'awaiting_mailing_confirmation',\n ConfirmationMailed: 'confirmation_mailed',\n ConfirmationMailedManually: 'confirmation_mailed_manually',\n Cancelled: 'cancelled',\n Expired: 'expired',\n ProcessedManually: 'processed_manually',\n NoAction: 'no_action',\n Archived: 'archived',\n} as const;\n\nexport type CaseReadMarkingEnum =\n (typeof CaseReadMarkingEnum)[keyof typeof CaseReadMarkingEnum];\nexport const CaseReadTypesEnum = {\n Mice: 'mice',\n Hotel: 'hotel',\n} as const;\n\nexport type CaseReadTypesEnum =\n (typeof CaseReadTypesEnum)[keyof typeof CaseReadTypesEnum];\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Thynk Direct API\n * The API for managing reservation for [Thynk Direct](https://thynk.cloud/).\n *\n * The version of the OpenAPI document: 4.20.16\n *\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n// May contain unused imports in some cases\n// @ts-ignore\nimport { LocationSettingsLocationRead } from './location-settings-location-read';\n\n/**\n *\n * @export\n * @interface LocationSettingsTranslationLocationRead\n */\nexport interface LocationSettingsTranslationLocationRead {\n /**\n *\n * @type {string}\n * @memberof LocationSettingsTranslationLocationRead\n */\n '@context'?: string | null;\n /**\n *\n * @type {string}\n * @memberof LocationSettingsTranslationLocationRead\n */\n '@id'?: string;\n /**\n *\n * @type {string}\n * @memberof LocationSettingsTranslationLocationRead\n */\n '@type'?: string;\n /**\n * database identifier of the location settings translation\n * @type {string}\n * @memberof LocationSettingsTranslationLocationRead\n */\n id?: string;\n /**\n *\n * @type {string}\n * @memberof LocationSettingsTranslationLocationRead\n */\n type?: LocationSettingsTranslationLocationReadTypeEnum;\n /**\n *\n * @type {LocationSettingsLocationRead}\n * @memberof LocationSettingsTranslationLocationRead\n */\n locationSettings?: LocationSettingsLocationRead | null;\n /**\n * the translated value\n * @type {string}\n * @memberof LocationSettingsTranslationLocationRead\n */\n name?: string;\n /**\n * the language of the translated name\n * @type {string}\n * @memberof LocationSettingsTranslationLocationRead\n */\n language?: string;\n}\n\nexport const LocationSettingsTranslationLocationReadTypeEnum = {\n WebformTaxes: 'webform_taxes',\n MeetingRoomDisclaimer: 'meeting_room_disclaimer',\n CheckoutDisclaimer: 'checkout_disclaimer',\n ThynkDirectCheckoutPopup: 'thynk_direct_checkout_popup',\n ThynkDirectPriceCalculationPopup: 'thynk_direct_price_calculation_popup',\n} as const;\n\nexport type LocationSettingsTranslationLocationReadTypeEnum =\n (typeof LocationSettingsTranslationLocationReadTypeEnum)[keyof typeof LocationSettingsTranslationLocationReadTypeEnum];\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Thynk Direct API\n * The API for managing reservation for [Thynk Direct](https://thynk.cloud/).\n *\n * The version of the OpenAPI document: 4.20.16\n *\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n// May contain unused imports in some cases\n// @ts-ignore\nimport { LanguageSettingsPartnerRead } from './language-settings-partner-read';\n// May contain unused imports in some cases\n// @ts-ignore\nimport { PartnerRead } from './partner-read';\n// May contain unused imports in some cases\n// @ts-ignore\nimport { PartnerSettingsTranslationPartnerRead } from './partner-settings-translation-partner-read';\n// May contain unused imports in some cases\n// @ts-ignore\nimport { PartnerSettingsUserReadUserReadAdminReservationSourceTimersInner } from './partner-settings-user-read-user-read-admin-reservation-source-timers-inner';\n// May contain unused imports in some cases\n// @ts-ignore\nimport { WebformImageObjectPartnerRead } from './webform-image-object-partner-read';\n\n/**\n *\n * @export\n * @interface PartnerSettingsPartnerRead\n */\nexport interface PartnerSettingsPartnerRead {\n /**\n *\n * @type {string}\n * @memberof PartnerSettingsPartnerRead\n */\n '@context'?: string | null;\n /**\n *\n * @type {string}\n * @memberof PartnerSettingsPartnerRead\n */\n '@id'?: string;\n /**\n *\n * @type {string}\n * @memberof PartnerSettingsPartnerRead\n */\n '@type'?: string;\n /**\n *\n * @type {string}\n * @memberof PartnerSettingsPartnerRead\n */\n id?: string;\n /**\n *\n * @type {PartnerRead}\n * @memberof PartnerSettingsPartnerRead\n */\n partner?: PartnerRead | null;\n /**\n * send mails if a big group tag is assigned to the reservation\n * @type {boolean}\n * @memberof PartnerSettingsPartnerRead\n * @deprecated\n */\n shouldReceiveLargePaxMail?: boolean;\n /**\n * send mails if the proposal expires (within x hours)\n * @type {boolean}\n * @memberof PartnerSettingsPartnerRead\n */\n shouldReceiveProposalExpiresMail?: boolean;\n /**\n * if autoPilot is true it starts the first transition automatically instead of a manual employee action\n * @type {boolean}\n * @memberof PartnerSettingsPartnerRead\n */\n autoPilot?: boolean;\n /**\n * if autoPilotLanguage is true it starts the first transition automatically instead of a manual employee action\n * @type {boolean}\n * @memberof PartnerSettingsPartnerRead\n */\n autoPilotLanguage?: boolean;\n /**\n *\n * @type {Array}\n * @memberof PartnerSettingsPartnerRead\n */\n blockingFlags?: Array;\n /**\n * The default payment method under threshold\n * @type {string}\n * @memberof PartnerSettingsPartnerRead\n */\n defaultPaymentMethodUnderThreshold?: PartnerSettingsPartnerReadDefaultPaymentMethodUnderThresholdEnum;\n /**\n * The default payment method above threshold\n * @type {string}\n * @memberof PartnerSettingsPartnerRead\n */\n defaultPaymentMethodAboveThreshold?: PartnerSettingsPartnerReadDefaultPaymentMethodAboveThresholdEnum;\n /**\n * database stores currency in cents so this is 1000 euro\n * @type {number}\n * @memberof PartnerSettingsPartnerRead\n */\n paymentMethodThreshold?: number;\n /**\n * mode how the threshold should apply\n * @type {string}\n * @memberof PartnerSettingsPartnerRead\n */\n costChangeThresholdMode?: PartnerSettingsPartnerReadCostChangeThresholdModeEnum;\n /**\n * Threshold to renew the invoice when revenue changed.\n * @type {number}\n * @memberof PartnerSettingsPartnerRead\n */\n costChangeThreshold?: number;\n /**\n *\n * @type {Array}\n * @memberof PartnerSettingsPartnerRead\n */\n expirationRules?: Array;\n /**\n * The terms and conditions page for the partner. Should be a valid url.\n * @type {string}\n * @memberof PartnerSettingsPartnerRead\n */\n termsUrl?: string | null;\n /**\n *\n * @type {string}\n * @memberof PartnerSettingsPartnerRead\n */\n gdprFilePath?: string | null;\n /**\n *\n * @type {string}\n * @memberof PartnerSettingsPartnerRead\n */\n defaultEmplacement?: string | null;\n /**\n * The default emplacement for a reservation with big groups.\n * @type {string}\n * @memberof PartnerSettingsPartnerRead\n */\n bigGroupsDefaultEmplacement?: string | null;\n /**\n *\n * @type {Array}\n * @memberof PartnerSettingsPartnerRead\n */\n reservationSourceTimers?: Array;\n /**\n * If set to true, automated mails for a reservation will be delayed and not be sent before Monday morning.\n * @type {boolean}\n * @memberof PartnerSettingsPartnerRead\n */\n weekendMailDelay?: boolean;\n /**\n * This is the check-in time of a partner. This stores the time as \\\"12:00\\\".\n * @type {string}\n * @memberof PartnerSettingsPartnerRead\n */\n defaultCheckinTime?: string | null;\n /**\n * This is the check-out time of a partner. This stores the time as \\\"12:00\\\".\n * @type {string}\n * @memberof PartnerSettingsPartnerRead\n */\n defaultCheckoutTime?: string | null;\n /**\n * This is used to determine if a partner has the option of late checkout.\n * @type {boolean}\n * @memberof PartnerSettingsPartnerRead\n */\n lateCheckoutEnabled?: boolean;\n /**\n * This is used to determine if a partner has the option of breakfast.\n * @type {boolean}\n * @memberof PartnerSettingsPartnerRead\n */\n breakfastEnabled?: boolean;\n /**\n * 6-digit (or 3-digit) hex color code for the partner look and feel (without the leading hash)\n * @type {string}\n * @memberof PartnerSettingsPartnerRead\n */\n color?: string;\n /**\n * 6-digit (or 3-digit) alternative hex color code for the partner if it conflicts with the primary color (without the leading hash)\n * @type {string}\n * @memberof PartnerSettingsPartnerRead\n * @deprecated\n */\n secondaryColor?: string;\n /**\n * the font used on the webform\n * @type {string}\n * @memberof PartnerSettingsPartnerRead\n */\n webformFont?: PartnerSettingsPartnerReadWebformFontEnum;\n /**\n * should the containers on the webform have rounded corners\n * @type {boolean}\n * @memberof PartnerSettingsPartnerRead\n */\n webformRoundedBoxes?: boolean;\n /**\n * should the user be able to select their own preferred halls in the webform\n * @type {boolean}\n * @memberof PartnerSettingsPartnerRead\n */\n hallPreferenceEnabled?: boolean;\n /**\n *\n * @type {Array}\n * @memberof PartnerSettingsPartnerRead\n */\n translations?: Array;\n /**\n *\n * @type {Array}\n * @memberof PartnerSettingsPartnerRead\n */\n webformImages?: Array;\n /**\n * An analytics key to load\n * @type {string}\n * @memberof PartnerSettingsPartnerRead\n */\n analyticsKey?: string | null;\n /**\n *\n * @type {string}\n * @memberof PartnerSettingsPartnerRead\n */\n clientToken?: string | null;\n /**\n *\n * @type {string}\n * @memberof PartnerSettingsPartnerRead\n */\n accessToken?: string | null;\n /**\n *\n * @type {string}\n * @memberof PartnerSettingsPartnerRead\n */\n endpoint?: string | null;\n /**\n *\n * @type {string}\n * @memberof PartnerSettingsPartnerRead\n */\n website?: string | null;\n /**\n *\n * @type {string}\n * @memberof PartnerSettingsPartnerRead\n */\n currency?: PartnerSettingsPartnerReadCurrencyEnum;\n /**\n *\n * @type {Array}\n * @memberof PartnerSettingsPartnerRead\n */\n subscribedNotifications?: Array;\n /**\n *\n * @type {LanguageSettingsPartnerRead}\n * @memberof PartnerSettingsPartnerRead\n */\n languageSettings?: LanguageSettingsPartnerRead;\n /**\n * The external name reference for the partner, for instance used as subdomain for the web form.\n * @type {string}\n * @memberof PartnerSettingsPartnerRead\n */\n slug?: string | null;\n}\n\nexport const PartnerSettingsPartnerReadBlockingFlagsEnum = {\n Ai: 'AI',\n Bricksandbasics: 'bricksandbasics',\n Broker: 'broker',\n Cancel: 'cancel',\n Language: 'language',\n Ota: 'ota',\n Pax: 'pax',\n MReady: 'm-ready',\n LongLeadTime: 'long-lead-time',\n ShortLeadTime: 'short-lead-time',\n} as const;\n\nexport type PartnerSettingsPartnerReadBlockingFlagsEnum =\n (typeof PartnerSettingsPartnerReadBlockingFlagsEnum)[keyof typeof PartnerSettingsPartnerReadBlockingFlagsEnum];\nexport const PartnerSettingsPartnerReadDefaultPaymentMethodUnderThresholdEnum =\n {\n AtLocation: 'AT_LOCATION',\n CreditCard: 'CREDIT_CARD',\n Invoice: 'INVOICE',\n PrePayment: 'PRE_PAYMENT',\n Voucher: 'VOUCHER',\n } as const;\n\nexport type PartnerSettingsPartnerReadDefaultPaymentMethodUnderThresholdEnum =\n (typeof PartnerSettingsPartnerReadDefaultPaymentMethodUnderThresholdEnum)[keyof typeof PartnerSettingsPartnerReadDefaultPaymentMethodUnderThresholdEnum];\nexport const PartnerSettingsPartnerReadDefaultPaymentMethodAboveThresholdEnum =\n {\n AtLocation: 'AT_LOCATION',\n CreditCard: 'CREDIT_CARD',\n Invoice: 'INVOICE',\n PrePayment: 'PRE_PAYMENT',\n Voucher: 'VOUCHER',\n } as const;\n\nexport type PartnerSettingsPartnerReadDefaultPaymentMethodAboveThresholdEnum =\n (typeof PartnerSettingsPartnerReadDefaultPaymentMethodAboveThresholdEnum)[keyof typeof PartnerSettingsPartnerReadDefaultPaymentMethodAboveThresholdEnum];\nexport const PartnerSettingsPartnerReadCostChangeThresholdModeEnum = {\n Percentage: 'percentage',\n Absolute: 'absolute',\n} as const;\n\nexport type PartnerSettingsPartnerReadCostChangeThresholdModeEnum =\n (typeof PartnerSettingsPartnerReadCostChangeThresholdModeEnum)[keyof typeof PartnerSettingsPartnerReadCostChangeThresholdModeEnum];\nexport const PartnerSettingsPartnerReadWebformFontEnum = {\n Replica: 'Replica',\n Verdana: 'Verdana',\n Arial: 'Arial',\n Georgia: 'Georgia',\n Times: 'Times',\n TimesNewRoman: 'Times New Roman',\n Courier: 'Courier',\n Tahoma: 'Tahoma',\n TrebuchetMs: 'Trebuchet MS',\n} as const;\n\nexport type PartnerSettingsPartnerReadWebformFontEnum =\n (typeof PartnerSettingsPartnerReadWebformFontEnum)[keyof typeof PartnerSettingsPartnerReadWebformFontEnum];\nexport const PartnerSettingsPartnerReadCurrencyEnum = {\n Eur: 'EUR',\n Usd: 'USD',\n Chf: 'CHF',\n Gbp: 'GBP',\n Aed: 'AED',\n Bhd: 'BHD',\n Qar: 'QAR',\n Sar: 'SAR',\n Iqd: 'IQD',\n Jod: 'JOD',\n Mad: 'MAD',\n Try: 'TRY',\n Tzs: 'TZS',\n Null: 'null',\n} as const;\n\nexport type PartnerSettingsPartnerReadCurrencyEnum =\n (typeof PartnerSettingsPartnerReadCurrencyEnum)[keyof typeof PartnerSettingsPartnerReadCurrencyEnum];\nexport const PartnerSettingsPartnerReadSubscribedNotificationsEnum = {\n VenueInquiryConfirmationEmail: 'venue_inquiry_confirmation_email',\n} as const;\n\nexport type PartnerSettingsPartnerReadSubscribedNotificationsEnum =\n (typeof PartnerSettingsPartnerReadSubscribedNotificationsEnum)[keyof typeof PartnerSettingsPartnerReadSubscribedNotificationsEnum];\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Thynk Direct API\n * The API for managing reservation for [Thynk Direct](https://thynk.cloud/).\n *\n * The version of the OpenAPI document: 4.20.16\n *\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n// May contain unused imports in some cases\n// @ts-ignore\nimport { PartnerSettingsPartnerRead } from './partner-settings-partner-read';\n\n/**\n *\n * @export\n * @interface PartnerSettingsTranslationPartnerRead\n */\nexport interface PartnerSettingsTranslationPartnerRead {\n /**\n *\n * @type {string}\n * @memberof PartnerSettingsTranslationPartnerRead\n */\n '@context'?: string | null;\n /**\n *\n * @type {string}\n * @memberof PartnerSettingsTranslationPartnerRead\n */\n '@id'?: string;\n /**\n *\n * @type {string}\n * @memberof PartnerSettingsTranslationPartnerRead\n */\n '@type'?: string;\n /**\n *\n * @type {number}\n * @memberof PartnerSettingsTranslationPartnerRead\n */\n id?: number;\n /**\n *\n * @type {string}\n * @memberof PartnerSettingsTranslationPartnerRead\n */\n type?: PartnerSettingsTranslationPartnerReadTypeEnum;\n /**\n *\n * @type {PartnerSettingsPartnerRead}\n * @memberof PartnerSettingsTranslationPartnerRead\n */\n partnerSettings?: PartnerSettingsPartnerRead | null;\n /**\n * the translated value\n * @type {string}\n * @memberof PartnerSettingsTranslationPartnerRead\n */\n name?: string;\n /**\n * the language of the translated name\n * @type {string}\n * @memberof PartnerSettingsTranslationPartnerRead\n */\n language?: string;\n}\n\nexport const PartnerSettingsTranslationPartnerReadTypeEnum = {\n WebformIntro: 'webform_intro',\n ThynkLeadConfirmationPopup: 'thynk_lead_confirmation_popup',\n} as const;\n\nexport type PartnerSettingsTranslationPartnerReadTypeEnum =\n (typeof PartnerSettingsTranslationPartnerReadTypeEnum)[keyof typeof PartnerSettingsTranslationPartnerReadTypeEnum];\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Thynk Direct API\n * The API for managing reservation for [Thynk Direct](https://thynk.cloud/).\n *\n * The version of the OpenAPI document: 4.20.16\n *\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n// May contain unused imports in some cases\n// @ts-ignore\nimport { BookingEventTypeReservationRead } from './booking-event-type-reservation-read';\n// May contain unused imports in some cases\n// @ts-ignore\nimport { CompanyReservationRead } from './company-reservation-read';\n// May contain unused imports in some cases\n// @ts-ignore\nimport { ContactReservationRead } from './contact-reservation-read';\n// May contain unused imports in some cases\n// @ts-ignore\nimport { ContractReservationRead } from './contract-reservation-read';\n// May contain unused imports in some cases\n// @ts-ignore\nimport { LocationReservationRead } from './location-reservation-read';\n// May contain unused imports in some cases\n// @ts-ignore\nimport { MailAttachmentReservationRead } from './mail-attachment-reservation-read';\n// May contain unused imports in some cases\n// @ts-ignore\nimport { MeetingReservationRead } from './meeting-reservation-read';\n// May contain unused imports in some cases\n// @ts-ignore\nimport { ReservationApiLogReservationRead } from './reservation-api-log-reservation-read';\n// May contain unused imports in some cases\n// @ts-ignore\nimport { ReservationDayReservationRead } from './reservation-day-reservation-read';\n// May contain unused imports in some cases\n// @ts-ignore\nimport { ReservationFileReservationRead } from './reservation-file-reservation-read';\n// May contain unused imports in some cases\n// @ts-ignore\nimport { ReservationMailReservationRead } from './reservation-mail-reservation-read';\n// May contain unused imports in some cases\n// @ts-ignore\nimport { ReservationRemarkReservationRead } from './reservation-remark-reservation-read';\n// May contain unused imports in some cases\n// @ts-ignore\nimport { ReservationRoomReservationRead } from './reservation-room-reservation-read';\n// May contain unused imports in some cases\n// @ts-ignore\nimport { UserReservationRead } from './user-reservation-read';\n\n/**\n * A hotelroom and/or MICE reservation made (part of case).\n * @export\n * @interface ReservationRead\n */\nexport interface ReservationRead {\n /**\n *\n * @type {string}\n * @memberof ReservationRead\n */\n '@context'?: string | null;\n /**\n *\n * @type {string}\n * @memberof ReservationRead\n */\n '@id'?: string;\n /**\n *\n * @type {string}\n * @memberof ReservationRead\n */\n '@type'?: string;\n /**\n * the database identifier of reservation\n * @type {number}\n * @memberof ReservationRead\n */\n id?: number;\n /**\n * firstname of the contactperson\n * @type {string}\n * @memberof ReservationRead\n */\n contactpersonFirstname?: string | null;\n /**\n * lastname of the contactperson\n * @type {string}\n * @memberof ReservationRead\n */\n contactpersonLastname?: string | null;\n /**\n * company of the contactperson\n * @type {string}\n * @memberof ReservationRead\n */\n company?: string | null;\n /**\n * chamber of commerce number of the company\n * @type {string}\n * @memberof ReservationRead\n */\n coc?: string | null;\n /**\n * streetname of the company\n * @type {string}\n * @memberof ReservationRead\n */\n street?: string | null;\n /**\n * housenumber of the company\n * @type {string}\n * @memberof ReservationRead\n */\n housenumber?: string | null;\n /**\n * zipcode of the company\n * @type {string}\n * @memberof ReservationRead\n */\n postalcode?: string | null;\n /**\n * city of the company\n * @type {string}\n * @memberof ReservationRead\n */\n city?: string | null;\n /**\n * country of the company in a 2 letter ISO 3166 format (default NL)\n * @type {string}\n * @memberof ReservationRead\n */\n country?: string | null;\n /**\n * phonenumber of the contactperson\n * @type {string}\n * @memberof ReservationRead\n */\n phonenumber?: string | null;\n /**\n * phonenumber of the company\n * @type {string}\n * @memberof ReservationRead\n */\n companyPhonenumber?: string | null;\n /**\n * indicates of the contactperson would like to receive newsletters\n * @type {boolean}\n * @memberof ReservationRead\n */\n newsletter?: boolean;\n /**\n * used for persisting the unprocessed address retrieved by the processor\n * @type {string}\n * @memberof ReservationRead\n */\n unprocessedAddress?: string | null;\n /**\n * the name of the event\n * @type {string}\n * @memberof ReservationRead\n */\n eventname?: string | null;\n /**\n * the name of the event that should be displayed at the hall entry\n * @type {string}\n * @memberof ReservationRead\n */\n hallEntry?: string | null;\n /**\n * name of the contactperson on location\n * @type {string}\n * @memberof ReservationRead\n */\n contactpersonLocation?: string | null;\n /**\n * a reference for the invoice provided by the customer\n * @type {string}\n * @memberof ReservationRead\n */\n invoiceReference?: string | null;\n /**\n * an additional comment about the invoice reference\n * @type {string}\n * @memberof ReservationRead\n */\n invoiceReferenceComment?: string | null;\n /**\n * percentage of commission\n * @type {number}\n * @memberof ReservationRead\n */\n commission?: number;\n /**\n * the discount in percentage given on the total invoice\n * @type {string}\n * @memberof ReservationRead\n */\n invoiceDiscount?: string;\n /**\n * the method the customer should use for the payment\n * @type {string}\n * @memberof ReservationRead\n */\n paymentMethod?: string | null;\n /**\n * current marking/state of the reservation in the workflow\n * @type {string}\n * @memberof ReservationRead\n */\n marking?: ReservationReadMarkingEnum;\n /**\n * the locale/language for this reservation (ISO 3166). if available, the mails to customer will be sent in this language\n * @type {string}\n * @memberof ReservationRead\n */\n locale?: string;\n /**\n * use the overbook option in the external system\n * @type {boolean}\n * @memberof ReservationRead\n */\n overbookMeeting?: boolean;\n /**\n * the date when an option will expire\n * @type {string}\n * @memberof ReservationRead\n */\n expirationDate?: string | null;\n /**\n * the generated reservation number in the platform (used in the correspondance with the customer)\n * @type {string}\n * @memberof ReservationRead\n */\n reservationNumber?: string | null;\n /**\n * the text representation of cancellation reason\n * @type {string}\n * @memberof ReservationRead\n */\n cancelReasonText?: string | null;\n /**\n * determines if the reservation was changed manually by an employee\n * @type {boolean}\n * @memberof ReservationRead\n */\n manuallyChanged?: boolean;\n /**\n * the reference of the agency\n * @type {string}\n * @memberof ReservationRead\n */\n agencyReference?: string | null;\n /**\n *\n * @type {Array}\n * @memberof ReservationRead\n */\n flags?: Array;\n /**\n *\n * @type {Array}\n * @memberof ReservationRead\n */\n days?: Array;\n /**\n *\n * @type {Array}\n * @memberof ReservationRead\n */\n rooms?: Array;\n /**\n *\n * @type {Array}\n * @memberof ReservationRead\n */\n files?: Array;\n /**\n *\n * @type {Array}\n * @memberof ReservationRead\n */\n remarks?: Array;\n /**\n *\n * @type {Array}\n * @memberof ReservationRead\n */\n apiLogs?: Array;\n /**\n *\n * @type {Array}\n * @memberof ReservationRead\n */\n mails?: Array;\n /**\n * a fee should be added if the customer cancels the reservation\n * @type {boolean}\n * @memberof ReservationRead\n */\n cancellationFee?: boolean | null;\n /**\n *\n * @type {LocationReservationRead}\n * @memberof ReservationRead\n */\n location?: LocationReservationRead | null;\n /**\n *\n * @type {MeetingReservationRead}\n * @memberof ReservationRead\n */\n meeting?: MeetingReservationRead | null;\n /**\n *\n * @type {ContractReservationRead}\n * @memberof ReservationRead\n */\n contract?: ContractReservationRead | null;\n /**\n *\n * @type {UserReservationRead}\n * @memberof ReservationRead\n */\n user?: UserReservationRead | null;\n /**\n * related case\n * @type {string}\n * @memberof ReservationRead\n */\n dossier?: string | null;\n /**\n *\n * @type {Array}\n * @memberof ReservationRead\n */\n mailAttachments?: Array;\n /**\n *\n * @type {Array}\n * @memberof ReservationRead\n */\n enabledTransitions?: Array;\n /**\n * The executor is an intermediate party, like a travel agent.\n * @type {ContactReservationRead}\n * @memberof ReservationRead\n */\n executorContact?: ContactReservationRead;\n /**\n *\n * @type {CompanyReservationRead}\n * @memberof ReservationRead\n */\n executorCompany?: CompanyReservationRead;\n /**\n * related contact on site\n * @type {ContactReservationRead}\n * @memberof ReservationRead\n */\n onsiteContact?: ContactReservationRead;\n /**\n * related partner\n * @type {string}\n * @memberof ReservationRead\n */\n partner?: string | null;\n /**\n *\n * @type {Array}\n * @memberof ReservationRead\n */\n types?: Array;\n /**\n * shows the source of the reservation (phone, manually, mail etc.)\n * @type {string}\n * @memberof ReservationRead\n */\n source?: ReservationReadSourceEnum;\n /**\n * the url to the terms and condition at the time of the reservation\n * @type {string}\n * @memberof ReservationRead\n */\n termsUrl?: string | null;\n /**\n *\n * @type {BookingEventTypeReservationRead}\n * @memberof ReservationRead\n */\n bookingEventType?: BookingEventTypeReservationRead | null;\n /**\n *\n * @type {string}\n * @memberof ReservationRead\n */\n createdAt?: string;\n /**\n *\n * @type {string}\n * @memberof ReservationRead\n */\n updatedAt?: string;\n /**\n *\n * @type {number}\n * @memberof ReservationRead\n */\n totalPrice?: number;\n}\n\nexport const ReservationReadMarkingEnum = {\n Start: 'start',\n AwaitingMailingLink: 'awaiting_mailing_link',\n LinkMailed: 'link_mailed',\n ProposalRequested: 'proposal_requested',\n AvailabilityChecking: 'availability_checking',\n AvailabilitySucceeded: 'availability_succeeded',\n AvailabilityFailed: 'availability_failed',\n HotelroomoptionChecking: 'hotelroomoption_checking',\n HotelroomoptionSucceeded: 'hotelroomoption_succeeded',\n HotelroomoptionFailed: 'hotelroomoption_failed',\n MeetingroomoptionChecking: 'meetingroomoption_checking',\n MeetingroomoptionSucceeded: 'meetingroomoption_succeeded',\n AwaitingMailingMeetingroomoptionChanges:\n 'awaiting_mailing_meetingroomoption_changes',\n MeetingroomoptionChangesMailed: 'meetingroomoption_changes_mailed',\n MeetingroomoptionFailed: 'meetingroomoption_failed',\n AwaitingMailingProposal: 'awaiting_mailing_proposal',\n ProposalMailed: 'proposal_mailed',\n ProposalMailedManually: 'proposal_mailed_manually',\n ProposalAccepted: 'proposal_accepted',\n HotelroombookingConfirming: 'hotelroombooking_confirming',\n HotelroombookingSucceeded: 'hotelroombooking_succeeded',\n HotelroombookingFailed: 'hotelroombooking_failed',\n MeetingroombookingConfirming: 'meetingroombooking_confirming',\n MeetingroombookingSucceeded: 'meetingroombooking_succeeded',\n MeetingroombookingFailed: 'meetingroombooking_failed',\n AwaitingMailingConfirmation: 'awaiting_mailing_confirmation',\n ConfirmationMailed: 'confirmation_mailed',\n ConfirmationMailedManually: 'confirmation_mailed_manually',\n Cancelled: 'cancelled',\n Expired: 'expired',\n ProcessedManually: 'processed_manually',\n NoAction: 'no_action',\n} as const;\n\nexport type ReservationReadMarkingEnum =\n (typeof ReservationReadMarkingEnum)[keyof typeof ReservationReadMarkingEnum];\nexport const ReservationReadTypesEnum = {\n Mice: 'mice',\n Hotel: 'hotel',\n} as const;\n\nexport type ReservationReadTypesEnum =\n (typeof ReservationReadTypesEnum)[keyof typeof ReservationReadTypesEnum];\nexport const ReservationReadSourceEnum = {\n Broker: 'broker',\n Mail: 'mail',\n Form: 'form',\n Booking: 'booking',\n Employee: 'employee',\n Phone: 'phone',\n} as const;\n\nexport type ReservationReadSourceEnum =\n (typeof ReservationReadSourceEnum)[keyof typeof ReservationReadSourceEnum];\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Thynk Direct API\n * The API for managing reservation for [Thynk Direct](https://thynk.cloud/).\n *\n * The version of the OpenAPI document: 4.20.16\n *\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n/**\n * Remarks added to a reservation created by the client, the system or by a Partner employee.\n * @export\n * @interface ReservationRemarkWrite\n */\nexport interface ReservationRemarkWrite {\n /**\n * the database identifier of reservation remark\n * @type {number}\n * @memberof ReservationRemarkWrite\n */\n id?: number;\n /**\n * type of remark (internal, external or something like a diet request)\n * @type {string}\n * @memberof ReservationRemarkWrite\n */\n type?: ReservationRemarkWriteTypeEnum;\n /**\n * the actual remark a user made\n * @type {string}\n * @memberof ReservationRemarkWrite\n */\n description: string;\n /**\n * the reservation which this remarks belongs to\n * @type {string}\n * @memberof ReservationRemarkWrite\n */\n reservation: string;\n /**\n * sets the remark for a specific (reservation) day\n * @type {string}\n * @memberof ReservationRemarkWrite\n */\n reservationDay?: string | null;\n}\n\nexport const ReservationRemarkWriteTypeEnum = {\n Internal: 'internal',\n External: 'external',\n Scribble: 'scribble',\n Tagtog: 'tagtog',\n Flag: 'flag',\n Note: 'note',\n DinnerRequest: 'dinner_request',\n DietaryRequirements: 'dietary_requirements',\n BreakfastRequest: 'breakfast_request',\n} as const;\n\nexport type ReservationRemarkWriteTypeEnum =\n (typeof ReservationRemarkWriteTypeEnum)[keyof typeof ReservationRemarkWriteTypeEnum];\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Thynk Direct API\n * The API for managing reservation for [Thynk Direct](https://thynk.cloud/).\n *\n * The version of the OpenAPI document: 4.20.16\n *\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n/**\n * A hotelroom and/or MICE reservation made (part of case).\n * @export\n * @interface ReservationTransition\n */\nexport interface ReservationTransition {\n /**\n * virtual property for applying a transition\n * @type {string}\n * @memberof ReservationTransition\n */\n applyTransition?: ReservationTransitionApplyTransitionEnum;\n}\n\nexport const ReservationTransitionApplyTransitionEnum = {\n AwaitingMailLink: 'awaiting_mail_link',\n MailLink: 'mail_link',\n RequestProposal: 'request_proposal',\n CheckAvailability: 'check_availability',\n FailedAvailability: 'failed_availability',\n SucceedAvailability: 'succeed_availability',\n RetryAvailability: 'retry_availability',\n CheckHotelroomoptionManually: 'check_hotelroomoption_manually',\n CheckHotelroomoption: 'check_hotelroomoption',\n FailedHotelroomoption: 'failed_hotelroomoption',\n SucceedHotelroomoption: 'succeed_hotelroomoption',\n RetryHotelroomoption: 'retry_hotelroomoption',\n CheckMeetingroomoption: 'check_meetingroomoption',\n FailedMeetingroomoption: 'failed_meetingroomoption',\n SucceedMeetingroomoption: 'succeed_meetingroomoption',\n RetryMeetingroomoption: 'retry_meetingroomoption',\n AwaitingMailProposal: 'awaiting_mail_proposal',\n MailProposal: 'mail_proposal',\n MailProposalManually: 'mail_proposal_manually',\n AcceptProposal: 'accept_proposal',\n ConfirmHotelroombookingManually: 'confirm_hotelroombooking_manually',\n ConfirmHotelroombooking: 'confirm_hotelroombooking',\n FailedHotelroombooking: 'failed_hotelroombooking',\n SucceedHotelroombooking: 'succeed_hotelroombooking',\n RetryHotelroombooking: 'retry_hotelroombooking',\n ConfirmMeetingroombooking: 'confirm_meetingroombooking',\n FailedMeetingroombooking: 'failed_meetingroombooking',\n SucceedMeetingroombooking: 'succeed_meetingroombooking',\n RetryMeetingroombooking: 'retry_meetingroombooking',\n AwaitingMailConfirmation: 'awaiting_mail_confirmation',\n MailConfirmation: 'mail_confirmation',\n MailConfirmationManually: 'mail_confirmation_manually',\n TurnDownByHotel: 'turn_down_by_hotel',\n TurnDownByHotelNoMail: 'turn_down_by_hotel_no_mail',\n TurnDownByCustomer: 'turn_down_by_customer',\n CancelByCustomer: 'cancel_by_customer',\n Expire: 'expire',\n Restart: 'restart',\n ProcessBroker: 'process_broker',\n} as const;\n\nexport type ReservationTransitionApplyTransitionEnum =\n (typeof ReservationTransitionApplyTransitionEnum)[keyof typeof ReservationTransitionApplyTransitionEnum];\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Thynk Direct API\n * The API for managing reservation for [Thynk Direct](https://thynk.cloud/).\n *\n * The version of the OpenAPI document: 4.20.16\n *\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n// May contain unused imports in some cases\n// @ts-ignore\nimport { CompanyReservationWrite } from './company-reservation-write';\n// May contain unused imports in some cases\n// @ts-ignore\nimport { ContactReservationWrite } from './contact-reservation-write';\n// May contain unused imports in some cases\n// @ts-ignore\nimport { ReservationDayReservationWrite } from './reservation-day-reservation-write';\n// May contain unused imports in some cases\n// @ts-ignore\nimport { ReservationMailReservationWrite } from './reservation-mail-reservation-write';\n// May contain unused imports in some cases\n// @ts-ignore\nimport { ReservationRemarkReservationWrite } from './reservation-remark-reservation-write';\n// May contain unused imports in some cases\n// @ts-ignore\nimport { ReservationRoomReservationWrite } from './reservation-room-reservation-write';\n\n/**\n * A hotelroom and/or MICE reservation made (part of case).\n * @export\n * @interface ReservationWrite\n */\nexport interface ReservationWrite {\n /**\n * virtual property for creating the user after the new request is received\n * @type {string}\n * @memberof ReservationWrite\n */\n emailaddress?: string;\n /**\n * virtual property which indicates if a reservation is an alternative for the initially requested reservation\n * @type {boolean}\n * @memberof ReservationWrite\n */\n isAlternative?: boolean;\n /**\n * firstname of the contactperson\n * @type {string}\n * @memberof ReservationWrite\n */\n contactpersonFirstname?: string | null;\n /**\n * lastname of the contactperson\n * @type {string}\n * @memberof ReservationWrite\n */\n contactpersonLastname?: string | null;\n /**\n * company of the contactperson\n * @type {string}\n * @memberof ReservationWrite\n */\n company?: string | null;\n /**\n * chamber of commerce number of the company\n * @type {string}\n * @memberof ReservationWrite\n */\n coc?: string | null;\n /**\n * streetname of the company\n * @type {string}\n * @memberof ReservationWrite\n */\n street?: string | null;\n /**\n * housenumber of the company\n * @type {string}\n * @memberof ReservationWrite\n */\n housenumber?: string | null;\n /**\n * zipcode of the company\n * @type {string}\n * @memberof ReservationWrite\n */\n postalcode?: string | null;\n /**\n * city of the company\n * @type {string}\n * @memberof ReservationWrite\n */\n city?: string | null;\n /**\n * country of the company in a 2 letter ISO 3166 format (default NL)\n * @type {string}\n * @memberof ReservationWrite\n */\n country?: string | null;\n /**\n * phonenumber of the contactperson\n * @type {string}\n * @memberof ReservationWrite\n */\n phonenumber?: string | null;\n /**\n * phonenumber of the company\n * @type {string}\n * @memberof ReservationWrite\n */\n companyPhonenumber?: string | null;\n /**\n * indicates of the contactperson would like to receive newsletters\n * @type {boolean}\n * @memberof ReservationWrite\n */\n newsletter?: boolean;\n /**\n * used for persisting the unprocessed address retrieved by the processor\n * @type {string}\n * @memberof ReservationWrite\n */\n unprocessedAddress?: string | null;\n /**\n * the name of the event\n * @type {string}\n * @memberof ReservationWrite\n */\n eventname?: string | null;\n /**\n * the name of the event that should be displayed at the hall entry\n * @type {string}\n * @memberof ReservationWrite\n */\n hallEntry?: string | null;\n /**\n * name of the contactperson on location\n * @type {string}\n * @memberof ReservationWrite\n */\n contactpersonLocation?: string | null;\n /**\n * a reference for the invoice provided by the customer\n * @type {string}\n * @memberof ReservationWrite\n */\n invoiceReference?: string | null;\n /**\n * an additional comment about the invoice reference\n * @type {string}\n * @memberof ReservationWrite\n */\n invoiceReferenceComment?: string | null;\n /**\n * percentage of commission\n * @type {number}\n * @memberof ReservationWrite\n */\n commission?: number;\n /**\n * the discount in percentage given on the total invoice\n * @type {string}\n * @memberof ReservationWrite\n */\n invoiceDiscount?: string;\n /**\n * the method the customer should use for the payment\n * @type {string}\n * @memberof ReservationWrite\n */\n paymentMethod?: string | null;\n /**\n * the locale/language for this reservation (ISO 3166). if available, the mails to customer will be sent in this language\n * @type {string}\n * @memberof ReservationWrite\n */\n locale?: string;\n /**\n * use the overbook option in the external system\n * @type {boolean}\n * @memberof ReservationWrite\n */\n overbookMeeting?: boolean;\n /**\n * the date when an option will expire\n * @type {string}\n * @memberof ReservationWrite\n */\n expirationDate?: string | null;\n /**\n *\n * @type {string}\n * @memberof ReservationWrite\n */\n tagtogUrl?: string | null;\n /**\n * the text representation of cancellation reason\n * @type {string}\n * @memberof ReservationWrite\n */\n cancelReasonText?: string | null;\n /**\n * the reference of the agency\n * @type {string}\n * @memberof ReservationWrite\n */\n agencyReference?: string | null;\n /**\n *\n * @type {Array}\n * @memberof ReservationWrite\n */\n flags?: Array;\n /**\n *\n * @type {Array}\n * @memberof ReservationWrite\n */\n days?: Array;\n /**\n *\n * @type {Array}\n * @memberof ReservationWrite\n */\n rooms?: Array;\n /**\n *\n * @type {Array}\n * @memberof ReservationWrite\n */\n remarks?: Array;\n /**\n *\n * @type {Array}\n * @memberof ReservationWrite\n */\n mails?: Array;\n /**\n * a fee should be added if the customer cancels the reservation\n * @type {boolean}\n * @memberof ReservationWrite\n */\n cancellationFee?: boolean | null;\n /**\n * location of the reservation where to booking should take place\n * @type {string}\n * @memberof ReservationWrite\n */\n location?: string | null;\n /**\n * type of meeting\n * @type {string}\n * @memberof ReservationWrite\n * @deprecated\n */\n meeting?: string | null;\n /**\n * used contract for this reservation\n * @type {string}\n * @memberof ReservationWrite\n */\n contract?: string | null;\n /**\n * related case\n * @type {string}\n * @memberof ReservationWrite\n */\n dossier?: string | null;\n /**\n * The executor is an intermediate party, like a travel agent.\n * @type {ContactReservationWrite}\n * @memberof ReservationWrite\n */\n executorContact?: ContactReservationWrite;\n /**\n *\n * @type {CompanyReservationWrite}\n * @memberof ReservationWrite\n */\n executorCompany?: CompanyReservationWrite;\n /**\n * related contact on site\n * @type {ContactReservationWrite}\n * @memberof ReservationWrite\n */\n onsiteContact?: ContactReservationWrite;\n /**\n * related partner\n * @type {string}\n * @memberof ReservationWrite\n */\n partner?: string | null;\n /**\n *\n * @type {Array}\n * @memberof ReservationWrite\n */\n types?: Array;\n /**\n * shows the source of the reservation (phone, manually, mail etc.)\n * @type {string}\n * @memberof ReservationWrite\n */\n source?: ReservationWriteSourceEnum;\n /**\n * the url to the terms and condition at the time of the reservation\n * @type {string}\n * @memberof ReservationWrite\n */\n termsUrl?: string | null;\n /**\n *\n * @type {string}\n * @memberof ReservationWrite\n */\n bookingEventType?: string | null;\n}\n\nexport const ReservationWriteTypesEnum = {\n Mice: 'mice',\n Hotel: 'hotel',\n} as const;\n\nexport type ReservationWriteTypesEnum =\n (typeof ReservationWriteTypesEnum)[keyof typeof ReservationWriteTypesEnum];\nexport const ReservationWriteSourceEnum = {\n Broker: 'broker',\n Mail: 'mail',\n Form: 'form',\n Booking: 'booking',\n Employee: 'employee',\n Phone: 'phone',\n} as const;\n\nexport type ReservationWriteSourceEnum =\n (typeof ReservationWriteSourceEnum)[keyof typeof ReservationWriteSourceEnum];\n","export default function useScrollTo() {\n const scrollToElement = (element: HTMLElement, offset: number): void => {\n const y: number =\n element.getBoundingClientRect().top + window.scrollY + offset;\n window.scrollTo({ top: y, behavior: 'smooth' });\n };\n\n const scrollTo = (id: string): void => {\n const element: HTMLElement | null = document.querySelector(`#${id}`);\n\n if (element instanceof HTMLElement) {\n scrollToElement(element, -25);\n }\n };\n\n const scrollToTop = (): void => {\n window.scrollTo({ top: 0, behavior: 'smooth' });\n };\n\n const scrollToFirstBlock = (): void => {\n const element: HTMLElement | null = document.querySelector(\n '.slide-container .form-block',\n );\n\n if (element instanceof HTMLElement) {\n scrollToElement(element, -25);\n } else {\n scrollToTop();\n }\n };\n\n return {\n scrollTo,\n scrollToTop,\n scrollToElement,\n scrollToFirstBlock,\n };\n}\n","import useScrollTo from '@/composables/useScrollTo';\nimport { State } from '@/store/index';\nimport { Module } from 'vuex';\n\nconst { scrollToFirstBlock } = useScrollTo();\n\nconst getDefaultState = () => ({\n mountedStep: 0 as number,\n currentStep: 1 as number,\n allowedSteps: [1, 2, 3, 4, 5] as Array,\n expandedStep: 1 as number | null,\n lastStep: 5 as number,\n stepCompletionStatus: [false, false, false, false, false] as Array,\n miceReservation: true,\n hotelReservation: true,\n});\n\nexport type formStepsState = ReturnType;\n\nexport const FormSteps: Module = {\n namespaced: true,\n\n state: getDefaultState(),\n\n mutations: {\n incrementStep(state: formStepsState) {\n if (state.currentStep < state.lastStep) {\n state.currentStep++;\n\n if (state.currentStep === 2 && !state.miceReservation) {\n state.currentStep++;\n }\n\n if (state.currentStep === 3 && !state.hotelReservation) {\n state.currentStep++;\n }\n\n state.expandedStep = state.currentStep;\n\n scrollToFirstBlock();\n }\n },\n\n decrementStep(state: formStepsState) {\n if (state.currentStep > 1) {\n state.currentStep--;\n\n if (state.currentStep === 3 && !state.hotelReservation) {\n state.currentStep--;\n }\n\n if (state.currentStep === 2 && !state.miceReservation) {\n state.currentStep--;\n }\n\n state.expandedStep = state.currentStep;\n\n scrollToFirstBlock();\n }\n },\n\n setStep(state: formStepsState, step: number) {\n if (state.currentStep === step && state.expandedStep !== null) {\n state.expandedStep = null;\n return;\n }\n\n // Previous steps not yet completed\n if (\n !state.stepCompletionStatus\n .filter((value: boolean, index: number) => index < step - 1)\n .every((valid: boolean) => valid)\n ) {\n return;\n }\n\n if (state.currentStep !== step) {\n scrollToFirstBlock();\n }\n\n state.currentStep = step;\n state.expandedStep = step;\n },\n\n setStepComplete(state: formStepsState, step: number) {\n if (step in state.allowedSteps) {\n state.stepCompletionStatus[step - 1] = true;\n }\n },\n\n setMiceReservation(state: formStepsState, isMiceReservation: boolean) {\n state.miceReservation = isMiceReservation;\n },\n\n setHotelReservation(state: formStepsState, isHotelReservation: boolean) {\n state.hotelReservation = isHotelReservation;\n },\n\n setStepIncomplete(state: formStepsState, step: number) {\n if (step in state.allowedSteps) {\n state.stepCompletionStatus[step - 1] = false;\n }\n },\n\n setMountedStep(state: formStepsState, step: number) {\n state.mountedStep = step;\n },\n },\n};\n","import { State } from '@/store/index';\nimport { Module } from 'vuex';\nimport {\n HallApi,\n HallApiHallsSuitableGetCollectionRequest,\n HallRead,\n} from '@/api';\nimport axios from 'axios';\nimport helpers from '../services/helpers';\n\nfunction getFunctionSpaceApi(): HallApi {\n return new HallApi(undefined, import.meta.env.VITE_PROXY_URL, axios);\n}\n\nconst getDefaultState = () => ({\n allSpaces: [] as Array,\n});\n\nexport type functionSpaceState = ReturnType;\n\nexport const FunctionSpaces: Module = {\n namespaced: true,\n\n state: getDefaultState(),\n\n mutations: {\n setSpaces(state, response: Array) {\n state.allSpaces = response;\n },\n },\n\n actions: {\n async fetchAllSpaces({ commit }, locationId: number) {\n const api = getFunctionSpaceApi();\n const response = await api.hallsGetCollection({\n location: `/api/locations/${locationId}`,\n available: true,\n });\n\n commit('setSpaces', response.data['hydra:member']);\n },\n\n async fetchSuitableSpaces(\n _,\n {\n locationId,\n settings,\n }: {\n locationId: number;\n settings: HallApiHallsSuitableGetCollectionRequest;\n },\n ) {\n const api = getFunctionSpaceApi();\n const response = await api.hallsSuitableGetCollection({\n location: `/api/locations/${locationId}`,\n emplacement: helpers.getIRI(settings.emplacement, '/api/emplacements/'),\n startTime: settings.startTime ?? undefined,\n endTime: settings.endTime ?? undefined,\n pax: settings.pax ?? undefined,\n available: true,\n date: settings.date ?? undefined,\n });\n\n return response.data['hydra:member'];\n },\n },\n};\n","import { State } from '@/store/index';\nimport { Module } from 'vuex';\nimport { ItemApi, ItemRead } from '@/api';\nimport axios from 'axios';\nimport helpers from '../services/helpers';\n\nfunction getItemApi(): ItemApi {\n return new ItemApi(undefined, import.meta.env.VITE_PROXY_URL, axios);\n}\n\nconst getDefaultState = () => ({\n items: {} as Record<'audiovisual' | 'food_beverage' | 'other', ItemRead[]>,\n loading: false,\n});\n\nexport type itemState = ReturnType;\n\nexport const Items: Module = {\n namespaced: true,\n\n state: getDefaultState(),\n\n mutations: {\n setItems(state: itemState, response: Array) {\n state.items = helpers.groupBy(response, 'category');\n },\n setLoading(state: itemState, isLoading: boolean) {\n state.loading = isLoading;\n },\n },\n\n actions: {\n async fetchItems({ commit }, locationId: number) {\n commit('setLoading', true);\n\n const ItemApi = getItemApi();\n const response = await ItemApi.itemsGetCollection({\n location: `/api/locations/${locationId}`,\n available: true,\n });\n\n commit('setItems', response.data['hydra:member']);\n commit('setLoading', false);\n },\n },\n};\n","import {\n LocationApi,\n LocationRead,\n LocationsGetCollection200Response,\n} from '@/api';\nimport { State } from '@/store/index';\nimport axios, { AxiosResponse } from 'axios';\nimport { Module } from 'vuex';\n\nfunction getLocationApi(): LocationApi {\n return new LocationApi(undefined, import.meta.env.VITE_PROXY_URL, axios);\n}\n\nconst getDefaultState = () => ({\n locations: [] as LocationRead[],\n locationsPromise: Promise.resolve({} as AxiosResponse) as Promise<\n AxiosResponse\n >,\n});\n\nexport type locationsState = ReturnType;\n\nexport const Locations: Module = {\n namespaced: true,\n\n state: getDefaultState(),\n\n mutations: {\n setLocations(\n state: locationsState,\n response: LocationsGetCollection200Response,\n ) {\n state.locations = response['hydra:member'];\n },\n setPromise(\n state: locationsState,\n promise: Promise>,\n ) {\n state.locationsPromise = promise;\n },\n },\n\n actions: {\n async fetchLocations({ commit, state }) {\n const locationApi = getLocationApi();\n commit(\n 'setPromise',\n locationApi.locationsGetCollection({\n available: true,\n }),\n );\n const response = await state.locationsPromise;\n commit('setLocations', response.data);\n },\n },\n};\n","import {\n LocationRead,\n PackageDealApi,\n PackageDealApiLocationsBasePackageDealCollectionRequest,\n PackageDealApiReservationBasePackageDealCollectionRequest,\n ReservationDayHallRead,\n} from '@/api';\nimport axios from 'axios';\nimport { Module } from 'vuex';\n\nfunction getPackageDealApi(): PackageDealApi {\n return new PackageDealApi(undefined, import.meta.env.VITE_PROXY_URL, axios);\n}\n\nexport const PackageDeals: Module = {\n namespaced: true,\n\n actions: {\n async fetchBasePackageDeal(\n _,\n parameters: {\n email: string;\n selectedLocation: LocationRead;\n date: string;\n startTime: string;\n endTime: string;\n pax: number;\n },\n ) {\n const request = {\n id: parameters.selectedLocation.id,\n ...parameters,\n } as PackageDealApiLocationsBasePackageDealCollectionRequest;\n const packageDealApi = getPackageDealApi();\n const response =\n await packageDealApi.locationsIdpackageDealsGetCollection(request);\n\n return response.data['hydra:member'];\n },\n\n async fetchReservationPackageDeal(\n _,\n parameters: { hall: ReservationDayHallRead; id: number },\n ) {\n parameters.hall.id = parameters.id;\n const packageDealApi = getPackageDealApi();\n const response =\n await packageDealApi.reservationBasePackageDealCollection(\n parameters.hall as PackageDealApiReservationBasePackageDealCollectionRequest,\n );\n return response.data['hydra:member'];\n },\n },\n};\n","import { State } from '@/store/index';\nimport { Module } from 'vuex';\nimport {\n PartnerApi,\n PartnerRead,\n PartnersGetCollection200Response,\n} from '@/api';\nimport axios from 'axios';\n\nfunction getPartnerApi(): PartnerApi {\n return new PartnerApi(undefined, import.meta.env.VITE_PROXY_URL, axios);\n}\n\nconst getDefaultState = () => ({\n partner: {} as PartnerRead,\n});\n\nexport type partnerState = ReturnType;\n\nexport const Partner: Module = {\n namespaced: true,\n\n state: getDefaultState(),\n\n mutations: {\n setPartner(state, response: PartnersGetCollection200Response) {\n state.partner = response['hydra:member'][0];\n },\n },\n\n actions: {\n async fetchPartner({ commit }) {\n const partnerApi = getPartnerApi();\n const response = await partnerApi.partnersGetCollection();\n commit('setPartner', response.data);\n },\n },\n};\n","import {\n BookingApi,\n BookingBookingBillingRead,\n BookingHotelRoomBookingWrite,\n BookingMeetingRoomBookingWrite,\n BookingRemarkBookingWrite,\n BookingRemarkBookingWriteTypeEnum,\n BookingWrite,\n LocationRead,\n LocationReservationRead,\n ReservationApi,\n ReservationDayHallRead,\n ReservationDayRead,\n ReservationDayReservationWrite,\n ReservationRead,\n ReservationReadTypesEnum,\n ReservationRemarkReservationWrite,\n ReservationRemarkWriteTypeEnum,\n ReservationRoomRead,\n ReservationTransitionApplyTransitionEnum,\n ReservationWrite,\n ReservationWriteSourceEnum,\n} from '@/api';\nimport helpers from '@/services/helpers';\nimport { State } from '@/store/index';\nimport axios from 'axios';\nimport { add, eachDayOfInterval, format, parseISO } from 'date-fns';\nimport { cloneDeep } from 'lodash-es';\nimport { Module } from 'vuex';\n\nfunction getReservationApiBypass(): ReservationApi {\n return new ReservationApi(\n undefined,\n import.meta.env.VITE_PROXY_BYPASS_URL,\n axios,\n );\n}\n\nfunction getReservationApi(): ReservationApi {\n return new ReservationApi(undefined, import.meta.env.VITE_PROXY_URL, axios);\n}\n\nfunction getBookingApi(): BookingApi {\n return new BookingApi(undefined, import.meta.env.VITE_PROXY_URL, axios);\n}\n\nconst getDefaultState = () => ({\n bookingToken: null as string | null,\n bookingId: null as null | number | undefined,\n transitions: [] as string[],\n reservation: {\n days: [],\n rooms: [],\n location: {\n name: '',\n },\n meeting: {\n name: '',\n },\n } as ReservationRead,\n config: {\n headers: {\n username: '' as string,\n key: '' as string,\n },\n withCredentials: false,\n } as Record,\n reservationLoading: false as boolean,\n reservationSubmitting: false as boolean,\n});\n\nfunction parseBookingData(booking: BookingBookingBillingRead): ReservationRead {\n return parseReservationData({\n ...booking,\n street: booking.address,\n user: {\n email: booking.email,\n },\n contactpersonFirstname: booking.contactPersonFirstname,\n contactpersonLastname: booking.contactPersonLastname,\n phonenumber: booking.contactPersonPhonenumber,\n days: booking.meetingRooms?.map((day) => ({\n ...day,\n items: day.items?.map((item) => ({\n ...item,\n item: item.itemObject,\n })),\n halls: day.halls?.map((hall) => ({\n ...hall,\n emplacement: hall.emplacementObject,\n })),\n packageDeals: day.packageDeals?.map((deal) => ({\n ...deal,\n packageDeal: {\n ...deal.packageDealObject,\n items:\n deal.packageDealObject?.items?.map((item) => ({\n ...item,\n item: item.itemObject,\n })) ?? [],\n packageDeal: deal.packageDealObject,\n },\n })),\n })),\n meeting: booking.meetingTypeObject ?? booking.eventTypeRead,\n rooms: booking.hotelRooms,\n location: booking.locationObject,\n });\n}\n\nfunction parseReservationDay(\n day: BookingMeetingRoomBookingWrite,\n): ReservationDayReservationWrite {\n return {\n ...day,\n halls: day.halls?.map((hall) => ({\n ...hall,\n emplacement: helpers.getIRI(hall.emplacement, '/api/emplacements/'),\n pax: Math.round(hall.pax ?? 1),\n hall: helpers.getIRI(hall.hall, '/api/halls/'),\n })),\n items: day.items?.map((item) => ({\n ...item,\n item: helpers.getIRI(item.item, '/api/items/') ?? null,\n amount: Math.round(item.amount ?? 1),\n })),\n packageDeals: day.packageDeals?.map((packageDeal) => ({\n packageDeal:\n helpers.getIRI(packageDeal.packageDeal, '/api/package_deals/') ?? null,\n amount: day.pax,\n })),\n };\n}\n\nfunction parseReservationDataBeforeRequest(\n data: Record,\n): ReservationWrite {\n data = JSON.parse(JSON.stringify(data));\n data.remarks = [];\n data.days = data.days?.map(parseReservationDay);\n if (data.rooms) {\n const breakfastSelectable =\n data.location.locationSettings.breakfastSelectable;\n const breakfastDefault =\n data.location.locationSettings.breakfastEnabledByDefault;\n data.rooms.forEach((room: Record) => {\n room.breakfast = breakfastSelectable\n ? room.breakfast ?? breakfastDefault\n : breakfastDefault;\n room.amount = Math.round(room.amount);\n room.paxRoom = Math.round(room.paxRoom);\n room.roomType = room.locationRoomType;\n if (room.comments) {\n const remark: ReservationRemarkReservationWrite = {\n description: `Hotel ${room.description}: ${room.comments}`,\n type: ReservationRemarkWriteTypeEnum.Internal,\n };\n data.remarks.push(remark);\n }\n });\n }\n data.location = helpers.getIRI(data.location, '/api/locations/');\n data.bookingEventType = helpers.getIRI(\n data.bookingEventType ?? data.meeting,\n '/api/booking_event_types/',\n );\n\n data.source = ReservationWriteSourceEnum.Form;\n if (data.miceRemarks) {\n const remark: ReservationRemarkReservationWrite = {\n description: data.miceRemarks,\n type: ReservationRemarkWriteTypeEnum.Internal,\n };\n data.remarks.push(remark);\n delete data.miceRemarks; // Prevent duplicate insertion\n }\n if (data.discountCode) {\n const remark: ReservationRemarkReservationWrite = {\n description: `Discount code: ${data.discountCode}`,\n type: ReservationRemarkWriteTypeEnum.Note,\n };\n data.remarks.push(remark);\n delete data.discountCode;\n }\n if (data.contract) {\n delete data.contract;\n }\n return data as ReservationWrite;\n}\n\nfunction parseReservationData(data: ReservationRead) {\n const reservation: Record = Object.assign({}, data);\n if (!data.types?.includes(ReservationReadTypesEnum.Hotel)) {\n delete reservation.rooms;\n }\n if (!data.types?.includes(ReservationReadTypesEnum.Mice)) {\n delete reservation.days;\n delete reservation.meeting;\n delete reservation.eventname;\n }\n reservation.days?.forEach((day: ReservationDayRead) => {\n if (day.halls) {\n day.halls.forEach((hall) => {\n hall.price = hall.priceOverride ?? hall.price;\n hall.hall = hall.hallObject;\n });\n }\n\n if (day.items) {\n day.items!.forEach((item) => {\n item.time = item.time ?? item.startTime;\n });\n }\n });\n reservation.emailaddress = data.user?.email;\n return reservation;\n}\n\nfunction parseReservationRoomToBookingRoom(\n room: ReservationRoomRead,\n remarks: BookingRemarkBookingWrite[],\n): BookingHotelRoomBookingWrite {\n if (room.comments) {\n const remark: BookingRemarkBookingWrite = {\n description: `Hotel ${room.description}: ${room.comments}`,\n type: BookingRemarkBookingWriteTypeEnum.Internal,\n };\n remarks.push(remark);\n }\n return {\n ...room,\n amount: Math.round(room.amount ?? 1),\n paxRoom: Math.round(room.paxRoom ?? 1),\n roomType:\n helpers.getIRI(room.locationRoomType, '/api/location_room_types/') ??\n null,\n } as BookingHotelRoomBookingWrite;\n}\n\nfunction parseReservationToBooking(reservation: ReservationRead): BookingWrite {\n const remarks = [] as BookingRemarkBookingWrite[];\n if (reservation.miceRemarks) {\n const remark: ReservationRemarkReservationWrite = {\n description: reservation.miceRemarks,\n type: ReservationRemarkWriteTypeEnum.Internal,\n };\n remarks.push(remark);\n }\n if (reservation.discountCode) {\n const remark: ReservationRemarkReservationWrite = {\n description: `Discount code: ${reservation.discountCode}`,\n type: ReservationRemarkWriteTypeEnum.Note,\n };\n remarks.push(remark);\n }\n return {\n location: helpers.getIRI(reservation.location, '/api/locations/') ?? null,\n email: reservation.emailaddress,\n types: reservation.types ?? null,\n eventName: reservation.eventname ?? null,\n eventType:\n helpers.getIRI(reservation.meeting, '/api/booking_event_types/') ?? null,\n hotelRooms: reservation.rooms?.map((room) =>\n parseReservationRoomToBookingRoom(room, remarks),\n ),\n meetingRooms: reservation.days?.map(parseReservationDay) ?? null,\n company: reservation.company ?? null,\n country: reservation.country ?? null,\n postalcode: reservation.postalcode ?? null,\n city: reservation.city ?? null,\n address: [reservation.street, reservation.housenumber].join(' ').trim(),\n invoiceReference: reservation.invoiceReference ?? null,\n contactPersonFirstname: reservation.contactpersonFirstname ?? null,\n contactPersonLastname: reservation.contactpersonLastname ?? null,\n contactPersonPhonenumber: reservation.phonenumber ?? null,\n executorContact: null,\n onsiteContact: {\n firstname: reservation.onsiteContact?.firstname ?? null,\n lastname: reservation.onsiteContact?.lastname ?? null,\n email: reservation.onsiteContact?.email ?? null,\n phonenumber: reservation.onsiteContact?.phonenumber ?? null,\n },\n locale: reservation.locale?.slice(0, 2) ?? undefined,\n remarks: remarks,\n };\n}\n\nfunction parseURLParams(\n data: Record,\n params: Record,\n locations: LocationRead[],\n) {\n const reservation: ReservationRead = Object.assign({}, data);\n const hasMice = (params?.mice ?? 'true') === 'true'; // fallback to true\n const hasHotel = (params?.hotel ?? 'false') === 'true'; // fallback to false\n\n reservation.types = [];\n if (hasMice) {\n reservation.types.push(ReservationReadTypesEnum.Mice);\n }\n if (hasHotel) {\n reservation.types.push(ReservationReadTypesEnum.Hotel);\n }\n\n reservation.company = params.company;\n reservation.country = params.country;\n\n reservation.street = params.address;\n reservation.housenumber = params.houseNumber;\n reservation.postalcode = params.postalCode;\n reservation.city = params.city;\n reservation.contactpersonFirstname = params.firstName;\n reservation.contactpersonLastname = params.lastName;\n reservation.phonenumber = params.phone;\n reservation.emailaddress = params.email;\n reservation.discountCode = params.promo;\n\n if (params.locationID) {\n const locationID = parseInt(params.locationID, 10);\n reservation.location = locations.find(\n (location: LocationRead) => location.id === locationID,\n ) as LocationReservationRead;\n }\n const defaultHall: ReservationDayHallRead = {};\n const pax = params.pax ? parseInt(params.pax, 10) : 1;\n if (params.pax) {\n defaultHall.pax = pax;\n }\n const startDate = params.startDate;\n const endDate = params.endDate ?? startDate;\n if (startDate) {\n reservation.days = [];\n reservation.rooms = [];\n const start = parseISO(startDate);\n const end = parseISO(endDate);\n const interval = eachDayOfInterval({ start, end });\n if (hasMice) {\n for (const day of interval) {\n reservation.days.push({\n date: format(day, 'yyyy-MM-dd'),\n halls: [cloneDeep(defaultHall)],\n packageDeals: [{}],\n items: [],\n });\n }\n }\n if (hasHotel) {\n const perRoom = params.perRoom ? parseInt(params.perRoom, 10) : 2;\n reservation.rooms.push({\n amount: Math.ceil(pax / perRoom),\n startDate: format(start, 'yyyy-MM-dd'),\n endDate: format(add(end, { days: 1 }), 'yyyy-MM-dd'),\n paxRoom: perRoom,\n type: 'standard',\n breakfast: true,\n description: reservation.company ?? '',\n });\n }\n }\n\n return reservation;\n}\n\nexport type reservationState = ReturnType;\n\nexport const Reservation: Module = {\n namespaced: true,\n\n state: getDefaultState(),\n\n mutations: {\n setReservation(state, reservation: ReservationWrite) {\n reservation.locale = state.reservation.locale; // Prevent overwriting locale. Have to use setReservationLocale\n state.reservation = JSON.parse(JSON.stringify(reservation));\n },\n setReservationLoading(state, isLoading: boolean) {\n state.reservationLoading = isLoading;\n },\n setReservationSubmitting(state, isSubmitting: boolean) {\n state.reservationSubmitting = isSubmitting;\n },\n setConfig(state, config: Record) {\n state.config = config;\n },\n setReservationLocale(state, locale: string) {\n state.reservation.locale = locale;\n },\n setBookingId(state, id: number | null | undefined) {\n state.bookingId = id;\n },\n setBookingToken(state, token: string) {\n state.bookingToken = token;\n },\n setBookingTransitions(state, transitions: string[]) {\n state.transitions = transitions;\n },\n },\n\n actions: {\n async getReservation(store, { id }) {\n const reservationApi = getReservationApiBypass();\n const response = await reservationApi.reservationsIdGet(\n { id },\n store.state.config,\n );\n return parseReservationData(response.data);\n },\n\n async acceptReservation(store, { id }) {\n const reservationApi = getReservationApiBypass();\n await reservationApi.reservationsApplyTransitionPut(\n {\n id,\n reservationTransition: {\n applyTransition:\n ReservationTransitionApplyTransitionEnum.AcceptProposal,\n },\n },\n store.state.config,\n );\n },\n\n async cancelReservation(store, { id, reason }) {\n const reservationApi = getReservationApiBypass();\n\n // Set cancellation reason\n const reservationData = parseReservationDataBeforeRequest(\n store.state.reservation,\n );\n reservationData.cancelReasonText = reason;\n reservationData.remarks!.push({\n type: ReservationRemarkWriteTypeEnum.Internal,\n description: `Reason for cancelling: ${reason}`,\n });\n await reservationApi.reservationsIdPut(\n {\n id: store.state.reservation.id!.toString(),\n reservationWrite: reservationData,\n },\n store.state.config,\n );\n\n await reservationApi.reservationsApplyTransitionPut(\n {\n id,\n reservationTransition: {\n applyTransition:\n ReservationTransitionApplyTransitionEnum.CancelByCustomer,\n },\n },\n store.state.config,\n );\n },\n\n async turnDownReservation(store, { id, reason }) {\n const reservationApi = getReservationApiBypass();\n\n // Set cancellation reason\n const reservationData = parseReservationDataBeforeRequest(\n store.state.reservation,\n );\n reservationData.cancelReasonText = reason;\n reservationData.remarks!.push({\n type: ReservationRemarkWriteTypeEnum.Internal,\n description: `Reason for turning down: ${reason}`,\n });\n await reservationApi.reservationsIdPut(\n {\n id: store.state.reservation.id!.toString(),\n reservationWrite: reservationData,\n },\n store.state.config,\n );\n\n await reservationApi.reservationsApplyTransitionPut(\n {\n id,\n reservationTransition: {\n applyTransition:\n ReservationTransitionApplyTransitionEnum.TurnDownByCustomer,\n },\n },\n store.state.config,\n );\n },\n\n async postReservation(store) {\n const api = getReservationApi();\n const reservationData = parseReservationDataBeforeRequest(\n store.state.reservation,\n );\n const response = await api.reservationsPost({\n reservationWrite: reservationData,\n });\n return response.data;\n },\n\n async putReservation(store) {\n const api = getReservationApiBypass();\n const reservationData = parseReservationDataBeforeRequest(\n store.state.reservation,\n );\n const response = await api.reservationsIdPut(\n {\n id: store.state.reservation.id!.toString(),\n reservationWrite: reservationData,\n },\n store.state.config,\n );\n if (\n store.state.reservation.enabledTransitions?.includes(\n ReservationTransitionApplyTransitionEnum.Restart,\n )\n ) {\n await api.reservationsApplyTransitionPut(\n {\n id: store.state.reservation.id!.toString(),\n reservationTransition: {\n applyTransition: ReservationTransitionApplyTransitionEnum.Restart,\n },\n },\n store.state.config,\n );\n }\n return response.data;\n },\n\n async getBooking(_, { id, username, key }) {\n const api = getBookingApi();\n let response;\n if (username && key) {\n response = await api.reservationsBookingConfirmationGet(\n { id },\n { headers: { username, key } },\n );\n } else {\n response = await api.reservationsBookingBillingGet(\n { id },\n { withCredentials: true },\n );\n }\n return parseBookingData(response.data);\n },\n\n async postBooking(store) {\n const api = getBookingApi();\n const data = parseReservationToBooking(store.state.reservation);\n const response = await api.reservationsBookingPost(\n {\n bookingWrite: data,\n },\n { withCredentials: true },\n );\n store.commit('setBookingId', response.data.id);\n },\n\n async putBooking(store) {\n const api = getBookingApi();\n const data = parseReservationToBooking(store.state.reservation);\n const response = await api.reservationsBookingPut(\n {\n id: store.state.bookingId!.toString(),\n bookingWrite: data,\n },\n { withCredentials: true },\n );\n store.commit('setBookingTransitions', response.data.transitions);\n },\n\n async setBookingStatus(store, status: string) {\n const api = getBookingApi();\n await api.bookingUpdateStatus(\n {\n id: store.state.bookingId!.toString(),\n bookingJsonldBookingStatusWrite: {\n transition: status,\n },\n },\n { withCredentials: true },\n );\n },\n\n setReservationLoading({ commit }, isLoading: boolean) {\n commit('setReservationLoading', isLoading);\n },\n\n setReservationSubmitting({ commit }, isSubmitting: boolean) {\n commit('setReservationSubmitting', isSubmitting);\n },\n\n async parseRouteParams(\n store,\n p: { params: Record; locations: LocationRead[] },\n ) {\n return parseURLParams(store.state.reservation, p.params, p.locations);\n },\n },\n};\n","import {\n BookingHotelRoomBookingBillingRead,\n LocationRoomTypeApi,\n LocationRoomTypeRead,\n LocationRoomTypesGetCollection200Response,\n ReservationRoomRead,\n} from '@/api';\nimport helpers from '@/services/helpers';\nimport { State } from '@/store/index';\nimport axios from 'axios';\nimport { Module } from 'vuex';\n\nfunction getApi(): LocationRoomTypeApi {\n return new LocationRoomTypeApi(\n undefined,\n import.meta.env.VITE_PROXY_URL,\n axios,\n );\n}\n\nconst getDefaultState = () => ({\n roomTypes: [] as LocationRoomTypeRead[],\n loading: false,\n});\n\nexport type roomTypesState = ReturnType;\n\nexport const RoomTypes: Module = {\n namespaced: true,\n\n state: getDefaultState(),\n\n mutations: {\n setRoomTypes(state, response: LocationRoomTypesGetCollection200Response) {\n state.roomTypes = response['hydra:member'];\n },\n setLoading(state, isLoading: boolean) {\n state.loading = isLoading;\n },\n },\n\n actions: {\n async fetchRoomTypes({ commit }, locationId: number) {\n commit('setLoading', true);\n\n const api = getApi();\n const response = await api.locationRoomTypesGetCollection({\n location: `/api/locations/${locationId}`,\n });\n\n commit('setRoomTypes', response.data);\n commit('setLoading', false);\n },\n },\n\n getters: {\n getRoomTypeByRoom:\n (state) =>\n (room: ReservationRoomRead | BookingHotelRoomBookingBillingRead) => {\n const roomTypeID = parseInt(\n helpers.extractID(room.locationRoomType ?? room.roomTypeObject) ?? '',\n 10,\n );\n return state.roomTypes.find((roomType) => {\n return (\n roomType.id === roomTypeID ||\n (roomType.mappedRoomType && roomType.mappedRoomType === room.type)\n );\n });\n },\n\n fetchAvailability:\n () => async (room: ReservationRoomRead, locationId?: number) => {\n const api = getApi();\n const response = await api.locationRoomTypesavailabilitiesGetCollection(\n {\n page: 1,\n itemsPerPage: 999,\n arrivalDate: room.startDate ?? undefined,\n departureDate: room.endDate ?? undefined,\n amount: room.amount ?? 1,\n locationId,\n },\n );\n return response.data['hydra:member'];\n },\n },\n};\n","import { EmplacementApi, LocationEmplacementApi, EmplacementRead } from '@/api';\nimport { State } from '@/store/index';\nimport axios from 'axios';\nimport { Module } from 'vuex';\n\nfunction getEmplacementApi(): EmplacementApi {\n return new EmplacementApi(undefined, import.meta.env.VITE_PROXY_URL, axios);\n}\n\nfunction getLocationEmplacementApi(): LocationEmplacementApi {\n return new LocationEmplacementApi(\n undefined,\n import.meta.env.VITE_PROXY_URL,\n axios,\n );\n}\n\nconst getDefaultState = () => ({\n emplacements: [] as EmplacementRead[],\n lastLocation: undefined as number | undefined,\n});\n\nexport type emplacementsState = ReturnType;\n\nexport const Emplacements: Module = {\n namespaced: true,\n\n state: getDefaultState(),\n\n mutations: {\n setEmplacements(state, emplacements: EmplacementRead[]) {\n state.emplacements = emplacements;\n },\n setLastLocation(state, location?: number) {\n state.lastLocation = location;\n },\n },\n\n actions: {\n async fetchEmplacements({ commit, state }, locationId: number) {\n if (state.lastLocation === locationId) {\n return;\n }\n\n commit('setLastLocation', locationId);\n\n const api = getLocationEmplacementApi();\n const response = await api.locationEmplacementsGetCollection({\n location: locationId.toString(10),\n });\n\n const emplacements = response.data['hydra:member'].map(\n (locationEmplacement) => locationEmplacement.emplacement!,\n );\n\n if (emplacements.length > 0) {\n commit('setEmplacements', emplacements);\n return;\n }\n\n const fallbackApi = getEmplacementApi();\n const fallbackResponse = await fallbackApi.emplacementsGetCollection();\n commit('setEmplacements', fallbackResponse.data['hydra:member']);\n },\n },\n};\n","export function getDevtoolsGlobalHook() {\n return getTarget().__VUE_DEVTOOLS_GLOBAL_HOOK__;\n}\nexport function getTarget() {\n // @ts-expect-error navigator and windows are not available in all environments\n return (typeof navigator !== 'undefined' && typeof window !== 'undefined')\n ? window\n : typeof globalThis !== 'undefined'\n ? globalThis\n : {};\n}\nexport const isProxyAvailable = typeof Proxy === 'function';\n","export const HOOK_SETUP = 'devtools-plugin:setup';\nexport const HOOK_PLUGIN_SETTINGS_SET = 'plugin:settings:set';\n","let supported;\nlet perf;\nexport function isPerformanceSupported() {\n var _a;\n if (supported !== undefined) {\n return supported;\n }\n if (typeof window !== 'undefined' && window.performance) {\n supported = true;\n perf = window.performance;\n }\n else if (typeof globalThis !== 'undefined' && ((_a = globalThis.perf_hooks) === null || _a === void 0 ? void 0 : _a.performance)) {\n supported = true;\n perf = globalThis.perf_hooks.performance;\n }\n else {\n supported = false;\n }\n return supported;\n}\nexport function now() {\n return isPerformanceSupported() ? perf.now() : Date.now();\n}\n","import { HOOK_PLUGIN_SETTINGS_SET } from './const.js';\nimport { now } from './time.js';\nexport class ApiProxy {\n constructor(plugin, hook) {\n this.target = null;\n this.targetQueue = [];\n this.onQueue = [];\n this.plugin = plugin;\n this.hook = hook;\n const defaultSettings = {};\n if (plugin.settings) {\n for (const id in plugin.settings) {\n const item = plugin.settings[id];\n defaultSettings[id] = item.defaultValue;\n }\n }\n const localSettingsSaveId = `__vue-devtools-plugin-settings__${plugin.id}`;\n let currentSettings = Object.assign({}, defaultSettings);\n try {\n const raw = localStorage.getItem(localSettingsSaveId);\n const data = JSON.parse(raw);\n Object.assign(currentSettings, data);\n }\n catch (e) {\n // noop\n }\n this.fallbacks = {\n getSettings() {\n return currentSettings;\n },\n setSettings(value) {\n try {\n localStorage.setItem(localSettingsSaveId, JSON.stringify(value));\n }\n catch (e) {\n // noop\n }\n currentSettings = value;\n },\n now() {\n return now();\n },\n };\n if (hook) {\n hook.on(HOOK_PLUGIN_SETTINGS_SET, (pluginId, value) => {\n if (pluginId === this.plugin.id) {\n this.fallbacks.setSettings(value);\n }\n });\n }\n this.proxiedOn = new Proxy({}, {\n get: (_target, prop) => {\n if (this.target) {\n return this.target.on[prop];\n }\n else {\n return (...args) => {\n this.onQueue.push({\n method: prop,\n args,\n });\n };\n }\n },\n });\n this.proxiedTarget = new Proxy({}, {\n get: (_target, prop) => {\n if (this.target) {\n return this.target[prop];\n }\n else if (prop === 'on') {\n return this.proxiedOn;\n }\n else if (Object.keys(this.fallbacks).includes(prop)) {\n return (...args) => {\n this.targetQueue.push({\n method: prop,\n args,\n resolve: () => { },\n });\n return this.fallbacks[prop](...args);\n };\n }\n else {\n return (...args) => {\n return new Promise((resolve) => {\n this.targetQueue.push({\n method: prop,\n args,\n resolve,\n });\n });\n };\n }\n },\n });\n }\n async setRealTarget(target) {\n this.target = target;\n for (const item of this.onQueue) {\n this.target.on[item.method](...item.args);\n }\n for (const item of this.targetQueue) {\n item.resolve(await this.target[item.method](...item.args));\n }\n }\n}\n","import { getDevtoolsGlobalHook, getTarget, isProxyAvailable } from './env.js';\nimport { HOOK_SETUP } from './const.js';\nimport { ApiProxy } from './proxy.js';\nexport * from './api/index.js';\nexport * from './plugin.js';\nexport * from './time.js';\nexport function setupDevtoolsPlugin(pluginDescriptor, setupFn) {\n const descriptor = pluginDescriptor;\n const target = getTarget();\n const hook = getDevtoolsGlobalHook();\n const enableProxy = isProxyAvailable && descriptor.enableEarlyProxy;\n if (hook && (target.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !enableProxy)) {\n hook.emit(HOOK_SETUP, pluginDescriptor, setupFn);\n }\n else {\n const proxy = enableProxy ? new ApiProxy(descriptor, hook) : null;\n const list = target.__VUE_DEVTOOLS_PLUGINS__ = target.__VUE_DEVTOOLS_PLUGINS__ || [];\n list.push({\n pluginDescriptor: descriptor,\n setupFn,\n proxy,\n });\n if (proxy) {\n setupFn(proxy.proxiedTarget);\n }\n }\n}\n","/*!\n * vuex v4.1.0\n * (c) 2022 Evan You\n * @license MIT\n */\nimport { inject, effectScope, reactive, watch, computed } from 'vue';\nimport { setupDevtoolsPlugin } from '@vue/devtools-api';\n\nvar storeKey = 'store';\n\nfunction useStore (key) {\n if ( key === void 0 ) key = null;\n\n return inject(key !== null ? key : storeKey)\n}\n\n/**\n * Get the first item that pass the test\n * by second argument function\n *\n * @param {Array} list\n * @param {Function} f\n * @return {*}\n */\nfunction find (list, f) {\n return list.filter(f)[0]\n}\n\n/**\n * Deep copy the given object considering circular structure.\n * This function caches all nested objects and its copies.\n * If it detects circular structure, use cached copy to avoid infinite loop.\n *\n * @param {*} obj\n * @param {Array} cache\n * @return {*}\n */\nfunction deepCopy (obj, cache) {\n if ( cache === void 0 ) cache = [];\n\n // just return if obj is immutable value\n if (obj === null || typeof obj !== 'object') {\n return obj\n }\n\n // if obj is hit, it is in circular structure\n var hit = find(cache, function (c) { return c.original === obj; });\n if (hit) {\n return hit.copy\n }\n\n var copy = Array.isArray(obj) ? [] : {};\n // put the copy into cache at first\n // because we want to refer it in recursive deepCopy\n cache.push({\n original: obj,\n copy: copy\n });\n\n Object.keys(obj).forEach(function (key) {\n copy[key] = deepCopy(obj[key], cache);\n });\n\n return copy\n}\n\n/**\n * forEach for object\n */\nfunction forEachValue (obj, fn) {\n Object.keys(obj).forEach(function (key) { return fn(obj[key], key); });\n}\n\nfunction isObject (obj) {\n return obj !== null && typeof obj === 'object'\n}\n\nfunction isPromise (val) {\n return val && typeof val.then === 'function'\n}\n\nfunction assert (condition, msg) {\n if (!condition) { throw new Error((\"[vuex] \" + msg)) }\n}\n\nfunction partial (fn, arg) {\n return function () {\n return fn(arg)\n }\n}\n\nfunction genericSubscribe (fn, subs, options) {\n if (subs.indexOf(fn) < 0) {\n options && options.prepend\n ? subs.unshift(fn)\n : subs.push(fn);\n }\n return function () {\n var i = subs.indexOf(fn);\n if (i > -1) {\n subs.splice(i, 1);\n }\n }\n}\n\nfunction resetStore (store, hot) {\n store._actions = Object.create(null);\n store._mutations = Object.create(null);\n store._wrappedGetters = Object.create(null);\n store._modulesNamespaceMap = Object.create(null);\n var state = store.state;\n // init all modules\n installModule(store, state, [], store._modules.root, true);\n // reset state\n resetStoreState(store, state, hot);\n}\n\nfunction resetStoreState (store, state, hot) {\n var oldState = store._state;\n var oldScope = store._scope;\n\n // bind store public getters\n store.getters = {};\n // reset local getters cache\n store._makeLocalGettersCache = Object.create(null);\n var wrappedGetters = store._wrappedGetters;\n var computedObj = {};\n var computedCache = {};\n\n // create a new effect scope and create computed object inside it to avoid\n // getters (computed) getting destroyed on component unmount.\n var scope = effectScope(true);\n\n scope.run(function () {\n forEachValue(wrappedGetters, function (fn, key) {\n // use computed to leverage its lazy-caching mechanism\n // direct inline function use will lead to closure preserving oldState.\n // using partial to return function with only arguments preserved in closure environment.\n computedObj[key] = partial(fn, store);\n computedCache[key] = computed(function () { return computedObj[key](); });\n Object.defineProperty(store.getters, key, {\n get: function () { return computedCache[key].value; },\n enumerable: true // for local getters\n });\n });\n });\n\n store._state = reactive({\n data: state\n });\n\n // register the newly created effect scope to the store so that we can\n // dispose the effects when this method runs again in the future.\n store._scope = scope;\n\n // enable strict mode for new state\n if (store.strict) {\n enableStrictMode(store);\n }\n\n if (oldState) {\n if (hot) {\n // dispatch changes in all subscribed watchers\n // to force getter re-evaluation for hot reloading.\n store._withCommit(function () {\n oldState.data = null;\n });\n }\n }\n\n // dispose previously registered effect scope if there is one.\n if (oldScope) {\n oldScope.stop();\n }\n}\n\nfunction installModule (store, rootState, path, module, hot) {\n var isRoot = !path.length;\n var namespace = store._modules.getNamespace(path);\n\n // register in namespace map\n if (module.namespaced) {\n if (store._modulesNamespaceMap[namespace] && (process.env.NODE_ENV !== 'production')) {\n console.error((\"[vuex] duplicate namespace \" + namespace + \" for the namespaced module \" + (path.join('/'))));\n }\n store._modulesNamespaceMap[namespace] = module;\n }\n\n // set state\n if (!isRoot && !hot) {\n var parentState = getNestedState(rootState, path.slice(0, -1));\n var moduleName = path[path.length - 1];\n store._withCommit(function () {\n if ((process.env.NODE_ENV !== 'production')) {\n if (moduleName in parentState) {\n console.warn(\n (\"[vuex] state field \\\"\" + moduleName + \"\\\" was overridden by a module with the same name at \\\"\" + (path.join('.')) + \"\\\"\")\n );\n }\n }\n parentState[moduleName] = module.state;\n });\n }\n\n var local = module.context = makeLocalContext(store, namespace, path);\n\n module.forEachMutation(function (mutation, key) {\n var namespacedType = namespace + key;\n registerMutation(store, namespacedType, mutation, local);\n });\n\n module.forEachAction(function (action, key) {\n var type = action.root ? key : namespace + key;\n var handler = action.handler || action;\n registerAction(store, type, handler, local);\n });\n\n module.forEachGetter(function (getter, key) {\n var namespacedType = namespace + key;\n registerGetter(store, namespacedType, getter, local);\n });\n\n module.forEachChild(function (child, key) {\n installModule(store, rootState, path.concat(key), child, hot);\n });\n}\n\n/**\n * make localized dispatch, commit, getters and state\n * if there is no namespace, just use root ones\n */\nfunction makeLocalContext (store, namespace, path) {\n var noNamespace = namespace === '';\n\n var local = {\n dispatch: noNamespace ? store.dispatch : function (_type, _payload, _options) {\n var args = unifyObjectStyle(_type, _payload, _options);\n var payload = args.payload;\n var options = args.options;\n var type = args.type;\n\n if (!options || !options.root) {\n type = namespace + type;\n if ((process.env.NODE_ENV !== 'production') && !store._actions[type]) {\n console.error((\"[vuex] unknown local action type: \" + (args.type) + \", global type: \" + type));\n return\n }\n }\n\n return store.dispatch(type, payload)\n },\n\n commit: noNamespace ? store.commit : function (_type, _payload, _options) {\n var args = unifyObjectStyle(_type, _payload, _options);\n var payload = args.payload;\n var options = args.options;\n var type = args.type;\n\n if (!options || !options.root) {\n type = namespace + type;\n if ((process.env.NODE_ENV !== 'production') && !store._mutations[type]) {\n console.error((\"[vuex] unknown local mutation type: \" + (args.type) + \", global type: \" + type));\n return\n }\n }\n\n store.commit(type, payload, options);\n }\n };\n\n // getters and state object must be gotten lazily\n // because they will be changed by state update\n Object.defineProperties(local, {\n getters: {\n get: noNamespace\n ? function () { return store.getters; }\n : function () { return makeLocalGetters(store, namespace); }\n },\n state: {\n get: function () { return getNestedState(store.state, path); }\n }\n });\n\n return local\n}\n\nfunction makeLocalGetters (store, namespace) {\n if (!store._makeLocalGettersCache[namespace]) {\n var gettersProxy = {};\n var splitPos = namespace.length;\n Object.keys(store.getters).forEach(function (type) {\n // skip if the target getter is not match this namespace\n if (type.slice(0, splitPos) !== namespace) { return }\n\n // extract local getter type\n var localType = type.slice(splitPos);\n\n // Add a port to the getters proxy.\n // Define as getter property because\n // we do not want to evaluate the getters in this time.\n Object.defineProperty(gettersProxy, localType, {\n get: function () { return store.getters[type]; },\n enumerable: true\n });\n });\n store._makeLocalGettersCache[namespace] = gettersProxy;\n }\n\n return store._makeLocalGettersCache[namespace]\n}\n\nfunction registerMutation (store, type, handler, local) {\n var entry = store._mutations[type] || (store._mutations[type] = []);\n entry.push(function wrappedMutationHandler (payload) {\n handler.call(store, local.state, payload);\n });\n}\n\nfunction registerAction (store, type, handler, local) {\n var entry = store._actions[type] || (store._actions[type] = []);\n entry.push(function wrappedActionHandler (payload) {\n var res = handler.call(store, {\n dispatch: local.dispatch,\n commit: local.commit,\n getters: local.getters,\n state: local.state,\n rootGetters: store.getters,\n rootState: store.state\n }, payload);\n if (!isPromise(res)) {\n res = Promise.resolve(res);\n }\n if (store._devtoolHook) {\n return res.catch(function (err) {\n store._devtoolHook.emit('vuex:error', err);\n throw err\n })\n } else {\n return res\n }\n });\n}\n\nfunction registerGetter (store, type, rawGetter, local) {\n if (store._wrappedGetters[type]) {\n if ((process.env.NODE_ENV !== 'production')) {\n console.error((\"[vuex] duplicate getter key: \" + type));\n }\n return\n }\n store._wrappedGetters[type] = function wrappedGetter (store) {\n return rawGetter(\n local.state, // local state\n local.getters, // local getters\n store.state, // root state\n store.getters // root getters\n )\n };\n}\n\nfunction enableStrictMode (store) {\n watch(function () { return store._state.data; }, function () {\n if ((process.env.NODE_ENV !== 'production')) {\n assert(store._committing, \"do not mutate vuex store state outside mutation handlers.\");\n }\n }, { deep: true, flush: 'sync' });\n}\n\nfunction getNestedState (state, path) {\n return path.reduce(function (state, key) { return state[key]; }, state)\n}\n\nfunction unifyObjectStyle (type, payload, options) {\n if (isObject(type) && type.type) {\n options = payload;\n payload = type;\n type = type.type;\n }\n\n if ((process.env.NODE_ENV !== 'production')) {\n assert(typeof type === 'string', (\"expects string as the type, but found \" + (typeof type) + \".\"));\n }\n\n return { type: type, payload: payload, options: options }\n}\n\nvar LABEL_VUEX_BINDINGS = 'vuex bindings';\nvar MUTATIONS_LAYER_ID = 'vuex:mutations';\nvar ACTIONS_LAYER_ID = 'vuex:actions';\nvar INSPECTOR_ID = 'vuex';\n\nvar actionId = 0;\n\nfunction addDevtools (app, store) {\n setupDevtoolsPlugin(\n {\n id: 'org.vuejs.vuex',\n app: app,\n label: 'Vuex',\n homepage: 'https://next.vuex.vuejs.org/',\n logo: 'https://vuejs.org/images/icons/favicon-96x96.png',\n packageName: 'vuex',\n componentStateTypes: [LABEL_VUEX_BINDINGS]\n },\n function (api) {\n api.addTimelineLayer({\n id: MUTATIONS_LAYER_ID,\n label: 'Vuex Mutations',\n color: COLOR_LIME_500\n });\n\n api.addTimelineLayer({\n id: ACTIONS_LAYER_ID,\n label: 'Vuex Actions',\n color: COLOR_LIME_500\n });\n\n api.addInspector({\n id: INSPECTOR_ID,\n label: 'Vuex',\n icon: 'storage',\n treeFilterPlaceholder: 'Filter stores...'\n });\n\n api.on.getInspectorTree(function (payload) {\n if (payload.app === app && payload.inspectorId === INSPECTOR_ID) {\n if (payload.filter) {\n var nodes = [];\n flattenStoreForInspectorTree(nodes, store._modules.root, payload.filter, '');\n payload.rootNodes = nodes;\n } else {\n payload.rootNodes = [\n formatStoreForInspectorTree(store._modules.root, '')\n ];\n }\n }\n });\n\n api.on.getInspectorState(function (payload) {\n if (payload.app === app && payload.inspectorId === INSPECTOR_ID) {\n var modulePath = payload.nodeId;\n makeLocalGetters(store, modulePath);\n payload.state = formatStoreForInspectorState(\n getStoreModule(store._modules, modulePath),\n modulePath === 'root' ? store.getters : store._makeLocalGettersCache,\n modulePath\n );\n }\n });\n\n api.on.editInspectorState(function (payload) {\n if (payload.app === app && payload.inspectorId === INSPECTOR_ID) {\n var modulePath = payload.nodeId;\n var path = payload.path;\n if (modulePath !== 'root') {\n path = modulePath.split('/').filter(Boolean).concat( path);\n }\n store._withCommit(function () {\n payload.set(store._state.data, path, payload.state.value);\n });\n }\n });\n\n store.subscribe(function (mutation, state) {\n var data = {};\n\n if (mutation.payload) {\n data.payload = mutation.payload;\n }\n\n data.state = state;\n\n api.notifyComponentUpdate();\n api.sendInspectorTree(INSPECTOR_ID);\n api.sendInspectorState(INSPECTOR_ID);\n\n api.addTimelineEvent({\n layerId: MUTATIONS_LAYER_ID,\n event: {\n time: Date.now(),\n title: mutation.type,\n data: data\n }\n });\n });\n\n store.subscribeAction({\n before: function (action, state) {\n var data = {};\n if (action.payload) {\n data.payload = action.payload;\n }\n action._id = actionId++;\n action._time = Date.now();\n data.state = state;\n\n api.addTimelineEvent({\n layerId: ACTIONS_LAYER_ID,\n event: {\n time: action._time,\n title: action.type,\n groupId: action._id,\n subtitle: 'start',\n data: data\n }\n });\n },\n after: function (action, state) {\n var data = {};\n var duration = Date.now() - action._time;\n data.duration = {\n _custom: {\n type: 'duration',\n display: (duration + \"ms\"),\n tooltip: 'Action duration',\n value: duration\n }\n };\n if (action.payload) {\n data.payload = action.payload;\n }\n data.state = state;\n\n api.addTimelineEvent({\n layerId: ACTIONS_LAYER_ID,\n event: {\n time: Date.now(),\n title: action.type,\n groupId: action._id,\n subtitle: 'end',\n data: data\n }\n });\n }\n });\n }\n );\n}\n\n// extracted from tailwind palette\nvar COLOR_LIME_500 = 0x84cc16;\nvar COLOR_DARK = 0x666666;\nvar COLOR_WHITE = 0xffffff;\n\nvar TAG_NAMESPACED = {\n label: 'namespaced',\n textColor: COLOR_WHITE,\n backgroundColor: COLOR_DARK\n};\n\n/**\n * @param {string} path\n */\nfunction extractNameFromPath (path) {\n return path && path !== 'root' ? path.split('/').slice(-2, -1)[0] : 'Root'\n}\n\n/**\n * @param {*} module\n * @return {import('@vue/devtools-api').CustomInspectorNode}\n */\nfunction formatStoreForInspectorTree (module, path) {\n return {\n id: path || 'root',\n // all modules end with a `/`, we want the last segment only\n // cart/ -> cart\n // nested/cart/ -> cart\n label: extractNameFromPath(path),\n tags: module.namespaced ? [TAG_NAMESPACED] : [],\n children: Object.keys(module._children).map(function (moduleName) { return formatStoreForInspectorTree(\n module._children[moduleName],\n path + moduleName + '/'\n ); }\n )\n }\n}\n\n/**\n * @param {import('@vue/devtools-api').CustomInspectorNode[]} result\n * @param {*} module\n * @param {string} filter\n * @param {string} path\n */\nfunction flattenStoreForInspectorTree (result, module, filter, path) {\n if (path.includes(filter)) {\n result.push({\n id: path || 'root',\n label: path.endsWith('/') ? path.slice(0, path.length - 1) : path || 'Root',\n tags: module.namespaced ? [TAG_NAMESPACED] : []\n });\n }\n Object.keys(module._children).forEach(function (moduleName) {\n flattenStoreForInspectorTree(result, module._children[moduleName], filter, path + moduleName + '/');\n });\n}\n\n/**\n * @param {*} module\n * @return {import('@vue/devtools-api').CustomInspectorState}\n */\nfunction formatStoreForInspectorState (module, getters, path) {\n getters = path === 'root' ? getters : getters[path];\n var gettersKeys = Object.keys(getters);\n var storeState = {\n state: Object.keys(module.state).map(function (key) { return ({\n key: key,\n editable: true,\n value: module.state[key]\n }); })\n };\n\n if (gettersKeys.length) {\n var tree = transformPathsToObjectTree(getters);\n storeState.getters = Object.keys(tree).map(function (key) { return ({\n key: key.endsWith('/') ? extractNameFromPath(key) : key,\n editable: false,\n value: canThrow(function () { return tree[key]; })\n }); });\n }\n\n return storeState\n}\n\nfunction transformPathsToObjectTree (getters) {\n var result = {};\n Object.keys(getters).forEach(function (key) {\n var path = key.split('/');\n if (path.length > 1) {\n var target = result;\n var leafKey = path.pop();\n path.forEach(function (p) {\n if (!target[p]) {\n target[p] = {\n _custom: {\n value: {},\n display: p,\n tooltip: 'Module',\n abstract: true\n }\n };\n }\n target = target[p]._custom.value;\n });\n target[leafKey] = canThrow(function () { return getters[key]; });\n } else {\n result[key] = canThrow(function () { return getters[key]; });\n }\n });\n return result\n}\n\nfunction getStoreModule (moduleMap, path) {\n var names = path.split('/').filter(function (n) { return n; });\n return names.reduce(\n function (module, moduleName, i) {\n var child = module[moduleName];\n if (!child) {\n throw new Error((\"Missing module \\\"\" + moduleName + \"\\\" for path \\\"\" + path + \"\\\".\"))\n }\n return i === names.length - 1 ? child : child._children\n },\n path === 'root' ? moduleMap : moduleMap.root._children\n )\n}\n\nfunction canThrow (cb) {\n try {\n return cb()\n } catch (e) {\n return e\n }\n}\n\n// Base data struct for store's module, package with some attribute and method\nvar Module = function Module (rawModule, runtime) {\n this.runtime = runtime;\n // Store some children item\n this._children = Object.create(null);\n // Store the origin module object which passed by programmer\n this._rawModule = rawModule;\n var rawState = rawModule.state;\n\n // Store the origin module's state\n this.state = (typeof rawState === 'function' ? rawState() : rawState) || {};\n};\n\nvar prototypeAccessors$1 = { namespaced: { configurable: true } };\n\nprototypeAccessors$1.namespaced.get = function () {\n return !!this._rawModule.namespaced\n};\n\nModule.prototype.addChild = function addChild (key, module) {\n this._children[key] = module;\n};\n\nModule.prototype.removeChild = function removeChild (key) {\n delete this._children[key];\n};\n\nModule.prototype.getChild = function getChild (key) {\n return this._children[key]\n};\n\nModule.prototype.hasChild = function hasChild (key) {\n return key in this._children\n};\n\nModule.prototype.update = function update (rawModule) {\n this._rawModule.namespaced = rawModule.namespaced;\n if (rawModule.actions) {\n this._rawModule.actions = rawModule.actions;\n }\n if (rawModule.mutations) {\n this._rawModule.mutations = rawModule.mutations;\n }\n if (rawModule.getters) {\n this._rawModule.getters = rawModule.getters;\n }\n};\n\nModule.prototype.forEachChild = function forEachChild (fn) {\n forEachValue(this._children, fn);\n};\n\nModule.prototype.forEachGetter = function forEachGetter (fn) {\n if (this._rawModule.getters) {\n forEachValue(this._rawModule.getters, fn);\n }\n};\n\nModule.prototype.forEachAction = function forEachAction (fn) {\n if (this._rawModule.actions) {\n forEachValue(this._rawModule.actions, fn);\n }\n};\n\nModule.prototype.forEachMutation = function forEachMutation (fn) {\n if (this._rawModule.mutations) {\n forEachValue(this._rawModule.mutations, fn);\n }\n};\n\nObject.defineProperties( Module.prototype, prototypeAccessors$1 );\n\nvar ModuleCollection = function ModuleCollection (rawRootModule) {\n // register root module (Vuex.Store options)\n this.register([], rawRootModule, false);\n};\n\nModuleCollection.prototype.get = function get (path) {\n return path.reduce(function (module, key) {\n return module.getChild(key)\n }, this.root)\n};\n\nModuleCollection.prototype.getNamespace = function getNamespace (path) {\n var module = this.root;\n return path.reduce(function (namespace, key) {\n module = module.getChild(key);\n return namespace + (module.namespaced ? key + '/' : '')\n }, '')\n};\n\nModuleCollection.prototype.update = function update$1 (rawRootModule) {\n update([], this.root, rawRootModule);\n};\n\nModuleCollection.prototype.register = function register (path, rawModule, runtime) {\n var this$1$1 = this;\n if ( runtime === void 0 ) runtime = true;\n\n if ((process.env.NODE_ENV !== 'production')) {\n assertRawModule(path, rawModule);\n }\n\n var newModule = new Module(rawModule, runtime);\n if (path.length === 0) {\n this.root = newModule;\n } else {\n var parent = this.get(path.slice(0, -1));\n parent.addChild(path[path.length - 1], newModule);\n }\n\n // register nested modules\n if (rawModule.modules) {\n forEachValue(rawModule.modules, function (rawChildModule, key) {\n this$1$1.register(path.concat(key), rawChildModule, runtime);\n });\n }\n};\n\nModuleCollection.prototype.unregister = function unregister (path) {\n var parent = this.get(path.slice(0, -1));\n var key = path[path.length - 1];\n var child = parent.getChild(key);\n\n if (!child) {\n if ((process.env.NODE_ENV !== 'production')) {\n console.warn(\n \"[vuex] trying to unregister module '\" + key + \"', which is \" +\n \"not registered\"\n );\n }\n return\n }\n\n if (!child.runtime) {\n return\n }\n\n parent.removeChild(key);\n};\n\nModuleCollection.prototype.isRegistered = function isRegistered (path) {\n var parent = this.get(path.slice(0, -1));\n var key = path[path.length - 1];\n\n if (parent) {\n return parent.hasChild(key)\n }\n\n return false\n};\n\nfunction update (path, targetModule, newModule) {\n if ((process.env.NODE_ENV !== 'production')) {\n assertRawModule(path, newModule);\n }\n\n // update target module\n targetModule.update(newModule);\n\n // update nested modules\n if (newModule.modules) {\n for (var key in newModule.modules) {\n if (!targetModule.getChild(key)) {\n if ((process.env.NODE_ENV !== 'production')) {\n console.warn(\n \"[vuex] trying to add a new module '\" + key + \"' on hot reloading, \" +\n 'manual reload is needed'\n );\n }\n return\n }\n update(\n path.concat(key),\n targetModule.getChild(key),\n newModule.modules[key]\n );\n }\n }\n}\n\nvar functionAssert = {\n assert: function (value) { return typeof value === 'function'; },\n expected: 'function'\n};\n\nvar objectAssert = {\n assert: function (value) { return typeof value === 'function' ||\n (typeof value === 'object' && typeof value.handler === 'function'); },\n expected: 'function or object with \"handler\" function'\n};\n\nvar assertTypes = {\n getters: functionAssert,\n mutations: functionAssert,\n actions: objectAssert\n};\n\nfunction assertRawModule (path, rawModule) {\n Object.keys(assertTypes).forEach(function (key) {\n if (!rawModule[key]) { return }\n\n var assertOptions = assertTypes[key];\n\n forEachValue(rawModule[key], function (value, type) {\n assert(\n assertOptions.assert(value),\n makeAssertionMessage(path, key, type, value, assertOptions.expected)\n );\n });\n });\n}\n\nfunction makeAssertionMessage (path, key, type, value, expected) {\n var buf = key + \" should be \" + expected + \" but \\\"\" + key + \".\" + type + \"\\\"\";\n if (path.length > 0) {\n buf += \" in module \\\"\" + (path.join('.')) + \"\\\"\";\n }\n buf += \" is \" + (JSON.stringify(value)) + \".\";\n return buf\n}\n\nfunction createStore (options) {\n return new Store(options)\n}\n\nvar Store = function Store (options) {\n var this$1$1 = this;\n if ( options === void 0 ) options = {};\n\n if ((process.env.NODE_ENV !== 'production')) {\n assert(typeof Promise !== 'undefined', \"vuex requires a Promise polyfill in this browser.\");\n assert(this instanceof Store, \"store must be called with the new operator.\");\n }\n\n var plugins = options.plugins; if ( plugins === void 0 ) plugins = [];\n var strict = options.strict; if ( strict === void 0 ) strict = false;\n var devtools = options.devtools;\n\n // store internal state\n this._committing = false;\n this._actions = Object.create(null);\n this._actionSubscribers = [];\n this._mutations = Object.create(null);\n this._wrappedGetters = Object.create(null);\n this._modules = new ModuleCollection(options);\n this._modulesNamespaceMap = Object.create(null);\n this._subscribers = [];\n this._makeLocalGettersCache = Object.create(null);\n\n // EffectScope instance. when registering new getters, we wrap them inside\n // EffectScope so that getters (computed) would not be destroyed on\n // component unmount.\n this._scope = null;\n\n this._devtools = devtools;\n\n // bind commit and dispatch to self\n var store = this;\n var ref = this;\n var dispatch = ref.dispatch;\n var commit = ref.commit;\n this.dispatch = function boundDispatch (type, payload) {\n return dispatch.call(store, type, payload)\n };\n this.commit = function boundCommit (type, payload, options) {\n return commit.call(store, type, payload, options)\n };\n\n // strict mode\n this.strict = strict;\n\n var state = this._modules.root.state;\n\n // init root module.\n // this also recursively registers all sub-modules\n // and collects all module getters inside this._wrappedGetters\n installModule(this, state, [], this._modules.root);\n\n // initialize the store state, which is responsible for the reactivity\n // (also registers _wrappedGetters as computed properties)\n resetStoreState(this, state);\n\n // apply plugins\n plugins.forEach(function (plugin) { return plugin(this$1$1); });\n};\n\nvar prototypeAccessors = { state: { configurable: true } };\n\nStore.prototype.install = function install (app, injectKey) {\n app.provide(injectKey || storeKey, this);\n app.config.globalProperties.$store = this;\n\n var useDevtools = this._devtools !== undefined\n ? this._devtools\n : (process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__;\n\n if (useDevtools) {\n addDevtools(app, this);\n }\n};\n\nprototypeAccessors.state.get = function () {\n return this._state.data\n};\n\nprototypeAccessors.state.set = function (v) {\n if ((process.env.NODE_ENV !== 'production')) {\n assert(false, \"use store.replaceState() to explicit replace store state.\");\n }\n};\n\nStore.prototype.commit = function commit (_type, _payload, _options) {\n var this$1$1 = this;\n\n // check object-style commit\n var ref = unifyObjectStyle(_type, _payload, _options);\n var type = ref.type;\n var payload = ref.payload;\n var options = ref.options;\n\n var mutation = { type: type, payload: payload };\n var entry = this._mutations[type];\n if (!entry) {\n if ((process.env.NODE_ENV !== 'production')) {\n console.error((\"[vuex] unknown mutation type: \" + type));\n }\n return\n }\n this._withCommit(function () {\n entry.forEach(function commitIterator (handler) {\n handler(payload);\n });\n });\n\n this._subscribers\n .slice() // shallow copy to prevent iterator invalidation if subscriber synchronously calls unsubscribe\n .forEach(function (sub) { return sub(mutation, this$1$1.state); });\n\n if (\n (process.env.NODE_ENV !== 'production') &&\n options && options.silent\n ) {\n console.warn(\n \"[vuex] mutation type: \" + type + \". Silent option has been removed. \" +\n 'Use the filter functionality in the vue-devtools'\n );\n }\n};\n\nStore.prototype.dispatch = function dispatch (_type, _payload) {\n var this$1$1 = this;\n\n // check object-style dispatch\n var ref = unifyObjectStyle(_type, _payload);\n var type = ref.type;\n var payload = ref.payload;\n\n var action = { type: type, payload: payload };\n var entry = this._actions[type];\n if (!entry) {\n if ((process.env.NODE_ENV !== 'production')) {\n console.error((\"[vuex] unknown action type: \" + type));\n }\n return\n }\n\n try {\n this._actionSubscribers\n .slice() // shallow copy to prevent iterator invalidation if subscriber synchronously calls unsubscribe\n .filter(function (sub) { return sub.before; })\n .forEach(function (sub) { return sub.before(action, this$1$1.state); });\n } catch (e) {\n if ((process.env.NODE_ENV !== 'production')) {\n console.warn(\"[vuex] error in before action subscribers: \");\n console.error(e);\n }\n }\n\n var result = entry.length > 1\n ? Promise.all(entry.map(function (handler) { return handler(payload); }))\n : entry[0](payload);\n\n return new Promise(function (resolve, reject) {\n result.then(function (res) {\n try {\n this$1$1._actionSubscribers\n .filter(function (sub) { return sub.after; })\n .forEach(function (sub) { return sub.after(action, this$1$1.state); });\n } catch (e) {\n if ((process.env.NODE_ENV !== 'production')) {\n console.warn(\"[vuex] error in after action subscribers: \");\n console.error(e);\n }\n }\n resolve(res);\n }, function (error) {\n try {\n this$1$1._actionSubscribers\n .filter(function (sub) { return sub.error; })\n .forEach(function (sub) { return sub.error(action, this$1$1.state, error); });\n } catch (e) {\n if ((process.env.NODE_ENV !== 'production')) {\n console.warn(\"[vuex] error in error action subscribers: \");\n console.error(e);\n }\n }\n reject(error);\n });\n })\n};\n\nStore.prototype.subscribe = function subscribe (fn, options) {\n return genericSubscribe(fn, this._subscribers, options)\n};\n\nStore.prototype.subscribeAction = function subscribeAction (fn, options) {\n var subs = typeof fn === 'function' ? { before: fn } : fn;\n return genericSubscribe(subs, this._actionSubscribers, options)\n};\n\nStore.prototype.watch = function watch$1 (getter, cb, options) {\n var this$1$1 = this;\n\n if ((process.env.NODE_ENV !== 'production')) {\n assert(typeof getter === 'function', \"store.watch only accepts a function.\");\n }\n return watch(function () { return getter(this$1$1.state, this$1$1.getters); }, cb, Object.assign({}, options))\n};\n\nStore.prototype.replaceState = function replaceState (state) {\n var this$1$1 = this;\n\n this._withCommit(function () {\n this$1$1._state.data = state;\n });\n};\n\nStore.prototype.registerModule = function registerModule (path, rawModule, options) {\n if ( options === void 0 ) options = {};\n\n if (typeof path === 'string') { path = [path]; }\n\n if ((process.env.NODE_ENV !== 'production')) {\n assert(Array.isArray(path), \"module path must be a string or an Array.\");\n assert(path.length > 0, 'cannot register the root module by using registerModule.');\n }\n\n this._modules.register(path, rawModule);\n installModule(this, this.state, path, this._modules.get(path), options.preserveState);\n // reset store to update getters...\n resetStoreState(this, this.state);\n};\n\nStore.prototype.unregisterModule = function unregisterModule (path) {\n var this$1$1 = this;\n\n if (typeof path === 'string') { path = [path]; }\n\n if ((process.env.NODE_ENV !== 'production')) {\n assert(Array.isArray(path), \"module path must be a string or an Array.\");\n }\n\n this._modules.unregister(path);\n this._withCommit(function () {\n var parentState = getNestedState(this$1$1.state, path.slice(0, -1));\n delete parentState[path[path.length - 1]];\n });\n resetStore(this);\n};\n\nStore.prototype.hasModule = function hasModule (path) {\n if (typeof path === 'string') { path = [path]; }\n\n if ((process.env.NODE_ENV !== 'production')) {\n assert(Array.isArray(path), \"module path must be a string or an Array.\");\n }\n\n return this._modules.isRegistered(path)\n};\n\nStore.prototype.hotUpdate = function hotUpdate (newOptions) {\n this._modules.update(newOptions);\n resetStore(this, true);\n};\n\nStore.prototype._withCommit = function _withCommit (fn) {\n var committing = this._committing;\n this._committing = true;\n fn();\n this._committing = committing;\n};\n\nObject.defineProperties( Store.prototype, prototypeAccessors );\n\n/**\n * Reduce the code which written in Vue.js for getting the state.\n * @param {String} [namespace] - Module's namespace\n * @param {Object|Array} states # Object's item can be a function which accept state and getters for param, you can do something for state and getters in it.\n * @param {Object}\n */\nvar mapState = normalizeNamespace(function (namespace, states) {\n var res = {};\n if ((process.env.NODE_ENV !== 'production') && !isValidMap(states)) {\n console.error('[vuex] mapState: mapper parameter must be either an Array or an Object');\n }\n normalizeMap(states).forEach(function (ref) {\n var key = ref.key;\n var val = ref.val;\n\n res[key] = function mappedState () {\n var state = this.$store.state;\n var getters = this.$store.getters;\n if (namespace) {\n var module = getModuleByNamespace(this.$store, 'mapState', namespace);\n if (!module) {\n return\n }\n state = module.context.state;\n getters = module.context.getters;\n }\n return typeof val === 'function'\n ? val.call(this, state, getters)\n : state[val]\n };\n // mark vuex getter for devtools\n res[key].vuex = true;\n });\n return res\n});\n\n/**\n * Reduce the code which written in Vue.js for committing the mutation\n * @param {String} [namespace] - Module's namespace\n * @param {Object|Array} mutations # Object's item can be a function which accept `commit` function as the first param, it can accept another params. You can commit mutation and do any other things in this function. specially, You need to pass anthor params from the mapped function.\n * @return {Object}\n */\nvar mapMutations = normalizeNamespace(function (namespace, mutations) {\n var res = {};\n if ((process.env.NODE_ENV !== 'production') && !isValidMap(mutations)) {\n console.error('[vuex] mapMutations: mapper parameter must be either an Array or an Object');\n }\n normalizeMap(mutations).forEach(function (ref) {\n var key = ref.key;\n var val = ref.val;\n\n res[key] = function mappedMutation () {\n var args = [], len = arguments.length;\n while ( len-- ) args[ len ] = arguments[ len ];\n\n // Get the commit method from store\n var commit = this.$store.commit;\n if (namespace) {\n var module = getModuleByNamespace(this.$store, 'mapMutations', namespace);\n if (!module) {\n return\n }\n commit = module.context.commit;\n }\n return typeof val === 'function'\n ? val.apply(this, [commit].concat(args))\n : commit.apply(this.$store, [val].concat(args))\n };\n });\n return res\n});\n\n/**\n * Reduce the code which written in Vue.js for getting the getters\n * @param {String} [namespace] - Module's namespace\n * @param {Object|Array} getters\n * @return {Object}\n */\nvar mapGetters = normalizeNamespace(function (namespace, getters) {\n var res = {};\n if ((process.env.NODE_ENV !== 'production') && !isValidMap(getters)) {\n console.error('[vuex] mapGetters: mapper parameter must be either an Array or an Object');\n }\n normalizeMap(getters).forEach(function (ref) {\n var key = ref.key;\n var val = ref.val;\n\n // The namespace has been mutated by normalizeNamespace\n val = namespace + val;\n res[key] = function mappedGetter () {\n if (namespace && !getModuleByNamespace(this.$store, 'mapGetters', namespace)) {\n return\n }\n if ((process.env.NODE_ENV !== 'production') && !(val in this.$store.getters)) {\n console.error((\"[vuex] unknown getter: \" + val));\n return\n }\n return this.$store.getters[val]\n };\n // mark vuex getter for devtools\n res[key].vuex = true;\n });\n return res\n});\n\n/**\n * Reduce the code which written in Vue.js for dispatch the action\n * @param {String} [namespace] - Module's namespace\n * @param {Object|Array} actions # Object's item can be a function which accept `dispatch` function as the first param, it can accept anthor params. You can dispatch action and do any other things in this function. specially, You need to pass anthor params from the mapped function.\n * @return {Object}\n */\nvar mapActions = normalizeNamespace(function (namespace, actions) {\n var res = {};\n if ((process.env.NODE_ENV !== 'production') && !isValidMap(actions)) {\n console.error('[vuex] mapActions: mapper parameter must be either an Array or an Object');\n }\n normalizeMap(actions).forEach(function (ref) {\n var key = ref.key;\n var val = ref.val;\n\n res[key] = function mappedAction () {\n var args = [], len = arguments.length;\n while ( len-- ) args[ len ] = arguments[ len ];\n\n // get dispatch function from store\n var dispatch = this.$store.dispatch;\n if (namespace) {\n var module = getModuleByNamespace(this.$store, 'mapActions', namespace);\n if (!module) {\n return\n }\n dispatch = module.context.dispatch;\n }\n return typeof val === 'function'\n ? val.apply(this, [dispatch].concat(args))\n : dispatch.apply(this.$store, [val].concat(args))\n };\n });\n return res\n});\n\n/**\n * Rebinding namespace param for mapXXX function in special scoped, and return them by simple object\n * @param {String} namespace\n * @return {Object}\n */\nvar createNamespacedHelpers = function (namespace) { return ({\n mapState: mapState.bind(null, namespace),\n mapGetters: mapGetters.bind(null, namespace),\n mapMutations: mapMutations.bind(null, namespace),\n mapActions: mapActions.bind(null, namespace)\n}); };\n\n/**\n * Normalize the map\n * normalizeMap([1, 2, 3]) => [ { key: 1, val: 1 }, { key: 2, val: 2 }, { key: 3, val: 3 } ]\n * normalizeMap({a: 1, b: 2, c: 3}) => [ { key: 'a', val: 1 }, { key: 'b', val: 2 }, { key: 'c', val: 3 } ]\n * @param {Array|Object} map\n * @return {Object}\n */\nfunction normalizeMap (map) {\n if (!isValidMap(map)) {\n return []\n }\n return Array.isArray(map)\n ? map.map(function (key) { return ({ key: key, val: key }); })\n : Object.keys(map).map(function (key) { return ({ key: key, val: map[key] }); })\n}\n\n/**\n * Validate whether given map is valid or not\n * @param {*} map\n * @return {Boolean}\n */\nfunction isValidMap (map) {\n return Array.isArray(map) || isObject(map)\n}\n\n/**\n * Return a function expect two param contains namespace and map. it will normalize the namespace and then the param's function will handle the new namespace and the map.\n * @param {Function} fn\n * @return {Function}\n */\nfunction normalizeNamespace (fn) {\n return function (namespace, map) {\n if (typeof namespace !== 'string') {\n map = namespace;\n namespace = '';\n } else if (namespace.charAt(namespace.length - 1) !== '/') {\n namespace += '/';\n }\n return fn(namespace, map)\n }\n}\n\n/**\n * Search a special module from store by namespace. if module not exist, print error message.\n * @param {Object} store\n * @param {String} helper\n * @param {String} namespace\n * @return {Object}\n */\nfunction getModuleByNamespace (store, helper, namespace) {\n var module = store._modulesNamespaceMap[namespace];\n if ((process.env.NODE_ENV !== 'production') && !module) {\n console.error((\"[vuex] module namespace not found in \" + helper + \"(): \" + namespace));\n }\n return module\n}\n\n// Credits: borrowed code from fcomb/redux-logger\n\nfunction createLogger (ref) {\n if ( ref === void 0 ) ref = {};\n var collapsed = ref.collapsed; if ( collapsed === void 0 ) collapsed = true;\n var filter = ref.filter; if ( filter === void 0 ) filter = function (mutation, stateBefore, stateAfter) { return true; };\n var transformer = ref.transformer; if ( transformer === void 0 ) transformer = function (state) { return state; };\n var mutationTransformer = ref.mutationTransformer; if ( mutationTransformer === void 0 ) mutationTransformer = function (mut) { return mut; };\n var actionFilter = ref.actionFilter; if ( actionFilter === void 0 ) actionFilter = function (action, state) { return true; };\n var actionTransformer = ref.actionTransformer; if ( actionTransformer === void 0 ) actionTransformer = function (act) { return act; };\n var logMutations = ref.logMutations; if ( logMutations === void 0 ) logMutations = true;\n var logActions = ref.logActions; if ( logActions === void 0 ) logActions = true;\n var logger = ref.logger; if ( logger === void 0 ) logger = console;\n\n return function (store) {\n var prevState = deepCopy(store.state);\n\n if (typeof logger === 'undefined') {\n return\n }\n\n if (logMutations) {\n store.subscribe(function (mutation, state) {\n var nextState = deepCopy(state);\n\n if (filter(mutation, prevState, nextState)) {\n var formattedTime = getFormattedTime();\n var formattedMutation = mutationTransformer(mutation);\n var message = \"mutation \" + (mutation.type) + formattedTime;\n\n startMessage(logger, message, collapsed);\n logger.log('%c prev state', 'color: #9E9E9E; font-weight: bold', transformer(prevState));\n logger.log('%c mutation', 'color: #03A9F4; font-weight: bold', formattedMutation);\n logger.log('%c next state', 'color: #4CAF50; font-weight: bold', transformer(nextState));\n endMessage(logger);\n }\n\n prevState = nextState;\n });\n }\n\n if (logActions) {\n store.subscribeAction(function (action, state) {\n if (actionFilter(action, state)) {\n var formattedTime = getFormattedTime();\n var formattedAction = actionTransformer(action);\n var message = \"action \" + (action.type) + formattedTime;\n\n startMessage(logger, message, collapsed);\n logger.log('%c action', 'color: #03A9F4; font-weight: bold', formattedAction);\n endMessage(logger);\n }\n });\n }\n }\n}\n\nfunction startMessage (logger, message, collapsed) {\n var startMessage = collapsed\n ? logger.groupCollapsed\n : logger.group;\n\n // render\n try {\n startMessage.call(logger, message);\n } catch (e) {\n logger.log(message);\n }\n}\n\nfunction endMessage (logger) {\n try {\n logger.groupEnd();\n } catch (e) {\n logger.log('—— log end ——');\n }\n}\n\nfunction getFormattedTime () {\n var time = new Date();\n return (\" @ \" + (pad(time.getHours(), 2)) + \":\" + (pad(time.getMinutes(), 2)) + \":\" + (pad(time.getSeconds(), 2)) + \".\" + (pad(time.getMilliseconds(), 3)))\n}\n\nfunction repeat (str, times) {\n return (new Array(times + 1)).join(str)\n}\n\nfunction pad (num, maxLength) {\n return repeat('0', maxLength - num.toString().length) + num\n}\n\nvar index = {\n version: '4.1.0',\n Store: Store,\n storeKey: storeKey,\n createStore: createStore,\n useStore: useStore,\n mapState: mapState,\n mapMutations: mapMutations,\n mapGetters: mapGetters,\n mapActions: mapActions,\n createNamespacedHelpers: createNamespacedHelpers,\n createLogger: createLogger\n};\n\nexport default index;\nexport { Store, createLogger, createNamespacedHelpers, createStore, mapActions, mapGetters, mapMutations, mapState, storeKey, useStore };\n","import { FormSteps, formStepsState } from '@/store/formSteps';\nimport { FunctionSpaces, functionSpaceState } from '@/store/function_spaces';\nimport { Items, itemState } from '@/store/items';\nimport { Locations, locationsState } from '@/store/locations';\nimport { PackageDeals } from '@/store/package_deals';\nimport { Partner, partnerState } from '@/store/partner';\nimport { Reservation, reservationState } from '@/store/reservation';\nimport { RoomTypes, roomTypesState } from '@/store/room_types';\nimport { Emplacements, emplacementsState } from '@/store/emplacements';\nimport { InjectionKey } from 'vue';\nimport { createStore, useStore as baseUseStore, Store } from 'vuex';\n\nexport type State = {\n formSteps: formStepsState;\n items: itemState;\n locations: locationsState;\n partner: partnerState;\n reservation: reservationState;\n roomTypes: roomTypesState;\n emplacements: emplacementsState;\n functionSpaces: functionSpaceState;\n};\n\nexport const store = createStore({\n state: {} as State,\n mutations: {},\n actions: {},\n modules: {\n formSteps: FormSteps,\n items: Items,\n locations: Locations,\n packageDeals: PackageDeals,\n partner: Partner,\n reservation: Reservation,\n roomTypes: RoomTypes,\n emplacements: Emplacements,\n functionSpaces: FunctionSpaces,\n },\n strict: true,\n});\n\nexport const key: InjectionKey> = Symbol();\n\nexport function useStore() {\n return baseUseStore(key);\n}\n","import useCache from '@/composables/useCache';\nimport { computed } from 'vue';\nimport { useStore } from '@/store';\n\nexport default function useEmplacementsStore() {\n const store = useStore();\n useCache('emplacements/fetchEmplacements');\n\n const emplacements = computed(() => store.state.emplacements.emplacements);\n\n return {\n emplacements,\n };\n}\n","import {\n PartnerSettingsPartnerReadWebformFontEnum,\n PartnerSettingsTranslationPartnerReadTypeEnum,\n} from '@/api';\nimport useEmplacementsStore from '@/composables/store/useEmplacementsStore';\nimport { computed } from 'vue';\nimport { useStore } from '@/store';\n\nexport default function usePartnerStore() {\n const store = useStore();\n const primaryColor = computed(\n () => store.state.partner.partner?.partnerSettings?.color ?? '',\n );\n const secondaryColor = computed(\n () => store.state.partner.partner?.partnerSettings?.secondaryColor ?? '',\n );\n const fontName = computed(\n () =>\n store.state.partner.partner?.partnerSettings?.webformFont ??\n PartnerSettingsPartnerReadWebformFontEnum.Replica,\n );\n const useRoundedBoxes = computed(\n () =>\n store.state.partner.partner?.partnerSettings?.webformRoundedBoxes ?? true,\n );\n const logoFile = computed(\n () => store.state.partner.partner.logoFilename ?? '',\n );\n const faviconFilename = computed(\n () => store.state.partner.partner.faviconFilename ?? '',\n );\n const partnerName = computed(() => store.state.partner.partner.name ?? '');\n const partnerEmail = computed(\n () => store.state.partner.partner.contact?.email ?? '',\n );\n const partnerPhone = computed(\n () => store.state.partner.partner.contact?.phonenumber ?? '',\n );\n const termsUrl = computed(\n () => store.state.partner.partner?.partnerSettings?.termsUrl ?? '',\n );\n const lateCheckoutEnabled = computed(\n () =>\n store.state.partner.partner?.partnerSettings?.lateCheckoutEnabled ??\n false,\n );\n const headerImages = computed(\n () => store.state.partner.partner?.partnerSettings?.webformImages ?? [],\n );\n\n const fetchPartner = () => store.dispatch('partner/fetchPartner');\n\n const texts = computed(\n () => store.state.partner.partner?.partnerSettings?.translations ?? [],\n );\n const getIntroText = (locale: string): string | undefined => {\n return texts.value.find(\n (translation) =>\n translation.language === locale.substring(0, 2) &&\n translation.type ===\n PartnerSettingsTranslationPartnerReadTypeEnum.WebformIntro,\n )?.name;\n };\n\n const { emplacements } = useEmplacementsStore();\n\n const defaultEmplacement = computed(() => {\n const id =\n store.state.partner.partner?.partnerSettings?.defaultEmplacement?.replace(\n '/api/emplacements/',\n '',\n );\n const match = emplacements.value?.find(\n (emplacement) => emplacement.id === parseInt(id ?? ''),\n );\n if (match) {\n return match;\n }\n return emplacements.value?.find(\n (emplacement) => emplacement.name?.toLocaleLowerCase() === 'u-shape',\n );\n });\n const bigGroupsDefaultEmplacement = computed(() => {\n const id =\n store.state.partner.partner?.partnerSettings?.bigGroupsDefaultEmplacement?.replace(\n '/api/emplacements/',\n '',\n );\n return emplacements.value?.find(\n (emplacement) => emplacement.id === parseInt(id ?? ''),\n );\n });\n\n const bigGroupsThreshold = computed(\n () => store.state.partner.partner?.paxMiceThreshold ?? 999,\n );\n\n // Google Tag Manager ID\n const gtmId = computed(\n () =>\n store.state.partner.partner?.partnerSettings?.analyticsKey ?? undefined,\n );\n\n const partnerWebsite = computed(\n () => store.state.partner.partner.partnerSettings?.website ?? undefined,\n );\n\n const partnerCurrency = computed(\n () => store.state.partner.partner.partnerSettings?.currency ?? undefined,\n );\n\n return {\n fetchPartner,\n primaryColor,\n secondaryColor,\n logoFile,\n faviconFilename,\n partnerName,\n partnerEmail,\n partnerPhone,\n termsUrl,\n lateCheckoutEnabled,\n headerImages,\n fontName,\n useRoundedBoxes,\n getIntroText,\n defaultEmplacement,\n bigGroupsDefaultEmplacement,\n bigGroupsThreshold,\n gtmId,\n partnerWebsite,\n partnerCurrency,\n };\n}\n","import { LocationSettingsTranslationLocationReadTypeEnum } from '@/api';\nimport usePartnerStore from '@/composables/store/usePartnerStore';\nimport useReservationStore from '@/composables/store/useReservationStore';\nimport helpers from '@/services/helpers';\nimport { computed } from 'vue';\nimport { useStore } from '@/store';\nimport { useI18n } from 'vue-i18n';\n\nexport default function useLocationsStore() {\n const store = useStore();\n\n const locations = computed(() => store.state.locations.locations);\n const locationsPromise = computed(\n () => store.state.locations.locationsPromise,\n );\n const fetchLocations = async () => {\n await store.dispatch('locations/fetchLocations');\n };\n\n const { reservationLocation } = useReservationStore();\n const { locale } = useI18n({ useScope: 'global' });\n const location = computed(() =>\n locations.value.find((loc) => loc.id === reservationLocation.value?.id),\n );\n const getTranslation = (\n type: LocationSettingsTranslationLocationReadTypeEnum,\n ) => {\n if (!location.value?.locationSettings?.translations) {\n return;\n }\n\n const filtered = {\n translations: location.value.locationSettings.translations.filter(\n (translation) => translation.type === type,\n ),\n };\n\n return helpers.getItemTranslation(filtered, locale.value);\n };\n\n const meetingRoomDisclaimer = computed(() =>\n getTranslation(\n LocationSettingsTranslationLocationReadTypeEnum.MeetingRoomDisclaimer,\n ),\n );\n const checkoutDisclaimer = computed(() =>\n getTranslation(\n LocationSettingsTranslationLocationReadTypeEnum.CheckoutDisclaimer,\n ),\n );\n\n const checkoutPopup = computed(() =>\n getTranslation(\n LocationSettingsTranslationLocationReadTypeEnum.ThynkDirectCheckoutPopup,\n ),\n );\n const bookPopup = computed(() =>\n getTranslation(\n LocationSettingsTranslationLocationReadTypeEnum.ThynkDirectPriceCalculationPopup,\n ),\n );\n\n const { partnerCurrency } = usePartnerStore();\n const locationCurrency = computed(\n () => location.value?.currency ?? partnerCurrency.value ?? 'EUR',\n );\n\n const currency = computed(() => ({\n style: 'currency',\n currencyDisplay: 'narrowSymbol',\n currency: locationCurrency.value,\n }));\n\n const eventTypes = computed(() => location.value?.bookingEventTypes ?? []);\n return {\n locations,\n locationsPromise,\n fetchLocations,\n meetingRoomDisclaimer,\n checkoutDisclaimer,\n eventTypes,\n currency,\n checkoutPopup,\n bookPopup,\n };\n}\n","/*!\n * vue-router v4.5.0\n * (c) 2024 Eduardo San Martin Morote\n * @license MIT\n */\nimport { getCurrentInstance, inject, onUnmounted, onDeactivated, onActivated, computed, unref, watchEffect, defineComponent, reactive, h, provide, ref, watch, shallowRef, shallowReactive, nextTick } from 'vue';\nimport { setupDevtoolsPlugin } from '@vue/devtools-api';\n\nconst isBrowser = typeof document !== 'undefined';\n\n/**\n * Allows differentiating lazy components from functional components and vue-class-component\n * @internal\n *\n * @param component\n */\nfunction isRouteComponent(component) {\n return (typeof component === 'object' ||\n 'displayName' in component ||\n 'props' in component ||\n '__vccOpts' in component);\n}\nfunction isESModule(obj) {\n return (obj.__esModule ||\n obj[Symbol.toStringTag] === 'Module' ||\n // support CF with dynamic imports that do not\n // add the Module string tag\n (obj.default && isRouteComponent(obj.default)));\n}\nconst assign = Object.assign;\nfunction applyToParams(fn, params) {\n const newParams = {};\n for (const key in params) {\n const value = params[key];\n newParams[key] = isArray(value)\n ? value.map(fn)\n : fn(value);\n }\n return newParams;\n}\nconst noop = () => { };\n/**\n * Typesafe alternative to Array.isArray\n * https://github.com/microsoft/TypeScript/pull/48228\n */\nconst isArray = Array.isArray;\n\nfunction warn(msg) {\n // avoid using ...args as it breaks in older Edge builds\n const args = Array.from(arguments).slice(1);\n console.warn.apply(console, ['[Vue Router warn]: ' + msg].concat(args));\n}\n\n/**\n * Encoding Rules (␣ = Space)\n * - Path: ␣ \" < > # ? { }\n * - Query: ␣ \" < > # & =\n * - Hash: ␣ \" < > `\n *\n * On top of that, the RFC3986 (https://tools.ietf.org/html/rfc3986#section-2.2)\n * defines some extra characters to be encoded. Most browsers do not encode them\n * in encodeURI https://github.com/whatwg/url/issues/369, so it may be safer to\n * also encode `!'()*`. Leaving un-encoded only ASCII alphanumeric(`a-zA-Z0-9`)\n * plus `-._~`. This extra safety should be applied to query by patching the\n * string returned by encodeURIComponent encodeURI also encodes `[\\]^`. `\\`\n * should be encoded to avoid ambiguity. Browsers (IE, FF, C) transform a `\\`\n * into a `/` if directly typed in. The _backtick_ (`````) should also be\n * encoded everywhere because some browsers like FF encode it when directly\n * written while others don't. Safari and IE don't encode ``\"<>{}``` in hash.\n */\n// const EXTRA_RESERVED_RE = /[!'()*]/g\n// const encodeReservedReplacer = (c: string) => '%' + c.charCodeAt(0).toString(16)\nconst HASH_RE = /#/g; // %23\nconst AMPERSAND_RE = /&/g; // %26\nconst SLASH_RE = /\\//g; // %2F\nconst EQUAL_RE = /=/g; // %3D\nconst IM_RE = /\\?/g; // %3F\nconst PLUS_RE = /\\+/g; // %2B\n/**\n * NOTE: It's not clear to me if we should encode the + symbol in queries, it\n * seems to be less flexible than not doing so and I can't find out the legacy\n * systems requiring this for regular requests like text/html. In the standard,\n * the encoding of the plus character is only mentioned for\n * application/x-www-form-urlencoded\n * (https://url.spec.whatwg.org/#urlencoded-parsing) and most browsers seems lo\n * leave the plus character as is in queries. To be more flexible, we allow the\n * plus character on the query, but it can also be manually encoded by the user.\n *\n * Resources:\n * - https://url.spec.whatwg.org/#urlencoded-parsing\n * - https://stackoverflow.com/questions/1634271/url-encoding-the-space-character-or-20\n */\nconst ENC_BRACKET_OPEN_RE = /%5B/g; // [\nconst ENC_BRACKET_CLOSE_RE = /%5D/g; // ]\nconst ENC_CARET_RE = /%5E/g; // ^\nconst ENC_BACKTICK_RE = /%60/g; // `\nconst ENC_CURLY_OPEN_RE = /%7B/g; // {\nconst ENC_PIPE_RE = /%7C/g; // |\nconst ENC_CURLY_CLOSE_RE = /%7D/g; // }\nconst ENC_SPACE_RE = /%20/g; // }\n/**\n * Encode characters that need to be encoded on the path, search and hash\n * sections of the URL.\n *\n * @internal\n * @param text - string to encode\n * @returns encoded string\n */\nfunction commonEncode(text) {\n return encodeURI('' + text)\n .replace(ENC_PIPE_RE, '|')\n .replace(ENC_BRACKET_OPEN_RE, '[')\n .replace(ENC_BRACKET_CLOSE_RE, ']');\n}\n/**\n * Encode characters that need to be encoded on the hash section of the URL.\n *\n * @param text - string to encode\n * @returns encoded string\n */\nfunction encodeHash(text) {\n return commonEncode(text)\n .replace(ENC_CURLY_OPEN_RE, '{')\n .replace(ENC_CURLY_CLOSE_RE, '}')\n .replace(ENC_CARET_RE, '^');\n}\n/**\n * Encode characters that need to be encoded query values on the query\n * section of the URL.\n *\n * @param text - string to encode\n * @returns encoded string\n */\nfunction encodeQueryValue(text) {\n return (commonEncode(text)\n // Encode the space as +, encode the + to differentiate it from the space\n .replace(PLUS_RE, '%2B')\n .replace(ENC_SPACE_RE, '+')\n .replace(HASH_RE, '%23')\n .replace(AMPERSAND_RE, '%26')\n .replace(ENC_BACKTICK_RE, '`')\n .replace(ENC_CURLY_OPEN_RE, '{')\n .replace(ENC_CURLY_CLOSE_RE, '}')\n .replace(ENC_CARET_RE, '^'));\n}\n/**\n * Like `encodeQueryValue` but also encodes the `=` character.\n *\n * @param text - string to encode\n */\nfunction encodeQueryKey(text) {\n return encodeQueryValue(text).replace(EQUAL_RE, '%3D');\n}\n/**\n * Encode characters that need to be encoded on the path section of the URL.\n *\n * @param text - string to encode\n * @returns encoded string\n */\nfunction encodePath(text) {\n return commonEncode(text).replace(HASH_RE, '%23').replace(IM_RE, '%3F');\n}\n/**\n * Encode characters that need to be encoded on the path section of the URL as a\n * param. This function encodes everything {@link encodePath} does plus the\n * slash (`/`) character. If `text` is `null` or `undefined`, returns an empty\n * string instead.\n *\n * @param text - string to encode\n * @returns encoded string\n */\nfunction encodeParam(text) {\n return text == null ? '' : encodePath(text).replace(SLASH_RE, '%2F');\n}\n/**\n * Decode text using `decodeURIComponent`. Returns the original text if it\n * fails.\n *\n * @param text - string to decode\n * @returns decoded string\n */\nfunction decode(text) {\n try {\n return decodeURIComponent('' + text);\n }\n catch (err) {\n (process.env.NODE_ENV !== 'production') && warn(`Error decoding \"${text}\". Using original value`);\n }\n return '' + text;\n}\n\nconst TRAILING_SLASH_RE = /\\/$/;\nconst removeTrailingSlash = (path) => path.replace(TRAILING_SLASH_RE, '');\n/**\n * Transforms a URI into a normalized history location\n *\n * @param parseQuery\n * @param location - URI to normalize\n * @param currentLocation - current absolute location. Allows resolving relative\n * paths. Must start with `/`. Defaults to `/`\n * @returns a normalized history location\n */\nfunction parseURL(parseQuery, location, currentLocation = '/') {\n let path, query = {}, searchString = '', hash = '';\n // Could use URL and URLSearchParams but IE 11 doesn't support it\n // TODO: move to new URL()\n const hashPos = location.indexOf('#');\n let searchPos = location.indexOf('?');\n // the hash appears before the search, so it's not part of the search string\n if (hashPos < searchPos && hashPos >= 0) {\n searchPos = -1;\n }\n if (searchPos > -1) {\n path = location.slice(0, searchPos);\n searchString = location.slice(searchPos + 1, hashPos > -1 ? hashPos : location.length);\n query = parseQuery(searchString);\n }\n if (hashPos > -1) {\n path = path || location.slice(0, hashPos);\n // keep the # character\n hash = location.slice(hashPos, location.length);\n }\n // no search and no query\n path = resolveRelativePath(path != null ? path : location, currentLocation);\n // empty path means a relative query or hash `?foo=f`, `#thing`\n return {\n fullPath: path + (searchString && '?') + searchString + hash,\n path,\n query,\n hash: decode(hash),\n };\n}\n/**\n * Stringifies a URL object\n *\n * @param stringifyQuery\n * @param location\n */\nfunction stringifyURL(stringifyQuery, location) {\n const query = location.query ? stringifyQuery(location.query) : '';\n return location.path + (query && '?') + query + (location.hash || '');\n}\n/**\n * Strips off the base from the beginning of a location.pathname in a non-case-sensitive way.\n *\n * @param pathname - location.pathname\n * @param base - base to strip off\n */\nfunction stripBase(pathname, base) {\n // no base or base is not found at the beginning\n if (!base || !pathname.toLowerCase().startsWith(base.toLowerCase()))\n return pathname;\n return pathname.slice(base.length) || '/';\n}\n/**\n * Checks if two RouteLocation are equal. This means that both locations are\n * pointing towards the same {@link RouteRecord} and that all `params`, `query`\n * parameters and `hash` are the same\n *\n * @param stringifyQuery - A function that takes a query object of type LocationQueryRaw and returns a string representation of it.\n * @param a - first {@link RouteLocation}\n * @param b - second {@link RouteLocation}\n */\nfunction isSameRouteLocation(stringifyQuery, a, b) {\n const aLastIndex = a.matched.length - 1;\n const bLastIndex = b.matched.length - 1;\n return (aLastIndex > -1 &&\n aLastIndex === bLastIndex &&\n isSameRouteRecord(a.matched[aLastIndex], b.matched[bLastIndex]) &&\n isSameRouteLocationParams(a.params, b.params) &&\n stringifyQuery(a.query) === stringifyQuery(b.query) &&\n a.hash === b.hash);\n}\n/**\n * Check if two `RouteRecords` are equal. Takes into account aliases: they are\n * considered equal to the `RouteRecord` they are aliasing.\n *\n * @param a - first {@link RouteRecord}\n * @param b - second {@link RouteRecord}\n */\nfunction isSameRouteRecord(a, b) {\n // since the original record has an undefined value for aliasOf\n // but all aliases point to the original record, this will always compare\n // the original record\n return (a.aliasOf || a) === (b.aliasOf || b);\n}\nfunction isSameRouteLocationParams(a, b) {\n if (Object.keys(a).length !== Object.keys(b).length)\n return false;\n for (const key in a) {\n if (!isSameRouteLocationParamsValue(a[key], b[key]))\n return false;\n }\n return true;\n}\nfunction isSameRouteLocationParamsValue(a, b) {\n return isArray(a)\n ? isEquivalentArray(a, b)\n : isArray(b)\n ? isEquivalentArray(b, a)\n : a === b;\n}\n/**\n * Check if two arrays are the same or if an array with one single entry is the\n * same as another primitive value. Used to check query and parameters\n *\n * @param a - array of values\n * @param b - array of values or a single value\n */\nfunction isEquivalentArray(a, b) {\n return isArray(b)\n ? a.length === b.length && a.every((value, i) => value === b[i])\n : a.length === 1 && a[0] === b;\n}\n/**\n * Resolves a relative path that starts with `.`.\n *\n * @param to - path location we are resolving\n * @param from - currentLocation.path, should start with `/`\n */\nfunction resolveRelativePath(to, from) {\n if (to.startsWith('/'))\n return to;\n if ((process.env.NODE_ENV !== 'production') && !from.startsWith('/')) {\n warn(`Cannot resolve a relative location without an absolute path. Trying to resolve \"${to}\" from \"${from}\". It should look like \"/${from}\".`);\n return to;\n }\n if (!to)\n return from;\n const fromSegments = from.split('/');\n const toSegments = to.split('/');\n const lastToSegment = toSegments[toSegments.length - 1];\n // make . and ./ the same (../ === .., ../../ === ../..)\n // this is the same behavior as new URL()\n if (lastToSegment === '..' || lastToSegment === '.') {\n toSegments.push('');\n }\n let position = fromSegments.length - 1;\n let toPosition;\n let segment;\n for (toPosition = 0; toPosition < toSegments.length; toPosition++) {\n segment = toSegments[toPosition];\n // we stay on the same position\n if (segment === '.')\n continue;\n // go up in the from array\n if (segment === '..') {\n // we can't go below zero, but we still need to increment toPosition\n if (position > 1)\n position--;\n // continue\n }\n // we reached a non-relative path, we stop here\n else\n break;\n }\n return (fromSegments.slice(0, position).join('/') +\n '/' +\n toSegments.slice(toPosition).join('/'));\n}\n/**\n * Initial route location where the router is. Can be used in navigation guards\n * to differentiate the initial navigation.\n *\n * @example\n * ```js\n * import { START_LOCATION } from 'vue-router'\n *\n * router.beforeEach((to, from) => {\n * if (from === START_LOCATION) {\n * // initial navigation\n * }\n * })\n * ```\n */\nconst START_LOCATION_NORMALIZED = {\n path: '/',\n // TODO: could we use a symbol in the future?\n name: undefined,\n params: {},\n query: {},\n hash: '',\n fullPath: '/',\n matched: [],\n meta: {},\n redirectedFrom: undefined,\n};\n\nvar NavigationType;\n(function (NavigationType) {\n NavigationType[\"pop\"] = \"pop\";\n NavigationType[\"push\"] = \"push\";\n})(NavigationType || (NavigationType = {}));\nvar NavigationDirection;\n(function (NavigationDirection) {\n NavigationDirection[\"back\"] = \"back\";\n NavigationDirection[\"forward\"] = \"forward\";\n NavigationDirection[\"unknown\"] = \"\";\n})(NavigationDirection || (NavigationDirection = {}));\n/**\n * Starting location for Histories\n */\nconst START = '';\n// Generic utils\n/**\n * Normalizes a base by removing any trailing slash and reading the base tag if\n * present.\n *\n * @param base - base to normalize\n */\nfunction normalizeBase(base) {\n if (!base) {\n if (isBrowser) {\n // respect tag\n const baseEl = document.querySelector('base');\n base = (baseEl && baseEl.getAttribute('href')) || '/';\n // strip full URL origin\n base = base.replace(/^\\w+:\\/\\/[^\\/]+/, '');\n }\n else {\n base = '/';\n }\n }\n // ensure leading slash when it was removed by the regex above avoid leading\n // slash with hash because the file could be read from the disk like file://\n // and the leading slash would cause problems\n if (base[0] !== '/' && base[0] !== '#')\n base = '/' + base;\n // remove the trailing slash so all other method can just do `base + fullPath`\n // to build an href\n return removeTrailingSlash(base);\n}\n// remove any character before the hash\nconst BEFORE_HASH_RE = /^[^#]+#/;\nfunction createHref(base, location) {\n return base.replace(BEFORE_HASH_RE, '#') + location;\n}\n\nfunction getElementPosition(el, offset) {\n const docRect = document.documentElement.getBoundingClientRect();\n const elRect = el.getBoundingClientRect();\n return {\n behavior: offset.behavior,\n left: elRect.left - docRect.left - (offset.left || 0),\n top: elRect.top - docRect.top - (offset.top || 0),\n };\n}\nconst computeScrollPosition = () => ({\n left: window.scrollX,\n top: window.scrollY,\n});\nfunction scrollToPosition(position) {\n let scrollToOptions;\n if ('el' in position) {\n const positionEl = position.el;\n const isIdSelector = typeof positionEl === 'string' && positionEl.startsWith('#');\n /**\n * `id`s can accept pretty much any characters, including CSS combinators\n * like `>` or `~`. It's still possible to retrieve elements using\n * `document.getElementById('~')` but it needs to be escaped when using\n * `document.querySelector('#\\\\~')` for it to be valid. The only\n * requirements for `id`s are them to be unique on the page and to not be\n * empty (`id=\"\"`). Because of that, when passing an id selector, it should\n * be properly escaped for it to work with `querySelector`. We could check\n * for the id selector to be simple (no CSS combinators `+ >~`) but that\n * would make things inconsistent since they are valid characters for an\n * `id` but would need to be escaped when using `querySelector`, breaking\n * their usage and ending up in no selector returned. Selectors need to be\n * escaped:\n *\n * - `#1-thing` becomes `#\\31 -thing`\n * - `#with~symbols` becomes `#with\\\\~symbols`\n *\n * - More information about the topic can be found at\n * https://mathiasbynens.be/notes/html5-id-class.\n * - Practical example: https://mathiasbynens.be/demo/html5-id\n */\n if ((process.env.NODE_ENV !== 'production') && typeof position.el === 'string') {\n if (!isIdSelector || !document.getElementById(position.el.slice(1))) {\n try {\n const foundEl = document.querySelector(position.el);\n if (isIdSelector && foundEl) {\n warn(`The selector \"${position.el}\" should be passed as \"el: document.querySelector('${position.el}')\" because it starts with \"#\".`);\n // return to avoid other warnings\n return;\n }\n }\n catch (err) {\n warn(`The selector \"${position.el}\" is invalid. If you are using an id selector, make sure to escape it. You can find more information about escaping characters in selectors at https://mathiasbynens.be/notes/css-escapes or use CSS.escape (https://developer.mozilla.org/en-US/docs/Web/API/CSS/escape).`);\n // return to avoid other warnings\n return;\n }\n }\n }\n const el = typeof positionEl === 'string'\n ? isIdSelector\n ? document.getElementById(positionEl.slice(1))\n : document.querySelector(positionEl)\n : positionEl;\n if (!el) {\n (process.env.NODE_ENV !== 'production') &&\n warn(`Couldn't find element using selector \"${position.el}\" returned by scrollBehavior.`);\n return;\n }\n scrollToOptions = getElementPosition(el, position);\n }\n else {\n scrollToOptions = position;\n }\n if ('scrollBehavior' in document.documentElement.style)\n window.scrollTo(scrollToOptions);\n else {\n window.scrollTo(scrollToOptions.left != null ? scrollToOptions.left : window.scrollX, scrollToOptions.top != null ? scrollToOptions.top : window.scrollY);\n }\n}\nfunction getScrollKey(path, delta) {\n const position = history.state ? history.state.position - delta : -1;\n return position + path;\n}\nconst scrollPositions = new Map();\nfunction saveScrollPosition(key, scrollPosition) {\n scrollPositions.set(key, scrollPosition);\n}\nfunction getSavedScrollPosition(key) {\n const scroll = scrollPositions.get(key);\n // consume it so it's not used again\n scrollPositions.delete(key);\n return scroll;\n}\n// TODO: RFC about how to save scroll position\n/**\n * ScrollBehavior instance used by the router to compute and restore the scroll\n * position when navigating.\n */\n// export interface ScrollHandler {\n// // returns a scroll position that can be saved in history\n// compute(): ScrollPositionEntry\n// // can take an extended ScrollPositionEntry\n// scroll(position: ScrollPosition): void\n// }\n// export const scrollHandler: ScrollHandler = {\n// compute: computeScroll,\n// scroll: scrollToPosition,\n// }\n\nlet createBaseLocation = () => location.protocol + '//' + location.host;\n/**\n * Creates a normalized history location from a window.location object\n * @param base - The base path\n * @param location - The window.location object\n */\nfunction createCurrentLocation(base, location) {\n const { pathname, search, hash } = location;\n // allows hash bases like #, /#, #/, #!, #!/, /#!/, or even /folder#end\n const hashPos = base.indexOf('#');\n if (hashPos > -1) {\n let slicePos = hash.includes(base.slice(hashPos))\n ? base.slice(hashPos).length\n : 1;\n let pathFromHash = hash.slice(slicePos);\n // prepend the starting slash to hash so the url starts with /#\n if (pathFromHash[0] !== '/')\n pathFromHash = '/' + pathFromHash;\n return stripBase(pathFromHash, '');\n }\n const path = stripBase(pathname, base);\n return path + search + hash;\n}\nfunction useHistoryListeners(base, historyState, currentLocation, replace) {\n let listeners = [];\n let teardowns = [];\n // TODO: should it be a stack? a Dict. Check if the popstate listener\n // can trigger twice\n let pauseState = null;\n const popStateHandler = ({ state, }) => {\n const to = createCurrentLocation(base, location);\n const from = currentLocation.value;\n const fromState = historyState.value;\n let delta = 0;\n if (state) {\n currentLocation.value = to;\n historyState.value = state;\n // ignore the popstate and reset the pauseState\n if (pauseState && pauseState === from) {\n pauseState = null;\n return;\n }\n delta = fromState ? state.position - fromState.position : 0;\n }\n else {\n replace(to);\n }\n // Here we could also revert the navigation by calling history.go(-delta)\n // this listener will have to be adapted to not trigger again and to wait for the url\n // to be updated before triggering the listeners. Some kind of validation function would also\n // need to be passed to the listeners so the navigation can be accepted\n // call all listeners\n listeners.forEach(listener => {\n listener(currentLocation.value, from, {\n delta,\n type: NavigationType.pop,\n direction: delta\n ? delta > 0\n ? NavigationDirection.forward\n : NavigationDirection.back\n : NavigationDirection.unknown,\n });\n });\n };\n function pauseListeners() {\n pauseState = currentLocation.value;\n }\n function listen(callback) {\n // set up the listener and prepare teardown callbacks\n listeners.push(callback);\n const teardown = () => {\n const index = listeners.indexOf(callback);\n if (index > -1)\n listeners.splice(index, 1);\n };\n teardowns.push(teardown);\n return teardown;\n }\n function beforeUnloadListener() {\n const { history } = window;\n if (!history.state)\n return;\n history.replaceState(assign({}, history.state, { scroll: computeScrollPosition() }), '');\n }\n function destroy() {\n for (const teardown of teardowns)\n teardown();\n teardowns = [];\n window.removeEventListener('popstate', popStateHandler);\n window.removeEventListener('beforeunload', beforeUnloadListener);\n }\n // set up the listeners and prepare teardown callbacks\n window.addEventListener('popstate', popStateHandler);\n // TODO: could we use 'pagehide' or 'visibilitychange' instead?\n // https://developer.chrome.com/blog/page-lifecycle-api/\n window.addEventListener('beforeunload', beforeUnloadListener, {\n passive: true,\n });\n return {\n pauseListeners,\n listen,\n destroy,\n };\n}\n/**\n * Creates a state object\n */\nfunction buildState(back, current, forward, replaced = false, computeScroll = false) {\n return {\n back,\n current,\n forward,\n replaced,\n position: window.history.length,\n scroll: computeScroll ? computeScrollPosition() : null,\n };\n}\nfunction useHistoryStateNavigation(base) {\n const { history, location } = window;\n // private variables\n const currentLocation = {\n value: createCurrentLocation(base, location),\n };\n const historyState = { value: history.state };\n // build current history entry as this is a fresh navigation\n if (!historyState.value) {\n changeLocation(currentLocation.value, {\n back: null,\n current: currentLocation.value,\n forward: null,\n // the length is off by one, we need to decrease it\n position: history.length - 1,\n replaced: true,\n // don't add a scroll as the user may have an anchor, and we want\n // scrollBehavior to be triggered without a saved position\n scroll: null,\n }, true);\n }\n function changeLocation(to, state, replace) {\n /**\n * if a base tag is provided, and we are on a normal domain, we have to\n * respect the provided `base` attribute because pushState() will use it and\n * potentially erase anything before the `#` like at\n * https://github.com/vuejs/router/issues/685 where a base of\n * `/folder/#` but a base of `/` would erase the `/folder/` section. If\n * there is no host, the `` tag makes no sense and if there isn't a\n * base tag we can just use everything after the `#`.\n */\n const hashIndex = base.indexOf('#');\n const url = hashIndex > -1\n ? (location.host && document.querySelector('base')\n ? base\n : base.slice(hashIndex)) + to\n : createBaseLocation() + base + to;\n try {\n // BROWSER QUIRK\n // NOTE: Safari throws a SecurityError when calling this function 100 times in 30 seconds\n history[replace ? 'replaceState' : 'pushState'](state, '', url);\n historyState.value = state;\n }\n catch (err) {\n if ((process.env.NODE_ENV !== 'production')) {\n warn('Error with push/replace State', err);\n }\n else {\n console.error(err);\n }\n // Force the navigation, this also resets the call count\n location[replace ? 'replace' : 'assign'](url);\n }\n }\n function replace(to, data) {\n const state = assign({}, history.state, buildState(historyState.value.back, \n // keep back and forward entries but override current position\n to, historyState.value.forward, true), data, { position: historyState.value.position });\n changeLocation(to, state, true);\n currentLocation.value = to;\n }\n function push(to, data) {\n // Add to current entry the information of where we are going\n // as well as saving the current position\n const currentState = assign({}, \n // use current history state to gracefully handle a wrong call to\n // history.replaceState\n // https://github.com/vuejs/router/issues/366\n historyState.value, history.state, {\n forward: to,\n scroll: computeScrollPosition(),\n });\n if ((process.env.NODE_ENV !== 'production') && !history.state) {\n warn(`history.state seems to have been manually replaced without preserving the necessary values. Make sure to preserve existing history state if you are manually calling history.replaceState:\\n\\n` +\n `history.replaceState(history.state, '', url)\\n\\n` +\n `You can find more information at https://router.vuejs.org/guide/migration/#Usage-of-history-state`);\n }\n changeLocation(currentState.current, currentState, true);\n const state = assign({}, buildState(currentLocation.value, to, null), { position: currentState.position + 1 }, data);\n changeLocation(to, state, false);\n currentLocation.value = to;\n }\n return {\n location: currentLocation,\n state: historyState,\n push,\n replace,\n };\n}\n/**\n * Creates an HTML5 history. Most common history for single page applications.\n *\n * @param base -\n */\nfunction createWebHistory(base) {\n base = normalizeBase(base);\n const historyNavigation = useHistoryStateNavigation(base);\n const historyListeners = useHistoryListeners(base, historyNavigation.state, historyNavigation.location, historyNavigation.replace);\n function go(delta, triggerListeners = true) {\n if (!triggerListeners)\n historyListeners.pauseListeners();\n history.go(delta);\n }\n const routerHistory = assign({\n // it's overridden right after\n location: '',\n base,\n go,\n createHref: createHref.bind(null, base),\n }, historyNavigation, historyListeners);\n Object.defineProperty(routerHistory, 'location', {\n enumerable: true,\n get: () => historyNavigation.location.value,\n });\n Object.defineProperty(routerHistory, 'state', {\n enumerable: true,\n get: () => historyNavigation.state.value,\n });\n return routerHistory;\n}\n\n/**\n * Creates an in-memory based history. The main purpose of this history is to handle SSR. It starts in a special location that is nowhere.\n * It's up to the user to replace that location with the starter location by either calling `router.push` or `router.replace`.\n *\n * @param base - Base applied to all urls, defaults to '/'\n * @returns a history object that can be passed to the router constructor\n */\nfunction createMemoryHistory(base = '') {\n let listeners = [];\n let queue = [START];\n let position = 0;\n base = normalizeBase(base);\n function setLocation(location) {\n position++;\n if (position !== queue.length) {\n // we are in the middle, we remove everything from here in the queue\n queue.splice(position);\n }\n queue.push(location);\n }\n function triggerListeners(to, from, { direction, delta }) {\n const info = {\n direction,\n delta,\n type: NavigationType.pop,\n };\n for (const callback of listeners) {\n callback(to, from, info);\n }\n }\n const routerHistory = {\n // rewritten by Object.defineProperty\n location: START,\n // TODO: should be kept in queue\n state: {},\n base,\n createHref: createHref.bind(null, base),\n replace(to) {\n // remove current entry and decrement position\n queue.splice(position--, 1);\n setLocation(to);\n },\n push(to, data) {\n setLocation(to);\n },\n listen(callback) {\n listeners.push(callback);\n return () => {\n const index = listeners.indexOf(callback);\n if (index > -1)\n listeners.splice(index, 1);\n };\n },\n destroy() {\n listeners = [];\n queue = [START];\n position = 0;\n },\n go(delta, shouldTrigger = true) {\n const from = this.location;\n const direction = \n // we are considering delta === 0 going forward, but in abstract mode\n // using 0 for the delta doesn't make sense like it does in html5 where\n // it reloads the page\n delta < 0 ? NavigationDirection.back : NavigationDirection.forward;\n position = Math.max(0, Math.min(position + delta, queue.length - 1));\n if (shouldTrigger) {\n triggerListeners(this.location, from, {\n direction,\n delta,\n });\n }\n },\n };\n Object.defineProperty(routerHistory, 'location', {\n enumerable: true,\n get: () => queue[position],\n });\n return routerHistory;\n}\n\n/**\n * Creates a hash history. Useful for web applications with no host (e.g. `file://`) or when configuring a server to\n * handle any URL is not possible.\n *\n * @param base - optional base to provide. Defaults to `location.pathname + location.search` If there is a `` tag\n * in the `head`, its value will be ignored in favor of this parameter **but note it affects all the history.pushState()\n * calls**, meaning that if you use a `` tag, it's `href` value **has to match this parameter** (ignoring anything\n * after the `#`).\n *\n * @example\n * ```js\n * // at https://example.com/folder\n * createWebHashHistory() // gives a url of `https://example.com/folder#`\n * createWebHashHistory('/folder/') // gives a url of `https://example.com/folder/#`\n * // if the `#` is provided in the base, it won't be added by `createWebHashHistory`\n * createWebHashHistory('/folder/#/app/') // gives a url of `https://example.com/folder/#/app/`\n * // you should avoid doing this because it changes the original url and breaks copying urls\n * createWebHashHistory('/other-folder/') // gives a url of `https://example.com/other-folder/#`\n *\n * // at file:///usr/etc/folder/index.html\n * // for locations with no `host`, the base is ignored\n * createWebHashHistory('/iAmIgnored') // gives a url of `file:///usr/etc/folder/index.html#`\n * ```\n */\nfunction createWebHashHistory(base) {\n // Make sure this implementation is fine in terms of encoding, specially for IE11\n // for `file://`, directly use the pathname and ignore the base\n // location.pathname contains an initial `/` even at the root: `https://example.com`\n base = location.host ? base || location.pathname + location.search : '';\n // allow the user to provide a `#` in the middle: `/base/#/app`\n if (!base.includes('#'))\n base += '#';\n if ((process.env.NODE_ENV !== 'production') && !base.endsWith('#/') && !base.endsWith('#')) {\n warn(`A hash base must end with a \"#\":\\n\"${base}\" should be \"${base.replace(/#.*$/, '#')}\".`);\n }\n return createWebHistory(base);\n}\n\nfunction isRouteLocation(route) {\n return typeof route === 'string' || (route && typeof route === 'object');\n}\nfunction isRouteName(name) {\n return typeof name === 'string' || typeof name === 'symbol';\n}\n\nconst NavigationFailureSymbol = Symbol((process.env.NODE_ENV !== 'production') ? 'navigation failure' : '');\n/**\n * Enumeration with all possible types for navigation failures. Can be passed to\n * {@link isNavigationFailure} to check for specific failures.\n */\nvar NavigationFailureType;\n(function (NavigationFailureType) {\n /**\n * An aborted navigation is a navigation that failed because a navigation\n * guard returned `false` or called `next(false)`\n */\n NavigationFailureType[NavigationFailureType[\"aborted\"] = 4] = \"aborted\";\n /**\n * A cancelled navigation is a navigation that failed because a more recent\n * navigation finished started (not necessarily finished).\n */\n NavigationFailureType[NavigationFailureType[\"cancelled\"] = 8] = \"cancelled\";\n /**\n * A duplicated navigation is a navigation that failed because it was\n * initiated while already being at the exact same location.\n */\n NavigationFailureType[NavigationFailureType[\"duplicated\"] = 16] = \"duplicated\";\n})(NavigationFailureType || (NavigationFailureType = {}));\n// DEV only debug messages\nconst ErrorTypeMessages = {\n [1 /* ErrorTypes.MATCHER_NOT_FOUND */]({ location, currentLocation }) {\n return `No match for\\n ${JSON.stringify(location)}${currentLocation\n ? '\\nwhile being at\\n' + JSON.stringify(currentLocation)\n : ''}`;\n },\n [2 /* ErrorTypes.NAVIGATION_GUARD_REDIRECT */]({ from, to, }) {\n return `Redirected from \"${from.fullPath}\" to \"${stringifyRoute(to)}\" via a navigation guard.`;\n },\n [4 /* ErrorTypes.NAVIGATION_ABORTED */]({ from, to }) {\n return `Navigation aborted from \"${from.fullPath}\" to \"${to.fullPath}\" via a navigation guard.`;\n },\n [8 /* ErrorTypes.NAVIGATION_CANCELLED */]({ from, to }) {\n return `Navigation cancelled from \"${from.fullPath}\" to \"${to.fullPath}\" with a new navigation.`;\n },\n [16 /* ErrorTypes.NAVIGATION_DUPLICATED */]({ from, to }) {\n return `Avoided redundant navigation to current location: \"${from.fullPath}\".`;\n },\n};\n/**\n * Creates a typed NavigationFailure object.\n * @internal\n * @param type - NavigationFailureType\n * @param params - { from, to }\n */\nfunction createRouterError(type, params) {\n // keep full error messages in cjs versions\n if ((process.env.NODE_ENV !== 'production') || !true) {\n return assign(new Error(ErrorTypeMessages[type](params)), {\n type,\n [NavigationFailureSymbol]: true,\n }, params);\n }\n else {\n return assign(new Error(), {\n type,\n [NavigationFailureSymbol]: true,\n }, params);\n }\n}\nfunction isNavigationFailure(error, type) {\n return (error instanceof Error &&\n NavigationFailureSymbol in error &&\n (type == null || !!(error.type & type)));\n}\nconst propertiesToLog = ['params', 'query', 'hash'];\nfunction stringifyRoute(to) {\n if (typeof to === 'string')\n return to;\n if (to.path != null)\n return to.path;\n const location = {};\n for (const key of propertiesToLog) {\n if (key in to)\n location[key] = to[key];\n }\n return JSON.stringify(location, null, 2);\n}\n\n// default pattern for a param: non-greedy everything but /\nconst BASE_PARAM_PATTERN = '[^/]+?';\nconst BASE_PATH_PARSER_OPTIONS = {\n sensitive: false,\n strict: false,\n start: true,\n end: true,\n};\n// Special Regex characters that must be escaped in static tokens\nconst REGEX_CHARS_RE = /[.+*?^${}()[\\]/\\\\]/g;\n/**\n * Creates a path parser from an array of Segments (a segment is an array of Tokens)\n *\n * @param segments - array of segments returned by tokenizePath\n * @param extraOptions - optional options for the regexp\n * @returns a PathParser\n */\nfunction tokensToParser(segments, extraOptions) {\n const options = assign({}, BASE_PATH_PARSER_OPTIONS, extraOptions);\n // the amount of scores is the same as the length of segments except for the root segment \"/\"\n const score = [];\n // the regexp as a string\n let pattern = options.start ? '^' : '';\n // extracted keys\n const keys = [];\n for (const segment of segments) {\n // the root segment needs special treatment\n const segmentScores = segment.length ? [] : [90 /* PathScore.Root */];\n // allow trailing slash\n if (options.strict && !segment.length)\n pattern += '/';\n for (let tokenIndex = 0; tokenIndex < segment.length; tokenIndex++) {\n const token = segment[tokenIndex];\n // resets the score if we are inside a sub-segment /:a-other-:b\n let subSegmentScore = 40 /* PathScore.Segment */ +\n (options.sensitive ? 0.25 /* PathScore.BonusCaseSensitive */ : 0);\n if (token.type === 0 /* TokenType.Static */) {\n // prepend the slash if we are starting a new segment\n if (!tokenIndex)\n pattern += '/';\n pattern += token.value.replace(REGEX_CHARS_RE, '\\\\$&');\n subSegmentScore += 40 /* PathScore.Static */;\n }\n else if (token.type === 1 /* TokenType.Param */) {\n const { value, repeatable, optional, regexp } = token;\n keys.push({\n name: value,\n repeatable,\n optional,\n });\n const re = regexp ? regexp : BASE_PARAM_PATTERN;\n // the user provided a custom regexp /:id(\\\\d+)\n if (re !== BASE_PARAM_PATTERN) {\n subSegmentScore += 10 /* PathScore.BonusCustomRegExp */;\n // make sure the regexp is valid before using it\n try {\n new RegExp(`(${re})`);\n }\n catch (err) {\n throw new Error(`Invalid custom RegExp for param \"${value}\" (${re}): ` +\n err.message);\n }\n }\n // when we repeat we must take care of the repeating leading slash\n let subPattern = repeatable ? `((?:${re})(?:/(?:${re}))*)` : `(${re})`;\n // prepend the slash if we are starting a new segment\n if (!tokenIndex)\n subPattern =\n // avoid an optional / if there are more segments e.g. /:p?-static\n // or /:p?-:p2\n optional && segment.length < 2\n ? `(?:/${subPattern})`\n : '/' + subPattern;\n if (optional)\n subPattern += '?';\n pattern += subPattern;\n subSegmentScore += 20 /* PathScore.Dynamic */;\n if (optional)\n subSegmentScore += -8 /* PathScore.BonusOptional */;\n if (repeatable)\n subSegmentScore += -20 /* PathScore.BonusRepeatable */;\n if (re === '.*')\n subSegmentScore += -50 /* PathScore.BonusWildcard */;\n }\n segmentScores.push(subSegmentScore);\n }\n // an empty array like /home/ -> [[{home}], []]\n // if (!segment.length) pattern += '/'\n score.push(segmentScores);\n }\n // only apply the strict bonus to the last score\n if (options.strict && options.end) {\n const i = score.length - 1;\n score[i][score[i].length - 1] += 0.7000000000000001 /* PathScore.BonusStrict */;\n }\n // TODO: dev only warn double trailing slash\n if (!options.strict)\n pattern += '/?';\n if (options.end)\n pattern += '$';\n // allow paths like /dynamic to only match dynamic or dynamic/... but not dynamic_something_else\n else if (options.strict && !pattern.endsWith('/'))\n pattern += '(?:/|$)';\n const re = new RegExp(pattern, options.sensitive ? '' : 'i');\n function parse(path) {\n const match = path.match(re);\n const params = {};\n if (!match)\n return null;\n for (let i = 1; i < match.length; i++) {\n const value = match[i] || '';\n const key = keys[i - 1];\n params[key.name] = value && key.repeatable ? value.split('/') : value;\n }\n return params;\n }\n function stringify(params) {\n let path = '';\n // for optional parameters to allow to be empty\n let avoidDuplicatedSlash = false;\n for (const segment of segments) {\n if (!avoidDuplicatedSlash || !path.endsWith('/'))\n path += '/';\n avoidDuplicatedSlash = false;\n for (const token of segment) {\n if (token.type === 0 /* TokenType.Static */) {\n path += token.value;\n }\n else if (token.type === 1 /* TokenType.Param */) {\n const { value, repeatable, optional } = token;\n const param = value in params ? params[value] : '';\n if (isArray(param) && !repeatable) {\n throw new Error(`Provided param \"${value}\" is an array but it is not repeatable (* or + modifiers)`);\n }\n const text = isArray(param)\n ? param.join('/')\n : param;\n if (!text) {\n if (optional) {\n // if we have more than one optional param like /:a?-static we don't need to care about the optional param\n if (segment.length < 2) {\n // remove the last slash as we could be at the end\n if (path.endsWith('/'))\n path = path.slice(0, -1);\n // do not append a slash on the next iteration\n else\n avoidDuplicatedSlash = true;\n }\n }\n else\n throw new Error(`Missing required param \"${value}\"`);\n }\n path += text;\n }\n }\n }\n // avoid empty path when we have multiple optional params\n return path || '/';\n }\n return {\n re,\n score,\n keys,\n parse,\n stringify,\n };\n}\n/**\n * Compares an array of numbers as used in PathParser.score and returns a\n * number. This function can be used to `sort` an array\n *\n * @param a - first array of numbers\n * @param b - second array of numbers\n * @returns 0 if both are equal, < 0 if a should be sorted first, > 0 if b\n * should be sorted first\n */\nfunction compareScoreArray(a, b) {\n let i = 0;\n while (i < a.length && i < b.length) {\n const diff = b[i] - a[i];\n // only keep going if diff === 0\n if (diff)\n return diff;\n i++;\n }\n // if the last subsegment was Static, the shorter segments should be sorted first\n // otherwise sort the longest segment first\n if (a.length < b.length) {\n return a.length === 1 && a[0] === 40 /* PathScore.Static */ + 40 /* PathScore.Segment */\n ? -1\n : 1;\n }\n else if (a.length > b.length) {\n return b.length === 1 && b[0] === 40 /* PathScore.Static */ + 40 /* PathScore.Segment */\n ? 1\n : -1;\n }\n return 0;\n}\n/**\n * Compare function that can be used with `sort` to sort an array of PathParser\n *\n * @param a - first PathParser\n * @param b - second PathParser\n * @returns 0 if both are equal, < 0 if a should be sorted first, > 0 if b\n */\nfunction comparePathParserScore(a, b) {\n let i = 0;\n const aScore = a.score;\n const bScore = b.score;\n while (i < aScore.length && i < bScore.length) {\n const comp = compareScoreArray(aScore[i], bScore[i]);\n // do not return if both are equal\n if (comp)\n return comp;\n i++;\n }\n if (Math.abs(bScore.length - aScore.length) === 1) {\n if (isLastScoreNegative(aScore))\n return 1;\n if (isLastScoreNegative(bScore))\n return -1;\n }\n // if a and b share the same score entries but b has more, sort b first\n return bScore.length - aScore.length;\n // this is the ternary version\n // return aScore.length < bScore.length\n // ? 1\n // : aScore.length > bScore.length\n // ? -1\n // : 0\n}\n/**\n * This allows detecting splats at the end of a path: /home/:id(.*)*\n *\n * @param score - score to check\n * @returns true if the last entry is negative\n */\nfunction isLastScoreNegative(score) {\n const last = score[score.length - 1];\n return score.length > 0 && last[last.length - 1] < 0;\n}\n\nconst ROOT_TOKEN = {\n type: 0 /* TokenType.Static */,\n value: '',\n};\nconst VALID_PARAM_RE = /[a-zA-Z0-9_]/;\n// After some profiling, the cache seems to be unnecessary because tokenizePath\n// (the slowest part of adding a route) is very fast\n// const tokenCache = new Map()\nfunction tokenizePath(path) {\n if (!path)\n return [[]];\n if (path === '/')\n return [[ROOT_TOKEN]];\n if (!path.startsWith('/')) {\n throw new Error((process.env.NODE_ENV !== 'production')\n ? `Route paths should start with a \"/\": \"${path}\" should be \"/${path}\".`\n : `Invalid path \"${path}\"`);\n }\n // if (tokenCache.has(path)) return tokenCache.get(path)!\n function crash(message) {\n throw new Error(`ERR (${state})/\"${buffer}\": ${message}`);\n }\n let state = 0 /* TokenizerState.Static */;\n let previousState = state;\n const tokens = [];\n // the segment will always be valid because we get into the initial state\n // with the leading /\n let segment;\n function finalizeSegment() {\n if (segment)\n tokens.push(segment);\n segment = [];\n }\n // index on the path\n let i = 0;\n // char at index\n let char;\n // buffer of the value read\n let buffer = '';\n // custom regexp for a param\n let customRe = '';\n function consumeBuffer() {\n if (!buffer)\n return;\n if (state === 0 /* TokenizerState.Static */) {\n segment.push({\n type: 0 /* TokenType.Static */,\n value: buffer,\n });\n }\n else if (state === 1 /* TokenizerState.Param */ ||\n state === 2 /* TokenizerState.ParamRegExp */ ||\n state === 3 /* TokenizerState.ParamRegExpEnd */) {\n if (segment.length > 1 && (char === '*' || char === '+'))\n crash(`A repeatable param (${buffer}) must be alone in its segment. eg: '/:ids+.`);\n segment.push({\n type: 1 /* TokenType.Param */,\n value: buffer,\n regexp: customRe,\n repeatable: char === '*' || char === '+',\n optional: char === '*' || char === '?',\n });\n }\n else {\n crash('Invalid state to consume buffer');\n }\n buffer = '';\n }\n function addCharToBuffer() {\n buffer += char;\n }\n while (i < path.length) {\n char = path[i++];\n if (char === '\\\\' && state !== 2 /* TokenizerState.ParamRegExp */) {\n previousState = state;\n state = 4 /* TokenizerState.EscapeNext */;\n continue;\n }\n switch (state) {\n case 0 /* TokenizerState.Static */:\n if (char === '/') {\n if (buffer) {\n consumeBuffer();\n }\n finalizeSegment();\n }\n else if (char === ':') {\n consumeBuffer();\n state = 1 /* TokenizerState.Param */;\n }\n else {\n addCharToBuffer();\n }\n break;\n case 4 /* TokenizerState.EscapeNext */:\n addCharToBuffer();\n state = previousState;\n break;\n case 1 /* TokenizerState.Param */:\n if (char === '(') {\n state = 2 /* TokenizerState.ParamRegExp */;\n }\n else if (VALID_PARAM_RE.test(char)) {\n addCharToBuffer();\n }\n else {\n consumeBuffer();\n state = 0 /* TokenizerState.Static */;\n // go back one character if we were not modifying\n if (char !== '*' && char !== '?' && char !== '+')\n i--;\n }\n break;\n case 2 /* TokenizerState.ParamRegExp */:\n // TODO: is it worth handling nested regexp? like :p(?:prefix_([^/]+)_suffix)\n // it already works by escaping the closing )\n // https://paths.esm.dev/?p=AAMeJbiAwQEcDKbAoAAkP60PG2R6QAvgNaA6AFACM2ABuQBB#\n // is this really something people need since you can also write\n // /prefix_:p()_suffix\n if (char === ')') {\n // handle the escaped )\n if (customRe[customRe.length - 1] == '\\\\')\n customRe = customRe.slice(0, -1) + char;\n else\n state = 3 /* TokenizerState.ParamRegExpEnd */;\n }\n else {\n customRe += char;\n }\n break;\n case 3 /* TokenizerState.ParamRegExpEnd */:\n // same as finalizing a param\n consumeBuffer();\n state = 0 /* TokenizerState.Static */;\n // go back one character if we were not modifying\n if (char !== '*' && char !== '?' && char !== '+')\n i--;\n customRe = '';\n break;\n default:\n crash('Unknown state');\n break;\n }\n }\n if (state === 2 /* TokenizerState.ParamRegExp */)\n crash(`Unfinished custom RegExp for param \"${buffer}\"`);\n consumeBuffer();\n finalizeSegment();\n // tokenCache.set(path, tokens)\n return tokens;\n}\n\nfunction createRouteRecordMatcher(record, parent, options) {\n const parser = tokensToParser(tokenizePath(record.path), options);\n // warn against params with the same name\n if ((process.env.NODE_ENV !== 'production')) {\n const existingKeys = new Set();\n for (const key of parser.keys) {\n if (existingKeys.has(key.name))\n warn(`Found duplicated params with name \"${key.name}\" for path \"${record.path}\". Only the last one will be available on \"$route.params\".`);\n existingKeys.add(key.name);\n }\n }\n const matcher = assign(parser, {\n record,\n parent,\n // these needs to be populated by the parent\n children: [],\n alias: [],\n });\n if (parent) {\n // both are aliases or both are not aliases\n // we don't want to mix them because the order is used when\n // passing originalRecord in Matcher.addRoute\n if (!matcher.record.aliasOf === !parent.record.aliasOf)\n parent.children.push(matcher);\n }\n return matcher;\n}\n\n/**\n * Creates a Router Matcher.\n *\n * @internal\n * @param routes - array of initial routes\n * @param globalOptions - global route options\n */\nfunction createRouterMatcher(routes, globalOptions) {\n // normalized ordered array of matchers\n const matchers = [];\n const matcherMap = new Map();\n globalOptions = mergeOptions({ strict: false, end: true, sensitive: false }, globalOptions);\n function getRecordMatcher(name) {\n return matcherMap.get(name);\n }\n function addRoute(record, parent, originalRecord) {\n // used later on to remove by name\n const isRootAdd = !originalRecord;\n const mainNormalizedRecord = normalizeRouteRecord(record);\n if ((process.env.NODE_ENV !== 'production')) {\n checkChildMissingNameWithEmptyPath(mainNormalizedRecord, parent);\n }\n // we might be the child of an alias\n mainNormalizedRecord.aliasOf = originalRecord && originalRecord.record;\n const options = mergeOptions(globalOptions, record);\n // generate an array of records to correctly handle aliases\n const normalizedRecords = [mainNormalizedRecord];\n if ('alias' in record) {\n const aliases = typeof record.alias === 'string' ? [record.alias] : record.alias;\n for (const alias of aliases) {\n normalizedRecords.push(\n // we need to normalize again to ensure the `mods` property\n // being non enumerable\n normalizeRouteRecord(assign({}, mainNormalizedRecord, {\n // this allows us to hold a copy of the `components` option\n // so that async components cache is hold on the original record\n components: originalRecord\n ? originalRecord.record.components\n : mainNormalizedRecord.components,\n path: alias,\n // we might be the child of an alias\n aliasOf: originalRecord\n ? originalRecord.record\n : mainNormalizedRecord,\n // the aliases are always of the same kind as the original since they\n // are defined on the same record\n })));\n }\n }\n let matcher;\n let originalMatcher;\n for (const normalizedRecord of normalizedRecords) {\n const { path } = normalizedRecord;\n // Build up the path for nested routes if the child isn't an absolute\n // route. Only add the / delimiter if the child path isn't empty and if the\n // parent path doesn't have a trailing slash\n if (parent && path[0] !== '/') {\n const parentPath = parent.record.path;\n const connectingSlash = parentPath[parentPath.length - 1] === '/' ? '' : '/';\n normalizedRecord.path =\n parent.record.path + (path && connectingSlash + path);\n }\n if ((process.env.NODE_ENV !== 'production') && normalizedRecord.path === '*') {\n throw new Error('Catch all routes (\"*\") must now be defined using a param with a custom regexp.\\n' +\n 'See more at https://router.vuejs.org/guide/migration/#Removed-star-or-catch-all-routes.');\n }\n // create the object beforehand, so it can be passed to children\n matcher = createRouteRecordMatcher(normalizedRecord, parent, options);\n if ((process.env.NODE_ENV !== 'production') && parent && path[0] === '/')\n checkMissingParamsInAbsolutePath(matcher, parent);\n // if we are an alias we must tell the original record that we exist,\n // so we can be removed\n if (originalRecord) {\n originalRecord.alias.push(matcher);\n if ((process.env.NODE_ENV !== 'production')) {\n checkSameParams(originalRecord, matcher);\n }\n }\n else {\n // otherwise, the first record is the original and others are aliases\n originalMatcher = originalMatcher || matcher;\n if (originalMatcher !== matcher)\n originalMatcher.alias.push(matcher);\n // remove the route if named and only for the top record (avoid in nested calls)\n // this works because the original record is the first one\n if (isRootAdd && record.name && !isAliasRecord(matcher)) {\n if ((process.env.NODE_ENV !== 'production')) {\n checkSameNameAsAncestor(record, parent);\n }\n removeRoute(record.name);\n }\n }\n // Avoid adding a record that doesn't display anything. This allows passing through records without a component to\n // not be reached and pass through the catch all route\n if (isMatchable(matcher)) {\n insertMatcher(matcher);\n }\n if (mainNormalizedRecord.children) {\n const children = mainNormalizedRecord.children;\n for (let i = 0; i < children.length; i++) {\n addRoute(children[i], matcher, originalRecord && originalRecord.children[i]);\n }\n }\n // if there was no original record, then the first one was not an alias and all\n // other aliases (if any) need to reference this record when adding children\n originalRecord = originalRecord || matcher;\n // TODO: add normalized records for more flexibility\n // if (parent && isAliasRecord(originalRecord)) {\n // parent.children.push(originalRecord)\n // }\n }\n return originalMatcher\n ? () => {\n // since other matchers are aliases, they should be removed by the original matcher\n removeRoute(originalMatcher);\n }\n : noop;\n }\n function removeRoute(matcherRef) {\n if (isRouteName(matcherRef)) {\n const matcher = matcherMap.get(matcherRef);\n if (matcher) {\n matcherMap.delete(matcherRef);\n matchers.splice(matchers.indexOf(matcher), 1);\n matcher.children.forEach(removeRoute);\n matcher.alias.forEach(removeRoute);\n }\n }\n else {\n const index = matchers.indexOf(matcherRef);\n if (index > -1) {\n matchers.splice(index, 1);\n if (matcherRef.record.name)\n matcherMap.delete(matcherRef.record.name);\n matcherRef.children.forEach(removeRoute);\n matcherRef.alias.forEach(removeRoute);\n }\n }\n }\n function getRoutes() {\n return matchers;\n }\n function insertMatcher(matcher) {\n const index = findInsertionIndex(matcher, matchers);\n matchers.splice(index, 0, matcher);\n // only add the original record to the name map\n if (matcher.record.name && !isAliasRecord(matcher))\n matcherMap.set(matcher.record.name, matcher);\n }\n function resolve(location, currentLocation) {\n let matcher;\n let params = {};\n let path;\n let name;\n if ('name' in location && location.name) {\n matcher = matcherMap.get(location.name);\n if (!matcher)\n throw createRouterError(1 /* ErrorTypes.MATCHER_NOT_FOUND */, {\n location,\n });\n // warn if the user is passing invalid params so they can debug it better when they get removed\n if ((process.env.NODE_ENV !== 'production')) {\n const invalidParams = Object.keys(location.params || {}).filter(paramName => !matcher.keys.find(k => k.name === paramName));\n if (invalidParams.length) {\n warn(`Discarded invalid param(s) \"${invalidParams.join('\", \"')}\" when navigating. See https://github.com/vuejs/router/blob/main/packages/router/CHANGELOG.md#414-2022-08-22 for more details.`);\n }\n }\n name = matcher.record.name;\n params = assign(\n // paramsFromLocation is a new object\n paramsFromLocation(currentLocation.params, \n // only keep params that exist in the resolved location\n // only keep optional params coming from a parent record\n matcher.keys\n .filter(k => !k.optional)\n .concat(matcher.parent ? matcher.parent.keys.filter(k => k.optional) : [])\n .map(k => k.name)), \n // discard any existing params in the current location that do not exist here\n // #1497 this ensures better active/exact matching\n location.params &&\n paramsFromLocation(location.params, matcher.keys.map(k => k.name)));\n // throws if cannot be stringified\n path = matcher.stringify(params);\n }\n else if (location.path != null) {\n // no need to resolve the path with the matcher as it was provided\n // this also allows the user to control the encoding\n path = location.path;\n if ((process.env.NODE_ENV !== 'production') && !path.startsWith('/')) {\n warn(`The Matcher cannot resolve relative paths but received \"${path}\". Unless you directly called \\`matcher.resolve(\"${path}\")\\`, this is probably a bug in vue-router. Please open an issue at https://github.com/vuejs/router/issues/new/choose.`);\n }\n matcher = matchers.find(m => m.re.test(path));\n // matcher should have a value after the loop\n if (matcher) {\n // we know the matcher works because we tested the regexp\n params = matcher.parse(path);\n name = matcher.record.name;\n }\n // location is a relative path\n }\n else {\n // match by name or path of current route\n matcher = currentLocation.name\n ? matcherMap.get(currentLocation.name)\n : matchers.find(m => m.re.test(currentLocation.path));\n if (!matcher)\n throw createRouterError(1 /* ErrorTypes.MATCHER_NOT_FOUND */, {\n location,\n currentLocation,\n });\n name = matcher.record.name;\n // since we are navigating to the same location, we don't need to pick the\n // params like when `name` is provided\n params = assign({}, currentLocation.params, location.params);\n path = matcher.stringify(params);\n }\n const matched = [];\n let parentMatcher = matcher;\n while (parentMatcher) {\n // reversed order so parents are at the beginning\n matched.unshift(parentMatcher.record);\n parentMatcher = parentMatcher.parent;\n }\n return {\n name,\n path,\n params,\n matched,\n meta: mergeMetaFields(matched),\n };\n }\n // add initial routes\n routes.forEach(route => addRoute(route));\n function clearRoutes() {\n matchers.length = 0;\n matcherMap.clear();\n }\n return {\n addRoute,\n resolve,\n removeRoute,\n clearRoutes,\n getRoutes,\n getRecordMatcher,\n };\n}\nfunction paramsFromLocation(params, keys) {\n const newParams = {};\n for (const key of keys) {\n if (key in params)\n newParams[key] = params[key];\n }\n return newParams;\n}\n/**\n * Normalizes a RouteRecordRaw. Creates a copy\n *\n * @param record\n * @returns the normalized version\n */\nfunction normalizeRouteRecord(record) {\n const normalized = {\n path: record.path,\n redirect: record.redirect,\n name: record.name,\n meta: record.meta || {},\n aliasOf: record.aliasOf,\n beforeEnter: record.beforeEnter,\n props: normalizeRecordProps(record),\n children: record.children || [],\n instances: {},\n leaveGuards: new Set(),\n updateGuards: new Set(),\n enterCallbacks: {},\n // must be declared afterwards\n // mods: {},\n components: 'components' in record\n ? record.components || null\n : record.component && { default: record.component },\n };\n // mods contain modules and shouldn't be copied,\n // logged or anything. It's just used for internal\n // advanced use cases like data loaders\n Object.defineProperty(normalized, 'mods', {\n value: {},\n });\n return normalized;\n}\n/**\n * Normalize the optional `props` in a record to always be an object similar to\n * components. Also accept a boolean for components.\n * @param record\n */\nfunction normalizeRecordProps(record) {\n const propsObject = {};\n // props does not exist on redirect records, but we can set false directly\n const props = record.props || false;\n if ('component' in record) {\n propsObject.default = props;\n }\n else {\n // NOTE: we could also allow a function to be applied to every component.\n // Would need user feedback for use cases\n for (const name in record.components)\n propsObject[name] = typeof props === 'object' ? props[name] : props;\n }\n return propsObject;\n}\n/**\n * Checks if a record or any of its parent is an alias\n * @param record\n */\nfunction isAliasRecord(record) {\n while (record) {\n if (record.record.aliasOf)\n return true;\n record = record.parent;\n }\n return false;\n}\n/**\n * Merge meta fields of an array of records\n *\n * @param matched - array of matched records\n */\nfunction mergeMetaFields(matched) {\n return matched.reduce((meta, record) => assign(meta, record.meta), {});\n}\nfunction mergeOptions(defaults, partialOptions) {\n const options = {};\n for (const key in defaults) {\n options[key] = key in partialOptions ? partialOptions[key] : defaults[key];\n }\n return options;\n}\nfunction isSameParam(a, b) {\n return (a.name === b.name &&\n a.optional === b.optional &&\n a.repeatable === b.repeatable);\n}\n/**\n * Check if a path and its alias have the same required params\n *\n * @param a - original record\n * @param b - alias record\n */\nfunction checkSameParams(a, b) {\n for (const key of a.keys) {\n if (!key.optional && !b.keys.find(isSameParam.bind(null, key)))\n return warn(`Alias \"${b.record.path}\" and the original record: \"${a.record.path}\" must have the exact same param named \"${key.name}\"`);\n }\n for (const key of b.keys) {\n if (!key.optional && !a.keys.find(isSameParam.bind(null, key)))\n return warn(`Alias \"${b.record.path}\" and the original record: \"${a.record.path}\" must have the exact same param named \"${key.name}\"`);\n }\n}\n/**\n * A route with a name and a child with an empty path without a name should warn when adding the route\n *\n * @param mainNormalizedRecord - RouteRecordNormalized\n * @param parent - RouteRecordMatcher\n */\nfunction checkChildMissingNameWithEmptyPath(mainNormalizedRecord, parent) {\n if (parent &&\n parent.record.name &&\n !mainNormalizedRecord.name &&\n !mainNormalizedRecord.path) {\n warn(`The route named \"${String(parent.record.name)}\" has a child without a name and an empty path. Using that name won't render the empty path child so you probably want to move the name to the child instead. If this is intentional, add a name to the child route to remove the warning.`);\n }\n}\nfunction checkSameNameAsAncestor(record, parent) {\n for (let ancestor = parent; ancestor; ancestor = ancestor.parent) {\n if (ancestor.record.name === record.name) {\n throw new Error(`A route named \"${String(record.name)}\" has been added as a ${parent === ancestor ? 'child' : 'descendant'} of a route with the same name. Route names must be unique and a nested route cannot use the same name as an ancestor.`);\n }\n }\n}\nfunction checkMissingParamsInAbsolutePath(record, parent) {\n for (const key of parent.keys) {\n if (!record.keys.find(isSameParam.bind(null, key)))\n return warn(`Absolute path \"${record.record.path}\" must have the exact same param named \"${key.name}\" as its parent \"${parent.record.path}\".`);\n }\n}\n/**\n * Performs a binary search to find the correct insertion index for a new matcher.\n *\n * Matchers are primarily sorted by their score. If scores are tied then we also consider parent/child relationships,\n * with descendants coming before ancestors. If there's still a tie, new routes are inserted after existing routes.\n *\n * @param matcher - new matcher to be inserted\n * @param matchers - existing matchers\n */\nfunction findInsertionIndex(matcher, matchers) {\n // First phase: binary search based on score\n let lower = 0;\n let upper = matchers.length;\n while (lower !== upper) {\n const mid = (lower + upper) >> 1;\n const sortOrder = comparePathParserScore(matcher, matchers[mid]);\n if (sortOrder < 0) {\n upper = mid;\n }\n else {\n lower = mid + 1;\n }\n }\n // Second phase: check for an ancestor with the same score\n const insertionAncestor = getInsertionAncestor(matcher);\n if (insertionAncestor) {\n upper = matchers.lastIndexOf(insertionAncestor, upper - 1);\n if ((process.env.NODE_ENV !== 'production') && upper < 0) {\n // This should never happen\n warn(`Finding ancestor route \"${insertionAncestor.record.path}\" failed for \"${matcher.record.path}\"`);\n }\n }\n return upper;\n}\nfunction getInsertionAncestor(matcher) {\n let ancestor = matcher;\n while ((ancestor = ancestor.parent)) {\n if (isMatchable(ancestor) &&\n comparePathParserScore(matcher, ancestor) === 0) {\n return ancestor;\n }\n }\n return;\n}\n/**\n * Checks if a matcher can be reachable. This means if it's possible to reach it as a route. For example, routes without\n * a component, or name, or redirect, are just used to group other routes.\n * @param matcher\n * @param matcher.record record of the matcher\n * @returns\n */\nfunction isMatchable({ record }) {\n return !!(record.name ||\n (record.components && Object.keys(record.components).length) ||\n record.redirect);\n}\n\n/**\n * Transforms a queryString into a {@link LocationQuery} object. Accept both, a\n * version with the leading `?` and without Should work as URLSearchParams\n\n * @internal\n *\n * @param search - search string to parse\n * @returns a query object\n */\nfunction parseQuery(search) {\n const query = {};\n // avoid creating an object with an empty key and empty value\n // because of split('&')\n if (search === '' || search === '?')\n return query;\n const hasLeadingIM = search[0] === '?';\n const searchParams = (hasLeadingIM ? search.slice(1) : search).split('&');\n for (let i = 0; i < searchParams.length; ++i) {\n // pre decode the + into space\n const searchParam = searchParams[i].replace(PLUS_RE, ' ');\n // allow the = character\n const eqPos = searchParam.indexOf('=');\n const key = decode(eqPos < 0 ? searchParam : searchParam.slice(0, eqPos));\n const value = eqPos < 0 ? null : decode(searchParam.slice(eqPos + 1));\n if (key in query) {\n // an extra variable for ts types\n let currentValue = query[key];\n if (!isArray(currentValue)) {\n currentValue = query[key] = [currentValue];\n }\n currentValue.push(value);\n }\n else {\n query[key] = value;\n }\n }\n return query;\n}\n/**\n * Stringifies a {@link LocationQueryRaw} object. Like `URLSearchParams`, it\n * doesn't prepend a `?`\n *\n * @internal\n *\n * @param query - query object to stringify\n * @returns string version of the query without the leading `?`\n */\nfunction stringifyQuery(query) {\n let search = '';\n for (let key in query) {\n const value = query[key];\n key = encodeQueryKey(key);\n if (value == null) {\n // only null adds the value\n if (value !== undefined) {\n search += (search.length ? '&' : '') + key;\n }\n continue;\n }\n // keep null values\n const values = isArray(value)\n ? value.map(v => v && encodeQueryValue(v))\n : [value && encodeQueryValue(value)];\n values.forEach(value => {\n // skip undefined values in arrays as if they were not present\n // smaller code than using filter\n if (value !== undefined) {\n // only append & with non-empty search\n search += (search.length ? '&' : '') + key;\n if (value != null)\n search += '=' + value;\n }\n });\n }\n return search;\n}\n/**\n * Transforms a {@link LocationQueryRaw} into a {@link LocationQuery} by casting\n * numbers into strings, removing keys with an undefined value and replacing\n * undefined with null in arrays\n *\n * @param query - query object to normalize\n * @returns a normalized query object\n */\nfunction normalizeQuery(query) {\n const normalizedQuery = {};\n for (const key in query) {\n const value = query[key];\n if (value !== undefined) {\n normalizedQuery[key] = isArray(value)\n ? value.map(v => (v == null ? null : '' + v))\n : value == null\n ? value\n : '' + value;\n }\n }\n return normalizedQuery;\n}\n\n/**\n * RouteRecord being rendered by the closest ancestor Router View. Used for\n * `onBeforeRouteUpdate` and `onBeforeRouteLeave`. rvlm stands for Router View\n * Location Matched\n *\n * @internal\n */\nconst matchedRouteKey = Symbol((process.env.NODE_ENV !== 'production') ? 'router view location matched' : '');\n/**\n * Allows overriding the router view depth to control which component in\n * `matched` is rendered. rvd stands for Router View Depth\n *\n * @internal\n */\nconst viewDepthKey = Symbol((process.env.NODE_ENV !== 'production') ? 'router view depth' : '');\n/**\n * Allows overriding the router instance returned by `useRouter` in tests. r\n * stands for router\n *\n * @internal\n */\nconst routerKey = Symbol((process.env.NODE_ENV !== 'production') ? 'router' : '');\n/**\n * Allows overriding the current route returned by `useRoute` in tests. rl\n * stands for route location\n *\n * @internal\n */\nconst routeLocationKey = Symbol((process.env.NODE_ENV !== 'production') ? 'route location' : '');\n/**\n * Allows overriding the current route used by router-view. Internally this is\n * used when the `route` prop is passed.\n *\n * @internal\n */\nconst routerViewLocationKey = Symbol((process.env.NODE_ENV !== 'production') ? 'router view location' : '');\n\n/**\n * Create a list of callbacks that can be reset. Used to create before and after navigation guards list\n */\nfunction useCallbacks() {\n let handlers = [];\n function add(handler) {\n handlers.push(handler);\n return () => {\n const i = handlers.indexOf(handler);\n if (i > -1)\n handlers.splice(i, 1);\n };\n }\n function reset() {\n handlers = [];\n }\n return {\n add,\n list: () => handlers.slice(),\n reset,\n };\n}\n\nfunction registerGuard(record, name, guard) {\n const removeFromList = () => {\n record[name].delete(guard);\n };\n onUnmounted(removeFromList);\n onDeactivated(removeFromList);\n onActivated(() => {\n record[name].add(guard);\n });\n record[name].add(guard);\n}\n/**\n * Add a navigation guard that triggers whenever the component for the current\n * location is about to be left. Similar to {@link beforeRouteLeave} but can be\n * used in any component. The guard is removed when the component is unmounted.\n *\n * @param leaveGuard - {@link NavigationGuard}\n */\nfunction onBeforeRouteLeave(leaveGuard) {\n if ((process.env.NODE_ENV !== 'production') && !getCurrentInstance()) {\n warn('getCurrentInstance() returned null. onBeforeRouteLeave() must be called at the top of a setup function');\n return;\n }\n const activeRecord = inject(matchedRouteKey, \n // to avoid warning\n {}).value;\n if (!activeRecord) {\n (process.env.NODE_ENV !== 'production') &&\n warn('No active route record was found when calling `onBeforeRouteLeave()`. Make sure you call this function inside a component child of . Maybe you called it inside of App.vue?');\n return;\n }\n registerGuard(activeRecord, 'leaveGuards', leaveGuard);\n}\n/**\n * Add a navigation guard that triggers whenever the current location is about\n * to be updated. Similar to {@link beforeRouteUpdate} but can be used in any\n * component. The guard is removed when the component is unmounted.\n *\n * @param updateGuard - {@link NavigationGuard}\n */\nfunction onBeforeRouteUpdate(updateGuard) {\n if ((process.env.NODE_ENV !== 'production') && !getCurrentInstance()) {\n warn('getCurrentInstance() returned null. onBeforeRouteUpdate() must be called at the top of a setup function');\n return;\n }\n const activeRecord = inject(matchedRouteKey, \n // to avoid warning\n {}).value;\n if (!activeRecord) {\n (process.env.NODE_ENV !== 'production') &&\n warn('No active route record was found when calling `onBeforeRouteUpdate()`. Make sure you call this function inside a component child of . Maybe you called it inside of App.vue?');\n return;\n }\n registerGuard(activeRecord, 'updateGuards', updateGuard);\n}\nfunction guardToPromiseFn(guard, to, from, record, name, runWithContext = fn => fn()) {\n // keep a reference to the enterCallbackArray to prevent pushing callbacks if a new navigation took place\n const enterCallbackArray = record &&\n // name is defined if record is because of the function overload\n (record.enterCallbacks[name] = record.enterCallbacks[name] || []);\n return () => new Promise((resolve, reject) => {\n const next = (valid) => {\n if (valid === false) {\n reject(createRouterError(4 /* ErrorTypes.NAVIGATION_ABORTED */, {\n from,\n to,\n }));\n }\n else if (valid instanceof Error) {\n reject(valid);\n }\n else if (isRouteLocation(valid)) {\n reject(createRouterError(2 /* ErrorTypes.NAVIGATION_GUARD_REDIRECT */, {\n from: to,\n to: valid,\n }));\n }\n else {\n if (enterCallbackArray &&\n // since enterCallbackArray is truthy, both record and name also are\n record.enterCallbacks[name] === enterCallbackArray &&\n typeof valid === 'function') {\n enterCallbackArray.push(valid);\n }\n resolve();\n }\n };\n // wrapping with Promise.resolve allows it to work with both async and sync guards\n const guardReturn = runWithContext(() => guard.call(record && record.instances[name], to, from, (process.env.NODE_ENV !== 'production') ? canOnlyBeCalledOnce(next, to, from) : next));\n let guardCall = Promise.resolve(guardReturn);\n if (guard.length < 3)\n guardCall = guardCall.then(next);\n if ((process.env.NODE_ENV !== 'production') && guard.length > 2) {\n const message = `The \"next\" callback was never called inside of ${guard.name ? '\"' + guard.name + '\"' : ''}:\\n${guard.toString()}\\n. If you are returning a value instead of calling \"next\", make sure to remove the \"next\" parameter from your function.`;\n if (typeof guardReturn === 'object' && 'then' in guardReturn) {\n guardCall = guardCall.then(resolvedValue => {\n // @ts-expect-error: _called is added at canOnlyBeCalledOnce\n if (!next._called) {\n warn(message);\n return Promise.reject(new Error('Invalid navigation guard'));\n }\n return resolvedValue;\n });\n }\n else if (guardReturn !== undefined) {\n // @ts-expect-error: _called is added at canOnlyBeCalledOnce\n if (!next._called) {\n warn(message);\n reject(new Error('Invalid navigation guard'));\n return;\n }\n }\n }\n guardCall.catch(err => reject(err));\n });\n}\nfunction canOnlyBeCalledOnce(next, to, from) {\n let called = 0;\n return function () {\n if (called++ === 1)\n warn(`The \"next\" callback was called more than once in one navigation guard when going from \"${from.fullPath}\" to \"${to.fullPath}\". It should be called exactly one time in each navigation guard. This will fail in production.`);\n // @ts-expect-error: we put it in the original one because it's easier to check\n next._called = true;\n if (called === 1)\n next.apply(null, arguments);\n };\n}\nfunction extractComponentsGuards(matched, guardType, to, from, runWithContext = fn => fn()) {\n const guards = [];\n for (const record of matched) {\n if ((process.env.NODE_ENV !== 'production') && !record.components && !record.children.length) {\n warn(`Record with path \"${record.path}\" is either missing a \"component(s)\"` +\n ` or \"children\" property.`);\n }\n for (const name in record.components) {\n let rawComponent = record.components[name];\n if ((process.env.NODE_ENV !== 'production')) {\n if (!rawComponent ||\n (typeof rawComponent !== 'object' &&\n typeof rawComponent !== 'function')) {\n warn(`Component \"${name}\" in record with path \"${record.path}\" is not` +\n ` a valid component. Received \"${String(rawComponent)}\".`);\n // throw to ensure we stop here but warn to ensure the message isn't\n // missed by the user\n throw new Error('Invalid route component');\n }\n else if ('then' in rawComponent) {\n // warn if user wrote import('/component.vue') instead of () =>\n // import('./component.vue')\n warn(`Component \"${name}\" in record with path \"${record.path}\" is a ` +\n `Promise instead of a function that returns a Promise. Did you ` +\n `write \"import('./MyPage.vue')\" instead of ` +\n `\"() => import('./MyPage.vue')\" ? This will break in ` +\n `production if not fixed.`);\n const promise = rawComponent;\n rawComponent = () => promise;\n }\n else if (rawComponent.__asyncLoader &&\n // warn only once per component\n !rawComponent.__warnedDefineAsync) {\n rawComponent.__warnedDefineAsync = true;\n warn(`Component \"${name}\" in record with path \"${record.path}\" is defined ` +\n `using \"defineAsyncComponent()\". ` +\n `Write \"() => import('./MyPage.vue')\" instead of ` +\n `\"defineAsyncComponent(() => import('./MyPage.vue'))\".`);\n }\n }\n // skip update and leave guards if the route component is not mounted\n if (guardType !== 'beforeRouteEnter' && !record.instances[name])\n continue;\n if (isRouteComponent(rawComponent)) {\n // __vccOpts is added by vue-class-component and contain the regular options\n const options = rawComponent.__vccOpts || rawComponent;\n const guard = options[guardType];\n guard &&\n guards.push(guardToPromiseFn(guard, to, from, record, name, runWithContext));\n }\n else {\n // start requesting the chunk already\n let componentPromise = rawComponent();\n if ((process.env.NODE_ENV !== 'production') && !('catch' in componentPromise)) {\n warn(`Component \"${name}\" in record with path \"${record.path}\" is a function that does not return a Promise. If you were passing a functional component, make sure to add a \"displayName\" to the component. This will break in production if not fixed.`);\n componentPromise = Promise.resolve(componentPromise);\n }\n guards.push(() => componentPromise.then(resolved => {\n if (!resolved)\n throw new Error(`Couldn't resolve component \"${name}\" at \"${record.path}\"`);\n const resolvedComponent = isESModule(resolved)\n ? resolved.default\n : resolved;\n // keep the resolved module for plugins like data loaders\n record.mods[name] = resolved;\n // replace the function with the resolved component\n // cannot be null or undefined because we went into the for loop\n record.components[name] = resolvedComponent;\n // __vccOpts is added by vue-class-component and contain the regular options\n const options = resolvedComponent.__vccOpts || resolvedComponent;\n const guard = options[guardType];\n return (guard &&\n guardToPromiseFn(guard, to, from, record, name, runWithContext)());\n }));\n }\n }\n }\n return guards;\n}\n/**\n * Ensures a route is loaded, so it can be passed as o prop to ``.\n *\n * @param route - resolved route to load\n */\nfunction loadRouteLocation(route) {\n return route.matched.every(record => record.redirect)\n ? Promise.reject(new Error('Cannot load a route that redirects.'))\n : Promise.all(route.matched.map(record => record.components &&\n Promise.all(Object.keys(record.components).reduce((promises, name) => {\n const rawComponent = record.components[name];\n if (typeof rawComponent === 'function' &&\n !('displayName' in rawComponent)) {\n promises.push(rawComponent().then(resolved => {\n if (!resolved)\n return Promise.reject(new Error(`Couldn't resolve component \"${name}\" at \"${record.path}\". Ensure you passed a function that returns a promise.`));\n const resolvedComponent = isESModule(resolved)\n ? resolved.default\n : resolved;\n // keep the resolved module for plugins like data loaders\n record.mods[name] = resolved;\n // replace the function with the resolved component\n // cannot be null or undefined because we went into the for loop\n record.components[name] = resolvedComponent;\n return;\n }));\n }\n return promises;\n }, [])))).then(() => route);\n}\n\n// TODO: we could allow currentRoute as a prop to expose `isActive` and\n// `isExactActive` behavior should go through an RFC\n/**\n * Returns the internal behavior of a {@link RouterLink} without the rendering part.\n *\n * @param props - a `to` location and an optional `replace` flag\n */\nfunction useLink(props) {\n const router = inject(routerKey);\n const currentRoute = inject(routeLocationKey);\n let hasPrevious = false;\n let previousTo = null;\n const route = computed(() => {\n const to = unref(props.to);\n if ((process.env.NODE_ENV !== 'production') && (!hasPrevious || to !== previousTo)) {\n if (!isRouteLocation(to)) {\n if (hasPrevious) {\n warn(`Invalid value for prop \"to\" in useLink()\\n- to:`, to, `\\n- previous to:`, previousTo, `\\n- props:`, props);\n }\n else {\n warn(`Invalid value for prop \"to\" in useLink()\\n- to:`, to, `\\n- props:`, props);\n }\n }\n previousTo = to;\n hasPrevious = true;\n }\n return router.resolve(to);\n });\n const activeRecordIndex = computed(() => {\n const { matched } = route.value;\n const { length } = matched;\n const routeMatched = matched[length - 1];\n const currentMatched = currentRoute.matched;\n if (!routeMatched || !currentMatched.length)\n return -1;\n const index = currentMatched.findIndex(isSameRouteRecord.bind(null, routeMatched));\n if (index > -1)\n return index;\n // possible parent record\n const parentRecordPath = getOriginalPath(matched[length - 2]);\n return (\n // we are dealing with nested routes\n length > 1 &&\n // if the parent and matched route have the same path, this link is\n // referring to the empty child. Or we currently are on a different\n // child of the same parent\n getOriginalPath(routeMatched) === parentRecordPath &&\n // avoid comparing the child with its parent\n currentMatched[currentMatched.length - 1].path !== parentRecordPath\n ? currentMatched.findIndex(isSameRouteRecord.bind(null, matched[length - 2]))\n : index);\n });\n const isActive = computed(() => activeRecordIndex.value > -1 &&\n includesParams(currentRoute.params, route.value.params));\n const isExactActive = computed(() => activeRecordIndex.value > -1 &&\n activeRecordIndex.value === currentRoute.matched.length - 1 &&\n isSameRouteLocationParams(currentRoute.params, route.value.params));\n function navigate(e = {}) {\n if (guardEvent(e)) {\n const p = router[unref(props.replace) ? 'replace' : 'push'](unref(props.to)\n // avoid uncaught errors are they are logged anyway\n ).catch(noop);\n if (props.viewTransition &&\n typeof document !== 'undefined' &&\n 'startViewTransition' in document) {\n document.startViewTransition(() => p);\n }\n return p;\n }\n return Promise.resolve();\n }\n // devtools only\n if (((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) && isBrowser) {\n const instance = getCurrentInstance();\n if (instance) {\n const linkContextDevtools = {\n route: route.value,\n isActive: isActive.value,\n isExactActive: isExactActive.value,\n error: null,\n };\n // @ts-expect-error: this is internal\n instance.__vrl_devtools = instance.__vrl_devtools || [];\n // @ts-expect-error: this is internal\n instance.__vrl_devtools.push(linkContextDevtools);\n watchEffect(() => {\n linkContextDevtools.route = route.value;\n linkContextDevtools.isActive = isActive.value;\n linkContextDevtools.isExactActive = isExactActive.value;\n linkContextDevtools.error = isRouteLocation(unref(props.to))\n ? null\n : 'Invalid \"to\" value';\n }, { flush: 'post' });\n }\n }\n /**\n * NOTE: update {@link _RouterLinkI}'s `$slots` type when updating this\n */\n return {\n route,\n href: computed(() => route.value.href),\n isActive,\n isExactActive,\n navigate,\n };\n}\nfunction preferSingleVNode(vnodes) {\n return vnodes.length === 1 ? vnodes[0] : vnodes;\n}\nconst RouterLinkImpl = /*#__PURE__*/ defineComponent({\n name: 'RouterLink',\n compatConfig: { MODE: 3 },\n props: {\n to: {\n type: [String, Object],\n required: true,\n },\n replace: Boolean,\n activeClass: String,\n // inactiveClass: String,\n exactActiveClass: String,\n custom: Boolean,\n ariaCurrentValue: {\n type: String,\n default: 'page',\n },\n },\n useLink,\n setup(props, { slots }) {\n const link = reactive(useLink(props));\n const { options } = inject(routerKey);\n const elClass = computed(() => ({\n [getLinkClass(props.activeClass, options.linkActiveClass, 'router-link-active')]: link.isActive,\n // [getLinkClass(\n // props.inactiveClass,\n // options.linkInactiveClass,\n // 'router-link-inactive'\n // )]: !link.isExactActive,\n [getLinkClass(props.exactActiveClass, options.linkExactActiveClass, 'router-link-exact-active')]: link.isExactActive,\n }));\n return () => {\n const children = slots.default && preferSingleVNode(slots.default(link));\n return props.custom\n ? children\n : h('a', {\n 'aria-current': link.isExactActive\n ? props.ariaCurrentValue\n : null,\n href: link.href,\n // this would override user added attrs but Vue will still add\n // the listener, so we end up triggering both\n onClick: link.navigate,\n class: elClass.value,\n }, children);\n };\n },\n});\n// export the public type for h/tsx inference\n// also to avoid inline import() in generated d.ts files\n/**\n * Component to render a link that triggers a navigation on click.\n */\nconst RouterLink = RouterLinkImpl;\nfunction guardEvent(e) {\n // don't redirect with control keys\n if (e.metaKey || e.altKey || e.ctrlKey || e.shiftKey)\n return;\n // don't redirect when preventDefault called\n if (e.defaultPrevented)\n return;\n // don't redirect on right click\n if (e.button !== undefined && e.button !== 0)\n return;\n // don't redirect if `target=\"_blank\"`\n // @ts-expect-error getAttribute does exist\n if (e.currentTarget && e.currentTarget.getAttribute) {\n // @ts-expect-error getAttribute exists\n const target = e.currentTarget.getAttribute('target');\n if (/\\b_blank\\b/i.test(target))\n return;\n }\n // this may be a Weex event which doesn't have this method\n if (e.preventDefault)\n e.preventDefault();\n return true;\n}\nfunction includesParams(outer, inner) {\n for (const key in inner) {\n const innerValue = inner[key];\n const outerValue = outer[key];\n if (typeof innerValue === 'string') {\n if (innerValue !== outerValue)\n return false;\n }\n else {\n if (!isArray(outerValue) ||\n outerValue.length !== innerValue.length ||\n innerValue.some((value, i) => value !== outerValue[i]))\n return false;\n }\n }\n return true;\n}\n/**\n * Get the original path value of a record by following its aliasOf\n * @param record\n */\nfunction getOriginalPath(record) {\n return record ? (record.aliasOf ? record.aliasOf.path : record.path) : '';\n}\n/**\n * Utility class to get the active class based on defaults.\n * @param propClass\n * @param globalClass\n * @param defaultClass\n */\nconst getLinkClass = (propClass, globalClass, defaultClass) => propClass != null\n ? propClass\n : globalClass != null\n ? globalClass\n : defaultClass;\n\nconst RouterViewImpl = /*#__PURE__*/ defineComponent({\n name: 'RouterView',\n // #674 we manually inherit them\n inheritAttrs: false,\n props: {\n name: {\n type: String,\n default: 'default',\n },\n route: Object,\n },\n // Better compat for @vue/compat users\n // https://github.com/vuejs/router/issues/1315\n compatConfig: { MODE: 3 },\n setup(props, { attrs, slots }) {\n (process.env.NODE_ENV !== 'production') && warnDeprecatedUsage();\n const injectedRoute = inject(routerViewLocationKey);\n const routeToDisplay = computed(() => props.route || injectedRoute.value);\n const injectedDepth = inject(viewDepthKey, 0);\n // The depth changes based on empty components option, which allows passthrough routes e.g. routes with children\n // that are used to reuse the `path` property\n const depth = computed(() => {\n let initialDepth = unref(injectedDepth);\n const { matched } = routeToDisplay.value;\n let matchedRoute;\n while ((matchedRoute = matched[initialDepth]) &&\n !matchedRoute.components) {\n initialDepth++;\n }\n return initialDepth;\n });\n const matchedRouteRef = computed(() => routeToDisplay.value.matched[depth.value]);\n provide(viewDepthKey, computed(() => depth.value + 1));\n provide(matchedRouteKey, matchedRouteRef);\n provide(routerViewLocationKey, routeToDisplay);\n const viewRef = ref();\n // watch at the same time the component instance, the route record we are\n // rendering, and the name\n watch(() => [viewRef.value, matchedRouteRef.value, props.name], ([instance, to, name], [oldInstance, from, oldName]) => {\n // copy reused instances\n if (to) {\n // this will update the instance for new instances as well as reused\n // instances when navigating to a new route\n to.instances[name] = instance;\n // the component instance is reused for a different route or name, so\n // we copy any saved update or leave guards. With async setup, the\n // mounting component will mount before the matchedRoute changes,\n // making instance === oldInstance, so we check if guards have been\n // added before. This works because we remove guards when\n // unmounting/deactivating components\n if (from && from !== to && instance && instance === oldInstance) {\n if (!to.leaveGuards.size) {\n to.leaveGuards = from.leaveGuards;\n }\n if (!to.updateGuards.size) {\n to.updateGuards = from.updateGuards;\n }\n }\n }\n // trigger beforeRouteEnter next callbacks\n if (instance &&\n to &&\n // if there is no instance but to and from are the same this might be\n // the first visit\n (!from || !isSameRouteRecord(to, from) || !oldInstance)) {\n (to.enterCallbacks[name] || []).forEach(callback => callback(instance));\n }\n }, { flush: 'post' });\n return () => {\n const route = routeToDisplay.value;\n // we need the value at the time we render because when we unmount, we\n // navigated to a different location so the value is different\n const currentName = props.name;\n const matchedRoute = matchedRouteRef.value;\n const ViewComponent = matchedRoute && matchedRoute.components[currentName];\n if (!ViewComponent) {\n return normalizeSlot(slots.default, { Component: ViewComponent, route });\n }\n // props from route configuration\n const routePropsOption = matchedRoute.props[currentName];\n const routeProps = routePropsOption\n ? routePropsOption === true\n ? route.params\n : typeof routePropsOption === 'function'\n ? routePropsOption(route)\n : routePropsOption\n : null;\n const onVnodeUnmounted = vnode => {\n // remove the instance reference to prevent leak\n if (vnode.component.isUnmounted) {\n matchedRoute.instances[currentName] = null;\n }\n };\n const component = h(ViewComponent, assign({}, routeProps, attrs, {\n onVnodeUnmounted,\n ref: viewRef,\n }));\n if (((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) &&\n isBrowser &&\n component.ref) {\n // TODO: can display if it's an alias, its props\n const info = {\n depth: depth.value,\n name: matchedRoute.name,\n path: matchedRoute.path,\n meta: matchedRoute.meta,\n };\n const internalInstances = isArray(component.ref)\n ? component.ref.map(r => r.i)\n : [component.ref.i];\n internalInstances.forEach(instance => {\n // @ts-expect-error\n instance.__vrv_devtools = info;\n });\n }\n return (\n // pass the vnode to the slot as a prop.\n // h and both accept vnodes\n normalizeSlot(slots.default, { Component: component, route }) ||\n component);\n };\n },\n});\nfunction normalizeSlot(slot, data) {\n if (!slot)\n return null;\n const slotContent = slot(data);\n return slotContent.length === 1 ? slotContent[0] : slotContent;\n}\n// export the public type for h/tsx inference\n// also to avoid inline import() in generated d.ts files\n/**\n * Component to display the current route the user is at.\n */\nconst RouterView = RouterViewImpl;\n// warn against deprecated usage with & \n// due to functional component being no longer eager in Vue 3\nfunction warnDeprecatedUsage() {\n const instance = getCurrentInstance();\n const parentName = instance.parent && instance.parent.type.name;\n const parentSubTreeType = instance.parent && instance.parent.subTree && instance.parent.subTree.type;\n if (parentName &&\n (parentName === 'KeepAlive' || parentName.includes('Transition')) &&\n typeof parentSubTreeType === 'object' &&\n parentSubTreeType.name === 'RouterView') {\n const comp = parentName === 'KeepAlive' ? 'keep-alive' : 'transition';\n warn(` can no longer be used directly inside or .\\n` +\n `Use slot props instead:\\n\\n` +\n `\\n` +\n ` <${comp}>\\n` +\n ` \\n` +\n ` \\n` +\n ``);\n }\n}\n\n/**\n * Copies a route location and removes any problematic properties that cannot be shown in devtools (e.g. Vue instances).\n *\n * @param routeLocation - routeLocation to format\n * @param tooltip - optional tooltip\n * @returns a copy of the routeLocation\n */\nfunction formatRouteLocation(routeLocation, tooltip) {\n const copy = assign({}, routeLocation, {\n // remove variables that can contain vue instances\n matched: routeLocation.matched.map(matched => omit(matched, ['instances', 'children', 'aliasOf'])),\n });\n return {\n _custom: {\n type: null,\n readOnly: true,\n display: routeLocation.fullPath,\n tooltip,\n value: copy,\n },\n };\n}\nfunction formatDisplay(display) {\n return {\n _custom: {\n display,\n },\n };\n}\n// to support multiple router instances\nlet routerId = 0;\nfunction addDevtools(app, router, matcher) {\n // Take over router.beforeEach and afterEach\n // make sure we are not registering the devtool twice\n if (router.__hasDevtools)\n return;\n router.__hasDevtools = true;\n // increment to support multiple router instances\n const id = routerId++;\n setupDevtoolsPlugin({\n id: 'org.vuejs.router' + (id ? '.' + id : ''),\n label: 'Vue Router',\n packageName: 'vue-router',\n homepage: 'https://router.vuejs.org',\n logo: 'https://router.vuejs.org/logo.png',\n componentStateTypes: ['Routing'],\n app,\n }, api => {\n if (typeof api.now !== 'function') {\n console.warn('[Vue Router]: You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html.');\n }\n // display state added by the router\n api.on.inspectComponent((payload, ctx) => {\n if (payload.instanceData) {\n payload.instanceData.state.push({\n type: 'Routing',\n key: '$route',\n editable: false,\n value: formatRouteLocation(router.currentRoute.value, 'Current Route'),\n });\n }\n });\n // mark router-link as active and display tags on router views\n api.on.visitComponentTree(({ treeNode: node, componentInstance }) => {\n if (componentInstance.__vrv_devtools) {\n const info = componentInstance.__vrv_devtools;\n node.tags.push({\n label: (info.name ? `${info.name.toString()}: ` : '') + info.path,\n textColor: 0,\n tooltip: 'This component is rendered by <router-view>',\n backgroundColor: PINK_500,\n });\n }\n // if multiple useLink are used\n if (isArray(componentInstance.__vrl_devtools)) {\n componentInstance.__devtoolsApi = api;\n componentInstance.__vrl_devtools.forEach(devtoolsData => {\n let label = devtoolsData.route.path;\n let backgroundColor = ORANGE_400;\n let tooltip = '';\n let textColor = 0;\n if (devtoolsData.error) {\n label = devtoolsData.error;\n backgroundColor = RED_100;\n textColor = RED_700;\n }\n else if (devtoolsData.isExactActive) {\n backgroundColor = LIME_500;\n tooltip = 'This is exactly active';\n }\n else if (devtoolsData.isActive) {\n backgroundColor = BLUE_600;\n tooltip = 'This link is active';\n }\n node.tags.push({\n label,\n textColor,\n tooltip,\n backgroundColor,\n });\n });\n }\n });\n watch(router.currentRoute, () => {\n // refresh active state\n refreshRoutesView();\n api.notifyComponentUpdate();\n api.sendInspectorTree(routerInspectorId);\n api.sendInspectorState(routerInspectorId);\n });\n const navigationsLayerId = 'router:navigations:' + id;\n api.addTimelineLayer({\n id: navigationsLayerId,\n label: `Router${id ? ' ' + id : ''} Navigations`,\n color: 0x40a8c4,\n });\n // const errorsLayerId = 'router:errors'\n // api.addTimelineLayer({\n // id: errorsLayerId,\n // label: 'Router Errors',\n // color: 0xea5455,\n // })\n router.onError((error, to) => {\n api.addTimelineEvent({\n layerId: navigationsLayerId,\n event: {\n title: 'Error during Navigation',\n subtitle: to.fullPath,\n logType: 'error',\n time: api.now(),\n data: { error },\n groupId: to.meta.__navigationId,\n },\n });\n });\n // attached to `meta` and used to group events\n let navigationId = 0;\n router.beforeEach((to, from) => {\n const data = {\n guard: formatDisplay('beforeEach'),\n from: formatRouteLocation(from, 'Current Location during this navigation'),\n to: formatRouteLocation(to, 'Target location'),\n };\n // Used to group navigations together, hide from devtools\n Object.defineProperty(to.meta, '__navigationId', {\n value: navigationId++,\n });\n api.addTimelineEvent({\n layerId: navigationsLayerId,\n event: {\n time: api.now(),\n title: 'Start of navigation',\n subtitle: to.fullPath,\n data,\n groupId: to.meta.__navigationId,\n },\n });\n });\n router.afterEach((to, from, failure) => {\n const data = {\n guard: formatDisplay('afterEach'),\n };\n if (failure) {\n data.failure = {\n _custom: {\n type: Error,\n readOnly: true,\n display: failure ? failure.message : '',\n tooltip: 'Navigation Failure',\n value: failure,\n },\n };\n data.status = formatDisplay('❌');\n }\n else {\n data.status = formatDisplay('✅');\n }\n // we set here to have the right order\n data.from = formatRouteLocation(from, 'Current Location during this navigation');\n data.to = formatRouteLocation(to, 'Target location');\n api.addTimelineEvent({\n layerId: navigationsLayerId,\n event: {\n title: 'End of navigation',\n subtitle: to.fullPath,\n time: api.now(),\n data,\n logType: failure ? 'warning' : 'default',\n groupId: to.meta.__navigationId,\n },\n });\n });\n /**\n * Inspector of Existing routes\n */\n const routerInspectorId = 'router-inspector:' + id;\n api.addInspector({\n id: routerInspectorId,\n label: 'Routes' + (id ? ' ' + id : ''),\n icon: 'book',\n treeFilterPlaceholder: 'Search routes',\n });\n function refreshRoutesView() {\n // the routes view isn't active\n if (!activeRoutesPayload)\n return;\n const payload = activeRoutesPayload;\n // children routes will appear as nested\n let routes = matcher.getRoutes().filter(route => !route.parent ||\n // these routes have a parent with no component which will not appear in the view\n // therefore we still need to include them\n !route.parent.record.components);\n // reset match state to false\n routes.forEach(resetMatchStateOnRouteRecord);\n // apply a match state if there is a payload\n if (payload.filter) {\n routes = routes.filter(route => \n // save matches state based on the payload\n isRouteMatching(route, payload.filter.toLowerCase()));\n }\n // mark active routes\n routes.forEach(route => markRouteRecordActive(route, router.currentRoute.value));\n payload.rootNodes = routes.map(formatRouteRecordForInspector);\n }\n let activeRoutesPayload;\n api.on.getInspectorTree(payload => {\n activeRoutesPayload = payload;\n if (payload.app === app && payload.inspectorId === routerInspectorId) {\n refreshRoutesView();\n }\n });\n /**\n * Display information about the currently selected route record\n */\n api.on.getInspectorState(payload => {\n if (payload.app === app && payload.inspectorId === routerInspectorId) {\n const routes = matcher.getRoutes();\n const route = routes.find(route => route.record.__vd_id === payload.nodeId);\n if (route) {\n payload.state = {\n options: formatRouteRecordMatcherForStateInspector(route),\n };\n }\n }\n });\n api.sendInspectorTree(routerInspectorId);\n api.sendInspectorState(routerInspectorId);\n });\n}\nfunction modifierForKey(key) {\n if (key.optional) {\n return key.repeatable ? '*' : '?';\n }\n else {\n return key.repeatable ? '+' : '';\n }\n}\nfunction formatRouteRecordMatcherForStateInspector(route) {\n const { record } = route;\n const fields = [\n { editable: false, key: 'path', value: record.path },\n ];\n if (record.name != null) {\n fields.push({\n editable: false,\n key: 'name',\n value: record.name,\n });\n }\n fields.push({ editable: false, key: 'regexp', value: route.re });\n if (route.keys.length) {\n fields.push({\n editable: false,\n key: 'keys',\n value: {\n _custom: {\n type: null,\n readOnly: true,\n display: route.keys\n .map(key => `${key.name}${modifierForKey(key)}`)\n .join(' '),\n tooltip: 'Param keys',\n value: route.keys,\n },\n },\n });\n }\n if (record.redirect != null) {\n fields.push({\n editable: false,\n key: 'redirect',\n value: record.redirect,\n });\n }\n if (route.alias.length) {\n fields.push({\n editable: false,\n key: 'aliases',\n value: route.alias.map(alias => alias.record.path),\n });\n }\n if (Object.keys(route.record.meta).length) {\n fields.push({\n editable: false,\n key: 'meta',\n value: route.record.meta,\n });\n }\n fields.push({\n key: 'score',\n editable: false,\n value: {\n _custom: {\n type: null,\n readOnly: true,\n display: route.score.map(score => score.join(', ')).join(' | '),\n tooltip: 'Score used to sort routes',\n value: route.score,\n },\n },\n });\n return fields;\n}\n/**\n * Extracted from tailwind palette\n */\nconst PINK_500 = 0xec4899;\nconst BLUE_600 = 0x2563eb;\nconst LIME_500 = 0x84cc16;\nconst CYAN_400 = 0x22d3ee;\nconst ORANGE_400 = 0xfb923c;\n// const GRAY_100 = 0xf4f4f5\nconst DARK = 0x666666;\nconst RED_100 = 0xfee2e2;\nconst RED_700 = 0xb91c1c;\nfunction formatRouteRecordForInspector(route) {\n const tags = [];\n const { record } = route;\n if (record.name != null) {\n tags.push({\n label: String(record.name),\n textColor: 0,\n backgroundColor: CYAN_400,\n });\n }\n if (record.aliasOf) {\n tags.push({\n label: 'alias',\n textColor: 0,\n backgroundColor: ORANGE_400,\n });\n }\n if (route.__vd_match) {\n tags.push({\n label: 'matches',\n textColor: 0,\n backgroundColor: PINK_500,\n });\n }\n if (route.__vd_exactActive) {\n tags.push({\n label: 'exact',\n textColor: 0,\n backgroundColor: LIME_500,\n });\n }\n if (route.__vd_active) {\n tags.push({\n label: 'active',\n textColor: 0,\n backgroundColor: BLUE_600,\n });\n }\n if (record.redirect) {\n tags.push({\n label: typeof record.redirect === 'string'\n ? `redirect: ${record.redirect}`\n : 'redirects',\n textColor: 0xffffff,\n backgroundColor: DARK,\n });\n }\n // add an id to be able to select it. Using the `path` is not possible because\n // empty path children would collide with their parents\n let id = record.__vd_id;\n if (id == null) {\n id = String(routeRecordId++);\n record.__vd_id = id;\n }\n return {\n id,\n label: record.path,\n tags,\n children: route.children.map(formatRouteRecordForInspector),\n };\n}\n// incremental id for route records and inspector state\nlet routeRecordId = 0;\nconst EXTRACT_REGEXP_RE = /^\\/(.*)\\/([a-z]*)$/;\nfunction markRouteRecordActive(route, currentRoute) {\n // no route will be active if matched is empty\n // reset the matching state\n const isExactActive = currentRoute.matched.length &&\n isSameRouteRecord(currentRoute.matched[currentRoute.matched.length - 1], route.record);\n route.__vd_exactActive = route.__vd_active = isExactActive;\n if (!isExactActive) {\n route.__vd_active = currentRoute.matched.some(match => isSameRouteRecord(match, route.record));\n }\n route.children.forEach(childRoute => markRouteRecordActive(childRoute, currentRoute));\n}\nfunction resetMatchStateOnRouteRecord(route) {\n route.__vd_match = false;\n route.children.forEach(resetMatchStateOnRouteRecord);\n}\nfunction isRouteMatching(route, filter) {\n const found = String(route.re).match(EXTRACT_REGEXP_RE);\n route.__vd_match = false;\n if (!found || found.length < 3) {\n return false;\n }\n // use a regexp without $ at the end to match nested routes better\n const nonEndingRE = new RegExp(found[1].replace(/\\$$/, ''), found[2]);\n if (nonEndingRE.test(filter)) {\n // mark children as matches\n route.children.forEach(child => isRouteMatching(child, filter));\n // exception case: `/`\n if (route.record.path !== '/' || filter === '/') {\n route.__vd_match = route.re.test(filter);\n return true;\n }\n // hide the / route\n return false;\n }\n const path = route.record.path.toLowerCase();\n const decodedPath = decode(path);\n // also allow partial matching on the path\n if (!filter.startsWith('/') &&\n (decodedPath.includes(filter) || path.includes(filter)))\n return true;\n if (decodedPath.startsWith(filter) || path.startsWith(filter))\n return true;\n if (route.record.name && String(route.record.name).includes(filter))\n return true;\n return route.children.some(child => isRouteMatching(child, filter));\n}\nfunction omit(obj, keys) {\n const ret = {};\n for (const key in obj) {\n if (!keys.includes(key)) {\n // @ts-expect-error\n ret[key] = obj[key];\n }\n }\n return ret;\n}\n\n/**\n * Creates a Router instance that can be used by a Vue app.\n *\n * @param options - {@link RouterOptions}\n */\nfunction createRouter(options) {\n const matcher = createRouterMatcher(options.routes, options);\n const parseQuery$1 = options.parseQuery || parseQuery;\n const stringifyQuery$1 = options.stringifyQuery || stringifyQuery;\n const routerHistory = options.history;\n if ((process.env.NODE_ENV !== 'production') && !routerHistory)\n throw new Error('Provide the \"history\" option when calling \"createRouter()\":' +\n ' https://router.vuejs.org/api/interfaces/RouterOptions.html#history');\n const beforeGuards = useCallbacks();\n const beforeResolveGuards = useCallbacks();\n const afterGuards = useCallbacks();\n const currentRoute = shallowRef(START_LOCATION_NORMALIZED);\n let pendingLocation = START_LOCATION_NORMALIZED;\n // leave the scrollRestoration if no scrollBehavior is provided\n if (isBrowser && options.scrollBehavior && 'scrollRestoration' in history) {\n history.scrollRestoration = 'manual';\n }\n const normalizeParams = applyToParams.bind(null, paramValue => '' + paramValue);\n const encodeParams = applyToParams.bind(null, encodeParam);\n const decodeParams = \n // @ts-expect-error: intentionally avoid the type check\n applyToParams.bind(null, decode);\n function addRoute(parentOrRoute, route) {\n let parent;\n let record;\n if (isRouteName(parentOrRoute)) {\n parent = matcher.getRecordMatcher(parentOrRoute);\n if ((process.env.NODE_ENV !== 'production') && !parent) {\n warn(`Parent route \"${String(parentOrRoute)}\" not found when adding child route`, route);\n }\n record = route;\n }\n else {\n record = parentOrRoute;\n }\n return matcher.addRoute(record, parent);\n }\n function removeRoute(name) {\n const recordMatcher = matcher.getRecordMatcher(name);\n if (recordMatcher) {\n matcher.removeRoute(recordMatcher);\n }\n else if ((process.env.NODE_ENV !== 'production')) {\n warn(`Cannot remove non-existent route \"${String(name)}\"`);\n }\n }\n function getRoutes() {\n return matcher.getRoutes().map(routeMatcher => routeMatcher.record);\n }\n function hasRoute(name) {\n return !!matcher.getRecordMatcher(name);\n }\n function resolve(rawLocation, currentLocation) {\n // const resolve: Router['resolve'] = (rawLocation: RouteLocationRaw, currentLocation) => {\n // const objectLocation = routerLocationAsObject(rawLocation)\n // we create a copy to modify it later\n currentLocation = assign({}, currentLocation || currentRoute.value);\n if (typeof rawLocation === 'string') {\n const locationNormalized = parseURL(parseQuery$1, rawLocation, currentLocation.path);\n const matchedRoute = matcher.resolve({ path: locationNormalized.path }, currentLocation);\n const href = routerHistory.createHref(locationNormalized.fullPath);\n if ((process.env.NODE_ENV !== 'production')) {\n if (href.startsWith('//'))\n warn(`Location \"${rawLocation}\" resolved to \"${href}\". A resolved location cannot start with multiple slashes.`);\n else if (!matchedRoute.matched.length) {\n warn(`No match found for location with path \"${rawLocation}\"`);\n }\n }\n // locationNormalized is always a new object\n return assign(locationNormalized, matchedRoute, {\n params: decodeParams(matchedRoute.params),\n hash: decode(locationNormalized.hash),\n redirectedFrom: undefined,\n href,\n });\n }\n if ((process.env.NODE_ENV !== 'production') && !isRouteLocation(rawLocation)) {\n warn(`router.resolve() was passed an invalid location. This will fail in production.\\n- Location:`, rawLocation);\n return resolve({});\n }\n let matcherLocation;\n // path could be relative in object as well\n if (rawLocation.path != null) {\n if ((process.env.NODE_ENV !== 'production') &&\n 'params' in rawLocation &&\n !('name' in rawLocation) &&\n // @ts-expect-error: the type is never\n Object.keys(rawLocation.params).length) {\n warn(`Path \"${rawLocation.path}\" was passed with params but they will be ignored. Use a named route alongside params instead.`);\n }\n matcherLocation = assign({}, rawLocation, {\n path: parseURL(parseQuery$1, rawLocation.path, currentLocation.path).path,\n });\n }\n else {\n // remove any nullish param\n const targetParams = assign({}, rawLocation.params);\n for (const key in targetParams) {\n if (targetParams[key] == null) {\n delete targetParams[key];\n }\n }\n // pass encoded values to the matcher, so it can produce encoded path and fullPath\n matcherLocation = assign({}, rawLocation, {\n params: encodeParams(targetParams),\n });\n // current location params are decoded, we need to encode them in case the\n // matcher merges the params\n currentLocation.params = encodeParams(currentLocation.params);\n }\n const matchedRoute = matcher.resolve(matcherLocation, currentLocation);\n const hash = rawLocation.hash || '';\n if ((process.env.NODE_ENV !== 'production') && hash && !hash.startsWith('#')) {\n warn(`A \\`hash\\` should always start with the character \"#\". Replace \"${hash}\" with \"#${hash}\".`);\n }\n // the matcher might have merged current location params, so\n // we need to run the decoding again\n matchedRoute.params = normalizeParams(decodeParams(matchedRoute.params));\n const fullPath = stringifyURL(stringifyQuery$1, assign({}, rawLocation, {\n hash: encodeHash(hash),\n path: matchedRoute.path,\n }));\n const href = routerHistory.createHref(fullPath);\n if ((process.env.NODE_ENV !== 'production')) {\n if (href.startsWith('//')) {\n warn(`Location \"${rawLocation}\" resolved to \"${href}\". A resolved location cannot start with multiple slashes.`);\n }\n else if (!matchedRoute.matched.length) {\n warn(`No match found for location with path \"${rawLocation.path != null ? rawLocation.path : rawLocation}\"`);\n }\n }\n return assign({\n fullPath,\n // keep the hash encoded so fullPath is effectively path + encodedQuery +\n // hash\n hash,\n query: \n // if the user is using a custom query lib like qs, we might have\n // nested objects, so we keep the query as is, meaning it can contain\n // numbers at `$route.query`, but at the point, the user will have to\n // use their own type anyway.\n // https://github.com/vuejs/router/issues/328#issuecomment-649481567\n stringifyQuery$1 === stringifyQuery\n ? normalizeQuery(rawLocation.query)\n : (rawLocation.query || {}),\n }, matchedRoute, {\n redirectedFrom: undefined,\n href,\n });\n }\n function locationAsObject(to) {\n return typeof to === 'string'\n ? parseURL(parseQuery$1, to, currentRoute.value.path)\n : assign({}, to);\n }\n function checkCanceledNavigation(to, from) {\n if (pendingLocation !== to) {\n return createRouterError(8 /* ErrorTypes.NAVIGATION_CANCELLED */, {\n from,\n to,\n });\n }\n }\n function push(to) {\n return pushWithRedirect(to);\n }\n function replace(to) {\n return push(assign(locationAsObject(to), { replace: true }));\n }\n function handleRedirectRecord(to) {\n const lastMatched = to.matched[to.matched.length - 1];\n if (lastMatched && lastMatched.redirect) {\n const { redirect } = lastMatched;\n let newTargetLocation = typeof redirect === 'function' ? redirect(to) : redirect;\n if (typeof newTargetLocation === 'string') {\n newTargetLocation =\n newTargetLocation.includes('?') || newTargetLocation.includes('#')\n ? (newTargetLocation = locationAsObject(newTargetLocation))\n : // force empty params\n { path: newTargetLocation };\n // @ts-expect-error: force empty params when a string is passed to let\n // the router parse them again\n newTargetLocation.params = {};\n }\n if ((process.env.NODE_ENV !== 'production') &&\n newTargetLocation.path == null &&\n !('name' in newTargetLocation)) {\n warn(`Invalid redirect found:\\n${JSON.stringify(newTargetLocation, null, 2)}\\n when navigating to \"${to.fullPath}\". A redirect must contain a name or path. This will break in production.`);\n throw new Error('Invalid redirect');\n }\n return assign({\n query: to.query,\n hash: to.hash,\n // avoid transferring params if the redirect has a path\n params: newTargetLocation.path != null ? {} : to.params,\n }, newTargetLocation);\n }\n }\n function pushWithRedirect(to, redirectedFrom) {\n const targetLocation = (pendingLocation = resolve(to));\n const from = currentRoute.value;\n const data = to.state;\n const force = to.force;\n // to could be a string where `replace` is a function\n const replace = to.replace === true;\n const shouldRedirect = handleRedirectRecord(targetLocation);\n if (shouldRedirect)\n return pushWithRedirect(assign(locationAsObject(shouldRedirect), {\n state: typeof shouldRedirect === 'object'\n ? assign({}, data, shouldRedirect.state)\n : data,\n force,\n replace,\n }), \n // keep original redirectedFrom if it exists\n redirectedFrom || targetLocation);\n // if it was a redirect we already called `pushWithRedirect` above\n const toLocation = targetLocation;\n toLocation.redirectedFrom = redirectedFrom;\n let failure;\n if (!force && isSameRouteLocation(stringifyQuery$1, from, targetLocation)) {\n failure = createRouterError(16 /* ErrorTypes.NAVIGATION_DUPLICATED */, { to: toLocation, from });\n // trigger scroll to allow scrolling to the same anchor\n handleScroll(from, from, \n // this is a push, the only way for it to be triggered from a\n // history.listen is with a redirect, which makes it become a push\n true, \n // This cannot be the first navigation because the initial location\n // cannot be manually navigated to\n false);\n }\n return (failure ? Promise.resolve(failure) : navigate(toLocation, from))\n .catch((error) => isNavigationFailure(error)\n ? // navigation redirects still mark the router as ready\n isNavigationFailure(error, 2 /* ErrorTypes.NAVIGATION_GUARD_REDIRECT */)\n ? error\n : markAsReady(error) // also returns the error\n : // reject any unknown error\n triggerError(error, toLocation, from))\n .then((failure) => {\n if (failure) {\n if (isNavigationFailure(failure, 2 /* ErrorTypes.NAVIGATION_GUARD_REDIRECT */)) {\n if ((process.env.NODE_ENV !== 'production') &&\n // we are redirecting to the same location we were already at\n isSameRouteLocation(stringifyQuery$1, resolve(failure.to), toLocation) &&\n // and we have done it a couple of times\n redirectedFrom &&\n // @ts-expect-error: added only in dev\n (redirectedFrom._count = redirectedFrom._count\n ? // @ts-expect-error\n redirectedFrom._count + 1\n : 1) > 30) {\n warn(`Detected a possibly infinite redirection in a navigation guard when going from \"${from.fullPath}\" to \"${toLocation.fullPath}\". Aborting to avoid a Stack Overflow.\\n Are you always returning a new location within a navigation guard? That would lead to this error. Only return when redirecting or aborting, that should fix this. This might break in production if not fixed.`);\n return Promise.reject(new Error('Infinite redirect in navigation guard'));\n }\n return pushWithRedirect(\n // keep options\n assign({\n // preserve an existing replacement but allow the redirect to override it\n replace,\n }, locationAsObject(failure.to), {\n state: typeof failure.to === 'object'\n ? assign({}, data, failure.to.state)\n : data,\n force,\n }), \n // preserve the original redirectedFrom if any\n redirectedFrom || toLocation);\n }\n }\n else {\n // if we fail we don't finalize the navigation\n failure = finalizeNavigation(toLocation, from, true, replace, data);\n }\n triggerAfterEach(toLocation, from, failure);\n return failure;\n });\n }\n /**\n * Helper to reject and skip all navigation guards if a new navigation happened\n * @param to\n * @param from\n */\n function checkCanceledNavigationAndReject(to, from) {\n const error = checkCanceledNavigation(to, from);\n return error ? Promise.reject(error) : Promise.resolve();\n }\n function runWithContext(fn) {\n const app = installedApps.values().next().value;\n // support Vue < 3.3\n return app && typeof app.runWithContext === 'function'\n ? app.runWithContext(fn)\n : fn();\n }\n // TODO: refactor the whole before guards by internally using router.beforeEach\n function navigate(to, from) {\n let guards;\n const [leavingRecords, updatingRecords, enteringRecords] = extractChangingRecords(to, from);\n // all components here have been resolved once because we are leaving\n guards = extractComponentsGuards(leavingRecords.reverse(), 'beforeRouteLeave', to, from);\n // leavingRecords is already reversed\n for (const record of leavingRecords) {\n record.leaveGuards.forEach(guard => {\n guards.push(guardToPromiseFn(guard, to, from));\n });\n }\n const canceledNavigationCheck = checkCanceledNavigationAndReject.bind(null, to, from);\n guards.push(canceledNavigationCheck);\n // run the queue of per route beforeRouteLeave guards\n return (runGuardQueue(guards)\n .then(() => {\n // check global guards beforeEach\n guards = [];\n for (const guard of beforeGuards.list()) {\n guards.push(guardToPromiseFn(guard, to, from));\n }\n guards.push(canceledNavigationCheck);\n return runGuardQueue(guards);\n })\n .then(() => {\n // check in components beforeRouteUpdate\n guards = extractComponentsGuards(updatingRecords, 'beforeRouteUpdate', to, from);\n for (const record of updatingRecords) {\n record.updateGuards.forEach(guard => {\n guards.push(guardToPromiseFn(guard, to, from));\n });\n }\n guards.push(canceledNavigationCheck);\n // run the queue of per route beforeEnter guards\n return runGuardQueue(guards);\n })\n .then(() => {\n // check the route beforeEnter\n guards = [];\n for (const record of enteringRecords) {\n // do not trigger beforeEnter on reused views\n if (record.beforeEnter) {\n if (isArray(record.beforeEnter)) {\n for (const beforeEnter of record.beforeEnter)\n guards.push(guardToPromiseFn(beforeEnter, to, from));\n }\n else {\n guards.push(guardToPromiseFn(record.beforeEnter, to, from));\n }\n }\n }\n guards.push(canceledNavigationCheck);\n // run the queue of per route beforeEnter guards\n return runGuardQueue(guards);\n })\n .then(() => {\n // NOTE: at this point to.matched is normalized and does not contain any () => Promise\n // clear existing enterCallbacks, these are added by extractComponentsGuards\n to.matched.forEach(record => (record.enterCallbacks = {}));\n // check in-component beforeRouteEnter\n guards = extractComponentsGuards(enteringRecords, 'beforeRouteEnter', to, from, runWithContext);\n guards.push(canceledNavigationCheck);\n // run the queue of per route beforeEnter guards\n return runGuardQueue(guards);\n })\n .then(() => {\n // check global guards beforeResolve\n guards = [];\n for (const guard of beforeResolveGuards.list()) {\n guards.push(guardToPromiseFn(guard, to, from));\n }\n guards.push(canceledNavigationCheck);\n return runGuardQueue(guards);\n })\n // catch any navigation canceled\n .catch(err => isNavigationFailure(err, 8 /* ErrorTypes.NAVIGATION_CANCELLED */)\n ? err\n : Promise.reject(err)));\n }\n function triggerAfterEach(to, from, failure) {\n // navigation is confirmed, call afterGuards\n // TODO: wrap with error handlers\n afterGuards\n .list()\n .forEach(guard => runWithContext(() => guard(to, from, failure)));\n }\n /**\n * - Cleans up any navigation guards\n * - Changes the url if necessary\n * - Calls the scrollBehavior\n */\n function finalizeNavigation(toLocation, from, isPush, replace, data) {\n // a more recent navigation took place\n const error = checkCanceledNavigation(toLocation, from);\n if (error)\n return error;\n // only consider as push if it's not the first navigation\n const isFirstNavigation = from === START_LOCATION_NORMALIZED;\n const state = !isBrowser ? {} : history.state;\n // change URL only if the user did a push/replace and if it's not the initial navigation because\n // it's just reflecting the url\n if (isPush) {\n // on the initial navigation, we want to reuse the scroll position from\n // history state if it exists\n if (replace || isFirstNavigation)\n routerHistory.replace(toLocation.fullPath, assign({\n scroll: isFirstNavigation && state && state.scroll,\n }, data));\n else\n routerHistory.push(toLocation.fullPath, data);\n }\n // accept current navigation\n currentRoute.value = toLocation;\n handleScroll(toLocation, from, isPush, isFirstNavigation);\n markAsReady();\n }\n let removeHistoryListener;\n // attach listener to history to trigger navigations\n function setupListeners() {\n // avoid setting up listeners twice due to an invalid first navigation\n if (removeHistoryListener)\n return;\n removeHistoryListener = routerHistory.listen((to, _from, info) => {\n if (!router.listening)\n return;\n // cannot be a redirect route because it was in history\n const toLocation = resolve(to);\n // due to dynamic routing, and to hash history with manual navigation\n // (manually changing the url or calling history.hash = '#/somewhere'),\n // there could be a redirect record in history\n const shouldRedirect = handleRedirectRecord(toLocation);\n if (shouldRedirect) {\n pushWithRedirect(assign(shouldRedirect, { replace: true, force: true }), toLocation).catch(noop);\n return;\n }\n pendingLocation = toLocation;\n const from = currentRoute.value;\n // TODO: should be moved to web history?\n if (isBrowser) {\n saveScrollPosition(getScrollKey(from.fullPath, info.delta), computeScrollPosition());\n }\n navigate(toLocation, from)\n .catch((error) => {\n if (isNavigationFailure(error, 4 /* ErrorTypes.NAVIGATION_ABORTED */ | 8 /* ErrorTypes.NAVIGATION_CANCELLED */)) {\n return error;\n }\n if (isNavigationFailure(error, 2 /* ErrorTypes.NAVIGATION_GUARD_REDIRECT */)) {\n // Here we could call if (info.delta) routerHistory.go(-info.delta,\n // false) but this is bug prone as we have no way to wait the\n // navigation to be finished before calling pushWithRedirect. Using\n // a setTimeout of 16ms seems to work but there is no guarantee for\n // it to work on every browser. So instead we do not restore the\n // history entry and trigger a new navigation as requested by the\n // navigation guard.\n // the error is already handled by router.push we just want to avoid\n // logging the error\n pushWithRedirect(assign(locationAsObject(error.to), {\n force: true,\n }), toLocation\n // avoid an uncaught rejection, let push call triggerError\n )\n .then(failure => {\n // manual change in hash history #916 ending up in the URL not\n // changing, but it was changed by the manual url change, so we\n // need to manually change it ourselves\n if (isNavigationFailure(failure, 4 /* ErrorTypes.NAVIGATION_ABORTED */ |\n 16 /* ErrorTypes.NAVIGATION_DUPLICATED */) &&\n !info.delta &&\n info.type === NavigationType.pop) {\n routerHistory.go(-1, false);\n }\n })\n .catch(noop);\n // avoid the then branch\n return Promise.reject();\n }\n // do not restore history on unknown direction\n if (info.delta) {\n routerHistory.go(-info.delta, false);\n }\n // unrecognized error, transfer to the global handler\n return triggerError(error, toLocation, from);\n })\n .then((failure) => {\n failure =\n failure ||\n finalizeNavigation(\n // after navigation, all matched components are resolved\n toLocation, from, false);\n // revert the navigation\n if (failure) {\n if (info.delta &&\n // a new navigation has been triggered, so we do not want to revert, that will change the current history\n // entry while a different route is displayed\n !isNavigationFailure(failure, 8 /* ErrorTypes.NAVIGATION_CANCELLED */)) {\n routerHistory.go(-info.delta, false);\n }\n else if (info.type === NavigationType.pop &&\n isNavigationFailure(failure, 4 /* ErrorTypes.NAVIGATION_ABORTED */ | 16 /* ErrorTypes.NAVIGATION_DUPLICATED */)) {\n // manual change in hash history #916\n // it's like a push but lacks the information of the direction\n routerHistory.go(-1, false);\n }\n }\n triggerAfterEach(toLocation, from, failure);\n })\n // avoid warnings in the console about uncaught rejections, they are logged by triggerErrors\n .catch(noop);\n });\n }\n // Initialization and Errors\n let readyHandlers = useCallbacks();\n let errorListeners = useCallbacks();\n let ready;\n /**\n * Trigger errorListeners added via onError and throws the error as well\n *\n * @param error - error to throw\n * @param to - location we were navigating to when the error happened\n * @param from - location we were navigating from when the error happened\n * @returns the error as a rejected promise\n */\n function triggerError(error, to, from) {\n markAsReady(error);\n const list = errorListeners.list();\n if (list.length) {\n list.forEach(handler => handler(error, to, from));\n }\n else {\n if ((process.env.NODE_ENV !== 'production')) {\n warn('uncaught error during route navigation:');\n }\n console.error(error);\n }\n // reject the error no matter there were error listeners or not\n return Promise.reject(error);\n }\n function isReady() {\n if (ready && currentRoute.value !== START_LOCATION_NORMALIZED)\n return Promise.resolve();\n return new Promise((resolve, reject) => {\n readyHandlers.add([resolve, reject]);\n });\n }\n function markAsReady(err) {\n if (!ready) {\n // still not ready if an error happened\n ready = !err;\n setupListeners();\n readyHandlers\n .list()\n .forEach(([resolve, reject]) => (err ? reject(err) : resolve()));\n readyHandlers.reset();\n }\n return err;\n }\n // Scroll behavior\n function handleScroll(to, from, isPush, isFirstNavigation) {\n const { scrollBehavior } = options;\n if (!isBrowser || !scrollBehavior)\n return Promise.resolve();\n const scrollPosition = (!isPush && getSavedScrollPosition(getScrollKey(to.fullPath, 0))) ||\n ((isFirstNavigation || !isPush) &&\n history.state &&\n history.state.scroll) ||\n null;\n return nextTick()\n .then(() => scrollBehavior(to, from, scrollPosition))\n .then(position => position && scrollToPosition(position))\n .catch(err => triggerError(err, to, from));\n }\n const go = (delta) => routerHistory.go(delta);\n let started;\n const installedApps = new Set();\n const router = {\n currentRoute,\n listening: true,\n addRoute,\n removeRoute,\n clearRoutes: matcher.clearRoutes,\n hasRoute,\n getRoutes,\n resolve,\n options,\n push,\n replace,\n go,\n back: () => go(-1),\n forward: () => go(1),\n beforeEach: beforeGuards.add,\n beforeResolve: beforeResolveGuards.add,\n afterEach: afterGuards.add,\n onError: errorListeners.add,\n isReady,\n install(app) {\n const router = this;\n app.component('RouterLink', RouterLink);\n app.component('RouterView', RouterView);\n app.config.globalProperties.$router = router;\n Object.defineProperty(app.config.globalProperties, '$route', {\n enumerable: true,\n get: () => unref(currentRoute),\n });\n // this initial navigation is only necessary on client, on server it doesn't\n // make sense because it will create an extra unnecessary navigation and could\n // lead to problems\n if (isBrowser &&\n // used for the initial navigation client side to avoid pushing\n // multiple times when the router is used in multiple apps\n !started &&\n currentRoute.value === START_LOCATION_NORMALIZED) {\n // see above\n started = true;\n push(routerHistory.location).catch(err => {\n if ((process.env.NODE_ENV !== 'production'))\n warn('Unexpected error when starting the router:', err);\n });\n }\n const reactiveRoute = {};\n for (const key in START_LOCATION_NORMALIZED) {\n Object.defineProperty(reactiveRoute, key, {\n get: () => currentRoute.value[key],\n enumerable: true,\n });\n }\n app.provide(routerKey, router);\n app.provide(routeLocationKey, shallowReactive(reactiveRoute));\n app.provide(routerViewLocationKey, currentRoute);\n const unmountApp = app.unmount;\n installedApps.add(app);\n app.unmount = function () {\n installedApps.delete(app);\n // the router is not attached to an app anymore\n if (installedApps.size < 1) {\n // invalidate the current navigation\n pendingLocation = START_LOCATION_NORMALIZED;\n removeHistoryListener && removeHistoryListener();\n removeHistoryListener = null;\n currentRoute.value = START_LOCATION_NORMALIZED;\n started = false;\n ready = false;\n }\n unmountApp();\n };\n // TODO: this probably needs to be updated so it can be used by vue-termui\n if (((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) && isBrowser) {\n addDevtools(app, router, matcher);\n }\n },\n };\n // TODO: type this as NavigationGuardReturn or similar instead of any\n function runGuardQueue(guards) {\n return guards.reduce((promise, guard) => promise.then(() => runWithContext(guard)), Promise.resolve());\n }\n return router;\n}\nfunction extractChangingRecords(to, from) {\n const leavingRecords = [];\n const updatingRecords = [];\n const enteringRecords = [];\n const len = Math.max(from.matched.length, to.matched.length);\n for (let i = 0; i < len; i++) {\n const recordFrom = from.matched[i];\n if (recordFrom) {\n if (to.matched.find(record => isSameRouteRecord(record, recordFrom)))\n updatingRecords.push(recordFrom);\n else\n leavingRecords.push(recordFrom);\n }\n const recordTo = to.matched[i];\n if (recordTo) {\n // the type doesn't matter because we are comparing per reference\n if (!from.matched.find(record => isSameRouteRecord(record, recordTo))) {\n enteringRecords.push(recordTo);\n }\n }\n }\n return [leavingRecords, updatingRecords, enteringRecords];\n}\n\n/**\n * Returns the router instance. Equivalent to using `$router` inside\n * templates.\n */\nfunction useRouter() {\n return inject(routerKey);\n}\n/**\n * Returns the current route location. Equivalent to using `$route` inside\n * templates.\n */\nfunction useRoute(_name) {\n return inject(routeLocationKey);\n}\n\nexport { NavigationFailureType, RouterLink, RouterView, START_LOCATION_NORMALIZED as START_LOCATION, createMemoryHistory, createRouter, createRouterMatcher, createWebHashHistory, createWebHistory, isNavigationFailure, loadRouteLocation, matchedRouteKey, onBeforeRouteLeave, onBeforeRouteUpdate, parseQuery, routeLocationKey, routerKey, routerViewLocationKey, stringifyQuery, useLink, useRoute, useRouter, viewDepthKey };\n","import {\n CaseReadFlagsEnum,\n LocationReservationRead,\n ReservationRead,\n ReservationReadMarkingEnum,\n ReservationTransitionApplyTransitionEnum,\n} from '@/api';\nimport useLocationsStore from '@/composables/store/useLocationsStore';\nimport { addDays, format, isSameDay, parseISO } from 'date-fns';\nimport { cloneDeep, debounce } from 'lodash-es';\nimport { computed, Ref, ref, watch } from 'vue';\nimport { useRoute } from 'vue-router';\nimport { useStore } from '@/store';\n\nconst reservationLoaded = ref(false);\nconst reservation = ref>({\n days: [],\n rooms: [],\n location: {\n name: undefined,\n },\n meeting: {\n name: undefined,\n },\n});\nconst retrievedReservation = ref>(cloneDeep(reservation));\nexport default function useReservationStore(): {\n reservation: Ref;\n reservationLoaded: Ref;\n reservationChanged: Ref;\n reservationLocation: Ref;\n missingInfo: Ref;\n addDay: () => void;\n cloneDay: (index: number) => void;\n cloneRoom: (index: number) => void;\n deleteDay: (index: number) => void;\n setLocale: (locale: string) => void;\n getExistingReservation: () => Promise;\n acceptReservation: () => Promise;\n cancelReservation: (reason: string) => Promise;\n putReservation: () => Promise;\n parseURLParams: () => Promise;\n reservationLoading: Ref;\n reservationSubmitting: Ref;\n numRooms: Ref;\n postReservation: (method: string) => Promise;\n canAccept: Ref;\n canTurnDown: Ref;\n canCancel: Ref;\n websiteURL: Ref;\n breakfastSelectable: Ref;\n breakfastDefault: Ref;\n termsUrl: Ref;\n earliestDate: Ref;\n updateBooking: () => Promise;\n bookingTransitions: Ref;\n getBooking: () => Promise;\n bookingId: Ref;\n} {\n const store = useStore();\n const debouncedCommit = debounce((val: Record) => {\n store.commit('reservation/setReservation', val);\n }, 200);\n watch(\n () => reservation.value,\n (val) => debouncedCommit(val),\n { deep: true },\n );\n const cannotCancelMarkings = [\n ReservationReadMarkingEnum.Cancelled,\n ReservationReadMarkingEnum.Expired,\n ];\n\n const canAccept = computed(\n () =>\n (reservation.value as ReservationRead).enabledTransitions?.includes(\n ReservationTransitionApplyTransitionEnum.AcceptProposal,\n ) ?? false,\n );\n\n const canCancel = computed(\n () => !cannotCancelMarkings.includes(reservation.value.marking),\n );\n\n const canTurnDown = computed(\n () =>\n (reservation.value as ReservationRead).enabledTransitions?.includes(\n ReservationTransitionApplyTransitionEnum.TurnDownByCustomer,\n ) ?? false,\n );\n\n const getExistingReservation = async (): Promise => {\n const route = useRoute();\n const id = route.params.id as string;\n const username = route.params.username as string;\n const key = encodeURIComponent(route.query.key as string);\n\n store.commit('reservation/setConfig', {\n headers: { username: username, key: key },\n withCredentials: false,\n });\n store.commit('reservation/setReservationLoading', true);\n await store.dispatch('reservation/getReservation', { id }).then((res) => {\n reservation.value = cloneDeep(res);\n retrievedReservation.value = cloneDeep(reservation.value);\n reservationLoaded.value = true;\n });\n store.commit('reservation/setReservationLoading', false);\n };\n\n const getBooking = async (): Promise => {\n const route = useRoute();\n const id = route.params.id as string;\n const username = route.params.username\n ? (route.params.username as string)\n : undefined;\n const key = route.query.key\n ? encodeURIComponent(route.query.key as string)\n : undefined;\n\n store.commit('reservation/setReservationLoading', true);\n await store\n .dispatch('reservation/getBooking', { id, username, key })\n .then((res) => {\n reservation.value = cloneDeep(res);\n retrievedReservation.value = cloneDeep(reservation.value);\n reservationLoaded.value = true;\n });\n store.commit('reservation/setReservationLoading', false);\n };\n\n const parseURLParams = async () => {\n const route = useRoute();\n const params = route.query;\n const { locations, locationsPromise } = useLocationsStore();\n\n if (params.locationID) {\n await locationsPromise.value; // wait for locations to be loaded\n }\n\n reservation.value = await store.dispatch('reservation/parseRouteParams', {\n params,\n locations: locations.value,\n });\n };\n\n const reservationId = computed(\n () => reservation.value.id ?? store.state.reservation.reservation.id,\n );\n const reservationChanged = computed(() => {\n if (!reservationLoaded.value) {\n return false;\n }\n const current = cloneDeep(reservation.value);\n const retrieved = cloneDeep(retrievedReservation.value);\n if (current.location.id !== retrieved.location.id) {\n // Location changed\n return true;\n }\n // Retrieved location does not have all information, 'current' does, even with same ID\n delete current.location;\n delete retrieved.location;\n\n delete current.locale;\n delete retrieved.locale;\n\n // Retrieved package deals formats also do not match (and are filled in by the server anyway)\n current.days.map((day: Record) => delete day.packageDeals);\n retrieved.days.map((day: Record) => delete day.packageDeals);\n\n return JSON.stringify(current) !== JSON.stringify(retrieved);\n });\n\n const reservationLoading = computed(\n () => store.state.reservation.reservationLoading,\n );\n\n const reservationSubmitting = computed(\n () => store.state.reservation.reservationSubmitting,\n );\n\n const reservationLocation = computed(\n () =>\n reservation.value.location ??\n store.state.reservation.reservation?.location,\n );\n\n const missingInfo = computed(\n () =>\n store.state.reservation.reservation?.flags?.includes(\n CaseReadFlagsEnum.Bricksandbasics,\n ) ?? false,\n );\n\n const numRooms = computed(\n () =>\n reservation.value.rooms?.length ??\n store.state.reservation.reservation.rooms?.length ??\n 0,\n );\n\n const websiteURL = computed(() => {\n const website = store.state.reservation.reservation.location?.website;\n if (!website) {\n return '';\n }\n const prefix = website.startsWith('http') ? '' : 'https://';\n return prefix + website;\n });\n\n const breakfastDefault = computed(\n () =>\n store.state.reservation.reservation.location?.locationSettings\n ?.breakfastEnabledByDefault ?? true,\n );\n const breakfastSelectable = computed(\n () =>\n store.state.reservation.reservation.location?.locationSettings\n ?.breakfastSelectable ?? true,\n );\n\n const termsUrl = computed(() => {\n const url = store.state.reservation.reservation?.termsUrl;\n return url ? url : undefined;\n });\n\n const addDay = (): void => {\n reservation.value.days!.push({\n date: undefined,\n halls: [],\n packageDeals: [{}],\n items: [],\n });\n };\n\n const findNextDate = (start: Date): { nextDate: Date; newIndex: number } => {\n let nextPossibleDay = addDays(start, 1);\n let newIndex = -1;\n let matchingIndex = reservation.value.days.findIndex((day: any) => {\n if (!day.date) {\n return false;\n }\n return isSameDay(parseISO(day.date), nextPossibleDay);\n });\n\n while (matchingIndex !== -1) {\n nextPossibleDay = addDays(nextPossibleDay, 1);\n newIndex = matchingIndex; // Place new day after closest earlier date.\n matchingIndex = reservation.value.days.findIndex((day: any) =>\n isSameDay(parseISO(day.date), nextPossibleDay),\n );\n }\n return { nextDate: nextPossibleDay, newIndex };\n };\n\n const cloneDay = (index: number): void => {\n const curDay = reservation.value.days[index];\n const newDay = cloneDeep(curDay);\n if (newDay.date) {\n const { nextDate, newIndex } = findNextDate(parseISO(newDay.date));\n newDay.date = format(nextDate, 'yyyy-MM-dd');\n if (newIndex !== -1) {\n index = newIndex;\n }\n }\n reservation.value.days!.splice(index + 1, 0, newDay);\n };\n\n const cloneRoom = (index: number): void => {\n const curDay = reservation.value.rooms[index];\n const newDay = cloneDeep(curDay);\n reservation.value.rooms!.splice(index + 1, 0, newDay);\n };\n\n const acceptReservation = async () => {\n if (window.dataLayer) {\n window.dataLayer.push({ event: 'accept_reservation' });\n }\n store.commit('reservation/setReservationSubmitting', true);\n await store.dispatch('reservation/acceptReservation', {\n id: reservationId.value,\n });\n store.commit('reservation/setReservationSubmitting', false);\n };\n const cancelReservation = async (reason: string) => {\n store.commit('reservation/setReservationSubmitting', true);\n const action = canTurnDown.value\n ? 'reservation/turnDownReservation'\n : 'reservation/cancelReservation';\n await store.dispatch(action, {\n id: reservationId.value,\n reason,\n });\n store.commit('reservation/setReservationSubmitting', false);\n };\n\n const deleteDay = (index: number) => {\n reservation.value.days!.splice(index, 1);\n };\n\n const setLocale = (locale: string) => {\n store.commit('reservation/setReservationLocale', locale);\n };\n\n const postReservation = async (status: string) => {\n if (window.dataLayer) {\n window.dataLayer.push({ event: 'submit_booking' });\n }\n store.commit('reservation/setReservationSubmitting', true);\n await store.dispatch('reservation/setBookingStatus', status);\n store.commit('reservation/setReservationSubmitting', false);\n };\n\n const putReservation = async () => {\n store.commit('reservation/setReservationSubmitting', true);\n await store.dispatch('reservation/putReservation');\n store.commit('reservation/setReservationSubmitting', false);\n };\n\n const bookingId = computed(() => store.state.reservation.bookingId);\n\n const postBooking = async () => {\n await store.dispatch('reservation/postBooking');\n };\n\n const putBooking = async () => {\n store.commit('reservation/setReservationSubmitting', true);\n await store.dispatch('reservation/putBooking');\n store.commit('reservation/setReservationSubmitting', false);\n };\n\n const updateBooking = async () => {\n if (reservationLoaded.value === true) {\n return;\n }\n if (!reservation.value.emailaddress) {\n return;\n }\n if (bookingId.value === undefined || bookingId.value === null) {\n await postBooking();\n } else {\n await putBooking();\n }\n };\n\n const earliestDate = computed(() => {\n const reservation = store.state.reservation.reservation;\n return (\n (reservation.rooms ?? []) // get dates from rooms\n .filter((room) => room.startDate)\n .map((room) => parseISO(room.startDate!))\n // combine with MICE days\n .concat(\n // get dates from days\n ...(reservation.days ?? [])\n .filter((day) => day.date!)\n .map((day) => parseISO(day.date!)),\n )\n // reduce to earliest\n .reduce((a: undefined | Date, b) => {\n if (a && b) {\n return a < b ? a : b;\n }\n return a ?? b;\n }, undefined)\n );\n });\n\n const bookingTransitions = computed(\n () => store.state.reservation.transitions,\n );\n\n return {\n numRooms,\n reservation,\n reservationLoaded,\n reservationChanged,\n addDay,\n deleteDay,\n setLocale,\n getExistingReservation,\n acceptReservation,\n cancelReservation,\n putReservation,\n postReservation,\n reservationLoading,\n reservationSubmitting,\n canAccept,\n canCancel,\n canTurnDown,\n parseURLParams,\n websiteURL,\n cloneDay,\n cloneRoom,\n missingInfo,\n breakfastSelectable,\n breakfastDefault,\n termsUrl,\n earliestDate,\n reservationLocation,\n updateBooking,\n bookingTransitions,\n getBooking,\n bookingId,\n };\n}\n","import useReservationStore from '@/composables/store/useReservationStore';\nimport { useStore } from '@/store';\nimport { watch } from 'vue';\n\nconst methodsCalled: Map = new Map();\n\nexport default function useCache(fetchMethod: string) {\n const { reservation } = useReservationStore();\n const store = useStore();\n watch(\n () => reservation.value?.location,\n async (location) => {\n if (!location?.id) {\n return;\n }\n if (methodsCalled.get(fetchMethod) !== location.id) {\n methodsCalled.set(fetchMethod, location.id);\n await store.dispatch(fetchMethod, location.id);\n }\n },\n { immediate: true, deep: true },\n );\n}\n","import useCache from '@/composables/useCache';\nimport { computed } from 'vue';\nimport { useStore } from '@/store';\n\nexport default function useItemsStore() {\n const store = useStore();\n\n const items = computed(() => store.state.items.items);\n const isLoadingItems = computed(() => store.state.items.loading);\n\n useCache('items/fetchItems');\n\n return {\n items,\n isLoadingItems,\n };\n}\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n","/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nmodule.exports = trimmedEndIndex;\n","var trimmedEndIndex = require('./_trimmedEndIndex');\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nmodule.exports = baseTrim;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n","var baseTrim = require('./_baseTrim'),\n isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n","var isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n","import {\n LocationRoomTypeRead,\n ReservationRoomReservationWrite,\n RoomAvailabilitiesRead,\n} from '@/api';\nimport useReservationStore from '@/composables/store/useReservationStore';\nimport useCache from '@/composables/useCache';\n\nimport { HelpersKey } from '@/plugins/helpers';\nimport debounce from 'lodash/debounce';\nimport { computed, inject } from 'vue';\nimport { useI18n } from 'vue-i18n';\nimport { useStore } from '@/store';\n\nexport default function useRoomTypesStore() {\n const store = useStore();\n\n const { locale } = useI18n();\n const helpers = inject(HelpersKey)!;\n const roomTypes = computed(() => {\n return store.state.roomTypes.roomTypes.map(\n (roomType: LocationRoomTypeRead) => ({\n ...roomType,\n ...{\n name: helpers.getItemTranslation(roomType, locale.value),\n },\n }),\n );\n });\n\n useCache('roomTypes/fetchRoomTypes');\n const { reservationLocation } = useReservationStore();\n\n const getAvailableRoomTypes = debounce(\n async (room: ReservationRoomReservationWrite) => {\n if (!room.startDate || !room.endDate) {\n return [];\n }\n const available = (await store.getters['roomTypes/fetchAvailability'](\n room,\n reservationLocation.value?.id,\n )) as RoomAvailabilitiesRead[];\n return available\n .filter(\n (availableRoom) =>\n availableRoom.availabilities?.every(\n (availability) =>\n (availability.amount ?? 0) >= (room.amount ?? 0),\n ) && availableRoom.locationRoomType,\n )\n .map((availableRoom) => availableRoom.locationRoomType!);\n },\n 250,\n { leading: true, trailing: true },\n );\n\n return {\n roomTypes,\n getAvailableRoomTypes,\n };\n}\n","import { BookingMeetingRoomHallBookingWrite, HallRead } from '@/api';\nimport useReservationStore from '@/composables/store/useReservationStore';\nimport useCache from '@/composables/useCache';\nimport helpers from '@/services/helpers';\nimport debounce from 'lodash/debounce';\nimport { computed, ref } from 'vue';\nimport { useStore } from '@/store';\n\nexport default function useFunctionSpacesStore() {\n const store = useStore();\n\n const spaces = computed(() => store.state.functionSpaces.allSpaces);\n const { reservationLocation } = useReservationStore();\n const suitable = ref>([]);\n const loading = ref(false);\n\n const fetchSuitable = debounce(\n async (dayHall: BookingMeetingRoomHallBookingWrite, date: Date) => {\n loading.value = true;\n suitable.value =\n (await store.dispatch('functionSpaces/fetchSuitableSpaces', {\n locationId: reservationLocation.value?.id,\n settings: { ...dayHall, date: helpers.dateToString(date) },\n })) ?? [];\n loading.value = false;\n },\n 250,\n { leading: true, trailing: true },\n );\n\n useCache('functionSpaces/fetchAllSpaces');\n\n return {\n spaces,\n fetchSuitable,\n suitable,\n loading,\n };\n}\n","'use strict'\r\n\r\nmodule.exports = {\r\n\t\"aliceblue\": [240, 248, 255],\r\n\t\"antiquewhite\": [250, 235, 215],\r\n\t\"aqua\": [0, 255, 255],\r\n\t\"aquamarine\": [127, 255, 212],\r\n\t\"azure\": [240, 255, 255],\r\n\t\"beige\": [245, 245, 220],\r\n\t\"bisque\": [255, 228, 196],\r\n\t\"black\": [0, 0, 0],\r\n\t\"blanchedalmond\": [255, 235, 205],\r\n\t\"blue\": [0, 0, 255],\r\n\t\"blueviolet\": [138, 43, 226],\r\n\t\"brown\": [165, 42, 42],\r\n\t\"burlywood\": [222, 184, 135],\r\n\t\"cadetblue\": [95, 158, 160],\r\n\t\"chartreuse\": [127, 255, 0],\r\n\t\"chocolate\": [210, 105, 30],\r\n\t\"coral\": [255, 127, 80],\r\n\t\"cornflowerblue\": [100, 149, 237],\r\n\t\"cornsilk\": [255, 248, 220],\r\n\t\"crimson\": [220, 20, 60],\r\n\t\"cyan\": [0, 255, 255],\r\n\t\"darkblue\": [0, 0, 139],\r\n\t\"darkcyan\": [0, 139, 139],\r\n\t\"darkgoldenrod\": [184, 134, 11],\r\n\t\"darkgray\": [169, 169, 169],\r\n\t\"darkgreen\": [0, 100, 0],\r\n\t\"darkgrey\": [169, 169, 169],\r\n\t\"darkkhaki\": [189, 183, 107],\r\n\t\"darkmagenta\": [139, 0, 139],\r\n\t\"darkolivegreen\": [85, 107, 47],\r\n\t\"darkorange\": [255, 140, 0],\r\n\t\"darkorchid\": [153, 50, 204],\r\n\t\"darkred\": [139, 0, 0],\r\n\t\"darksalmon\": [233, 150, 122],\r\n\t\"darkseagreen\": [143, 188, 143],\r\n\t\"darkslateblue\": [72, 61, 139],\r\n\t\"darkslategray\": [47, 79, 79],\r\n\t\"darkslategrey\": [47, 79, 79],\r\n\t\"darkturquoise\": [0, 206, 209],\r\n\t\"darkviolet\": [148, 0, 211],\r\n\t\"deeppink\": [255, 20, 147],\r\n\t\"deepskyblue\": [0, 191, 255],\r\n\t\"dimgray\": [105, 105, 105],\r\n\t\"dimgrey\": [105, 105, 105],\r\n\t\"dodgerblue\": [30, 144, 255],\r\n\t\"firebrick\": [178, 34, 34],\r\n\t\"floralwhite\": [255, 250, 240],\r\n\t\"forestgreen\": [34, 139, 34],\r\n\t\"fuchsia\": [255, 0, 255],\r\n\t\"gainsboro\": [220, 220, 220],\r\n\t\"ghostwhite\": [248, 248, 255],\r\n\t\"gold\": [255, 215, 0],\r\n\t\"goldenrod\": [218, 165, 32],\r\n\t\"gray\": [128, 128, 128],\r\n\t\"green\": [0, 128, 0],\r\n\t\"greenyellow\": [173, 255, 47],\r\n\t\"grey\": [128, 128, 128],\r\n\t\"honeydew\": [240, 255, 240],\r\n\t\"hotpink\": [255, 105, 180],\r\n\t\"indianred\": [205, 92, 92],\r\n\t\"indigo\": [75, 0, 130],\r\n\t\"ivory\": [255, 255, 240],\r\n\t\"khaki\": [240, 230, 140],\r\n\t\"lavender\": [230, 230, 250],\r\n\t\"lavenderblush\": [255, 240, 245],\r\n\t\"lawngreen\": [124, 252, 0],\r\n\t\"lemonchiffon\": [255, 250, 205],\r\n\t\"lightblue\": [173, 216, 230],\r\n\t\"lightcoral\": [240, 128, 128],\r\n\t\"lightcyan\": [224, 255, 255],\r\n\t\"lightgoldenrodyellow\": [250, 250, 210],\r\n\t\"lightgray\": [211, 211, 211],\r\n\t\"lightgreen\": [144, 238, 144],\r\n\t\"lightgrey\": [211, 211, 211],\r\n\t\"lightpink\": [255, 182, 193],\r\n\t\"lightsalmon\": [255, 160, 122],\r\n\t\"lightseagreen\": [32, 178, 170],\r\n\t\"lightskyblue\": [135, 206, 250],\r\n\t\"lightslategray\": [119, 136, 153],\r\n\t\"lightslategrey\": [119, 136, 153],\r\n\t\"lightsteelblue\": [176, 196, 222],\r\n\t\"lightyellow\": [255, 255, 224],\r\n\t\"lime\": [0, 255, 0],\r\n\t\"limegreen\": [50, 205, 50],\r\n\t\"linen\": [250, 240, 230],\r\n\t\"magenta\": [255, 0, 255],\r\n\t\"maroon\": [128, 0, 0],\r\n\t\"mediumaquamarine\": [102, 205, 170],\r\n\t\"mediumblue\": [0, 0, 205],\r\n\t\"mediumorchid\": [186, 85, 211],\r\n\t\"mediumpurple\": [147, 112, 219],\r\n\t\"mediumseagreen\": [60, 179, 113],\r\n\t\"mediumslateblue\": [123, 104, 238],\r\n\t\"mediumspringgreen\": [0, 250, 154],\r\n\t\"mediumturquoise\": [72, 209, 204],\r\n\t\"mediumvioletred\": [199, 21, 133],\r\n\t\"midnightblue\": [25, 25, 112],\r\n\t\"mintcream\": [245, 255, 250],\r\n\t\"mistyrose\": [255, 228, 225],\r\n\t\"moccasin\": [255, 228, 181],\r\n\t\"navajowhite\": [255, 222, 173],\r\n\t\"navy\": [0, 0, 128],\r\n\t\"oldlace\": [253, 245, 230],\r\n\t\"olive\": [128, 128, 0],\r\n\t\"olivedrab\": [107, 142, 35],\r\n\t\"orange\": [255, 165, 0],\r\n\t\"orangered\": [255, 69, 0],\r\n\t\"orchid\": [218, 112, 214],\r\n\t\"palegoldenrod\": [238, 232, 170],\r\n\t\"palegreen\": [152, 251, 152],\r\n\t\"paleturquoise\": [175, 238, 238],\r\n\t\"palevioletred\": [219, 112, 147],\r\n\t\"papayawhip\": [255, 239, 213],\r\n\t\"peachpuff\": [255, 218, 185],\r\n\t\"peru\": [205, 133, 63],\r\n\t\"pink\": [255, 192, 203],\r\n\t\"plum\": [221, 160, 221],\r\n\t\"powderblue\": [176, 224, 230],\r\n\t\"purple\": [128, 0, 128],\r\n\t\"rebeccapurple\": [102, 51, 153],\r\n\t\"red\": [255, 0, 0],\r\n\t\"rosybrown\": [188, 143, 143],\r\n\t\"royalblue\": [65, 105, 225],\r\n\t\"saddlebrown\": [139, 69, 19],\r\n\t\"salmon\": [250, 128, 114],\r\n\t\"sandybrown\": [244, 164, 96],\r\n\t\"seagreen\": [46, 139, 87],\r\n\t\"seashell\": [255, 245, 238],\r\n\t\"sienna\": [160, 82, 45],\r\n\t\"silver\": [192, 192, 192],\r\n\t\"skyblue\": [135, 206, 235],\r\n\t\"slateblue\": [106, 90, 205],\r\n\t\"slategray\": [112, 128, 144],\r\n\t\"slategrey\": [112, 128, 144],\r\n\t\"snow\": [255, 250, 250],\r\n\t\"springgreen\": [0, 255, 127],\r\n\t\"steelblue\": [70, 130, 180],\r\n\t\"tan\": [210, 180, 140],\r\n\t\"teal\": [0, 128, 128],\r\n\t\"thistle\": [216, 191, 216],\r\n\t\"tomato\": [255, 99, 71],\r\n\t\"turquoise\": [64, 224, 208],\r\n\t\"violet\": [238, 130, 238],\r\n\t\"wheat\": [245, 222, 179],\r\n\t\"white\": [255, 255, 255],\r\n\t\"whitesmoke\": [245, 245, 245],\r\n\t\"yellow\": [255, 255, 0],\r\n\t\"yellowgreen\": [154, 205, 50]\r\n};\r\n","module.exports = function isArrayish(obj) {\n\tif (!obj || typeof obj === 'string') {\n\t\treturn false;\n\t}\n\n\treturn obj instanceof Array || Array.isArray(obj) ||\n\t\t(obj.length >= 0 && (obj.splice instanceof Function ||\n\t\t\t(Object.getOwnPropertyDescriptor(obj, (obj.length - 1)) && obj.constructor.name !== 'String')));\n};\n","'use strict';\n\nvar isArrayish = require('is-arrayish');\n\nvar concat = Array.prototype.concat;\nvar slice = Array.prototype.slice;\n\nvar swizzle = module.exports = function swizzle(args) {\n\tvar results = [];\n\n\tfor (var i = 0, len = args.length; i < len; i++) {\n\t\tvar arg = args[i];\n\n\t\tif (isArrayish(arg)) {\n\t\t\t// http://jsperf.com/javascript-array-concat-vs-push/98\n\t\t\tresults = concat.call(results, slice.call(arg));\n\t\t} else {\n\t\t\tresults.push(arg);\n\t\t}\n\t}\n\n\treturn results;\n};\n\nswizzle.wrap = function (fn) {\n\treturn function () {\n\t\treturn fn(swizzle(arguments));\n\t};\n};\n","/* MIT license */\nvar colorNames = require('color-name');\nvar swizzle = require('simple-swizzle');\nvar hasOwnProperty = Object.hasOwnProperty;\n\nvar reverseNames = Object.create(null);\n\n// create a list of reverse color names\nfor (var name in colorNames) {\n\tif (hasOwnProperty.call(colorNames, name)) {\n\t\treverseNames[colorNames[name]] = name;\n\t}\n}\n\nvar cs = module.exports = {\n\tto: {},\n\tget: {}\n};\n\ncs.get = function (string) {\n\tvar prefix = string.substring(0, 3).toLowerCase();\n\tvar val;\n\tvar model;\n\tswitch (prefix) {\n\t\tcase 'hsl':\n\t\t\tval = cs.get.hsl(string);\n\t\t\tmodel = 'hsl';\n\t\t\tbreak;\n\t\tcase 'hwb':\n\t\t\tval = cs.get.hwb(string);\n\t\t\tmodel = 'hwb';\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tval = cs.get.rgb(string);\n\t\t\tmodel = 'rgb';\n\t\t\tbreak;\n\t}\n\n\tif (!val) {\n\t\treturn null;\n\t}\n\n\treturn {model: model, value: val};\n};\n\ncs.get.rgb = function (string) {\n\tif (!string) {\n\t\treturn null;\n\t}\n\n\tvar abbr = /^#([a-f0-9]{3,4})$/i;\n\tvar hex = /^#([a-f0-9]{6})([a-f0-9]{2})?$/i;\n\tvar rgba = /^rgba?\\(\\s*([+-]?\\d+)(?=[\\s,])\\s*(?:,\\s*)?([+-]?\\d+)(?=[\\s,])\\s*(?:,\\s*)?([+-]?\\d+)\\s*(?:[,|\\/]\\s*([+-]?[\\d\\.]+)(%?)\\s*)?\\)$/;\n\tvar per = /^rgba?\\(\\s*([+-]?[\\d\\.]+)\\%\\s*,?\\s*([+-]?[\\d\\.]+)\\%\\s*,?\\s*([+-]?[\\d\\.]+)\\%\\s*(?:[,|\\/]\\s*([+-]?[\\d\\.]+)(%?)\\s*)?\\)$/;\n\tvar keyword = /^(\\w+)$/;\n\n\tvar rgb = [0, 0, 0, 1];\n\tvar match;\n\tvar i;\n\tvar hexAlpha;\n\n\tif (match = string.match(hex)) {\n\t\thexAlpha = match[2];\n\t\tmatch = match[1];\n\n\t\tfor (i = 0; i < 3; i++) {\n\t\t\t// https://jsperf.com/slice-vs-substr-vs-substring-methods-long-string/19\n\t\t\tvar i2 = i * 2;\n\t\t\trgb[i] = parseInt(match.slice(i2, i2 + 2), 16);\n\t\t}\n\n\t\tif (hexAlpha) {\n\t\t\trgb[3] = parseInt(hexAlpha, 16) / 255;\n\t\t}\n\t} else if (match = string.match(abbr)) {\n\t\tmatch = match[1];\n\t\thexAlpha = match[3];\n\n\t\tfor (i = 0; i < 3; i++) {\n\t\t\trgb[i] = parseInt(match[i] + match[i], 16);\n\t\t}\n\n\t\tif (hexAlpha) {\n\t\t\trgb[3] = parseInt(hexAlpha + hexAlpha, 16) / 255;\n\t\t}\n\t} else if (match = string.match(rgba)) {\n\t\tfor (i = 0; i < 3; i++) {\n\t\t\trgb[i] = parseInt(match[i + 1], 0);\n\t\t}\n\n\t\tif (match[4]) {\n\t\t\tif (match[5]) {\n\t\t\t\trgb[3] = parseFloat(match[4]) * 0.01;\n\t\t\t} else {\n\t\t\t\trgb[3] = parseFloat(match[4]);\n\t\t\t}\n\t\t}\n\t} else if (match = string.match(per)) {\n\t\tfor (i = 0; i < 3; i++) {\n\t\t\trgb[i] = Math.round(parseFloat(match[i + 1]) * 2.55);\n\t\t}\n\n\t\tif (match[4]) {\n\t\t\tif (match[5]) {\n\t\t\t\trgb[3] = parseFloat(match[4]) * 0.01;\n\t\t\t} else {\n\t\t\t\trgb[3] = parseFloat(match[4]);\n\t\t\t}\n\t\t}\n\t} else if (match = string.match(keyword)) {\n\t\tif (match[1] === 'transparent') {\n\t\t\treturn [0, 0, 0, 0];\n\t\t}\n\n\t\tif (!hasOwnProperty.call(colorNames, match[1])) {\n\t\t\treturn null;\n\t\t}\n\n\t\trgb = colorNames[match[1]];\n\t\trgb[3] = 1;\n\n\t\treturn rgb;\n\t} else {\n\t\treturn null;\n\t}\n\n\tfor (i = 0; i < 3; i++) {\n\t\trgb[i] = clamp(rgb[i], 0, 255);\n\t}\n\trgb[3] = clamp(rgb[3], 0, 1);\n\n\treturn rgb;\n};\n\ncs.get.hsl = function (string) {\n\tif (!string) {\n\t\treturn null;\n\t}\n\n\tvar hsl = /^hsla?\\(\\s*([+-]?(?:\\d{0,3}\\.)?\\d+)(?:deg)?\\s*,?\\s*([+-]?[\\d\\.]+)%\\s*,?\\s*([+-]?[\\d\\.]+)%\\s*(?:[,|\\/]\\s*([+-]?(?=\\.\\d|\\d)(?:0|[1-9]\\d*)?(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)\\s*)?\\)$/;\n\tvar match = string.match(hsl);\n\n\tif (match) {\n\t\tvar alpha = parseFloat(match[4]);\n\t\tvar h = ((parseFloat(match[1]) % 360) + 360) % 360;\n\t\tvar s = clamp(parseFloat(match[2]), 0, 100);\n\t\tvar l = clamp(parseFloat(match[3]), 0, 100);\n\t\tvar a = clamp(isNaN(alpha) ? 1 : alpha, 0, 1);\n\n\t\treturn [h, s, l, a];\n\t}\n\n\treturn null;\n};\n\ncs.get.hwb = function (string) {\n\tif (!string) {\n\t\treturn null;\n\t}\n\n\tvar hwb = /^hwb\\(\\s*([+-]?\\d{0,3}(?:\\.\\d+)?)(?:deg)?\\s*,\\s*([+-]?[\\d\\.]+)%\\s*,\\s*([+-]?[\\d\\.]+)%\\s*(?:,\\s*([+-]?(?=\\.\\d|\\d)(?:0|[1-9]\\d*)?(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)\\s*)?\\)$/;\n\tvar match = string.match(hwb);\n\n\tif (match) {\n\t\tvar alpha = parseFloat(match[4]);\n\t\tvar h = ((parseFloat(match[1]) % 360) + 360) % 360;\n\t\tvar w = clamp(parseFloat(match[2]), 0, 100);\n\t\tvar b = clamp(parseFloat(match[3]), 0, 100);\n\t\tvar a = clamp(isNaN(alpha) ? 1 : alpha, 0, 1);\n\t\treturn [h, w, b, a];\n\t}\n\n\treturn null;\n};\n\ncs.to.hex = function () {\n\tvar rgba = swizzle(arguments);\n\n\treturn (\n\t\t'#' +\n\t\thexDouble(rgba[0]) +\n\t\thexDouble(rgba[1]) +\n\t\thexDouble(rgba[2]) +\n\t\t(rgba[3] < 1\n\t\t\t? (hexDouble(Math.round(rgba[3] * 255)))\n\t\t\t: '')\n\t);\n};\n\ncs.to.rgb = function () {\n\tvar rgba = swizzle(arguments);\n\n\treturn rgba.length < 4 || rgba[3] === 1\n\t\t? 'rgb(' + Math.round(rgba[0]) + ', ' + Math.round(rgba[1]) + ', ' + Math.round(rgba[2]) + ')'\n\t\t: 'rgba(' + Math.round(rgba[0]) + ', ' + Math.round(rgba[1]) + ', ' + Math.round(rgba[2]) + ', ' + rgba[3] + ')';\n};\n\ncs.to.rgb.percent = function () {\n\tvar rgba = swizzle(arguments);\n\n\tvar r = Math.round(rgba[0] / 255 * 100);\n\tvar g = Math.round(rgba[1] / 255 * 100);\n\tvar b = Math.round(rgba[2] / 255 * 100);\n\n\treturn rgba.length < 4 || rgba[3] === 1\n\t\t? 'rgb(' + r + '%, ' + g + '%, ' + b + '%)'\n\t\t: 'rgba(' + r + '%, ' + g + '%, ' + b + '%, ' + rgba[3] + ')';\n};\n\ncs.to.hsl = function () {\n\tvar hsla = swizzle(arguments);\n\treturn hsla.length < 4 || hsla[3] === 1\n\t\t? 'hsl(' + hsla[0] + ', ' + hsla[1] + '%, ' + hsla[2] + '%)'\n\t\t: 'hsla(' + hsla[0] + ', ' + hsla[1] + '%, ' + hsla[2] + '%, ' + hsla[3] + ')';\n};\n\n// hwb is a bit different than rgb(a) & hsl(a) since there is no alpha specific syntax\n// (hwb have alpha optional & 1 is default value)\ncs.to.hwb = function () {\n\tvar hwba = swizzle(arguments);\n\n\tvar a = '';\n\tif (hwba.length >= 4 && hwba[3] !== 1) {\n\t\ta = ', ' + hwba[3];\n\t}\n\n\treturn 'hwb(' + hwba[0] + ', ' + hwba[1] + '%, ' + hwba[2] + '%' + a + ')';\n};\n\ncs.to.keyword = function (rgb) {\n\treturn reverseNames[rgb.slice(0, 3)];\n};\n\n// helpers\nfunction clamp(num, min, max) {\n\treturn Math.min(Math.max(min, num), max);\n}\n\nfunction hexDouble(num) {\n\tvar str = Math.round(num).toString(16).toUpperCase();\n\treturn (str.length < 2) ? '0' + str : str;\n}\n","/* MIT license */\n/* eslint-disable no-mixed-operators */\nconst cssKeywords = require('color-name');\n\n// NOTE: conversions should only return primitive values (i.e. arrays, or\n// values that give correct `typeof` results).\n// do not use box values types (i.e. Number(), String(), etc.)\n\nconst reverseKeywords = {};\nfor (const key of Object.keys(cssKeywords)) {\n\treverseKeywords[cssKeywords[key]] = key;\n}\n\nconst convert = {\n\trgb: {channels: 3, labels: 'rgb'},\n\thsl: {channels: 3, labels: 'hsl'},\n\thsv: {channels: 3, labels: 'hsv'},\n\thwb: {channels: 3, labels: 'hwb'},\n\tcmyk: {channels: 4, labels: 'cmyk'},\n\txyz: {channels: 3, labels: 'xyz'},\n\tlab: {channels: 3, labels: 'lab'},\n\tlch: {channels: 3, labels: 'lch'},\n\thex: {channels: 1, labels: ['hex']},\n\tkeyword: {channels: 1, labels: ['keyword']},\n\tansi16: {channels: 1, labels: ['ansi16']},\n\tansi256: {channels: 1, labels: ['ansi256']},\n\thcg: {channels: 3, labels: ['h', 'c', 'g']},\n\tapple: {channels: 3, labels: ['r16', 'g16', 'b16']},\n\tgray: {channels: 1, labels: ['gray']}\n};\n\nmodule.exports = convert;\n\n// Hide .channels and .labels properties\nfor (const model of Object.keys(convert)) {\n\tif (!('channels' in convert[model])) {\n\t\tthrow new Error('missing channels property: ' + model);\n\t}\n\n\tif (!('labels' in convert[model])) {\n\t\tthrow new Error('missing channel labels property: ' + model);\n\t}\n\n\tif (convert[model].labels.length !== convert[model].channels) {\n\t\tthrow new Error('channel and label counts mismatch: ' + model);\n\t}\n\n\tconst {channels, labels} = convert[model];\n\tdelete convert[model].channels;\n\tdelete convert[model].labels;\n\tObject.defineProperty(convert[model], 'channels', {value: channels});\n\tObject.defineProperty(convert[model], 'labels', {value: labels});\n}\n\nconvert.rgb.hsl = function (rgb) {\n\tconst r = rgb[0] / 255;\n\tconst g = rgb[1] / 255;\n\tconst b = rgb[2] / 255;\n\tconst min = Math.min(r, g, b);\n\tconst max = Math.max(r, g, b);\n\tconst delta = max - min;\n\tlet h;\n\tlet s;\n\n\tif (max === min) {\n\t\th = 0;\n\t} else if (r === max) {\n\t\th = (g - b) / delta;\n\t} else if (g === max) {\n\t\th = 2 + (b - r) / delta;\n\t} else if (b === max) {\n\t\th = 4 + (r - g) / delta;\n\t}\n\n\th = Math.min(h * 60, 360);\n\n\tif (h < 0) {\n\t\th += 360;\n\t}\n\n\tconst l = (min + max) / 2;\n\n\tif (max === min) {\n\t\ts = 0;\n\t} else if (l <= 0.5) {\n\t\ts = delta / (max + min);\n\t} else {\n\t\ts = delta / (2 - max - min);\n\t}\n\n\treturn [h, s * 100, l * 100];\n};\n\nconvert.rgb.hsv = function (rgb) {\n\tlet rdif;\n\tlet gdif;\n\tlet bdif;\n\tlet h;\n\tlet s;\n\n\tconst r = rgb[0] / 255;\n\tconst g = rgb[1] / 255;\n\tconst b = rgb[2] / 255;\n\tconst v = Math.max(r, g, b);\n\tconst diff = v - Math.min(r, g, b);\n\tconst diffc = function (c) {\n\t\treturn (v - c) / 6 / diff + 1 / 2;\n\t};\n\n\tif (diff === 0) {\n\t\th = 0;\n\t\ts = 0;\n\t} else {\n\t\ts = diff / v;\n\t\trdif = diffc(r);\n\t\tgdif = diffc(g);\n\t\tbdif = diffc(b);\n\n\t\tif (r === v) {\n\t\t\th = bdif - gdif;\n\t\t} else if (g === v) {\n\t\t\th = (1 / 3) + rdif - bdif;\n\t\t} else if (b === v) {\n\t\t\th = (2 / 3) + gdif - rdif;\n\t\t}\n\n\t\tif (h < 0) {\n\t\t\th += 1;\n\t\t} else if (h > 1) {\n\t\t\th -= 1;\n\t\t}\n\t}\n\n\treturn [\n\t\th * 360,\n\t\ts * 100,\n\t\tv * 100\n\t];\n};\n\nconvert.rgb.hwb = function (rgb) {\n\tconst r = rgb[0];\n\tconst g = rgb[1];\n\tlet b = rgb[2];\n\tconst h = convert.rgb.hsl(rgb)[0];\n\tconst w = 1 / 255 * Math.min(r, Math.min(g, b));\n\n\tb = 1 - 1 / 255 * Math.max(r, Math.max(g, b));\n\n\treturn [h, w * 100, b * 100];\n};\n\nconvert.rgb.cmyk = function (rgb) {\n\tconst r = rgb[0] / 255;\n\tconst g = rgb[1] / 255;\n\tconst b = rgb[2] / 255;\n\n\tconst k = Math.min(1 - r, 1 - g, 1 - b);\n\tconst c = (1 - r - k) / (1 - k) || 0;\n\tconst m = (1 - g - k) / (1 - k) || 0;\n\tconst y = (1 - b - k) / (1 - k) || 0;\n\n\treturn [c * 100, m * 100, y * 100, k * 100];\n};\n\nfunction comparativeDistance(x, y) {\n\t/*\n\t\tSee https://en.m.wikipedia.org/wiki/Euclidean_distance#Squared_Euclidean_distance\n\t*/\n\treturn (\n\t\t((x[0] - y[0]) ** 2) +\n\t\t((x[1] - y[1]) ** 2) +\n\t\t((x[2] - y[2]) ** 2)\n\t);\n}\n\nconvert.rgb.keyword = function (rgb) {\n\tconst reversed = reverseKeywords[rgb];\n\tif (reversed) {\n\t\treturn reversed;\n\t}\n\n\tlet currentClosestDistance = Infinity;\n\tlet currentClosestKeyword;\n\n\tfor (const keyword of Object.keys(cssKeywords)) {\n\t\tconst value = cssKeywords[keyword];\n\n\t\t// Compute comparative distance\n\t\tconst distance = comparativeDistance(rgb, value);\n\n\t\t// Check if its less, if so set as closest\n\t\tif (distance < currentClosestDistance) {\n\t\t\tcurrentClosestDistance = distance;\n\t\t\tcurrentClosestKeyword = keyword;\n\t\t}\n\t}\n\n\treturn currentClosestKeyword;\n};\n\nconvert.keyword.rgb = function (keyword) {\n\treturn cssKeywords[keyword];\n};\n\nconvert.rgb.xyz = function (rgb) {\n\tlet r = rgb[0] / 255;\n\tlet g = rgb[1] / 255;\n\tlet b = rgb[2] / 255;\n\n\t// Assume sRGB\n\tr = r > 0.04045 ? (((r + 0.055) / 1.055) ** 2.4) : (r / 12.92);\n\tg = g > 0.04045 ? (((g + 0.055) / 1.055) ** 2.4) : (g / 12.92);\n\tb = b > 0.04045 ? (((b + 0.055) / 1.055) ** 2.4) : (b / 12.92);\n\n\tconst x = (r * 0.4124) + (g * 0.3576) + (b * 0.1805);\n\tconst y = (r * 0.2126) + (g * 0.7152) + (b * 0.0722);\n\tconst z = (r * 0.0193) + (g * 0.1192) + (b * 0.9505);\n\n\treturn [x * 100, y * 100, z * 100];\n};\n\nconvert.rgb.lab = function (rgb) {\n\tconst xyz = convert.rgb.xyz(rgb);\n\tlet x = xyz[0];\n\tlet y = xyz[1];\n\tlet z = xyz[2];\n\n\tx /= 95.047;\n\ty /= 100;\n\tz /= 108.883;\n\n\tx = x > 0.008856 ? (x ** (1 / 3)) : (7.787 * x) + (16 / 116);\n\ty = y > 0.008856 ? (y ** (1 / 3)) : (7.787 * y) + (16 / 116);\n\tz = z > 0.008856 ? (z ** (1 / 3)) : (7.787 * z) + (16 / 116);\n\n\tconst l = (116 * y) - 16;\n\tconst a = 500 * (x - y);\n\tconst b = 200 * (y - z);\n\n\treturn [l, a, b];\n};\n\nconvert.hsl.rgb = function (hsl) {\n\tconst h = hsl[0] / 360;\n\tconst s = hsl[1] / 100;\n\tconst l = hsl[2] / 100;\n\tlet t2;\n\tlet t3;\n\tlet val;\n\n\tif (s === 0) {\n\t\tval = l * 255;\n\t\treturn [val, val, val];\n\t}\n\n\tif (l < 0.5) {\n\t\tt2 = l * (1 + s);\n\t} else {\n\t\tt2 = l + s - l * s;\n\t}\n\n\tconst t1 = 2 * l - t2;\n\n\tconst rgb = [0, 0, 0];\n\tfor (let i = 0; i < 3; i++) {\n\t\tt3 = h + 1 / 3 * -(i - 1);\n\t\tif (t3 < 0) {\n\t\t\tt3++;\n\t\t}\n\n\t\tif (t3 > 1) {\n\t\t\tt3--;\n\t\t}\n\n\t\tif (6 * t3 < 1) {\n\t\t\tval = t1 + (t2 - t1) * 6 * t3;\n\t\t} else if (2 * t3 < 1) {\n\t\t\tval = t2;\n\t\t} else if (3 * t3 < 2) {\n\t\t\tval = t1 + (t2 - t1) * (2 / 3 - t3) * 6;\n\t\t} else {\n\t\t\tval = t1;\n\t\t}\n\n\t\trgb[i] = val * 255;\n\t}\n\n\treturn rgb;\n};\n\nconvert.hsl.hsv = function (hsl) {\n\tconst h = hsl[0];\n\tlet s = hsl[1] / 100;\n\tlet l = hsl[2] / 100;\n\tlet smin = s;\n\tconst lmin = Math.max(l, 0.01);\n\n\tl *= 2;\n\ts *= (l <= 1) ? l : 2 - l;\n\tsmin *= lmin <= 1 ? lmin : 2 - lmin;\n\tconst v = (l + s) / 2;\n\tconst sv = l === 0 ? (2 * smin) / (lmin + smin) : (2 * s) / (l + s);\n\n\treturn [h, sv * 100, v * 100];\n};\n\nconvert.hsv.rgb = function (hsv) {\n\tconst h = hsv[0] / 60;\n\tconst s = hsv[1] / 100;\n\tlet v = hsv[2] / 100;\n\tconst hi = Math.floor(h) % 6;\n\n\tconst f = h - Math.floor(h);\n\tconst p = 255 * v * (1 - s);\n\tconst q = 255 * v * (1 - (s * f));\n\tconst t = 255 * v * (1 - (s * (1 - f)));\n\tv *= 255;\n\n\tswitch (hi) {\n\t\tcase 0:\n\t\t\treturn [v, t, p];\n\t\tcase 1:\n\t\t\treturn [q, v, p];\n\t\tcase 2:\n\t\t\treturn [p, v, t];\n\t\tcase 3:\n\t\t\treturn [p, q, v];\n\t\tcase 4:\n\t\t\treturn [t, p, v];\n\t\tcase 5:\n\t\t\treturn [v, p, q];\n\t}\n};\n\nconvert.hsv.hsl = function (hsv) {\n\tconst h = hsv[0];\n\tconst s = hsv[1] / 100;\n\tconst v = hsv[2] / 100;\n\tconst vmin = Math.max(v, 0.01);\n\tlet sl;\n\tlet l;\n\n\tl = (2 - s) * v;\n\tconst lmin = (2 - s) * vmin;\n\tsl = s * vmin;\n\tsl /= (lmin <= 1) ? lmin : 2 - lmin;\n\tsl = sl || 0;\n\tl /= 2;\n\n\treturn [h, sl * 100, l * 100];\n};\n\n// http://dev.w3.org/csswg/css-color/#hwb-to-rgb\nconvert.hwb.rgb = function (hwb) {\n\tconst h = hwb[0] / 360;\n\tlet wh = hwb[1] / 100;\n\tlet bl = hwb[2] / 100;\n\tconst ratio = wh + bl;\n\tlet f;\n\n\t// Wh + bl cant be > 1\n\tif (ratio > 1) {\n\t\twh /= ratio;\n\t\tbl /= ratio;\n\t}\n\n\tconst i = Math.floor(6 * h);\n\tconst v = 1 - bl;\n\tf = 6 * h - i;\n\n\tif ((i & 0x01) !== 0) {\n\t\tf = 1 - f;\n\t}\n\n\tconst n = wh + f * (v - wh); // Linear interpolation\n\n\tlet r;\n\tlet g;\n\tlet b;\n\t/* eslint-disable max-statements-per-line,no-multi-spaces */\n\tswitch (i) {\n\t\tdefault:\n\t\tcase 6:\n\t\tcase 0: r = v; g = n; b = wh; break;\n\t\tcase 1: r = n; g = v; b = wh; break;\n\t\tcase 2: r = wh; g = v; b = n; break;\n\t\tcase 3: r = wh; g = n; b = v; break;\n\t\tcase 4: r = n; g = wh; b = v; break;\n\t\tcase 5: r = v; g = wh; b = n; break;\n\t}\n\t/* eslint-enable max-statements-per-line,no-multi-spaces */\n\n\treturn [r * 255, g * 255, b * 255];\n};\n\nconvert.cmyk.rgb = function (cmyk) {\n\tconst c = cmyk[0] / 100;\n\tconst m = cmyk[1] / 100;\n\tconst y = cmyk[2] / 100;\n\tconst k = cmyk[3] / 100;\n\n\tconst r = 1 - Math.min(1, c * (1 - k) + k);\n\tconst g = 1 - Math.min(1, m * (1 - k) + k);\n\tconst b = 1 - Math.min(1, y * (1 - k) + k);\n\n\treturn [r * 255, g * 255, b * 255];\n};\n\nconvert.xyz.rgb = function (xyz) {\n\tconst x = xyz[0] / 100;\n\tconst y = xyz[1] / 100;\n\tconst z = xyz[2] / 100;\n\tlet r;\n\tlet g;\n\tlet b;\n\n\tr = (x * 3.2406) + (y * -1.5372) + (z * -0.4986);\n\tg = (x * -0.9689) + (y * 1.8758) + (z * 0.0415);\n\tb = (x * 0.0557) + (y * -0.2040) + (z * 1.0570);\n\n\t// Assume sRGB\n\tr = r > 0.0031308\n\t\t? ((1.055 * (r ** (1.0 / 2.4))) - 0.055)\n\t\t: r * 12.92;\n\n\tg = g > 0.0031308\n\t\t? ((1.055 * (g ** (1.0 / 2.4))) - 0.055)\n\t\t: g * 12.92;\n\n\tb = b > 0.0031308\n\t\t? ((1.055 * (b ** (1.0 / 2.4))) - 0.055)\n\t\t: b * 12.92;\n\n\tr = Math.min(Math.max(0, r), 1);\n\tg = Math.min(Math.max(0, g), 1);\n\tb = Math.min(Math.max(0, b), 1);\n\n\treturn [r * 255, g * 255, b * 255];\n};\n\nconvert.xyz.lab = function (xyz) {\n\tlet x = xyz[0];\n\tlet y = xyz[1];\n\tlet z = xyz[2];\n\n\tx /= 95.047;\n\ty /= 100;\n\tz /= 108.883;\n\n\tx = x > 0.008856 ? (x ** (1 / 3)) : (7.787 * x) + (16 / 116);\n\ty = y > 0.008856 ? (y ** (1 / 3)) : (7.787 * y) + (16 / 116);\n\tz = z > 0.008856 ? (z ** (1 / 3)) : (7.787 * z) + (16 / 116);\n\n\tconst l = (116 * y) - 16;\n\tconst a = 500 * (x - y);\n\tconst b = 200 * (y - z);\n\n\treturn [l, a, b];\n};\n\nconvert.lab.xyz = function (lab) {\n\tconst l = lab[0];\n\tconst a = lab[1];\n\tconst b = lab[2];\n\tlet x;\n\tlet y;\n\tlet z;\n\n\ty = (l + 16) / 116;\n\tx = a / 500 + y;\n\tz = y - b / 200;\n\n\tconst y2 = y ** 3;\n\tconst x2 = x ** 3;\n\tconst z2 = z ** 3;\n\ty = y2 > 0.008856 ? y2 : (y - 16 / 116) / 7.787;\n\tx = x2 > 0.008856 ? x2 : (x - 16 / 116) / 7.787;\n\tz = z2 > 0.008856 ? z2 : (z - 16 / 116) / 7.787;\n\n\tx *= 95.047;\n\ty *= 100;\n\tz *= 108.883;\n\n\treturn [x, y, z];\n};\n\nconvert.lab.lch = function (lab) {\n\tconst l = lab[0];\n\tconst a = lab[1];\n\tconst b = lab[2];\n\tlet h;\n\n\tconst hr = Math.atan2(b, a);\n\th = hr * 360 / 2 / Math.PI;\n\n\tif (h < 0) {\n\t\th += 360;\n\t}\n\n\tconst c = Math.sqrt(a * a + b * b);\n\n\treturn [l, c, h];\n};\n\nconvert.lch.lab = function (lch) {\n\tconst l = lch[0];\n\tconst c = lch[1];\n\tconst h = lch[2];\n\n\tconst hr = h / 360 * 2 * Math.PI;\n\tconst a = c * Math.cos(hr);\n\tconst b = c * Math.sin(hr);\n\n\treturn [l, a, b];\n};\n\nconvert.rgb.ansi16 = function (args, saturation = null) {\n\tconst [r, g, b] = args;\n\tlet value = saturation === null ? convert.rgb.hsv(args)[2] : saturation; // Hsv -> ansi16 optimization\n\n\tvalue = Math.round(value / 50);\n\n\tif (value === 0) {\n\t\treturn 30;\n\t}\n\n\tlet ansi = 30\n\t\t+ ((Math.round(b / 255) << 2)\n\t\t| (Math.round(g / 255) << 1)\n\t\t| Math.round(r / 255));\n\n\tif (value === 2) {\n\t\tansi += 60;\n\t}\n\n\treturn ansi;\n};\n\nconvert.hsv.ansi16 = function (args) {\n\t// Optimization here; we already know the value and don't need to get\n\t// it converted for us.\n\treturn convert.rgb.ansi16(convert.hsv.rgb(args), args[2]);\n};\n\nconvert.rgb.ansi256 = function (args) {\n\tconst r = args[0];\n\tconst g = args[1];\n\tconst b = args[2];\n\n\t// We use the extended greyscale palette here, with the exception of\n\t// black and white. normal palette only has 4 greyscale shades.\n\tif (r === g && g === b) {\n\t\tif (r < 8) {\n\t\t\treturn 16;\n\t\t}\n\n\t\tif (r > 248) {\n\t\t\treturn 231;\n\t\t}\n\n\t\treturn Math.round(((r - 8) / 247) * 24) + 232;\n\t}\n\n\tconst ansi = 16\n\t\t+ (36 * Math.round(r / 255 * 5))\n\t\t+ (6 * Math.round(g / 255 * 5))\n\t\t+ Math.round(b / 255 * 5);\n\n\treturn ansi;\n};\n\nconvert.ansi16.rgb = function (args) {\n\tlet color = args % 10;\n\n\t// Handle greyscale\n\tif (color === 0 || color === 7) {\n\t\tif (args > 50) {\n\t\t\tcolor += 3.5;\n\t\t}\n\n\t\tcolor = color / 10.5 * 255;\n\n\t\treturn [color, color, color];\n\t}\n\n\tconst mult = (~~(args > 50) + 1) * 0.5;\n\tconst r = ((color & 1) * mult) * 255;\n\tconst g = (((color >> 1) & 1) * mult) * 255;\n\tconst b = (((color >> 2) & 1) * mult) * 255;\n\n\treturn [r, g, b];\n};\n\nconvert.ansi256.rgb = function (args) {\n\t// Handle greyscale\n\tif (args >= 232) {\n\t\tconst c = (args - 232) * 10 + 8;\n\t\treturn [c, c, c];\n\t}\n\n\targs -= 16;\n\n\tlet rem;\n\tconst r = Math.floor(args / 36) / 5 * 255;\n\tconst g = Math.floor((rem = args % 36) / 6) / 5 * 255;\n\tconst b = (rem % 6) / 5 * 255;\n\n\treturn [r, g, b];\n};\n\nconvert.rgb.hex = function (args) {\n\tconst integer = ((Math.round(args[0]) & 0xFF) << 16)\n\t\t+ ((Math.round(args[1]) & 0xFF) << 8)\n\t\t+ (Math.round(args[2]) & 0xFF);\n\n\tconst string = integer.toString(16).toUpperCase();\n\treturn '000000'.substring(string.length) + string;\n};\n\nconvert.hex.rgb = function (args) {\n\tconst match = args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);\n\tif (!match) {\n\t\treturn [0, 0, 0];\n\t}\n\n\tlet colorString = match[0];\n\n\tif (match[0].length === 3) {\n\t\tcolorString = colorString.split('').map(char => {\n\t\t\treturn char + char;\n\t\t}).join('');\n\t}\n\n\tconst integer = parseInt(colorString, 16);\n\tconst r = (integer >> 16) & 0xFF;\n\tconst g = (integer >> 8) & 0xFF;\n\tconst b = integer & 0xFF;\n\n\treturn [r, g, b];\n};\n\nconvert.rgb.hcg = function (rgb) {\n\tconst r = rgb[0] / 255;\n\tconst g = rgb[1] / 255;\n\tconst b = rgb[2] / 255;\n\tconst max = Math.max(Math.max(r, g), b);\n\tconst min = Math.min(Math.min(r, g), b);\n\tconst chroma = (max - min);\n\tlet grayscale;\n\tlet hue;\n\n\tif (chroma < 1) {\n\t\tgrayscale = min / (1 - chroma);\n\t} else {\n\t\tgrayscale = 0;\n\t}\n\n\tif (chroma <= 0) {\n\t\thue = 0;\n\t} else\n\tif (max === r) {\n\t\thue = ((g - b) / chroma) % 6;\n\t} else\n\tif (max === g) {\n\t\thue = 2 + (b - r) / chroma;\n\t} else {\n\t\thue = 4 + (r - g) / chroma;\n\t}\n\n\thue /= 6;\n\thue %= 1;\n\n\treturn [hue * 360, chroma * 100, grayscale * 100];\n};\n\nconvert.hsl.hcg = function (hsl) {\n\tconst s = hsl[1] / 100;\n\tconst l = hsl[2] / 100;\n\n\tconst c = l < 0.5 ? (2.0 * s * l) : (2.0 * s * (1.0 - l));\n\n\tlet f = 0;\n\tif (c < 1.0) {\n\t\tf = (l - 0.5 * c) / (1.0 - c);\n\t}\n\n\treturn [hsl[0], c * 100, f * 100];\n};\n\nconvert.hsv.hcg = function (hsv) {\n\tconst s = hsv[1] / 100;\n\tconst v = hsv[2] / 100;\n\n\tconst c = s * v;\n\tlet f = 0;\n\n\tif (c < 1.0) {\n\t\tf = (v - c) / (1 - c);\n\t}\n\n\treturn [hsv[0], c * 100, f * 100];\n};\n\nconvert.hcg.rgb = function (hcg) {\n\tconst h = hcg[0] / 360;\n\tconst c = hcg[1] / 100;\n\tconst g = hcg[2] / 100;\n\n\tif (c === 0.0) {\n\t\treturn [g * 255, g * 255, g * 255];\n\t}\n\n\tconst pure = [0, 0, 0];\n\tconst hi = (h % 1) * 6;\n\tconst v = hi % 1;\n\tconst w = 1 - v;\n\tlet mg = 0;\n\n\t/* eslint-disable max-statements-per-line */\n\tswitch (Math.floor(hi)) {\n\t\tcase 0:\n\t\t\tpure[0] = 1; pure[1] = v; pure[2] = 0; break;\n\t\tcase 1:\n\t\t\tpure[0] = w; pure[1] = 1; pure[2] = 0; break;\n\t\tcase 2:\n\t\t\tpure[0] = 0; pure[1] = 1; pure[2] = v; break;\n\t\tcase 3:\n\t\t\tpure[0] = 0; pure[1] = w; pure[2] = 1; break;\n\t\tcase 4:\n\t\t\tpure[0] = v; pure[1] = 0; pure[2] = 1; break;\n\t\tdefault:\n\t\t\tpure[0] = 1; pure[1] = 0; pure[2] = w;\n\t}\n\t/* eslint-enable max-statements-per-line */\n\n\tmg = (1.0 - c) * g;\n\n\treturn [\n\t\t(c * pure[0] + mg) * 255,\n\t\t(c * pure[1] + mg) * 255,\n\t\t(c * pure[2] + mg) * 255\n\t];\n};\n\nconvert.hcg.hsv = function (hcg) {\n\tconst c = hcg[1] / 100;\n\tconst g = hcg[2] / 100;\n\n\tconst v = c + g * (1.0 - c);\n\tlet f = 0;\n\n\tif (v > 0.0) {\n\t\tf = c / v;\n\t}\n\n\treturn [hcg[0], f * 100, v * 100];\n};\n\nconvert.hcg.hsl = function (hcg) {\n\tconst c = hcg[1] / 100;\n\tconst g = hcg[2] / 100;\n\n\tconst l = g * (1.0 - c) + 0.5 * c;\n\tlet s = 0;\n\n\tif (l > 0.0 && l < 0.5) {\n\t\ts = c / (2 * l);\n\t} else\n\tif (l >= 0.5 && l < 1.0) {\n\t\ts = c / (2 * (1 - l));\n\t}\n\n\treturn [hcg[0], s * 100, l * 100];\n};\n\nconvert.hcg.hwb = function (hcg) {\n\tconst c = hcg[1] / 100;\n\tconst g = hcg[2] / 100;\n\tconst v = c + g * (1.0 - c);\n\treturn [hcg[0], (v - c) * 100, (1 - v) * 100];\n};\n\nconvert.hwb.hcg = function (hwb) {\n\tconst w = hwb[1] / 100;\n\tconst b = hwb[2] / 100;\n\tconst v = 1 - b;\n\tconst c = v - w;\n\tlet g = 0;\n\n\tif (c < 1) {\n\t\tg = (v - c) / (1 - c);\n\t}\n\n\treturn [hwb[0], c * 100, g * 100];\n};\n\nconvert.apple.rgb = function (apple) {\n\treturn [(apple[0] / 65535) * 255, (apple[1] / 65535) * 255, (apple[2] / 65535) * 255];\n};\n\nconvert.rgb.apple = function (rgb) {\n\treturn [(rgb[0] / 255) * 65535, (rgb[1] / 255) * 65535, (rgb[2] / 255) * 65535];\n};\n\nconvert.gray.rgb = function (args) {\n\treturn [args[0] / 100 * 255, args[0] / 100 * 255, args[0] / 100 * 255];\n};\n\nconvert.gray.hsl = function (args) {\n\treturn [0, 0, args[0]];\n};\n\nconvert.gray.hsv = convert.gray.hsl;\n\nconvert.gray.hwb = function (gray) {\n\treturn [0, 100, gray[0]];\n};\n\nconvert.gray.cmyk = function (gray) {\n\treturn [0, 0, 0, gray[0]];\n};\n\nconvert.gray.lab = function (gray) {\n\treturn [gray[0], 0, 0];\n};\n\nconvert.gray.hex = function (gray) {\n\tconst val = Math.round(gray[0] / 100 * 255) & 0xFF;\n\tconst integer = (val << 16) + (val << 8) + val;\n\n\tconst string = integer.toString(16).toUpperCase();\n\treturn '000000'.substring(string.length) + string;\n};\n\nconvert.rgb.gray = function (rgb) {\n\tconst val = (rgb[0] + rgb[1] + rgb[2]) / 3;\n\treturn [val / 255 * 100];\n};\n","const conversions = require('./conversions');\n\n/*\n\tThis function routes a model to all other models.\n\n\tall functions that are routed have a property `.conversion` attached\n\tto the returned synthetic function. This property is an array\n\tof strings, each with the steps in between the 'from' and 'to'\n\tcolor models (inclusive).\n\n\tconversions that are not possible simply are not included.\n*/\n\nfunction buildGraph() {\n\tconst graph = {};\n\t// https://jsperf.com/object-keys-vs-for-in-with-closure/3\n\tconst models = Object.keys(conversions);\n\n\tfor (let len = models.length, i = 0; i < len; i++) {\n\t\tgraph[models[i]] = {\n\t\t\t// http://jsperf.com/1-vs-infinity\n\t\t\t// micro-opt, but this is simple.\n\t\t\tdistance: -1,\n\t\t\tparent: null\n\t\t};\n\t}\n\n\treturn graph;\n}\n\n// https://en.wikipedia.org/wiki/Breadth-first_search\nfunction deriveBFS(fromModel) {\n\tconst graph = buildGraph();\n\tconst queue = [fromModel]; // Unshift -> queue -> pop\n\n\tgraph[fromModel].distance = 0;\n\n\twhile (queue.length) {\n\t\tconst current = queue.pop();\n\t\tconst adjacents = Object.keys(conversions[current]);\n\n\t\tfor (let len = adjacents.length, i = 0; i < len; i++) {\n\t\t\tconst adjacent = adjacents[i];\n\t\t\tconst node = graph[adjacent];\n\n\t\t\tif (node.distance === -1) {\n\t\t\t\tnode.distance = graph[current].distance + 1;\n\t\t\t\tnode.parent = current;\n\t\t\t\tqueue.unshift(adjacent);\n\t\t\t}\n\t\t}\n\t}\n\n\treturn graph;\n}\n\nfunction link(from, to) {\n\treturn function (args) {\n\t\treturn to(from(args));\n\t};\n}\n\nfunction wrapConversion(toModel, graph) {\n\tconst path = [graph[toModel].parent, toModel];\n\tlet fn = conversions[graph[toModel].parent][toModel];\n\n\tlet cur = graph[toModel].parent;\n\twhile (graph[cur].parent) {\n\t\tpath.unshift(graph[cur].parent);\n\t\tfn = link(conversions[graph[cur].parent][cur], fn);\n\t\tcur = graph[cur].parent;\n\t}\n\n\tfn.conversion = path;\n\treturn fn;\n}\n\nmodule.exports = function (fromModel) {\n\tconst graph = deriveBFS(fromModel);\n\tconst conversion = {};\n\n\tconst models = Object.keys(graph);\n\tfor (let len = models.length, i = 0; i < len; i++) {\n\t\tconst toModel = models[i];\n\t\tconst node = graph[toModel];\n\n\t\tif (node.parent === null) {\n\t\t\t// No possible conversion, or this node is the source model.\n\t\t\tcontinue;\n\t\t}\n\n\t\tconversion[toModel] = wrapConversion(toModel, graph);\n\t}\n\n\treturn conversion;\n};\n\n","const conversions = require('./conversions');\nconst route = require('./route');\n\nconst convert = {};\n\nconst models = Object.keys(conversions);\n\nfunction wrapRaw(fn) {\n\tconst wrappedFn = function (...args) {\n\t\tconst arg0 = args[0];\n\t\tif (arg0 === undefined || arg0 === null) {\n\t\t\treturn arg0;\n\t\t}\n\n\t\tif (arg0.length > 1) {\n\t\t\targs = arg0;\n\t\t}\n\n\t\treturn fn(args);\n\t};\n\n\t// Preserve .conversion property if there is one\n\tif ('conversion' in fn) {\n\t\twrappedFn.conversion = fn.conversion;\n\t}\n\n\treturn wrappedFn;\n}\n\nfunction wrapRounded(fn) {\n\tconst wrappedFn = function (...args) {\n\t\tconst arg0 = args[0];\n\n\t\tif (arg0 === undefined || arg0 === null) {\n\t\t\treturn arg0;\n\t\t}\n\n\t\tif (arg0.length > 1) {\n\t\t\targs = arg0;\n\t\t}\n\n\t\tconst result = fn(args);\n\n\t\t// We're assuming the result is an array here.\n\t\t// see notice in conversions.js; don't use box types\n\t\t// in conversion functions.\n\t\tif (typeof result === 'object') {\n\t\t\tfor (let len = result.length, i = 0; i < len; i++) {\n\t\t\t\tresult[i] = Math.round(result[i]);\n\t\t\t}\n\t\t}\n\n\t\treturn result;\n\t};\n\n\t// Preserve .conversion property if there is one\n\tif ('conversion' in fn) {\n\t\twrappedFn.conversion = fn.conversion;\n\t}\n\n\treturn wrappedFn;\n}\n\nmodels.forEach(fromModel => {\n\tconvert[fromModel] = {};\n\n\tObject.defineProperty(convert[fromModel], 'channels', {value: conversions[fromModel].channels});\n\tObject.defineProperty(convert[fromModel], 'labels', {value: conversions[fromModel].labels});\n\n\tconst routes = route(fromModel);\n\tconst routeModels = Object.keys(routes);\n\n\trouteModels.forEach(toModel => {\n\t\tconst fn = routes[toModel];\n\n\t\tconvert[fromModel][toModel] = wrapRounded(fn);\n\t\tconvert[fromModel][toModel].raw = wrapRaw(fn);\n\t});\n});\n\nmodule.exports = convert;\n","const colorString = require('color-string');\nconst convert = require('color-convert');\n\nconst skippedModels = [\n\t// To be honest, I don't really feel like keyword belongs in color convert, but eh.\n\t'keyword',\n\n\t// Gray conflicts with some method names, and has its own method defined.\n\t'gray',\n\n\t// Shouldn't really be in color-convert either...\n\t'hex',\n];\n\nconst hashedModelKeys = {};\nfor (const model of Object.keys(convert)) {\n\thashedModelKeys[[...convert[model].labels].sort().join('')] = model;\n}\n\nconst limiters = {};\n\nfunction Color(object, model) {\n\tif (!(this instanceof Color)) {\n\t\treturn new Color(object, model);\n\t}\n\n\tif (model && model in skippedModels) {\n\t\tmodel = null;\n\t}\n\n\tif (model && !(model in convert)) {\n\t\tthrow new Error('Unknown model: ' + model);\n\t}\n\n\tlet i;\n\tlet channels;\n\n\tif (object == null) { // eslint-disable-line no-eq-null,eqeqeq\n\t\tthis.model = 'rgb';\n\t\tthis.color = [0, 0, 0];\n\t\tthis.valpha = 1;\n\t} else if (object instanceof Color) {\n\t\tthis.model = object.model;\n\t\tthis.color = [...object.color];\n\t\tthis.valpha = object.valpha;\n\t} else if (typeof object === 'string') {\n\t\tconst result = colorString.get(object);\n\t\tif (result === null) {\n\t\t\tthrow new Error('Unable to parse color from string: ' + object);\n\t\t}\n\n\t\tthis.model = result.model;\n\t\tchannels = convert[this.model].channels;\n\t\tthis.color = result.value.slice(0, channels);\n\t\tthis.valpha = typeof result.value[channels] === 'number' ? result.value[channels] : 1;\n\t} else if (object.length > 0) {\n\t\tthis.model = model || 'rgb';\n\t\tchannels = convert[this.model].channels;\n\t\tconst newArray = Array.prototype.slice.call(object, 0, channels);\n\t\tthis.color = zeroArray(newArray, channels);\n\t\tthis.valpha = typeof object[channels] === 'number' ? object[channels] : 1;\n\t} else if (typeof object === 'number') {\n\t\t// This is always RGB - can be converted later on.\n\t\tthis.model = 'rgb';\n\t\tthis.color = [\n\t\t\t(object >> 16) & 0xFF,\n\t\t\t(object >> 8) & 0xFF,\n\t\t\tobject & 0xFF,\n\t\t];\n\t\tthis.valpha = 1;\n\t} else {\n\t\tthis.valpha = 1;\n\n\t\tconst keys = Object.keys(object);\n\t\tif ('alpha' in object) {\n\t\t\tkeys.splice(keys.indexOf('alpha'), 1);\n\t\t\tthis.valpha = typeof object.alpha === 'number' ? object.alpha : 0;\n\t\t}\n\n\t\tconst hashedKeys = keys.sort().join('');\n\t\tif (!(hashedKeys in hashedModelKeys)) {\n\t\t\tthrow new Error('Unable to parse color from object: ' + JSON.stringify(object));\n\t\t}\n\n\t\tthis.model = hashedModelKeys[hashedKeys];\n\n\t\tconst {labels} = convert[this.model];\n\t\tconst color = [];\n\t\tfor (i = 0; i < labels.length; i++) {\n\t\t\tcolor.push(object[labels[i]]);\n\t\t}\n\n\t\tthis.color = zeroArray(color);\n\t}\n\n\t// Perform limitations (clamping, etc.)\n\tif (limiters[this.model]) {\n\t\tchannels = convert[this.model].channels;\n\t\tfor (i = 0; i < channels; i++) {\n\t\t\tconst limit = limiters[this.model][i];\n\t\t\tif (limit) {\n\t\t\t\tthis.color[i] = limit(this.color[i]);\n\t\t\t}\n\t\t}\n\t}\n\n\tthis.valpha = Math.max(0, Math.min(1, this.valpha));\n\n\tif (Object.freeze) {\n\t\tObject.freeze(this);\n\t}\n}\n\nColor.prototype = {\n\ttoString() {\n\t\treturn this.string();\n\t},\n\n\ttoJSON() {\n\t\treturn this[this.model]();\n\t},\n\n\tstring(places) {\n\t\tlet self = this.model in colorString.to ? this : this.rgb();\n\t\tself = self.round(typeof places === 'number' ? places : 1);\n\t\tconst args = self.valpha === 1 ? self.color : [...self.color, this.valpha];\n\t\treturn colorString.to[self.model](args);\n\t},\n\n\tpercentString(places) {\n\t\tconst self = this.rgb().round(typeof places === 'number' ? places : 1);\n\t\tconst args = self.valpha === 1 ? self.color : [...self.color, this.valpha];\n\t\treturn colorString.to.rgb.percent(args);\n\t},\n\n\tarray() {\n\t\treturn this.valpha === 1 ? [...this.color] : [...this.color, this.valpha];\n\t},\n\n\tobject() {\n\t\tconst result = {};\n\t\tconst {channels} = convert[this.model];\n\t\tconst {labels} = convert[this.model];\n\n\t\tfor (let i = 0; i < channels; i++) {\n\t\t\tresult[labels[i]] = this.color[i];\n\t\t}\n\n\t\tif (this.valpha !== 1) {\n\t\t\tresult.alpha = this.valpha;\n\t\t}\n\n\t\treturn result;\n\t},\n\n\tunitArray() {\n\t\tconst rgb = this.rgb().color;\n\t\trgb[0] /= 255;\n\t\trgb[1] /= 255;\n\t\trgb[2] /= 255;\n\n\t\tif (this.valpha !== 1) {\n\t\t\trgb.push(this.valpha);\n\t\t}\n\n\t\treturn rgb;\n\t},\n\n\tunitObject() {\n\t\tconst rgb = this.rgb().object();\n\t\trgb.r /= 255;\n\t\trgb.g /= 255;\n\t\trgb.b /= 255;\n\n\t\tif (this.valpha !== 1) {\n\t\t\trgb.alpha = this.valpha;\n\t\t}\n\n\t\treturn rgb;\n\t},\n\n\tround(places) {\n\t\tplaces = Math.max(places || 0, 0);\n\t\treturn new Color([...this.color.map(roundToPlace(places)), this.valpha], this.model);\n\t},\n\n\talpha(value) {\n\t\tif (value !== undefined) {\n\t\t\treturn new Color([...this.color, Math.max(0, Math.min(1, value))], this.model);\n\t\t}\n\n\t\treturn this.valpha;\n\t},\n\n\t// Rgb\n\tred: getset('rgb', 0, maxfn(255)),\n\tgreen: getset('rgb', 1, maxfn(255)),\n\tblue: getset('rgb', 2, maxfn(255)),\n\n\thue: getset(['hsl', 'hsv', 'hsl', 'hwb', 'hcg'], 0, value => ((value % 360) + 360) % 360),\n\n\tsaturationl: getset('hsl', 1, maxfn(100)),\n\tlightness: getset('hsl', 2, maxfn(100)),\n\n\tsaturationv: getset('hsv', 1, maxfn(100)),\n\tvalue: getset('hsv', 2, maxfn(100)),\n\n\tchroma: getset('hcg', 1, maxfn(100)),\n\tgray: getset('hcg', 2, maxfn(100)),\n\n\twhite: getset('hwb', 1, maxfn(100)),\n\twblack: getset('hwb', 2, maxfn(100)),\n\n\tcyan: getset('cmyk', 0, maxfn(100)),\n\tmagenta: getset('cmyk', 1, maxfn(100)),\n\tyellow: getset('cmyk', 2, maxfn(100)),\n\tblack: getset('cmyk', 3, maxfn(100)),\n\n\tx: getset('xyz', 0, maxfn(95.047)),\n\ty: getset('xyz', 1, maxfn(100)),\n\tz: getset('xyz', 2, maxfn(108.833)),\n\n\tl: getset('lab', 0, maxfn(100)),\n\ta: getset('lab', 1),\n\tb: getset('lab', 2),\n\n\tkeyword(value) {\n\t\tif (value !== undefined) {\n\t\t\treturn new Color(value);\n\t\t}\n\n\t\treturn convert[this.model].keyword(this.color);\n\t},\n\n\thex(value) {\n\t\tif (value !== undefined) {\n\t\t\treturn new Color(value);\n\t\t}\n\n\t\treturn colorString.to.hex(this.rgb().round().color);\n\t},\n\n\thexa(value) {\n\t\tif (value !== undefined) {\n\t\t\treturn new Color(value);\n\t\t}\n\n\t\tconst rgbArray = this.rgb().round().color;\n\n\t\tlet alphaHex = Math.round(this.valpha * 255).toString(16).toUpperCase();\n\t\tif (alphaHex.length === 1) {\n\t\t\talphaHex = '0' + alphaHex;\n\t\t}\n\n\t\treturn colorString.to.hex(rgbArray) + alphaHex;\n\t},\n\n\trgbNumber() {\n\t\tconst rgb = this.rgb().color;\n\t\treturn ((rgb[0] & 0xFF) << 16) | ((rgb[1] & 0xFF) << 8) | (rgb[2] & 0xFF);\n\t},\n\n\tluminosity() {\n\t\t// http://www.w3.org/TR/WCAG20/#relativeluminancedef\n\t\tconst rgb = this.rgb().color;\n\n\t\tconst lum = [];\n\t\tfor (const [i, element] of rgb.entries()) {\n\t\t\tconst chan = element / 255;\n\t\t\tlum[i] = (chan <= 0.04045) ? chan / 12.92 : ((chan + 0.055) / 1.055) ** 2.4;\n\t\t}\n\n\t\treturn 0.2126 * lum[0] + 0.7152 * lum[1] + 0.0722 * lum[2];\n\t},\n\n\tcontrast(color2) {\n\t\t// http://www.w3.org/TR/WCAG20/#contrast-ratiodef\n\t\tconst lum1 = this.luminosity();\n\t\tconst lum2 = color2.luminosity();\n\n\t\tif (lum1 > lum2) {\n\t\t\treturn (lum1 + 0.05) / (lum2 + 0.05);\n\t\t}\n\n\t\treturn (lum2 + 0.05) / (lum1 + 0.05);\n\t},\n\n\tlevel(color2) {\n\t\t// https://www.w3.org/TR/WCAG/#contrast-enhanced\n\t\tconst contrastRatio = this.contrast(color2);\n\t\tif (contrastRatio >= 7) {\n\t\t\treturn 'AAA';\n\t\t}\n\n\t\treturn (contrastRatio >= 4.5) ? 'AA' : '';\n\t},\n\n\tisDark() {\n\t\t// YIQ equation from http://24ways.org/2010/calculating-color-contrast\n\t\tconst rgb = this.rgb().color;\n\t\tconst yiq = (rgb[0] * 2126 + rgb[1] * 7152 + rgb[2] * 722) / 10000;\n\t\treturn yiq < 128;\n\t},\n\n\tisLight() {\n\t\treturn !this.isDark();\n\t},\n\n\tnegate() {\n\t\tconst rgb = this.rgb();\n\t\tfor (let i = 0; i < 3; i++) {\n\t\t\trgb.color[i] = 255 - rgb.color[i];\n\t\t}\n\n\t\treturn rgb;\n\t},\n\n\tlighten(ratio) {\n\t\tconst hsl = this.hsl();\n\t\thsl.color[2] += hsl.color[2] * ratio;\n\t\treturn hsl;\n\t},\n\n\tdarken(ratio) {\n\t\tconst hsl = this.hsl();\n\t\thsl.color[2] -= hsl.color[2] * ratio;\n\t\treturn hsl;\n\t},\n\n\tsaturate(ratio) {\n\t\tconst hsl = this.hsl();\n\t\thsl.color[1] += hsl.color[1] * ratio;\n\t\treturn hsl;\n\t},\n\n\tdesaturate(ratio) {\n\t\tconst hsl = this.hsl();\n\t\thsl.color[1] -= hsl.color[1] * ratio;\n\t\treturn hsl;\n\t},\n\n\twhiten(ratio) {\n\t\tconst hwb = this.hwb();\n\t\thwb.color[1] += hwb.color[1] * ratio;\n\t\treturn hwb;\n\t},\n\n\tblacken(ratio) {\n\t\tconst hwb = this.hwb();\n\t\thwb.color[2] += hwb.color[2] * ratio;\n\t\treturn hwb;\n\t},\n\n\tgrayscale() {\n\t\t// http://en.wikipedia.org/wiki/Grayscale#Converting_color_to_grayscale\n\t\tconst rgb = this.rgb().color;\n\t\tconst value = rgb[0] * 0.3 + rgb[1] * 0.59 + rgb[2] * 0.11;\n\t\treturn Color.rgb(value, value, value);\n\t},\n\n\tfade(ratio) {\n\t\treturn this.alpha(this.valpha - (this.valpha * ratio));\n\t},\n\n\topaquer(ratio) {\n\t\treturn this.alpha(this.valpha + (this.valpha * ratio));\n\t},\n\n\trotate(degrees) {\n\t\tconst hsl = this.hsl();\n\t\tlet hue = hsl.color[0];\n\t\thue = (hue + degrees) % 360;\n\t\thue = hue < 0 ? 360 + hue : hue;\n\t\thsl.color[0] = hue;\n\t\treturn hsl;\n\t},\n\n\tmix(mixinColor, weight) {\n\t\t// Ported from sass implementation in C\n\t\t// https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209\n\t\tif (!mixinColor || !mixinColor.rgb) {\n\t\t\tthrow new Error('Argument to \"mix\" was not a Color instance, but rather an instance of ' + typeof mixinColor);\n\t\t}\n\n\t\tconst color1 = mixinColor.rgb();\n\t\tconst color2 = this.rgb();\n\t\tconst p = weight === undefined ? 0.5 : weight;\n\n\t\tconst w = 2 * p - 1;\n\t\tconst a = color1.alpha() - color2.alpha();\n\n\t\tconst w1 = (((w * a === -1) ? w : (w + a) / (1 + w * a)) + 1) / 2;\n\t\tconst w2 = 1 - w1;\n\n\t\treturn Color.rgb(\n\t\t\tw1 * color1.red() + w2 * color2.red(),\n\t\t\tw1 * color1.green() + w2 * color2.green(),\n\t\t\tw1 * color1.blue() + w2 * color2.blue(),\n\t\t\tcolor1.alpha() * p + color2.alpha() * (1 - p));\n\t},\n};\n\n// Model conversion methods and static constructors\nfor (const model of Object.keys(convert)) {\n\tif (skippedModels.includes(model)) {\n\t\tcontinue;\n\t}\n\n\tconst {channels} = convert[model];\n\n\t// Conversion methods\n\tColor.prototype[model] = function (...args) {\n\t\tif (this.model === model) {\n\t\t\treturn new Color(this);\n\t\t}\n\n\t\tif (args.length > 0) {\n\t\t\treturn new Color(args, model);\n\t\t}\n\n\t\treturn new Color([...assertArray(convert[this.model][model].raw(this.color)), this.valpha], model);\n\t};\n\n\t// 'static' construction methods\n\tColor[model] = function (...args) {\n\t\tlet color = args[0];\n\t\tif (typeof color === 'number') {\n\t\t\tcolor = zeroArray(args, channels);\n\t\t}\n\n\t\treturn new Color(color, model);\n\t};\n}\n\nfunction roundTo(number, places) {\n\treturn Number(number.toFixed(places));\n}\n\nfunction roundToPlace(places) {\n\treturn function (number) {\n\t\treturn roundTo(number, places);\n\t};\n}\n\nfunction getset(model, channel, modifier) {\n\tmodel = Array.isArray(model) ? model : [model];\n\n\tfor (const m of model) {\n\t\t(limiters[m] || (limiters[m] = []))[channel] = modifier;\n\t}\n\n\tmodel = model[0];\n\n\treturn function (value) {\n\t\tlet result;\n\n\t\tif (value !== undefined) {\n\t\t\tif (modifier) {\n\t\t\t\tvalue = modifier(value);\n\t\t\t}\n\n\t\t\tresult = this[model]();\n\t\t\tresult.color[channel] = value;\n\t\t\treturn result;\n\t\t}\n\n\t\tresult = this[model]().color[channel];\n\t\tif (modifier) {\n\t\t\tresult = modifier(result);\n\t\t}\n\n\t\treturn result;\n\t};\n}\n\nfunction maxfn(max) {\n\treturn function (v) {\n\t\treturn Math.max(0, Math.min(max, v));\n\t};\n}\n\nfunction assertArray(value) {\n\treturn Array.isArray(value) ? value : [value];\n}\n\nfunction zeroArray(array, length) {\n\tfor (let i = 0; i < length; i++) {\n\t\tif (typeof array[i] !== 'number') {\n\t\t\tarray[i] = 0;\n\t\t}\n\t}\n\n\treturn array;\n}\n\nmodule.exports = Color;\n","///////////////////////////////////////////////////////////////////////////////\n/** @preserve\n///// CoLoR PaRsLeY a simple set of color parsing thingies!\n///// Beta 0.1.8 Revision date: June 04, 2022\n/////\n///// Functions to parse color values and return array\n///// Copyright (c) 2019-2022 by Andrew Somers. All Rights Reserved.\n///// LICENSE: AGPL 3\n///// CONTACT: Please use the ISSUES or DISCUSSIONS tab at:\n///// https://github.com/Myndex/colorparsley/\n/////\n///////////////////////////////////////////////////////////////////////////////\n/////\n///// IMPORT:\n///// import { colorParsley } from 'colorparsley';\n/////\n///// let rgbaArray = colorParsley('#abcdef');\n/////\n///// Output as array: [r,g,b,a,isValid,colorspace]\n///// Example: [123,123,123,1.0,true,'sRGB']\n// */\n///////////////////////////////////////////////////////////////////////////////\n\n// ==ClosureCompiler==\n// @compilation_level SIMPLE_OPTIMIZATIONS\n// @output_file_name colorparsley.min.js\n// @code_url https://raw.githubusercontent.com/Myndex/colorparsley/master/src/colorparsley.js\n// ==/ClosureCompiler==\n\n// \n////////////////////////////////////////////////////////////////////////////////\n\n\n\n////////////////////////////////////////////////////////////////////////////////\n///// BEGIN COLOR PARSLEY 0.1.8 BLOCK \\/////////////////////////////////////\n//// \\///////////////////////////////////\n/// \\/////////////////////////////////\n\n\n///// ƒ colorParsley() ///////////////////////////////////////////////////\n\nexport function colorParsley (colorIn) {\n\n if (typeof colorIn === 'string') {\n return parseString(colorIn);\n } else if (typeof colorIn === 'number') {\n return [(colorIn & 0xFF0000) >> 16,\n (colorIn & 0x00FF00) >> 8,\n (colorIn & 0x0000FF), 1, true, 'unknown'];\n } else if (typeof colorIn === 'object') {\n if (Array.isArray(colorIn)) {\n return colorIn;\n } else if (!isNaN(colorIn.r) || !isNaN(colorIn.red)){\n // validate object & return array\n let objArray = [0,0,0,0,false,'unknown'];\n // takes object with r g b or red green blue etc...\n objArray[0] = (colorIn.r)?colorIn.r:(colorIn.red)?\n colorIn.red:false;\n objArray[1] = (colorIn.g)?colorIn.g:(colorIn.green)?\n colorIn.green:false;\n objArray[2] = (colorIn.b)?colorIn.b:(colorIn.blue)?\n colorIn.blue:false;\n objArray[3] = (colorIn.a)?colorIn.a:(colorIn.alpha)?\n colorIn.alpha:1;\n objArray[4] = (objArray[0]&&objArray[1]&&objArray[2]) ? true : false;\n objArray[5] =\n (colorIn.space)?colorIn.space:\n (colorIn.colorSpace)?colorIn.colorSpace:\n (colorIn.colorspace)?colorIn.colorspace:\n 'unknown';\n \n return objArray;\n }\n }; // End if statement\n console.log('colorParsley error: invalid input')\n return [0,0,0,0,false,'inputError'] // throw 'InvalidInput' // return error \n};\n\n\n///// ƒ parseString() ///////////////////////////////////////////////////\n\n// private\nfunction parseString (colorString = '#abcdef') {\n\n // strip junk and make a clean string (replace unmatched)\n // This retains all alphanumeric and , . # % ( ) /\n colorString = colorString.replace(/[^\\w,.#%()\\/ -]/g,'');\n colorString = colorString.toLowerCase(); // set lowercase\n \n let isValid = false; // validation flag, in array element [4]\n let type = 'sRGB'; // Default colorspace flag in element [5]\n let retArray = [0,0,0,0,isValid,type]; // init the return array\n\n\n // test for named color before iterating array\n if (colorString.match(/^(?:(?!rgb|l.h|hs|col|\\d|#).{0,4})(?=[g-z])/)) {\n\n\n ///// CSS4 NAMED COLORS plus a bonus set of GREYS and GRAYS //////////\n \n // If name is matched, parse and return the color values\n let namedColors = {\n gray0:'000000',gray1:'111111',gray2:'222222',gray3:'333333',gray4:'444444',gray5:'555555',gray6:'666666',gray7:'777777',gray8:'888888',gray9:'999999',graya:'aaaaaa',grayb:'bbbbbb',grayc:'cccccc',grayd:'dddddd',graye:'eeeeee',grayf:'ffffff',midgray:'a0a0a0',\n grey0:'000000',grey1:'111111',grey2:'222222',grey3:'333333',grey4:'444444',grey5:'555555',grey6:'666666',grey7:'777777',grey8:'888888',grey9:'999999',greya:'aaaaaa',greyb:'bbbbbb',greyc:'cccccc',greyd:'dddddd',greye:'eeeeee',greyf:'ffffff',midgrey:'a0a0a0',\n aliceblue:'f0f8ff',antiquewhite:'faebd7',aqua:'00ffff',aquamarine:'7fffd4',azure:'f0ffff',\n beige:'f5f5dc',bisque:'ffe4c4',black:'000000',blanchedalmond:'ffebcd',blue:'0000ff',blueviolet:'8a2be2',brown:'a52a2a',burlywood:'deb887',\n cadetblue:'5f9ea0',chartreuse:'7fff00',chocolate:'d2691e',coral:'ff7f50',cornflowerblue:'6495ed',cornsilk:'fff8dc',crimson:'dc143c',cyan:'00ffff',\n darkblue:'00008b',darkcyan:'008b8b',darkgoldenrod:'b8860b',darkgray:'a9a9a9',darkgreen:'006400',darkgrey:'a9a9a9',darkkhaki:'bdb76b',darkmagenta:'8b008b',darkolivegreen:'556b2f',darkorange:'ff8c00',darkorchid:'9932cc',darkred:'8b0000',darksalmon:'e9967a',darkseagreen:'8fbc8f',darkslateblue:'483d8b',darkslategray:'2f4f4f',darkslategrey:'2f4f4f',darkturquoise:'00ced1',darkviolet:'9400d3',deeppink:'ff1493',deepskyblue:'00bfff',dimgray:'696969',dimgrey:'696969',dodgerblue:'1e90ff',\n firebrick:'b22222',floralwhite:'fffaf0',forestgreen:'228b22',fuchsia:'ff00ff',\n gainsboro:'dcdcdc',ghostwhite:'f8f8ff',gold:'ffd700',goldenrod:'daa520',gray:'808080',green:'008000',greenyellow:'adff2f',grey:'808080',\n honeydew:'f0fff0',hotpink:'ff69b4',\n indianred:'cd5c5c',indigo:'4b0082',ivory:'fffff0',\n khaki:'f0e68c',\n lavender:'e6e6fa',lavenderblush:'fff0f5',lawngreen:'7cfc00',lemonchiffon:'fffacd',lightblue:'add8e6',lightcoral:'f08080',lightcyan:'e0ffff',lightgoldenrodyellow:'fafad2',lightgray:'d3d3d3',lightgreen:'90ee90',lightgrey:'d3d3d3',lightpink:'ffb6c1',lightsalmon:'ffa07a',lightseagreen:'20b2aa',lightskyblue:'87cefa',lightslategray:'778899',lightslategrey:'778899',lightsteelblue:'b0c4de',lightyellow:'ffffe0',lime:'00ff00',limegreen:'32cd32',linen:'faf0e6',\n magenta:'ff00ff',maroon:'800000',mediumaquamarine:'66cdaa',mediumblue:'0000cd',mediumorchid:'ba55d3',mediumpurple:'9370db',mediumseagreen:'3cb371',mediumslateblue:'7b68ee',mediumspringgreen:'00fa9a',mediumturquoise:'48d1cc',mediumvioletred:'c71585',midnightblue:'191970',mintcream:'f5fffa',mistyrose:'ffe4e1',moccasin:'ffe4b5',\n navajowhite:'ffdead',navy:'000080',\n oldlace:'fdf5e6',olive:'808000',olivedrab:'6b8e23',orange:'ffa500',orangered:'ff4500',orchid:'da70d6',\n palegoldenrod:'eee8aa',palegreen:'98fb98',paleturquoise:'afeeee',palevioletred:'db7093',papayawhip:'ffefd5',peachpuff:'ffdab9',peru:'cd853f',pink:'ffc0cb',plum:'dda0dd',powderblue:'b0e0e6',purple:'800080',\n rebeccapurple:'663399',red:'ff0000',rosybrown:'bc8f8f',royalblue:'4169e1',\n saddlebrown:'8b4513',salmon:'fa8072',sandybrown:'f4a460',seagreen:'2e8b57',seashell:'fff5ee',sienna:'a0522d',silver:'c0c0c0',skyblue:'87ceeb',slateblue:'6a5acd',slategray:'708090',slategrey:'708090',snow:'fffafa',springgreen:'00ff7f',steelblue:'4682b4',\n tan:'d2b48c',teal:'008080',thistle:'d8bfd8',tomato:'ff6347',turquoise:'40e0d0',\n violet:'ee82ee',\n wheat:'f5deb3',white:'ffffff',whitesmoke:'f5f5f5',\n yellow:'ffff00',yellowgreen:'9acd32'\n };\n\n for (let key in namedColors) {\n if (colorString == key) {\n\n let hexRex = { \n rex: /^([\\da-f]{2})([\\da-f]{2})([\\da-f]{2})$/,\n sprig: function (slices) {\n for (let i = 0; i < 3; i++) {\n retArray[i] = parseInt(slices[i+1],16);\n }\n retArray[3] = 1;\n return true;\n }\n };\n\n let hexProc = hexRex.rex.exec(namedColors[key]);\n retArray[4] = isValid = hexRex.sprig(hexProc);\n\n return retArray;\n }\n }\n }; // end of named colors section\n\n\n // NEW regex 0.1.6 - still current for use with with 0.1.8+\n // See docs for breakdown of regex pattern\n let colorRex = {\n rex: /(?:^(?:#|0x|)(?:(?:([\\da-f])([\\da-f])([\\da-f])([\\da-f])?)(?!\\S)|(?:([\\da-f]{2})(?:([\\da-f]{2})([\\da-f]{2})([\\da-f]{2})?)?))|(?:(?:^(?:rgba?|)\\(? ?(?:(?:(?:(255|(?:25[0-4]|2[0-4]\\d|1?\\d{1,2})(?:\\.\\d{1,24})?)))(?:,[^\\S]*$|(?:(?:, ?| )(255|(?:25[0-4]|2[0-4]\\d|1?\\d{1,2})(?:\\.\\d{1,24})?)(?:, ?| )(255|(?:25[0-4]|2[0-4]\\d|1?\\d{1,2})(?:\\.\\d{1,24})?)))|(100%|\\d{1,2}(?:\\.\\d{1,24})?%)(?:,?[^\\S]*$|(?:(?:, ?| )(?:(100%|\\d{1,2}(?:\\.\\d{1,24})?%)(?:, ?| )(100%|\\d{1,2}(?:\\.\\d{1,24})?%)))))|^(?:color\\((srgb|srgb-linear|display-p3|a98-rgb|prophoto-rgb|rec2020|xyz|xyz-d50|xyz-d65) (?:(100%|\\d{1,2}(?:\\.\\d{1,24})?%|[0 ]\\.\\d{1,24}|[01])) (?:(100%|\\d{1,2}(?:\\.\\d{1,24})?%|[0 ]\\.\\d{1,24}|[01])) (?:(100%|\\d{1,2}(?:\\.\\d{1,24})?%|[0 ]\\.\\d{1,24}|[01])))|^(?:((?:r(?!gb)|c(?!olor)|[abd-qs-z])[a-z]{2,5})\\( ?((?:\\d{0,3}\\.|)\\d{1,24}%?)(?:, ?| )((?:\\d{0,3}\\.|)\\d{1,24}%?)(?:, ?| )((?:\\d{0,3}\\.|)\\d{1,24}%?))))(?:(?:,| \\/| ) ?(?:(100%|\\d{1,2}(?:\\.\\d{1,24})?%|[0 ]\\.\\d{1,24}|[01])))?(?:\\)| |))[^\\S]*$/,\n\n\n parsley: function (slices) {\n\n let slicePos = 0;\n let sliceLast = 0;\n let base = 10;\n let divisor = 100.0;\n let convertPct = 2.55;\n let alpha = '1';\n\n\n if (slices[23]) {\n alpha = slices[23];\n delete slices[23];\n }\n // Set alpha before anything else\n retArray[3] = (alpha.match(/%/g)) ?\n parseFloat(alpha) / divisor :\n parseFloat(alpha);\n\n // determine first and last element\n for (let k=1; k < slices.length; k++) { \n if (slices[k]) {\n slicePos = (slicePos) ? slicePos : k;\n sliceLast = k;\n }\n }\n\n switch (sliceLast) {\n\n case 4: // This is the 3-4 digit hex parsing\n base = 16;\n divisor = 15.0;\n retArray[3] = parseInt(slices[sliceLast],base) / divisor ;\n case 3:\n base = 16;\n for (let i = 0; i < 3; i++) {\n retArray[i] = parseInt(slices[slicePos+i] + slices[slicePos+i],base);\n }\n break;\n\n case 5: // allows two digit hex to become grey\n base = 16;\n case 9: // allows 1-3 digit INT with comma to become grey\n retArray[0] = retArray[1] = retArray[2] = \n (base == 10) ? parseFloat(slices[sliceLast]) : \n parseInt(slices[sliceLast],base);\n break;\n\n case 12: // allows single percentage to become grey\n retArray[0] = retArray[1] = retArray[2] = \n parseFloat(slices[sliceLast]) * convertPct;\n break;\n\n case 8: // These are the main parsings for hex and rgb()\n base = 16;\n divisor = 255.0;\n retArray[3] = parseInt(slices[8],base) / divisor ;\n case 7:\n base = 16;\n case 11:\n for (let i = 0; i < 3; i++) {\n retArray[i] = (base == 10) ? parseFloat(slices[slicePos+i]) :\n parseInt(slices[slicePos+i],base);\n }\n break;\n\n case 14: // rgb() percentage\n for (let i = 0; i < 3; i++) {\n retArray[i] = parseFloat(slices[slicePos+i]) * convertPct;\n }\n break;\n \n case 18: // This is for color() CSS 4\n retArray[5] = slices[15];\n\n for (let i = 0; i < 3; i++) { // color() is converted to 0.0-255.0\n slicePos++;\n retArray[i] = (slices[slicePos].match(/%/g)) ?\n parseFloat(slices[slicePos]) * 2.55:\n parseFloat(slices[slicePos]) * 255; \n }\n break;\n\n case 22: // This is the \"wild west\" section\n\n retArray[5] = slices[slicePos];\n\n for (let i = 0; i < 3; i++ ) {\n slicePos++;\n retArray[i] = (slices[slicePos]) ? (slices[slicePos].match(/%/g)) ?\n parseFloat(slices[slicePos]) / divisor :\n parseFloat(slices[slicePos]) : 0.0 ;\n }\n\n // Process for HSL and HWB\n if (retArray[5].match(/^(?:hsla?|hwba?)/i) ) {\n let sat,light,white,black,hwbFact;\n\n let hue = retArray[0] % 360.0;\n if (hue < 0) { hue += 360.0; }\n\n if (retArray[5].match(/^hsla?/i) ) {\n sat = retArray[1];\n light = retArray[2];\n white = 0;\n hwbFact = 1; \n } else if (retArray[5].match(/^hwba?/i) ) {\n white = retArray[1];\n black = retArray[2];\n\n if (white + black >= 1) {\n retArray[0] = retArray[1] = retArray[2] = white / (white + black);\n retArray[5] = 'sRGB';\n break;\n }\n\n sat = 1.0;\n light = 0.5;\n hwbFact = (1.0 - white - black);\n }\n\n function f(n) { // from CSS reference implementation\n let k = (n + hue/30) % 12;\n let a = sat * Math.min(light, 1 - light);\n return light - a * Math.max(-1, Math.min(k - 3, 9 - k, 1));\n }\n\n retArray[0] = Math.round(255 * (f(0) * hwbFact + white));\n retArray[1] = Math.round(255 * (f(8) * hwbFact + white));\n retArray[2] = Math.round(255 * (f(4) * hwbFact + white));\n retArray[5] = 'sRGB';\n }\n break;\n }\n return true;\n } // close parsley sub-function\n }; // close colorRex obj\n\n\n // The main call\n let slicesProc = colorRex.rex.exec(colorString);\n\n if (slicesProc) { // Error catch\n \n retArray[4] = isValid = colorRex.parsley(slicesProc); // set the isValid flag\n\n return retArray;\n\n } else {\n isValid = false;\n console.log('colorParsley error: unable to parse string')\n return [0,0,0,0,isValid,'parsleyError'] // throw 'InvalidString'\n }\n};\n\n\n\n\n////////////////////////////////////////////////////////////////////////////////\n///// BONUS STRING FORMATTING UTILITIES \\////////////////////////////////////\n\n\n///// ƒ colorToHex() ///////////////////////////////////////////////////\n\n // returns hex string, 3,4,6, or 8 chars if that was entered, no #\n // If alpha is 1 or empty, no alpha is returned i.e. abcf returns abc\n \nexport function colorToHex (rgba = [0,0,0,''], allow3 = true) {\n let R = Math.round(rgba[0]).toString(16).padStart(2, '0');\n let G = Math.round(rgba[1]).toString(16).padStart(2, '0');\n let B = Math.round(rgba[2]).toString(16).padStart(2, '0');\n let A = (rgba[3] == '' || rgba[3] == 1) ? '' :\n Math.round(rgba[3] * 255).toString(16).padStart(2, '0') ;\n\n // this if returns a 3 character hex if possible - aabbcc becomes abc\n if ( allow3 &&\n parseInt(A, 16) % 17 == 0 &&\n parseInt(A, 16) % 17 == 0 &&\n parseInt(A, 16) % 17 == 0 &&\n (parseInt(A, 16) % 17 == 0 || A == '')\n ) {\n return R.charAt(0) + G.charAt(0) + B.charAt(0) + A.charAt(0);\n } else {\n return R + G + B + A;\n }\n}\n\n\n\n\n///// ƒ colorToRGB() ///////////////////////////////////////////////////\n\n // RGBAstr — returns rgb() or rgba() INT value string (0-255) no spaces\n // If alpha is 1 or empty, no alpha is returned \n \nexport function colorToRGB (rgba = [0,0,0,''], round = true) {\n if (round) {\n for (let i=0; i < 3; i++) {\n rgba[i] = Math.round(rgba[i]);\n } \n // while RGB tuples round to int, A needs additional precision\n rgba[3] = ( rgba[3] == '' || rgba[3] == 1) ? 1 :\n Math.trunc(rgba[3]*1000)*0.001; \n }\n\n return ( rgba[3] == '' || rgba[3] == 1) ? \n 'rgb(' + rgba[0] + ',' + rgba[1] + ',' + rgba[2] + ')' :\n 'rgba(' + rgba[0] + ',' + rgba[1] + ',' + rgba[2] + ',' + rgba[3] + ')';\n}\n\n\n/////\\ END UTILITIES ///////////////////////////////////////////////////////\n/////////////////////////////////////////////////////////////////////////////\n\n\n///\\ //////////////////////////////////////\n////\\ //////////////////////////////////////\n/////\\ END COLOR PARSLEY 0.1.8 BLOCK //////////////////////////////////////\n/////////////////////////////////////////////////////////////////////////////\n\n","///////////////////////////////////////////////////////////////////////////////\n/** @preserve\n///// SAPC APCA - Advanced Perceptual Contrast Algorithm\n///// Beta 0.1.9 W3 • contrast function only\n///// DIST: W3 • Revision date: July 3, 2022\n///// Function to parse color values and determine Lc contrast\n///// Copyright © 2019-2022 by Andrew Somers. All Rights Reserved.\n///// LICENSE: W3 LICENSE\n///// CONTACT: Please use the ISSUES or DISCUSSIONS tab at:\n///// https://github.com/Myndex/SAPC-APCA/\n/////\n///////////////////////////////////////////////////////////////////////////////\n/////\n///// MINIMAL IMPORTS:\n///// import { APCAcontrast, sRGBtoY, displayP3toY,\n///// calcAPCA, fontLookupAPCA } from 'apca-w3';\n///// import { colorParsley } from 'colorparsley';\n/////\n///// FORWARD CONTRAST USAGE:\n///// Lc = APCAcontrast( sRGBtoY( TEXTcolor ) , sRGBtoY( BACKGNDcolor ) );\n///// Where the colors are sent as an rgba array [255,255,255,1]\n/////\n///// Retrieving an array of font sizes for the contrast:\n///// fontArray = fontLookupAPCA(Lc);\n/////\n///// Live Demonstrator at https://www.myndex.com/APCA/\n// */\n///////////////////////////////////////////////////////////////////////////////\n\n////////////////////////////////////////////////////////////////////////////////\n/////\n///// SAPC Method and APCA Algorithm\n///// W3 Licensed Version: https://github.com/Myndex/apca-w3\n///// GITHUB MAIN REPO: https://github.com/Myndex/SAPC-APCA\n///// DEVELOPER SITE: https://git.myndex.com/\n/////\n///// Acknowledgments and Thanks To:\n///// • This project references the research & work of M.Fairchild, R.W.Hunt,\n///// Drs. Bailey/Lovie-Kitchin, G.Legge, A.Arditi, M.Stone, C.Poynton, \n///// L.Arend, M.Luo, E.Burns, R.Blackwell, P.Barton, M.Brettel, and many \n///// others — see refs at https://www.myndex.com/WEB/WCAG_CE17polarity\n///// • Bruce Bailey of USAccessBoard for his encouragement, ideas, & feedback\n///// • Chris Lilly of W3C for continued review, examination, & oversight\n///// • Chris Loiselle of Oracle for getting us back on track in a pandemic\n///// • The many volunteer test subjects for participating in the studies.\n///// • The many early adopters, beta testers, and code/issue contributors\n///// • Principal research conducted at Myndex by A.Somers.\n/////\n////////////////////////////////////////////////////////////////////////////////\n\n////////////////////////////////////////////////////////////////////////////////\n/////\n///// ***** SAPC BLOCK *****\n/////\n///// For Evaluations, refer to this as: SAPC-8, 0.0.98G-series constant 4g\n///// SAPC • S-LUV Advanced Predictive Color\n/////\n///// SIMPLE VERSION — Only the basic APCA contrast predictor.\n/////\n///// Included Extensions & Model Features in this file:\n///// • SAPC-8 Core Contrast (Base APCA, non-clinical use only) \n///// • G series constants, group \"G-4g\" using a 2.4 monitor exponent\n///// • sRGB to Y, parses numeric sRGB color to luminance\n///// • SoftToe black level soft clamp and flare compensation.\n/////\n/////\n////////////////////////////////////////////////////////////////////////////////\n/////\n///// DISCLAIMER AND LIMITATIONS OF USE\n///// APCA is an embodiment of certain suprathreshold contrast\n///// prediction technologies and it is licensed to the W3 on a\n///// limited basis for use in certain specific accessibility\n///// guidelines for web content only. APCA may be used for \n///// predicting colors for web content use without royalty.\n/////\n///// However, Any such license excludes other use cases\n///// not related to web content. Prohibited uses include\n///// medical, clinical evaluation, human safety related,\n///// aerospace, transportation, military applications, \n///// and uses which are not specific to web based content\n///// presented on self-illuminated displays or devices.\n/////\n////////////////////////////////////////////////////////////////////////////////\n\n////////// APCA 0.1.9 G 4g USAGE ///////////////////////////////////////////\n///\n/// The API for \"APCA 0.1.9\" is trivially simple.\n/// Send text and background sRGB numeric values to the sRGBtoY() function,\n/// and send the resulting text-Y and background-Y to the APCAcontrast function\n/// it returns a signed float with the numeric Lc contrast result.\n/// \n/// The two inputs are TEXT color and BACKGROUND color in that order.\n/// Each must be a numeric NOT a string, as this simple version has\n/// no string parsing utilities. EXAMPLE:\n/// ________________________________________________________________________\n///\n/// txtColor = colorParsley(0x123456); // color of the text\n/// bgColor = colorParsley(0xabcdef); // color for the background\n///\n/// contrastLc = APCAcontrast( sRGBtoY(txtColor) , sRGBtoY(bgColor) );\n/// ________________________________________________________________________\n///\n/// ********** QUICK START **********\n///\n/// Each color must be a 24bit color (8 bit per channel) as a single integer\n/// (or 0x) sRGB encoded color, i.e. White is either the integer 16777216 or\n/// the hex 0xffffff. A float is returned with a positive or negative value.\n/// Negative values mean light text and a dark background, positive values\n/// mean dark text and a light background. 60.0, or -60.0 is a contrast\n/// \"sort of like\" the old WCAG 2's 4.5:1. NOTE: the total range is now less\n/// than ± 110, so output can be rounded to a signed INT but DO NOT output\n/// an absolute value - light text on dark BG should return a negative number.\n///\n/// ***** IMPORTANT: Do Not Mix Up Text and Background inputs. *****\n/// **************** APCA is polarity sensitive! *****************\n/// \n////////////////////////////////////////////////////////////////////////////////\n\n\n////////////////////////////////////////////////////////////////////////////////\n///////////////////////////////////////////////////////////////////////////////\n///// BEGIN APCA 0.1.9 BLOCK \\/////////////////////////////////////\n//// \\///////////////////////////////////\n/// \\/////////////////////////////////\n// \\///////////////////////////////\n\n\n///// DEPENDENCIES /////\n\n// The following imports are not needed for the main APCA function,\n// but are needed for the shortcut/alias calcAPCA(), and for the\n// future invertAPCA function, which examines hue.\n\n //// (add slash to line start for local test mode, remove before push)\n/* //// LOCAL TESTING SWITCH for using test.html\n import{colorParsley}from'../node_modules/colorparsley/src/colorparsley.js';\n/*/ //// TOGGLE\n import { colorParsley } from 'colorparsley';\n// */ //// END LOCAL TESTING SWITCH\n\n\n///// Module Scope Object Containing Constants /////\n///// APCA 0.0.98G - 4g - W3 Compatible Constants\n\n///// 𝒦 SA98G ///////////////////////////////////\n const SA98G = {\n\n mainTRC: 2.4, // 2.4 exponent for emulating actual monitor perception\n\n // For reverseAPCA\n get mainTRCencode() { return 1 / this.mainTRC },\n\n // sRGB coefficients\n sRco: 0.2126729, \n sGco: 0.7151522, \n sBco: 0.0721750, \n\n // G-4g constants for use with 2.4 exponent\n normBG: 0.56, \n normTXT: 0.57,\n revTXT: 0.62,\n revBG: 0.65,\n\n // G-4g Clamps and Scalers\n blkThrs: 0.022,\n blkClmp: 1.414, \n scaleBoW: 1.14,\n scaleWoB: 1.14,\n loBoWoffset: 0.027,\n loWoBoffset: 0.027,\n deltaYmin: 0.0005,\n loClip: 0.1,\n\n ///// MAGIC NUMBERS for UNCLAMP, for use with 0.022 & 1.414 /////\n // Magic Numbers for reverseAPCA\n mFactor: 1.94685544331710,\n get mFactInv() { return 1 / this.mFactor},\n mOffsetIn: 0.03873938165714010,\n mExpAdj: 0.2833433964208690,\n get mExp() { return this.mExpAdj / this.blkClmp},\n mOffsetOut: 0.3128657958707580,\n }\n\n\n\n\n//////////////////////////////////////////////////////////////////////////////\n////////// APCA CALCULATION FUNCTIONS \\/////////////////////////////////////\n\n////////// ƒ APCAcontrast() ////////////////////////////////////////////\nexport function APCAcontrast (txtY,bgY,places = -1) {\n // send linear Y (luminance) for text and background.\n // txtY and bgY must be between 0.0-1.0\n // IMPORTANT: Do not swap, polarity is important.\n\n const icp = [0.0,1.1]; // input range clamp / input error check\n\n if(isNaN(txtY)||isNaN(bgY)||Math.min(txtY,bgY)icp[1]){\n return 0.0; // return zero on error\n // return 'error'; // optional string return for error\n };\n\n////////// SAPC LOCAL VARS /////////////////////////////////////////\n\n let SAPC = 0.0; // For raw SAPC values\n let outputContrast = 0.0; // For weighted final values\n let polCat = 'BoW'; // Alternate Polarity Indicator. N normal R reverse\n\n // TUTORIAL\n\n // Use Y for text and BG, and soft clamp black,\n // return 0 for very close luminances, determine\n // polarity, and calculate SAPC raw contrast\n // Then scale for easy to remember levels.\n\n // Note that reverse contrast (white text on black)\n // intentionally returns a negative number\n // Proper polarity is important!\n\n////////// BLACK SOFT CLAMP ////////////////////////////////////////\n\n // Soft clamps Y for either color if it is near black.\n txtY = (txtY > SA98G.blkThrs) ? txtY :\n txtY + Math.pow(SA98G.blkThrs - txtY, SA98G.blkClmp);\n bgY = (bgY > SA98G.blkThrs) ? bgY :\n bgY + Math.pow(SA98G.blkThrs - bgY, SA98G.blkClmp);\n\n ///// Return 0 Early for extremely low ∆Y\n if ( Math.abs(bgY - txtY) < SA98G.deltaYmin ) { return 0.0; }\n\n\n////////// APCA/SAPC CONTRAST - LOW CLIP (W3 LICENSE) ///////////////\n\n if ( bgY > txtY ) { // For normal polarity, black text on white (BoW)\n\n // Calculate the SAPC contrast value and scale\n SAPC = ( Math.pow(bgY, SA98G.normBG) - \n Math.pow(txtY, SA98G.normTXT) ) * SA98G.scaleBoW;\n\n // Low Contrast smooth rollout to prevent polarity reversal\n // and also a low-clip for very low contrasts\n outputContrast = (SAPC < SA98G.loClip) ? 0.0 : SAPC - SA98G.loBoWoffset;\n\n } else { // For reverse polarity, light text on dark (WoB)\n // WoB should always return negative value.\n polCat = 'WoB';\n\n SAPC = ( Math.pow(bgY, SA98G.revBG) - \n Math.pow(txtY, SA98G.revTXT) ) * SA98G.scaleWoB;\n\n outputContrast = (SAPC > -SA98G.loClip) ? 0.0 : SAPC + SA98G.loWoBoffset;\n }\n\n // return Lc (lightness contrast) as a signed numeric value \n // Round to the nearest whole number as string is optional.\n // Rounded can be a signed INT as output will be within ± 127 \n // places = -1 returns signed float, 1 or more set that many places\n // 0 returns rounded string, uses BoW or WoB instead of minus sign\n\n if(places < 0 ){ // Default (-1) number out, all others are strings\n return outputContrast * 100.0;\n } else if(places == 0 ){\n return Math.round(Math.abs(outputContrast)*100.0)+''+polCat+'';\n } else if(Number.isInteger(places)){\n return (outputContrast * 100.0).toFixed(places);\n } else { return 0.0 }\n\n} // End APCAcontrast()\n\n\n\n\n/* SWITCH -- WORK IN PROGRESS DO NOT USE\n////////// ƒ invertAPCA() //////////////////////////////////////////////////\nexport function invertAPCA (\n {knownColor: [128,128,128], knownType: 'bg', targetCnst: 75,\n returnAs: 'object', unknownType: 'txt', hueInvert: false,\n hueRange: 5, preserveSat: false }) {\n\n //if (Math.abs(targetCnst) < 15) { return false }; // abs contrast must be > 15\n\n let knownY = sRGBtoY (knownColor);\n let unknownY = knownY, knownExp, unknownExp;\n let min,max,knownLs,isBG = true;\n\n\n if (knownType == 'bg' || knownType == 'background') {\n knownLs = Math.pow(knownY, );\n black = APCAcontrast(0,knownY);\n white = APCAcontrast(1,knownY);\n } else if (knownType == 'txt' || knownType == 'text') {\n isBG = false;\n black = APCAcontrast(knownY,0);\n white = APCAcontrast(knownY,1);\n } else { return false } // return false on error\n\n\n///// APCA 0.0.98G - 4g - W3 Compatible Constants ////////////////////\n\n const scale = contrast > 0 ? SA98G.scaleBoW : SA98G.scaleWoB;\n const offset = contrast > 0 ? SA98G.loBoWoffset : -SA98G.loWoBoffset;\n\n\n targetCnst = ( parseFloat(targetCnst) * 0.01 + offset ) / scale;\n\n // Soft clamps Y if it is near black.\n knownY = (knownY > SA98G.blkThrs) ? knownY :\n knownY + Math.pow(SA98G.blkThrs - knownY, SA98G.blkClmp);\n \n // set the known and unknown exponents\n if (isBG) {\n knownExp = targetCnst > 0 ? SA98G.normBG : SA98G.revBG;\n unknownExp = targetCnst > 0 ? SA98G.normTXT : SA98G.revTXT;\n unknownY = Math.pow( Math.pow(knownY,knownExp) - targetCnst, 1/unknownExp );\n if (isNaN(unknownY)) return false;\n } else if (!isBG) {\n knownExp = targetCnst > 0 ? SA98G.normTXT : SA98G.revTXT;\n unknownExp = targetCnst > 0 ? SA98G.normBG : SA98G.revBG;\n unknownY = Math.pow(targetCnst + Math.pow(knownY,knownExp), 1/unknownExp );\n if (isNaN(unknownY)) return false;\n }\n\n //return contrast +'----'+unknownY;\n\n if (unknownY > 1.06 || unknownY < 0) { return false } // return false on overflow\n // if (unknownY < 0) { return false } // return false on underflow\n //unknownY = Math.max(unknownY,0.0);\n \n // unclamp\n unknownY = (unknownY > SA98G.blkThrs) ? unknownY : \n (Math.pow(((unknownY + SA98G.mOffsetIn)m* SA98G.mFactor),\n SA98G.mExp) * SA98G.mFactInv) - SA98G.mOffsetOut;\n \n// unknownY - 0.22 * Math.pow(unknownY*0.5, 1/blkClmp);\n\n unknownY = Math.max(Math.min(unknownY,1.0),0.0);\n\n let testedCnst = (isBG) ? APCAcontrast(unknownY,knownY) : \n APCAcontrast(knownY,unknownY);\n\n if (returnAs === 'object') {\n let hexB = ( Math.round(Math.pow(unknownY,SA98G.mainTRCencode) * 255)\n ).toString(16).padStart(2,'0');\n hexB = '#' + hexB + hexB + hexB;\n return {color: hexB, Lc: testedCnst, whiteLc: white, blackLc: black};\n } else if (returnAs === 'hex') {\n let hexB = ( Math.round(Math.pow(unknownY,SA98G.mainTRCencode) * 255)\n ).toString(16).padStart(2,'0');\n return '#' + hexB + hexB + hexB;\n } else if (returnAs === 'array') {\n let colorB = Math.round(Math.pow(unknownY,SA98G.mainTRCencode) * 255);\n let retUse = (knownType == 'bg') ? 'txtColor' : 'bgColor'\n return [colorB,colorB,colorB,1,retUse];\n } else if (returnAs === 'Y' || returnAs === 'y') {\n return Math.max(0.0,unknownY);\n } else { return false } // return knownY on error\n}\n// */ // END SWITCH\n\n\n\n\n////////// ƒ reverseAPCA() DEPRECATED SOON ///////////////////////////////\nexport function reverseAPCA (contrast = 0,knownY = 1.0,\n knownType = 'bg',returnAs = 'hex') {\n \n if (Math.abs(contrast) < 9) { return false }; // abs contrast must be > 9\n \n let unknownY = knownY, knownExp, unknownExp;\n \n///// APCA 0.0.98G - 4g - W3 Compatible Constants ////////////////////\n\n const scale = contrast > 0 ? SA98G.scaleBoW : SA98G.scaleWoB;\n const offset = contrast > 0 ? SA98G.loBoWoffset : -SA98G.loWoBoffset;\n\n\n contrast = ( parseFloat(contrast) * 0.01 + offset ) / scale;\n\n // Soft clamps Y if it is near black.\n knownY = (knownY > SA98G.blkThrs) ? knownY :\n knownY + Math.pow(SA98G.blkThrs - knownY, SA98G.blkClmp);\n \n // set the known and unknown exponents\n if (knownType == 'bg' || knownType == 'background') {\n knownExp = contrast > 0 ? SA98G.normBG : SA98G.revBG;\n unknownExp = contrast > 0 ? SA98G.normTXT : SA98G.revTXT;\n unknownY = Math.pow( Math.pow(knownY,knownExp) - contrast, 1/unknownExp );\n if (isNaN(unknownY)) return false;\n } else if (knownType == 'txt' || knownType == 'text') {\n knownExp = contrast > 0 ? SA98G.normTXT : SA98G.revTXT;\n unknownExp = contrast > 0 ? SA98G.normBG : SA98G.revBG;\n unknownY = Math.pow(contrast + Math.pow(knownY,knownExp), 1/unknownExp );\n if (isNaN(unknownY)) return false;\n } else { return false } // return false on error\n\n //return contrast +'----'+unknownY;\n\n if (unknownY > 1.06 || unknownY < 0) { return false } // return false on overflow\n // if (unknownY < 0) { return false } // return false on underflow\n //unknownY = Math.max(unknownY,0.0);\n \n // unclamp\n unknownY = (unknownY > SA98G.blkThrs) ? unknownY : \n (Math.pow(((unknownY + SA98G.mOffsetIn) * SA98G.mFactor),\n SA98G.mExp) * SA98G.mFactInv) - SA98G.mOffsetOut;\n \n// unknownY - 0.22 * Math.pow(unknownY*0.5, 1/blkClmp);\n\n unknownY = Math.max(Math.min(unknownY,1.0),0.0);\n\n if (returnAs === 'hex') {\n let hexB = ( Math.round(Math.pow(unknownY,SA98G.mainTRCencode) * 255)\n ).toString(16).padStart(2,'0');\n\n return '#' + hexB + hexB + hexB;\n } else if (returnAs === 'color') {\n let colorB = Math.round(Math.pow(unknownY,SA98G.mainTRCencode) * 255);\n let retUse = (knownType == 'bg') ? 'txtColor' : 'bgColor'\n return [colorB,colorB,colorB,1,retUse];\n } else if (returnAs === 'Y' || returnAs === 'y') {\n return Math.max(0.0,unknownY);\n } else { return false } // return knownY on error\n}\n\n\n\n\n////////// ƒ calcAPCA() /////////////////////////////////////////////\nexport function calcAPCA (textColor, bgColor, places = -1, round = true) {\n\n // Note that this function requires colorParsley !!\n\tlet bgClr = colorParsley(bgColor);\n\tlet txClr = colorParsley(textColor);\n\tlet hasAlpha = (txClr[3] == '' || txClr[3] == 1) ? false : true ;\n\n\tif (hasAlpha) { txClr = alphaBlend( txClr, bgClr, round); };\n\n\treturn APCAcontrast( sRGBtoY(txClr), sRGBtoY(bgClr), places)\n} // End calcAPCA()\n\n\n\n\n//////////////////////////////////////////////////////////////////////////////\n////////// ƒ fontLookupAPCA() 0.1.7 (G) \\////////////////////////////////\n///////// \\//////////////////////////////\n\nexport function fontLookupAPCA (contrast,places=2) {\n\n////////////////////////////////////////////////////////////////////////////\n///// CONTRAST * FONT WEIGHT & SIZE /////////////////////////////////////\n\n// Font size interpolations. Here the chart was re-ordered to put\n// the main contrast levels each on one line, instead of font size per line.\n// First column is LC value, then each following column is font size by weight\n\n// G G G G G G Public Beta 0.1.7 (G) • MAY 28 2022\n\n// Lc values under 70 should have Lc 15 ADDED if used for body text\n// All font sizes are in px and reference font is Barlow\n\n// 999: prohibited - too low contrast\n// 777: NON TEXT at this minimum weight stroke\n// 666 - this is for spot text, not fluent-Things like copyright or placeholder.\n// 5xx - minimum font at this weight for content, 5xx % 500 for font-size\n// 4xx - minimum font at this weight for any purpose], 4xx % 400 for font-size\n\n// MAIN FONT SIZE LOOKUP\n\n//// ASCENDING SORTED Public Beta 0.1.7 (G) • MAY 28 2022 ////\n\n//// Lc 45 * 0.2 = 9 which is the index for the row for Lc 45\n\n// MAIN FONT LOOKUP May 28 2022 EXPANDED\n// Sorted by Lc Value\n// First row is standard weights 100-900\n// First column is font size in px\n// All other values are the Lc contrast \n// 999 = too low. 777 = non-text and spot text only\n\n\nconst fontMatrixAscend = [\n ['Lc',100,200,300,400,500,600,700,800,900],\n [0,999,999,999,999,999,999,999,999,999],\n [10,999,999,999,999,999,999,999,999,999],\n [15,777,777,777,777,777,777,777,777,777],\n [20,777,777,777,777,777,777,777,777,777],\n [25,777,777,777,120,120,108,96,96,96],\n [30,777,777,120,108,108,96,72,72,72],\n [35,777,120,108,96,72,60,48,48,48],\n [40,120,108,96,60,48,42,32,32,32],\n [45,108,96,72,42,32,28,24,24,24],\n [50,96,72,60,32,28,24,21,21,21],\n [55,80,60,48,28,24,21,18,18,18],\n [60,72,48,42,24,21,18,16,16,18],\n [65,68,46,32,21.75,19,17,15,16,18],\n [70,64,44,28,19.5,18,16,14.5,16,18],\n [75,60,42,24,18,16,15,14,16,18],\n [80,56,38.25,23,17.25,15.81,14.81,14,16,18],\n [85,52,34.5,22,16.5,15.625,14.625,14,16,18],\n [90,48,32,21,16,15.5,14.5,14,16,18],\n [95,45,28,19.5,15.5,15,14,13.5,16,18],\n [100,42,26.5,18.5,15,14.5,13.5,13,16,18],\n [105,39,25,18,14.5,14,13,12,16,18],\n [110,36,24,18,14,13,12,11,16,18],\n [115,34.5,22.5,17.25,12.5,11.875,11.25,10.625,14.5,16.5],\n [120,33,21,16.5,11,10.75,10.5,10.25,13,15],\n [125,32,20,16,10,10,10,10,12,14],\n ];\n\n\n// ASCENDING SORTED Public Beta 0.1.7 (G) • MAY 28 2022 ////\n\n// DELTA - MAIN FONT LOOKUP May 28 2022 EXPANDED\n// EXPANDED Sorted by Lc Value •• DELTA\n// The pre-calculated deltas of the above array\n\nconst fontDeltaAscend = [\n ['∆Lc',100,200,300,400,500,600,700,800,900],\n [0,0,0,0,0,0,0,0,0,0],\n [10,0,0,0,0,0,0,0,0,0],\n [15,0,0,0,0,0,0,0,0,0],\n [20,0,0,0,0,0,0,0,0,0],\n [25,0,0,0,12,12,12,24,24,24],\n [30,0,0,12,12,36,36,24,24,24],\n [35,0,12,12,36,24,18,16,16,16],\n [40,12,12,24,18,16,14,8,8,8],\n [45,12,24,12,10,4,4,3,3,3],\n [50,16,12,12,4,4,3,3,3,3],\n [55,8,12,6,4,3,3,2,2,0],\n [60,4,2,10,2.25,2,1,1,0,0],\n [65,4,2,4,2.25,1,1,0.5,0,0],\n [70,4,2,4,1.5,2,1,0.5,0,0],\n [75,4,3.75,1,0.75,0.188,0.188,0,0,0],\n [80,4,3.75,1,0.75,0.188,0.188,0,0,0],\n [85,4,2.5,1,0.5,0.125,0.125,0,0,0],\n [90,3,4,1.5,0.5,0.5,0.5,0.5,0,0],\n [95,3,1.5,1,0.5,0.5,0.5,0.5,0,0],\n [100,3,1.5,0.5,0.5,0.5,0.5,1,0,0],\n [105,3,1,0,0.5,1,1,1,0,0],\n [110,1.5,1.5,0.75,1.5,1.125,0.75,0.375,1.5,1.5],\n [115,1.5,1.5,0.75,1.5,1.125,0.75,0.375,1.5,1.5],\n [120,1,1,0.5,1,0.75,0.5,0.25,1,1],\n [125,0,0,0,0,0,0,0,0,0],\n ];\n\n // APCA CONTRAST FONT LOOKUP TABLES\n // Copyright © 2022 by Myndex Research and Andrew Somers. All Rights Reserved\n // Public Beta 0.1.7 (G) • MAY 28 2022\n // For the following arrays, the Y axis is contrastArrayLen\n // The two x axis are weightArrayLen and scoreArrayLen\n\n // MAY 28 2022\n\n const weightArray = [0,100,200,300,400,500,600,700,800,900];\n const weightArrayLen = weightArray.length; // X axis\n\n let returnArray = [contrast.toFixed(places),0,0,0,0,0,0,0,0,0,];\n const returnArrayLen = returnArray.length; // X axis\n\n\n const contrastArrayAscend = ['lc',0,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100,105,110,115,120,125,];\n const contrastArrayLenAsc = contrastArrayAscend.length; // Y azis\n\n//// Lc 45 * 0.2 = 9, and 9 is the index for the row for Lc 45\n\n let tempFont = 777;\n contrast = Math.abs(contrast); // Polarity unneeded for LUT\n const factor = 0.2; // 1/5 as LUT is in increments of 5\n const index = (contrast == 0) ?\n 1 : (contrast * factor) | 0 ; // LUT row... n|0 is bw floor\n let w = 0; \n // scoreAdj interpolates the needed font side per the Lc\n let scoreAdj = (contrast - fontMatrixAscend[index][w]) * factor;\n\n w++; // determines column in font matrix LUT\n\n\n///////// Font and Score Interpolation \\/////////////////////////////////\n\n// populate returnArray with interpolated values\n\n for (; w < weightArrayLen; w++) {\n\n tempFont = fontMatrixAscend[index][w]; \n\n if (tempFont > 400) { // declares a specific minimum for the weight.\n returnArray[w] = tempFont;\n } else if (contrast < 14.5 ) {\n returnArray[w] = 999; // 999 = do not use for anything\n } else if (contrast < 29.5 ) {\n returnArray[w] = 777; // 777 = non-text only\n } else {\n // INTERPOLATION OF FONT SIZE\n // sets level for 0.5px size increments of smaller fonts\n // Note bitwise (n|0) instead of floor\n (tempFont > 24) ?\n returnArray[w] =\n Math.round(tempFont - (fontDeltaAscend[index][w] * scoreAdj)) :\n returnArray[w] =\n tempFont - ((2.0 * fontDeltaAscend[index][w] * scoreAdj) | 0) * 0.5;\n // (n|0) is bitwise floor\n }\n }\n///////// End Interpolation ////////////////////////////////////////////\n\n return returnArray\n} // end fontLookupAPCA\n\n/////////\\ ///////////////////////////\\\n//////////\\ END fontLookupAPCA() 0.1.7 (G) /////////////////////////////\\\n/////////////////////////////////////////////////////////////////////////////\\\n\n\n\n\n//////////////////////////////////////////////////////////////////////////////\n////////// LUMINANCE CONVERTERS |//////////////////////////////////////////\n\n\n////////// ƒ sRGBtoY() //////////////////////////////////////////////////\nexport function sRGBtoY (rgb = [0,0,0]) { // send sRGB 8bpc (0xFFFFFF) or string\n\n// NOTE: Currently expects 0-255\n\n///// APCA 0.0.98G - 4g - W3 Compatible Constants ////////////////////\n/*\nconst mainTRC = 2.4; // 2.4 exponent emulates actual monitor perception\n \nconst sRco = 0.2126729, \n sGco = 0.7151522, \n sBco = 0.0721750; // sRGB coefficients\n */\n// Future:\n// 0.2126478133913640\t0.7151791475336150\t0.0721730390750208\n// Derived from:\n// xW\tyW\tK\txR\tyR\txG\tyG\txB\tyB\n// 0.312720\t0.329030\t6504\t0.640\t0.330\t0.300\t0.600\t0.150\t0.060\n\n // linearize r, g, or b then apply coefficients\n // and sum then return the resulting luminance\n\n function simpleExp (chan) { return Math.pow(chan/255.0, SA98G.mainTRC); };\n\n return SA98G.sRco * simpleExp(rgb[0]) +\n SA98G.sGco * simpleExp(rgb[1]) +\n SA98G.sBco * simpleExp(rgb[2]);\n \n} // End sRGBtoY()\n\n\n\n\n////////// ƒ displayP3toY() /////////////////////////////////////////////\nexport function displayP3toY (rgb = [0,0,0]) { // send rgba array\n\n// NOTE: Currently Apple has the tuple as 0.0 to 1.0, NOT 255\n\n///// APCA 0.0.98G - 4g - W3 Compatible Constants ////////////////////\n\nconst mainTRC = 2.4; // 2.4 exponent emulates actual monitor perception\n // Pending evaluation, because, Apple...\n \nconst sRco = 0.2289829594805780, \n sGco = 0.6917492625852380, \n sBco = 0.0792677779341829; // displayP3 coefficients\n\n// Derived from:\n// xW\tyW\tK\txR\tyR\txG\tyG\txB\tyB\n// 0.312720\t0.329030\t6504\t0.680\t0.320\t0.265\t0.690\t0.150\t0.060\n\n // linearize r, g, or b then apply coefficients\n // and sum then return the resulting luminance\n\n function simpleExp (chan) { return Math.pow(chan, mainTRC); };\n\n return sRco * simpleExp(rgb[0]) +\n sGco * simpleExp(rgb[1]) +\n sBco * simpleExp(rgb[2]);\n\n} // End displayP3toY()\n\n\n\n\n////////// ƒ adobeRGBtoY() /////////////////////////////////////////////\nexport function adobeRGBtoY (rgb = [0,0,0]) { // send rgba array\n\n// NOTE: Currently expects 0-255\n\n///// APCA 0.0.98G - 4g - W3 Compatible Constants ////////////////////\n\nconst mainTRC = 2.35; // 2.35 exponent emulates actual monitor perception\n // Pending evaluation...\n \nconst sRco = 0.2973550227113810, \n sGco = 0.6273727497145280, \n sBco = 0.0752722275740913; // adobeRGB coefficients\n\n// Derived from:\n// xW\tyW\tK\txR\tyR\txG\tyG\txB\tyB\n// 0.312720\t0.329030\t6504\t0.640\t0.330\t0.210\t0.710\t0.150\t0.060\n\n // linearize r, g, or b then apply coefficients\n // and sum then return the resulting luminance\n\n function simpleExp (chan) { return Math.pow(chan/255.0, mainTRC); };\n\n return sRco * simpleExp(rgb[0]) +\n sGco * simpleExp(rgb[1]) +\n sBco * simpleExp(rgb[2]);\n\n} // End displayP3toY()\n\n\n\n\n////////////////////////////////////////////////////////////////////////////\n////////// UTILITIES \\///////////////////////////////////////////////////\n\n\n////////// ƒ alphaBlend() /////////////////////////////////////////////\n\n // send rgba array for text/icon, rgb for background.\n // Only foreground allows alpha of 0.0 to 1.0 \n // This blends using gamma encoded space (standard)\n // rounded 0-255 or set round=false for number 0.0-255.0\nexport function alphaBlend (rgbaFG=[0,0,0,1.0], rgbBG=[0,0,0], round = true ) {\n\t\n\trgbaFG[3] = Math.max(Math.min(rgbaFG[3], 1.0), 0.0); // clamp alpha 0-1\n\tlet compBlend = 1.0 - rgbaFG[3];\n\tlet rgbOut = [0,0,0,1,true]; // or just use rgbBG to retain other elements?\n\t\n\tfor (let i=0;i<3;i++) {\n\t\trgbOut[i] = rgbBG[i] * compBlend + rgbaFG[i] * rgbaFG[3];\n\t\tif (round) rgbOut[i] = Math.min(Math.round(rgbOut[i]),255);\n\t};\n return rgbOut;\n} // End alphaBlend()\n\n\n\n\n//\\ ////////////////////////////////////////\n///\\ ////////////////////////////////////////\n////\\ ////////////////////////////////////////\n/////\\ END APCA 0.1.9 G-4g BLOCK ////////////////////////////////////////\n////////////////////////////////////////////////////////////////////////////\n///////////////////////////////////////////////////////////////////////////\n","import Color from 'color';\nimport { calcAPCA } from 'apca-w3';\n\nfunction getAccessibleTextColor(backgroundColor: string) {\n const blackL = Math.abs(calcAPCA('#000', backgroundColor));\n const whiteL = Math.abs(calcAPCA('#fff', backgroundColor));\n return blackL > whiteL ? '#000' : '#fff';\n}\n\nexport default function useColor() {\n const setColors = (primaryColor: string, secondaryColor: string) => {\n const primary = Color(primaryColor);\n const secondary = Color(secondaryColor);\n const docStyle = document.documentElement.style;\n docStyle.setProperty('--el-color-primary', secondary.hex());\n docStyle.setProperty('--primary-color', primary.hex());\n docStyle.setProperty('--primary-color-dark', primary.darken(0.2).hex());\n docStyle.setProperty('--secondary-color', secondary.hex());\n docStyle.setProperty('--secondary-color-dark', secondary.darken(0.2).hex());\n const primaryText = getAccessibleTextColor(primary.hex());\n const secondaryText = getAccessibleTextColor(secondary.hex());\n const primaryDarkText = getAccessibleTextColor(primary.darken(0.2).hex());\n const secondaryDarkText = getAccessibleTextColor(\n secondary.darken(0.2).hex(),\n );\n docStyle.setProperty('--primary-text-color', primaryText);\n docStyle.setProperty('--primary-dark-text-color', primaryDarkText);\n docStyle.setProperty('--secondary-text-color', secondaryText);\n docStyle.setProperty('--secondary-dark-text-color', secondaryDarkText);\n };\n\n return { setColors };\n}\n","import { shallowRef, watchEffect, readonly, ref, watch, customRef, getCurrentScope, onScopeDispose, effectScope, getCurrentInstance, provide, inject, isVue3, version, isRef, unref, computed, reactive, toRefs as toRefs$1, toRef as toRef$1, isVue2, set as set$1, onBeforeMount, nextTick, onBeforeUnmount, onMounted, onUnmounted, isReactive } from 'vue-demi';\n\nfunction computedEager(fn, options) {\n var _a;\n const result = shallowRef();\n watchEffect(() => {\n result.value = fn();\n }, {\n ...options,\n flush: (_a = options == null ? void 0 : options.flush) != null ? _a : \"sync\"\n });\n return readonly(result);\n}\n\nfunction computedWithControl(source, fn) {\n let v = void 0;\n let track;\n let trigger;\n const dirty = ref(true);\n const update = () => {\n dirty.value = true;\n trigger();\n };\n watch(source, update, { flush: \"sync\" });\n const get = typeof fn === \"function\" ? fn : fn.get;\n const set = typeof fn === \"function\" ? void 0 : fn.set;\n const result = customRef((_track, _trigger) => {\n track = _track;\n trigger = _trigger;\n return {\n get() {\n if (dirty.value) {\n v = get();\n dirty.value = false;\n }\n track();\n return v;\n },\n set(v2) {\n set == null ? void 0 : set(v2);\n }\n };\n });\n if (Object.isExtensible(result))\n result.trigger = update;\n return result;\n}\n\nfunction tryOnScopeDispose(fn) {\n if (getCurrentScope()) {\n onScopeDispose(fn);\n return true;\n }\n return false;\n}\n\nfunction createEventHook() {\n const fns = /* @__PURE__ */ new Set();\n const off = (fn) => {\n fns.delete(fn);\n };\n const on = (fn) => {\n fns.add(fn);\n const offFn = () => off(fn);\n tryOnScopeDispose(offFn);\n return {\n off: offFn\n };\n };\n const trigger = (...args) => {\n return Promise.all(Array.from(fns).map((fn) => fn(...args)));\n };\n return {\n on,\n off,\n trigger\n };\n}\n\nfunction createGlobalState(stateFactory) {\n let initialized = false;\n let state;\n const scope = effectScope(true);\n return (...args) => {\n if (!initialized) {\n state = scope.run(() => stateFactory(...args));\n initialized = true;\n }\n return state;\n };\n}\n\nconst localProvidedStateMap = /* @__PURE__ */ new WeakMap();\n\nconst provideLocal = (key, value) => {\n var _a;\n const instance = (_a = getCurrentInstance()) == null ? void 0 : _a.proxy;\n if (instance == null)\n throw new Error(\"provideLocal must be called in setup\");\n if (!localProvidedStateMap.has(instance))\n localProvidedStateMap.set(instance, /* @__PURE__ */ Object.create(null));\n const localProvidedState = localProvidedStateMap.get(instance);\n localProvidedState[key] = value;\n provide(key, value);\n};\n\nconst injectLocal = (...args) => {\n var _a;\n const key = args[0];\n const instance = (_a = getCurrentInstance()) == null ? void 0 : _a.proxy;\n if (instance == null)\n throw new Error(\"injectLocal must be called in setup\");\n if (localProvidedStateMap.has(instance) && key in localProvidedStateMap.get(instance))\n return localProvidedStateMap.get(instance)[key];\n return inject(...args);\n};\n\nfunction createInjectionState(composable, options) {\n const key = (options == null ? void 0 : options.injectionKey) || Symbol(composable.name || \"InjectionState\");\n const defaultValue = options == null ? void 0 : options.defaultValue;\n const useProvidingState = (...args) => {\n const state = composable(...args);\n provideLocal(key, state);\n return state;\n };\n const useInjectedState = () => injectLocal(key, defaultValue);\n return [useProvidingState, useInjectedState];\n}\n\nfunction createSharedComposable(composable) {\n let subscribers = 0;\n let state;\n let scope;\n const dispose = () => {\n subscribers -= 1;\n if (scope && subscribers <= 0) {\n scope.stop();\n state = void 0;\n scope = void 0;\n }\n };\n return (...args) => {\n subscribers += 1;\n if (!state) {\n scope = effectScope(true);\n state = scope.run(() => composable(...args));\n }\n tryOnScopeDispose(dispose);\n return state;\n };\n}\n\nfunction extendRef(ref, extend, { enumerable = false, unwrap = true } = {}) {\n if (!isVue3 && !version.startsWith(\"2.7.\")) {\n if (process.env.NODE_ENV !== \"production\")\n throw new Error(\"[VueUse] extendRef only works in Vue 2.7 or above.\");\n return;\n }\n for (const [key, value] of Object.entries(extend)) {\n if (key === \"value\")\n continue;\n if (isRef(value) && unwrap) {\n Object.defineProperty(ref, key, {\n get() {\n return value.value;\n },\n set(v) {\n value.value = v;\n },\n enumerable\n });\n } else {\n Object.defineProperty(ref, key, { value, enumerable });\n }\n }\n return ref;\n}\n\nfunction get(obj, key) {\n if (key == null)\n return unref(obj);\n return unref(obj)[key];\n}\n\nfunction isDefined(v) {\n return unref(v) != null;\n}\n\nfunction makeDestructurable(obj, arr) {\n if (typeof Symbol !== \"undefined\") {\n const clone = { ...obj };\n Object.defineProperty(clone, Symbol.iterator, {\n enumerable: false,\n value() {\n let index = 0;\n return {\n next: () => ({\n value: arr[index++],\n done: index > arr.length\n })\n };\n }\n });\n return clone;\n } else {\n return Object.assign([...arr], obj);\n }\n}\n\nfunction toValue(r) {\n return typeof r === \"function\" ? r() : unref(r);\n}\nconst resolveUnref = toValue;\n\nfunction reactify(fn, options) {\n const unrefFn = (options == null ? void 0 : options.computedGetter) === false ? unref : toValue;\n return function(...args) {\n return computed(() => fn.apply(this, args.map((i) => unrefFn(i))));\n };\n}\n\nfunction reactifyObject(obj, optionsOrKeys = {}) {\n let keys = [];\n let options;\n if (Array.isArray(optionsOrKeys)) {\n keys = optionsOrKeys;\n } else {\n options = optionsOrKeys;\n const { includeOwnProperties = true } = optionsOrKeys;\n keys.push(...Object.keys(obj));\n if (includeOwnProperties)\n keys.push(...Object.getOwnPropertyNames(obj));\n }\n return Object.fromEntries(\n keys.map((key) => {\n const value = obj[key];\n return [\n key,\n typeof value === \"function\" ? reactify(value.bind(obj), options) : value\n ];\n })\n );\n}\n\nfunction toReactive(objectRef) {\n if (!isRef(objectRef))\n return reactive(objectRef);\n const proxy = new Proxy({}, {\n get(_, p, receiver) {\n return unref(Reflect.get(objectRef.value, p, receiver));\n },\n set(_, p, value) {\n if (isRef(objectRef.value[p]) && !isRef(value))\n objectRef.value[p].value = value;\n else\n objectRef.value[p] = value;\n return true;\n },\n deleteProperty(_, p) {\n return Reflect.deleteProperty(objectRef.value, p);\n },\n has(_, p) {\n return Reflect.has(objectRef.value, p);\n },\n ownKeys() {\n return Object.keys(objectRef.value);\n },\n getOwnPropertyDescriptor() {\n return {\n enumerable: true,\n configurable: true\n };\n }\n });\n return reactive(proxy);\n}\n\nfunction reactiveComputed(fn) {\n return toReactive(computed(fn));\n}\n\nfunction reactiveOmit(obj, ...keys) {\n const flatKeys = keys.flat();\n const predicate = flatKeys[0];\n return reactiveComputed(() => typeof predicate === \"function\" ? Object.fromEntries(Object.entries(toRefs$1(obj)).filter(([k, v]) => !predicate(toValue(v), k))) : Object.fromEntries(Object.entries(toRefs$1(obj)).filter((e) => !flatKeys.includes(e[0]))));\n}\n\nconst isClient = typeof window !== \"undefined\" && typeof document !== \"undefined\";\nconst isWorker = typeof WorkerGlobalScope !== \"undefined\" && globalThis instanceof WorkerGlobalScope;\nconst isDef = (val) => typeof val !== \"undefined\";\nconst notNullish = (val) => val != null;\nconst assert = (condition, ...infos) => {\n if (!condition)\n console.warn(...infos);\n};\nconst toString = Object.prototype.toString;\nconst isObject = (val) => toString.call(val) === \"[object Object]\";\nconst now = () => Date.now();\nconst timestamp = () => +Date.now();\nconst clamp = (n, min, max) => Math.min(max, Math.max(min, n));\nconst noop = () => {\n};\nconst rand = (min, max) => {\n min = Math.ceil(min);\n max = Math.floor(max);\n return Math.floor(Math.random() * (max - min + 1)) + min;\n};\nconst hasOwn = (val, key) => Object.prototype.hasOwnProperty.call(val, key);\nconst isIOS = /* @__PURE__ */ getIsIOS();\nfunction getIsIOS() {\n var _a, _b;\n return isClient && ((_a = window == null ? void 0 : window.navigator) == null ? void 0 : _a.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((_b = window == null ? void 0 : window.navigator) == null ? void 0 : _b.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent));\n}\n\nfunction createFilterWrapper(filter, fn) {\n function wrapper(...args) {\n return new Promise((resolve, reject) => {\n Promise.resolve(filter(() => fn.apply(this, args), { fn, thisArg: this, args })).then(resolve).catch(reject);\n });\n }\n return wrapper;\n}\nconst bypassFilter = (invoke) => {\n return invoke();\n};\nfunction debounceFilter(ms, options = {}) {\n let timer;\n let maxTimer;\n let lastRejector = noop;\n const _clearTimeout = (timer2) => {\n clearTimeout(timer2);\n lastRejector();\n lastRejector = noop;\n };\n const filter = (invoke) => {\n const duration = toValue(ms);\n const maxDuration = toValue(options.maxWait);\n if (timer)\n _clearTimeout(timer);\n if (duration <= 0 || maxDuration !== void 0 && maxDuration <= 0) {\n if (maxTimer) {\n _clearTimeout(maxTimer);\n maxTimer = null;\n }\n return Promise.resolve(invoke());\n }\n return new Promise((resolve, reject) => {\n lastRejector = options.rejectOnCancel ? reject : resolve;\n if (maxDuration && !maxTimer) {\n maxTimer = setTimeout(() => {\n if (timer)\n _clearTimeout(timer);\n maxTimer = null;\n resolve(invoke());\n }, maxDuration);\n }\n timer = setTimeout(() => {\n if (maxTimer)\n _clearTimeout(maxTimer);\n maxTimer = null;\n resolve(invoke());\n }, duration);\n });\n };\n return filter;\n}\nfunction throttleFilter(...args) {\n let lastExec = 0;\n let timer;\n let isLeading = true;\n let lastRejector = noop;\n let lastValue;\n let ms;\n let trailing;\n let leading;\n let rejectOnCancel;\n if (!isRef(args[0]) && typeof args[0] === \"object\")\n ({ delay: ms, trailing = true, leading = true, rejectOnCancel = false } = args[0]);\n else\n [ms, trailing = true, leading = true, rejectOnCancel = false] = args;\n const clear = () => {\n if (timer) {\n clearTimeout(timer);\n timer = void 0;\n lastRejector();\n lastRejector = noop;\n }\n };\n const filter = (_invoke) => {\n const duration = toValue(ms);\n const elapsed = Date.now() - lastExec;\n const invoke = () => {\n return lastValue = _invoke();\n };\n clear();\n if (duration <= 0) {\n lastExec = Date.now();\n return invoke();\n }\n if (elapsed > duration && (leading || !isLeading)) {\n lastExec = Date.now();\n invoke();\n } else if (trailing) {\n lastValue = new Promise((resolve, reject) => {\n lastRejector = rejectOnCancel ? reject : resolve;\n timer = setTimeout(() => {\n lastExec = Date.now();\n isLeading = true;\n resolve(invoke());\n clear();\n }, Math.max(0, duration - elapsed));\n });\n }\n if (!leading && !timer)\n timer = setTimeout(() => isLeading = true, duration);\n isLeading = false;\n return lastValue;\n };\n return filter;\n}\nfunction pausableFilter(extendFilter = bypassFilter) {\n const isActive = ref(true);\n function pause() {\n isActive.value = false;\n }\n function resume() {\n isActive.value = true;\n }\n const eventFilter = (...args) => {\n if (isActive.value)\n extendFilter(...args);\n };\n return { isActive: readonly(isActive), pause, resume, eventFilter };\n}\n\nconst directiveHooks = {\n mounted: isVue3 ? \"mounted\" : \"inserted\",\n updated: isVue3 ? \"updated\" : \"componentUpdated\",\n unmounted: isVue3 ? \"unmounted\" : \"unbind\"\n};\n\nfunction cacheStringFunction(fn) {\n const cache = /* @__PURE__ */ Object.create(null);\n return (str) => {\n const hit = cache[str];\n return hit || (cache[str] = fn(str));\n };\n}\nconst hyphenateRE = /\\B([A-Z])/g;\nconst hyphenate = cacheStringFunction((str) => str.replace(hyphenateRE, \"-$1\").toLowerCase());\nconst camelizeRE = /-(\\w)/g;\nconst camelize = cacheStringFunction((str) => {\n return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : \"\");\n});\n\nfunction promiseTimeout(ms, throwOnTimeout = false, reason = \"Timeout\") {\n return new Promise((resolve, reject) => {\n if (throwOnTimeout)\n setTimeout(() => reject(reason), ms);\n else\n setTimeout(resolve, ms);\n });\n}\nfunction identity(arg) {\n return arg;\n}\nfunction createSingletonPromise(fn) {\n let _promise;\n function wrapper() {\n if (!_promise)\n _promise = fn();\n return _promise;\n }\n wrapper.reset = async () => {\n const _prev = _promise;\n _promise = void 0;\n if (_prev)\n await _prev;\n };\n return wrapper;\n}\nfunction invoke(fn) {\n return fn();\n}\nfunction containsProp(obj, ...props) {\n return props.some((k) => k in obj);\n}\nfunction increaseWithUnit(target, delta) {\n var _a;\n if (typeof target === \"number\")\n return target + delta;\n const value = ((_a = target.match(/^-?\\d+\\.?\\d*/)) == null ? void 0 : _a[0]) || \"\";\n const unit = target.slice(value.length);\n const result = Number.parseFloat(value) + delta;\n if (Number.isNaN(result))\n return target;\n return result + unit;\n}\nfunction objectPick(obj, keys, omitUndefined = false) {\n return keys.reduce((n, k) => {\n if (k in obj) {\n if (!omitUndefined || obj[k] !== void 0)\n n[k] = obj[k];\n }\n return n;\n }, {});\n}\nfunction objectOmit(obj, keys, omitUndefined = false) {\n return Object.fromEntries(Object.entries(obj).filter(([key, value]) => {\n return (!omitUndefined || value !== void 0) && !keys.includes(key);\n }));\n}\nfunction objectEntries(obj) {\n return Object.entries(obj);\n}\nfunction getLifeCycleTarget(target) {\n return target || getCurrentInstance();\n}\n\nfunction toRef(...args) {\n if (args.length !== 1)\n return toRef$1(...args);\n const r = args[0];\n return typeof r === \"function\" ? readonly(customRef(() => ({ get: r, set: noop }))) : ref(r);\n}\nconst resolveRef = toRef;\n\nfunction reactivePick(obj, ...keys) {\n const flatKeys = keys.flat();\n const predicate = flatKeys[0];\n return reactiveComputed(() => typeof predicate === \"function\" ? Object.fromEntries(Object.entries(toRefs$1(obj)).filter(([k, v]) => predicate(toValue(v), k))) : Object.fromEntries(flatKeys.map((k) => [k, toRef(obj, k)])));\n}\n\nfunction refAutoReset(defaultValue, afterMs = 1e4) {\n return customRef((track, trigger) => {\n let value = toValue(defaultValue);\n let timer;\n const resetAfter = () => setTimeout(() => {\n value = toValue(defaultValue);\n trigger();\n }, toValue(afterMs));\n tryOnScopeDispose(() => {\n clearTimeout(timer);\n });\n return {\n get() {\n track();\n return value;\n },\n set(newValue) {\n value = newValue;\n trigger();\n clearTimeout(timer);\n timer = resetAfter();\n }\n };\n });\n}\n\nfunction useDebounceFn(fn, ms = 200, options = {}) {\n return createFilterWrapper(\n debounceFilter(ms, options),\n fn\n );\n}\n\nfunction refDebounced(value, ms = 200, options = {}) {\n const debounced = ref(value.value);\n const updater = useDebounceFn(() => {\n debounced.value = value.value;\n }, ms, options);\n watch(value, () => updater());\n return debounced;\n}\n\nfunction refDefault(source, defaultValue) {\n return computed({\n get() {\n var _a;\n return (_a = source.value) != null ? _a : defaultValue;\n },\n set(value) {\n source.value = value;\n }\n });\n}\n\nfunction useThrottleFn(fn, ms = 200, trailing = false, leading = true, rejectOnCancel = false) {\n return createFilterWrapper(\n throttleFilter(ms, trailing, leading, rejectOnCancel),\n fn\n );\n}\n\nfunction refThrottled(value, delay = 200, trailing = true, leading = true) {\n if (delay <= 0)\n return value;\n const throttled = ref(value.value);\n const updater = useThrottleFn(() => {\n throttled.value = value.value;\n }, delay, trailing, leading);\n watch(value, () => updater());\n return throttled;\n}\n\nfunction refWithControl(initial, options = {}) {\n let source = initial;\n let track;\n let trigger;\n const ref = customRef((_track, _trigger) => {\n track = _track;\n trigger = _trigger;\n return {\n get() {\n return get();\n },\n set(v) {\n set(v);\n }\n };\n });\n function get(tracking = true) {\n if (tracking)\n track();\n return source;\n }\n function set(value, triggering = true) {\n var _a, _b;\n if (value === source)\n return;\n const old = source;\n if (((_a = options.onBeforeChange) == null ? void 0 : _a.call(options, value, old)) === false)\n return;\n source = value;\n (_b = options.onChanged) == null ? void 0 : _b.call(options, value, old);\n if (triggering)\n trigger();\n }\n const untrackedGet = () => get(false);\n const silentSet = (v) => set(v, false);\n const peek = () => get(false);\n const lay = (v) => set(v, false);\n return extendRef(\n ref,\n {\n get,\n set,\n untrackedGet,\n silentSet,\n peek,\n lay\n },\n { enumerable: true }\n );\n}\nconst controlledRef = refWithControl;\n\nfunction set(...args) {\n if (args.length === 2) {\n const [ref, value] = args;\n ref.value = value;\n }\n if (args.length === 3) {\n if (isVue2) {\n set$1(...args);\n } else {\n const [target, key, value] = args;\n target[key] = value;\n }\n }\n}\n\nfunction watchWithFilter(source, cb, options = {}) {\n const {\n eventFilter = bypassFilter,\n ...watchOptions\n } = options;\n return watch(\n source,\n createFilterWrapper(\n eventFilter,\n cb\n ),\n watchOptions\n );\n}\n\nfunction watchPausable(source, cb, options = {}) {\n const {\n eventFilter: filter,\n ...watchOptions\n } = options;\n const { eventFilter, pause, resume, isActive } = pausableFilter(filter);\n const stop = watchWithFilter(\n source,\n cb,\n {\n ...watchOptions,\n eventFilter\n }\n );\n return { stop, pause, resume, isActive };\n}\n\nfunction syncRef(left, right, ...[options]) {\n const {\n flush = \"sync\",\n deep = false,\n immediate = true,\n direction = \"both\",\n transform = {}\n } = options || {};\n const watchers = [];\n const transformLTR = \"ltr\" in transform && transform.ltr || ((v) => v);\n const transformRTL = \"rtl\" in transform && transform.rtl || ((v) => v);\n if (direction === \"both\" || direction === \"ltr\") {\n watchers.push(watchPausable(\n left,\n (newValue) => {\n watchers.forEach((w) => w.pause());\n right.value = transformLTR(newValue);\n watchers.forEach((w) => w.resume());\n },\n { flush, deep, immediate }\n ));\n }\n if (direction === \"both\" || direction === \"rtl\") {\n watchers.push(watchPausable(\n right,\n (newValue) => {\n watchers.forEach((w) => w.pause());\n left.value = transformRTL(newValue);\n watchers.forEach((w) => w.resume());\n },\n { flush, deep, immediate }\n ));\n }\n const stop = () => {\n watchers.forEach((w) => w.stop());\n };\n return stop;\n}\n\nfunction syncRefs(source, targets, options = {}) {\n const {\n flush = \"sync\",\n deep = false,\n immediate = true\n } = options;\n if (!Array.isArray(targets))\n targets = [targets];\n return watch(\n source,\n (newValue) => targets.forEach((target) => target.value = newValue),\n { flush, deep, immediate }\n );\n}\n\nfunction toRefs(objectRef, options = {}) {\n if (!isRef(objectRef))\n return toRefs$1(objectRef);\n const result = Array.isArray(objectRef.value) ? Array.from({ length: objectRef.value.length }) : {};\n for (const key in objectRef.value) {\n result[key] = customRef(() => ({\n get() {\n return objectRef.value[key];\n },\n set(v) {\n var _a;\n const replaceRef = (_a = toValue(options.replaceRef)) != null ? _a : true;\n if (replaceRef) {\n if (Array.isArray(objectRef.value)) {\n const copy = [...objectRef.value];\n copy[key] = v;\n objectRef.value = copy;\n } else {\n const newObject = { ...objectRef.value, [key]: v };\n Object.setPrototypeOf(newObject, Object.getPrototypeOf(objectRef.value));\n objectRef.value = newObject;\n }\n } else {\n objectRef.value[key] = v;\n }\n }\n }));\n }\n return result;\n}\n\nfunction tryOnBeforeMount(fn, sync = true, target) {\n const instance = getLifeCycleTarget(target);\n if (instance)\n onBeforeMount(fn, target);\n else if (sync)\n fn();\n else\n nextTick(fn);\n}\n\nfunction tryOnBeforeUnmount(fn, target) {\n const instance = getLifeCycleTarget(target);\n if (instance)\n onBeforeUnmount(fn, target);\n}\n\nfunction tryOnMounted(fn, sync = true, target) {\n const instance = getLifeCycleTarget();\n if (instance)\n onMounted(fn, target);\n else if (sync)\n fn();\n else\n nextTick(fn);\n}\n\nfunction tryOnUnmounted(fn, target) {\n const instance = getLifeCycleTarget(target);\n if (instance)\n onUnmounted(fn, target);\n}\n\nfunction createUntil(r, isNot = false) {\n function toMatch(condition, { flush = \"sync\", deep = false, timeout, throwOnTimeout } = {}) {\n let stop = null;\n const watcher = new Promise((resolve) => {\n stop = watch(\n r,\n (v) => {\n if (condition(v) !== isNot) {\n stop == null ? void 0 : stop();\n resolve(v);\n }\n },\n {\n flush,\n deep,\n immediate: true\n }\n );\n });\n const promises = [watcher];\n if (timeout != null) {\n promises.push(\n promiseTimeout(timeout, throwOnTimeout).then(() => toValue(r)).finally(() => stop == null ? void 0 : stop())\n );\n }\n return Promise.race(promises);\n }\n function toBe(value, options) {\n if (!isRef(value))\n return toMatch((v) => v === value, options);\n const { flush = \"sync\", deep = false, timeout, throwOnTimeout } = options != null ? options : {};\n let stop = null;\n const watcher = new Promise((resolve) => {\n stop = watch(\n [r, value],\n ([v1, v2]) => {\n if (isNot !== (v1 === v2)) {\n stop == null ? void 0 : stop();\n resolve(v1);\n }\n },\n {\n flush,\n deep,\n immediate: true\n }\n );\n });\n const promises = [watcher];\n if (timeout != null) {\n promises.push(\n promiseTimeout(timeout, throwOnTimeout).then(() => toValue(r)).finally(() => {\n stop == null ? void 0 : stop();\n return toValue(r);\n })\n );\n }\n return Promise.race(promises);\n }\n function toBeTruthy(options) {\n return toMatch((v) => Boolean(v), options);\n }\n function toBeNull(options) {\n return toBe(null, options);\n }\n function toBeUndefined(options) {\n return toBe(void 0, options);\n }\n function toBeNaN(options) {\n return toMatch(Number.isNaN, options);\n }\n function toContains(value, options) {\n return toMatch((v) => {\n const array = Array.from(v);\n return array.includes(value) || array.includes(toValue(value));\n }, options);\n }\n function changed(options) {\n return changedTimes(1, options);\n }\n function changedTimes(n = 1, options) {\n let count = -1;\n return toMatch(() => {\n count += 1;\n return count >= n;\n }, options);\n }\n if (Array.isArray(toValue(r))) {\n const instance = {\n toMatch,\n toContains,\n changed,\n changedTimes,\n get not() {\n return createUntil(r, !isNot);\n }\n };\n return instance;\n } else {\n const instance = {\n toMatch,\n toBe,\n toBeTruthy,\n toBeNull,\n toBeNaN,\n toBeUndefined,\n changed,\n changedTimes,\n get not() {\n return createUntil(r, !isNot);\n }\n };\n return instance;\n }\n}\nfunction until(r) {\n return createUntil(r);\n}\n\nfunction defaultComparator(value, othVal) {\n return value === othVal;\n}\nfunction useArrayDifference(...args) {\n var _a;\n const list = args[0];\n const values = args[1];\n let compareFn = (_a = args[2]) != null ? _a : defaultComparator;\n if (typeof compareFn === \"string\") {\n const key = compareFn;\n compareFn = (value, othVal) => value[key] === othVal[key];\n }\n return computed(() => toValue(list).filter((x) => toValue(values).findIndex((y) => compareFn(x, y)) === -1));\n}\n\nfunction useArrayEvery(list, fn) {\n return computed(() => toValue(list).every((element, index, array) => fn(toValue(element), index, array)));\n}\n\nfunction useArrayFilter(list, fn) {\n return computed(() => toValue(list).map((i) => toValue(i)).filter(fn));\n}\n\nfunction useArrayFind(list, fn) {\n return computed(() => toValue(\n toValue(list).find((element, index, array) => fn(toValue(element), index, array))\n ));\n}\n\nfunction useArrayFindIndex(list, fn) {\n return computed(() => toValue(list).findIndex((element, index, array) => fn(toValue(element), index, array)));\n}\n\nfunction findLast(arr, cb) {\n let index = arr.length;\n while (index-- > 0) {\n if (cb(arr[index], index, arr))\n return arr[index];\n }\n return void 0;\n}\nfunction useArrayFindLast(list, fn) {\n return computed(() => toValue(\n !Array.prototype.findLast ? findLast(toValue(list), (element, index, array) => fn(toValue(element), index, array)) : toValue(list).findLast((element, index, array) => fn(toValue(element), index, array))\n ));\n}\n\nfunction isArrayIncludesOptions(obj) {\n return isObject(obj) && containsProp(obj, \"formIndex\", \"comparator\");\n}\nfunction useArrayIncludes(...args) {\n var _a;\n const list = args[0];\n const value = args[1];\n let comparator = args[2];\n let formIndex = 0;\n if (isArrayIncludesOptions(comparator)) {\n formIndex = (_a = comparator.fromIndex) != null ? _a : 0;\n comparator = comparator.comparator;\n }\n if (typeof comparator === \"string\") {\n const key = comparator;\n comparator = (element, value2) => element[key] === toValue(value2);\n }\n comparator = comparator != null ? comparator : (element, value2) => element === toValue(value2);\n return computed(() => toValue(list).slice(formIndex).some((element, index, array) => comparator(\n toValue(element),\n toValue(value),\n index,\n toValue(array)\n )));\n}\n\nfunction useArrayJoin(list, separator) {\n return computed(() => toValue(list).map((i) => toValue(i)).join(toValue(separator)));\n}\n\nfunction useArrayMap(list, fn) {\n return computed(() => toValue(list).map((i) => toValue(i)).map(fn));\n}\n\nfunction useArrayReduce(list, reducer, ...args) {\n const reduceCallback = (sum, value, index) => reducer(toValue(sum), toValue(value), index);\n return computed(() => {\n const resolved = toValue(list);\n return args.length ? resolved.reduce(reduceCallback, toValue(args[0])) : resolved.reduce(reduceCallback);\n });\n}\n\nfunction useArraySome(list, fn) {\n return computed(() => toValue(list).some((element, index, array) => fn(toValue(element), index, array)));\n}\n\nfunction uniq(array) {\n return Array.from(new Set(array));\n}\nfunction uniqueElementsBy(array, fn) {\n return array.reduce((acc, v) => {\n if (!acc.some((x) => fn(v, x, array)))\n acc.push(v);\n return acc;\n }, []);\n}\nfunction useArrayUnique(list, compareFn) {\n return computed(() => {\n const resolvedList = toValue(list).map((element) => toValue(element));\n return compareFn ? uniqueElementsBy(resolvedList, compareFn) : uniq(resolvedList);\n });\n}\n\nfunction useCounter(initialValue = 0, options = {}) {\n let _initialValue = unref(initialValue);\n const count = ref(initialValue);\n const {\n max = Number.POSITIVE_INFINITY,\n min = Number.NEGATIVE_INFINITY\n } = options;\n const inc = (delta = 1) => count.value = Math.max(Math.min(max, count.value + delta), min);\n const dec = (delta = 1) => count.value = Math.min(Math.max(min, count.value - delta), max);\n const get = () => count.value;\n const set = (val) => count.value = Math.max(min, Math.min(max, val));\n const reset = (val = _initialValue) => {\n _initialValue = val;\n return set(val);\n };\n return { count, inc, dec, get, set, reset };\n}\n\nconst REGEX_PARSE = /^(\\d{4})[-/]?(\\d{1,2})?[-/]?(\\d{0,2})[T\\s]*(\\d{1,2})?:?(\\d{1,2})?:?(\\d{1,2})?[.:]?(\\d+)?$/i;\nconst REGEX_FORMAT = /[YMDHhms]o|\\[([^\\]]+)\\]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|SSS/g;\nfunction defaultMeridiem(hours, minutes, isLowercase, hasPeriod) {\n let m = hours < 12 ? \"AM\" : \"PM\";\n if (hasPeriod)\n m = m.split(\"\").reduce((acc, curr) => acc += `${curr}.`, \"\");\n return isLowercase ? m.toLowerCase() : m;\n}\nfunction formatOrdinal(num) {\n const suffixes = [\"th\", \"st\", \"nd\", \"rd\"];\n const v = num % 100;\n return num + (suffixes[(v - 20) % 10] || suffixes[v] || suffixes[0]);\n}\nfunction formatDate(date, formatStr, options = {}) {\n var _a;\n const years = date.getFullYear();\n const month = date.getMonth();\n const days = date.getDate();\n const hours = date.getHours();\n const minutes = date.getMinutes();\n const seconds = date.getSeconds();\n const milliseconds = date.getMilliseconds();\n const day = date.getDay();\n const meridiem = (_a = options.customMeridiem) != null ? _a : defaultMeridiem;\n const matches = {\n Yo: () => formatOrdinal(years),\n YY: () => String(years).slice(-2),\n YYYY: () => years,\n M: () => month + 1,\n Mo: () => formatOrdinal(month + 1),\n MM: () => `${month + 1}`.padStart(2, \"0\"),\n MMM: () => date.toLocaleDateString(options.locales, { month: \"short\" }),\n MMMM: () => date.toLocaleDateString(options.locales, { month: \"long\" }),\n D: () => String(days),\n Do: () => formatOrdinal(days),\n DD: () => `${days}`.padStart(2, \"0\"),\n H: () => String(hours),\n Ho: () => formatOrdinal(hours),\n HH: () => `${hours}`.padStart(2, \"0\"),\n h: () => `${hours % 12 || 12}`.padStart(1, \"0\"),\n ho: () => formatOrdinal(hours % 12 || 12),\n hh: () => `${hours % 12 || 12}`.padStart(2, \"0\"),\n m: () => String(minutes),\n mo: () => formatOrdinal(minutes),\n mm: () => `${minutes}`.padStart(2, \"0\"),\n s: () => String(seconds),\n so: () => formatOrdinal(seconds),\n ss: () => `${seconds}`.padStart(2, \"0\"),\n SSS: () => `${milliseconds}`.padStart(3, \"0\"),\n d: () => day,\n dd: () => date.toLocaleDateString(options.locales, { weekday: \"narrow\" }),\n ddd: () => date.toLocaleDateString(options.locales, { weekday: \"short\" }),\n dddd: () => date.toLocaleDateString(options.locales, { weekday: \"long\" }),\n A: () => meridiem(hours, minutes),\n AA: () => meridiem(hours, minutes, false, true),\n a: () => meridiem(hours, minutes, true),\n aa: () => meridiem(hours, minutes, true, true)\n };\n return formatStr.replace(REGEX_FORMAT, (match, $1) => {\n var _a2, _b;\n return (_b = $1 != null ? $1 : (_a2 = matches[match]) == null ? void 0 : _a2.call(matches)) != null ? _b : match;\n });\n}\nfunction normalizeDate(date) {\n if (date === null)\n return new Date(Number.NaN);\n if (date === void 0)\n return /* @__PURE__ */ new Date();\n if (date instanceof Date)\n return new Date(date);\n if (typeof date === \"string\" && !/Z$/i.test(date)) {\n const d = date.match(REGEX_PARSE);\n if (d) {\n const m = d[2] - 1 || 0;\n const ms = (d[7] || \"0\").substring(0, 3);\n return new Date(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms);\n }\n }\n return new Date(date);\n}\nfunction useDateFormat(date, formatStr = \"HH:mm:ss\", options = {}) {\n return computed(() => formatDate(normalizeDate(toValue(date)), toValue(formatStr), options));\n}\n\nfunction useIntervalFn(cb, interval = 1e3, options = {}) {\n const {\n immediate = true,\n immediateCallback = false\n } = options;\n let timer = null;\n const isActive = ref(false);\n function clean() {\n if (timer) {\n clearInterval(timer);\n timer = null;\n }\n }\n function pause() {\n isActive.value = false;\n clean();\n }\n function resume() {\n const intervalValue = toValue(interval);\n if (intervalValue <= 0)\n return;\n isActive.value = true;\n if (immediateCallback)\n cb();\n clean();\n timer = setInterval(cb, intervalValue);\n }\n if (immediate && isClient)\n resume();\n if (isRef(interval) || typeof interval === \"function\") {\n const stopWatch = watch(interval, () => {\n if (isActive.value && isClient)\n resume();\n });\n tryOnScopeDispose(stopWatch);\n }\n tryOnScopeDispose(pause);\n return {\n isActive,\n pause,\n resume\n };\n}\n\nfunction useInterval(interval = 1e3, options = {}) {\n const {\n controls: exposeControls = false,\n immediate = true,\n callback\n } = options;\n const counter = ref(0);\n const update = () => counter.value += 1;\n const reset = () => {\n counter.value = 0;\n };\n const controls = useIntervalFn(\n callback ? () => {\n update();\n callback(counter.value);\n } : update,\n interval,\n { immediate }\n );\n if (exposeControls) {\n return {\n counter,\n reset,\n ...controls\n };\n } else {\n return counter;\n }\n}\n\nfunction useLastChanged(source, options = {}) {\n var _a;\n const ms = ref((_a = options.initialValue) != null ? _a : null);\n watch(\n source,\n () => ms.value = timestamp(),\n options\n );\n return ms;\n}\n\nfunction useTimeoutFn(cb, interval, options = {}) {\n const {\n immediate = true\n } = options;\n const isPending = ref(false);\n let timer = null;\n function clear() {\n if (timer) {\n clearTimeout(timer);\n timer = null;\n }\n }\n function stop() {\n isPending.value = false;\n clear();\n }\n function start(...args) {\n clear();\n isPending.value = true;\n timer = setTimeout(() => {\n isPending.value = false;\n timer = null;\n cb(...args);\n }, toValue(interval));\n }\n if (immediate) {\n isPending.value = true;\n if (isClient)\n start();\n }\n tryOnScopeDispose(stop);\n return {\n isPending: readonly(isPending),\n start,\n stop\n };\n}\n\nfunction useTimeout(interval = 1e3, options = {}) {\n const {\n controls: exposeControls = false,\n callback\n } = options;\n const controls = useTimeoutFn(\n callback != null ? callback : noop,\n interval,\n options\n );\n const ready = computed(() => !controls.isPending.value);\n if (exposeControls) {\n return {\n ready,\n ...controls\n };\n } else {\n return ready;\n }\n}\n\nfunction useToNumber(value, options = {}) {\n const {\n method = \"parseFloat\",\n radix,\n nanToZero\n } = options;\n return computed(() => {\n let resolved = toValue(value);\n if (typeof resolved === \"string\")\n resolved = Number[method](resolved, radix);\n if (nanToZero && Number.isNaN(resolved))\n resolved = 0;\n return resolved;\n });\n}\n\nfunction useToString(value) {\n return computed(() => `${toValue(value)}`);\n}\n\nfunction useToggle(initialValue = false, options = {}) {\n const {\n truthyValue = true,\n falsyValue = false\n } = options;\n const valueIsRef = isRef(initialValue);\n const _value = ref(initialValue);\n function toggle(value) {\n if (arguments.length) {\n _value.value = value;\n return _value.value;\n } else {\n const truthy = toValue(truthyValue);\n _value.value = _value.value === truthy ? toValue(falsyValue) : truthy;\n return _value.value;\n }\n }\n if (valueIsRef)\n return toggle;\n else\n return [_value, toggle];\n}\n\nfunction watchArray(source, cb, options) {\n let oldList = (options == null ? void 0 : options.immediate) ? [] : [...source instanceof Function ? source() : Array.isArray(source) ? source : toValue(source)];\n return watch(source, (newList, _, onCleanup) => {\n const oldListRemains = Array.from({ length: oldList.length });\n const added = [];\n for (const obj of newList) {\n let found = false;\n for (let i = 0; i < oldList.length; i++) {\n if (!oldListRemains[i] && obj === oldList[i]) {\n oldListRemains[i] = true;\n found = true;\n break;\n }\n }\n if (!found)\n added.push(obj);\n }\n const removed = oldList.filter((_2, i) => !oldListRemains[i]);\n cb(newList, oldList, added, removed, onCleanup);\n oldList = [...newList];\n }, options);\n}\n\nfunction watchAtMost(source, cb, options) {\n const {\n count,\n ...watchOptions\n } = options;\n const current = ref(0);\n const stop = watchWithFilter(\n source,\n (...args) => {\n current.value += 1;\n if (current.value >= toValue(count))\n nextTick(() => stop());\n cb(...args);\n },\n watchOptions\n );\n return { count: current, stop };\n}\n\nfunction watchDebounced(source, cb, options = {}) {\n const {\n debounce = 0,\n maxWait = void 0,\n ...watchOptions\n } = options;\n return watchWithFilter(\n source,\n cb,\n {\n ...watchOptions,\n eventFilter: debounceFilter(debounce, { maxWait })\n }\n );\n}\n\nfunction watchDeep(source, cb, options) {\n return watch(\n source,\n cb,\n {\n ...options,\n deep: true\n }\n );\n}\n\nfunction watchIgnorable(source, cb, options = {}) {\n const {\n eventFilter = bypassFilter,\n ...watchOptions\n } = options;\n const filteredCb = createFilterWrapper(\n eventFilter,\n cb\n );\n let ignoreUpdates;\n let ignorePrevAsyncUpdates;\n let stop;\n if (watchOptions.flush === \"sync\") {\n const ignore = ref(false);\n ignorePrevAsyncUpdates = () => {\n };\n ignoreUpdates = (updater) => {\n ignore.value = true;\n updater();\n ignore.value = false;\n };\n stop = watch(\n source,\n (...args) => {\n if (!ignore.value)\n filteredCb(...args);\n },\n watchOptions\n );\n } else {\n const disposables = [];\n const ignoreCounter = ref(0);\n const syncCounter = ref(0);\n ignorePrevAsyncUpdates = () => {\n ignoreCounter.value = syncCounter.value;\n };\n disposables.push(\n watch(\n source,\n () => {\n syncCounter.value++;\n },\n { ...watchOptions, flush: \"sync\" }\n )\n );\n ignoreUpdates = (updater) => {\n const syncCounterPrev = syncCounter.value;\n updater();\n ignoreCounter.value += syncCounter.value - syncCounterPrev;\n };\n disposables.push(\n watch(\n source,\n (...args) => {\n const ignore = ignoreCounter.value > 0 && ignoreCounter.value === syncCounter.value;\n ignoreCounter.value = 0;\n syncCounter.value = 0;\n if (ignore)\n return;\n filteredCb(...args);\n },\n watchOptions\n )\n );\n stop = () => {\n disposables.forEach((fn) => fn());\n };\n }\n return { stop, ignoreUpdates, ignorePrevAsyncUpdates };\n}\n\nfunction watchImmediate(source, cb, options) {\n return watch(\n source,\n cb,\n {\n ...options,\n immediate: true\n }\n );\n}\n\nfunction watchOnce(source, cb, options) {\n const stop = watch(source, (...args) => {\n nextTick(() => stop());\n return cb(...args);\n }, options);\n return stop;\n}\n\nfunction watchThrottled(source, cb, options = {}) {\n const {\n throttle = 0,\n trailing = true,\n leading = true,\n ...watchOptions\n } = options;\n return watchWithFilter(\n source,\n cb,\n {\n ...watchOptions,\n eventFilter: throttleFilter(throttle, trailing, leading)\n }\n );\n}\n\nfunction watchTriggerable(source, cb, options = {}) {\n let cleanupFn;\n function onEffect() {\n if (!cleanupFn)\n return;\n const fn = cleanupFn;\n cleanupFn = void 0;\n fn();\n }\n function onCleanup(callback) {\n cleanupFn = callback;\n }\n const _cb = (value, oldValue) => {\n onEffect();\n return cb(value, oldValue, onCleanup);\n };\n const res = watchIgnorable(source, _cb, options);\n const { ignoreUpdates } = res;\n const trigger = () => {\n let res2;\n ignoreUpdates(() => {\n res2 = _cb(getWatchSources(source), getOldValue(source));\n });\n return res2;\n };\n return {\n ...res,\n trigger\n };\n}\nfunction getWatchSources(sources) {\n if (isReactive(sources))\n return sources;\n if (Array.isArray(sources))\n return sources.map((item) => toValue(item));\n return toValue(sources);\n}\nfunction getOldValue(source) {\n return Array.isArray(source) ? source.map(() => void 0) : void 0;\n}\n\nfunction whenever(source, cb, options) {\n const stop = watch(\n source,\n (v, ov, onInvalidate) => {\n if (v) {\n if (options == null ? void 0 : options.once)\n nextTick(() => stop());\n cb(v, ov, onInvalidate);\n }\n },\n {\n ...options,\n once: false\n }\n );\n return stop;\n}\n\nexport { assert, refAutoReset as autoResetRef, bypassFilter, camelize, clamp, computedEager, computedWithControl, containsProp, computedWithControl as controlledComputed, controlledRef, createEventHook, createFilterWrapper, createGlobalState, createInjectionState, reactify as createReactiveFn, createSharedComposable, createSingletonPromise, debounceFilter, refDebounced as debouncedRef, watchDebounced as debouncedWatch, directiveHooks, computedEager as eagerComputed, extendRef, formatDate, get, getLifeCycleTarget, hasOwn, hyphenate, identity, watchIgnorable as ignorableWatch, increaseWithUnit, injectLocal, invoke, isClient, isDef, isDefined, isIOS, isObject, isWorker, makeDestructurable, noop, normalizeDate, notNullish, now, objectEntries, objectOmit, objectPick, pausableFilter, watchPausable as pausableWatch, promiseTimeout, provideLocal, rand, reactify, reactifyObject, reactiveComputed, reactiveOmit, reactivePick, refAutoReset, refDebounced, refDefault, refThrottled, refWithControl, resolveRef, resolveUnref, set, syncRef, syncRefs, throttleFilter, refThrottled as throttledRef, watchThrottled as throttledWatch, timestamp, toReactive, toRef, toRefs, toValue, tryOnBeforeMount, tryOnBeforeUnmount, tryOnMounted, tryOnScopeDispose, tryOnUnmounted, until, useArrayDifference, useArrayEvery, useArrayFilter, useArrayFind, useArrayFindIndex, useArrayFindLast, useArrayIncludes, useArrayJoin, useArrayMap, useArrayReduce, useArraySome, useArrayUnique, useCounter, useDateFormat, refDebounced as useDebounce, useDebounceFn, useInterval, useIntervalFn, useLastChanged, refThrottled as useThrottle, useThrottleFn, useTimeout, useTimeoutFn, useToNumber, useToString, useToggle, watchArray, watchAtMost, watchDebounced, watchDeep, watchIgnorable, watchImmediate, watchOnce, watchPausable, watchThrottled, watchTriggerable, watchWithFilter, whenever };\n","import { noop, makeDestructurable, camelize, toValue, isClient, isObject, tryOnScopeDispose, isIOS, tryOnMounted, notNullish, objectOmit, promiseTimeout, until, increaseWithUnit, objectEntries, createSingletonPromise, useTimeoutFn, pausableWatch, toRef, createEventHook, computedWithControl, timestamp, pausableFilter, watchIgnorable, debounceFilter, createFilterWrapper, bypassFilter, toRefs, useIntervalFn, containsProp, hasOwn, throttleFilter, useDebounceFn, useThrottleFn, clamp, syncRef, objectPick, tryOnUnmounted, watchWithFilter, tryOnBeforeUnmount, identity, isDef, isWorker } from '@vueuse/shared';\nexport * from '@vueuse/shared';\nimport { isRef, ref, shallowRef, watchEffect, computed, inject, isVue3, version, defineComponent, h, TransitionGroup, shallowReactive, Fragment, watch, getCurrentInstance, customRef, onUpdated, onMounted, isVue2, readonly, nextTick, reactive, markRaw, unref, getCurrentScope, set, del, isReadonly, onBeforeUpdate } from 'vue-demi';\n\nfunction computedAsync(evaluationCallback, initialState, optionsOrRef) {\n let options;\n if (isRef(optionsOrRef)) {\n options = {\n evaluating: optionsOrRef\n };\n } else {\n options = optionsOrRef || {};\n }\n const {\n lazy = false,\n evaluating = void 0,\n shallow = true,\n onError = noop\n } = options;\n const started = ref(!lazy);\n const current = shallow ? shallowRef(initialState) : ref(initialState);\n let counter = 0;\n watchEffect(async (onInvalidate) => {\n if (!started.value)\n return;\n counter++;\n const counterAtBeginning = counter;\n let hasFinished = false;\n if (evaluating) {\n Promise.resolve().then(() => {\n evaluating.value = true;\n });\n }\n try {\n const result = await evaluationCallback((cancelCallback) => {\n onInvalidate(() => {\n if (evaluating)\n evaluating.value = false;\n if (!hasFinished)\n cancelCallback();\n });\n });\n if (counterAtBeginning === counter)\n current.value = result;\n } catch (e) {\n onError(e);\n } finally {\n if (evaluating && counterAtBeginning === counter)\n evaluating.value = false;\n hasFinished = true;\n }\n });\n if (lazy) {\n return computed(() => {\n started.value = true;\n return current.value;\n });\n } else {\n return current;\n }\n}\n\nfunction computedInject(key, options, defaultSource, treatDefaultAsFactory) {\n let source = inject(key);\n if (defaultSource)\n source = inject(key, defaultSource);\n if (treatDefaultAsFactory)\n source = inject(key, defaultSource, treatDefaultAsFactory);\n if (typeof options === \"function\") {\n return computed((ctx) => options(source, ctx));\n } else {\n return computed({\n get: (ctx) => options.get(source, ctx),\n set: options.set\n });\n }\n}\n\nfunction createReusableTemplate(options = {}) {\n if (!isVue3 && !version.startsWith(\"2.7.\")) {\n if (process.env.NODE_ENV !== \"production\")\n throw new Error(\"[VueUse] createReusableTemplate only works in Vue 2.7 or above.\");\n return;\n }\n const {\n inheritAttrs = true\n } = options;\n const render = shallowRef();\n const define = /* #__PURE__ */ defineComponent({\n setup(_, { slots }) {\n return () => {\n render.value = slots.default;\n };\n }\n });\n const reuse = /* #__PURE__ */ defineComponent({\n inheritAttrs,\n setup(_, { attrs, slots }) {\n return () => {\n var _a;\n if (!render.value && process.env.NODE_ENV !== \"production\")\n throw new Error(\"[VueUse] Failed to find the definition of reusable template\");\n const vnode = (_a = render.value) == null ? void 0 : _a.call(render, { ...keysToCamelKebabCase(attrs), $slots: slots });\n return inheritAttrs && (vnode == null ? void 0 : vnode.length) === 1 ? vnode[0] : vnode;\n };\n }\n });\n return makeDestructurable(\n { define, reuse },\n [define, reuse]\n );\n}\nfunction keysToCamelKebabCase(obj) {\n const newObj = {};\n for (const key in obj)\n newObj[camelize(key)] = obj[key];\n return newObj;\n}\n\nfunction createTemplatePromise(options = {}) {\n if (!isVue3) {\n if (process.env.NODE_ENV !== \"production\")\n throw new Error(\"[VueUse] createTemplatePromise only works in Vue 3 or above.\");\n return;\n }\n let index = 0;\n const instances = ref([]);\n function create(...args) {\n const props = shallowReactive({\n key: index++,\n args,\n promise: void 0,\n resolve: () => {\n },\n reject: () => {\n },\n isResolving: false,\n options\n });\n instances.value.push(props);\n props.promise = new Promise((_resolve, _reject) => {\n props.resolve = (v) => {\n props.isResolving = true;\n return _resolve(v);\n };\n props.reject = _reject;\n }).finally(() => {\n props.promise = void 0;\n const index2 = instances.value.indexOf(props);\n if (index2 !== -1)\n instances.value.splice(index2, 1);\n });\n return props.promise;\n }\n function start(...args) {\n if (options.singleton && instances.value.length > 0)\n return instances.value[0].promise;\n return create(...args);\n }\n const component = /* #__PURE__ */ defineComponent((_, { slots }) => {\n const renderList = () => instances.value.map((props) => {\n var _a;\n return h(Fragment, { key: props.key }, (_a = slots.default) == null ? void 0 : _a.call(slots, props));\n });\n if (options.transition)\n return () => h(TransitionGroup, options.transition, renderList);\n return renderList;\n });\n component.start = start;\n return component;\n}\n\nfunction createUnrefFn(fn) {\n return function(...args) {\n return fn.apply(this, args.map((i) => toValue(i)));\n };\n}\n\nfunction unrefElement(elRef) {\n var _a;\n const plain = toValue(elRef);\n return (_a = plain == null ? void 0 : plain.$el) != null ? _a : plain;\n}\n\nconst defaultWindow = isClient ? window : void 0;\nconst defaultDocument = isClient ? window.document : void 0;\nconst defaultNavigator = isClient ? window.navigator : void 0;\nconst defaultLocation = isClient ? window.location : void 0;\n\nfunction useEventListener(...args) {\n let target;\n let events;\n let listeners;\n let options;\n if (typeof args[0] === \"string\" || Array.isArray(args[0])) {\n [events, listeners, options] = args;\n target = defaultWindow;\n } else {\n [target, events, listeners, options] = args;\n }\n if (!target)\n return noop;\n if (!Array.isArray(events))\n events = [events];\n if (!Array.isArray(listeners))\n listeners = [listeners];\n const cleanups = [];\n const cleanup = () => {\n cleanups.forEach((fn) => fn());\n cleanups.length = 0;\n };\n const register = (el, event, listener, options2) => {\n el.addEventListener(event, listener, options2);\n return () => el.removeEventListener(event, listener, options2);\n };\n const stopWatch = watch(\n () => [unrefElement(target), toValue(options)],\n ([el, options2]) => {\n cleanup();\n if (!el)\n return;\n const optionsClone = isObject(options2) ? { ...options2 } : options2;\n cleanups.push(\n ...events.flatMap((event) => {\n return listeners.map((listener) => register(el, event, listener, optionsClone));\n })\n );\n },\n { immediate: true, flush: \"post\" }\n );\n const stop = () => {\n stopWatch();\n cleanup();\n };\n tryOnScopeDispose(stop);\n return stop;\n}\n\nlet _iOSWorkaround = false;\nfunction onClickOutside(target, handler, options = {}) {\n const { window = defaultWindow, ignore = [], capture = true, detectIframe = false } = options;\n if (!window)\n return noop;\n if (isIOS && !_iOSWorkaround) {\n _iOSWorkaround = true;\n Array.from(window.document.body.children).forEach((el) => el.addEventListener(\"click\", noop));\n window.document.documentElement.addEventListener(\"click\", noop);\n }\n let shouldListen = true;\n const shouldIgnore = (event) => {\n return ignore.some((target2) => {\n if (typeof target2 === \"string\") {\n return Array.from(window.document.querySelectorAll(target2)).some((el) => el === event.target || event.composedPath().includes(el));\n } else {\n const el = unrefElement(target2);\n return el && (event.target === el || event.composedPath().includes(el));\n }\n });\n };\n const listener = (event) => {\n const el = unrefElement(target);\n if (!el || el === event.target || event.composedPath().includes(el))\n return;\n if (event.detail === 0)\n shouldListen = !shouldIgnore(event);\n if (!shouldListen) {\n shouldListen = true;\n return;\n }\n handler(event);\n };\n const cleanup = [\n useEventListener(window, \"click\", listener, { passive: true, capture }),\n useEventListener(window, \"pointerdown\", (e) => {\n const el = unrefElement(target);\n shouldListen = !shouldIgnore(e) && !!(el && !e.composedPath().includes(el));\n }, { passive: true }),\n detectIframe && useEventListener(window, \"blur\", (event) => {\n setTimeout(() => {\n var _a;\n const el = unrefElement(target);\n if (((_a = window.document.activeElement) == null ? void 0 : _a.tagName) === \"IFRAME\" && !(el == null ? void 0 : el.contains(window.document.activeElement))) {\n handler(event);\n }\n }, 0);\n })\n ].filter(Boolean);\n const stop = () => cleanup.forEach((fn) => fn());\n return stop;\n}\n\nfunction createKeyPredicate(keyFilter) {\n if (typeof keyFilter === \"function\")\n return keyFilter;\n else if (typeof keyFilter === \"string\")\n return (event) => event.key === keyFilter;\n else if (Array.isArray(keyFilter))\n return (event) => keyFilter.includes(event.key);\n return () => true;\n}\nfunction onKeyStroke(...args) {\n let key;\n let handler;\n let options = {};\n if (args.length === 3) {\n key = args[0];\n handler = args[1];\n options = args[2];\n } else if (args.length === 2) {\n if (typeof args[1] === \"object\") {\n key = true;\n handler = args[0];\n options = args[1];\n } else {\n key = args[0];\n handler = args[1];\n }\n } else {\n key = true;\n handler = args[0];\n }\n const {\n target = defaultWindow,\n eventName = \"keydown\",\n passive = false,\n dedupe = false\n } = options;\n const predicate = createKeyPredicate(key);\n const listener = (e) => {\n if (e.repeat && toValue(dedupe))\n return;\n if (predicate(e))\n handler(e);\n };\n return useEventListener(target, eventName, listener, passive);\n}\nfunction onKeyDown(key, handler, options = {}) {\n return onKeyStroke(key, handler, { ...options, eventName: \"keydown\" });\n}\nfunction onKeyPressed(key, handler, options = {}) {\n return onKeyStroke(key, handler, { ...options, eventName: \"keypress\" });\n}\nfunction onKeyUp(key, handler, options = {}) {\n return onKeyStroke(key, handler, { ...options, eventName: \"keyup\" });\n}\n\nconst DEFAULT_DELAY = 500;\nconst DEFAULT_THRESHOLD = 10;\nfunction onLongPress(target, handler, options) {\n var _a, _b;\n const elementRef = computed(() => unrefElement(target));\n let timeout;\n let posStart;\n let startTimestamp;\n let hasLongPressed = false;\n function clear() {\n if (timeout) {\n clearTimeout(timeout);\n timeout = void 0;\n }\n posStart = void 0;\n startTimestamp = void 0;\n hasLongPressed = false;\n }\n function onRelease(ev) {\n var _a2, _b2, _c;\n const [_startTimestamp, _posStart, _hasLongPressed] = [startTimestamp, posStart, hasLongPressed];\n clear();\n if (!(options == null ? void 0 : options.onMouseUp) || !_posStart || !_startTimestamp)\n return;\n if (((_a2 = options == null ? void 0 : options.modifiers) == null ? void 0 : _a2.self) && ev.target !== elementRef.value)\n return;\n if ((_b2 = options == null ? void 0 : options.modifiers) == null ? void 0 : _b2.prevent)\n ev.preventDefault();\n if ((_c = options == null ? void 0 : options.modifiers) == null ? void 0 : _c.stop)\n ev.stopPropagation();\n const dx = ev.x - _posStart.x;\n const dy = ev.y - _posStart.y;\n const distance = Math.sqrt(dx * dx + dy * dy);\n options.onMouseUp(ev.timeStamp - _startTimestamp, distance, _hasLongPressed);\n }\n function onDown(ev) {\n var _a2, _b2, _c, _d;\n if (((_a2 = options == null ? void 0 : options.modifiers) == null ? void 0 : _a2.self) && ev.target !== elementRef.value)\n return;\n clear();\n if ((_b2 = options == null ? void 0 : options.modifiers) == null ? void 0 : _b2.prevent)\n ev.preventDefault();\n if ((_c = options == null ? void 0 : options.modifiers) == null ? void 0 : _c.stop)\n ev.stopPropagation();\n posStart = {\n x: ev.x,\n y: ev.y\n };\n startTimestamp = ev.timeStamp;\n timeout = setTimeout(\n () => {\n hasLongPressed = true;\n handler(ev);\n },\n (_d = options == null ? void 0 : options.delay) != null ? _d : DEFAULT_DELAY\n );\n }\n function onMove(ev) {\n var _a2, _b2, _c, _d;\n if (((_a2 = options == null ? void 0 : options.modifiers) == null ? void 0 : _a2.self) && ev.target !== elementRef.value)\n return;\n if (!posStart || (options == null ? void 0 : options.distanceThreshold) === false)\n return;\n if ((_b2 = options == null ? void 0 : options.modifiers) == null ? void 0 : _b2.prevent)\n ev.preventDefault();\n if ((_c = options == null ? void 0 : options.modifiers) == null ? void 0 : _c.stop)\n ev.stopPropagation();\n const dx = ev.x - posStart.x;\n const dy = ev.y - posStart.y;\n const distance = Math.sqrt(dx * dx + dy * dy);\n if (distance >= ((_d = options == null ? void 0 : options.distanceThreshold) != null ? _d : DEFAULT_THRESHOLD))\n clear();\n }\n const listenerOptions = {\n capture: (_a = options == null ? void 0 : options.modifiers) == null ? void 0 : _a.capture,\n once: (_b = options == null ? void 0 : options.modifiers) == null ? void 0 : _b.once\n };\n const cleanup = [\n useEventListener(elementRef, \"pointerdown\", onDown, listenerOptions),\n useEventListener(elementRef, \"pointermove\", onMove, listenerOptions),\n useEventListener(elementRef, [\"pointerup\", \"pointerleave\"], onRelease, listenerOptions)\n ];\n const stop = () => cleanup.forEach((fn) => fn());\n return stop;\n}\n\nfunction isFocusedElementEditable() {\n const { activeElement, body } = document;\n if (!activeElement)\n return false;\n if (activeElement === body)\n return false;\n switch (activeElement.tagName) {\n case \"INPUT\":\n case \"TEXTAREA\":\n return true;\n }\n return activeElement.hasAttribute(\"contenteditable\");\n}\nfunction isTypedCharValid({\n keyCode,\n metaKey,\n ctrlKey,\n altKey\n}) {\n if (metaKey || ctrlKey || altKey)\n return false;\n if (keyCode >= 48 && keyCode <= 57)\n return true;\n if (keyCode >= 65 && keyCode <= 90)\n return true;\n if (keyCode >= 97 && keyCode <= 122)\n return true;\n return false;\n}\nfunction onStartTyping(callback, options = {}) {\n const { document: document2 = defaultDocument } = options;\n const keydown = (event) => {\n !isFocusedElementEditable() && isTypedCharValid(event) && callback(event);\n };\n if (document2)\n useEventListener(document2, \"keydown\", keydown, { passive: true });\n}\n\nfunction templateRef(key, initialValue = null) {\n const instance = getCurrentInstance();\n let _trigger = () => {\n };\n const element = customRef((track, trigger) => {\n _trigger = trigger;\n return {\n get() {\n var _a, _b;\n track();\n return (_b = (_a = instance == null ? void 0 : instance.proxy) == null ? void 0 : _a.$refs[key]) != null ? _b : initialValue;\n },\n set() {\n }\n };\n });\n tryOnMounted(_trigger);\n onUpdated(_trigger);\n return element;\n}\n\nfunction useMounted() {\n const isMounted = ref(false);\n const instance = getCurrentInstance();\n if (instance) {\n onMounted(() => {\n isMounted.value = true;\n }, isVue2 ? void 0 : instance);\n }\n return isMounted;\n}\n\nfunction useSupported(callback) {\n const isMounted = useMounted();\n return computed(() => {\n isMounted.value;\n return Boolean(callback());\n });\n}\n\nfunction useMutationObserver(target, callback, options = {}) {\n const { window = defaultWindow, ...mutationOptions } = options;\n let observer;\n const isSupported = useSupported(() => window && \"MutationObserver\" in window);\n const cleanup = () => {\n if (observer) {\n observer.disconnect();\n observer = void 0;\n }\n };\n const targets = computed(() => {\n const value = toValue(target);\n const items = (Array.isArray(value) ? value : [value]).map(unrefElement).filter(notNullish);\n return new Set(items);\n });\n const stopWatch = watch(\n () => targets.value,\n (targets2) => {\n cleanup();\n if (isSupported.value && targets2.size) {\n observer = new MutationObserver(callback);\n targets2.forEach((el) => observer.observe(el, mutationOptions));\n }\n },\n { immediate: true, flush: \"post\" }\n );\n const takeRecords = () => {\n return observer == null ? void 0 : observer.takeRecords();\n };\n const stop = () => {\n cleanup();\n stopWatch();\n };\n tryOnScopeDispose(stop);\n return {\n isSupported,\n stop,\n takeRecords\n };\n}\n\nfunction useActiveElement(options = {}) {\n var _a;\n const {\n window = defaultWindow,\n deep = true,\n triggerOnRemoval = false\n } = options;\n const document = (_a = options.document) != null ? _a : window == null ? void 0 : window.document;\n const getDeepActiveElement = () => {\n var _a2;\n let element = document == null ? void 0 : document.activeElement;\n if (deep) {\n while (element == null ? void 0 : element.shadowRoot)\n element = (_a2 = element == null ? void 0 : element.shadowRoot) == null ? void 0 : _a2.activeElement;\n }\n return element;\n };\n const activeElement = ref();\n const trigger = () => {\n activeElement.value = getDeepActiveElement();\n };\n if (window) {\n useEventListener(window, \"blur\", (event) => {\n if (event.relatedTarget !== null)\n return;\n trigger();\n }, true);\n useEventListener(window, \"focus\", trigger, true);\n }\n if (triggerOnRemoval) {\n useMutationObserver(document, (mutations) => {\n mutations.filter((m) => m.removedNodes.length).map((n) => Array.from(n.removedNodes)).flat().forEach((node) => {\n if (node === activeElement.value)\n trigger();\n });\n }, {\n childList: true,\n subtree: true\n });\n }\n trigger();\n return activeElement;\n}\n\nfunction useRafFn(fn, options = {}) {\n const {\n immediate = true,\n fpsLimit = void 0,\n window = defaultWindow\n } = options;\n const isActive = ref(false);\n const intervalLimit = fpsLimit ? 1e3 / fpsLimit : null;\n let previousFrameTimestamp = 0;\n let rafId = null;\n function loop(timestamp) {\n if (!isActive.value || !window)\n return;\n if (!previousFrameTimestamp)\n previousFrameTimestamp = timestamp;\n const delta = timestamp - previousFrameTimestamp;\n if (intervalLimit && delta < intervalLimit) {\n rafId = window.requestAnimationFrame(loop);\n return;\n }\n previousFrameTimestamp = timestamp;\n fn({ delta, timestamp });\n rafId = window.requestAnimationFrame(loop);\n }\n function resume() {\n if (!isActive.value && window) {\n isActive.value = true;\n previousFrameTimestamp = 0;\n rafId = window.requestAnimationFrame(loop);\n }\n }\n function pause() {\n isActive.value = false;\n if (rafId != null && window) {\n window.cancelAnimationFrame(rafId);\n rafId = null;\n }\n }\n if (immediate)\n resume();\n tryOnScopeDispose(pause);\n return {\n isActive: readonly(isActive),\n pause,\n resume\n };\n}\n\nfunction useAnimate(target, keyframes, options) {\n let config;\n let animateOptions;\n if (isObject(options)) {\n config = options;\n animateOptions = objectOmit(options, [\"window\", \"immediate\", \"commitStyles\", \"persist\", \"onReady\", \"onError\"]);\n } else {\n config = { duration: options };\n animateOptions = options;\n }\n const {\n window = defaultWindow,\n immediate = true,\n commitStyles,\n persist,\n playbackRate: _playbackRate = 1,\n onReady,\n onError = (e) => {\n console.error(e);\n }\n } = config;\n const isSupported = useSupported(() => window && HTMLElement && \"animate\" in HTMLElement.prototype);\n const animate = shallowRef(void 0);\n const store = shallowReactive({\n startTime: null,\n currentTime: null,\n timeline: null,\n playbackRate: _playbackRate,\n pending: false,\n playState: immediate ? \"idle\" : \"paused\",\n replaceState: \"active\"\n });\n const pending = computed(() => store.pending);\n const playState = computed(() => store.playState);\n const replaceState = computed(() => store.replaceState);\n const startTime = computed({\n get() {\n return store.startTime;\n },\n set(value) {\n store.startTime = value;\n if (animate.value)\n animate.value.startTime = value;\n }\n });\n const currentTime = computed({\n get() {\n return store.currentTime;\n },\n set(value) {\n store.currentTime = value;\n if (animate.value) {\n animate.value.currentTime = value;\n syncResume();\n }\n }\n });\n const timeline = computed({\n get() {\n return store.timeline;\n },\n set(value) {\n store.timeline = value;\n if (animate.value)\n animate.value.timeline = value;\n }\n });\n const playbackRate = computed({\n get() {\n return store.playbackRate;\n },\n set(value) {\n store.playbackRate = value;\n if (animate.value)\n animate.value.playbackRate = value;\n }\n });\n const play = () => {\n if (animate.value) {\n try {\n animate.value.play();\n syncResume();\n } catch (e) {\n syncPause();\n onError(e);\n }\n } else {\n update();\n }\n };\n const pause = () => {\n var _a;\n try {\n (_a = animate.value) == null ? void 0 : _a.pause();\n syncPause();\n } catch (e) {\n onError(e);\n }\n };\n const reverse = () => {\n var _a;\n !animate.value && update();\n try {\n (_a = animate.value) == null ? void 0 : _a.reverse();\n syncResume();\n } catch (e) {\n syncPause();\n onError(e);\n }\n };\n const finish = () => {\n var _a;\n try {\n (_a = animate.value) == null ? void 0 : _a.finish();\n syncPause();\n } catch (e) {\n onError(e);\n }\n };\n const cancel = () => {\n var _a;\n try {\n (_a = animate.value) == null ? void 0 : _a.cancel();\n syncPause();\n } catch (e) {\n onError(e);\n }\n };\n watch(() => unrefElement(target), (el) => {\n el && update();\n });\n watch(() => keyframes, (value) => {\n !animate.value && update();\n if (!unrefElement(target) && animate.value) {\n animate.value.effect = new KeyframeEffect(\n unrefElement(target),\n toValue(value),\n animateOptions\n );\n }\n }, { deep: true });\n tryOnMounted(() => {\n nextTick(() => update(true));\n });\n tryOnScopeDispose(cancel);\n function update(init) {\n const el = unrefElement(target);\n if (!isSupported.value || !el)\n return;\n if (!animate.value)\n animate.value = el.animate(toValue(keyframes), animateOptions);\n if (persist)\n animate.value.persist();\n if (_playbackRate !== 1)\n animate.value.playbackRate = _playbackRate;\n if (init && !immediate)\n animate.value.pause();\n else\n syncResume();\n onReady == null ? void 0 : onReady(animate.value);\n }\n useEventListener(animate, [\"cancel\", \"finish\", \"remove\"], syncPause);\n useEventListener(animate, \"finish\", () => {\n var _a;\n if (commitStyles)\n (_a = animate.value) == null ? void 0 : _a.commitStyles();\n });\n const { resume: resumeRef, pause: pauseRef } = useRafFn(() => {\n if (!animate.value)\n return;\n store.pending = animate.value.pending;\n store.playState = animate.value.playState;\n store.replaceState = animate.value.replaceState;\n store.startTime = animate.value.startTime;\n store.currentTime = animate.value.currentTime;\n store.timeline = animate.value.timeline;\n store.playbackRate = animate.value.playbackRate;\n }, { immediate: false });\n function syncResume() {\n if (isSupported.value)\n resumeRef();\n }\n function syncPause() {\n if (isSupported.value && window)\n window.requestAnimationFrame(pauseRef);\n }\n return {\n isSupported,\n animate,\n // actions\n play,\n pause,\n reverse,\n finish,\n cancel,\n // state\n pending,\n playState,\n replaceState,\n startTime,\n currentTime,\n timeline,\n playbackRate\n };\n}\n\nfunction useAsyncQueue(tasks, options) {\n const {\n interrupt = true,\n onError = noop,\n onFinished = noop,\n signal\n } = options || {};\n const promiseState = {\n aborted: \"aborted\",\n fulfilled: \"fulfilled\",\n pending: \"pending\",\n rejected: \"rejected\"\n };\n const initialResult = Array.from(Array.from({ length: tasks.length }), () => ({ state: promiseState.pending, data: null }));\n const result = reactive(initialResult);\n const activeIndex = ref(-1);\n if (!tasks || tasks.length === 0) {\n onFinished();\n return {\n activeIndex,\n result\n };\n }\n function updateResult(state, res) {\n activeIndex.value++;\n result[activeIndex.value].data = res;\n result[activeIndex.value].state = state;\n }\n tasks.reduce((prev, curr) => {\n return prev.then((prevRes) => {\n var _a;\n if (signal == null ? void 0 : signal.aborted) {\n updateResult(promiseState.aborted, new Error(\"aborted\"));\n return;\n }\n if (((_a = result[activeIndex.value]) == null ? void 0 : _a.state) === promiseState.rejected && interrupt) {\n onFinished();\n return;\n }\n const done = curr(prevRes).then((currentRes) => {\n updateResult(promiseState.fulfilled, currentRes);\n activeIndex.value === tasks.length - 1 && onFinished();\n return currentRes;\n });\n if (!signal)\n return done;\n return Promise.race([done, whenAborted(signal)]);\n }).catch((e) => {\n if (signal == null ? void 0 : signal.aborted) {\n updateResult(promiseState.aborted, e);\n return e;\n }\n updateResult(promiseState.rejected, e);\n onError();\n return e;\n });\n }, Promise.resolve());\n return {\n activeIndex,\n result\n };\n}\nfunction whenAborted(signal) {\n return new Promise((resolve, reject) => {\n const error = new Error(\"aborted\");\n if (signal.aborted)\n reject(error);\n else\n signal.addEventListener(\"abort\", () => reject(error), { once: true });\n });\n}\n\nfunction useAsyncState(promise, initialState, options) {\n const {\n immediate = true,\n delay = 0,\n onError = noop,\n onSuccess = noop,\n resetOnExecute = true,\n shallow = true,\n throwError\n } = options != null ? options : {};\n const state = shallow ? shallowRef(initialState) : ref(initialState);\n const isReady = ref(false);\n const isLoading = ref(false);\n const error = shallowRef(void 0);\n async function execute(delay2 = 0, ...args) {\n if (resetOnExecute)\n state.value = initialState;\n error.value = void 0;\n isReady.value = false;\n isLoading.value = true;\n if (delay2 > 0)\n await promiseTimeout(delay2);\n const _promise = typeof promise === \"function\" ? promise(...args) : promise;\n try {\n const data = await _promise;\n state.value = data;\n isReady.value = true;\n onSuccess(data);\n } catch (e) {\n error.value = e;\n onError(e);\n if (throwError)\n throw e;\n } finally {\n isLoading.value = false;\n }\n return state.value;\n }\n if (immediate)\n execute(delay);\n const shell = {\n state,\n isReady,\n isLoading,\n error,\n execute\n };\n function waitUntilIsLoaded() {\n return new Promise((resolve, reject) => {\n until(isLoading).toBe(false).then(() => resolve(shell)).catch(reject);\n });\n }\n return {\n ...shell,\n then(onFulfilled, onRejected) {\n return waitUntilIsLoaded().then(onFulfilled, onRejected);\n }\n };\n}\n\nconst defaults = {\n array: (v) => JSON.stringify(v),\n object: (v) => JSON.stringify(v),\n set: (v) => JSON.stringify(Array.from(v)),\n map: (v) => JSON.stringify(Object.fromEntries(v)),\n null: () => \"\"\n};\nfunction getDefaultSerialization(target) {\n if (!target)\n return defaults.null;\n if (target instanceof Map)\n return defaults.map;\n else if (target instanceof Set)\n return defaults.set;\n else if (Array.isArray(target))\n return defaults.array;\n else\n return defaults.object;\n}\n\nfunction useBase64(target, options) {\n const base64 = ref(\"\");\n const promise = ref();\n function execute() {\n if (!isClient)\n return;\n promise.value = new Promise((resolve, reject) => {\n try {\n const _target = toValue(target);\n if (_target == null) {\n resolve(\"\");\n } else if (typeof _target === \"string\") {\n resolve(blobToBase64(new Blob([_target], { type: \"text/plain\" })));\n } else if (_target instanceof Blob) {\n resolve(blobToBase64(_target));\n } else if (_target instanceof ArrayBuffer) {\n resolve(window.btoa(String.fromCharCode(...new Uint8Array(_target))));\n } else if (_target instanceof HTMLCanvasElement) {\n resolve(_target.toDataURL(options == null ? void 0 : options.type, options == null ? void 0 : options.quality));\n } else if (_target instanceof HTMLImageElement) {\n const img = _target.cloneNode(false);\n img.crossOrigin = \"Anonymous\";\n imgLoaded(img).then(() => {\n const canvas = document.createElement(\"canvas\");\n const ctx = canvas.getContext(\"2d\");\n canvas.width = img.width;\n canvas.height = img.height;\n ctx.drawImage(img, 0, 0, canvas.width, canvas.height);\n resolve(canvas.toDataURL(options == null ? void 0 : options.type, options == null ? void 0 : options.quality));\n }).catch(reject);\n } else if (typeof _target === \"object\") {\n const _serializeFn = (options == null ? void 0 : options.serializer) || getDefaultSerialization(_target);\n const serialized = _serializeFn(_target);\n return resolve(blobToBase64(new Blob([serialized], { type: \"application/json\" })));\n } else {\n reject(new Error(\"target is unsupported types\"));\n }\n } catch (error) {\n reject(error);\n }\n });\n promise.value.then((res) => base64.value = res);\n return promise.value;\n }\n if (isRef(target) || typeof target === \"function\")\n watch(target, execute, { immediate: true });\n else\n execute();\n return {\n base64,\n promise,\n execute\n };\n}\nfunction imgLoaded(img) {\n return new Promise((resolve, reject) => {\n if (!img.complete) {\n img.onload = () => {\n resolve();\n };\n img.onerror = reject;\n } else {\n resolve();\n }\n });\n}\nfunction blobToBase64(blob) {\n return new Promise((resolve, reject) => {\n const fr = new FileReader();\n fr.onload = (e) => {\n resolve(e.target.result);\n };\n fr.onerror = reject;\n fr.readAsDataURL(blob);\n });\n}\n\nfunction useBattery(options = {}) {\n const { navigator = defaultNavigator } = options;\n const events = [\"chargingchange\", \"chargingtimechange\", \"dischargingtimechange\", \"levelchange\"];\n const isSupported = useSupported(() => navigator && \"getBattery\" in navigator && typeof navigator.getBattery === \"function\");\n const charging = ref(false);\n const chargingTime = ref(0);\n const dischargingTime = ref(0);\n const level = ref(1);\n let battery;\n function updateBatteryInfo() {\n charging.value = this.charging;\n chargingTime.value = this.chargingTime || 0;\n dischargingTime.value = this.dischargingTime || 0;\n level.value = this.level;\n }\n if (isSupported.value) {\n navigator.getBattery().then((_battery) => {\n battery = _battery;\n updateBatteryInfo.call(battery);\n useEventListener(battery, events, updateBatteryInfo, { passive: true });\n });\n }\n return {\n isSupported,\n charging,\n chargingTime,\n dischargingTime,\n level\n };\n}\n\nfunction useBluetooth(options) {\n let {\n acceptAllDevices = false\n } = options || {};\n const {\n filters = void 0,\n optionalServices = void 0,\n navigator = defaultNavigator\n } = options || {};\n const isSupported = useSupported(() => navigator && \"bluetooth\" in navigator);\n const device = shallowRef(void 0);\n const error = shallowRef(null);\n watch(device, () => {\n connectToBluetoothGATTServer();\n });\n async function requestDevice() {\n if (!isSupported.value)\n return;\n error.value = null;\n if (filters && filters.length > 0)\n acceptAllDevices = false;\n try {\n device.value = await (navigator == null ? void 0 : navigator.bluetooth.requestDevice({\n acceptAllDevices,\n filters,\n optionalServices\n }));\n } catch (err) {\n error.value = err;\n }\n }\n const server = ref();\n const isConnected = computed(() => {\n var _a;\n return ((_a = server.value) == null ? void 0 : _a.connected) || false;\n });\n async function connectToBluetoothGATTServer() {\n error.value = null;\n if (device.value && device.value.gatt) {\n device.value.addEventListener(\"gattserverdisconnected\", () => {\n });\n try {\n server.value = await device.value.gatt.connect();\n } catch (err) {\n error.value = err;\n }\n }\n }\n tryOnMounted(() => {\n var _a;\n if (device.value)\n (_a = device.value.gatt) == null ? void 0 : _a.connect();\n });\n tryOnScopeDispose(() => {\n var _a;\n if (device.value)\n (_a = device.value.gatt) == null ? void 0 : _a.disconnect();\n });\n return {\n isSupported,\n isConnected,\n // Device:\n device,\n requestDevice,\n // Server:\n server,\n // Errors:\n error\n };\n}\n\nfunction useMediaQuery(query, options = {}) {\n const { window = defaultWindow } = options;\n const isSupported = useSupported(() => window && \"matchMedia\" in window && typeof window.matchMedia === \"function\");\n let mediaQuery;\n const matches = ref(false);\n const handler = (event) => {\n matches.value = event.matches;\n };\n const cleanup = () => {\n if (!mediaQuery)\n return;\n if (\"removeEventListener\" in mediaQuery)\n mediaQuery.removeEventListener(\"change\", handler);\n else\n mediaQuery.removeListener(handler);\n };\n const stopWatch = watchEffect(() => {\n if (!isSupported.value)\n return;\n cleanup();\n mediaQuery = window.matchMedia(toValue(query));\n if (\"addEventListener\" in mediaQuery)\n mediaQuery.addEventListener(\"change\", handler);\n else\n mediaQuery.addListener(handler);\n matches.value = mediaQuery.matches;\n });\n tryOnScopeDispose(() => {\n stopWatch();\n cleanup();\n mediaQuery = void 0;\n });\n return matches;\n}\n\nconst breakpointsTailwind = {\n \"sm\": 640,\n \"md\": 768,\n \"lg\": 1024,\n \"xl\": 1280,\n \"2xl\": 1536\n};\nconst breakpointsBootstrapV5 = {\n xs: 0,\n sm: 576,\n md: 768,\n lg: 992,\n xl: 1200,\n xxl: 1400\n};\nconst breakpointsVuetifyV2 = {\n xs: 0,\n sm: 600,\n md: 960,\n lg: 1264,\n xl: 1904\n};\nconst breakpointsVuetifyV3 = {\n xs: 0,\n sm: 600,\n md: 960,\n lg: 1280,\n xl: 1920,\n xxl: 2560\n};\nconst breakpointsVuetify = breakpointsVuetifyV2;\nconst breakpointsAntDesign = {\n xs: 480,\n sm: 576,\n md: 768,\n lg: 992,\n xl: 1200,\n xxl: 1600\n};\nconst breakpointsQuasar = {\n xs: 0,\n sm: 600,\n md: 1024,\n lg: 1440,\n xl: 1920\n};\nconst breakpointsSematic = {\n mobileS: 320,\n mobileM: 375,\n mobileL: 425,\n tablet: 768,\n laptop: 1024,\n laptopL: 1440,\n desktop4K: 2560\n};\nconst breakpointsMasterCss = {\n \"3xs\": 360,\n \"2xs\": 480,\n \"xs\": 600,\n \"sm\": 768,\n \"md\": 1024,\n \"lg\": 1280,\n \"xl\": 1440,\n \"2xl\": 1600,\n \"3xl\": 1920,\n \"4xl\": 2560\n};\nconst breakpointsPrimeFlex = {\n sm: 576,\n md: 768,\n lg: 992,\n xl: 1200\n};\n\nfunction useBreakpoints(breakpoints, options = {}) {\n function getValue(k, delta) {\n let v = toValue(breakpoints[toValue(k)]);\n if (delta != null)\n v = increaseWithUnit(v, delta);\n if (typeof v === \"number\")\n v = `${v}px`;\n return v;\n }\n const { window = defaultWindow, strategy = \"min-width\" } = options;\n function match(query) {\n if (!window)\n return false;\n return window.matchMedia(query).matches;\n }\n const greaterOrEqual = (k) => {\n return useMediaQuery(() => `(min-width: ${getValue(k)})`, options);\n };\n const smallerOrEqual = (k) => {\n return useMediaQuery(() => `(max-width: ${getValue(k)})`, options);\n };\n const shortcutMethods = Object.keys(breakpoints).reduce((shortcuts, k) => {\n Object.defineProperty(shortcuts, k, {\n get: () => strategy === \"min-width\" ? greaterOrEqual(k) : smallerOrEqual(k),\n enumerable: true,\n configurable: true\n });\n return shortcuts;\n }, {});\n function current() {\n const points = Object.keys(breakpoints).map((i) => [i, greaterOrEqual(i)]);\n return computed(() => points.filter(([, v]) => v.value).map(([k]) => k));\n }\n return Object.assign(shortcutMethods, {\n greaterOrEqual,\n smallerOrEqual,\n greater(k) {\n return useMediaQuery(() => `(min-width: ${getValue(k, 0.1)})`, options);\n },\n smaller(k) {\n return useMediaQuery(() => `(max-width: ${getValue(k, -0.1)})`, options);\n },\n between(a, b) {\n return useMediaQuery(() => `(min-width: ${getValue(a)}) and (max-width: ${getValue(b, -0.1)})`, options);\n },\n isGreater(k) {\n return match(`(min-width: ${getValue(k, 0.1)})`);\n },\n isGreaterOrEqual(k) {\n return match(`(min-width: ${getValue(k)})`);\n },\n isSmaller(k) {\n return match(`(max-width: ${getValue(k, -0.1)})`);\n },\n isSmallerOrEqual(k) {\n return match(`(max-width: ${getValue(k)})`);\n },\n isInBetween(a, b) {\n return match(`(min-width: ${getValue(a)}) and (max-width: ${getValue(b, -0.1)})`);\n },\n current,\n active() {\n const bps = current();\n return computed(() => bps.value.length === 0 ? \"\" : bps.value.at(-1));\n }\n });\n}\n\nfunction useBroadcastChannel(options) {\n const {\n name,\n window = defaultWindow\n } = options;\n const isSupported = useSupported(() => window && \"BroadcastChannel\" in window);\n const isClosed = ref(false);\n const channel = ref();\n const data = ref();\n const error = shallowRef(null);\n const post = (data2) => {\n if (channel.value)\n channel.value.postMessage(data2);\n };\n const close = () => {\n if (channel.value)\n channel.value.close();\n isClosed.value = true;\n };\n if (isSupported.value) {\n tryOnMounted(() => {\n error.value = null;\n channel.value = new BroadcastChannel(name);\n channel.value.addEventListener(\"message\", (e) => {\n data.value = e.data;\n }, { passive: true });\n channel.value.addEventListener(\"messageerror\", (e) => {\n error.value = e;\n }, { passive: true });\n channel.value.addEventListener(\"close\", () => {\n isClosed.value = true;\n });\n });\n }\n tryOnScopeDispose(() => {\n close();\n });\n return {\n isSupported,\n channel,\n data,\n post,\n close,\n error,\n isClosed\n };\n}\n\nconst WRITABLE_PROPERTIES = [\n \"hash\",\n \"host\",\n \"hostname\",\n \"href\",\n \"pathname\",\n \"port\",\n \"protocol\",\n \"search\"\n];\nfunction useBrowserLocation(options = {}) {\n const { window = defaultWindow } = options;\n const refs = Object.fromEntries(\n WRITABLE_PROPERTIES.map((key) => [key, ref()])\n );\n for (const [key, ref2] of objectEntries(refs)) {\n watch(ref2, (value) => {\n if (!(window == null ? void 0 : window.location) || window.location[key] === value)\n return;\n window.location[key] = value;\n });\n }\n const buildState = (trigger) => {\n var _a;\n const { state: state2, length } = (window == null ? void 0 : window.history) || {};\n const { origin } = (window == null ? void 0 : window.location) || {};\n for (const key of WRITABLE_PROPERTIES)\n refs[key].value = (_a = window == null ? void 0 : window.location) == null ? void 0 : _a[key];\n return reactive({\n trigger,\n state: state2,\n length,\n origin,\n ...refs\n });\n };\n const state = ref(buildState(\"load\"));\n if (window) {\n useEventListener(window, \"popstate\", () => state.value = buildState(\"popstate\"), { passive: true });\n useEventListener(window, \"hashchange\", () => state.value = buildState(\"hashchange\"), { passive: true });\n }\n return state;\n}\n\nfunction useCached(refValue, comparator = (a, b) => a === b, watchOptions) {\n const cachedValue = ref(refValue.value);\n watch(() => refValue.value, (value) => {\n if (!comparator(value, cachedValue.value))\n cachedValue.value = value;\n }, watchOptions);\n return cachedValue;\n}\n\nfunction usePermission(permissionDesc, options = {}) {\n const {\n controls = false,\n navigator = defaultNavigator\n } = options;\n const isSupported = useSupported(() => navigator && \"permissions\" in navigator);\n let permissionStatus;\n const desc = typeof permissionDesc === \"string\" ? { name: permissionDesc } : permissionDesc;\n const state = ref();\n const onChange = () => {\n if (permissionStatus)\n state.value = permissionStatus.state;\n };\n const query = createSingletonPromise(async () => {\n if (!isSupported.value)\n return;\n if (!permissionStatus) {\n try {\n permissionStatus = await navigator.permissions.query(desc);\n useEventListener(permissionStatus, \"change\", onChange);\n onChange();\n } catch (e) {\n state.value = \"prompt\";\n }\n }\n return permissionStatus;\n });\n query();\n if (controls) {\n return {\n state,\n isSupported,\n query\n };\n } else {\n return state;\n }\n}\n\nfunction useClipboard(options = {}) {\n const {\n navigator = defaultNavigator,\n read = false,\n source,\n copiedDuring = 1500,\n legacy = false\n } = options;\n const isClipboardApiSupported = useSupported(() => navigator && \"clipboard\" in navigator);\n const permissionRead = usePermission(\"clipboard-read\");\n const permissionWrite = usePermission(\"clipboard-write\");\n const isSupported = computed(() => isClipboardApiSupported.value || legacy);\n const text = ref(\"\");\n const copied = ref(false);\n const timeout = useTimeoutFn(() => copied.value = false, copiedDuring);\n function updateText() {\n if (isClipboardApiSupported.value && isAllowed(permissionRead.value)) {\n navigator.clipboard.readText().then((value) => {\n text.value = value;\n });\n } else {\n text.value = legacyRead();\n }\n }\n if (isSupported.value && read)\n useEventListener([\"copy\", \"cut\"], updateText);\n async function copy(value = toValue(source)) {\n if (isSupported.value && value != null) {\n if (isClipboardApiSupported.value && isAllowed(permissionWrite.value))\n await navigator.clipboard.writeText(value);\n else\n legacyCopy(value);\n text.value = value;\n copied.value = true;\n timeout.start();\n }\n }\n function legacyCopy(value) {\n const ta = document.createElement(\"textarea\");\n ta.value = value != null ? value : \"\";\n ta.style.position = \"absolute\";\n ta.style.opacity = \"0\";\n document.body.appendChild(ta);\n ta.select();\n document.execCommand(\"copy\");\n ta.remove();\n }\n function legacyRead() {\n var _a, _b, _c;\n return (_c = (_b = (_a = document == null ? void 0 : document.getSelection) == null ? void 0 : _a.call(document)) == null ? void 0 : _b.toString()) != null ? _c : \"\";\n }\n function isAllowed(status) {\n return status === \"granted\" || status === \"prompt\";\n }\n return {\n isSupported,\n text,\n copied,\n copy\n };\n}\n\nfunction useClipboardItems(options = {}) {\n const {\n navigator = defaultNavigator,\n read = false,\n source,\n copiedDuring = 1500\n } = options;\n const isSupported = useSupported(() => navigator && \"clipboard\" in navigator);\n const content = ref([]);\n const copied = ref(false);\n const timeout = useTimeoutFn(() => copied.value = false, copiedDuring);\n function updateContent() {\n if (isSupported.value) {\n navigator.clipboard.read().then((items) => {\n content.value = items;\n });\n }\n }\n if (isSupported.value && read)\n useEventListener([\"copy\", \"cut\"], updateContent);\n async function copy(value = toValue(source)) {\n if (isSupported.value && value != null) {\n await navigator.clipboard.write(value);\n content.value = value;\n copied.value = true;\n timeout.start();\n }\n }\n return {\n isSupported,\n content,\n copied,\n copy\n };\n}\n\nfunction cloneFnJSON(source) {\n return JSON.parse(JSON.stringify(source));\n}\nfunction useCloned(source, options = {}) {\n const cloned = ref({});\n const {\n manual,\n clone = cloneFnJSON,\n // watch options\n deep = true,\n immediate = true\n } = options;\n function sync() {\n cloned.value = clone(toValue(source));\n }\n if (!manual && (isRef(source) || typeof source === \"function\")) {\n watch(source, sync, {\n ...options,\n deep,\n immediate\n });\n } else {\n sync();\n }\n return { cloned, sync };\n}\n\nconst _global = typeof globalThis !== \"undefined\" ? globalThis : typeof window !== \"undefined\" ? window : typeof global !== \"undefined\" ? global : typeof self !== \"undefined\" ? self : {};\nconst globalKey = \"__vueuse_ssr_handlers__\";\nconst handlers = /* @__PURE__ */ getHandlers();\nfunction getHandlers() {\n if (!(globalKey in _global))\n _global[globalKey] = _global[globalKey] || {};\n return _global[globalKey];\n}\nfunction getSSRHandler(key, fallback) {\n return handlers[key] || fallback;\n}\nfunction setSSRHandler(key, fn) {\n handlers[key] = fn;\n}\n\nfunction guessSerializerType(rawInit) {\n return rawInit == null ? \"any\" : rawInit instanceof Set ? \"set\" : rawInit instanceof Map ? \"map\" : rawInit instanceof Date ? \"date\" : typeof rawInit === \"boolean\" ? \"boolean\" : typeof rawInit === \"string\" ? \"string\" : typeof rawInit === \"object\" ? \"object\" : !Number.isNaN(rawInit) ? \"number\" : \"any\";\n}\n\nconst StorageSerializers = {\n boolean: {\n read: (v) => v === \"true\",\n write: (v) => String(v)\n },\n object: {\n read: (v) => JSON.parse(v),\n write: (v) => JSON.stringify(v)\n },\n number: {\n read: (v) => Number.parseFloat(v),\n write: (v) => String(v)\n },\n any: {\n read: (v) => v,\n write: (v) => String(v)\n },\n string: {\n read: (v) => v,\n write: (v) => String(v)\n },\n map: {\n read: (v) => new Map(JSON.parse(v)),\n write: (v) => JSON.stringify(Array.from(v.entries()))\n },\n set: {\n read: (v) => new Set(JSON.parse(v)),\n write: (v) => JSON.stringify(Array.from(v))\n },\n date: {\n read: (v) => new Date(v),\n write: (v) => v.toISOString()\n }\n};\nconst customStorageEventName = \"vueuse-storage\";\nfunction useStorage(key, defaults, storage, options = {}) {\n var _a;\n const {\n flush = \"pre\",\n deep = true,\n listenToStorageChanges = true,\n writeDefaults = true,\n mergeDefaults = false,\n shallow,\n window = defaultWindow,\n eventFilter,\n onError = (e) => {\n console.error(e);\n },\n initOnMounted\n } = options;\n const data = (shallow ? shallowRef : ref)(typeof defaults === \"function\" ? defaults() : defaults);\n if (!storage) {\n try {\n storage = getSSRHandler(\"getDefaultStorage\", () => {\n var _a2;\n return (_a2 = defaultWindow) == null ? void 0 : _a2.localStorage;\n })();\n } catch (e) {\n onError(e);\n }\n }\n if (!storage)\n return data;\n const rawInit = toValue(defaults);\n const type = guessSerializerType(rawInit);\n const serializer = (_a = options.serializer) != null ? _a : StorageSerializers[type];\n const { pause: pauseWatch, resume: resumeWatch } = pausableWatch(\n data,\n () => write(data.value),\n { flush, deep, eventFilter }\n );\n if (window && listenToStorageChanges) {\n tryOnMounted(() => {\n useEventListener(window, \"storage\", update);\n useEventListener(window, customStorageEventName, updateFromCustomEvent);\n if (initOnMounted)\n update();\n });\n }\n if (!initOnMounted)\n update();\n function dispatchWriteEvent(oldValue, newValue) {\n if (window) {\n window.dispatchEvent(new CustomEvent(customStorageEventName, {\n detail: {\n key,\n oldValue,\n newValue,\n storageArea: storage\n }\n }));\n }\n }\n function write(v) {\n try {\n const oldValue = storage.getItem(key);\n if (v == null) {\n dispatchWriteEvent(oldValue, null);\n storage.removeItem(key);\n } else {\n const serialized = serializer.write(v);\n if (oldValue !== serialized) {\n storage.setItem(key, serialized);\n dispatchWriteEvent(oldValue, serialized);\n }\n }\n } catch (e) {\n onError(e);\n }\n }\n function read(event) {\n const rawValue = event ? event.newValue : storage.getItem(key);\n if (rawValue == null) {\n if (writeDefaults && rawInit != null)\n storage.setItem(key, serializer.write(rawInit));\n return rawInit;\n } else if (!event && mergeDefaults) {\n const value = serializer.read(rawValue);\n if (typeof mergeDefaults === \"function\")\n return mergeDefaults(value, rawInit);\n else if (type === \"object\" && !Array.isArray(value))\n return { ...rawInit, ...value };\n return value;\n } else if (typeof rawValue !== \"string\") {\n return rawValue;\n } else {\n return serializer.read(rawValue);\n }\n }\n function update(event) {\n if (event && event.storageArea !== storage)\n return;\n if (event && event.key == null) {\n data.value = rawInit;\n return;\n }\n if (event && event.key !== key)\n return;\n pauseWatch();\n try {\n if ((event == null ? void 0 : event.newValue) !== serializer.write(data.value))\n data.value = read(event);\n } catch (e) {\n onError(e);\n } finally {\n if (event)\n nextTick(resumeWatch);\n else\n resumeWatch();\n }\n }\n function updateFromCustomEvent(event) {\n update(event.detail);\n }\n return data;\n}\n\nfunction usePreferredDark(options) {\n return useMediaQuery(\"(prefers-color-scheme: dark)\", options);\n}\n\nfunction useColorMode(options = {}) {\n const {\n selector = \"html\",\n attribute = \"class\",\n initialValue = \"auto\",\n window = defaultWindow,\n storage,\n storageKey = \"vueuse-color-scheme\",\n listenToStorageChanges = true,\n storageRef,\n emitAuto,\n disableTransition = true\n } = options;\n const modes = {\n auto: \"\",\n light: \"light\",\n dark: \"dark\",\n ...options.modes || {}\n };\n const preferredDark = usePreferredDark({ window });\n const system = computed(() => preferredDark.value ? \"dark\" : \"light\");\n const store = storageRef || (storageKey == null ? toRef(initialValue) : useStorage(storageKey, initialValue, storage, { window, listenToStorageChanges }));\n const state = computed(() => store.value === \"auto\" ? system.value : store.value);\n const updateHTMLAttrs = getSSRHandler(\n \"updateHTMLAttrs\",\n (selector2, attribute2, value) => {\n const el = typeof selector2 === \"string\" ? window == null ? void 0 : window.document.querySelector(selector2) : unrefElement(selector2);\n if (!el)\n return;\n let style;\n if (disableTransition) {\n style = window.document.createElement(\"style\");\n const styleString = \"*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}\";\n style.appendChild(document.createTextNode(styleString));\n window.document.head.appendChild(style);\n }\n if (attribute2 === \"class\") {\n const current = value.split(/\\s/g);\n Object.values(modes).flatMap((i) => (i || \"\").split(/\\s/g)).filter(Boolean).forEach((v) => {\n if (current.includes(v))\n el.classList.add(v);\n else\n el.classList.remove(v);\n });\n } else {\n el.setAttribute(attribute2, value);\n }\n if (disableTransition) {\n window.getComputedStyle(style).opacity;\n document.head.removeChild(style);\n }\n }\n );\n function defaultOnChanged(mode) {\n var _a;\n updateHTMLAttrs(selector, attribute, (_a = modes[mode]) != null ? _a : mode);\n }\n function onChanged(mode) {\n if (options.onChanged)\n options.onChanged(mode, defaultOnChanged);\n else\n defaultOnChanged(mode);\n }\n watch(state, onChanged, { flush: \"post\", immediate: true });\n tryOnMounted(() => onChanged(state.value));\n const auto = computed({\n get() {\n return emitAuto ? store.value : state.value;\n },\n set(v) {\n store.value = v;\n }\n });\n try {\n return Object.assign(auto, { store, system, state });\n } catch (e) {\n return auto;\n }\n}\n\nfunction useConfirmDialog(revealed = ref(false)) {\n const confirmHook = createEventHook();\n const cancelHook = createEventHook();\n const revealHook = createEventHook();\n let _resolve = noop;\n const reveal = (data) => {\n revealHook.trigger(data);\n revealed.value = true;\n return new Promise((resolve) => {\n _resolve = resolve;\n });\n };\n const confirm = (data) => {\n revealed.value = false;\n confirmHook.trigger(data);\n _resolve({ data, isCanceled: false });\n };\n const cancel = (data) => {\n revealed.value = false;\n cancelHook.trigger(data);\n _resolve({ data, isCanceled: true });\n };\n return {\n isRevealed: computed(() => revealed.value),\n reveal,\n confirm,\n cancel,\n onReveal: revealHook.on,\n onConfirm: confirmHook.on,\n onCancel: cancelHook.on\n };\n}\n\nfunction useCssVar(prop, target, options = {}) {\n const { window = defaultWindow, initialValue = \"\", observe = false } = options;\n const variable = ref(initialValue);\n const elRef = computed(() => {\n var _a;\n return unrefElement(target) || ((_a = window == null ? void 0 : window.document) == null ? void 0 : _a.documentElement);\n });\n function updateCssVar() {\n var _a;\n const key = toValue(prop);\n const el = toValue(elRef);\n if (el && window) {\n const value = (_a = window.getComputedStyle(el).getPropertyValue(key)) == null ? void 0 : _a.trim();\n variable.value = value || initialValue;\n }\n }\n if (observe) {\n useMutationObserver(elRef, updateCssVar, {\n attributeFilter: [\"style\", \"class\"],\n window\n });\n }\n watch(\n [elRef, () => toValue(prop)],\n updateCssVar,\n { immediate: true }\n );\n watch(\n variable,\n (val) => {\n var _a;\n if ((_a = elRef.value) == null ? void 0 : _a.style)\n elRef.value.style.setProperty(toValue(prop), val);\n }\n );\n return variable;\n}\n\nfunction useCurrentElement(rootComponent) {\n const vm = getCurrentInstance();\n const currentElement = computedWithControl(\n () => null,\n () => rootComponent ? unrefElement(rootComponent) : vm.proxy.$el\n );\n onUpdated(currentElement.trigger);\n onMounted(currentElement.trigger);\n return currentElement;\n}\n\nfunction useCycleList(list, options) {\n const state = shallowRef(getInitialValue());\n const listRef = toRef(list);\n const index = computed({\n get() {\n var _a;\n const targetList = listRef.value;\n let index2 = (options == null ? void 0 : options.getIndexOf) ? options.getIndexOf(state.value, targetList) : targetList.indexOf(state.value);\n if (index2 < 0)\n index2 = (_a = options == null ? void 0 : options.fallbackIndex) != null ? _a : 0;\n return index2;\n },\n set(v) {\n set(v);\n }\n });\n function set(i) {\n const targetList = listRef.value;\n const length = targetList.length;\n const index2 = (i % length + length) % length;\n const value = targetList[index2];\n state.value = value;\n return value;\n }\n function shift(delta = 1) {\n return set(index.value + delta);\n }\n function next(n = 1) {\n return shift(n);\n }\n function prev(n = 1) {\n return shift(-n);\n }\n function getInitialValue() {\n var _a, _b;\n return (_b = toValue((_a = options == null ? void 0 : options.initialValue) != null ? _a : toValue(list)[0])) != null ? _b : void 0;\n }\n watch(listRef, () => set(index.value));\n return {\n state,\n index,\n next,\n prev,\n go: set\n };\n}\n\nfunction useDark(options = {}) {\n const {\n valueDark = \"dark\",\n valueLight = \"\",\n window = defaultWindow\n } = options;\n const mode = useColorMode({\n ...options,\n onChanged: (mode2, defaultHandler) => {\n var _a;\n if (options.onChanged)\n (_a = options.onChanged) == null ? void 0 : _a.call(options, mode2 === \"dark\", defaultHandler, mode2);\n else\n defaultHandler(mode2);\n },\n modes: {\n dark: valueDark,\n light: valueLight\n }\n });\n const system = computed(() => {\n if (mode.system) {\n return mode.system.value;\n } else {\n const preferredDark = usePreferredDark({ window });\n return preferredDark.value ? \"dark\" : \"light\";\n }\n });\n const isDark = computed({\n get() {\n return mode.value === \"dark\";\n },\n set(v) {\n const modeVal = v ? \"dark\" : \"light\";\n if (system.value === modeVal)\n mode.value = \"auto\";\n else\n mode.value = modeVal;\n }\n });\n return isDark;\n}\n\nfunction fnBypass(v) {\n return v;\n}\nfunction fnSetSource(source, value) {\n return source.value = value;\n}\nfunction defaultDump(clone) {\n return clone ? typeof clone === \"function\" ? clone : cloneFnJSON : fnBypass;\n}\nfunction defaultParse(clone) {\n return clone ? typeof clone === \"function\" ? clone : cloneFnJSON : fnBypass;\n}\nfunction useManualRefHistory(source, options = {}) {\n const {\n clone = false,\n dump = defaultDump(clone),\n parse = defaultParse(clone),\n setSource = fnSetSource\n } = options;\n function _createHistoryRecord() {\n return markRaw({\n snapshot: dump(source.value),\n timestamp: timestamp()\n });\n }\n const last = ref(_createHistoryRecord());\n const undoStack = ref([]);\n const redoStack = ref([]);\n const _setSource = (record) => {\n setSource(source, parse(record.snapshot));\n last.value = record;\n };\n const commit = () => {\n undoStack.value.unshift(last.value);\n last.value = _createHistoryRecord();\n if (options.capacity && undoStack.value.length > options.capacity)\n undoStack.value.splice(options.capacity, Number.POSITIVE_INFINITY);\n if (redoStack.value.length)\n redoStack.value.splice(0, redoStack.value.length);\n };\n const clear = () => {\n undoStack.value.splice(0, undoStack.value.length);\n redoStack.value.splice(0, redoStack.value.length);\n };\n const undo = () => {\n const state = undoStack.value.shift();\n if (state) {\n redoStack.value.unshift(last.value);\n _setSource(state);\n }\n };\n const redo = () => {\n const state = redoStack.value.shift();\n if (state) {\n undoStack.value.unshift(last.value);\n _setSource(state);\n }\n };\n const reset = () => {\n _setSource(last.value);\n };\n const history = computed(() => [last.value, ...undoStack.value]);\n const canUndo = computed(() => undoStack.value.length > 0);\n const canRedo = computed(() => redoStack.value.length > 0);\n return {\n source,\n undoStack,\n redoStack,\n last,\n history,\n canUndo,\n canRedo,\n clear,\n commit,\n reset,\n undo,\n redo\n };\n}\n\nfunction useRefHistory(source, options = {}) {\n const {\n deep = false,\n flush = \"pre\",\n eventFilter\n } = options;\n const {\n eventFilter: composedFilter,\n pause,\n resume: resumeTracking,\n isActive: isTracking\n } = pausableFilter(eventFilter);\n const {\n ignoreUpdates,\n ignorePrevAsyncUpdates,\n stop\n } = watchIgnorable(\n source,\n commit,\n { deep, flush, eventFilter: composedFilter }\n );\n function setSource(source2, value) {\n ignorePrevAsyncUpdates();\n ignoreUpdates(() => {\n source2.value = value;\n });\n }\n const manualHistory = useManualRefHistory(source, { ...options, clone: options.clone || deep, setSource });\n const { clear, commit: manualCommit } = manualHistory;\n function commit() {\n ignorePrevAsyncUpdates();\n manualCommit();\n }\n function resume(commitNow) {\n resumeTracking();\n if (commitNow)\n commit();\n }\n function batch(fn) {\n let canceled = false;\n const cancel = () => canceled = true;\n ignoreUpdates(() => {\n fn(cancel);\n });\n if (!canceled)\n commit();\n }\n function dispose() {\n stop();\n clear();\n }\n return {\n ...manualHistory,\n isTracking,\n pause,\n resume,\n commit,\n batch,\n dispose\n };\n}\n\nfunction useDebouncedRefHistory(source, options = {}) {\n const filter = options.debounce ? debounceFilter(options.debounce) : void 0;\n const history = useRefHistory(source, { ...options, eventFilter: filter });\n return {\n ...history\n };\n}\n\nfunction useDeviceMotion(options = {}) {\n const {\n window = defaultWindow,\n eventFilter = bypassFilter\n } = options;\n const acceleration = ref({ x: null, y: null, z: null });\n const rotationRate = ref({ alpha: null, beta: null, gamma: null });\n const interval = ref(0);\n const accelerationIncludingGravity = ref({\n x: null,\n y: null,\n z: null\n });\n if (window) {\n const onDeviceMotion = createFilterWrapper(\n eventFilter,\n (event) => {\n acceleration.value = event.acceleration;\n accelerationIncludingGravity.value = event.accelerationIncludingGravity;\n rotationRate.value = event.rotationRate;\n interval.value = event.interval;\n }\n );\n useEventListener(window, \"devicemotion\", onDeviceMotion);\n }\n return {\n acceleration,\n accelerationIncludingGravity,\n rotationRate,\n interval\n };\n}\n\nfunction useDeviceOrientation(options = {}) {\n const { window = defaultWindow } = options;\n const isSupported = useSupported(() => window && \"DeviceOrientationEvent\" in window);\n const isAbsolute = ref(false);\n const alpha = ref(null);\n const beta = ref(null);\n const gamma = ref(null);\n if (window && isSupported.value) {\n useEventListener(window, \"deviceorientation\", (event) => {\n isAbsolute.value = event.absolute;\n alpha.value = event.alpha;\n beta.value = event.beta;\n gamma.value = event.gamma;\n });\n }\n return {\n isSupported,\n isAbsolute,\n alpha,\n beta,\n gamma\n };\n}\n\nfunction useDevicePixelRatio(options = {}) {\n const {\n window = defaultWindow\n } = options;\n const pixelRatio = ref(1);\n if (window) {\n let observe2 = function() {\n pixelRatio.value = window.devicePixelRatio;\n cleanup2();\n media = window.matchMedia(`(resolution: ${pixelRatio.value}dppx)`);\n media.addEventListener(\"change\", observe2, { once: true });\n }, cleanup2 = function() {\n media == null ? void 0 : media.removeEventListener(\"change\", observe2);\n };\n let media;\n observe2();\n tryOnScopeDispose(cleanup2);\n }\n return { pixelRatio };\n}\n\nfunction useDevicesList(options = {}) {\n const {\n navigator = defaultNavigator,\n requestPermissions = false,\n constraints = { audio: true, video: true },\n onUpdated\n } = options;\n const devices = ref([]);\n const videoInputs = computed(() => devices.value.filter((i) => i.kind === \"videoinput\"));\n const audioInputs = computed(() => devices.value.filter((i) => i.kind === \"audioinput\"));\n const audioOutputs = computed(() => devices.value.filter((i) => i.kind === \"audiooutput\"));\n const isSupported = useSupported(() => navigator && navigator.mediaDevices && navigator.mediaDevices.enumerateDevices);\n const permissionGranted = ref(false);\n let stream;\n async function update() {\n if (!isSupported.value)\n return;\n devices.value = await navigator.mediaDevices.enumerateDevices();\n onUpdated == null ? void 0 : onUpdated(devices.value);\n if (stream) {\n stream.getTracks().forEach((t) => t.stop());\n stream = null;\n }\n }\n async function ensurePermissions() {\n if (!isSupported.value)\n return false;\n if (permissionGranted.value)\n return true;\n const { state, query } = usePermission(\"camera\", { controls: true });\n await query();\n if (state.value !== \"granted\") {\n stream = await navigator.mediaDevices.getUserMedia(constraints);\n update();\n permissionGranted.value = true;\n } else {\n permissionGranted.value = true;\n }\n return permissionGranted.value;\n }\n if (isSupported.value) {\n if (requestPermissions)\n ensurePermissions();\n useEventListener(navigator.mediaDevices, \"devicechange\", update);\n update();\n }\n return {\n devices,\n ensurePermissions,\n permissionGranted,\n videoInputs,\n audioInputs,\n audioOutputs,\n isSupported\n };\n}\n\nfunction useDisplayMedia(options = {}) {\n var _a;\n const enabled = ref((_a = options.enabled) != null ? _a : false);\n const video = options.video;\n const audio = options.audio;\n const { navigator = defaultNavigator } = options;\n const isSupported = useSupported(() => {\n var _a2;\n return (_a2 = navigator == null ? void 0 : navigator.mediaDevices) == null ? void 0 : _a2.getDisplayMedia;\n });\n const constraint = { audio, video };\n const stream = shallowRef();\n async function _start() {\n var _a2;\n if (!isSupported.value || stream.value)\n return;\n stream.value = await navigator.mediaDevices.getDisplayMedia(constraint);\n (_a2 = stream.value) == null ? void 0 : _a2.getTracks().forEach((t) => t.addEventListener(\"ended\", stop));\n return stream.value;\n }\n async function _stop() {\n var _a2;\n (_a2 = stream.value) == null ? void 0 : _a2.getTracks().forEach((t) => t.stop());\n stream.value = void 0;\n }\n function stop() {\n _stop();\n enabled.value = false;\n }\n async function start() {\n await _start();\n if (stream.value)\n enabled.value = true;\n return stream.value;\n }\n watch(\n enabled,\n (v) => {\n if (v)\n _start();\n else\n _stop();\n },\n { immediate: true }\n );\n return {\n isSupported,\n stream,\n start,\n stop,\n enabled\n };\n}\n\nfunction useDocumentVisibility(options = {}) {\n const { document = defaultDocument } = options;\n if (!document)\n return ref(\"visible\");\n const visibility = ref(document.visibilityState);\n useEventListener(document, \"visibilitychange\", () => {\n visibility.value = document.visibilityState;\n });\n return visibility;\n}\n\nfunction useDraggable(target, options = {}) {\n var _a, _b;\n const {\n pointerTypes,\n preventDefault,\n stopPropagation,\n exact,\n onMove,\n onEnd,\n onStart,\n initialValue,\n axis = \"both\",\n draggingElement = defaultWindow,\n containerElement,\n handle: draggingHandle = target\n } = options;\n const position = ref(\n (_a = toValue(initialValue)) != null ? _a : { x: 0, y: 0 }\n );\n const pressedDelta = ref();\n const filterEvent = (e) => {\n if (pointerTypes)\n return pointerTypes.includes(e.pointerType);\n return true;\n };\n const handleEvent = (e) => {\n if (toValue(preventDefault))\n e.preventDefault();\n if (toValue(stopPropagation))\n e.stopPropagation();\n };\n const start = (e) => {\n var _a2;\n if (e.button !== 0)\n return;\n if (toValue(options.disabled) || !filterEvent(e))\n return;\n if (toValue(exact) && e.target !== toValue(target))\n return;\n const container = toValue(containerElement);\n const containerRect = (_a2 = container == null ? void 0 : container.getBoundingClientRect) == null ? void 0 : _a2.call(container);\n const targetRect = toValue(target).getBoundingClientRect();\n const pos = {\n x: e.clientX - (container ? targetRect.left - containerRect.left + container.scrollLeft : targetRect.left),\n y: e.clientY - (container ? targetRect.top - containerRect.top + container.scrollTop : targetRect.top)\n };\n if ((onStart == null ? void 0 : onStart(pos, e)) === false)\n return;\n pressedDelta.value = pos;\n handleEvent(e);\n };\n const move = (e) => {\n if (toValue(options.disabled) || !filterEvent(e))\n return;\n if (!pressedDelta.value)\n return;\n const container = toValue(containerElement);\n const targetRect = toValue(target).getBoundingClientRect();\n let { x, y } = position.value;\n if (axis === \"x\" || axis === \"both\") {\n x = e.clientX - pressedDelta.value.x;\n if (container)\n x = Math.min(Math.max(0, x), container.scrollWidth - targetRect.width);\n }\n if (axis === \"y\" || axis === \"both\") {\n y = e.clientY - pressedDelta.value.y;\n if (container)\n y = Math.min(Math.max(0, y), container.scrollHeight - targetRect.height);\n }\n position.value = {\n x,\n y\n };\n onMove == null ? void 0 : onMove(position.value, e);\n handleEvent(e);\n };\n const end = (e) => {\n if (toValue(options.disabled) || !filterEvent(e))\n return;\n if (!pressedDelta.value)\n return;\n pressedDelta.value = void 0;\n onEnd == null ? void 0 : onEnd(position.value, e);\n handleEvent(e);\n };\n if (isClient) {\n const config = { capture: (_b = options.capture) != null ? _b : true };\n useEventListener(draggingHandle, \"pointerdown\", start, config);\n useEventListener(draggingElement, \"pointermove\", move, config);\n useEventListener(draggingElement, \"pointerup\", end, config);\n }\n return {\n ...toRefs(position),\n position,\n isDragging: computed(() => !!pressedDelta.value),\n style: computed(\n () => `left:${position.value.x}px;top:${position.value.y}px;`\n )\n };\n}\n\nfunction useDropZone(target, options = {}) {\n const isOverDropZone = ref(false);\n const files = shallowRef(null);\n let counter = 0;\n let isDataTypeIncluded = true;\n if (isClient) {\n const _options = typeof options === \"function\" ? { onDrop: options } : options;\n const getFiles = (event) => {\n var _a, _b;\n const list = Array.from((_b = (_a = event.dataTransfer) == null ? void 0 : _a.files) != null ? _b : []);\n return files.value = list.length === 0 ? null : list;\n };\n useEventListener(target, \"dragenter\", (event) => {\n var _a, _b;\n const types = Array.from(((_a = event == null ? void 0 : event.dataTransfer) == null ? void 0 : _a.items) || []).map((i) => i.kind === \"file\" ? i.type : null).filter(notNullish);\n if (_options.dataTypes && event.dataTransfer) {\n const dataTypes = unref(_options.dataTypes);\n isDataTypeIncluded = typeof dataTypes === \"function\" ? dataTypes(types) : dataTypes ? dataTypes.some((item) => types.includes(item)) : true;\n if (!isDataTypeIncluded)\n return;\n }\n event.preventDefault();\n counter += 1;\n isOverDropZone.value = true;\n (_b = _options.onEnter) == null ? void 0 : _b.call(_options, getFiles(event), event);\n });\n useEventListener(target, \"dragover\", (event) => {\n var _a;\n if (!isDataTypeIncluded)\n return;\n event.preventDefault();\n (_a = _options.onOver) == null ? void 0 : _a.call(_options, getFiles(event), event);\n });\n useEventListener(target, \"dragleave\", (event) => {\n var _a;\n if (!isDataTypeIncluded)\n return;\n event.preventDefault();\n counter -= 1;\n if (counter === 0)\n isOverDropZone.value = false;\n (_a = _options.onLeave) == null ? void 0 : _a.call(_options, getFiles(event), event);\n });\n useEventListener(target, \"drop\", (event) => {\n var _a;\n event.preventDefault();\n counter = 0;\n isOverDropZone.value = false;\n (_a = _options.onDrop) == null ? void 0 : _a.call(_options, getFiles(event), event);\n });\n }\n return {\n files,\n isOverDropZone\n };\n}\n\nfunction useResizeObserver(target, callback, options = {}) {\n const { window = defaultWindow, ...observerOptions } = options;\n let observer;\n const isSupported = useSupported(() => window && \"ResizeObserver\" in window);\n const cleanup = () => {\n if (observer) {\n observer.disconnect();\n observer = void 0;\n }\n };\n const targets = computed(() => Array.isArray(target) ? target.map((el) => unrefElement(el)) : [unrefElement(target)]);\n const stopWatch = watch(\n targets,\n (els) => {\n cleanup();\n if (isSupported.value && window) {\n observer = new ResizeObserver(callback);\n for (const _el of els)\n _el && observer.observe(_el, observerOptions);\n }\n },\n { immediate: true, flush: \"post\" }\n );\n const stop = () => {\n cleanup();\n stopWatch();\n };\n tryOnScopeDispose(stop);\n return {\n isSupported,\n stop\n };\n}\n\nfunction useElementBounding(target, options = {}) {\n const {\n reset = true,\n windowResize = true,\n windowScroll = true,\n immediate = true\n } = options;\n const height = ref(0);\n const bottom = ref(0);\n const left = ref(0);\n const right = ref(0);\n const top = ref(0);\n const width = ref(0);\n const x = ref(0);\n const y = ref(0);\n function update() {\n const el = unrefElement(target);\n if (!el) {\n if (reset) {\n height.value = 0;\n bottom.value = 0;\n left.value = 0;\n right.value = 0;\n top.value = 0;\n width.value = 0;\n x.value = 0;\n y.value = 0;\n }\n return;\n }\n const rect = el.getBoundingClientRect();\n height.value = rect.height;\n bottom.value = rect.bottom;\n left.value = rect.left;\n right.value = rect.right;\n top.value = rect.top;\n width.value = rect.width;\n x.value = rect.x;\n y.value = rect.y;\n }\n useResizeObserver(target, update);\n watch(() => unrefElement(target), (ele) => !ele && update());\n useMutationObserver(target, update, {\n attributeFilter: [\"style\", \"class\"]\n });\n if (windowScroll)\n useEventListener(\"scroll\", update, { capture: true, passive: true });\n if (windowResize)\n useEventListener(\"resize\", update, { passive: true });\n tryOnMounted(() => {\n if (immediate)\n update();\n });\n return {\n height,\n bottom,\n left,\n right,\n top,\n width,\n x,\n y,\n update\n };\n}\n\nfunction useElementByPoint(options) {\n const {\n x,\n y,\n document = defaultDocument,\n multiple,\n interval = \"requestAnimationFrame\",\n immediate = true\n } = options;\n const isSupported = useSupported(() => {\n if (toValue(multiple))\n return document && \"elementsFromPoint\" in document;\n return document && \"elementFromPoint\" in document;\n });\n const element = ref(null);\n const cb = () => {\n var _a, _b;\n element.value = toValue(multiple) ? (_a = document == null ? void 0 : document.elementsFromPoint(toValue(x), toValue(y))) != null ? _a : [] : (_b = document == null ? void 0 : document.elementFromPoint(toValue(x), toValue(y))) != null ? _b : null;\n };\n const controls = interval === \"requestAnimationFrame\" ? useRafFn(cb, { immediate }) : useIntervalFn(cb, interval, { immediate });\n return {\n isSupported,\n element,\n ...controls\n };\n}\n\nfunction useElementHover(el, options = {}) {\n const {\n delayEnter = 0,\n delayLeave = 0,\n window = defaultWindow\n } = options;\n const isHovered = ref(false);\n let timer;\n const toggle = (entering) => {\n const delay = entering ? delayEnter : delayLeave;\n if (timer) {\n clearTimeout(timer);\n timer = void 0;\n }\n if (delay)\n timer = setTimeout(() => isHovered.value = entering, delay);\n else\n isHovered.value = entering;\n };\n if (!window)\n return isHovered;\n useEventListener(el, \"mouseenter\", () => toggle(true), { passive: true });\n useEventListener(el, \"mouseleave\", () => toggle(false), { passive: true });\n return isHovered;\n}\n\nfunction useElementSize(target, initialSize = { width: 0, height: 0 }, options = {}) {\n const { window = defaultWindow, box = \"content-box\" } = options;\n const isSVG = computed(() => {\n var _a, _b;\n return (_b = (_a = unrefElement(target)) == null ? void 0 : _a.namespaceURI) == null ? void 0 : _b.includes(\"svg\");\n });\n const width = ref(initialSize.width);\n const height = ref(initialSize.height);\n const { stop: stop1 } = useResizeObserver(\n target,\n ([entry]) => {\n const boxSize = box === \"border-box\" ? entry.borderBoxSize : box === \"content-box\" ? entry.contentBoxSize : entry.devicePixelContentBoxSize;\n if (window && isSVG.value) {\n const $elem = unrefElement(target);\n if ($elem) {\n const rect = $elem.getBoundingClientRect();\n width.value = rect.width;\n height.value = rect.height;\n }\n } else {\n if (boxSize) {\n const formatBoxSize = Array.isArray(boxSize) ? boxSize : [boxSize];\n width.value = formatBoxSize.reduce((acc, { inlineSize }) => acc + inlineSize, 0);\n height.value = formatBoxSize.reduce((acc, { blockSize }) => acc + blockSize, 0);\n } else {\n width.value = entry.contentRect.width;\n height.value = entry.contentRect.height;\n }\n }\n },\n options\n );\n tryOnMounted(() => {\n const ele = unrefElement(target);\n if (ele) {\n width.value = \"offsetWidth\" in ele ? ele.offsetWidth : initialSize.width;\n height.value = \"offsetHeight\" in ele ? ele.offsetHeight : initialSize.height;\n }\n });\n const stop2 = watch(\n () => unrefElement(target),\n (ele) => {\n width.value = ele ? initialSize.width : 0;\n height.value = ele ? initialSize.height : 0;\n }\n );\n function stop() {\n stop1();\n stop2();\n }\n return {\n width,\n height,\n stop\n };\n}\n\nfunction useIntersectionObserver(target, callback, options = {}) {\n const {\n root,\n rootMargin = \"0px\",\n threshold = 0.1,\n window = defaultWindow,\n immediate = true\n } = options;\n const isSupported = useSupported(() => window && \"IntersectionObserver\" in window);\n const targets = computed(() => {\n const _target = toValue(target);\n return (Array.isArray(_target) ? _target : [_target]).map(unrefElement).filter(notNullish);\n });\n let cleanup = noop;\n const isActive = ref(immediate);\n const stopWatch = isSupported.value ? watch(\n () => [targets.value, unrefElement(root), isActive.value],\n ([targets2, root2]) => {\n cleanup();\n if (!isActive.value)\n return;\n if (!targets2.length)\n return;\n const observer = new IntersectionObserver(\n callback,\n {\n root: unrefElement(root2),\n rootMargin,\n threshold\n }\n );\n targets2.forEach((el) => el && observer.observe(el));\n cleanup = () => {\n observer.disconnect();\n cleanup = noop;\n };\n },\n { immediate, flush: \"post\" }\n ) : noop;\n const stop = () => {\n cleanup();\n stopWatch();\n isActive.value = false;\n };\n tryOnScopeDispose(stop);\n return {\n isSupported,\n isActive,\n pause() {\n cleanup();\n isActive.value = false;\n },\n resume() {\n isActive.value = true;\n },\n stop\n };\n}\n\nfunction useElementVisibility(element, options = {}) {\n const { window = defaultWindow, scrollTarget, threshold = 0 } = options;\n const elementIsVisible = ref(false);\n useIntersectionObserver(\n element,\n (intersectionObserverEntries) => {\n let isIntersecting = elementIsVisible.value;\n let latestTime = 0;\n for (const entry of intersectionObserverEntries) {\n if (entry.time >= latestTime) {\n latestTime = entry.time;\n isIntersecting = entry.isIntersecting;\n }\n }\n elementIsVisible.value = isIntersecting;\n },\n {\n root: scrollTarget,\n window,\n threshold\n }\n );\n return elementIsVisible;\n}\n\nconst events = /* @__PURE__ */ new Map();\n\nfunction useEventBus(key) {\n const scope = getCurrentScope();\n function on(listener) {\n var _a;\n const listeners = events.get(key) || /* @__PURE__ */ new Set();\n listeners.add(listener);\n events.set(key, listeners);\n const _off = () => off(listener);\n (_a = scope == null ? void 0 : scope.cleanups) == null ? void 0 : _a.push(_off);\n return _off;\n }\n function once(listener) {\n function _listener(...args) {\n off(_listener);\n listener(...args);\n }\n return on(_listener);\n }\n function off(listener) {\n const listeners = events.get(key);\n if (!listeners)\n return;\n listeners.delete(listener);\n if (!listeners.size)\n reset();\n }\n function reset() {\n events.delete(key);\n }\n function emit(event, payload) {\n var _a;\n (_a = events.get(key)) == null ? void 0 : _a.forEach((v) => v(event, payload));\n }\n return { on, once, off, emit, reset };\n}\n\nfunction resolveNestedOptions$1(options) {\n if (options === true)\n return {};\n return options;\n}\nfunction useEventSource(url, events = [], options = {}) {\n const event = ref(null);\n const data = ref(null);\n const status = ref(\"CONNECTING\");\n const eventSource = ref(null);\n const error = shallowRef(null);\n const urlRef = toRef(url);\n const lastEventId = shallowRef(null);\n let explicitlyClosed = false;\n let retried = 0;\n const {\n withCredentials = false,\n immediate = true\n } = options;\n const close = () => {\n if (isClient && eventSource.value) {\n eventSource.value.close();\n eventSource.value = null;\n status.value = \"CLOSED\";\n explicitlyClosed = true;\n }\n };\n const _init = () => {\n if (explicitlyClosed || typeof urlRef.value === \"undefined\")\n return;\n const es = new EventSource(urlRef.value, { withCredentials });\n status.value = \"CONNECTING\";\n eventSource.value = es;\n es.onopen = () => {\n status.value = \"OPEN\";\n error.value = null;\n };\n es.onerror = (e) => {\n status.value = \"CLOSED\";\n error.value = e;\n if (es.readyState === 2 && !explicitlyClosed && options.autoReconnect) {\n es.close();\n const {\n retries = -1,\n delay = 1e3,\n onFailed\n } = resolveNestedOptions$1(options.autoReconnect);\n retried += 1;\n if (typeof retries === \"number\" && (retries < 0 || retried < retries))\n setTimeout(_init, delay);\n else if (typeof retries === \"function\" && retries())\n setTimeout(_init, delay);\n else\n onFailed == null ? void 0 : onFailed();\n }\n };\n es.onmessage = (e) => {\n event.value = null;\n data.value = e.data;\n lastEventId.value = e.lastEventId;\n };\n for (const event_name of events) {\n useEventListener(es, event_name, (e) => {\n event.value = event_name;\n data.value = e.data || null;\n });\n }\n };\n const open = () => {\n if (!isClient)\n return;\n close();\n explicitlyClosed = false;\n retried = 0;\n _init();\n };\n if (immediate)\n watch(urlRef, open, { immediate: true });\n tryOnScopeDispose(close);\n return {\n eventSource,\n event,\n data,\n status,\n error,\n open,\n close,\n lastEventId\n };\n}\n\nfunction useEyeDropper(options = {}) {\n const { initialValue = \"\" } = options;\n const isSupported = useSupported(() => typeof window !== \"undefined\" && \"EyeDropper\" in window);\n const sRGBHex = ref(initialValue);\n async function open(openOptions) {\n if (!isSupported.value)\n return;\n const eyeDropper = new window.EyeDropper();\n const result = await eyeDropper.open(openOptions);\n sRGBHex.value = result.sRGBHex;\n return result;\n }\n return { isSupported, sRGBHex, open };\n}\n\nfunction useFavicon(newIcon = null, options = {}) {\n const {\n baseUrl = \"\",\n rel = \"icon\",\n document = defaultDocument\n } = options;\n const favicon = toRef(newIcon);\n const applyIcon = (icon) => {\n const elements = document == null ? void 0 : document.head.querySelectorAll(`link[rel*=\"${rel}\"]`);\n if (!elements || elements.length === 0) {\n const link = document == null ? void 0 : document.createElement(\"link\");\n if (link) {\n link.rel = rel;\n link.href = `${baseUrl}${icon}`;\n link.type = `image/${icon.split(\".\").pop()}`;\n document == null ? void 0 : document.head.append(link);\n }\n return;\n }\n elements == null ? void 0 : elements.forEach((el) => el.href = `${baseUrl}${icon}`);\n };\n watch(\n favicon,\n (i, o) => {\n if (typeof i === \"string\" && i !== o)\n applyIcon(i);\n },\n { immediate: true }\n );\n return favicon;\n}\n\nconst payloadMapping = {\n json: \"application/json\",\n text: \"text/plain\"\n};\nfunction isFetchOptions(obj) {\n return obj && containsProp(obj, \"immediate\", \"refetch\", \"initialData\", \"timeout\", \"beforeFetch\", \"afterFetch\", \"onFetchError\", \"fetch\", \"updateDataOnError\");\n}\nconst reAbsolute = /^(?:[a-z][a-z\\d+\\-.]*:)?\\/\\//i;\nfunction isAbsoluteURL(url) {\n return reAbsolute.test(url);\n}\nfunction headersToObject(headers) {\n if (typeof Headers !== \"undefined\" && headers instanceof Headers)\n return Object.fromEntries(headers.entries());\n return headers;\n}\nfunction combineCallbacks(combination, ...callbacks) {\n if (combination === \"overwrite\") {\n return async (ctx) => {\n const callback = callbacks[callbacks.length - 1];\n if (callback)\n return { ...ctx, ...await callback(ctx) };\n return ctx;\n };\n } else {\n return async (ctx) => {\n for (const callback of callbacks) {\n if (callback)\n ctx = { ...ctx, ...await callback(ctx) };\n }\n return ctx;\n };\n }\n}\nfunction createFetch(config = {}) {\n const _combination = config.combination || \"chain\";\n const _options = config.options || {};\n const _fetchOptions = config.fetchOptions || {};\n function useFactoryFetch(url, ...args) {\n const computedUrl = computed(() => {\n const baseUrl = toValue(config.baseUrl);\n const targetUrl = toValue(url);\n return baseUrl && !isAbsoluteURL(targetUrl) ? joinPaths(baseUrl, targetUrl) : targetUrl;\n });\n let options = _options;\n let fetchOptions = _fetchOptions;\n if (args.length > 0) {\n if (isFetchOptions(args[0])) {\n options = {\n ...options,\n ...args[0],\n beforeFetch: combineCallbacks(_combination, _options.beforeFetch, args[0].beforeFetch),\n afterFetch: combineCallbacks(_combination, _options.afterFetch, args[0].afterFetch),\n onFetchError: combineCallbacks(_combination, _options.onFetchError, args[0].onFetchError)\n };\n } else {\n fetchOptions = {\n ...fetchOptions,\n ...args[0],\n headers: {\n ...headersToObject(fetchOptions.headers) || {},\n ...headersToObject(args[0].headers) || {}\n }\n };\n }\n }\n if (args.length > 1 && isFetchOptions(args[1])) {\n options = {\n ...options,\n ...args[1],\n beforeFetch: combineCallbacks(_combination, _options.beforeFetch, args[1].beforeFetch),\n afterFetch: combineCallbacks(_combination, _options.afterFetch, args[1].afterFetch),\n onFetchError: combineCallbacks(_combination, _options.onFetchError, args[1].onFetchError)\n };\n }\n return useFetch(computedUrl, fetchOptions, options);\n }\n return useFactoryFetch;\n}\nfunction useFetch(url, ...args) {\n var _a;\n const supportsAbort = typeof AbortController === \"function\";\n let fetchOptions = {};\n let options = {\n immediate: true,\n refetch: false,\n timeout: 0,\n updateDataOnError: false\n };\n const config = {\n method: \"GET\",\n type: \"text\",\n payload: void 0\n };\n if (args.length > 0) {\n if (isFetchOptions(args[0]))\n options = { ...options, ...args[0] };\n else\n fetchOptions = args[0];\n }\n if (args.length > 1) {\n if (isFetchOptions(args[1]))\n options = { ...options, ...args[1] };\n }\n const {\n fetch = (_a = defaultWindow) == null ? void 0 : _a.fetch,\n initialData,\n timeout\n } = options;\n const responseEvent = createEventHook();\n const errorEvent = createEventHook();\n const finallyEvent = createEventHook();\n const isFinished = ref(false);\n const isFetching = ref(false);\n const aborted = ref(false);\n const statusCode = ref(null);\n const response = shallowRef(null);\n const error = shallowRef(null);\n const data = shallowRef(initialData || null);\n const canAbort = computed(() => supportsAbort && isFetching.value);\n let controller;\n let timer;\n const abort = () => {\n if (supportsAbort) {\n controller == null ? void 0 : controller.abort();\n controller = new AbortController();\n controller.signal.onabort = () => aborted.value = true;\n fetchOptions = {\n ...fetchOptions,\n signal: controller.signal\n };\n }\n };\n const loading = (isLoading) => {\n isFetching.value = isLoading;\n isFinished.value = !isLoading;\n };\n if (timeout)\n timer = useTimeoutFn(abort, timeout, { immediate: false });\n let executeCounter = 0;\n const execute = async (throwOnFailed = false) => {\n var _a2, _b;\n abort();\n loading(true);\n error.value = null;\n statusCode.value = null;\n aborted.value = false;\n executeCounter += 1;\n const currentExecuteCounter = executeCounter;\n const defaultFetchOptions = {\n method: config.method,\n headers: {}\n };\n if (config.payload) {\n const headers = headersToObject(defaultFetchOptions.headers);\n const payload = toValue(config.payload);\n if (!config.payloadType && payload && Object.getPrototypeOf(payload) === Object.prototype && !(payload instanceof FormData))\n config.payloadType = \"json\";\n if (config.payloadType)\n headers[\"Content-Type\"] = (_a2 = payloadMapping[config.payloadType]) != null ? _a2 : config.payloadType;\n defaultFetchOptions.body = config.payloadType === \"json\" ? JSON.stringify(payload) : payload;\n }\n let isCanceled = false;\n const context = {\n url: toValue(url),\n options: {\n ...defaultFetchOptions,\n ...fetchOptions\n },\n cancel: () => {\n isCanceled = true;\n }\n };\n if (options.beforeFetch)\n Object.assign(context, await options.beforeFetch(context));\n if (isCanceled || !fetch) {\n loading(false);\n return Promise.resolve(null);\n }\n let responseData = null;\n if (timer)\n timer.start();\n return fetch(\n context.url,\n {\n ...defaultFetchOptions,\n ...context.options,\n headers: {\n ...headersToObject(defaultFetchOptions.headers),\n ...headersToObject((_b = context.options) == null ? void 0 : _b.headers)\n }\n }\n ).then(async (fetchResponse) => {\n response.value = fetchResponse;\n statusCode.value = fetchResponse.status;\n responseData = await fetchResponse.clone()[config.type]();\n if (!fetchResponse.ok) {\n data.value = initialData || null;\n throw new Error(fetchResponse.statusText);\n }\n if (options.afterFetch) {\n ({ data: responseData } = await options.afterFetch({\n data: responseData,\n response: fetchResponse\n }));\n }\n data.value = responseData;\n responseEvent.trigger(fetchResponse);\n return fetchResponse;\n }).catch(async (fetchError) => {\n let errorData = fetchError.message || fetchError.name;\n if (options.onFetchError) {\n ({ error: errorData, data: responseData } = await options.onFetchError({\n data: responseData,\n error: fetchError,\n response: response.value\n }));\n }\n error.value = errorData;\n if (options.updateDataOnError)\n data.value = responseData;\n errorEvent.trigger(fetchError);\n if (throwOnFailed)\n throw fetchError;\n return null;\n }).finally(() => {\n if (currentExecuteCounter === executeCounter)\n loading(false);\n if (timer)\n timer.stop();\n finallyEvent.trigger(null);\n });\n };\n const refetch = toRef(options.refetch);\n watch(\n [\n refetch,\n toRef(url)\n ],\n ([refetch2]) => refetch2 && execute(),\n { deep: true }\n );\n const shell = {\n isFinished: readonly(isFinished),\n isFetching: readonly(isFetching),\n statusCode,\n response,\n error,\n data,\n canAbort,\n aborted,\n abort,\n execute,\n onFetchResponse: responseEvent.on,\n onFetchError: errorEvent.on,\n onFetchFinally: finallyEvent.on,\n // method\n get: setMethod(\"GET\"),\n put: setMethod(\"PUT\"),\n post: setMethod(\"POST\"),\n delete: setMethod(\"DELETE\"),\n patch: setMethod(\"PATCH\"),\n head: setMethod(\"HEAD\"),\n options: setMethod(\"OPTIONS\"),\n // type\n json: setType(\"json\"),\n text: setType(\"text\"),\n blob: setType(\"blob\"),\n arrayBuffer: setType(\"arrayBuffer\"),\n formData: setType(\"formData\")\n };\n function setMethod(method) {\n return (payload, payloadType) => {\n if (!isFetching.value) {\n config.method = method;\n config.payload = payload;\n config.payloadType = payloadType;\n if (isRef(config.payload)) {\n watch(\n [\n refetch,\n toRef(config.payload)\n ],\n ([refetch2]) => refetch2 && execute(),\n { deep: true }\n );\n }\n return {\n ...shell,\n then(onFulfilled, onRejected) {\n return waitUntilFinished().then(onFulfilled, onRejected);\n }\n };\n }\n return void 0;\n };\n }\n function waitUntilFinished() {\n return new Promise((resolve, reject) => {\n until(isFinished).toBe(true).then(() => resolve(shell)).catch((error2) => reject(error2));\n });\n }\n function setType(type) {\n return () => {\n if (!isFetching.value) {\n config.type = type;\n return {\n ...shell,\n then(onFulfilled, onRejected) {\n return waitUntilFinished().then(onFulfilled, onRejected);\n }\n };\n }\n return void 0;\n };\n }\n if (options.immediate)\n Promise.resolve().then(() => execute());\n return {\n ...shell,\n then(onFulfilled, onRejected) {\n return waitUntilFinished().then(onFulfilled, onRejected);\n }\n };\n}\nfunction joinPaths(start, end) {\n if (!start.endsWith(\"/\") && !end.startsWith(\"/\"))\n return `${start}/${end}`;\n return `${start}${end}`;\n}\n\nconst DEFAULT_OPTIONS = {\n multiple: true,\n accept: \"*\",\n reset: false,\n directory: false\n};\nfunction useFileDialog(options = {}) {\n const {\n document = defaultDocument\n } = options;\n const files = ref(null);\n const { on: onChange, trigger } = createEventHook();\n let input;\n if (document) {\n input = document.createElement(\"input\");\n input.type = \"file\";\n input.onchange = (event) => {\n const result = event.target;\n files.value = result.files;\n trigger(files.value);\n };\n }\n const reset = () => {\n files.value = null;\n if (input && input.value) {\n input.value = \"\";\n trigger(null);\n }\n };\n const open = (localOptions) => {\n if (!input)\n return;\n const _options = {\n ...DEFAULT_OPTIONS,\n ...options,\n ...localOptions\n };\n input.multiple = _options.multiple;\n input.accept = _options.accept;\n input.webkitdirectory = _options.directory;\n if (hasOwn(_options, \"capture\"))\n input.capture = _options.capture;\n if (_options.reset)\n reset();\n input.click();\n };\n return {\n files: readonly(files),\n open,\n reset,\n onChange\n };\n}\n\nfunction useFileSystemAccess(options = {}) {\n const {\n window: _window = defaultWindow,\n dataType = \"Text\"\n } = options;\n const window = _window;\n const isSupported = useSupported(() => window && \"showSaveFilePicker\" in window && \"showOpenFilePicker\" in window);\n const fileHandle = ref();\n const data = ref();\n const file = ref();\n const fileName = computed(() => {\n var _a, _b;\n return (_b = (_a = file.value) == null ? void 0 : _a.name) != null ? _b : \"\";\n });\n const fileMIME = computed(() => {\n var _a, _b;\n return (_b = (_a = file.value) == null ? void 0 : _a.type) != null ? _b : \"\";\n });\n const fileSize = computed(() => {\n var _a, _b;\n return (_b = (_a = file.value) == null ? void 0 : _a.size) != null ? _b : 0;\n });\n const fileLastModified = computed(() => {\n var _a, _b;\n return (_b = (_a = file.value) == null ? void 0 : _a.lastModified) != null ? _b : 0;\n });\n async function open(_options = {}) {\n if (!isSupported.value)\n return;\n const [handle] = await window.showOpenFilePicker({ ...toValue(options), ..._options });\n fileHandle.value = handle;\n await updateData();\n }\n async function create(_options = {}) {\n if (!isSupported.value)\n return;\n fileHandle.value = await window.showSaveFilePicker({ ...options, ..._options });\n data.value = void 0;\n await updateData();\n }\n async function save(_options = {}) {\n if (!isSupported.value)\n return;\n if (!fileHandle.value)\n return saveAs(_options);\n if (data.value) {\n const writableStream = await fileHandle.value.createWritable();\n await writableStream.write(data.value);\n await writableStream.close();\n }\n await updateFile();\n }\n async function saveAs(_options = {}) {\n if (!isSupported.value)\n return;\n fileHandle.value = await window.showSaveFilePicker({ ...options, ..._options });\n if (data.value) {\n const writableStream = await fileHandle.value.createWritable();\n await writableStream.write(data.value);\n await writableStream.close();\n }\n await updateFile();\n }\n async function updateFile() {\n var _a;\n file.value = await ((_a = fileHandle.value) == null ? void 0 : _a.getFile());\n }\n async function updateData() {\n var _a, _b;\n await updateFile();\n const type = toValue(dataType);\n if (type === \"Text\")\n data.value = await ((_a = file.value) == null ? void 0 : _a.text());\n else if (type === \"ArrayBuffer\")\n data.value = await ((_b = file.value) == null ? void 0 : _b.arrayBuffer());\n else if (type === \"Blob\")\n data.value = file.value;\n }\n watch(() => toValue(dataType), updateData);\n return {\n isSupported,\n data,\n file,\n fileName,\n fileMIME,\n fileSize,\n fileLastModified,\n open,\n create,\n save,\n saveAs,\n updateData\n };\n}\n\nfunction useFocus(target, options = {}) {\n const { initialValue = false, focusVisible = false, preventScroll = false } = options;\n const innerFocused = ref(false);\n const targetElement = computed(() => unrefElement(target));\n useEventListener(targetElement, \"focus\", (event) => {\n var _a, _b;\n if (!focusVisible || ((_b = (_a = event.target).matches) == null ? void 0 : _b.call(_a, \":focus-visible\")))\n innerFocused.value = true;\n });\n useEventListener(targetElement, \"blur\", () => innerFocused.value = false);\n const focused = computed({\n get: () => innerFocused.value,\n set(value) {\n var _a, _b;\n if (!value && innerFocused.value)\n (_a = targetElement.value) == null ? void 0 : _a.blur();\n else if (value && !innerFocused.value)\n (_b = targetElement.value) == null ? void 0 : _b.focus({ preventScroll });\n }\n });\n watch(\n targetElement,\n () => {\n focused.value = initialValue;\n },\n { immediate: true, flush: \"post\" }\n );\n return { focused };\n}\n\nfunction useFocusWithin(target, options = {}) {\n const activeElement = useActiveElement(options);\n const targetElement = computed(() => unrefElement(target));\n const focused = computed(() => targetElement.value && activeElement.value ? targetElement.value.contains(activeElement.value) : false);\n return { focused };\n}\n\nfunction useFps(options) {\n var _a;\n const fps = ref(0);\n if (typeof performance === \"undefined\")\n return fps;\n const every = (_a = options == null ? void 0 : options.every) != null ? _a : 10;\n let last = performance.now();\n let ticks = 0;\n useRafFn(() => {\n ticks += 1;\n if (ticks >= every) {\n const now = performance.now();\n const diff = now - last;\n fps.value = Math.round(1e3 / (diff / ticks));\n last = now;\n ticks = 0;\n }\n });\n return fps;\n}\n\nconst eventHandlers = [\n \"fullscreenchange\",\n \"webkitfullscreenchange\",\n \"webkitendfullscreen\",\n \"mozfullscreenchange\",\n \"MSFullscreenChange\"\n];\nfunction useFullscreen(target, options = {}) {\n const {\n document = defaultDocument,\n autoExit = false\n } = options;\n const targetRef = computed(() => {\n var _a;\n return (_a = unrefElement(target)) != null ? _a : document == null ? void 0 : document.querySelector(\"html\");\n });\n const isFullscreen = ref(false);\n const requestMethod = computed(() => {\n return [\n \"requestFullscreen\",\n \"webkitRequestFullscreen\",\n \"webkitEnterFullscreen\",\n \"webkitEnterFullScreen\",\n \"webkitRequestFullScreen\",\n \"mozRequestFullScreen\",\n \"msRequestFullscreen\"\n ].find((m) => document && m in document || targetRef.value && m in targetRef.value);\n });\n const exitMethod = computed(() => {\n return [\n \"exitFullscreen\",\n \"webkitExitFullscreen\",\n \"webkitExitFullScreen\",\n \"webkitCancelFullScreen\",\n \"mozCancelFullScreen\",\n \"msExitFullscreen\"\n ].find((m) => document && m in document || targetRef.value && m in targetRef.value);\n });\n const fullscreenEnabled = computed(() => {\n return [\n \"fullScreen\",\n \"webkitIsFullScreen\",\n \"webkitDisplayingFullscreen\",\n \"mozFullScreen\",\n \"msFullscreenElement\"\n ].find((m) => document && m in document || targetRef.value && m in targetRef.value);\n });\n const fullscreenElementMethod = [\n \"fullscreenElement\",\n \"webkitFullscreenElement\",\n \"mozFullScreenElement\",\n \"msFullscreenElement\"\n ].find((m) => document && m in document);\n const isSupported = useSupported(() => targetRef.value && document && requestMethod.value !== void 0 && exitMethod.value !== void 0 && fullscreenEnabled.value !== void 0);\n const isCurrentElementFullScreen = () => {\n if (fullscreenElementMethod)\n return (document == null ? void 0 : document[fullscreenElementMethod]) === targetRef.value;\n return false;\n };\n const isElementFullScreen = () => {\n if (fullscreenEnabled.value) {\n if (document && document[fullscreenEnabled.value] != null) {\n return document[fullscreenEnabled.value];\n } else {\n const target2 = targetRef.value;\n if ((target2 == null ? void 0 : target2[fullscreenEnabled.value]) != null) {\n return Boolean(target2[fullscreenEnabled.value]);\n }\n }\n }\n return false;\n };\n async function exit() {\n if (!isSupported.value || !isFullscreen.value)\n return;\n if (exitMethod.value) {\n if ((document == null ? void 0 : document[exitMethod.value]) != null) {\n await document[exitMethod.value]();\n } else {\n const target2 = targetRef.value;\n if ((target2 == null ? void 0 : target2[exitMethod.value]) != null)\n await target2[exitMethod.value]();\n }\n }\n isFullscreen.value = false;\n }\n async function enter() {\n if (!isSupported.value || isFullscreen.value)\n return;\n if (isElementFullScreen())\n await exit();\n const target2 = targetRef.value;\n if (requestMethod.value && (target2 == null ? void 0 : target2[requestMethod.value]) != null) {\n await target2[requestMethod.value]();\n isFullscreen.value = true;\n }\n }\n async function toggle() {\n await (isFullscreen.value ? exit() : enter());\n }\n const handlerCallback = () => {\n const isElementFullScreenValue = isElementFullScreen();\n if (!isElementFullScreenValue || isElementFullScreenValue && isCurrentElementFullScreen())\n isFullscreen.value = isElementFullScreenValue;\n };\n useEventListener(document, eventHandlers, handlerCallback, false);\n useEventListener(() => unrefElement(targetRef), eventHandlers, handlerCallback, false);\n if (autoExit)\n tryOnScopeDispose(exit);\n return {\n isSupported,\n isFullscreen,\n enter,\n exit,\n toggle\n };\n}\n\nfunction mapGamepadToXbox360Controller(gamepad) {\n return computed(() => {\n if (gamepad.value) {\n return {\n buttons: {\n a: gamepad.value.buttons[0],\n b: gamepad.value.buttons[1],\n x: gamepad.value.buttons[2],\n y: gamepad.value.buttons[3]\n },\n bumper: {\n left: gamepad.value.buttons[4],\n right: gamepad.value.buttons[5]\n },\n triggers: {\n left: gamepad.value.buttons[6],\n right: gamepad.value.buttons[7]\n },\n stick: {\n left: {\n horizontal: gamepad.value.axes[0],\n vertical: gamepad.value.axes[1],\n button: gamepad.value.buttons[10]\n },\n right: {\n horizontal: gamepad.value.axes[2],\n vertical: gamepad.value.axes[3],\n button: gamepad.value.buttons[11]\n }\n },\n dpad: {\n up: gamepad.value.buttons[12],\n down: gamepad.value.buttons[13],\n left: gamepad.value.buttons[14],\n right: gamepad.value.buttons[15]\n },\n back: gamepad.value.buttons[8],\n start: gamepad.value.buttons[9]\n };\n }\n return null;\n });\n}\nfunction useGamepad(options = {}) {\n const {\n navigator = defaultNavigator\n } = options;\n const isSupported = useSupported(() => navigator && \"getGamepads\" in navigator);\n const gamepads = ref([]);\n const onConnectedHook = createEventHook();\n const onDisconnectedHook = createEventHook();\n const stateFromGamepad = (gamepad) => {\n const hapticActuators = [];\n const vibrationActuator = \"vibrationActuator\" in gamepad ? gamepad.vibrationActuator : null;\n if (vibrationActuator)\n hapticActuators.push(vibrationActuator);\n if (gamepad.hapticActuators)\n hapticActuators.push(...gamepad.hapticActuators);\n return {\n id: gamepad.id,\n index: gamepad.index,\n connected: gamepad.connected,\n mapping: gamepad.mapping,\n timestamp: gamepad.timestamp,\n vibrationActuator: gamepad.vibrationActuator,\n hapticActuators,\n axes: gamepad.axes.map((axes) => axes),\n buttons: gamepad.buttons.map((button) => ({ pressed: button.pressed, touched: button.touched, value: button.value }))\n };\n };\n const updateGamepadState = () => {\n const _gamepads = (navigator == null ? void 0 : navigator.getGamepads()) || [];\n for (const gamepad of _gamepads) {\n if (gamepad && gamepads.value[gamepad.index])\n gamepads.value[gamepad.index] = stateFromGamepad(gamepad);\n }\n };\n const { isActive, pause, resume } = useRafFn(updateGamepadState);\n const onGamepadConnected = (gamepad) => {\n if (!gamepads.value.some(({ index }) => index === gamepad.index)) {\n gamepads.value.push(stateFromGamepad(gamepad));\n onConnectedHook.trigger(gamepad.index);\n }\n resume();\n };\n const onGamepadDisconnected = (gamepad) => {\n gamepads.value = gamepads.value.filter((x) => x.index !== gamepad.index);\n onDisconnectedHook.trigger(gamepad.index);\n };\n useEventListener(\"gamepadconnected\", (e) => onGamepadConnected(e.gamepad));\n useEventListener(\"gamepaddisconnected\", (e) => onGamepadDisconnected(e.gamepad));\n tryOnMounted(() => {\n const _gamepads = (navigator == null ? void 0 : navigator.getGamepads()) || [];\n for (const gamepad of _gamepads) {\n if (gamepad && gamepads.value[gamepad.index])\n onGamepadConnected(gamepad);\n }\n });\n pause();\n return {\n isSupported,\n onConnected: onConnectedHook.on,\n onDisconnected: onDisconnectedHook.on,\n gamepads,\n pause,\n resume,\n isActive\n };\n}\n\nfunction useGeolocation(options = {}) {\n const {\n enableHighAccuracy = true,\n maximumAge = 3e4,\n timeout = 27e3,\n navigator = defaultNavigator,\n immediate = true\n } = options;\n const isSupported = useSupported(() => navigator && \"geolocation\" in navigator);\n const locatedAt = ref(null);\n const error = shallowRef(null);\n const coords = ref({\n accuracy: 0,\n latitude: Number.POSITIVE_INFINITY,\n longitude: Number.POSITIVE_INFINITY,\n altitude: null,\n altitudeAccuracy: null,\n heading: null,\n speed: null\n });\n function updatePosition(position) {\n locatedAt.value = position.timestamp;\n coords.value = position.coords;\n error.value = null;\n }\n let watcher;\n function resume() {\n if (isSupported.value) {\n watcher = navigator.geolocation.watchPosition(\n updatePosition,\n (err) => error.value = err,\n {\n enableHighAccuracy,\n maximumAge,\n timeout\n }\n );\n }\n }\n if (immediate)\n resume();\n function pause() {\n if (watcher && navigator)\n navigator.geolocation.clearWatch(watcher);\n }\n tryOnScopeDispose(() => {\n pause();\n });\n return {\n isSupported,\n coords,\n locatedAt,\n error,\n resume,\n pause\n };\n}\n\nconst defaultEvents$1 = [\"mousemove\", \"mousedown\", \"resize\", \"keydown\", \"touchstart\", \"wheel\"];\nconst oneMinute = 6e4;\nfunction useIdle(timeout = oneMinute, options = {}) {\n const {\n initialState = false,\n listenForVisibilityChange = true,\n events = defaultEvents$1,\n window = defaultWindow,\n eventFilter = throttleFilter(50)\n } = options;\n const idle = ref(initialState);\n const lastActive = ref(timestamp());\n let timer;\n const reset = () => {\n idle.value = false;\n clearTimeout(timer);\n timer = setTimeout(() => idle.value = true, timeout);\n };\n const onEvent = createFilterWrapper(\n eventFilter,\n () => {\n lastActive.value = timestamp();\n reset();\n }\n );\n if (window) {\n const document = window.document;\n for (const event of events)\n useEventListener(window, event, onEvent, { passive: true });\n if (listenForVisibilityChange) {\n useEventListener(document, \"visibilitychange\", () => {\n if (!document.hidden)\n onEvent();\n });\n }\n reset();\n }\n return {\n idle,\n lastActive,\n reset\n };\n}\n\nasync function loadImage(options) {\n return new Promise((resolve, reject) => {\n const img = new Image();\n const { src, srcset, sizes, class: clazz, loading, crossorigin, referrerPolicy } = options;\n img.src = src;\n if (srcset)\n img.srcset = srcset;\n if (sizes)\n img.sizes = sizes;\n if (clazz)\n img.className = clazz;\n if (loading)\n img.loading = loading;\n if (crossorigin)\n img.crossOrigin = crossorigin;\n if (referrerPolicy)\n img.referrerPolicy = referrerPolicy;\n img.onload = () => resolve(img);\n img.onerror = reject;\n });\n}\nfunction useImage(options, asyncStateOptions = {}) {\n const state = useAsyncState(\n () => loadImage(toValue(options)),\n void 0,\n {\n resetOnExecute: true,\n ...asyncStateOptions\n }\n );\n watch(\n () => toValue(options),\n () => state.execute(asyncStateOptions.delay),\n { deep: true }\n );\n return state;\n}\n\nconst ARRIVED_STATE_THRESHOLD_PIXELS = 1;\nfunction useScroll(element, options = {}) {\n const {\n throttle = 0,\n idle = 200,\n onStop = noop,\n onScroll = noop,\n offset = {\n left: 0,\n right: 0,\n top: 0,\n bottom: 0\n },\n eventListenerOptions = {\n capture: false,\n passive: true\n },\n behavior = \"auto\",\n window = defaultWindow,\n onError = (e) => {\n console.error(e);\n }\n } = options;\n const internalX = ref(0);\n const internalY = ref(0);\n const x = computed({\n get() {\n return internalX.value;\n },\n set(x2) {\n scrollTo(x2, void 0);\n }\n });\n const y = computed({\n get() {\n return internalY.value;\n },\n set(y2) {\n scrollTo(void 0, y2);\n }\n });\n function scrollTo(_x, _y) {\n var _a, _b, _c, _d;\n if (!window)\n return;\n const _element = toValue(element);\n if (!_element)\n return;\n (_c = _element instanceof Document ? window.document.body : _element) == null ? void 0 : _c.scrollTo({\n top: (_a = toValue(_y)) != null ? _a : y.value,\n left: (_b = toValue(_x)) != null ? _b : x.value,\n behavior: toValue(behavior)\n });\n const scrollContainer = ((_d = _element == null ? void 0 : _element.document) == null ? void 0 : _d.documentElement) || (_element == null ? void 0 : _element.documentElement) || _element;\n if (x != null)\n internalX.value = scrollContainer.scrollLeft;\n if (y != null)\n internalY.value = scrollContainer.scrollTop;\n }\n const isScrolling = ref(false);\n const arrivedState = reactive({\n left: true,\n right: false,\n top: true,\n bottom: false\n });\n const directions = reactive({\n left: false,\n right: false,\n top: false,\n bottom: false\n });\n const onScrollEnd = (e) => {\n if (!isScrolling.value)\n return;\n isScrolling.value = false;\n directions.left = false;\n directions.right = false;\n directions.top = false;\n directions.bottom = false;\n onStop(e);\n };\n const onScrollEndDebounced = useDebounceFn(onScrollEnd, throttle + idle);\n const setArrivedState = (target) => {\n var _a;\n if (!window)\n return;\n const el = ((_a = target == null ? void 0 : target.document) == null ? void 0 : _a.documentElement) || (target == null ? void 0 : target.documentElement) || unrefElement(target);\n const { display, flexDirection } = getComputedStyle(el);\n const scrollLeft = el.scrollLeft;\n directions.left = scrollLeft < internalX.value;\n directions.right = scrollLeft > internalX.value;\n const left = Math.abs(scrollLeft) <= (offset.left || 0);\n const right = Math.abs(scrollLeft) + el.clientWidth >= el.scrollWidth - (offset.right || 0) - ARRIVED_STATE_THRESHOLD_PIXELS;\n if (display === \"flex\" && flexDirection === \"row-reverse\") {\n arrivedState.left = right;\n arrivedState.right = left;\n } else {\n arrivedState.left = left;\n arrivedState.right = right;\n }\n internalX.value = scrollLeft;\n let scrollTop = el.scrollTop;\n if (target === window.document && !scrollTop)\n scrollTop = window.document.body.scrollTop;\n directions.top = scrollTop < internalY.value;\n directions.bottom = scrollTop > internalY.value;\n const top = Math.abs(scrollTop) <= (offset.top || 0);\n const bottom = Math.abs(scrollTop) + el.clientHeight >= el.scrollHeight - (offset.bottom || 0) - ARRIVED_STATE_THRESHOLD_PIXELS;\n if (display === \"flex\" && flexDirection === \"column-reverse\") {\n arrivedState.top = bottom;\n arrivedState.bottom = top;\n } else {\n arrivedState.top = top;\n arrivedState.bottom = bottom;\n }\n internalY.value = scrollTop;\n };\n const onScrollHandler = (e) => {\n var _a;\n if (!window)\n return;\n const eventTarget = (_a = e.target.documentElement) != null ? _a : e.target;\n setArrivedState(eventTarget);\n isScrolling.value = true;\n onScrollEndDebounced(e);\n onScroll(e);\n };\n useEventListener(\n element,\n \"scroll\",\n throttle ? useThrottleFn(onScrollHandler, throttle, true, false) : onScrollHandler,\n eventListenerOptions\n );\n tryOnMounted(() => {\n try {\n const _element = toValue(element);\n if (!_element)\n return;\n setArrivedState(_element);\n } catch (e) {\n onError(e);\n }\n });\n useEventListener(\n element,\n \"scrollend\",\n onScrollEnd,\n eventListenerOptions\n );\n return {\n x,\n y,\n isScrolling,\n arrivedState,\n directions,\n measure() {\n const _element = toValue(element);\n if (window && _element)\n setArrivedState(_element);\n }\n };\n}\n\nfunction resolveElement(el) {\n if (typeof Window !== \"undefined\" && el instanceof Window)\n return el.document.documentElement;\n if (typeof Document !== \"undefined\" && el instanceof Document)\n return el.documentElement;\n return el;\n}\n\nfunction useInfiniteScroll(element, onLoadMore, options = {}) {\n var _a;\n const {\n direction = \"bottom\",\n interval = 100,\n canLoadMore = () => true\n } = options;\n const state = reactive(useScroll(\n element,\n {\n ...options,\n offset: {\n [direction]: (_a = options.distance) != null ? _a : 0,\n ...options.offset\n }\n }\n ));\n const promise = ref();\n const isLoading = computed(() => !!promise.value);\n const observedElement = computed(() => {\n return resolveElement(toValue(element));\n });\n const isElementVisible = useElementVisibility(observedElement);\n function checkAndLoad() {\n state.measure();\n if (!observedElement.value || !isElementVisible.value || !canLoadMore(observedElement.value))\n return;\n const { scrollHeight, clientHeight, scrollWidth, clientWidth } = observedElement.value;\n const isNarrower = direction === \"bottom\" || direction === \"top\" ? scrollHeight <= clientHeight : scrollWidth <= clientWidth;\n if (state.arrivedState[direction] || isNarrower) {\n if (!promise.value) {\n promise.value = Promise.all([\n onLoadMore(state),\n new Promise((resolve) => setTimeout(resolve, interval))\n ]).finally(() => {\n promise.value = null;\n nextTick(() => checkAndLoad());\n });\n }\n }\n }\n watch(\n () => [state.arrivedState[direction], isElementVisible.value],\n checkAndLoad,\n { immediate: true }\n );\n return {\n isLoading\n };\n}\n\nconst defaultEvents = [\"mousedown\", \"mouseup\", \"keydown\", \"keyup\"];\nfunction useKeyModifier(modifier, options = {}) {\n const {\n events = defaultEvents,\n document = defaultDocument,\n initial = null\n } = options;\n const state = ref(initial);\n if (document) {\n events.forEach((listenerEvent) => {\n useEventListener(document, listenerEvent, (evt) => {\n if (typeof evt.getModifierState === \"function\")\n state.value = evt.getModifierState(modifier);\n });\n });\n }\n return state;\n}\n\nfunction useLocalStorage(key, initialValue, options = {}) {\n const { window = defaultWindow } = options;\n return useStorage(key, initialValue, window == null ? void 0 : window.localStorage, options);\n}\n\nconst DefaultMagicKeysAliasMap = {\n ctrl: \"control\",\n command: \"meta\",\n cmd: \"meta\",\n option: \"alt\",\n up: \"arrowup\",\n down: \"arrowdown\",\n left: \"arrowleft\",\n right: \"arrowright\"\n};\n\nfunction useMagicKeys(options = {}) {\n const {\n reactive: useReactive = false,\n target = defaultWindow,\n aliasMap = DefaultMagicKeysAliasMap,\n passive = true,\n onEventFired = noop\n } = options;\n const current = reactive(/* @__PURE__ */ new Set());\n const obj = {\n toJSON() {\n return {};\n },\n current\n };\n const refs = useReactive ? reactive(obj) : obj;\n const metaDeps = /* @__PURE__ */ new Set();\n const usedKeys = /* @__PURE__ */ new Set();\n function setRefs(key, value) {\n if (key in refs) {\n if (useReactive)\n refs[key] = value;\n else\n refs[key].value = value;\n }\n }\n function reset() {\n current.clear();\n for (const key of usedKeys)\n setRefs(key, false);\n }\n function updateRefs(e, value) {\n var _a, _b;\n const key = (_a = e.key) == null ? void 0 : _a.toLowerCase();\n const code = (_b = e.code) == null ? void 0 : _b.toLowerCase();\n const values = [code, key].filter(Boolean);\n if (key) {\n if (value)\n current.add(key);\n else\n current.delete(key);\n }\n for (const key2 of values) {\n usedKeys.add(key2);\n setRefs(key2, value);\n }\n if (key === \"meta\" && !value) {\n metaDeps.forEach((key2) => {\n current.delete(key2);\n setRefs(key2, false);\n });\n metaDeps.clear();\n } else if (typeof e.getModifierState === \"function\" && e.getModifierState(\"Meta\") && value) {\n [...current, ...values].forEach((key2) => metaDeps.add(key2));\n }\n }\n useEventListener(target, \"keydown\", (e) => {\n updateRefs(e, true);\n return onEventFired(e);\n }, { passive });\n useEventListener(target, \"keyup\", (e) => {\n updateRefs(e, false);\n return onEventFired(e);\n }, { passive });\n useEventListener(\"blur\", reset, { passive: true });\n useEventListener(\"focus\", reset, { passive: true });\n const proxy = new Proxy(\n refs,\n {\n get(target2, prop, rec) {\n if (typeof prop !== \"string\")\n return Reflect.get(target2, prop, rec);\n prop = prop.toLowerCase();\n if (prop in aliasMap)\n prop = aliasMap[prop];\n if (!(prop in refs)) {\n if (/[+_-]/.test(prop)) {\n const keys = prop.split(/[+_-]/g).map((i) => i.trim());\n refs[prop] = computed(() => keys.every((key) => toValue(proxy[key])));\n } else {\n refs[prop] = ref(false);\n }\n }\n const r = Reflect.get(target2, prop, rec);\n return useReactive ? toValue(r) : r;\n }\n }\n );\n return proxy;\n}\n\nfunction usingElRef(source, cb) {\n if (toValue(source))\n cb(toValue(source));\n}\nfunction timeRangeToArray(timeRanges) {\n let ranges = [];\n for (let i = 0; i < timeRanges.length; ++i)\n ranges = [...ranges, [timeRanges.start(i), timeRanges.end(i)]];\n return ranges;\n}\nfunction tracksToArray(tracks) {\n return Array.from(tracks).map(({ label, kind, language, mode, activeCues, cues, inBandMetadataTrackDispatchType }, id) => ({ id, label, kind, language, mode, activeCues, cues, inBandMetadataTrackDispatchType }));\n}\nconst defaultOptions = {\n src: \"\",\n tracks: []\n};\nfunction useMediaControls(target, options = {}) {\n target = toRef(target);\n options = {\n ...defaultOptions,\n ...options\n };\n const {\n document = defaultDocument\n } = options;\n const currentTime = ref(0);\n const duration = ref(0);\n const seeking = ref(false);\n const volume = ref(1);\n const waiting = ref(false);\n const ended = ref(false);\n const playing = ref(false);\n const rate = ref(1);\n const stalled = ref(false);\n const buffered = ref([]);\n const tracks = ref([]);\n const selectedTrack = ref(-1);\n const isPictureInPicture = ref(false);\n const muted = ref(false);\n const supportsPictureInPicture = document && \"pictureInPictureEnabled\" in document;\n const sourceErrorEvent = createEventHook();\n const disableTrack = (track) => {\n usingElRef(target, (el) => {\n if (track) {\n const id = typeof track === \"number\" ? track : track.id;\n el.textTracks[id].mode = \"disabled\";\n } else {\n for (let i = 0; i < el.textTracks.length; ++i)\n el.textTracks[i].mode = \"disabled\";\n }\n selectedTrack.value = -1;\n });\n };\n const enableTrack = (track, disableTracks = true) => {\n usingElRef(target, (el) => {\n const id = typeof track === \"number\" ? track : track.id;\n if (disableTracks)\n disableTrack();\n el.textTracks[id].mode = \"showing\";\n selectedTrack.value = id;\n });\n };\n const togglePictureInPicture = () => {\n return new Promise((resolve, reject) => {\n usingElRef(target, async (el) => {\n if (supportsPictureInPicture) {\n if (!isPictureInPicture.value) {\n el.requestPictureInPicture().then(resolve).catch(reject);\n } else {\n document.exitPictureInPicture().then(resolve).catch(reject);\n }\n }\n });\n });\n };\n watchEffect(() => {\n if (!document)\n return;\n const el = toValue(target);\n if (!el)\n return;\n const src = toValue(options.src);\n let sources = [];\n if (!src)\n return;\n if (typeof src === \"string\")\n sources = [{ src }];\n else if (Array.isArray(src))\n sources = src;\n else if (isObject(src))\n sources = [src];\n el.querySelectorAll(\"source\").forEach((e) => {\n e.removeEventListener(\"error\", sourceErrorEvent.trigger);\n e.remove();\n });\n sources.forEach(({ src: src2, type }) => {\n const source = document.createElement(\"source\");\n source.setAttribute(\"src\", src2);\n source.setAttribute(\"type\", type || \"\");\n source.addEventListener(\"error\", sourceErrorEvent.trigger);\n el.appendChild(source);\n });\n el.load();\n });\n tryOnScopeDispose(() => {\n const el = toValue(target);\n if (!el)\n return;\n el.querySelectorAll(\"source\").forEach((e) => e.removeEventListener(\"error\", sourceErrorEvent.trigger));\n });\n watch([target, volume], () => {\n const el = toValue(target);\n if (!el)\n return;\n el.volume = volume.value;\n });\n watch([target, muted], () => {\n const el = toValue(target);\n if (!el)\n return;\n el.muted = muted.value;\n });\n watch([target, rate], () => {\n const el = toValue(target);\n if (!el)\n return;\n el.playbackRate = rate.value;\n });\n watchEffect(() => {\n if (!document)\n return;\n const textTracks = toValue(options.tracks);\n const el = toValue(target);\n if (!textTracks || !textTracks.length || !el)\n return;\n el.querySelectorAll(\"track\").forEach((e) => e.remove());\n textTracks.forEach(({ default: isDefault, kind, label, src, srcLang }, i) => {\n const track = document.createElement(\"track\");\n track.default = isDefault || false;\n track.kind = kind;\n track.label = label;\n track.src = src;\n track.srclang = srcLang;\n if (track.default)\n selectedTrack.value = i;\n el.appendChild(track);\n });\n });\n const { ignoreUpdates: ignoreCurrentTimeUpdates } = watchIgnorable(currentTime, (time) => {\n const el = toValue(target);\n if (!el)\n return;\n el.currentTime = time;\n });\n const { ignoreUpdates: ignorePlayingUpdates } = watchIgnorable(playing, (isPlaying) => {\n const el = toValue(target);\n if (!el)\n return;\n isPlaying ? el.play() : el.pause();\n });\n useEventListener(target, \"timeupdate\", () => ignoreCurrentTimeUpdates(() => currentTime.value = toValue(target).currentTime));\n useEventListener(target, \"durationchange\", () => duration.value = toValue(target).duration);\n useEventListener(target, \"progress\", () => buffered.value = timeRangeToArray(toValue(target).buffered));\n useEventListener(target, \"seeking\", () => seeking.value = true);\n useEventListener(target, \"seeked\", () => seeking.value = false);\n useEventListener(target, [\"waiting\", \"loadstart\"], () => {\n waiting.value = true;\n ignorePlayingUpdates(() => playing.value = false);\n });\n useEventListener(target, \"loadeddata\", () => waiting.value = false);\n useEventListener(target, \"playing\", () => {\n waiting.value = false;\n ended.value = false;\n ignorePlayingUpdates(() => playing.value = true);\n });\n useEventListener(target, \"ratechange\", () => rate.value = toValue(target).playbackRate);\n useEventListener(target, \"stalled\", () => stalled.value = true);\n useEventListener(target, \"ended\", () => ended.value = true);\n useEventListener(target, \"pause\", () => ignorePlayingUpdates(() => playing.value = false));\n useEventListener(target, \"play\", () => ignorePlayingUpdates(() => playing.value = true));\n useEventListener(target, \"enterpictureinpicture\", () => isPictureInPicture.value = true);\n useEventListener(target, \"leavepictureinpicture\", () => isPictureInPicture.value = false);\n useEventListener(target, \"volumechange\", () => {\n const el = toValue(target);\n if (!el)\n return;\n volume.value = el.volume;\n muted.value = el.muted;\n });\n const listeners = [];\n const stop = watch([target], () => {\n const el = toValue(target);\n if (!el)\n return;\n stop();\n listeners[0] = useEventListener(el.textTracks, \"addtrack\", () => tracks.value = tracksToArray(el.textTracks));\n listeners[1] = useEventListener(el.textTracks, \"removetrack\", () => tracks.value = tracksToArray(el.textTracks));\n listeners[2] = useEventListener(el.textTracks, \"change\", () => tracks.value = tracksToArray(el.textTracks));\n });\n tryOnScopeDispose(() => listeners.forEach((listener) => listener()));\n return {\n currentTime,\n duration,\n waiting,\n seeking,\n ended,\n stalled,\n buffered,\n playing,\n rate,\n // Volume\n volume,\n muted,\n // Tracks\n tracks,\n selectedTrack,\n enableTrack,\n disableTrack,\n // Picture in Picture\n supportsPictureInPicture,\n togglePictureInPicture,\n isPictureInPicture,\n // Events\n onSourceError: sourceErrorEvent.on\n };\n}\n\nfunction getMapVue2Compat() {\n const data = shallowReactive({});\n return {\n get: (key) => data[key],\n set: (key, value) => set(data, key, value),\n has: (key) => hasOwn(data, key),\n delete: (key) => del(data, key),\n clear: () => {\n Object.keys(data).forEach((key) => {\n del(data, key);\n });\n }\n };\n}\nfunction useMemoize(resolver, options) {\n const initCache = () => {\n if (options == null ? void 0 : options.cache)\n return shallowReactive(options.cache);\n if (isVue2)\n return getMapVue2Compat();\n return shallowReactive(/* @__PURE__ */ new Map());\n };\n const cache = initCache();\n const generateKey = (...args) => (options == null ? void 0 : options.getKey) ? options.getKey(...args) : JSON.stringify(args);\n const _loadData = (key, ...args) => {\n cache.set(key, resolver(...args));\n return cache.get(key);\n };\n const loadData = (...args) => _loadData(generateKey(...args), ...args);\n const deleteData = (...args) => {\n cache.delete(generateKey(...args));\n };\n const clearData = () => {\n cache.clear();\n };\n const memoized = (...args) => {\n const key = generateKey(...args);\n if (cache.has(key))\n return cache.get(key);\n return _loadData(key, ...args);\n };\n memoized.load = loadData;\n memoized.delete = deleteData;\n memoized.clear = clearData;\n memoized.generateKey = generateKey;\n memoized.cache = cache;\n return memoized;\n}\n\nfunction useMemory(options = {}) {\n const memory = ref();\n const isSupported = useSupported(() => typeof performance !== \"undefined\" && \"memory\" in performance);\n if (isSupported.value) {\n const { interval = 1e3 } = options;\n useIntervalFn(() => {\n memory.value = performance.memory;\n }, interval, { immediate: options.immediate, immediateCallback: options.immediateCallback });\n }\n return { isSupported, memory };\n}\n\nconst UseMouseBuiltinExtractors = {\n page: (event) => [event.pageX, event.pageY],\n client: (event) => [event.clientX, event.clientY],\n screen: (event) => [event.screenX, event.screenY],\n movement: (event) => event instanceof Touch ? null : [event.movementX, event.movementY]\n};\nfunction useMouse(options = {}) {\n const {\n type = \"page\",\n touch = true,\n resetOnTouchEnds = false,\n initialValue = { x: 0, y: 0 },\n window = defaultWindow,\n target = window,\n scroll = true,\n eventFilter\n } = options;\n let _prevMouseEvent = null;\n const x = ref(initialValue.x);\n const y = ref(initialValue.y);\n const sourceType = ref(null);\n const extractor = typeof type === \"function\" ? type : UseMouseBuiltinExtractors[type];\n const mouseHandler = (event) => {\n const result = extractor(event);\n _prevMouseEvent = event;\n if (result) {\n [x.value, y.value] = result;\n sourceType.value = \"mouse\";\n }\n };\n const touchHandler = (event) => {\n if (event.touches.length > 0) {\n const result = extractor(event.touches[0]);\n if (result) {\n [x.value, y.value] = result;\n sourceType.value = \"touch\";\n }\n }\n };\n const scrollHandler = () => {\n if (!_prevMouseEvent || !window)\n return;\n const pos = extractor(_prevMouseEvent);\n if (_prevMouseEvent instanceof MouseEvent && pos) {\n x.value = pos[0] + window.scrollX;\n y.value = pos[1] + window.scrollY;\n }\n };\n const reset = () => {\n x.value = initialValue.x;\n y.value = initialValue.y;\n };\n const mouseHandlerWrapper = eventFilter ? (event) => eventFilter(() => mouseHandler(event), {}) : (event) => mouseHandler(event);\n const touchHandlerWrapper = eventFilter ? (event) => eventFilter(() => touchHandler(event), {}) : (event) => touchHandler(event);\n const scrollHandlerWrapper = eventFilter ? () => eventFilter(() => scrollHandler(), {}) : () => scrollHandler();\n if (target) {\n const listenerOptions = { passive: true };\n useEventListener(target, [\"mousemove\", \"dragover\"], mouseHandlerWrapper, listenerOptions);\n if (touch && type !== \"movement\") {\n useEventListener(target, [\"touchstart\", \"touchmove\"], touchHandlerWrapper, listenerOptions);\n if (resetOnTouchEnds)\n useEventListener(target, \"touchend\", reset, listenerOptions);\n }\n if (scroll && type === \"page\")\n useEventListener(window, \"scroll\", scrollHandlerWrapper, { passive: true });\n }\n return {\n x,\n y,\n sourceType\n };\n}\n\nfunction useMouseInElement(target, options = {}) {\n const {\n handleOutside = true,\n window = defaultWindow\n } = options;\n const type = options.type || \"page\";\n const { x, y, sourceType } = useMouse(options);\n const targetRef = ref(target != null ? target : window == null ? void 0 : window.document.body);\n const elementX = ref(0);\n const elementY = ref(0);\n const elementPositionX = ref(0);\n const elementPositionY = ref(0);\n const elementHeight = ref(0);\n const elementWidth = ref(0);\n const isOutside = ref(true);\n let stop = () => {\n };\n if (window) {\n stop = watch(\n [targetRef, x, y],\n () => {\n const el = unrefElement(targetRef);\n if (!el)\n return;\n const {\n left,\n top,\n width,\n height\n } = el.getBoundingClientRect();\n elementPositionX.value = left + (type === \"page\" ? window.pageXOffset : 0);\n elementPositionY.value = top + (type === \"page\" ? window.pageYOffset : 0);\n elementHeight.value = height;\n elementWidth.value = width;\n const elX = x.value - elementPositionX.value;\n const elY = y.value - elementPositionY.value;\n isOutside.value = width === 0 || height === 0 || elX < 0 || elY < 0 || elX > width || elY > height;\n if (handleOutside || !isOutside.value) {\n elementX.value = elX;\n elementY.value = elY;\n }\n },\n { immediate: true }\n );\n useEventListener(document, \"mouseleave\", () => {\n isOutside.value = true;\n });\n }\n return {\n x,\n y,\n sourceType,\n elementX,\n elementY,\n elementPositionX,\n elementPositionY,\n elementHeight,\n elementWidth,\n isOutside,\n stop\n };\n}\n\nfunction useMousePressed(options = {}) {\n const {\n touch = true,\n drag = true,\n capture = false,\n initialValue = false,\n window = defaultWindow\n } = options;\n const pressed = ref(initialValue);\n const sourceType = ref(null);\n if (!window) {\n return {\n pressed,\n sourceType\n };\n }\n const onPressed = (srcType) => () => {\n pressed.value = true;\n sourceType.value = srcType;\n };\n const onReleased = () => {\n pressed.value = false;\n sourceType.value = null;\n };\n const target = computed(() => unrefElement(options.target) || window);\n useEventListener(target, \"mousedown\", onPressed(\"mouse\"), { passive: true, capture });\n useEventListener(window, \"mouseleave\", onReleased, { passive: true, capture });\n useEventListener(window, \"mouseup\", onReleased, { passive: true, capture });\n if (drag) {\n useEventListener(target, \"dragstart\", onPressed(\"mouse\"), { passive: true, capture });\n useEventListener(window, \"drop\", onReleased, { passive: true, capture });\n useEventListener(window, \"dragend\", onReleased, { passive: true, capture });\n }\n if (touch) {\n useEventListener(target, \"touchstart\", onPressed(\"touch\"), { passive: true, capture });\n useEventListener(window, \"touchend\", onReleased, { passive: true, capture });\n useEventListener(window, \"touchcancel\", onReleased, { passive: true, capture });\n }\n return {\n pressed,\n sourceType\n };\n}\n\nfunction useNavigatorLanguage(options = {}) {\n const { window = defaultWindow } = options;\n const navigator = window == null ? void 0 : window.navigator;\n const isSupported = useSupported(() => navigator && \"language\" in navigator);\n const language = ref(navigator == null ? void 0 : navigator.language);\n useEventListener(window, \"languagechange\", () => {\n if (navigator)\n language.value = navigator.language;\n });\n return {\n isSupported,\n language\n };\n}\n\nfunction useNetwork(options = {}) {\n const { window = defaultWindow } = options;\n const navigator = window == null ? void 0 : window.navigator;\n const isSupported = useSupported(() => navigator && \"connection\" in navigator);\n const isOnline = ref(true);\n const saveData = ref(false);\n const offlineAt = ref(void 0);\n const onlineAt = ref(void 0);\n const downlink = ref(void 0);\n const downlinkMax = ref(void 0);\n const rtt = ref(void 0);\n const effectiveType = ref(void 0);\n const type = ref(\"unknown\");\n const connection = isSupported.value && navigator.connection;\n function updateNetworkInformation() {\n if (!navigator)\n return;\n isOnline.value = navigator.onLine;\n offlineAt.value = isOnline.value ? void 0 : Date.now();\n onlineAt.value = isOnline.value ? Date.now() : void 0;\n if (connection) {\n downlink.value = connection.downlink;\n downlinkMax.value = connection.downlinkMax;\n effectiveType.value = connection.effectiveType;\n rtt.value = connection.rtt;\n saveData.value = connection.saveData;\n type.value = connection.type;\n }\n }\n if (window) {\n useEventListener(window, \"offline\", () => {\n isOnline.value = false;\n offlineAt.value = Date.now();\n });\n useEventListener(window, \"online\", () => {\n isOnline.value = true;\n onlineAt.value = Date.now();\n });\n }\n if (connection)\n useEventListener(connection, \"change\", updateNetworkInformation, false);\n updateNetworkInformation();\n return {\n isSupported,\n isOnline,\n saveData,\n offlineAt,\n onlineAt,\n downlink,\n downlinkMax,\n effectiveType,\n rtt,\n type\n };\n}\n\nfunction useNow(options = {}) {\n const {\n controls: exposeControls = false,\n interval = \"requestAnimationFrame\"\n } = options;\n const now = ref(/* @__PURE__ */ new Date());\n const update = () => now.value = /* @__PURE__ */ new Date();\n const controls = interval === \"requestAnimationFrame\" ? useRafFn(update, { immediate: true }) : useIntervalFn(update, interval, { immediate: true });\n if (exposeControls) {\n return {\n now,\n ...controls\n };\n } else {\n return now;\n }\n}\n\nfunction useObjectUrl(object) {\n const url = ref();\n const release = () => {\n if (url.value)\n URL.revokeObjectURL(url.value);\n url.value = void 0;\n };\n watch(\n () => toValue(object),\n (newObject) => {\n release();\n if (newObject)\n url.value = URL.createObjectURL(newObject);\n },\n { immediate: true }\n );\n tryOnScopeDispose(release);\n return readonly(url);\n}\n\nfunction useClamp(value, min, max) {\n if (typeof value === \"function\" || isReadonly(value))\n return computed(() => clamp(toValue(value), toValue(min), toValue(max)));\n const _value = ref(value);\n return computed({\n get() {\n return _value.value = clamp(_value.value, toValue(min), toValue(max));\n },\n set(value2) {\n _value.value = clamp(value2, toValue(min), toValue(max));\n }\n });\n}\n\nfunction useOffsetPagination(options) {\n const {\n total = Number.POSITIVE_INFINITY,\n pageSize = 10,\n page = 1,\n onPageChange = noop,\n onPageSizeChange = noop,\n onPageCountChange = noop\n } = options;\n const currentPageSize = useClamp(pageSize, 1, Number.POSITIVE_INFINITY);\n const pageCount = computed(() => Math.max(\n 1,\n Math.ceil(toValue(total) / toValue(currentPageSize))\n ));\n const currentPage = useClamp(page, 1, pageCount);\n const isFirstPage = computed(() => currentPage.value === 1);\n const isLastPage = computed(() => currentPage.value === pageCount.value);\n if (isRef(page)) {\n syncRef(page, currentPage, {\n direction: isReadonly(page) ? \"ltr\" : \"both\"\n });\n }\n if (isRef(pageSize)) {\n syncRef(pageSize, currentPageSize, {\n direction: isReadonly(pageSize) ? \"ltr\" : \"both\"\n });\n }\n function prev() {\n currentPage.value--;\n }\n function next() {\n currentPage.value++;\n }\n const returnValue = {\n currentPage,\n currentPageSize,\n pageCount,\n isFirstPage,\n isLastPage,\n prev,\n next\n };\n watch(currentPage, () => {\n onPageChange(reactive(returnValue));\n });\n watch(currentPageSize, () => {\n onPageSizeChange(reactive(returnValue));\n });\n watch(pageCount, () => {\n onPageCountChange(reactive(returnValue));\n });\n return returnValue;\n}\n\nfunction useOnline(options = {}) {\n const { isOnline } = useNetwork(options);\n return isOnline;\n}\n\nfunction usePageLeave(options = {}) {\n const { window = defaultWindow } = options;\n const isLeft = ref(false);\n const handler = (event) => {\n if (!window)\n return;\n event = event || window.event;\n const from = event.relatedTarget || event.toElement;\n isLeft.value = !from;\n };\n if (window) {\n useEventListener(window, \"mouseout\", handler, { passive: true });\n useEventListener(window.document, \"mouseleave\", handler, { passive: true });\n useEventListener(window.document, \"mouseenter\", handler, { passive: true });\n }\n return isLeft;\n}\n\nfunction useScreenOrientation(options = {}) {\n const {\n window = defaultWindow\n } = options;\n const isSupported = useSupported(() => window && \"screen\" in window && \"orientation\" in window.screen);\n const screenOrientation = isSupported.value ? window.screen.orientation : {};\n const orientation = ref(screenOrientation.type);\n const angle = ref(screenOrientation.angle || 0);\n if (isSupported.value) {\n useEventListener(window, \"orientationchange\", () => {\n orientation.value = screenOrientation.type;\n angle.value = screenOrientation.angle;\n });\n }\n const lockOrientation = (type) => {\n if (isSupported.value && typeof screenOrientation.lock === \"function\")\n return screenOrientation.lock(type);\n return Promise.reject(new Error(\"Not supported\"));\n };\n const unlockOrientation = () => {\n if (isSupported.value && typeof screenOrientation.unlock === \"function\")\n screenOrientation.unlock();\n };\n return {\n isSupported,\n orientation,\n angle,\n lockOrientation,\n unlockOrientation\n };\n}\n\nfunction useParallax(target, options = {}) {\n const {\n deviceOrientationTiltAdjust = (i) => i,\n deviceOrientationRollAdjust = (i) => i,\n mouseTiltAdjust = (i) => i,\n mouseRollAdjust = (i) => i,\n window = defaultWindow\n } = options;\n const orientation = reactive(useDeviceOrientation({ window }));\n const screenOrientation = reactive(useScreenOrientation({ window }));\n const {\n elementX: x,\n elementY: y,\n elementWidth: width,\n elementHeight: height\n } = useMouseInElement(target, { handleOutside: false, window });\n const source = computed(() => {\n if (orientation.isSupported && (orientation.alpha != null && orientation.alpha !== 0 || orientation.gamma != null && orientation.gamma !== 0)) {\n return \"deviceOrientation\";\n }\n return \"mouse\";\n });\n const roll = computed(() => {\n if (source.value === \"deviceOrientation\") {\n let value;\n switch (screenOrientation.orientation) {\n case \"landscape-primary\":\n value = orientation.gamma / 90;\n break;\n case \"landscape-secondary\":\n value = -orientation.gamma / 90;\n break;\n case \"portrait-primary\":\n value = -orientation.beta / 90;\n break;\n case \"portrait-secondary\":\n value = orientation.beta / 90;\n break;\n default:\n value = -orientation.beta / 90;\n }\n return deviceOrientationRollAdjust(value);\n } else {\n const value = -(y.value - height.value / 2) / height.value;\n return mouseRollAdjust(value);\n }\n });\n const tilt = computed(() => {\n if (source.value === \"deviceOrientation\") {\n let value;\n switch (screenOrientation.orientation) {\n case \"landscape-primary\":\n value = orientation.beta / 90;\n break;\n case \"landscape-secondary\":\n value = -orientation.beta / 90;\n break;\n case \"portrait-primary\":\n value = orientation.gamma / 90;\n break;\n case \"portrait-secondary\":\n value = -orientation.gamma / 90;\n break;\n default:\n value = orientation.gamma / 90;\n }\n return deviceOrientationTiltAdjust(value);\n } else {\n const value = (x.value - width.value / 2) / width.value;\n return mouseTiltAdjust(value);\n }\n });\n return { roll, tilt, source };\n}\n\nfunction useParentElement(element = useCurrentElement()) {\n const parentElement = shallowRef();\n const update = () => {\n const el = unrefElement(element);\n if (el)\n parentElement.value = el.parentElement;\n };\n tryOnMounted(update);\n watch(() => toValue(element), update);\n return parentElement;\n}\n\nfunction usePerformanceObserver(options, callback) {\n const {\n window = defaultWindow,\n immediate = true,\n ...performanceOptions\n } = options;\n const isSupported = useSupported(() => window && \"PerformanceObserver\" in window);\n let observer;\n const stop = () => {\n observer == null ? void 0 : observer.disconnect();\n };\n const start = () => {\n if (isSupported.value) {\n stop();\n observer = new PerformanceObserver(callback);\n observer.observe(performanceOptions);\n }\n };\n tryOnScopeDispose(stop);\n if (immediate)\n start();\n return {\n isSupported,\n start,\n stop\n };\n}\n\nconst defaultState = {\n x: 0,\n y: 0,\n pointerId: 0,\n pressure: 0,\n tiltX: 0,\n tiltY: 0,\n width: 0,\n height: 0,\n twist: 0,\n pointerType: null\n};\nconst keys = /* @__PURE__ */ Object.keys(defaultState);\nfunction usePointer(options = {}) {\n const {\n target = defaultWindow\n } = options;\n const isInside = ref(false);\n const state = ref(options.initialValue || {});\n Object.assign(state.value, defaultState, state.value);\n const handler = (event) => {\n isInside.value = true;\n if (options.pointerTypes && !options.pointerTypes.includes(event.pointerType))\n return;\n state.value = objectPick(event, keys, false);\n };\n if (target) {\n const listenerOptions = { passive: true };\n useEventListener(target, [\"pointerdown\", \"pointermove\", \"pointerup\"], handler, listenerOptions);\n useEventListener(target, \"pointerleave\", () => isInside.value = false, listenerOptions);\n }\n return {\n ...toRefs(state),\n isInside\n };\n}\n\nfunction usePointerLock(target, options = {}) {\n const { document = defaultDocument } = options;\n const isSupported = useSupported(() => document && \"pointerLockElement\" in document);\n const element = ref();\n const triggerElement = ref();\n let targetElement;\n if (isSupported.value) {\n useEventListener(document, \"pointerlockchange\", () => {\n var _a;\n const currentElement = (_a = document.pointerLockElement) != null ? _a : element.value;\n if (targetElement && currentElement === targetElement) {\n element.value = document.pointerLockElement;\n if (!element.value)\n targetElement = triggerElement.value = null;\n }\n });\n useEventListener(document, \"pointerlockerror\", () => {\n var _a;\n const currentElement = (_a = document.pointerLockElement) != null ? _a : element.value;\n if (targetElement && currentElement === targetElement) {\n const action = document.pointerLockElement ? \"release\" : \"acquire\";\n throw new Error(`Failed to ${action} pointer lock.`);\n }\n });\n }\n async function lock(e) {\n var _a;\n if (!isSupported.value)\n throw new Error(\"Pointer Lock API is not supported by your browser.\");\n triggerElement.value = e instanceof Event ? e.currentTarget : null;\n targetElement = e instanceof Event ? (_a = unrefElement(target)) != null ? _a : triggerElement.value : unrefElement(e);\n if (!targetElement)\n throw new Error(\"Target element undefined.\");\n targetElement.requestPointerLock();\n return await until(element).toBe(targetElement);\n }\n async function unlock() {\n if (!element.value)\n return false;\n document.exitPointerLock();\n await until(element).toBeNull();\n return true;\n }\n return {\n isSupported,\n element,\n triggerElement,\n lock,\n unlock\n };\n}\n\nfunction usePointerSwipe(target, options = {}) {\n const targetRef = toRef(target);\n const {\n threshold = 50,\n onSwipe,\n onSwipeEnd,\n onSwipeStart,\n disableTextSelect = false\n } = options;\n const posStart = reactive({ x: 0, y: 0 });\n const updatePosStart = (x, y) => {\n posStart.x = x;\n posStart.y = y;\n };\n const posEnd = reactive({ x: 0, y: 0 });\n const updatePosEnd = (x, y) => {\n posEnd.x = x;\n posEnd.y = y;\n };\n const distanceX = computed(() => posStart.x - posEnd.x);\n const distanceY = computed(() => posStart.y - posEnd.y);\n const { max, abs } = Math;\n const isThresholdExceeded = computed(() => max(abs(distanceX.value), abs(distanceY.value)) >= threshold);\n const isSwiping = ref(false);\n const isPointerDown = ref(false);\n const direction = computed(() => {\n if (!isThresholdExceeded.value)\n return \"none\";\n if (abs(distanceX.value) > abs(distanceY.value)) {\n return distanceX.value > 0 ? \"left\" : \"right\";\n } else {\n return distanceY.value > 0 ? \"up\" : \"down\";\n }\n });\n const eventIsAllowed = (e) => {\n var _a, _b, _c;\n const isReleasingButton = e.buttons === 0;\n const isPrimaryButton = e.buttons === 1;\n return (_c = (_b = (_a = options.pointerTypes) == null ? void 0 : _a.includes(e.pointerType)) != null ? _b : isReleasingButton || isPrimaryButton) != null ? _c : true;\n };\n const stops = [\n useEventListener(target, \"pointerdown\", (e) => {\n if (!eventIsAllowed(e))\n return;\n isPointerDown.value = true;\n const eventTarget = e.target;\n eventTarget == null ? void 0 : eventTarget.setPointerCapture(e.pointerId);\n const { clientX: x, clientY: y } = e;\n updatePosStart(x, y);\n updatePosEnd(x, y);\n onSwipeStart == null ? void 0 : onSwipeStart(e);\n }),\n useEventListener(target, \"pointermove\", (e) => {\n if (!eventIsAllowed(e))\n return;\n if (!isPointerDown.value)\n return;\n const { clientX: x, clientY: y } = e;\n updatePosEnd(x, y);\n if (!isSwiping.value && isThresholdExceeded.value)\n isSwiping.value = true;\n if (isSwiping.value)\n onSwipe == null ? void 0 : onSwipe(e);\n }),\n useEventListener(target, \"pointerup\", (e) => {\n if (!eventIsAllowed(e))\n return;\n if (isSwiping.value)\n onSwipeEnd == null ? void 0 : onSwipeEnd(e, direction.value);\n isPointerDown.value = false;\n isSwiping.value = false;\n })\n ];\n tryOnMounted(() => {\n var _a, _b, _c, _d, _e, _f, _g, _h;\n (_b = (_a = targetRef.value) == null ? void 0 : _a.style) == null ? void 0 : _b.setProperty(\"touch-action\", \"none\");\n if (disableTextSelect) {\n (_d = (_c = targetRef.value) == null ? void 0 : _c.style) == null ? void 0 : _d.setProperty(\"-webkit-user-select\", \"none\");\n (_f = (_e = targetRef.value) == null ? void 0 : _e.style) == null ? void 0 : _f.setProperty(\"-ms-user-select\", \"none\");\n (_h = (_g = targetRef.value) == null ? void 0 : _g.style) == null ? void 0 : _h.setProperty(\"user-select\", \"none\");\n }\n });\n const stop = () => stops.forEach((s) => s());\n return {\n isSwiping: readonly(isSwiping),\n direction: readonly(direction),\n posStart: readonly(posStart),\n posEnd: readonly(posEnd),\n distanceX,\n distanceY,\n stop\n };\n}\n\nfunction usePreferredColorScheme(options) {\n const isLight = useMediaQuery(\"(prefers-color-scheme: light)\", options);\n const isDark = useMediaQuery(\"(prefers-color-scheme: dark)\", options);\n return computed(() => {\n if (isDark.value)\n return \"dark\";\n if (isLight.value)\n return \"light\";\n return \"no-preference\";\n });\n}\n\nfunction usePreferredContrast(options) {\n const isMore = useMediaQuery(\"(prefers-contrast: more)\", options);\n const isLess = useMediaQuery(\"(prefers-contrast: less)\", options);\n const isCustom = useMediaQuery(\"(prefers-contrast: custom)\", options);\n return computed(() => {\n if (isMore.value)\n return \"more\";\n if (isLess.value)\n return \"less\";\n if (isCustom.value)\n return \"custom\";\n return \"no-preference\";\n });\n}\n\nfunction usePreferredLanguages(options = {}) {\n const { window = defaultWindow } = options;\n if (!window)\n return ref([\"en\"]);\n const navigator = window.navigator;\n const value = ref(navigator.languages);\n useEventListener(window, \"languagechange\", () => {\n value.value = navigator.languages;\n });\n return value;\n}\n\nfunction usePreferredReducedMotion(options) {\n const isReduced = useMediaQuery(\"(prefers-reduced-motion: reduce)\", options);\n return computed(() => {\n if (isReduced.value)\n return \"reduce\";\n return \"no-preference\";\n });\n}\n\nfunction usePrevious(value, initialValue) {\n const previous = shallowRef(initialValue);\n watch(\n toRef(value),\n (_, oldValue) => {\n previous.value = oldValue;\n },\n { flush: \"sync\" }\n );\n return readonly(previous);\n}\n\nconst topVarName = \"--vueuse-safe-area-top\";\nconst rightVarName = \"--vueuse-safe-area-right\";\nconst bottomVarName = \"--vueuse-safe-area-bottom\";\nconst leftVarName = \"--vueuse-safe-area-left\";\nfunction useScreenSafeArea() {\n const top = ref(\"\");\n const right = ref(\"\");\n const bottom = ref(\"\");\n const left = ref(\"\");\n if (isClient) {\n const topCssVar = useCssVar(topVarName);\n const rightCssVar = useCssVar(rightVarName);\n const bottomCssVar = useCssVar(bottomVarName);\n const leftCssVar = useCssVar(leftVarName);\n topCssVar.value = \"env(safe-area-inset-top, 0px)\";\n rightCssVar.value = \"env(safe-area-inset-right, 0px)\";\n bottomCssVar.value = \"env(safe-area-inset-bottom, 0px)\";\n leftCssVar.value = \"env(safe-area-inset-left, 0px)\";\n update();\n useEventListener(\"resize\", useDebounceFn(update));\n }\n function update() {\n top.value = getValue(topVarName);\n right.value = getValue(rightVarName);\n bottom.value = getValue(bottomVarName);\n left.value = getValue(leftVarName);\n }\n return {\n top,\n right,\n bottom,\n left,\n update\n };\n}\nfunction getValue(position) {\n return getComputedStyle(document.documentElement).getPropertyValue(position);\n}\n\nfunction useScriptTag(src, onLoaded = noop, options = {}) {\n const {\n immediate = true,\n manual = false,\n type = \"text/javascript\",\n async = true,\n crossOrigin,\n referrerPolicy,\n noModule,\n defer,\n document = defaultDocument,\n attrs = {}\n } = options;\n const scriptTag = ref(null);\n let _promise = null;\n const loadScript = (waitForScriptLoad) => new Promise((resolve, reject) => {\n const resolveWithElement = (el2) => {\n scriptTag.value = el2;\n resolve(el2);\n return el2;\n };\n if (!document) {\n resolve(false);\n return;\n }\n let shouldAppend = false;\n let el = document.querySelector(`script[src=\"${toValue(src)}\"]`);\n if (!el) {\n el = document.createElement(\"script\");\n el.type = type;\n el.async = async;\n el.src = toValue(src);\n if (defer)\n el.defer = defer;\n if (crossOrigin)\n el.crossOrigin = crossOrigin;\n if (noModule)\n el.noModule = noModule;\n if (referrerPolicy)\n el.referrerPolicy = referrerPolicy;\n Object.entries(attrs).forEach(([name, value]) => el == null ? void 0 : el.setAttribute(name, value));\n shouldAppend = true;\n } else if (el.hasAttribute(\"data-loaded\")) {\n resolveWithElement(el);\n }\n el.addEventListener(\"error\", (event) => reject(event));\n el.addEventListener(\"abort\", (event) => reject(event));\n el.addEventListener(\"load\", () => {\n el.setAttribute(\"data-loaded\", \"true\");\n onLoaded(el);\n resolveWithElement(el);\n });\n if (shouldAppend)\n el = document.head.appendChild(el);\n if (!waitForScriptLoad)\n resolveWithElement(el);\n });\n const load = (waitForScriptLoad = true) => {\n if (!_promise)\n _promise = loadScript(waitForScriptLoad);\n return _promise;\n };\n const unload = () => {\n if (!document)\n return;\n _promise = null;\n if (scriptTag.value)\n scriptTag.value = null;\n const el = document.querySelector(`script[src=\"${toValue(src)}\"]`);\n if (el)\n document.head.removeChild(el);\n };\n if (immediate && !manual)\n tryOnMounted(load);\n if (!manual)\n tryOnUnmounted(unload);\n return { scriptTag, load, unload };\n}\n\nfunction checkOverflowScroll(ele) {\n const style = window.getComputedStyle(ele);\n if (style.overflowX === \"scroll\" || style.overflowY === \"scroll\" || style.overflowX === \"auto\" && ele.clientWidth < ele.scrollWidth || style.overflowY === \"auto\" && ele.clientHeight < ele.scrollHeight) {\n return true;\n } else {\n const parent = ele.parentNode;\n if (!parent || parent.tagName === \"BODY\")\n return false;\n return checkOverflowScroll(parent);\n }\n}\nfunction preventDefault(rawEvent) {\n const e = rawEvent || window.event;\n const _target = e.target;\n if (checkOverflowScroll(_target))\n return false;\n if (e.touches.length > 1)\n return true;\n if (e.preventDefault)\n e.preventDefault();\n return false;\n}\nconst elInitialOverflow = /* @__PURE__ */ new WeakMap();\nfunction useScrollLock(element, initialState = false) {\n const isLocked = ref(initialState);\n let stopTouchMoveListener = null;\n let initialOverflow = \"\";\n watch(toRef(element), (el) => {\n const target = resolveElement(toValue(el));\n if (target) {\n const ele = target;\n if (!elInitialOverflow.get(ele))\n elInitialOverflow.set(ele, ele.style.overflow);\n if (ele.style.overflow !== \"hidden\")\n initialOverflow = ele.style.overflow;\n if (ele.style.overflow === \"hidden\")\n return isLocked.value = true;\n if (isLocked.value)\n return ele.style.overflow = \"hidden\";\n }\n }, {\n immediate: true\n });\n const lock = () => {\n const el = resolveElement(toValue(element));\n if (!el || isLocked.value)\n return;\n if (isIOS) {\n stopTouchMoveListener = useEventListener(\n el,\n \"touchmove\",\n (e) => {\n preventDefault(e);\n },\n { passive: false }\n );\n }\n el.style.overflow = \"hidden\";\n isLocked.value = true;\n };\n const unlock = () => {\n const el = resolveElement(toValue(element));\n if (!el || !isLocked.value)\n return;\n isIOS && (stopTouchMoveListener == null ? void 0 : stopTouchMoveListener());\n el.style.overflow = initialOverflow;\n elInitialOverflow.delete(el);\n isLocked.value = false;\n };\n tryOnScopeDispose(unlock);\n return computed({\n get() {\n return isLocked.value;\n },\n set(v) {\n if (v)\n lock();\n else unlock();\n }\n });\n}\n\nfunction useSessionStorage(key, initialValue, options = {}) {\n const { window = defaultWindow } = options;\n return useStorage(key, initialValue, window == null ? void 0 : window.sessionStorage, options);\n}\n\nfunction useShare(shareOptions = {}, options = {}) {\n const { navigator = defaultNavigator } = options;\n const _navigator = navigator;\n const isSupported = useSupported(() => _navigator && \"canShare\" in _navigator);\n const share = async (overrideOptions = {}) => {\n if (isSupported.value) {\n const data = {\n ...toValue(shareOptions),\n ...toValue(overrideOptions)\n };\n let granted = true;\n if (data.files && _navigator.canShare)\n granted = _navigator.canShare({ files: data.files });\n if (granted)\n return _navigator.share(data);\n }\n };\n return {\n isSupported,\n share\n };\n}\n\nconst defaultSortFn = (source, compareFn) => source.sort(compareFn);\nconst defaultCompare = (a, b) => a - b;\nfunction useSorted(...args) {\n var _a, _b, _c, _d;\n const [source] = args;\n let compareFn = defaultCompare;\n let options = {};\n if (args.length === 2) {\n if (typeof args[1] === \"object\") {\n options = args[1];\n compareFn = (_a = options.compareFn) != null ? _a : defaultCompare;\n } else {\n compareFn = (_b = args[1]) != null ? _b : defaultCompare;\n }\n } else if (args.length > 2) {\n compareFn = (_c = args[1]) != null ? _c : defaultCompare;\n options = (_d = args[2]) != null ? _d : {};\n }\n const {\n dirty = false,\n sortFn = defaultSortFn\n } = options;\n if (!dirty)\n return computed(() => sortFn([...toValue(source)], compareFn));\n watchEffect(() => {\n const result = sortFn(toValue(source), compareFn);\n if (isRef(source))\n source.value = result;\n else\n source.splice(0, source.length, ...result);\n });\n return source;\n}\n\nfunction useSpeechRecognition(options = {}) {\n const {\n interimResults = true,\n continuous = true,\n window = defaultWindow\n } = options;\n const lang = toRef(options.lang || \"en-US\");\n const isListening = ref(false);\n const isFinal = ref(false);\n const result = ref(\"\");\n const error = shallowRef(void 0);\n const toggle = (value = !isListening.value) => {\n isListening.value = value;\n };\n const start = () => {\n isListening.value = true;\n };\n const stop = () => {\n isListening.value = false;\n };\n const SpeechRecognition = window && (window.SpeechRecognition || window.webkitSpeechRecognition);\n const isSupported = useSupported(() => SpeechRecognition);\n let recognition;\n if (isSupported.value) {\n recognition = new SpeechRecognition();\n recognition.continuous = continuous;\n recognition.interimResults = interimResults;\n recognition.lang = toValue(lang);\n recognition.onstart = () => {\n isFinal.value = false;\n };\n watch(lang, (lang2) => {\n if (recognition && !isListening.value)\n recognition.lang = lang2;\n });\n recognition.onresult = (event) => {\n const currentResult = event.results[event.resultIndex];\n const { transcript } = currentResult[0];\n isFinal.value = currentResult.isFinal;\n result.value = transcript;\n error.value = void 0;\n };\n recognition.onerror = (event) => {\n error.value = event;\n };\n recognition.onend = () => {\n isListening.value = false;\n recognition.lang = toValue(lang);\n };\n watch(isListening, () => {\n if (isListening.value)\n recognition.start();\n else\n recognition.stop();\n });\n }\n tryOnScopeDispose(() => {\n isListening.value = false;\n });\n return {\n isSupported,\n isListening,\n isFinal,\n recognition,\n result,\n error,\n toggle,\n start,\n stop\n };\n}\n\nfunction useSpeechSynthesis(text, options = {}) {\n const {\n pitch = 1,\n rate = 1,\n volume = 1,\n window = defaultWindow\n } = options;\n const synth = window && window.speechSynthesis;\n const isSupported = useSupported(() => synth);\n const isPlaying = ref(false);\n const status = ref(\"init\");\n const spokenText = toRef(text || \"\");\n const lang = toRef(options.lang || \"en-US\");\n const error = shallowRef(void 0);\n const toggle = (value = !isPlaying.value) => {\n isPlaying.value = value;\n };\n const bindEventsForUtterance = (utterance2) => {\n utterance2.lang = toValue(lang);\n utterance2.voice = toValue(options.voice) || null;\n utterance2.pitch = toValue(pitch);\n utterance2.rate = toValue(rate);\n utterance2.volume = volume;\n utterance2.onstart = () => {\n isPlaying.value = true;\n status.value = \"play\";\n };\n utterance2.onpause = () => {\n isPlaying.value = false;\n status.value = \"pause\";\n };\n utterance2.onresume = () => {\n isPlaying.value = true;\n status.value = \"play\";\n };\n utterance2.onend = () => {\n isPlaying.value = false;\n status.value = \"end\";\n };\n utterance2.onerror = (event) => {\n error.value = event;\n };\n };\n const utterance = computed(() => {\n isPlaying.value = false;\n status.value = \"init\";\n const newUtterance = new SpeechSynthesisUtterance(spokenText.value);\n bindEventsForUtterance(newUtterance);\n return newUtterance;\n });\n const speak = () => {\n synth.cancel();\n utterance && synth.speak(utterance.value);\n };\n const stop = () => {\n synth.cancel();\n isPlaying.value = false;\n };\n if (isSupported.value) {\n bindEventsForUtterance(utterance.value);\n watch(lang, (lang2) => {\n if (utterance.value && !isPlaying.value)\n utterance.value.lang = lang2;\n });\n if (options.voice) {\n watch(options.voice, () => {\n synth.cancel();\n });\n }\n watch(isPlaying, () => {\n if (isPlaying.value)\n synth.resume();\n else\n synth.pause();\n });\n }\n tryOnScopeDispose(() => {\n isPlaying.value = false;\n });\n return {\n isSupported,\n isPlaying,\n status,\n utterance,\n error,\n stop,\n toggle,\n speak\n };\n}\n\nfunction useStepper(steps, initialStep) {\n const stepsRef = ref(steps);\n const stepNames = computed(() => Array.isArray(stepsRef.value) ? stepsRef.value : Object.keys(stepsRef.value));\n const index = ref(stepNames.value.indexOf(initialStep != null ? initialStep : stepNames.value[0]));\n const current = computed(() => at(index.value));\n const isFirst = computed(() => index.value === 0);\n const isLast = computed(() => index.value === stepNames.value.length - 1);\n const next = computed(() => stepNames.value[index.value + 1]);\n const previous = computed(() => stepNames.value[index.value - 1]);\n function at(index2) {\n if (Array.isArray(stepsRef.value))\n return stepsRef.value[index2];\n return stepsRef.value[stepNames.value[index2]];\n }\n function get(step) {\n if (!stepNames.value.includes(step))\n return;\n return at(stepNames.value.indexOf(step));\n }\n function goTo(step) {\n if (stepNames.value.includes(step))\n index.value = stepNames.value.indexOf(step);\n }\n function goToNext() {\n if (isLast.value)\n return;\n index.value++;\n }\n function goToPrevious() {\n if (isFirst.value)\n return;\n index.value--;\n }\n function goBackTo(step) {\n if (isAfter(step))\n goTo(step);\n }\n function isNext(step) {\n return stepNames.value.indexOf(step) === index.value + 1;\n }\n function isPrevious(step) {\n return stepNames.value.indexOf(step) === index.value - 1;\n }\n function isCurrent(step) {\n return stepNames.value.indexOf(step) === index.value;\n }\n function isBefore(step) {\n return index.value < stepNames.value.indexOf(step);\n }\n function isAfter(step) {\n return index.value > stepNames.value.indexOf(step);\n }\n return {\n steps: stepsRef,\n stepNames,\n index,\n current,\n next,\n previous,\n isFirst,\n isLast,\n at,\n get,\n goTo,\n goToNext,\n goToPrevious,\n goBackTo,\n isNext,\n isPrevious,\n isCurrent,\n isBefore,\n isAfter\n };\n}\n\nfunction useStorageAsync(key, initialValue, storage, options = {}) {\n var _a;\n const {\n flush = \"pre\",\n deep = true,\n listenToStorageChanges = true,\n writeDefaults = true,\n mergeDefaults = false,\n shallow,\n window = defaultWindow,\n eventFilter,\n onError = (e) => {\n console.error(e);\n }\n } = options;\n const rawInit = toValue(initialValue);\n const type = guessSerializerType(rawInit);\n const data = (shallow ? shallowRef : ref)(initialValue);\n const serializer = (_a = options.serializer) != null ? _a : StorageSerializers[type];\n if (!storage) {\n try {\n storage = getSSRHandler(\"getDefaultStorageAsync\", () => {\n var _a2;\n return (_a2 = defaultWindow) == null ? void 0 : _a2.localStorage;\n })();\n } catch (e) {\n onError(e);\n }\n }\n async function read(event) {\n if (!storage || event && event.key !== key)\n return;\n try {\n const rawValue = event ? event.newValue : await storage.getItem(key);\n if (rawValue == null) {\n data.value = rawInit;\n if (writeDefaults && rawInit !== null)\n await storage.setItem(key, await serializer.write(rawInit));\n } else if (mergeDefaults) {\n const value = await serializer.read(rawValue);\n if (typeof mergeDefaults === \"function\")\n data.value = mergeDefaults(value, rawInit);\n else if (type === \"object\" && !Array.isArray(value))\n data.value = { ...rawInit, ...value };\n else data.value = value;\n } else {\n data.value = await serializer.read(rawValue);\n }\n } catch (e) {\n onError(e);\n }\n }\n read();\n if (window && listenToStorageChanges)\n useEventListener(window, \"storage\", (e) => Promise.resolve().then(() => read(e)));\n if (storage) {\n watchWithFilter(\n data,\n async () => {\n try {\n if (data.value == null)\n await storage.removeItem(key);\n else\n await storage.setItem(key, await serializer.write(data.value));\n } catch (e) {\n onError(e);\n }\n },\n {\n flush,\n deep,\n eventFilter\n }\n );\n }\n return data;\n}\n\nlet _id = 0;\nfunction useStyleTag(css, options = {}) {\n const isLoaded = ref(false);\n const {\n document = defaultDocument,\n immediate = true,\n manual = false,\n id = `vueuse_styletag_${++_id}`\n } = options;\n const cssRef = ref(css);\n let stop = () => {\n };\n const load = () => {\n if (!document)\n return;\n const el = document.getElementById(id) || document.createElement(\"style\");\n if (!el.isConnected) {\n el.id = id;\n if (options.media)\n el.media = options.media;\n document.head.appendChild(el);\n }\n if (isLoaded.value)\n return;\n stop = watch(\n cssRef,\n (value) => {\n el.textContent = value;\n },\n { immediate: true }\n );\n isLoaded.value = true;\n };\n const unload = () => {\n if (!document || !isLoaded.value)\n return;\n stop();\n document.head.removeChild(document.getElementById(id));\n isLoaded.value = false;\n };\n if (immediate && !manual)\n tryOnMounted(load);\n if (!manual)\n tryOnScopeDispose(unload);\n return {\n id,\n css: cssRef,\n unload,\n load,\n isLoaded: readonly(isLoaded)\n };\n}\n\nfunction useSwipe(target, options = {}) {\n const {\n threshold = 50,\n onSwipe,\n onSwipeEnd,\n onSwipeStart,\n passive = true,\n window = defaultWindow\n } = options;\n const coordsStart = reactive({ x: 0, y: 0 });\n const coordsEnd = reactive({ x: 0, y: 0 });\n const diffX = computed(() => coordsStart.x - coordsEnd.x);\n const diffY = computed(() => coordsStart.y - coordsEnd.y);\n const { max, abs } = Math;\n const isThresholdExceeded = computed(() => max(abs(diffX.value), abs(diffY.value)) >= threshold);\n const isSwiping = ref(false);\n const direction = computed(() => {\n if (!isThresholdExceeded.value)\n return \"none\";\n if (abs(diffX.value) > abs(diffY.value)) {\n return diffX.value > 0 ? \"left\" : \"right\";\n } else {\n return diffY.value > 0 ? \"up\" : \"down\";\n }\n });\n const getTouchEventCoords = (e) => [e.touches[0].clientX, e.touches[0].clientY];\n const updateCoordsStart = (x, y) => {\n coordsStart.x = x;\n coordsStart.y = y;\n };\n const updateCoordsEnd = (x, y) => {\n coordsEnd.x = x;\n coordsEnd.y = y;\n };\n let listenerOptions;\n const isPassiveEventSupported = checkPassiveEventSupport(window == null ? void 0 : window.document);\n if (!passive)\n listenerOptions = isPassiveEventSupported ? { passive: false, capture: true } : { capture: true };\n else\n listenerOptions = isPassiveEventSupported ? { passive: true } : { capture: false };\n const onTouchEnd = (e) => {\n if (isSwiping.value)\n onSwipeEnd == null ? void 0 : onSwipeEnd(e, direction.value);\n isSwiping.value = false;\n };\n const stops = [\n useEventListener(target, \"touchstart\", (e) => {\n if (e.touches.length !== 1)\n return;\n if (listenerOptions.capture && !listenerOptions.passive)\n e.preventDefault();\n const [x, y] = getTouchEventCoords(e);\n updateCoordsStart(x, y);\n updateCoordsEnd(x, y);\n onSwipeStart == null ? void 0 : onSwipeStart(e);\n }, listenerOptions),\n useEventListener(target, \"touchmove\", (e) => {\n if (e.touches.length !== 1)\n return;\n const [x, y] = getTouchEventCoords(e);\n updateCoordsEnd(x, y);\n if (!isSwiping.value && isThresholdExceeded.value)\n isSwiping.value = true;\n if (isSwiping.value)\n onSwipe == null ? void 0 : onSwipe(e);\n }, listenerOptions),\n useEventListener(target, [\"touchend\", \"touchcancel\"], onTouchEnd, listenerOptions)\n ];\n const stop = () => stops.forEach((s) => s());\n return {\n isPassiveEventSupported,\n isSwiping,\n direction,\n coordsStart,\n coordsEnd,\n lengthX: diffX,\n lengthY: diffY,\n stop\n };\n}\nfunction checkPassiveEventSupport(document) {\n if (!document)\n return false;\n let supportsPassive = false;\n const optionsBlock = {\n get passive() {\n supportsPassive = true;\n return false;\n }\n };\n document.addEventListener(\"x\", noop, optionsBlock);\n document.removeEventListener(\"x\", noop);\n return supportsPassive;\n}\n\nfunction useTemplateRefsList() {\n const refs = ref([]);\n refs.value.set = (el) => {\n if (el)\n refs.value.push(el);\n };\n onBeforeUpdate(() => {\n refs.value.length = 0;\n });\n return refs;\n}\n\nfunction useTextDirection(options = {}) {\n const {\n document = defaultDocument,\n selector = \"html\",\n observe = false,\n initialValue = \"ltr\"\n } = options;\n function getValue() {\n var _a, _b;\n return (_b = (_a = document == null ? void 0 : document.querySelector(selector)) == null ? void 0 : _a.getAttribute(\"dir\")) != null ? _b : initialValue;\n }\n const dir = ref(getValue());\n tryOnMounted(() => dir.value = getValue());\n if (observe && document) {\n useMutationObserver(\n document.querySelector(selector),\n () => dir.value = getValue(),\n { attributes: true }\n );\n }\n return computed({\n get() {\n return dir.value;\n },\n set(v) {\n var _a, _b;\n dir.value = v;\n if (!document)\n return;\n if (dir.value)\n (_a = document.querySelector(selector)) == null ? void 0 : _a.setAttribute(\"dir\", dir.value);\n else\n (_b = document.querySelector(selector)) == null ? void 0 : _b.removeAttribute(\"dir\");\n }\n });\n}\n\nfunction getRangesFromSelection(selection) {\n var _a;\n const rangeCount = (_a = selection.rangeCount) != null ? _a : 0;\n return Array.from({ length: rangeCount }, (_, i) => selection.getRangeAt(i));\n}\nfunction useTextSelection(options = {}) {\n const {\n window = defaultWindow\n } = options;\n const selection = ref(null);\n const text = computed(() => {\n var _a, _b;\n return (_b = (_a = selection.value) == null ? void 0 : _a.toString()) != null ? _b : \"\";\n });\n const ranges = computed(() => selection.value ? getRangesFromSelection(selection.value) : []);\n const rects = computed(() => ranges.value.map((range) => range.getBoundingClientRect()));\n function onSelectionChange() {\n selection.value = null;\n if (window)\n selection.value = window.getSelection();\n }\n if (window)\n useEventListener(window.document, \"selectionchange\", onSelectionChange);\n return {\n text,\n rects,\n ranges,\n selection\n };\n}\n\nfunction useTextareaAutosize(options) {\n var _a;\n const textarea = ref(options == null ? void 0 : options.element);\n const input = ref(options == null ? void 0 : options.input);\n const styleProp = (_a = options == null ? void 0 : options.styleProp) != null ? _a : \"height\";\n const textareaScrollHeight = ref(1);\n function triggerResize() {\n var _a2;\n if (!textarea.value)\n return;\n let height = \"\";\n textarea.value.style[styleProp] = \"1px\";\n textareaScrollHeight.value = (_a2 = textarea.value) == null ? void 0 : _a2.scrollHeight;\n if (options == null ? void 0 : options.styleTarget)\n toValue(options.styleTarget).style[styleProp] = `${textareaScrollHeight.value}px`;\n else\n height = `${textareaScrollHeight.value}px`;\n textarea.value.style[styleProp] = height;\n }\n watch([input, textarea], () => nextTick(triggerResize), { immediate: true });\n watch(textareaScrollHeight, () => {\n var _a2;\n return (_a2 = options == null ? void 0 : options.onResize) == null ? void 0 : _a2.call(options);\n });\n useResizeObserver(textarea, () => triggerResize());\n if (options == null ? void 0 : options.watch)\n watch(options.watch, triggerResize, { immediate: true, deep: true });\n return {\n textarea,\n input,\n triggerResize\n };\n}\n\nfunction useThrottledRefHistory(source, options = {}) {\n const { throttle = 200, trailing = true } = options;\n const filter = throttleFilter(throttle, trailing);\n const history = useRefHistory(source, { ...options, eventFilter: filter });\n return {\n ...history\n };\n}\n\nconst DEFAULT_UNITS = [\n { max: 6e4, value: 1e3, name: \"second\" },\n { max: 276e4, value: 6e4, name: \"minute\" },\n { max: 72e6, value: 36e5, name: \"hour\" },\n { max: 5184e5, value: 864e5, name: \"day\" },\n { max: 24192e5, value: 6048e5, name: \"week\" },\n { max: 28512e6, value: 2592e6, name: \"month\" },\n { max: Number.POSITIVE_INFINITY, value: 31536e6, name: \"year\" }\n];\nconst DEFAULT_MESSAGES = {\n justNow: \"just now\",\n past: (n) => n.match(/\\d/) ? `${n} ago` : n,\n future: (n) => n.match(/\\d/) ? `in ${n}` : n,\n month: (n, past) => n === 1 ? past ? \"last month\" : \"next month\" : `${n} month${n > 1 ? \"s\" : \"\"}`,\n year: (n, past) => n === 1 ? past ? \"last year\" : \"next year\" : `${n} year${n > 1 ? \"s\" : \"\"}`,\n day: (n, past) => n === 1 ? past ? \"yesterday\" : \"tomorrow\" : `${n} day${n > 1 ? \"s\" : \"\"}`,\n week: (n, past) => n === 1 ? past ? \"last week\" : \"next week\" : `${n} week${n > 1 ? \"s\" : \"\"}`,\n hour: (n) => `${n} hour${n > 1 ? \"s\" : \"\"}`,\n minute: (n) => `${n} minute${n > 1 ? \"s\" : \"\"}`,\n second: (n) => `${n} second${n > 1 ? \"s\" : \"\"}`,\n invalid: \"\"\n};\nfunction DEFAULT_FORMATTER(date) {\n return date.toISOString().slice(0, 10);\n}\nfunction useTimeAgo(time, options = {}) {\n const {\n controls: exposeControls = false,\n updateInterval = 3e4\n } = options;\n const { now, ...controls } = useNow({ interval: updateInterval, controls: true });\n const timeAgo = computed(() => formatTimeAgo(new Date(toValue(time)), options, toValue(now)));\n if (exposeControls) {\n return {\n timeAgo,\n ...controls\n };\n } else {\n return timeAgo;\n }\n}\nfunction formatTimeAgo(from, options = {}, now = Date.now()) {\n var _a;\n const {\n max,\n messages = DEFAULT_MESSAGES,\n fullDateFormatter = DEFAULT_FORMATTER,\n units = DEFAULT_UNITS,\n showSecond = false,\n rounding = \"round\"\n } = options;\n const roundFn = typeof rounding === \"number\" ? (n) => +n.toFixed(rounding) : Math[rounding];\n const diff = +now - +from;\n const absDiff = Math.abs(diff);\n function getValue(diff2, unit) {\n return roundFn(Math.abs(diff2) / unit.value);\n }\n function format(diff2, unit) {\n const val = getValue(diff2, unit);\n const past = diff2 > 0;\n const str = applyFormat(unit.name, val, past);\n return applyFormat(past ? \"past\" : \"future\", str, past);\n }\n function applyFormat(name, val, isPast) {\n const formatter = messages[name];\n if (typeof formatter === \"function\")\n return formatter(val, isPast);\n return formatter.replace(\"{0}\", val.toString());\n }\n if (absDiff < 6e4 && !showSecond)\n return messages.justNow;\n if (typeof max === \"number\" && absDiff > max)\n return fullDateFormatter(new Date(from));\n if (typeof max === \"string\") {\n const unitMax = (_a = units.find((i) => i.name === max)) == null ? void 0 : _a.max;\n if (unitMax && absDiff > unitMax)\n return fullDateFormatter(new Date(from));\n }\n for (const [idx, unit] of units.entries()) {\n const val = getValue(diff, unit);\n if (val <= 0 && units[idx - 1])\n return format(diff, units[idx - 1]);\n if (absDiff < unit.max)\n return format(diff, unit);\n }\n return messages.invalid;\n}\n\nfunction useTimeoutPoll(fn, interval, timeoutPollOptions) {\n const { start } = useTimeoutFn(loop, interval, { immediate: false });\n const isActive = ref(false);\n async function loop() {\n if (!isActive.value)\n return;\n await fn();\n start();\n }\n function resume() {\n if (!isActive.value) {\n isActive.value = true;\n loop();\n }\n }\n function pause() {\n isActive.value = false;\n }\n if (timeoutPollOptions == null ? void 0 : timeoutPollOptions.immediate)\n resume();\n tryOnScopeDispose(pause);\n return {\n isActive,\n pause,\n resume\n };\n}\n\nfunction useTimestamp(options = {}) {\n const {\n controls: exposeControls = false,\n offset = 0,\n immediate = true,\n interval = \"requestAnimationFrame\",\n callback\n } = options;\n const ts = ref(timestamp() + offset);\n const update = () => ts.value = timestamp() + offset;\n const cb = callback ? () => {\n update();\n callback(ts.value);\n } : update;\n const controls = interval === \"requestAnimationFrame\" ? useRafFn(cb, { immediate }) : useIntervalFn(cb, interval, { immediate });\n if (exposeControls) {\n return {\n timestamp: ts,\n ...controls\n };\n } else {\n return ts;\n }\n}\n\nfunction useTitle(newTitle = null, options = {}) {\n var _a, _b, _c;\n const {\n document = defaultDocument,\n restoreOnUnmount = (t) => t\n } = options;\n const originalTitle = (_a = document == null ? void 0 : document.title) != null ? _a : \"\";\n const title = toRef((_b = newTitle != null ? newTitle : document == null ? void 0 : document.title) != null ? _b : null);\n const isReadonly = newTitle && typeof newTitle === \"function\";\n function format(t) {\n if (!(\"titleTemplate\" in options))\n return t;\n const template = options.titleTemplate || \"%s\";\n return typeof template === \"function\" ? template(t) : toValue(template).replace(/%s/g, t);\n }\n watch(\n title,\n (t, o) => {\n if (t !== o && document)\n document.title = format(typeof t === \"string\" ? t : \"\");\n },\n { immediate: true }\n );\n if (options.observe && !options.titleTemplate && document && !isReadonly) {\n useMutationObserver(\n (_c = document.head) == null ? void 0 : _c.querySelector(\"title\"),\n () => {\n if (document && document.title !== title.value)\n title.value = format(document.title);\n },\n { childList: true }\n );\n }\n tryOnBeforeUnmount(() => {\n if (restoreOnUnmount) {\n const restoredTitle = restoreOnUnmount(originalTitle, title.value || \"\");\n if (restoredTitle != null && document)\n document.title = restoredTitle;\n }\n });\n return title;\n}\n\nconst _TransitionPresets = {\n easeInSine: [0.12, 0, 0.39, 0],\n easeOutSine: [0.61, 1, 0.88, 1],\n easeInOutSine: [0.37, 0, 0.63, 1],\n easeInQuad: [0.11, 0, 0.5, 0],\n easeOutQuad: [0.5, 1, 0.89, 1],\n easeInOutQuad: [0.45, 0, 0.55, 1],\n easeInCubic: [0.32, 0, 0.67, 0],\n easeOutCubic: [0.33, 1, 0.68, 1],\n easeInOutCubic: [0.65, 0, 0.35, 1],\n easeInQuart: [0.5, 0, 0.75, 0],\n easeOutQuart: [0.25, 1, 0.5, 1],\n easeInOutQuart: [0.76, 0, 0.24, 1],\n easeInQuint: [0.64, 0, 0.78, 0],\n easeOutQuint: [0.22, 1, 0.36, 1],\n easeInOutQuint: [0.83, 0, 0.17, 1],\n easeInExpo: [0.7, 0, 0.84, 0],\n easeOutExpo: [0.16, 1, 0.3, 1],\n easeInOutExpo: [0.87, 0, 0.13, 1],\n easeInCirc: [0.55, 0, 1, 0.45],\n easeOutCirc: [0, 0.55, 0.45, 1],\n easeInOutCirc: [0.85, 0, 0.15, 1],\n easeInBack: [0.36, 0, 0.66, -0.56],\n easeOutBack: [0.34, 1.56, 0.64, 1],\n easeInOutBack: [0.68, -0.6, 0.32, 1.6]\n};\nconst TransitionPresets = /* @__PURE__ */ Object.assign({}, { linear: identity }, _TransitionPresets);\nfunction createEasingFunction([p0, p1, p2, p3]) {\n const a = (a1, a2) => 1 - 3 * a2 + 3 * a1;\n const b = (a1, a2) => 3 * a2 - 6 * a1;\n const c = (a1) => 3 * a1;\n const calcBezier = (t, a1, a2) => ((a(a1, a2) * t + b(a1, a2)) * t + c(a1)) * t;\n const getSlope = (t, a1, a2) => 3 * a(a1, a2) * t * t + 2 * b(a1, a2) * t + c(a1);\n const getTforX = (x) => {\n let aGuessT = x;\n for (let i = 0; i < 4; ++i) {\n const currentSlope = getSlope(aGuessT, p0, p2);\n if (currentSlope === 0)\n return aGuessT;\n const currentX = calcBezier(aGuessT, p0, p2) - x;\n aGuessT -= currentX / currentSlope;\n }\n return aGuessT;\n };\n return (x) => p0 === p1 && p2 === p3 ? x : calcBezier(getTforX(x), p1, p3);\n}\nfunction lerp(a, b, alpha) {\n return a + alpha * (b - a);\n}\nfunction toVec(t) {\n return (typeof t === \"number\" ? [t] : t) || [];\n}\nfunction executeTransition(source, from, to, options = {}) {\n var _a, _b;\n const fromVal = toValue(from);\n const toVal = toValue(to);\n const v1 = toVec(fromVal);\n const v2 = toVec(toVal);\n const duration = (_a = toValue(options.duration)) != null ? _a : 1e3;\n const startedAt = Date.now();\n const endAt = Date.now() + duration;\n const trans = typeof options.transition === \"function\" ? options.transition : (_b = toValue(options.transition)) != null ? _b : identity;\n const ease = typeof trans === \"function\" ? trans : createEasingFunction(trans);\n return new Promise((resolve) => {\n source.value = fromVal;\n const tick = () => {\n var _a2;\n if ((_a2 = options.abort) == null ? void 0 : _a2.call(options)) {\n resolve();\n return;\n }\n const now = Date.now();\n const alpha = ease((now - startedAt) / duration);\n const arr = toVec(source.value).map((n, i) => lerp(v1[i], v2[i], alpha));\n if (Array.isArray(source.value))\n source.value = arr.map((n, i) => {\n var _a3, _b2;\n return lerp((_a3 = v1[i]) != null ? _a3 : 0, (_b2 = v2[i]) != null ? _b2 : 0, alpha);\n });\n else if (typeof source.value === \"number\")\n source.value = arr[0];\n if (now < endAt) {\n requestAnimationFrame(tick);\n } else {\n source.value = toVal;\n resolve();\n }\n };\n tick();\n });\n}\nfunction useTransition(source, options = {}) {\n let currentId = 0;\n const sourceVal = () => {\n const v = toValue(source);\n return typeof v === \"number\" ? v : v.map(toValue);\n };\n const outputRef = ref(sourceVal());\n watch(sourceVal, async (to) => {\n var _a, _b;\n if (toValue(options.disabled))\n return;\n const id = ++currentId;\n if (options.delay)\n await promiseTimeout(toValue(options.delay));\n if (id !== currentId)\n return;\n const toVal = Array.isArray(to) ? to.map(toValue) : toValue(to);\n (_a = options.onStarted) == null ? void 0 : _a.call(options);\n await executeTransition(outputRef, outputRef.value, toVal, {\n ...options,\n abort: () => {\n var _a2;\n return id !== currentId || ((_a2 = options.abort) == null ? void 0 : _a2.call(options));\n }\n });\n (_b = options.onFinished) == null ? void 0 : _b.call(options);\n }, { deep: true });\n watch(() => toValue(options.disabled), (disabled) => {\n if (disabled) {\n currentId++;\n outputRef.value = sourceVal();\n }\n });\n tryOnScopeDispose(() => {\n currentId++;\n });\n return computed(() => toValue(options.disabled) ? sourceVal() : outputRef.value);\n}\n\nfunction useUrlSearchParams(mode = \"history\", options = {}) {\n const {\n initialValue = {},\n removeNullishValues = true,\n removeFalsyValues = false,\n write: enableWrite = true,\n window = defaultWindow\n } = options;\n if (!window)\n return reactive(initialValue);\n const state = reactive({});\n function getRawParams() {\n if (mode === \"history\") {\n return window.location.search || \"\";\n } else if (mode === \"hash\") {\n const hash = window.location.hash || \"\";\n const index = hash.indexOf(\"?\");\n return index > 0 ? hash.slice(index) : \"\";\n } else {\n return (window.location.hash || \"\").replace(/^#/, \"\");\n }\n }\n function constructQuery(params) {\n const stringified = params.toString();\n if (mode === \"history\")\n return `${stringified ? `?${stringified}` : \"\"}${window.location.hash || \"\"}`;\n if (mode === \"hash-params\")\n return `${window.location.search || \"\"}${stringified ? `#${stringified}` : \"\"}`;\n const hash = window.location.hash || \"#\";\n const index = hash.indexOf(\"?\");\n if (index > 0)\n return `${hash.slice(0, index)}${stringified ? `?${stringified}` : \"\"}`;\n return `${hash}${stringified ? `?${stringified}` : \"\"}`;\n }\n function read() {\n return new URLSearchParams(getRawParams());\n }\n function updateState(params) {\n const unusedKeys = new Set(Object.keys(state));\n for (const key of params.keys()) {\n const paramsForKey = params.getAll(key);\n state[key] = paramsForKey.length > 1 ? paramsForKey : params.get(key) || \"\";\n unusedKeys.delete(key);\n }\n Array.from(unusedKeys).forEach((key) => delete state[key]);\n }\n const { pause, resume } = pausableWatch(\n state,\n () => {\n const params = new URLSearchParams(\"\");\n Object.keys(state).forEach((key) => {\n const mapEntry = state[key];\n if (Array.isArray(mapEntry))\n mapEntry.forEach((value) => params.append(key, value));\n else if (removeNullishValues && mapEntry == null)\n params.delete(key);\n else if (removeFalsyValues && !mapEntry)\n params.delete(key);\n else\n params.set(key, mapEntry);\n });\n write(params);\n },\n { deep: true }\n );\n function write(params, shouldUpdate) {\n pause();\n if (shouldUpdate)\n updateState(params);\n window.history.replaceState(\n window.history.state,\n window.document.title,\n window.location.pathname + constructQuery(params)\n );\n resume();\n }\n function onChanged() {\n if (!enableWrite)\n return;\n write(read(), true);\n }\n useEventListener(window, \"popstate\", onChanged, false);\n if (mode !== \"history\")\n useEventListener(window, \"hashchange\", onChanged, false);\n const initial = read();\n if (initial.keys().next().value)\n updateState(initial);\n else\n Object.assign(state, initialValue);\n return state;\n}\n\nfunction useUserMedia(options = {}) {\n var _a, _b;\n const enabled = ref((_a = options.enabled) != null ? _a : false);\n const autoSwitch = ref((_b = options.autoSwitch) != null ? _b : true);\n const constraints = ref(options.constraints);\n const { navigator = defaultNavigator } = options;\n const isSupported = useSupported(() => {\n var _a2;\n return (_a2 = navigator == null ? void 0 : navigator.mediaDevices) == null ? void 0 : _a2.getUserMedia;\n });\n const stream = shallowRef();\n function getDeviceOptions(type) {\n switch (type) {\n case \"video\": {\n if (constraints.value)\n return constraints.value.video || false;\n break;\n }\n case \"audio\": {\n if (constraints.value)\n return constraints.value.audio || false;\n break;\n }\n }\n }\n async function _start() {\n if (!isSupported.value || stream.value)\n return;\n stream.value = await navigator.mediaDevices.getUserMedia({\n video: getDeviceOptions(\"video\"),\n audio: getDeviceOptions(\"audio\")\n });\n return stream.value;\n }\n function _stop() {\n var _a2;\n (_a2 = stream.value) == null ? void 0 : _a2.getTracks().forEach((t) => t.stop());\n stream.value = void 0;\n }\n function stop() {\n _stop();\n enabled.value = false;\n }\n async function start() {\n await _start();\n if (stream.value)\n enabled.value = true;\n return stream.value;\n }\n async function restart() {\n _stop();\n return await start();\n }\n watch(\n enabled,\n (v) => {\n if (v)\n _start();\n else _stop();\n },\n { immediate: true }\n );\n watch(\n constraints,\n () => {\n if (autoSwitch.value && stream.value)\n restart();\n },\n { immediate: true }\n );\n tryOnScopeDispose(() => {\n stop();\n });\n return {\n isSupported,\n stream,\n start,\n stop,\n restart,\n constraints,\n enabled,\n autoSwitch\n };\n}\n\nfunction useVModel(props, key, emit, options = {}) {\n var _a, _b, _c, _d, _e;\n const {\n clone = false,\n passive = false,\n eventName,\n deep = false,\n defaultValue,\n shouldEmit\n } = options;\n const vm = getCurrentInstance();\n const _emit = emit || (vm == null ? void 0 : vm.emit) || ((_a = vm == null ? void 0 : vm.$emit) == null ? void 0 : _a.bind(vm)) || ((_c = (_b = vm == null ? void 0 : vm.proxy) == null ? void 0 : _b.$emit) == null ? void 0 : _c.bind(vm == null ? void 0 : vm.proxy));\n let event = eventName;\n if (!key) {\n if (isVue2) {\n const modelOptions = (_e = (_d = vm == null ? void 0 : vm.proxy) == null ? void 0 : _d.$options) == null ? void 0 : _e.model;\n key = (modelOptions == null ? void 0 : modelOptions.value) || \"value\";\n if (!eventName)\n event = (modelOptions == null ? void 0 : modelOptions.event) || \"input\";\n } else {\n key = \"modelValue\";\n }\n }\n event = event || `update:${key.toString()}`;\n const cloneFn = (val) => !clone ? val : typeof clone === \"function\" ? clone(val) : cloneFnJSON(val);\n const getValue = () => isDef(props[key]) ? cloneFn(props[key]) : defaultValue;\n const triggerEmit = (value) => {\n if (shouldEmit) {\n if (shouldEmit(value))\n _emit(event, value);\n } else {\n _emit(event, value);\n }\n };\n if (passive) {\n const initialValue = getValue();\n const proxy = ref(initialValue);\n let isUpdating = false;\n watch(\n () => props[key],\n (v) => {\n if (!isUpdating) {\n isUpdating = true;\n proxy.value = cloneFn(v);\n nextTick(() => isUpdating = false);\n }\n }\n );\n watch(\n proxy,\n (v) => {\n if (!isUpdating && (v !== props[key] || deep))\n triggerEmit(v);\n },\n { deep }\n );\n return proxy;\n } else {\n return computed({\n get() {\n return getValue();\n },\n set(value) {\n triggerEmit(value);\n }\n });\n }\n}\n\nfunction useVModels(props, emit, options = {}) {\n const ret = {};\n for (const key in props) {\n ret[key] = useVModel(\n props,\n key,\n emit,\n options\n );\n }\n return ret;\n}\n\nfunction useVibrate(options) {\n const {\n pattern = [],\n interval = 0,\n navigator = defaultNavigator\n } = options || {};\n const isSupported = useSupported(() => typeof navigator !== \"undefined\" && \"vibrate\" in navigator);\n const patternRef = toRef(pattern);\n let intervalControls;\n const vibrate = (pattern2 = patternRef.value) => {\n if (isSupported.value)\n navigator.vibrate(pattern2);\n };\n const stop = () => {\n if (isSupported.value)\n navigator.vibrate(0);\n intervalControls == null ? void 0 : intervalControls.pause();\n };\n if (interval > 0) {\n intervalControls = useIntervalFn(\n vibrate,\n interval,\n {\n immediate: false,\n immediateCallback: false\n }\n );\n }\n return {\n isSupported,\n pattern,\n intervalControls,\n vibrate,\n stop\n };\n}\n\nfunction useVirtualList(list, options) {\n const { containerStyle, wrapperProps, scrollTo, calculateRange, currentList, containerRef } = \"itemHeight\" in options ? useVerticalVirtualList(options, list) : useHorizontalVirtualList(options, list);\n return {\n list: currentList,\n scrollTo,\n containerProps: {\n ref: containerRef,\n onScroll: () => {\n calculateRange();\n },\n style: containerStyle\n },\n wrapperProps\n };\n}\nfunction useVirtualListResources(list) {\n const containerRef = ref(null);\n const size = useElementSize(containerRef);\n const currentList = ref([]);\n const source = shallowRef(list);\n const state = ref({ start: 0, end: 10 });\n return { state, source, currentList, size, containerRef };\n}\nfunction createGetViewCapacity(state, source, itemSize) {\n return (containerSize) => {\n if (typeof itemSize === \"number\")\n return Math.ceil(containerSize / itemSize);\n const { start = 0 } = state.value;\n let sum = 0;\n let capacity = 0;\n for (let i = start; i < source.value.length; i++) {\n const size = itemSize(i);\n sum += size;\n capacity = i;\n if (sum > containerSize)\n break;\n }\n return capacity - start;\n };\n}\nfunction createGetOffset(source, itemSize) {\n return (scrollDirection) => {\n if (typeof itemSize === \"number\")\n return Math.floor(scrollDirection / itemSize) + 1;\n let sum = 0;\n let offset = 0;\n for (let i = 0; i < source.value.length; i++) {\n const size = itemSize(i);\n sum += size;\n if (sum >= scrollDirection) {\n offset = i;\n break;\n }\n }\n return offset + 1;\n };\n}\nfunction createCalculateRange(type, overscan, getOffset, getViewCapacity, { containerRef, state, currentList, source }) {\n return () => {\n const element = containerRef.value;\n if (element) {\n const offset = getOffset(type === \"vertical\" ? element.scrollTop : element.scrollLeft);\n const viewCapacity = getViewCapacity(type === \"vertical\" ? element.clientHeight : element.clientWidth);\n const from = offset - overscan;\n const to = offset + viewCapacity + overscan;\n state.value = {\n start: from < 0 ? 0 : from,\n end: to > source.value.length ? source.value.length : to\n };\n currentList.value = source.value.slice(state.value.start, state.value.end).map((ele, index) => ({\n data: ele,\n index: index + state.value.start\n }));\n }\n };\n}\nfunction createGetDistance(itemSize, source) {\n return (index) => {\n if (typeof itemSize === \"number\") {\n const size2 = index * itemSize;\n return size2;\n }\n const size = source.value.slice(0, index).reduce((sum, _, i) => sum + itemSize(i), 0);\n return size;\n };\n}\nfunction useWatchForSizes(size, list, containerRef, calculateRange) {\n watch([size.width, size.height, list, containerRef], () => {\n calculateRange();\n });\n}\nfunction createComputedTotalSize(itemSize, source) {\n return computed(() => {\n if (typeof itemSize === \"number\")\n return source.value.length * itemSize;\n return source.value.reduce((sum, _, index) => sum + itemSize(index), 0);\n });\n}\nconst scrollToDictionaryForElementScrollKey = {\n horizontal: \"scrollLeft\",\n vertical: \"scrollTop\"\n};\nfunction createScrollTo(type, calculateRange, getDistance, containerRef) {\n return (index) => {\n if (containerRef.value) {\n containerRef.value[scrollToDictionaryForElementScrollKey[type]] = getDistance(index);\n calculateRange();\n }\n };\n}\nfunction useHorizontalVirtualList(options, list) {\n const resources = useVirtualListResources(list);\n const { state, source, currentList, size, containerRef } = resources;\n const containerStyle = { overflowX: \"auto\" };\n const { itemWidth, overscan = 5 } = options;\n const getViewCapacity = createGetViewCapacity(state, source, itemWidth);\n const getOffset = createGetOffset(source, itemWidth);\n const calculateRange = createCalculateRange(\"horizontal\", overscan, getOffset, getViewCapacity, resources);\n const getDistanceLeft = createGetDistance(itemWidth, source);\n const offsetLeft = computed(() => getDistanceLeft(state.value.start));\n const totalWidth = createComputedTotalSize(itemWidth, source);\n useWatchForSizes(size, list, containerRef, calculateRange);\n const scrollTo = createScrollTo(\"horizontal\", calculateRange, getDistanceLeft, containerRef);\n const wrapperProps = computed(() => {\n return {\n style: {\n height: \"100%\",\n width: `${totalWidth.value - offsetLeft.value}px`,\n marginLeft: `${offsetLeft.value}px`,\n display: \"flex\"\n }\n };\n });\n return {\n scrollTo,\n calculateRange,\n wrapperProps,\n containerStyle,\n currentList,\n containerRef\n };\n}\nfunction useVerticalVirtualList(options, list) {\n const resources = useVirtualListResources(list);\n const { state, source, currentList, size, containerRef } = resources;\n const containerStyle = { overflowY: \"auto\" };\n const { itemHeight, overscan = 5 } = options;\n const getViewCapacity = createGetViewCapacity(state, source, itemHeight);\n const getOffset = createGetOffset(source, itemHeight);\n const calculateRange = createCalculateRange(\"vertical\", overscan, getOffset, getViewCapacity, resources);\n const getDistanceTop = createGetDistance(itemHeight, source);\n const offsetTop = computed(() => getDistanceTop(state.value.start));\n const totalHeight = createComputedTotalSize(itemHeight, source);\n useWatchForSizes(size, list, containerRef, calculateRange);\n const scrollTo = createScrollTo(\"vertical\", calculateRange, getDistanceTop, containerRef);\n const wrapperProps = computed(() => {\n return {\n style: {\n width: \"100%\",\n height: `${totalHeight.value - offsetTop.value}px`,\n marginTop: `${offsetTop.value}px`\n }\n };\n });\n return {\n calculateRange,\n scrollTo,\n containerStyle,\n wrapperProps,\n currentList,\n containerRef\n };\n}\n\nfunction useWakeLock(options = {}) {\n const {\n navigator = defaultNavigator,\n document = defaultDocument\n } = options;\n let wakeLock;\n const isSupported = useSupported(() => navigator && \"wakeLock\" in navigator);\n const isActive = ref(false);\n async function onVisibilityChange() {\n if (!isSupported.value || !wakeLock)\n return;\n if (document && document.visibilityState === \"visible\")\n wakeLock = await navigator.wakeLock.request(\"screen\");\n isActive.value = !wakeLock.released;\n }\n if (document)\n useEventListener(document, \"visibilitychange\", onVisibilityChange, { passive: true });\n async function request(type) {\n if (!isSupported.value)\n return;\n wakeLock = await navigator.wakeLock.request(type);\n isActive.value = !wakeLock.released;\n }\n async function release() {\n if (!isSupported.value || !wakeLock)\n return;\n await wakeLock.release();\n isActive.value = !wakeLock.released;\n wakeLock = null;\n }\n return {\n isSupported,\n isActive,\n request,\n release\n };\n}\n\nfunction useWebNotification(options = {}) {\n const {\n window = defaultWindow,\n requestPermissions: _requestForPermissions = true\n } = options;\n const defaultWebNotificationOptions = options;\n const isSupported = useSupported(() => {\n if (!window || !(\"Notification\" in window))\n return false;\n try {\n new Notification(\"\");\n } catch (e) {\n return false;\n }\n return true;\n });\n const permissionGranted = ref(isSupported.value && \"permission\" in Notification && Notification.permission === \"granted\");\n const notification = ref(null);\n const ensurePermissions = async () => {\n if (!isSupported.value)\n return;\n if (!permissionGranted.value && Notification.permission !== \"denied\") {\n const result = await Notification.requestPermission();\n if (result === \"granted\")\n permissionGranted.value = true;\n }\n return permissionGranted.value;\n };\n const { on: onClick, trigger: clickTrigger } = createEventHook();\n const { on: onShow, trigger: showTrigger } = createEventHook();\n const { on: onError, trigger: errorTrigger } = createEventHook();\n const { on: onClose, trigger: closeTrigger } = createEventHook();\n const show = async (overrides) => {\n if (!isSupported.value || !permissionGranted.value)\n return;\n const options2 = Object.assign({}, defaultWebNotificationOptions, overrides);\n notification.value = new Notification(options2.title || \"\", options2);\n notification.value.onclick = clickTrigger;\n notification.value.onshow = showTrigger;\n notification.value.onerror = errorTrigger;\n notification.value.onclose = closeTrigger;\n return notification.value;\n };\n const close = () => {\n if (notification.value)\n notification.value.close();\n notification.value = null;\n };\n if (_requestForPermissions)\n tryOnMounted(ensurePermissions);\n tryOnScopeDispose(close);\n if (isSupported.value && window) {\n const document = window.document;\n useEventListener(document, \"visibilitychange\", (e) => {\n e.preventDefault();\n if (document.visibilityState === \"visible\") {\n close();\n }\n });\n }\n return {\n isSupported,\n notification,\n ensurePermissions,\n permissionGranted,\n show,\n close,\n onClick,\n onShow,\n onError,\n onClose\n };\n}\n\nconst DEFAULT_PING_MESSAGE = \"ping\";\nfunction resolveNestedOptions(options) {\n if (options === true)\n return {};\n return options;\n}\nfunction useWebSocket(url, options = {}) {\n const {\n onConnected,\n onDisconnected,\n onError,\n onMessage,\n immediate = true,\n autoClose = true,\n protocols = []\n } = options;\n const data = ref(null);\n const status = ref(\"CLOSED\");\n const wsRef = ref();\n const urlRef = toRef(url);\n let heartbeatPause;\n let heartbeatResume;\n let explicitlyClosed = false;\n let retried = 0;\n let bufferedData = [];\n let pongTimeoutWait;\n const _sendBuffer = () => {\n if (bufferedData.length && wsRef.value && status.value === \"OPEN\") {\n for (const buffer of bufferedData)\n wsRef.value.send(buffer);\n bufferedData = [];\n }\n };\n const resetHeartbeat = () => {\n clearTimeout(pongTimeoutWait);\n pongTimeoutWait = void 0;\n };\n const close = (code = 1e3, reason) => {\n if (!isClient || !wsRef.value)\n return;\n explicitlyClosed = true;\n resetHeartbeat();\n heartbeatPause == null ? void 0 : heartbeatPause();\n wsRef.value.close(code, reason);\n wsRef.value = void 0;\n };\n const send = (data2, useBuffer = true) => {\n if (!wsRef.value || status.value !== \"OPEN\") {\n if (useBuffer)\n bufferedData.push(data2);\n return false;\n }\n _sendBuffer();\n wsRef.value.send(data2);\n return true;\n };\n const _init = () => {\n if (explicitlyClosed || typeof urlRef.value === \"undefined\")\n return;\n const ws = new WebSocket(urlRef.value, protocols);\n wsRef.value = ws;\n status.value = \"CONNECTING\";\n ws.onopen = () => {\n status.value = \"OPEN\";\n onConnected == null ? void 0 : onConnected(ws);\n heartbeatResume == null ? void 0 : heartbeatResume();\n _sendBuffer();\n };\n ws.onclose = (ev) => {\n status.value = \"CLOSED\";\n onDisconnected == null ? void 0 : onDisconnected(ws, ev);\n if (!explicitlyClosed && options.autoReconnect) {\n const {\n retries = -1,\n delay = 1e3,\n onFailed\n } = resolveNestedOptions(options.autoReconnect);\n retried += 1;\n if (typeof retries === \"number\" && (retries < 0 || retried < retries))\n setTimeout(_init, delay);\n else if (typeof retries === \"function\" && retries())\n setTimeout(_init, delay);\n else\n onFailed == null ? void 0 : onFailed();\n }\n };\n ws.onerror = (e) => {\n onError == null ? void 0 : onError(ws, e);\n };\n ws.onmessage = (e) => {\n if (options.heartbeat) {\n resetHeartbeat();\n const {\n message = DEFAULT_PING_MESSAGE\n } = resolveNestedOptions(options.heartbeat);\n if (e.data === message)\n return;\n }\n data.value = e.data;\n onMessage == null ? void 0 : onMessage(ws, e);\n };\n };\n if (options.heartbeat) {\n const {\n message = DEFAULT_PING_MESSAGE,\n interval = 1e3,\n pongTimeout = 1e3\n } = resolveNestedOptions(options.heartbeat);\n const { pause, resume } = useIntervalFn(\n () => {\n send(message, false);\n if (pongTimeoutWait != null)\n return;\n pongTimeoutWait = setTimeout(() => {\n close();\n explicitlyClosed = false;\n }, pongTimeout);\n },\n interval,\n { immediate: false }\n );\n heartbeatPause = pause;\n heartbeatResume = resume;\n }\n if (autoClose) {\n if (isClient)\n useEventListener(\"beforeunload\", () => close());\n tryOnScopeDispose(close);\n }\n const open = () => {\n if (!isClient && !isWorker)\n return;\n close();\n explicitlyClosed = false;\n retried = 0;\n _init();\n };\n if (immediate)\n open();\n watch(urlRef, open);\n return {\n data,\n status,\n close,\n send,\n open,\n ws: wsRef\n };\n}\n\nfunction useWebWorker(arg0, workerOptions, options) {\n const {\n window = defaultWindow\n } = options != null ? options : {};\n const data = ref(null);\n const worker = shallowRef();\n const post = (...args) => {\n if (!worker.value)\n return;\n worker.value.postMessage(...args);\n };\n const terminate = function terminate2() {\n if (!worker.value)\n return;\n worker.value.terminate();\n };\n if (window) {\n if (typeof arg0 === \"string\")\n worker.value = new Worker(arg0, workerOptions);\n else if (typeof arg0 === \"function\")\n worker.value = arg0();\n else\n worker.value = arg0;\n worker.value.onmessage = (e) => {\n data.value = e.data;\n };\n tryOnScopeDispose(() => {\n if (worker.value)\n worker.value.terminate();\n });\n }\n return {\n data,\n post,\n terminate,\n worker\n };\n}\n\nfunction jobRunner(userFunc) {\n return (e) => {\n const userFuncArgs = e.data[0];\n return Promise.resolve(userFunc.apply(void 0, userFuncArgs)).then((result) => {\n postMessage([\"SUCCESS\", result]);\n }).catch((error) => {\n postMessage([\"ERROR\", error]);\n });\n };\n}\n\nfunction depsParser(deps, localDeps) {\n if (deps.length === 0 && localDeps.length === 0)\n return \"\";\n const depsString = deps.map((dep) => `'${dep}'`).toString();\n const depsFunctionString = localDeps.filter((dep) => typeof dep === \"function\").map((fn) => {\n const str = fn.toString();\n if (str.trim().startsWith(\"function\")) {\n return str;\n } else {\n const name = fn.name;\n return `const ${name} = ${str}`;\n }\n }).join(\";\");\n const importString = `importScripts(${depsString});`;\n return `${depsString.trim() === \"\" ? \"\" : importString} ${depsFunctionString}`;\n}\n\nfunction createWorkerBlobUrl(fn, deps, localDeps) {\n const blobCode = `${depsParser(deps, localDeps)}; onmessage=(${jobRunner})(${fn})`;\n const blob = new Blob([blobCode], { type: \"text/javascript\" });\n const url = URL.createObjectURL(blob);\n return url;\n}\n\nfunction useWebWorkerFn(fn, options = {}) {\n const {\n dependencies = [],\n localDependencies = [],\n timeout,\n window = defaultWindow\n } = options;\n const worker = ref();\n const workerStatus = ref(\"PENDING\");\n const promise = ref({});\n const timeoutId = ref();\n const workerTerminate = (status = \"PENDING\") => {\n if (worker.value && worker.value._url && window) {\n worker.value.terminate();\n URL.revokeObjectURL(worker.value._url);\n promise.value = {};\n worker.value = void 0;\n window.clearTimeout(timeoutId.value);\n workerStatus.value = status;\n }\n };\n workerTerminate();\n tryOnScopeDispose(workerTerminate);\n const generateWorker = () => {\n const blobUrl = createWorkerBlobUrl(fn, dependencies, localDependencies);\n const newWorker = new Worker(blobUrl);\n newWorker._url = blobUrl;\n newWorker.onmessage = (e) => {\n const { resolve = () => {\n }, reject = () => {\n } } = promise.value;\n const [status, result] = e.data;\n switch (status) {\n case \"SUCCESS\":\n resolve(result);\n workerTerminate(status);\n break;\n default:\n reject(result);\n workerTerminate(\"ERROR\");\n break;\n }\n };\n newWorker.onerror = (e) => {\n const { reject = () => {\n } } = promise.value;\n e.preventDefault();\n reject(e);\n workerTerminate(\"ERROR\");\n };\n if (timeout) {\n timeoutId.value = setTimeout(\n () => workerTerminate(\"TIMEOUT_EXPIRED\"),\n timeout\n );\n }\n return newWorker;\n };\n const callWorker = (...fnArgs) => new Promise((resolve, reject) => {\n promise.value = {\n resolve,\n reject\n };\n worker.value && worker.value.postMessage([[...fnArgs]]);\n workerStatus.value = \"RUNNING\";\n });\n const workerFn = (...fnArgs) => {\n if (workerStatus.value === \"RUNNING\") {\n console.error(\n \"[useWebWorkerFn] You can only run one instance of the worker at a time.\"\n );\n return Promise.reject();\n }\n worker.value = generateWorker();\n return callWorker(...fnArgs);\n };\n return {\n workerFn,\n workerStatus,\n workerTerminate\n };\n}\n\nfunction useWindowFocus(options = {}) {\n const { window = defaultWindow } = options;\n if (!window)\n return ref(false);\n const focused = ref(window.document.hasFocus());\n useEventListener(window, \"blur\", () => {\n focused.value = false;\n });\n useEventListener(window, \"focus\", () => {\n focused.value = true;\n });\n return focused;\n}\n\nfunction useWindowScroll(options = {}) {\n const { window = defaultWindow, behavior = \"auto\" } = options;\n if (!window) {\n return {\n x: ref(0),\n y: ref(0)\n };\n }\n const internalX = ref(window.scrollX);\n const internalY = ref(window.scrollY);\n const x = computed({\n get() {\n return internalX.value;\n },\n set(x2) {\n scrollTo({ left: x2, behavior });\n }\n });\n const y = computed({\n get() {\n return internalY.value;\n },\n set(y2) {\n scrollTo({ top: y2, behavior });\n }\n });\n useEventListener(\n window,\n \"scroll\",\n () => {\n internalX.value = window.scrollX;\n internalY.value = window.scrollY;\n },\n {\n capture: false,\n passive: true\n }\n );\n return { x, y };\n}\n\nfunction useWindowSize(options = {}) {\n const {\n window = defaultWindow,\n initialWidth = Number.POSITIVE_INFINITY,\n initialHeight = Number.POSITIVE_INFINITY,\n listenOrientation = true,\n includeScrollbar = true\n } = options;\n const width = ref(initialWidth);\n const height = ref(initialHeight);\n const update = () => {\n if (window) {\n if (includeScrollbar) {\n width.value = window.innerWidth;\n height.value = window.innerHeight;\n } else {\n width.value = window.document.documentElement.clientWidth;\n height.value = window.document.documentElement.clientHeight;\n }\n }\n };\n update();\n tryOnMounted(update);\n useEventListener(\"resize\", update, { passive: true });\n if (listenOrientation) {\n const matches = useMediaQuery(\"(orientation: portrait)\");\n watch(matches, () => update());\n }\n return { width, height };\n}\n\nexport { DefaultMagicKeysAliasMap, StorageSerializers, TransitionPresets, computedAsync as asyncComputed, breakpointsAntDesign, breakpointsBootstrapV5, breakpointsMasterCss, breakpointsPrimeFlex, breakpointsQuasar, breakpointsSematic, breakpointsTailwind, breakpointsVuetify, breakpointsVuetifyV2, breakpointsVuetifyV3, cloneFnJSON, computedAsync, computedInject, createFetch, createReusableTemplate, createTemplatePromise, createUnrefFn, customStorageEventName, defaultDocument, defaultLocation, defaultNavigator, defaultWindow, executeTransition, formatTimeAgo, getSSRHandler, mapGamepadToXbox360Controller, onClickOutside, onKeyDown, onKeyPressed, onKeyStroke, onKeyUp, onLongPress, onStartTyping, setSSRHandler, templateRef, unrefElement, useActiveElement, useAnimate, useAsyncQueue, useAsyncState, useBase64, useBattery, useBluetooth, useBreakpoints, useBroadcastChannel, useBrowserLocation, useCached, useClipboard, useClipboardItems, useCloned, useColorMode, useConfirmDialog, useCssVar, useCurrentElement, useCycleList, useDark, useDebouncedRefHistory, useDeviceMotion, useDeviceOrientation, useDevicePixelRatio, useDevicesList, useDisplayMedia, useDocumentVisibility, useDraggable, useDropZone, useElementBounding, useElementByPoint, useElementHover, useElementSize, useElementVisibility, useEventBus, useEventListener, useEventSource, useEyeDropper, useFavicon, useFetch, useFileDialog, useFileSystemAccess, useFocus, useFocusWithin, useFps, useFullscreen, useGamepad, useGeolocation, useIdle, useImage, useInfiniteScroll, useIntersectionObserver, useKeyModifier, useLocalStorage, useMagicKeys, useManualRefHistory, useMediaControls, useMediaQuery, useMemoize, useMemory, useMounted, useMouse, useMouseInElement, useMousePressed, useMutationObserver, useNavigatorLanguage, useNetwork, useNow, useObjectUrl, useOffsetPagination, useOnline, usePageLeave, useParallax, useParentElement, usePerformanceObserver, usePermission, usePointer, usePointerLock, usePointerSwipe, usePreferredColorScheme, usePreferredContrast, usePreferredDark, usePreferredLanguages, usePreferredReducedMotion, usePrevious, useRafFn, useRefHistory, useResizeObserver, useScreenOrientation, useScreenSafeArea, useScriptTag, useScroll, useScrollLock, useSessionStorage, useShare, useSorted, useSpeechRecognition, useSpeechSynthesis, useStepper, useStorage, useStorageAsync, useStyleTag, useSupported, useSwipe, useTemplateRefsList, useTextDirection, useTextSelection, useTextareaAutosize, useThrottledRefHistory, useTimeAgo, useTimeoutPoll, useTimestamp, useTitle, useTransition, useUrlSearchParams, useUserMedia, useVModel, useVModels, useVibrate, useVirtualList, useWakeLock, useWebNotification, useWebSocket, useWebWorker, useWebWorkerFn, useWindowFocus, useWindowScroll, useWindowSize };\n","var V3_URL = 'https://js.stripe.com/v3';\nvar V3_URL_REGEX = /^https:\\/\\/js\\.stripe\\.com\\/v3\\/?(\\?.*)?$/;\nvar EXISTING_SCRIPT_MESSAGE = 'loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used';\nvar findScript = function findScript() {\n var scripts = document.querySelectorAll(\"script[src^=\\\"\".concat(V3_URL, \"\\\"]\"));\n\n for (var i = 0; i < scripts.length; i++) {\n var script = scripts[i];\n\n if (!V3_URL_REGEX.test(script.src)) {\n continue;\n }\n\n return script;\n }\n\n return null;\n};\n\nvar injectScript = function injectScript(params) {\n var queryString = params && !params.advancedFraudSignals ? '?advancedFraudSignals=false' : '';\n var script = document.createElement('script');\n script.src = \"\".concat(V3_URL).concat(queryString);\n var headOrBody = document.head || document.body;\n\n if (!headOrBody) {\n throw new Error('Expected document.body not to be null. Stripe.js requires a element.');\n }\n\n headOrBody.appendChild(script);\n return script;\n};\n\nvar registerWrapper = function registerWrapper(stripe, startTime) {\n if (!stripe || !stripe._registerWrapper) {\n return;\n }\n\n stripe._registerWrapper({\n name: 'stripe-js',\n version: \"3.4.1\",\n startTime: startTime\n });\n};\n\nvar stripePromise = null;\nvar onErrorListener = null;\nvar onLoadListener = null;\n\nvar onError = function onError(reject) {\n return function () {\n reject(new Error('Failed to load Stripe.js'));\n };\n};\n\nvar onLoad = function onLoad(resolve, reject) {\n return function () {\n if (window.Stripe) {\n resolve(window.Stripe);\n } else {\n reject(new Error('Stripe.js not available'));\n }\n };\n};\n\nvar loadScript = function loadScript(params) {\n // Ensure that we only attempt to load Stripe.js at most once\n if (stripePromise !== null) {\n return stripePromise;\n }\n\n stripePromise = new Promise(function (resolve, reject) {\n if (typeof window === 'undefined' || typeof document === 'undefined') {\n // Resolve to null when imported server side. This makes the module\n // safe to import in an isomorphic code base.\n resolve(null);\n return;\n }\n\n if (window.Stripe && params) {\n console.warn(EXISTING_SCRIPT_MESSAGE);\n }\n\n if (window.Stripe) {\n resolve(window.Stripe);\n return;\n }\n\n try {\n var script = findScript();\n\n if (script && params) {\n console.warn(EXISTING_SCRIPT_MESSAGE);\n } else if (!script) {\n script = injectScript(params);\n } else if (script && onLoadListener !== null && onErrorListener !== null) {\n var _script$parentNode;\n\n // remove event listeners\n script.removeEventListener('load', onLoadListener);\n script.removeEventListener('error', onErrorListener); // if script exists, but we are reloading due to an error,\n // reload script to trigger 'load' event\n\n (_script$parentNode = script.parentNode) === null || _script$parentNode === void 0 ? void 0 : _script$parentNode.removeChild(script);\n script = injectScript(params);\n }\n\n onLoadListener = onLoad(resolve, reject);\n onErrorListener = onError(reject);\n script.addEventListener('load', onLoadListener);\n script.addEventListener('error', onErrorListener);\n } catch (error) {\n reject(error);\n return;\n }\n }); // Resets stripePromise on error\n\n return stripePromise[\"catch\"](function (error) {\n stripePromise = null;\n return Promise.reject(error);\n });\n};\nvar initStripe = function initStripe(maybeStripe, args, startTime) {\n if (maybeStripe === null) {\n return null;\n }\n\n var stripe = maybeStripe.apply(undefined, args);\n registerWrapper(stripe, startTime);\n return stripe;\n}; // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\n\nvar stripePromise$1;\nvar loadCalled = false;\n\nvar getStripePromise = function getStripePromise() {\n if (stripePromise$1) {\n return stripePromise$1;\n }\n\n stripePromise$1 = loadScript(null)[\"catch\"](function (error) {\n // clear cache on error\n stripePromise$1 = null;\n return Promise.reject(error);\n });\n return stripePromise$1;\n}; // Execute our own script injection after a tick to give users time to do their\n// own script injection.\n\n\nPromise.resolve().then(function () {\n return getStripePromise();\n})[\"catch\"](function (error) {\n if (!loadCalled) {\n console.warn(error);\n }\n});\nvar loadStripe = function loadStripe() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n loadCalled = true;\n var startTime = Date.now(); // if previous attempts are unsuccessful, will re-load script\n\n return getStripePromise().then(function (maybeStripe) {\n return initStripe(maybeStripe, args, startTime);\n });\n};\n\nexport { loadStripe };\n","var nl = {\n name: \"nl\",\n el: {\n breadcrumb: {\n label: \"Breadcrumb\"\n },\n colorpicker: {\n confirm: \"Bevestig\",\n clear: \"Wissen\"\n },\n datepicker: {\n now: \"Nu\",\n today: \"Vandaag\",\n cancel: \"Annuleren\",\n clear: \"Legen\",\n confirm: \"Bevestig\",\n selectDate: \"Selecteer datum\",\n selectTime: \"Selecteer tijd\",\n startDate: \"Startdatum\",\n startTime: \"Starttijd\",\n endDate: \"Einddatum\",\n endTime: \"Eindtijd\",\n prevYear: \"Vorig jaar\",\n nextYear: \"Volgend jaar\",\n prevMonth: \"Vorige maand\",\n nextMonth: \"Volgende maand\",\n year: \"\",\n month1: \"januari\",\n month2: \"februari\",\n month3: \"maart\",\n month4: \"april\",\n month5: \"mei\",\n month6: \"juni\",\n month7: \"juli\",\n month8: \"augustus\",\n month9: \"september\",\n month10: \"oktober\",\n month11: \"november\",\n month12: \"december\",\n weeks: {\n sun: \"Zo\",\n mon: \"Ma\",\n tue: \"Di\",\n wed: \"Wo\",\n thu: \"Do\",\n fri: \"Vr\",\n sat: \"Za\"\n },\n months: {\n jan: \"jan\",\n feb: \"feb\",\n mar: \"maa\",\n apr: \"apr\",\n may: \"mei\",\n jun: \"jun\",\n jul: \"jul\",\n aug: \"aug\",\n sep: \"sep\",\n oct: \"okt\",\n nov: \"nov\",\n dec: \"dec\"\n }\n },\n select: {\n loading: \"Laden\",\n noMatch: \"Geen overeenkomende resultaten\",\n noData: \"Geen data\",\n placeholder: \"Selecteer\"\n },\n mention: {\n loading: \"Laden\"\n },\n cascader: {\n noMatch: \"Geen overeenkomende resultaten\",\n loading: \"Laden\",\n placeholder: \"Selecteer\",\n noData: \"Geen data\"\n },\n pagination: {\n goto: \"Ga naar\",\n pagesize: \"/pagina\",\n total: \"Totaal {total}\",\n pageClassifier: \"\",\n page: \"Page\",\n prev: \"Go to previous page\",\n next: \"Go to next page\",\n currentPage: \"page {pager}\",\n prevPages: \"Previous {pager} pages\",\n nextPages: \"Next {pager} pages\"\n },\n messagebox: {\n title: \"Bericht\",\n confirm: \"Bevestig\",\n cancel: \"Annuleren\",\n error: \"Ongeldige invoer\"\n },\n upload: {\n deleteTip: \"Kies verwijder om te wissen\",\n delete: \"Verwijder\",\n preview: \"Voorbeeld\",\n continue: \"Doorgaan\"\n },\n table: {\n emptyText: \"Geen data\",\n confirmFilter: \"Bevestigen\",\n resetFilter: \"Reset\",\n clearFilter: \"Alles\",\n sumText: \"Som\"\n },\n tree: {\n emptyText: \"Geen data\"\n },\n transfer: {\n noMatch: \"Geen overeenkomende resultaten\",\n noData: \"Geen data\",\n titles: [\"Lijst 1\", \"Lijst 2\"],\n filterPlaceholder: \"Geef zoekwoerd\",\n noCheckedFormat: \"{total} items\",\n hasCheckedFormat: \"{checked}/{total} geselecteerd\"\n },\n image: {\n error: \"MISLUKT\"\n },\n pageHeader: {\n title: \"Terug\"\n },\n popconfirm: {\n confirmButtonText: \"Ja\",\n cancelButtonText: \"Nee\"\n },\n carousel: {\n leftArrow: \"Carousel arrow left\",\n rightArrow: \"Carousel arrow right\",\n indicator: \"Carousel switch to index {index}\"\n }\n }\n};\n\nexport { nl as default };\n//# sourceMappingURL=nl.mjs.map\n","var de = {\n name: \"de\",\n el: {\n breadcrumb: {\n label: \"Brotkr\\xFCmel\"\n },\n colorpicker: {\n confirm: \"OK\",\n clear: \"Leeren\"\n },\n datepicker: {\n now: \"Jetzt\",\n today: \"Heute\",\n cancel: \"Abbrechen\",\n clear: \"Leeren\",\n confirm: \"OK\",\n selectDate: \"Datum w\\xE4hlen\",\n selectTime: \"Uhrzeit w\\xE4hlen\",\n startDate: \"Startdatum\",\n startTime: \"Startzeit\",\n endDate: \"Enddatum\",\n endTime: \"Endzeit\",\n prevYear: \"Letztes Jahr\",\n nextYear: \"N\\xE4chtes Jahr\",\n prevMonth: \"Letzter Monat\",\n nextMonth: \"N\\xE4chster Monat\",\n day: \"Tag\",\n week: \"Woche\",\n month: \"Monat\",\n year: \"\",\n month1: \"Januar\",\n month2: \"Februar\",\n month3: \"M\\xE4rz\",\n month4: \"April\",\n month5: \"Mai\",\n month6: \"Juni\",\n month7: \"Juli\",\n month8: \"August\",\n month9: \"September\",\n month10: \"Oktober\",\n month11: \"November\",\n month12: \"Dezember\",\n weeks: {\n sun: \"So\",\n mon: \"Mo\",\n tue: \"Di\",\n wed: \"Mi\",\n thu: \"Do\",\n fri: \"Fr\",\n sat: \"Sa\"\n },\n months: {\n jan: \"Jan\",\n feb: \"Feb\",\n mar: \"M\\xE4r\",\n apr: \"Apr\",\n may: \"Mai\",\n jun: \"Jun\",\n jul: \"Jul\",\n aug: \"Aug\",\n sep: \"Sep\",\n oct: \"Okt\",\n nov: \"Nov\",\n dec: \"Dez\"\n }\n },\n select: {\n loading: \"L\\xE4dt.\",\n noMatch: \"Nichts gefunden.\",\n noData: \"Keine Daten\",\n placeholder: \"Daten w\\xE4hlen\"\n },\n mention: {\n loading: \"L\\xE4dt.\"\n },\n cascader: {\n noMatch: \"Nichts gefunden.\",\n loading: \"L\\xE4dt.\",\n placeholder: \"Daten w\\xE4hlen\",\n noData: \"Keine Daten\"\n },\n pagination: {\n goto: \"Gehe zu\",\n pagesize: \" pro Seite\",\n total: \"Gesamt {total}\",\n pageClassifier: \"\",\n page: \"Seite\",\n prev: \"Zur vorherigen Seite gehen\",\n next: \"Zur n\\xE4chsten Seite gehen\",\n currentPage: \"Seite {pager}\",\n prevPages: \"Vorherige {pager} Seiten\",\n nextPages: \"N\\xE4chste {pager} Seiten\"\n },\n messagebox: {\n confirm: \"OK\",\n cancel: \"Abbrechen\",\n error: \"Fehler\"\n },\n upload: {\n deleteTip: \"Klicke l\\xF6schen zum entfernen\",\n delete: \"L\\xF6schen\",\n preview: \"Vorschau\",\n continue: \"Fortsetzen\"\n },\n table: {\n emptyText: \"Keine Daten\",\n confirmFilter: \"Anwenden\",\n resetFilter: \"Zur\\xFCcksetzen\",\n clearFilter: \"Alles \",\n sumText: \"Summe\"\n },\n tour: {\n next: \"Weiter\",\n previous: \"Zur\\xFCck\",\n finish: \"Fertig\"\n },\n tree: {\n emptyText: \"Keine Eintr\\xE4ge\"\n },\n transfer: {\n noMatch: \"Nichts gefunden.\",\n noData: \"Keine Eintr\\xE4ge\",\n titles: [\"Liste 1\", \"Liste 2\"],\n filterPlaceholder: \"Eintr\\xE4ge filtern\",\n noCheckedFormat: \"{total} Eintr\\xE4ge\",\n hasCheckedFormat: \"{checked}/{total} ausgew\\xE4hlt\"\n },\n image: {\n error: \"FEHLGESCHLAGEN\"\n },\n pageHeader: {\n title: \"Zur\\xFCck\"\n },\n popconfirm: {\n confirmButtonText: \"Ja\",\n cancelButtonText: \"Nein\"\n },\n carousel: {\n leftArrow: \"Karussell-Pfeil links\",\n rightArrow: \"Karussell-Pfeil rechts\",\n indicator: \"Karussell zu Index {index} wechseln\"\n }\n }\n};\n\nexport { de as default };\n//# sourceMappingURL=de.mjs.map\n","var fr = {\n name: \"fr\",\n el: {\n breadcrumb: {\n label: `Fil d'Ariane`\n },\n colorpicker: {\n confirm: \"OK\",\n clear: \"Effacer\",\n defaultLabel: \"color picker\",\n description: \"La couleur actuelle est {color}. Appuyer sur Entr\\xE9e pour s\\xE9lectionner une nouvelle couleur.\"\n },\n datepicker: {\n now: \"Maintenant\",\n today: \"Auj.\",\n cancel: \"Annuler\",\n clear: \"Effacer\",\n confirm: \"OK\",\n dateTablePrompt: \"Utiliser les touches fl\\xE9ch\\xE9es et appuyer sur Entr\\xE9e pour s\\xE9lectionner le jour du mois\",\n monthTablePrompt: \"Utiliser les touches fl\\xE9ch\\xE9es et appuyer sur Entr\\xE9e pour s\\xE9lectionner le mois\",\n yearTablePrompt: \"Utiliser les touches fl\\xE9ch\\xE9es et appuyer sur Entr\\xE9e pour s\\xE9lectionner l'ann\\xE9e\",\n selectedDate: \"Date s\\xE9lectionn\\xE9e\",\n selectDate: \"Choisir date\",\n selectTime: \"Choisir horaire\",\n startDate: \"Date d\\xE9but\",\n startTime: \"Horaire d\\xE9but\",\n endDate: \"Date fin\",\n endTime: \"Horaire fin\",\n prevYear: \"Ann\\xE9e pr\\xE9c\\xE9dente\",\n nextYear: \"Ann\\xE9e suivante\",\n prevMonth: \"Mois pr\\xE9c\\xE9dent\",\n nextMonth: \"Mois suivant\",\n year: \"\",\n month1: \"Janvier\",\n month2: \"F\\xE9vrier\",\n month3: \"Mars\",\n month4: \"Avril\",\n month5: \"Mai\",\n month6: \"Juin\",\n month7: \"Juillet\",\n month8: \"Ao\\xFBt\",\n month9: \"Septembre\",\n month10: \"Octobre\",\n month11: \"Novembre\",\n month12: \"D\\xE9cembre\",\n week: \"Semaine\",\n weeks: {\n sun: \"Dim\",\n mon: \"Lun\",\n tue: \"Mar\",\n wed: \"Mer\",\n thu: \"Jeu\",\n fri: \"Ven\",\n sat: \"Sam\"\n },\n weeksFull: {\n sun: \"Dimanche\",\n mon: \"Lundi\",\n tue: \"Mardi\",\n wed: \"Mercredi\",\n thu: \"Jeudi\",\n fri: \"Vendredi\",\n sat: \"Samedi\"\n },\n months: {\n jan: \"Jan\",\n feb: \"F\\xE9v\",\n mar: \"Mar\",\n apr: \"Avr\",\n may: \"Mai\",\n jun: \"Jun\",\n jul: \"Jul\",\n aug: \"Ao\\xFB\",\n sep: \"Sep\",\n oct: \"Oct\",\n nov: \"Nov\",\n dec: \"D\\xE9c\"\n }\n },\n inputNumber: {\n decrease: \"d\\xE9cr\\xE9menter\",\n increase: \"incr\\xE9menter\"\n },\n select: {\n loading: \"Chargement\",\n noMatch: \"Aucune correspondance\",\n noData: \"Aucune donn\\xE9e\",\n placeholder: \"Choisir\"\n },\n mention: {\n loading: \"Chargement\"\n },\n cascader: {\n noMatch: \"Aucune correspondance\",\n loading: \"Chargement\",\n placeholder: \"Choisir\",\n noData: \"Aucune donn\\xE9e\"\n },\n pagination: {\n goto: \"Aller \\xE0\",\n pagesize: \"/page\",\n total: \"Total {total}\",\n pageClassifier: \"\",\n page: \"Page\",\n prev: \"Aller \\xE0 la page pr\\xE9c\\xE9dente\",\n next: \"Aller \\xE0 la page suivante\",\n currentPage: \"page {pager}\",\n prevPages: \"{pager} pages pr\\xE9c\\xE9dentes\",\n nextPages: \"{pager} pages suivantes\",\n deprecationWarning: \"Utilisations obsol\\xE8tes d\\xE9tect\\xE9es, veuillez vous r\\xE9f\\xE9rer \\xE0 la documentation el-pagination pour plus de d\\xE9tails\"\n },\n dialog: {\n close: \"Fermer la bo\\xEEte de dialogue\"\n },\n drawer: {\n close: \"Fermer la bo\\xEEte de dialogue\"\n },\n messagebox: {\n title: \"Message\",\n confirm: \"Confirmer\",\n cancel: \"Annuler\",\n error: \"Erreur\",\n close: \"Fermer la bo\\xEEte de dialogue\"\n },\n upload: {\n deleteTip: \"Cliquer sur supprimer pour retirer le fichier\",\n delete: \"Supprimer\",\n preview: \"Aper\\xE7u\",\n continue: \"Continuer\"\n },\n slider: {\n defaultLabel: \"curseur entre {min} et {max}\",\n defaultRangeStartLabel: \"choisir la valeur de d\\xE9part\",\n defaultRangeEndLabel: \"s\\xE9lectionner la valeur finale\"\n },\n table: {\n emptyText: \"Aucune donn\\xE9e\",\n confirmFilter: \"Confirmer\",\n resetFilter: \"R\\xE9initialiser\",\n clearFilter: \"Tous\",\n sumText: \"Somme\"\n },\n tour: {\n next: \"suivant\",\n previous: \"pr\\xE9c\\xE9dent\",\n finish: \"fin\"\n },\n tree: {\n emptyText: \"Aucune donn\\xE9e\"\n },\n transfer: {\n noMatch: \"Aucune correspondance\",\n noData: \"Aucune donn\\xE9e\",\n titles: [\"Liste 1\", \"Liste 2\"],\n filterPlaceholder: \"Entrer un mot clef\",\n noCheckedFormat: \"{total} elements\",\n hasCheckedFormat: \"{checked}/{total} coch\\xE9(s)\"\n },\n image: {\n error: \"ECHEC\"\n },\n pageHeader: {\n title: \"Retour\"\n },\n popconfirm: {\n confirmButtonText: \"Oui\",\n cancelButtonText: \"Non\"\n },\n carousel: {\n leftArrow: \"Fl\\xE8che du carrousel vers la gauche\",\n rightArrow: \"Fl\\xE8che du carrousel vers la droite\",\n indicator: \"Passer au carrousel index {index}\"\n }\n }\n};\n\nexport { fr as default };\n//# sourceMappingURL=fr.mjs.map\n","var fi = {\n name: \"fi\",\n el: {\n breadcrumb: {\n label: \"Breadcrumb\"\n },\n colorpicker: {\n confirm: \"OK\",\n clear: \"Tyhjenn\\xE4\"\n },\n datepicker: {\n now: \"Nyt\",\n today: \"T\\xE4n\\xE4\\xE4n\",\n cancel: \"Peruuta\",\n clear: \"Tyhjenn\\xE4\",\n confirm: \"OK\",\n selectDate: \"Valitse p\\xE4iv\\xE4\",\n selectTime: \"Valitse aika\",\n startDate: \"Aloitusp\\xE4iv\\xE4\",\n startTime: \"Aloitusaika\",\n endDate: \"Lopetusp\\xE4iv\\xE4\",\n endTime: \"Lopetusaika\",\n prevYear: \"Edellinen vuosi\",\n nextYear: \"Seuraava vuosi\",\n prevMonth: \"Edellinen kuukausi\",\n nextMonth: \"Seuraava kuukausi\",\n year: \"\",\n month1: \"tammikuu\",\n month2: \"helmikuu\",\n month3: \"maaliskuu\",\n month4: \"huhtikuu\",\n month5: \"toukokuu\",\n month6: \"kes\\xE4kuu\",\n month7: \"hein\\xE4kuu\",\n month8: \"elokuu\",\n month9: \"syyskuu\",\n month10: \"lokakuu\",\n month11: \"marraskuu\",\n month12: \"joulukuu\",\n weeks: {\n sun: \"su\",\n mon: \"ma\",\n tue: \"ti\",\n wed: \"ke\",\n thu: \"to\",\n fri: \"pe\",\n sat: \"la\"\n },\n months: {\n jan: \"tammi\",\n feb: \"helmi\",\n mar: \"maalis\",\n apr: \"huhti\",\n may: \"touko\",\n jun: \"kes\\xE4\",\n jul: \"hein\\xE4\",\n aug: \"elo\",\n sep: \"syys\",\n oct: \"loka\",\n nov: \"marras\",\n dec: \"joulu\"\n }\n },\n select: {\n loading: \"Lataa\",\n noMatch: \"Ei vastaavia tietoja\",\n noData: \"Ei tietoja\",\n placeholder: \"Valitse\"\n },\n mention: {\n loading: \"Lataa\"\n },\n cascader: {\n noMatch: \"Ei vastaavia tietoja\",\n loading: \"Lataa\",\n placeholder: \"Valitse\",\n noData: \"Ei tietoja\"\n },\n pagination: {\n goto: \"Mene\",\n pagesize: \"/sivu\",\n total: \"Yhteens\\xE4 {total}\",\n pageClassifier: \"\",\n page: \"Page\",\n prev: \"Go to previous page\",\n next: \"Go to next page\",\n currentPage: \"page {pager}\",\n prevPages: \"Previous {pager} pages\",\n nextPages: \"Next {pager} pages\"\n },\n messagebox: {\n title: \"Viesti\",\n confirm: \"OK\",\n cancel: \"Peruuta\",\n error: \"Virheellinen sy\\xF6te\"\n },\n upload: {\n deleteTip: \"Poista Delete-n\\xE4pp\\xE4imell\\xE4\",\n delete: \"Poista\",\n preview: \"Esikatsele\",\n continue: \"Jatka\"\n },\n table: {\n emptyText: \"Ei tietoja\",\n confirmFilter: \"Vahvista\",\n resetFilter: \"Tyhjenn\\xE4\",\n clearFilter: \"Kaikki\",\n sumText: \"Summa\"\n },\n tree: {\n emptyText: \"Ei tietoja\"\n },\n transfer: {\n noMatch: \"Ei vastaavia tietoja\",\n noData: \"Ei tietoja\",\n titles: [\"Luettelo 1\", \"Luettelo 2\"],\n filterPlaceholder: \"Sy\\xF6t\\xE4 hakusana\",\n noCheckedFormat: \"{total} kohdetta\",\n hasCheckedFormat: \"{checked}/{total} valittu\"\n },\n image: {\n error: \"FAILED\"\n },\n pageHeader: {\n title: \"Back\"\n },\n popconfirm: {\n confirmButtonText: \"Yes\",\n cancelButtonText: \"No\"\n },\n carousel: {\n leftArrow: \"Carousel arrow left\",\n rightArrow: \"Carousel arrow right\",\n indicator: \"Carousel switch to index {index}\"\n }\n }\n};\n\nexport { fi as default };\n//# sourceMappingURL=fi.mjs.map\n","\n\n\n","export interface LocaleOption {\n id: string;\n shortLabel: string;\n label: string;\n}\n\nexport class Locales {\n static readonly locales: LocaleOption[] = [\n {\n id: 'nl-NL',\n shortLabel: 'NL',\n label: 'Nederlands',\n },\n {\n id: 'en-US',\n shortLabel: 'EN',\n label: 'English',\n },\n {\n id: 'de-DE',\n shortLabel: 'DE',\n label: 'Deutsch',\n },\n {\n id: 'fr-FR',\n shortLabel: 'FR',\n label: 'Français',\n },\n {\n id: 'fi-FI',\n shortLabel: 'FI',\n label: 'Suomi',\n },\n ];\n\n static getLocales(): LocaleOption[] {\n return Locales.locales;\n }\n\n static getLocaleById(id: string): LocaleOption | undefined {\n return Locales.locales.find((locale) => locale.id === id);\n }\n\n static getLocaleByShortLabel(label: string): LocaleOption | undefined {\n return Locales.locales.find(\n (locale) => locale.shortLabel.toLowerCase() === label.toLowerCase(),\n );\n }\n}\n","import { LocaleOption, Locales } from '@/services/locales';\nimport { useI18n } from 'vue-i18n';\nimport { computed, ComputedRef } from 'vue';\nimport useReservationStore from '@/composables/store/useReservationStore';\n\nexport default function useLocaleSwitcher(): {\n locales: LocaleOption[];\n currentLocale: ComputedRef;\n switchLocale: (newLocale: string) => void;\n} {\n const { locale } = useI18n({ useScope: 'global' });\n const { setLocale } = useReservationStore();\n const locales: LocaleOption[] = Locales.getLocales();\n const currentLocale: ComputedRef = computed(() => {\n return Locales.getLocaleById(locale.value);\n });\n\n const setLocaleInReservation = (): void => {\n if (currentLocale.value) {\n setLocale(currentLocale.value?.id);\n return;\n }\n setLocale('en-US');\n };\n\n const switchLocale = (newLocale: string): void => {\n locale.value = newLocale;\n localStorage.setItem('language', newLocale);\n document.documentElement.lang = newLocale;\n setLocaleInReservation();\n };\n\n if (localStorage['language']) {\n switchLocale(localStorage['language']);\n }\n\n return {\n locales,\n currentLocale,\n switchLocale,\n };\n}\n","\n\n\n\n\n","\n\n\n\n\n","\n\n\n\n\n","\n\n\n\n","import defaultLayout from '@/layouts/Default.vue';\nimport { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router';\n\nconst Home = () => import('@/views/Home.vue');\nconst Offer = () => import('@/views/Offer.vue');\nconst Booking = () => import('@/views/Booking.vue');\n\nconst routes: Array = [\n {\n path: '/:lang?',\n name: 'Home',\n component: Home,\n meta: { layout: defaultLayout },\n },\n {\n path: '/:lang?/reservation/:username/:id',\n name: 'ExistingReservation',\n component: Offer,\n meta: { layout: defaultLayout },\n },\n {\n path: '/booking/:username?/:id',\n name: 'BookingPageWithUser',\n component: Booking,\n meta: { layout: defaultLayout },\n },\n {\n path: '/booking/:id',\n name: 'BookingPage',\n component: Booking,\n meta: { layout: defaultLayout },\n },\n {\n path: '/:lang?/edit/:username/:id',\n name: 'EditReservation',\n component: Home,\n props: {\n existingReservation: true,\n },\n meta: { layout: defaultLayout },\n },\n];\n\nconst router = createRouter({\n history: createWebHistory(import.meta.env.BASE_URL),\n routes,\n});\n\nrouter.onError((error) => {\n console.error('Global router error:', error);\n // You could also add global fallback logic here if needed\n});\n\nexport default router;\n","import '@/assets/css/app.scss';\nimport SvgIcon from '@/components/icons/SvgIcon.vue';\nimport clickOutside from '@/plugins/clickOutside';\nimport { components, plugins } from '@/plugins/elementPlus';\nimport helpers from '@/plugins/helpers';\nimport i18n from '@/plugins/i18n';\nimport '@/plugins/vee-validate';\nimport axios from 'axios';\nimport { createApp } from 'vue';\nimport VueAxios from 'vue-axios';\nimport App from './App.vue';\nimport router from './router';\nimport { store, key } from './store';\n\nconst initSentry = () => import('@/plugins/sentry');\n\nconst app = createApp(App)\n .use(store, key)\n .use(router)\n .use(i18n)\n .use(VueAxios, axios)\n .use(helpers)\n .directive('clickOutside', clickOutside);\n\napp.component('svg-icon', SvgIcon);\n\n// Load element plus components and plugins\ncomponents.forEach((component) => {\n app.component(component.name!, component);\n});\n\nplugins.forEach((plugin) => {\n app.use(plugin);\n});\n\nif (import.meta.env.MODE === 'production') {\n initSentry().then((init) => init.default(app, router));\n}\n\napp.mount('#app');\n"],"file":"assets/index-BTxNExP2.js"}