/*! For license information please see vendorsVue.cef5f1eade519869877e.js.LICENSE.txt */ "use strict";(self.webpackChunkgulp_template=self.webpackChunkgulp_template||[]).push([[7728],{388:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var o=n(8764),r=n(1454),a=n(33);function s(e){var t=Object.create(null);if(e)for(var n in e)t[n]=e[n];return t.default=e,Object.freeze(t)}var i=s(r);const c=new WeakMap;function l(e,t){if(!a.isString(e)){if(!e.nodeType)return r.warn("invalid template option: ",e),a.NOOP;e=e.innerHTML}const n=e,s=function(e){let t=c.get(null!=e?e:a.EMPTY_OBJ);return t||(t=Object.create(null),c.set(null!=e?e:a.EMPTY_OBJ,t)),t}(t),l=s[n];if(l)return l;if("#"===e[0]){const t=document.querySelector(e);t||r.warn(`Template element not found or is empty: ${e}`),e=t?t.innerHTML:""}const u=a.extend({hoistStatic:!0,onError:f,onWarn:e=>f(e,!0)},t);u.isCustomElement||"undefined"==typeof customElements||(u.isCustomElement=e=>!!customElements.get(e));const{code:p}=o.compile(e,u);function f(t,n=!1){const o=n?t.message:`Template compilation error: ${t.message}`,s=t.loc&&a.generateCodeFrame(e,t.loc.start.offset,t.loc.end.offset);r.warn(s?`${o}\n${s}`:o)}const d=new Function("Vue",p)(i);return d._rc=!0,s[n]=d}r.registerRuntimeCompiler(l),t.compile=l,Object.keys(r).forEach((function(e){"default"===e||Object.prototype.hasOwnProperty.call(t,e)||(t[e]=r[e])}))},2666:function(e,t,n){n.d(t,{q:function(){return h}});var o=n(388);function r(e){return"function"==typeof e?e():(0,o.unref)(e)}"undefined"!=typeof WorkerGlobalScope&&(globalThis,WorkerGlobalScope),Object.prototype.toString;const a=()=>{};function s(e){const t=Object.create(null);return n=>t[n]||(t[n]=e(n))}const i=/\B([A-Z])/g,c=(s((e=>e.replace(i,"-$1").toLowerCase())),/-(\w)/g);function l(e,t=!1,n="Timeout"){return new Promise(((o,r)=>{t?setTimeout((()=>r(n)),e):setTimeout(o,e)}))}function u(e,t=!1){function n(n,{flush:a="sync",deep:s=!1,timeout:i,throwOnTimeout:c}={}){let u=null;const p=[new Promise((r=>{u=(0,o.watch)(e,(e=>{n(e)!==t&&(null==u||u(),r(e))}),{flush:a,deep:s,immediate:!0})}))];return null!=i&&p.push(l(i,c).then((()=>r(e))).finally((()=>null==u?void 0:u()))),Promise.race(p)}function a(a,s){if(!(0,o.isRef)(a))return n((e=>e===a),s);const{flush:i="sync",deep:c=!1,timeout:u,throwOnTimeout:p}=null!=s?s:{};let f=null;const d=[new Promise((n=>{f=(0,o.watch)([e,a],(([e,o])=>{t!==(e===o)&&(null==f||f(),n(e))}),{flush:i,deep:c,immediate:!0})}))];return null!=u&&d.push(l(u,p).then((()=>r(e))).finally((()=>(null==f||f(),r(e))))),Promise.race(d)}function s(e){return i(1,e)}function i(e=1,t){let o=-1;return n((()=>(o+=1,o>=e)),t)}return Array.isArray(r(e))?{toMatch:n,toContains:function(e,t){return n((t=>{const n=Array.from(t);return n.includes(e)||n.includes(r(e))}),t)},changed:s,changedTimes:i,get not(){return u(e,!t)}}:{toMatch:n,toBe:a,toBeTruthy:function(e){return n((e=>Boolean(e)),e)},toBeNull:function(e){return a(null,e)},toBeNaN:function(e){return n(Number.isNaN,e)},toBeUndefined:function(e){return a(void 0,e)},changed:s,changedTimes:i,get not(){return u(e,!t)}}}function p(e){return u(e)}s((e=>e.replace(c,((e,t)=>t?t.toUpperCase():""))));var f=n(1083),d=n(3110);function h(...e){const t="string"==typeof e[0]?e[0]:void 0,n="string"==typeof t?1:0,r={immediate:!!n,shallow:!0,abortPrevious:!0};let s={},i=f.A,c=r;const l=e=>!!(null==e?void 0:e.request);e.length>0+n&&(l(e[0+n])?i=e[0+n]:s=e[0+n]),e.length>1+n&&l(e[1+n])&&(i=e[1+n]),(e.length===2+n&&!l(e[1+n])||e.length===3+n)&&(c=e[e.length-1]||r);const{initialData:u,shallow:h,onSuccess:y=a,onError:m=a,immediate:g,resetOnExecute:_=!1}=c,v=(0,o.shallowRef)(),b=(h?o.shallowRef:o.ref)(u),w=(0,o.ref)(!1),O=(0,o.ref)(!1),S=(0,o.ref)(!1),E=(0,o.shallowRef)();let T=new AbortController;const $=e=>{!w.value&&O.value&&(T.abort(e),T=new AbortController,S.value=!0,O.value=!1,w.value=!1)},R=e=>{O.value=e,w.value=!e},P=()=>new Promise(((e,t)=>{p(w).toBe(!0).then((()=>E.value?t(E.value):e(C)))})),k={then:(...e)=>P().then(...e),catch:(...e)=>P().catch(...e)};let I=0;const j=(e=t,n={})=>{E.value=void 0;const o="string"==typeof e?e:null!=t?t:n.url;if(void 0===o)return E.value=new d.pe(d.pe.ERR_INVALID_URL),w.value=!0,k;_&&(b.value=u),!1!==c.abortPrevious&&$(),R(!0),I+=1;const r=I;return S.value=!1,i(o,{...s,..."object"==typeof e?e:n,signal:T.signal}).then((e=>{if(S.value)return;v.value=e;const t=e.data;b.value=t,y(t)})).catch((e=>{E.value=e,m(e)})).finally((()=>{var e;null==(e=c.onFinish)||e.call(c),r===I&&R(!1)})),k};g&&t&&j();const C={response:v,data:b,error:E,isFinished:w,isLoading:O,cancel:$,isAborted:S,isCanceled:S,abort:$,execute:j};return{...C,...k}}},5899:function(e,t,n){n.d(t,{Ey:function(){return H},nY:function(){return te},bP:function(){return ne}});var o=n(388),r=!1;function a(e,t,n){return Array.isArray(e)?(e.length=Math.max(e.length,t),e.splice(t,1,n),n):(e[t]=n,n)}var s=n(1759);let i;const c=e=>i=e,l=Symbol();function u(e){return e&&"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&"function"!=typeof e.toJSON}var p;!function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"}(p||(p={}));const f="undefined"!=typeof window,d=(()=>"object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:"object"==typeof globalThis?globalThis:{HTMLElement:null})();function h(e,t,n){const o=new XMLHttpRequest;o.open("GET",e),o.responseType="blob",o.onload=function(){v(o.response,t,n)},o.onerror=function(){console.error("could not download file")},o.send()}function y(e){const t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return t.status>=200&&t.status<=299}function m(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(t){const n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(n)}}const g="object"==typeof navigator?navigator:{userAgent:""},_=(()=>/Macintosh/.test(g.userAgent)&&/AppleWebKit/.test(g.userAgent)&&!/Safari/.test(g.userAgent))(),v=f?"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype&&!_?function(e,t="download",n){const o=document.createElement("a");o.download=t,o.rel="noopener","string"==typeof e?(o.href=e,o.origin!==location.origin?y(o.href)?h(e,t,n):(o.target="_blank",m(o)):m(o)):(o.href=URL.createObjectURL(e),setTimeout((function(){URL.revokeObjectURL(o.href)}),4e4),setTimeout((function(){m(o)}),0))}:"msSaveOrOpenBlob"in g?function(e,t="download",n){if("string"==typeof e)if(y(e))h(e,t,n);else{const t=document.createElement("a");t.href=e,t.target="_blank",setTimeout((function(){m(t)}))}else navigator.msSaveOrOpenBlob(function(e,{autoBom:t=!1}={}){return t&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e}(e,n),t)}:function(e,t,n,o){if((o=o||open("","_blank"))&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof e)return h(e,t,n);const r="application/octet-stream"===e.type,a=/constructor/i.test(String(d.HTMLElement))||"safari"in d,s=/CriOS\/[\d]+/.test(navigator.userAgent);if((s||r&&a||_)&&"undefined"!=typeof FileReader){const t=new FileReader;t.onloadend=function(){let e=t.result;if("string"!=typeof e)throw o=null,new Error("Wrong reader.result type");e=s?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=e:location.assign(e),o=null},t.readAsDataURL(e)}else{const t=URL.createObjectURL(e);o?o.location.assign(t):location.href=t,o=null,setTimeout((function(){URL.revokeObjectURL(t)}),4e4)}}:()=>{};function b(e,t){const n="๐Ÿ "+e;"function"==typeof __VUE_DEVTOOLS_TOAST__?__VUE_DEVTOOLS_TOAST__(n,t):"error"===t?console.error(n):"warn"===t?console.warn(n):console.log(n)}function w(e){return"_a"in e&&"install"in e}function O(){if(!("clipboard"in navigator))return b("Your browser doesn't support the Clipboard API","error"),!0}function S(e){return!!(e instanceof Error&&e.message.toLowerCase().includes("document is not focused"))&&(b('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.',"warn"),!0)}let E;function T(e,t){for(const n in t){const o=e.state.value[n];o?Object.assign(o,t[n]):e.state.value[n]=t[n]}}function $(e){return{_custom:{display:e}}}const R="๐Ÿ Pinia (root)",P="_root";function k(e){return w(e)?{id:P,label:R}:{id:e.$id,label:e.$id}}function I(e){return e?Array.isArray(e)?e.reduce(((e,t)=>(e.keys.push(t.key),e.operations.push(t.type),e.oldValue[t.key]=t.oldValue,e.newValue[t.key]=t.newValue,e)),{oldValue:{},keys:[],operations:[],newValue:{}}):{operation:$(e.type),key:$(e.key),oldValue:e.oldValue,newValue:e.newValue}:{}}function j(e){switch(e){case p.direct:return"mutation";case p.patchFunction:case p.patchObject:return"$patch";default:return"unknown"}}let C=!0;const A=[],V="pinia:mutations",L="pinia",{assign:D}=Object,U=e=>"๐Ÿ "+e;function M(e,t){(0,s.$q)({id:"dev.esm.pinia",label:"Pinia ๐Ÿ",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:A,app:e},(n=>{"function"!=typeof n.now&&b("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.addTimelineLayer({id:V,label:"Pinia ๐Ÿ",color:15064968}),n.addInspector({id:L,label:"Pinia ๐Ÿ",icon:"storage",treeFilterPlaceholder:"Search stores",actions:[{icon:"content_copy",action:()=>{!async function(e){if(!O())try{await navigator.clipboard.writeText(JSON.stringify(e.state.value)),b("Global state copied to clipboard.")}catch(e){if(S(e))return;b("Failed to serialize the state. Check the console for more details.","error"),console.error(e)}}(t)},tooltip:"Serialize and copy the state"},{icon:"content_paste",action:async()=>{await async function(e){if(!O())try{T(e,JSON.parse(await navigator.clipboard.readText())),b("Global state pasted from clipboard.")}catch(e){if(S(e))return;b("Failed to deserialize the state from clipboard. Check the console for more details.","error"),console.error(e)}}(t),n.sendInspectorTree(L),n.sendInspectorState(L)},tooltip:"Replace the state with the content of your clipboard"},{icon:"save",action:()=>{!async function(e){try{v(new Blob([JSON.stringify(e.state.value)],{type:"text/plain;charset=utf-8"}),"pinia-state.json")}catch(e){b("Failed to export the state as JSON. Check the console for more details.","error"),console.error(e)}}(t)},tooltip:"Save the state as a JSON file"},{icon:"folder_open",action:async()=>{await async function(e){try{const t=(E||(E=document.createElement("input"),E.type="file",E.accept=".json"),function(){return new Promise(((e,t)=>{E.onchange=async()=>{const t=E.files;if(!t)return e(null);const n=t.item(0);return e(n?{text:await n.text(),file:n}:null)},E.oncancel=()=>e(null),E.onerror=t,E.click()}))}),n=await t();if(!n)return;const{text:o,file:r}=n;T(e,JSON.parse(o)),b(`Global state imported from "${r.name}".`)}catch(e){b("Failed to import the state from JSON. Check the console for more details.","error"),console.error(e)}}(t),n.sendInspectorTree(L),n.sendInspectorState(L)},tooltip:"Import the state from a JSON file"}],nodeActions:[{icon:"restore",tooltip:'Reset the state (with "$reset")',action:e=>{const n=t._s.get(e);n?"function"!=typeof n.$reset?b(`Cannot reset "${e}" store because it doesn't have a "$reset" method implemented.`,"warn"):(n.$reset(),b(`Store "${e}" reset.`)):b(`Cannot reset "${e}" store because it wasn't found.`,"warn")}}]}),n.on.inspectComponent(((e,t)=>{const n=e.componentInstance&&e.componentInstance.proxy;if(n&&n._pStores){const t=e.componentInstance.proxy._pStores;Object.values(t).forEach((t=>{e.instanceData.state.push({type:U(t.$id),key:"state",editable:!0,value:t._isOptionsAPI?{_custom:{value:(0,o.toRaw)(t.$state),actions:[{icon:"restore",tooltip:"Reset the state of this store",action:()=>t.$reset()}]}}:Object.keys(t.$state).reduce(((e,n)=>(e[n]=t.$state[n],e)),{})}),t._getters&&t._getters.length&&e.instanceData.state.push({type:U(t.$id),key:"getters",editable:!1,value:t._getters.reduce(((e,n)=>{try{e[n]=t[n]}catch(t){e[n]=t}return e}),{})})}))}})),n.on.getInspectorTree((n=>{if(n.app===e&&n.inspectorId===L){let e=[t];e=e.concat(Array.from(t._s.values())),n.rootNodes=(n.filter?e.filter((e=>"$id"in e?e.$id.toLowerCase().includes(n.filter.toLowerCase()):R.toLowerCase().includes(n.filter.toLowerCase()))):e).map(k)}})),globalThis.$pinia=t,n.on.getInspectorState((n=>{if(n.app===e&&n.inspectorId===L){const e=n.nodeId===P?t:t._s.get(n.nodeId);if(!e)return;e&&(n.nodeId!==P&&(globalThis.$store=(0,o.toRaw)(e)),n.state=function(e){if(w(e)){const t=Array.from(e._s.keys()),n=e._s,o={state:t.map((t=>({editable:!0,key:t,value:e.state.value[t]}))),getters:t.filter((e=>n.get(e)._getters)).map((e=>{const t=n.get(e);return{editable:!1,key:e,value:t._getters.reduce(((e,n)=>(e[n]=t[n],e)),{})}}))};return o}const t={state:Object.keys(e.$state).map((t=>({editable:!0,key:t,value:e.$state[t]})))};return e._getters&&e._getters.length&&(t.getters=e._getters.map((t=>({editable:!1,key:t,value:e[t]})))),e._customProperties.size&&(t.customProperties=Array.from(e._customProperties).map((t=>({editable:!0,key:t,value:e[t]})))),t}(e))}})),n.on.editInspectorState(((n,o)=>{if(n.app===e&&n.inspectorId===L){const e=n.nodeId===P?t:t._s.get(n.nodeId);if(!e)return b(`store "${n.nodeId}" not found`,"error");const{path:o}=n;w(e)?o.unshift("state"):1===o.length&&e._customProperties.has(o[0])&&!(o[0]in e.$state)||o.unshift("$state"),C=!1,n.set(e,o,n.state.value),C=!0}})),n.on.editComponentState((e=>{if(e.type.startsWith("๐Ÿ")){const n=e.type.replace(/^๐Ÿ\s*/,""),o=t._s.get(n);if(!o)return b(`store "${n}" not found`,"error");const{path:r}=e;if("state"!==r[0])return b(`Invalid path for store "${n}":\n${r}\nOnly state can be modified.`);r[0]="$state",C=!1,e.set(o,r,e.state.value),C=!0}}))}))}let x,N=0;function B(e,t,n){const r=t.reduce(((t,n)=>(t[n]=(0,o.toRaw)(e)[n],t)),{});for(const t in r)e[t]=function(){const o=N,a=n?new Proxy(e,{get(...e){return x=o,Reflect.get(...e)},set(...e){return x=o,Reflect.set(...e)}}):e;x=o;const s=r[t].apply(a,arguments);return x=void 0,s}}function F({app:e,store:t,options:n}){if(!t.$id.startsWith("__hot:")){if(t._isOptionsAPI=!!n.state,!t._p._testing){B(t,Object.keys(n.actions),t._isOptionsAPI);const e=t._hotUpdate;(0,o.toRaw)(t)._hotUpdate=function(n){e.apply(this,arguments),B(t,Object.keys(n._hmrPayload.actions),!!t._isOptionsAPI)}}!function(e,t){A.includes(U(t.$id))||A.push(U(t.$id)),(0,s.$q)({id:"dev.esm.pinia",label:"Pinia ๐Ÿ",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:A,app:e,settings:{logStoreChanges:{label:"Notify about new/deleted stores",type:"boolean",defaultValue:!0}}},(e=>{const n="function"==typeof e.now?e.now.bind(e):Date.now;t.$onAction((({after:o,onError:r,name:a,args:s})=>{const i=N++;e.addTimelineEvent({layerId:V,event:{time:n(),title:"๐Ÿ›ซ "+a,subtitle:"start",data:{store:$(t.$id),action:$(a),args:s},groupId:i}}),o((o=>{x=void 0,e.addTimelineEvent({layerId:V,event:{time:n(),title:"๐Ÿ›ฌ "+a,subtitle:"end",data:{store:$(t.$id),action:$(a),args:s,result:o},groupId:i}})})),r((o=>{x=void 0,e.addTimelineEvent({layerId:V,event:{time:n(),logType:"error",title:"๐Ÿ’ฅ "+a,subtitle:"end",data:{store:$(t.$id),action:$(a),args:s,error:o},groupId:i}})}))}),!0),t._customProperties.forEach((r=>{(0,o.watch)((()=>(0,o.unref)(t[r])),((t,o)=>{e.notifyComponentUpdate(),e.sendInspectorState(L),C&&e.addTimelineEvent({layerId:V,event:{time:n(),title:"Change",subtitle:r,data:{newValue:t,oldValue:o},groupId:x}})}),{deep:!0})})),t.$subscribe((({events:o,type:r},a)=>{if(e.notifyComponentUpdate(),e.sendInspectorState(L),!C)return;const s={time:n(),title:j(r),data:D({store:$(t.$id)},I(o)),groupId:x};r===p.patchFunction?s.subtitle="โคต๏ธ":r===p.patchObject?s.subtitle="๐Ÿงฉ":o&&!Array.isArray(o)&&(s.subtitle=o.type),o&&(s.data["rawEvent(s)"]={_custom:{display:"DebuggerEvent",type:"object",tooltip:"raw DebuggerEvent[]",value:o}}),e.addTimelineEvent({layerId:V,event:s})}),{detached:!0,flush:"sync"});const r=t._hotUpdate;t._hotUpdate=(0,o.markRaw)((o=>{r(o),e.addTimelineEvent({layerId:V,event:{time:n(),title:"๐Ÿ”ฅ "+t.$id,subtitle:"HMR update",data:{store:$(t.$id),info:$("HMR update")}}}),e.notifyComponentUpdate(),e.sendInspectorTree(L),e.sendInspectorState(L)}));const{$dispose:a}=t;t.$dispose=()=>{a(),e.notifyComponentUpdate(),e.sendInspectorTree(L),e.sendInspectorState(L),e.getSettings().logStoreChanges&&b(`Disposed "${t.$id}" store ๐Ÿ—‘`)},e.notifyComponentUpdate(),e.sendInspectorTree(L),e.sendInspectorState(L),e.getSettings().logStoreChanges&&b(`"${t.$id}" store installed ๐Ÿ†•`)}))}(e,t)}}function H(){const e=(0,o.effectScope)(!0),t=e.run((()=>(0,o.ref)({})));let n=[],a=[];const s=(0,o.markRaw)({install(e){c(s),r||(s._a=e,e.provide(l,s),e.config.globalProperties.$pinia=s,"undefined"!=typeof __VUE_PROD_DEVTOOLS__&&__VUE_PROD_DEVTOOLS__&&f&&M(e,s),a.forEach((e=>n.push(e))),a=[])},use(e){return this._a||r?n.push(e):a.push(e),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return"undefined"!=typeof __VUE_PROD_DEVTOOLS__&&__VUE_PROD_DEVTOOLS__&&"undefined"!=typeof Proxy&&s.use(F),s}const J=()=>{};function W(e,t,n,r=J){e.push(t);const a=()=>{const n=e.indexOf(t);n>-1&&(e.splice(n,1),r())};return!n&&(0,o.getCurrentScope)()&&(0,o.onScopeDispose)(a),a}function q(e,...t){e.slice().forEach((e=>{e(...t)}))}const Y=e=>e(),G=Symbol(),z=Symbol();function X(e,t){e instanceof Map&&t instanceof Map?t.forEach(((t,n)=>e.set(n,t))):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],a=e[n];u(a)&&u(r)&&e.hasOwnProperty(n)&&!(0,o.isRef)(r)&&!(0,o.isReactive)(r)?e[n]=X(a,r):e[n]=r}return e}const K=Symbol(),Z=new WeakMap,{assign:Q}=Object;function ee(e,t,n={},s,i,l){let d;const h=Q({actions:{}},n),y={deep:!0};let m,g,_,v=[],b=[];const w=s.state.value[e];l||w||(r?a(s.state.value,e,{}):s.state.value[e]={});const O=(0,o.ref)({});let S;function E(t){let n;m=g=!1,"function"==typeof t?(t(s.state.value[e]),n={type:p.patchFunction,storeId:e,events:_}):(X(s.state.value[e],t),n={type:p.patchObject,payload:t,storeId:e,events:_});const r=S=Symbol();(0,o.nextTick)().then((()=>{S===r&&(m=!0)})),g=!0,q(v,n,s.state.value[e])}const T=l?function(){const{state:e}=n,t=e?e():{};this.$patch((e=>{Q(e,t)}))}:J,$=(t,n="")=>{if(G in t)return t[z]=n,t;const o=function(){c(s);const n=Array.from(arguments),r=[],a=[];let i;q(b,{args:n,name:o[z],store:k,after:function(e){r.push(e)},onError:function(e){a.push(e)}});try{i=t.apply(this&&this.$id===e?this:k,n)}catch(e){throw q(a,e),e}return i instanceof Promise?i.then((e=>(q(r,e),e))).catch((e=>(q(a,e),Promise.reject(e)))):(q(r,i),i)};return o[G]=!0,o[z]=n,o},R=(0,o.markRaw)({actions:{},getters:{},state:[],hotState:O}),P={_p:s,$id:e,$onAction:W.bind(null,b),$patch:E,$reset:T,$subscribe(t,n={}){const r=W(v,t,n.detached,(()=>a())),a=d.run((()=>(0,o.watch)((()=>s.state.value[e]),(o=>{("sync"===n.flush?g:m)&&t({storeId:e,type:p.direct,events:_},o)}),Q({},y,n))));return r},$dispose:function(){d.stop(),v=[],b=[],s._s.delete(e)}};r&&(P._r=!1);const k=(0,o.reactive)("undefined"!=typeof __VUE_PROD_DEVTOOLS__&&__VUE_PROD_DEVTOOLS__&&f?Q({_hmrPayload:R,_customProperties:(0,o.markRaw)(new Set)},P):P);s._s.set(e,k);const I=(s._a&&s._a.runWithContext||Y)((()=>s._e.run((()=>(d=(0,o.effectScope)()).run((()=>t({action:$})))))));for(const t in I){const n=I[t];if((0,o.isRef)(n)&&(C=n,!(0,o.isRef)(C)||!C.effect)||(0,o.isReactive)(n))l||(!w||(j=n,r?Z.has(j):u(j)&&j.hasOwnProperty(K))||((0,o.isRef)(n)?n.value=w[t]:X(n,w[t])),r?a(s.state.value[e],t,n):s.state.value[e][t]=n);else if("function"==typeof n){const e=$(n,t);r?a(I,t,e):I[t]=e,h.actions[t]=n}}var j,C;if(r?Object.keys(I).forEach((e=>{a(k,e,I[e])})):(Q(k,I),Q((0,o.toRaw)(k),I)),Object.defineProperty(k,"$state",{get:()=>s.state.value[e],set:e=>{E((t=>{Q(t,e)}))}}),"undefined"!=typeof __VUE_PROD_DEVTOOLS__&&__VUE_PROD_DEVTOOLS__&&f){const e={writable:!0,configurable:!0,enumerable:!1};["_p","_hmrPayload","_getters","_customProperties"].forEach((t=>{Object.defineProperty(k,t,Q({value:k[t]},e))}))}return r&&(k._r=!0),s._p.forEach((e=>{if("undefined"!=typeof __VUE_PROD_DEVTOOLS__&&__VUE_PROD_DEVTOOLS__&&f){const t=d.run((()=>e({store:k,app:s._a,pinia:s,options:h})));Object.keys(t||{}).forEach((e=>k._customProperties.add(e))),Q(k,t)}else Q(k,d.run((()=>e({store:k,app:s._a,pinia:s,options:h}))))})),w&&l&&n.hydrate&&n.hydrate(k.$state,w),m=!0,g=!0,k}function te(e,t,n){let s,u;const p="function"==typeof t;function f(e,n){const f=(0,o.hasInjectionContext)();return(e=e||(f?(0,o.inject)(l,null):null))&&c(e),(e=i)._s.has(s)||(p?ee(s,t,u,e):function(e,t,n){const{state:s,actions:i,getters:l}=t,u=n.state.value[e];let p;p=ee(e,(function(){u||(r?a(n.state.value,e,s?s():{}):n.state.value[e]=s?s():{});const t=(0,o.toRefs)(n.state.value[e]);return Q(t,i,Object.keys(l||{}).reduce(((t,a)=>(t[a]=(0,o.markRaw)((0,o.computed)((()=>{c(n);const t=n._s.get(e);if(!r||t._r)return l[a].call(t,t)}))),t)),{}))}),t,n,0,!0)}(s,u,e)),e._s.get(s)}return"string"==typeof e?(s=e,u=p?n:t):(u=e,s=e.id),f.$id=s,f}function ne(e){if(r)return(0,o.toRefs)(e);{e=(0,o.toRaw)(e);const t={};for(const n in e){const r=e[n];((0,o.isRef)(r)||(0,o.isReactive)(r))&&(t[n]=(0,o.toRef)(e,n))}return t}}}}]);