cloudcommerce 0.0.75 → 0.0.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.vscode/extensions.json +2 -1
- package/.vscode/settings.json +9 -0
- package/CHANGELOG.md +17 -0
- package/package.json +1 -1
- package/packages/api/package.json +1 -1
- package/packages/apps/correios/package.json +1 -1
- package/packages/apps/custom-shipping/package.json +1 -1
- package/packages/apps/discounts/package.json +1 -1
- package/packages/apps/frenet/package.json +1 -1
- package/packages/apps/tiny-erp/package.json +1 -1
- package/packages/cli/config/firebase.json +7 -0
- package/packages/cli/package.json +1 -1
- package/packages/config/package.json +1 -1
- package/packages/events/package.json +1 -1
- package/packages/firebase/package.json +1 -1
- package/packages/modules/package.json +1 -1
- package/packages/passport/package.json +1 -1
- package/packages/ssr/package.json +1 -1
- package/packages/storefront/astro.config.mjs +9 -3
- package/packages/storefront/dist/client/assets/_...3d331176.css +1 -0
- package/packages/storefront/dist/client/assets/{fallback.9cd2ed3f.css → _...b330a555.css} +1 -1
- package/packages/storefront/dist/client/assets/_...c1ec409f.css +4 -0
- package/packages/storefront/dist/client/assets/fallback-index.552fd862.css +1 -0
- package/packages/storefront/dist/client/assets/{_...27b7eb4d.css → fallback.a3f85892.css} +1 -1
- package/packages/storefront/dist/client/assets/{index.c5a9ea80.css → index.73f26ab5.css} +1 -1
- package/packages/storefront/dist/client/client.80baece3.js +1 -0
- package/packages/storefront/dist/client/hoisted.61a32b69.js +661 -0
- package/packages/storefront/dist/server/entry.mjs +326 -161
- package/packages/storefront/package.json +6 -1
- package/packages/storefront/src/html.d.ts +23 -0
- package/packages/storefront/src/lib/components/Card.astro +1 -1
- package/packages/storefront/src/lib/components/LoginModal.vue +14 -20
- package/packages/storefront/src/lib/layouts/Base.astro +129 -0
- package/packages/storefront/src/lib/layouts/Checkout.astro +0 -0
- package/packages/storefront/src/lib/layouts/Pages.astro +30 -0
- package/packages/storefront/src/lib/layouts/meta/Head.astro +62 -1
- package/packages/storefront/src/lib/layouts/meta/Json.astro +49 -10
- package/packages/storefront/src/lib/main/Home.astro +84 -0
- package/packages/storefront/src/lib/main/Wildcard.astro +0 -0
- package/packages/storefront/src/lib/ssr-context.ts +2 -1
- package/packages/storefront/src/lib/views/[...slug].astro +3 -3
- package/packages/storefront/src/lib/views/fallback.astro +5 -3
- package/packages/storefront/src/lib/views/index.astro +4 -3
- package/packages/storefront/src/pages/index.astro +7 -2
- package/packages/storefront/tailwind.config.ts +0 -0
- package/packages/storefront/uno.config.ts +98 -0
- package/packages/types/package.json +1 -1
- package/packages/storefront/dist/client/LoginModal.d6b935cf.js +0 -1
- package/packages/storefront/dist/client/assets/_...b3f65c5c.css +0 -1
- package/packages/storefront/dist/client/assets/fallback-index.90217cf0.css +0 -1
- package/packages/storefront/dist/client/chunks/index.esm.69f70489.js +0 -1726
- package/packages/storefront/dist/client/chunks/index.esm2017.1194d1a1.js +0 -457
- package/packages/storefront/dist/client/chunks/runtime-core.esm-bundler.a7337834.js +0 -1
- package/packages/storefront/dist/client/client.80b904f3.js +0 -1
- package/packages/storefront/dist/client/hoisted.24787260.js +0 -376
- package/packages/storefront/src/lib/layouts/Layout.astro +0 -84
|
@@ -1,457 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2017 Google LLC
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*//**
|
|
17
|
-
* @license
|
|
18
|
-
* Copyright 2017 Google LLC
|
|
19
|
-
*
|
|
20
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
21
|
-
* you may not use this file except in compliance with the License.
|
|
22
|
-
* You may obtain a copy of the License at
|
|
23
|
-
*
|
|
24
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
25
|
-
*
|
|
26
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
27
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
28
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
29
|
-
* See the License for the specific language governing permissions and
|
|
30
|
-
* limitations under the License.
|
|
31
|
-
*/const Z=function(t){const e=[];let n=0;for(let s=0;s<t.length;s++){let r=t.charCodeAt(s);r<128?e[n++]=r:r<2048?(e[n++]=r>>6|192,e[n++]=r&63|128):(r&64512)===55296&&s+1<t.length&&(t.charCodeAt(s+1)&64512)===56320?(r=65536+((r&1023)<<10)+(t.charCodeAt(++s)&1023),e[n++]=r>>18|240,e[n++]=r>>12&63|128,e[n++]=r>>6&63|128,e[n++]=r&63|128):(e[n++]=r>>12|224,e[n++]=r>>6&63|128,e[n++]=r&63|128)}return e},ge=function(t){const e=[];let n=0,s=0;for(;n<t.length;){const r=t[n++];if(r<128)e[s++]=String.fromCharCode(r);else if(r>191&&r<224){const i=t[n++];e[s++]=String.fromCharCode((r&31)<<6|i&63)}else if(r>239&&r<365){const i=t[n++],a=t[n++],c=t[n++],l=((r&7)<<18|(i&63)<<12|(a&63)<<6|c&63)-65536;e[s++]=String.fromCharCode(55296+(l>>10)),e[s++]=String.fromCharCode(56320+(l&1023))}else{const i=t[n++],a=t[n++];e[s++]=String.fromCharCode((r&15)<<12|(i&63)<<6|a&63)}}return e.join("")},ee={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:typeof atob=="function",encodeByteArray(t,e){if(!Array.isArray(t))throw Error("encodeByteArray takes an array as a parameter");this.init_();const n=e?this.byteToCharMapWebSafe_:this.byteToCharMap_,s=[];for(let r=0;r<t.length;r+=3){const i=t[r],a=r+1<t.length,c=a?t[r+1]:0,l=r+2<t.length,o=l?t[r+2]:0,f=i>>2,d=(i&3)<<4|c>>4;let u=(c&15)<<2|o>>6,p=o&63;l||(p=64,a||(u=64)),s.push(n[f],n[d],n[u],n[p])}return s.join("")},encodeString(t,e){return this.HAS_NATIVE_SUPPORT&&!e?btoa(t):this.encodeByteArray(Z(t),e)},decodeString(t,e){return this.HAS_NATIVE_SUPPORT&&!e?atob(t):ge(this.decodeStringToByteArray(t,e))},decodeStringToByteArray(t,e){this.init_();const n=e?this.charToByteMapWebSafe_:this.charToByteMap_,s=[];for(let r=0;r<t.length;){const i=n[t.charAt(r++)],c=r<t.length?n[t.charAt(r)]:0;++r;const o=r<t.length?n[t.charAt(r)]:64;++r;const d=r<t.length?n[t.charAt(r)]:64;if(++r,i==null||c==null||o==null||d==null)throw Error();const u=i<<2|c>>4;if(s.push(u),o!==64){const p=c<<4&240|o>>2;if(s.push(p),d!==64){const k=o<<6&192|d;s.push(k)}}}return s},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let t=0;t<this.ENCODED_VALS.length;t++)this.byteToCharMap_[t]=this.ENCODED_VALS.charAt(t),this.charToByteMap_[this.byteToCharMap_[t]]=t,this.byteToCharMapWebSafe_[t]=this.ENCODED_VALS_WEBSAFE.charAt(t),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[t]]=t,t>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(t)]=t,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(t)]=t)}}},ye=function(t){const e=Z(t);return ee.encodeByteArray(e,!0)},te=function(t){return ye(t).replace(/\./g,"")},qt=function(t){try{return ee.decodeString(t,!0)}catch(e){console.error("base64Decode failed: ",e)}return null};function A(t,e){if(!(e instanceof Object))return e;switch(e.constructor){case Date:const n=e;return new Date(n.getTime());case Object:t===void 0&&(t={});break;case Array:t=[];break;default:return e}for(const n in e)!e.hasOwnProperty(n)||!Ee(n)||(t[n]=A(t[n],e[n]));return t}function Ee(t){return t!=="__proto__"}/**
|
|
32
|
-
* @license
|
|
33
|
-
* Copyright 2017 Google LLC
|
|
34
|
-
*
|
|
35
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
36
|
-
* you may not use this file except in compliance with the License.
|
|
37
|
-
* You may obtain a copy of the License at
|
|
38
|
-
*
|
|
39
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
40
|
-
*
|
|
41
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
42
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
43
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
44
|
-
* See the License for the specific language governing permissions and
|
|
45
|
-
* limitations under the License.
|
|
46
|
-
*/class _e{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((e,n)=>{this.resolve=e,this.reject=n})}wrapCallback(e){return(n,s)=>{n?this.reject(n):this.resolve(s),typeof e=="function"&&(this.promise.catch(()=>{}),e.length===1?e(n):e(n,s))}}}/**
|
|
47
|
-
* @license
|
|
48
|
-
* Copyright 2017 Google LLC
|
|
49
|
-
*
|
|
50
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
51
|
-
* you may not use this file except in compliance with the License.
|
|
52
|
-
* You may obtain a copy of the License at
|
|
53
|
-
*
|
|
54
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
55
|
-
*
|
|
56
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
57
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
58
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
59
|
-
* See the License for the specific language governing permissions and
|
|
60
|
-
* limitations under the License.
|
|
61
|
-
*/function ne(){return typeof navigator<"u"&&typeof navigator.userAgent=="string"?navigator.userAgent:""}function Qt(){return typeof window<"u"&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(ne())}function Zt(){try{return Object.prototype.toString.call(global.process)==="[object process]"}catch{return!1}}function ve(){return typeof self=="object"&&self.self===self}function en(){const t=typeof chrome=="object"?chrome.runtime:typeof browser=="object"?browser.runtime:void 0;return typeof t=="object"&&t.id!==void 0}function tn(){return typeof navigator=="object"&&navigator.product==="ReactNative"}function nn(){const t=ne();return t.indexOf("MSIE ")>=0||t.indexOf("Trident/")>=0}function Ie(){return typeof indexedDB=="object"}function Ce(){return new Promise((t,e)=>{try{let n=!0;const s="validate-browser-context-for-indexeddb-analytics-module",r=self.indexedDB.open(s);r.onsuccess=()=>{r.result.close(),n||self.indexedDB.deleteDatabase(s),t(!0)},r.onupgradeneeded=()=>{n=!1},r.onerror=()=>{var i;e(((i=r.error)===null||i===void 0?void 0:i.message)||"")}}catch(n){e(n)}})}function rn(){return!(typeof navigator>"u"||!navigator.cookieEnabled)}/**
|
|
62
|
-
* @license
|
|
63
|
-
* Copyright 2017 Google LLC
|
|
64
|
-
*
|
|
65
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
66
|
-
* you may not use this file except in compliance with the License.
|
|
67
|
-
* You may obtain a copy of the License at
|
|
68
|
-
*
|
|
69
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
70
|
-
*
|
|
71
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
72
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
73
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
74
|
-
* See the License for the specific language governing permissions and
|
|
75
|
-
* limitations under the License.
|
|
76
|
-
*/const we="FirebaseError";class I extends Error{constructor(e,n,s){super(n),this.code=e,this.customData=s,this.name=we,Object.setPrototypeOf(this,I.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,B.prototype.create)}}class B{constructor(e,n,s){this.service=e,this.serviceName=n,this.errors=s}create(e,...n){const s=n[0]||{},r=`${this.service}/${e}`,i=this.errors[e],a=i?De(i,s):"Error",c=`${this.serviceName}: ${a} (${r}).`;return new I(r,c,s)}}function De(t,e){return t.replace(Se,(n,s)=>{const r=e[s];return r!=null?String(r):`<${s}?>`})}const Se=/\{\$([^}]+)}/g;/**
|
|
77
|
-
* @license
|
|
78
|
-
* Copyright 2017 Google LLC
|
|
79
|
-
*
|
|
80
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
81
|
-
* you may not use this file except in compliance with the License.
|
|
82
|
-
* You may obtain a copy of the License at
|
|
83
|
-
*
|
|
84
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
85
|
-
*
|
|
86
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
87
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
88
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
89
|
-
* See the License for the specific language governing permissions and
|
|
90
|
-
* limitations under the License.
|
|
91
|
-
*/function z(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function sn(t){for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e))return!1;return!0}function P(t,e){if(t===e)return!0;const n=Object.keys(t),s=Object.keys(e);for(const r of n){if(!s.includes(r))return!1;const i=t[r],a=e[r];if(V(i)&&V(a)){if(!P(i,a))return!1}else if(i!==a)return!1}for(const r of s)if(!n.includes(r))return!1;return!0}function V(t){return t!==null&&typeof t=="object"}/**
|
|
92
|
-
* @license
|
|
93
|
-
* Copyright 2017 Google LLC
|
|
94
|
-
*
|
|
95
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
96
|
-
* you may not use this file except in compliance with the License.
|
|
97
|
-
* You may obtain a copy of the License at
|
|
98
|
-
*
|
|
99
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
100
|
-
*
|
|
101
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
102
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
103
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
104
|
-
* See the License for the specific language governing permissions and
|
|
105
|
-
* limitations under the License.
|
|
106
|
-
*/function an(t){const e=[];for(const[n,s]of Object.entries(t))Array.isArray(s)?s.forEach(r=>{e.push(encodeURIComponent(n)+"="+encodeURIComponent(r))}):e.push(encodeURIComponent(n)+"="+encodeURIComponent(s));return e.length?"&"+e.join("&"):""}function on(t){const e={};return t.replace(/^\?/,"").split("&").forEach(s=>{if(s){const[r,i]=s.split("=");e[decodeURIComponent(r)]=decodeURIComponent(i)}}),e}function cn(t){const e=t.indexOf("?");if(!e)return"";const n=t.indexOf("#",e);return t.substring(e,n>0?n:void 0)}function Ae(t,e){const n=new Oe(t,e);return n.subscribe.bind(n)}class Oe{constructor(e,n){this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Promise.resolve(),this.finalized=!1,this.onNoObservers=n,this.task.then(()=>{e(this)}).catch(s=>{this.error(s)})}next(e){this.forEachObserver(n=>{n.next(e)})}error(e){this.forEachObserver(n=>{n.error(e)}),this.close(e)}complete(){this.forEachObserver(e=>{e.complete()}),this.close()}subscribe(e,n,s){let r;if(e===void 0&&n===void 0&&s===void 0)throw new Error("Missing Observer.");Be(e,["next","error","complete"])?r=e:r={next:e,error:n,complete:s},r.next===void 0&&(r.next=N),r.error===void 0&&(r.error=N),r.complete===void 0&&(r.complete=N);const i=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then(()=>{try{this.finalError?r.error(this.finalError):r.complete()}catch{}}),this.observers.push(r),i}unsubscribeOne(e){this.observers===void 0||this.observers[e]===void 0||(delete this.observers[e],this.observerCount-=1,this.observerCount===0&&this.onNoObservers!==void 0&&this.onNoObservers(this))}forEachObserver(e){if(!this.finalized)for(let n=0;n<this.observers.length;n++)this.sendOne(n,e)}sendOne(e,n){this.task.then(()=>{if(this.observers!==void 0&&this.observers[e]!==void 0)try{n(this.observers[e])}catch(s){typeof console<"u"&&console.error&&console.error(s)}})}close(e){this.finalized||(this.finalized=!0,e!==void 0&&(this.finalError=e),this.task.then(()=>{this.observers=void 0,this.onNoObservers=void 0}))}}function Be(t,e){if(typeof t!="object"||t===null)return!1;for(const n of e)if(n in t&&typeof t[n]=="function")return!0;return!1}function N(){}/**
|
|
107
|
-
* @license
|
|
108
|
-
* Copyright 2019 Google LLC
|
|
109
|
-
*
|
|
110
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
111
|
-
* you may not use this file except in compliance with the License.
|
|
112
|
-
* You may obtain a copy of the License at
|
|
113
|
-
*
|
|
114
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
115
|
-
*
|
|
116
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
117
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
118
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
119
|
-
* See the License for the specific language governing permissions and
|
|
120
|
-
* limitations under the License.
|
|
121
|
-
*/const Ne=1e3,Te=2,Me=4*60*60*1e3,Re=.5;function ln(t,e=Ne,n=Te){const s=e*Math.pow(n,t),r=Math.round(Re*s*(Math.random()-.5)*2);return Math.min(Me,s+r)}/**
|
|
122
|
-
* @license
|
|
123
|
-
* Copyright 2021 Google LLC
|
|
124
|
-
*
|
|
125
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
126
|
-
* you may not use this file except in compliance with the License.
|
|
127
|
-
* You may obtain a copy of the License at
|
|
128
|
-
*
|
|
129
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
130
|
-
*
|
|
131
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
132
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
133
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
134
|
-
* See the License for the specific language governing permissions and
|
|
135
|
-
* limitations under the License.
|
|
136
|
-
*/function hn(t){return t&&t._delegate?t._delegate:t}class C{constructor(e,n,s){this.name=e,this.instanceFactory=n,this.type=s,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(e){return this.instantiationMode=e,this}setMultipleInstances(e){return this.multipleInstances=e,this}setServiceProps(e){return this.serviceProps=e,this}setInstanceCreatedCallback(e){return this.onInstanceCreated=e,this}}/**
|
|
137
|
-
* @license
|
|
138
|
-
* Copyright 2019 Google LLC
|
|
139
|
-
*
|
|
140
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
141
|
-
* you may not use this file except in compliance with the License.
|
|
142
|
-
* You may obtain a copy of the License at
|
|
143
|
-
*
|
|
144
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
145
|
-
*
|
|
146
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
147
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
148
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
149
|
-
* See the License for the specific language governing permissions and
|
|
150
|
-
* limitations under the License.
|
|
151
|
-
*/const y="[DEFAULT]";/**
|
|
152
|
-
* @license
|
|
153
|
-
* Copyright 2019 Google LLC
|
|
154
|
-
*
|
|
155
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
156
|
-
* you may not use this file except in compliance with the License.
|
|
157
|
-
* You may obtain a copy of the License at
|
|
158
|
-
*
|
|
159
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
160
|
-
*
|
|
161
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
162
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
163
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
164
|
-
* See the License for the specific language governing permissions and
|
|
165
|
-
* limitations under the License.
|
|
166
|
-
*/class Le{constructor(e,n){this.name=e,this.container=n,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(e){const n=this.normalizeInstanceIdentifier(e);if(!this.instancesDeferred.has(n)){const s=new _e;if(this.instancesDeferred.set(n,s),this.isInitialized(n)||this.shouldAutoInitialize())try{const r=this.getOrInitializeService({instanceIdentifier:n});r&&s.resolve(r)}catch{}}return this.instancesDeferred.get(n).promise}getImmediate(e){var n;const s=this.normalizeInstanceIdentifier(e?.identifier),r=(n=e?.optional)!==null&&n!==void 0?n:!1;if(this.isInitialized(s)||this.shouldAutoInitialize())try{return this.getOrInitializeService({instanceIdentifier:s})}catch(i){if(r)return null;throw i}else{if(r)return null;throw Error(`Service ${this.name} is not available`)}}getComponent(){return this.component}setComponent(e){if(e.name!==this.name)throw Error(`Mismatching Component ${e.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=e,!!this.shouldAutoInitialize()){if($e(e))try{this.getOrInitializeService({instanceIdentifier:y})}catch{}for(const[n,s]of this.instancesDeferred.entries()){const r=this.normalizeInstanceIdentifier(n);try{const i=this.getOrInitializeService({instanceIdentifier:r});s.resolve(i)}catch{}}}}clearInstance(e=y){this.instancesDeferred.delete(e),this.instancesOptions.delete(e),this.instances.delete(e)}async delete(){const e=Array.from(this.instances.values());await Promise.all([...e.filter(n=>"INTERNAL"in n).map(n=>n.INTERNAL.delete()),...e.filter(n=>"_delete"in n).map(n=>n._delete())])}isComponentSet(){return this.component!=null}isInitialized(e=y){return this.instances.has(e)}getOptions(e=y){return this.instancesOptions.get(e)||{}}initialize(e={}){const{options:n={}}=e,s=this.normalizeInstanceIdentifier(e.instanceIdentifier);if(this.isInitialized(s))throw Error(`${this.name}(${s}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);const r=this.getOrInitializeService({instanceIdentifier:s,options:n});for(const[i,a]of this.instancesDeferred.entries()){const c=this.normalizeInstanceIdentifier(i);s===c&&a.resolve(r)}return r}onInit(e,n){var s;const r=this.normalizeInstanceIdentifier(n),i=(s=this.onInitCallbacks.get(r))!==null&&s!==void 0?s:new Set;i.add(e),this.onInitCallbacks.set(r,i);const a=this.instances.get(r);return a&&e(a,r),()=>{i.delete(e)}}invokeOnInitCallbacks(e,n){const s=this.onInitCallbacks.get(n);if(!!s)for(const r of s)try{r(e,n)}catch{}}getOrInitializeService({instanceIdentifier:e,options:n={}}){let s=this.instances.get(e);if(!s&&this.component&&(s=this.component.instanceFactory(this.container,{instanceIdentifier:Pe(e),options:n}),this.instances.set(e,s),this.instancesOptions.set(e,n),this.invokeOnInitCallbacks(s,e),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,e,s)}catch{}return s||null}normalizeInstanceIdentifier(e=y){return this.component?this.component.multipleInstances?e:y:e}shouldAutoInitialize(){return!!this.component&&this.component.instantiationMode!=="EXPLICIT"}}function Pe(t){return t===y?void 0:t}function $e(t){return t.instantiationMode==="EAGER"}/**
|
|
167
|
-
* @license
|
|
168
|
-
* Copyright 2019 Google LLC
|
|
169
|
-
*
|
|
170
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
171
|
-
* you may not use this file except in compliance with the License.
|
|
172
|
-
* You may obtain a copy of the License at
|
|
173
|
-
*
|
|
174
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
175
|
-
*
|
|
176
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
177
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
178
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
179
|
-
* See the License for the specific language governing permissions and
|
|
180
|
-
* limitations under the License.
|
|
181
|
-
*/class xe{constructor(e){this.name=e,this.providers=new Map}addComponent(e){const n=this.getProvider(e.name);if(n.isComponentSet())throw new Error(`Component ${e.name} has already been registered with ${this.name}`);n.setComponent(e)}addOrOverwriteComponent(e){this.getProvider(e.name).isComponentSet()&&this.providers.delete(e.name),this.addComponent(e)}getProvider(e){if(this.providers.has(e))return this.providers.get(e);const n=new Le(e,this);return this.providers.set(e,n),n}getProviders(){return Array.from(this.providers.values())}}/**
|
|
182
|
-
* @license
|
|
183
|
-
* Copyright 2017 Google LLC
|
|
184
|
-
*
|
|
185
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
186
|
-
* you may not use this file except in compliance with the License.
|
|
187
|
-
* You may obtain a copy of the License at
|
|
188
|
-
*
|
|
189
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
190
|
-
*
|
|
191
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
192
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
193
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
194
|
-
* See the License for the specific language governing permissions and
|
|
195
|
-
* limitations under the License.
|
|
196
|
-
*/const H=[];var h;(function(t){t[t.DEBUG=0]="DEBUG",t[t.VERBOSE=1]="VERBOSE",t[t.INFO=2]="INFO",t[t.WARN=3]="WARN",t[t.ERROR=4]="ERROR",t[t.SILENT=5]="SILENT"})(h||(h={}));const re={debug:h.DEBUG,verbose:h.VERBOSE,info:h.INFO,warn:h.WARN,error:h.ERROR,silent:h.SILENT},Fe=h.INFO,He={[h.DEBUG]:"log",[h.VERBOSE]:"log",[h.INFO]:"info",[h.WARN]:"warn",[h.ERROR]:"error"},je=(t,e,...n)=>{if(e<t.logLevel)return;const s=new Date().toISOString(),r=He[e];if(r)console[r](`[${s}] ${t.name}:`,...n);else throw new Error(`Attempted to log a message with an invalid logType (value: ${e})`)};class se{constructor(e){this.name=e,this._logLevel=Fe,this._logHandler=je,this._userLogHandler=null,H.push(this)}get logLevel(){return this._logLevel}set logLevel(e){if(!(e in h))throw new TypeError(`Invalid value "${e}" assigned to \`logLevel\``);this._logLevel=e}setLogLevel(e){this._logLevel=typeof e=="string"?re[e]:e}get logHandler(){return this._logHandler}set logHandler(e){if(typeof e!="function")throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=e}get userLogHandler(){return this._userLogHandler}set userLogHandler(e){this._userLogHandler=e}debug(...e){this._userLogHandler&&this._userLogHandler(this,h.DEBUG,...e),this._logHandler(this,h.DEBUG,...e)}log(...e){this._userLogHandler&&this._userLogHandler(this,h.VERBOSE,...e),this._logHandler(this,h.VERBOSE,...e)}info(...e){this._userLogHandler&&this._userLogHandler(this,h.INFO,...e),this._logHandler(this,h.INFO,...e)}warn(...e){this._userLogHandler&&this._userLogHandler(this,h.WARN,...e),this._logHandler(this,h.WARN,...e)}error(...e){this._userLogHandler&&this._userLogHandler(this,h.ERROR,...e),this._logHandler(this,h.ERROR,...e)}}function ke(t){H.forEach(e=>{e.setLogLevel(t)})}function ze(t,e){for(const n of H){let s=null;e&&e.level&&(s=re[e.level]),t===null?n.userLogHandler=null:n.userLogHandler=(r,i,...a)=>{const c=a.map(l=>{if(l==null)return null;if(typeof l=="string")return l;if(typeof l=="number"||typeof l=="boolean")return l.toString();if(l instanceof Error)return l.message;try{return JSON.stringify(l)}catch{return null}}).filter(l=>l).join(" ");i>=(s??r.logLevel)&&t({level:h[i].toLowerCase(),message:c,args:a,type:r.name})}}}const Ve=(t,e)=>e.some(n=>t instanceof n);let U,W;function Ue(){return U||(U=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function We(){return W||(W=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const ie=new WeakMap,$=new WeakMap,ae=new WeakMap,T=new WeakMap,j=new WeakMap;function Ge(t){const e=new Promise((n,s)=>{const r=()=>{t.removeEventListener("success",i),t.removeEventListener("error",a)},i=()=>{n(m(t.result)),r()},a=()=>{s(t.error),r()};t.addEventListener("success",i),t.addEventListener("error",a)});return e.then(n=>{n instanceof IDBCursor&&ie.set(n,t)}).catch(()=>{}),j.set(e,t),e}function Ke(t){if($.has(t))return;const e=new Promise((n,s)=>{const r=()=>{t.removeEventListener("complete",i),t.removeEventListener("error",a),t.removeEventListener("abort",a)},i=()=>{n(),r()},a=()=>{s(t.error||new DOMException("AbortError","AbortError")),r()};t.addEventListener("complete",i),t.addEventListener("error",a),t.addEventListener("abort",a)});$.set(t,e)}let x={get(t,e,n){if(t instanceof IDBTransaction){if(e==="done")return $.get(t);if(e==="objectStoreNames")return t.objectStoreNames||ae.get(t);if(e==="store")return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return m(t[e])},set(t,e,n){return t[e]=n,!0},has(t,e){return t instanceof IDBTransaction&&(e==="done"||e==="store")?!0:e in t}};function Ye(t){x=t(x)}function Xe(t){return t===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(e,...n){const s=t.call(M(this),e,...n);return ae.set(s,e.sort?e.sort():[e]),m(s)}:We().includes(t)?function(...e){return t.apply(M(this),e),m(ie.get(this))}:function(...e){return m(t.apply(M(this),e))}}function Je(t){return typeof t=="function"?Xe(t):(t instanceof IDBTransaction&&Ke(t),Ve(t,Ue())?new Proxy(t,x):t)}function m(t){if(t instanceof IDBRequest)return Ge(t);if(T.has(t))return T.get(t);const e=Je(t);return e!==t&&(T.set(t,e),j.set(e,t)),e}const M=t=>j.get(t);function qe(t,e,{blocked:n,upgrade:s,blocking:r,terminated:i}={}){const a=indexedDB.open(t,e),c=m(a);return s&&a.addEventListener("upgradeneeded",l=>{s(m(a.result),l.oldVersion,l.newVersion,m(a.transaction))}),n&&a.addEventListener("blocked",()=>n()),c.then(l=>{i&&l.addEventListener("close",()=>i()),r&&l.addEventListener("versionchange",()=>r())}).catch(()=>{}),c}const Qe=["get","getKey","getAll","getAllKeys","count"],Ze=["put","add","delete","clear"],R=new Map;function G(t,e){if(!(t instanceof IDBDatabase&&!(e in t)&&typeof e=="string"))return;if(R.get(e))return R.get(e);const n=e.replace(/FromIndex$/,""),s=e!==n,r=Ze.includes(n);if(!(n in(s?IDBIndex:IDBObjectStore).prototype)||!(r||Qe.includes(n)))return;const i=async function(a,...c){const l=this.transaction(a,r?"readwrite":"readonly");let o=l.store;return s&&(o=o.index(c.shift())),(await Promise.all([o[n](...c),r&&l.done]))[0]};return R.set(e,i),i}Ye(t=>({...t,get:(e,n,s)=>G(e,n)||t.get(e,n,s),has:(e,n)=>!!G(e,n)||t.has(e,n)}));/**
|
|
197
|
-
* @license
|
|
198
|
-
* Copyright 2019 Google LLC
|
|
199
|
-
*
|
|
200
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
201
|
-
* you may not use this file except in compliance with the License.
|
|
202
|
-
* You may obtain a copy of the License at
|
|
203
|
-
*
|
|
204
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
205
|
-
*
|
|
206
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
207
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
208
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
209
|
-
* See the License for the specific language governing permissions and
|
|
210
|
-
* limitations under the License.
|
|
211
|
-
*/class et{constructor(e){this.container=e}getPlatformInfoString(){return this.container.getProviders().map(n=>{if(tt(n)){const s=n.getImmediate();return`${s.library}/${s.version}`}else return null}).filter(n=>n).join(" ")}}function tt(t){const e=t.getComponent();return e?.type==="VERSION"}const F="@firebase/app",K="0.7.32";/**
|
|
212
|
-
* @license
|
|
213
|
-
* Copyright 2019 Google LLC
|
|
214
|
-
*
|
|
215
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
216
|
-
* you may not use this file except in compliance with the License.
|
|
217
|
-
* You may obtain a copy of the License at
|
|
218
|
-
*
|
|
219
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
220
|
-
*
|
|
221
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
222
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
223
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
224
|
-
* See the License for the specific language governing permissions and
|
|
225
|
-
* limitations under the License.
|
|
226
|
-
*/const E=new se("@firebase/app"),nt="@firebase/app-compat",rt="@firebase/analytics-compat",st="@firebase/analytics",it="@firebase/app-check-compat",at="@firebase/app-check",ot="@firebase/auth",ct="@firebase/auth-compat",lt="@firebase/database",ht="@firebase/database-compat",dt="@firebase/functions",ft="@firebase/functions-compat",ut="@firebase/installations",pt="@firebase/installations-compat",mt="@firebase/messaging",bt="@firebase/messaging-compat",gt="@firebase/performance",yt="@firebase/performance-compat",Et="@firebase/remote-config",_t="@firebase/remote-config-compat",vt="@firebase/storage",It="@firebase/storage-compat",Ct="@firebase/firestore",wt="@firebase/firestore-compat",Dt="firebase",St="9.9.4";/**
|
|
227
|
-
* @license
|
|
228
|
-
* Copyright 2019 Google LLC
|
|
229
|
-
*
|
|
230
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
231
|
-
* you may not use this file except in compliance with the License.
|
|
232
|
-
* You may obtain a copy of the License at
|
|
233
|
-
*
|
|
234
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
235
|
-
*
|
|
236
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
237
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
238
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
239
|
-
* See the License for the specific language governing permissions and
|
|
240
|
-
* limitations under the License.
|
|
241
|
-
*/const _="[DEFAULT]",At={[F]:"fire-core",[nt]:"fire-core-compat",[st]:"fire-analytics",[rt]:"fire-analytics-compat",[at]:"fire-app-check",[it]:"fire-app-check-compat",[ot]:"fire-auth",[ct]:"fire-auth-compat",[lt]:"fire-rtdb",[ht]:"fire-rtdb-compat",[dt]:"fire-fn",[ft]:"fire-fn-compat",[ut]:"fire-iid",[pt]:"fire-iid-compat",[mt]:"fire-fcm",[bt]:"fire-fcm-compat",[gt]:"fire-perf",[yt]:"fire-perf-compat",[Et]:"fire-rc",[_t]:"fire-rc-compat",[vt]:"fire-gcs",[It]:"fire-gcs-compat",[Ct]:"fire-fst",[wt]:"fire-fst-compat","fire-js":"fire-js",[Dt]:"fire-js-all"};/**
|
|
242
|
-
* @license
|
|
243
|
-
* Copyright 2019 Google LLC
|
|
244
|
-
*
|
|
245
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
246
|
-
* you may not use this file except in compliance with the License.
|
|
247
|
-
* You may obtain a copy of the License at
|
|
248
|
-
*
|
|
249
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
250
|
-
*
|
|
251
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
252
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
253
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
254
|
-
* See the License for the specific language governing permissions and
|
|
255
|
-
* limitations under the License.
|
|
256
|
-
*/const b=new Map,w=new Map;function O(t,e){try{t.container.addComponent(e)}catch(n){E.debug(`Component ${e.name} failed to register with FirebaseApp ${t.name}`,n)}}function oe(t,e){t.container.addOrOverwriteComponent(e)}function D(t){const e=t.name;if(w.has(e))return E.debug(`There were multiple attempts to register component ${e}.`),!1;w.set(e,t);for(const n of b.values())O(n,t);return!0}function ce(t,e){const n=t.container.getProvider("heartbeat").getImmediate({optional:!0});return n&&n.triggerHeartbeat(),t.container.getProvider(e)}function Ot(t,e,n=_){ce(t,e).clearInstance(n)}function Bt(){w.clear()}/**
|
|
257
|
-
* @license
|
|
258
|
-
* Copyright 2019 Google LLC
|
|
259
|
-
*
|
|
260
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
261
|
-
* you may not use this file except in compliance with the License.
|
|
262
|
-
* You may obtain a copy of the License at
|
|
263
|
-
*
|
|
264
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
265
|
-
*
|
|
266
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
267
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
268
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
269
|
-
* See the License for the specific language governing permissions and
|
|
270
|
-
* limitations under the License.
|
|
271
|
-
*/const Nt={["no-app"]:"No Firebase App '{$appName}' has been created - call Firebase App.initializeApp()",["bad-app-name"]:"Illegal App name: '{$appName}",["duplicate-app"]:"Firebase App named '{$appName}' already exists with different options or config",["app-deleted"]:"Firebase App named '{$appName}' already deleted",["invalid-app-argument"]:"firebase.{$appName}() takes either no argument or a Firebase App instance.",["invalid-log-argument"]:"First argument to `onLog` must be null or a function.",["idb-open"]:"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.",["idb-get"]:"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.",["idb-set"]:"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.",["idb-delete"]:"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}."},g=new B("app","Firebase",Nt);/**
|
|
272
|
-
* @license
|
|
273
|
-
* Copyright 2019 Google LLC
|
|
274
|
-
*
|
|
275
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
276
|
-
* you may not use this file except in compliance with the License.
|
|
277
|
-
* You may obtain a copy of the License at
|
|
278
|
-
*
|
|
279
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
280
|
-
*
|
|
281
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
282
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
283
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
284
|
-
* See the License for the specific language governing permissions and
|
|
285
|
-
* limitations under the License.
|
|
286
|
-
*/class Tt{constructor(e,n,s){this._isDeleted=!1,this._options=Object.assign({},e),this._config=Object.assign({},n),this._name=n.name,this._automaticDataCollectionEnabled=n.automaticDataCollectionEnabled,this._container=s,this.container.addComponent(new C("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(e){this.checkDestroyed(),this._automaticDataCollectionEnabled=e}get name(){return this.checkDestroyed(),this._name}get options(){return this.checkDestroyed(),this._options}get config(){return this.checkDestroyed(),this._config}get container(){return this._container}get isDeleted(){return this._isDeleted}set isDeleted(e){this._isDeleted=e}checkDestroyed(){if(this.isDeleted)throw g.create("app-deleted",{appName:this._name})}}/**
|
|
287
|
-
* @license
|
|
288
|
-
* Copyright 2019 Google LLC
|
|
289
|
-
*
|
|
290
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
291
|
-
* you may not use this file except in compliance with the License.
|
|
292
|
-
* You may obtain a copy of the License at
|
|
293
|
-
*
|
|
294
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
295
|
-
*
|
|
296
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
297
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
298
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
299
|
-
* See the License for the specific language governing permissions and
|
|
300
|
-
* limitations under the License.
|
|
301
|
-
*/const le=St;function he(t,e={}){typeof e!="object"&&(e={name:e});const n=Object.assign({name:_,automaticDataCollectionEnabled:!1},e),s=n.name;if(typeof s!="string"||!s)throw g.create("bad-app-name",{appName:String(s)});const r=b.get(s);if(r){if(P(t,r.options)&&P(n,r.config))return r;throw g.create("duplicate-app",{appName:s})}const i=new xe(s);for(const c of w.values())i.addComponent(c);const a=new Tt(t,n,i);return b.set(s,a),a}function Mt(t=_){const e=b.get(t);if(!e)throw g.create("no-app",{appName:t});return e}function Rt(){return Array.from(b.values())}async function de(t){const e=t.name;b.has(e)&&(b.delete(e),await Promise.all(t.container.getProviders().map(n=>n.delete())),t.isDeleted=!0)}function v(t,e,n){var s;let r=(s=At[t])!==null&&s!==void 0?s:t;n&&(r+=`-${n}`);const i=r.match(/\s|\//),a=e.match(/\s|\//);if(i||a){const c=[`Unable to register library "${r}" with version "${e}":`];i&&c.push(`library name "${r}" contains illegal characters (whitespace or "/")`),i&&a&&c.push("and"),a&&c.push(`version name "${e}" contains illegal characters (whitespace or "/")`),E.warn(c.join(" "));return}D(new C(`${r}-version`,()=>({library:r,version:e}),"VERSION"))}function fe(t,e){if(t!==null&&typeof t!="function")throw g.create("invalid-log-argument");ze(t,e)}function ue(t){ke(t)}/**
|
|
302
|
-
* @license
|
|
303
|
-
* Copyright 2021 Google LLC
|
|
304
|
-
*
|
|
305
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
306
|
-
* you may not use this file except in compliance with the License.
|
|
307
|
-
* You may obtain a copy of the License at
|
|
308
|
-
*
|
|
309
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
310
|
-
*
|
|
311
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
312
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
313
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
314
|
-
* See the License for the specific language governing permissions and
|
|
315
|
-
* limitations under the License.
|
|
316
|
-
*/const Lt="firebase-heartbeat-database",Pt=1,S="firebase-heartbeat-store";let L=null;function pe(){return L||(L=qe(Lt,Pt,{upgrade:(t,e)=>{switch(e){case 0:t.createObjectStore(S)}}}).catch(t=>{throw g.create("idb-open",{originalErrorMessage:t.message})})),L}async function $t(t){var e;try{return(await pe()).transaction(S).objectStore(S).get(me(t))}catch(n){if(n instanceof I)E.warn(n.message);else{const s=g.create("idb-get",{originalErrorMessage:(e=n)===null||e===void 0?void 0:e.message});E.warn(s.message)}}}async function Y(t,e){var n;try{const r=(await pe()).transaction(S,"readwrite");return await r.objectStore(S).put(e,me(t)),r.done}catch(s){if(s instanceof I)E.warn(s.message);else{const r=g.create("idb-set",{originalErrorMessage:(n=s)===null||n===void 0?void 0:n.message});E.warn(r.message)}}}function me(t){return`${t.name}!${t.options.appId}`}/**
|
|
317
|
-
* @license
|
|
318
|
-
* Copyright 2021 Google LLC
|
|
319
|
-
*
|
|
320
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
321
|
-
* you may not use this file except in compliance with the License.
|
|
322
|
-
* You may obtain a copy of the License at
|
|
323
|
-
*
|
|
324
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
325
|
-
*
|
|
326
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
327
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
328
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
329
|
-
* See the License for the specific language governing permissions and
|
|
330
|
-
* limitations under the License.
|
|
331
|
-
*/const xt=1024,Ft=30*24*60*60*1e3;class Ht{constructor(e){this.container=e,this._heartbeatsCache=null;const n=this.container.getProvider("app").getImmediate();this._storage=new kt(n),this._heartbeatsCachePromise=this._storage.read().then(s=>(this._heartbeatsCache=s,s))}async triggerHeartbeat(){const n=this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),s=X();if(this._heartbeatsCache===null&&(this._heartbeatsCache=await this._heartbeatsCachePromise),!(this._heartbeatsCache.lastSentHeartbeatDate===s||this._heartbeatsCache.heartbeats.some(r=>r.date===s)))return this._heartbeatsCache.heartbeats.push({date:s,agent:n}),this._heartbeatsCache.heartbeats=this._heartbeatsCache.heartbeats.filter(r=>{const i=new Date(r.date).valueOf();return Date.now()-i<=Ft}),this._storage.overwrite(this._heartbeatsCache)}async getHeartbeatsHeader(){if(this._heartbeatsCache===null&&await this._heartbeatsCachePromise,this._heartbeatsCache===null||this._heartbeatsCache.heartbeats.length===0)return"";const e=X(),{heartbeatsToSend:n,unsentEntries:s}=jt(this._heartbeatsCache.heartbeats),r=te(JSON.stringify({version:2,heartbeats:n}));return this._heartbeatsCache.lastSentHeartbeatDate=e,s.length>0?(this._heartbeatsCache.heartbeats=s,await this._storage.overwrite(this._heartbeatsCache)):(this._heartbeatsCache.heartbeats=[],this._storage.overwrite(this._heartbeatsCache)),r}}function X(){return new Date().toISOString().substring(0,10)}function jt(t,e=xt){const n=[];let s=t.slice();for(const r of t){const i=n.find(a=>a.agent===r.agent);if(i){if(i.dates.push(r.date),J(n)>e){i.dates.pop();break}}else if(n.push({agent:r.agent,dates:[r.date]}),J(n)>e){n.pop();break}s=s.slice(1)}return{heartbeatsToSend:n,unsentEntries:s}}class kt{constructor(e){this.app=e,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}async runIndexedDBEnvironmentCheck(){return Ie()?Ce().then(()=>!0).catch(()=>!1):!1}async read(){return await this._canUseIndexedDBPromise?await $t(this.app)||{heartbeats:[]}:{heartbeats:[]}}async overwrite(e){var n;if(await this._canUseIndexedDBPromise){const r=await this.read();return Y(this.app,{lastSentHeartbeatDate:(n=e.lastSentHeartbeatDate)!==null&&n!==void 0?n:r.lastSentHeartbeatDate,heartbeats:e.heartbeats})}else return}async add(e){var n;if(await this._canUseIndexedDBPromise){const r=await this.read();return Y(this.app,{lastSentHeartbeatDate:(n=e.lastSentHeartbeatDate)!==null&&n!==void 0?n:r.lastSentHeartbeatDate,heartbeats:[...r.heartbeats,...e.heartbeats]})}else return}}function J(t){return te(JSON.stringify({version:2,heartbeats:t})).length}/**
|
|
332
|
-
* @license
|
|
333
|
-
* Copyright 2019 Google LLC
|
|
334
|
-
*
|
|
335
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
336
|
-
* you may not use this file except in compliance with the License.
|
|
337
|
-
* You may obtain a copy of the License at
|
|
338
|
-
*
|
|
339
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
340
|
-
*
|
|
341
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
342
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
343
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
344
|
-
* See the License for the specific language governing permissions and
|
|
345
|
-
* limitations under the License.
|
|
346
|
-
*/function zt(t){D(new C("platform-logger",e=>new et(e),"PRIVATE")),D(new C("heartbeat",e=>new Ht(e),"PRIVATE")),v(F,K,t),v(F,K,"esm2017"),v("fire-js","")}zt("");const Vt=Object.freeze(Object.defineProperty({__proto__:null,SDK_VERSION:le,_DEFAULT_ENTRY_NAME:_,_addComponent:O,_addOrOverwriteComponent:oe,_apps:b,_clearComponents:Bt,_components:w,_getProvider:ce,_registerComponent:D,_removeServiceInstance:Ot,deleteApp:de,getApp:Mt,getApps:Rt,initializeApp:he,onLog:fe,registerVersion:v,setLogLevel:ue,FirebaseError:I},Symbol.toStringTag,{value:"Module"}));/**
|
|
347
|
-
* @license
|
|
348
|
-
* Copyright 2020 Google LLC
|
|
349
|
-
*
|
|
350
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
351
|
-
* you may not use this file except in compliance with the License.
|
|
352
|
-
* You may obtain a copy of the License at
|
|
353
|
-
*
|
|
354
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
355
|
-
*
|
|
356
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
357
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
358
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
359
|
-
* See the License for the specific language governing permissions and
|
|
360
|
-
* limitations under the License.
|
|
361
|
-
*/class Ut{constructor(e,n){this._delegate=e,this.firebase=n,O(e,new C("app-compat",()=>this,"PUBLIC")),this.container=e.container}get automaticDataCollectionEnabled(){return this._delegate.automaticDataCollectionEnabled}set automaticDataCollectionEnabled(e){this._delegate.automaticDataCollectionEnabled=e}get name(){return this._delegate.name}get options(){return this._delegate.options}delete(){return new Promise(e=>{this._delegate.checkDestroyed(),e()}).then(()=>(this.firebase.INTERNAL.removeApp(this.name),de(this._delegate)))}_getService(e,n=_){var s;this._delegate.checkDestroyed();const r=this._delegate.container.getProvider(e);return!r.isInitialized()&&((s=r.getComponent())===null||s===void 0?void 0:s.instantiationMode)==="EXPLICIT"&&r.initialize(),r.getImmediate({identifier:n})}_removeServiceInstance(e,n=_){this._delegate.container.getProvider(e).clearInstance(n)}_addComponent(e){O(this._delegate,e)}_addOrOverwriteComponent(e){oe(this._delegate,e)}toJSON(){return{name:this.name,automaticDataCollectionEnabled:this.automaticDataCollectionEnabled,options:this.options}}}/**
|
|
362
|
-
* @license
|
|
363
|
-
* Copyright 2019 Google LLC
|
|
364
|
-
*
|
|
365
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
366
|
-
* you may not use this file except in compliance with the License.
|
|
367
|
-
* You may obtain a copy of the License at
|
|
368
|
-
*
|
|
369
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
370
|
-
*
|
|
371
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
372
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
373
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
374
|
-
* See the License for the specific language governing permissions and
|
|
375
|
-
* limitations under the License.
|
|
376
|
-
*/const Wt={["no-app"]:"No Firebase App '{$appName}' has been created - call Firebase App.initializeApp()",["invalid-app-argument"]:"firebase.{$appName}() takes either no argument or a Firebase App instance."},q=new B("app-compat","Firebase",Wt);/**
|
|
377
|
-
* @license
|
|
378
|
-
* Copyright 2019 Google LLC
|
|
379
|
-
*
|
|
380
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
381
|
-
* you may not use this file except in compliance with the License.
|
|
382
|
-
* You may obtain a copy of the License at
|
|
383
|
-
*
|
|
384
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
385
|
-
*
|
|
386
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
387
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
388
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
389
|
-
* See the License for the specific language governing permissions and
|
|
390
|
-
* limitations under the License.
|
|
391
|
-
*/function Gt(t){const e={},n={__esModule:!0,initializeApp:i,app:r,registerVersion:v,setLogLevel:ue,onLog:fe,apps:null,SDK_VERSION:le,INTERNAL:{registerComponent:c,removeApp:s,useAsService:l,modularAPIs:Vt}};n.default=n,Object.defineProperty(n,"apps",{get:a});function s(o){delete e[o]}function r(o){if(o=o||_,!z(e,o))throw q.create("no-app",{appName:o});return e[o]}r.App=t;function i(o,f={}){const d=he(o,f);if(z(e,d.name))return e[d.name];const u=new t(d,n);return e[d.name]=u,u}function a(){return Object.keys(e).map(o=>e[o])}function c(o){const f=o.name,d=f.replace("-compat","");if(D(o)&&o.type==="PUBLIC"){const u=(p=r())=>{if(typeof p[d]!="function")throw q.create("invalid-app-argument",{appName:f});return p[d]()};o.serviceProps!==void 0&&A(u,o.serviceProps),n[d]=u,t.prototype[d]=function(...p){return this._getService.bind(this,f).apply(this,o.multipleInstances?p:[])}}return o.type==="PUBLIC"?n[d]:null}function l(o,f){return f==="serverAuth"?null:f}return n}/**
|
|
392
|
-
* @license
|
|
393
|
-
* Copyright 2019 Google LLC
|
|
394
|
-
*
|
|
395
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
396
|
-
* you may not use this file except in compliance with the License.
|
|
397
|
-
* You may obtain a copy of the License at
|
|
398
|
-
*
|
|
399
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
400
|
-
*
|
|
401
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
402
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
403
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
404
|
-
* See the License for the specific language governing permissions and
|
|
405
|
-
* limitations under the License.
|
|
406
|
-
*/function be(){const t=Gt(Ut);t.INTERNAL=Object.assign(Object.assign({},t.INTERNAL),{createFirebaseNamespace:be,extendNamespace:e,createSubscribe:Ae,ErrorFactory:B,deepExtend:A});function e(n){A(t,n)}return t}const Kt=be();/**
|
|
407
|
-
* @license
|
|
408
|
-
* Copyright 2019 Google LLC
|
|
409
|
-
*
|
|
410
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
411
|
-
* you may not use this file except in compliance with the License.
|
|
412
|
-
* You may obtain a copy of the License at
|
|
413
|
-
*
|
|
414
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
415
|
-
*
|
|
416
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
417
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
418
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
419
|
-
* See the License for the specific language governing permissions and
|
|
420
|
-
* limitations under the License.
|
|
421
|
-
*/const Q=new se("@firebase/app-compat"),Yt="@firebase/app-compat",Xt="0.1.33";/**
|
|
422
|
-
* @license
|
|
423
|
-
* Copyright 2019 Google LLC
|
|
424
|
-
*
|
|
425
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
426
|
-
* you may not use this file except in compliance with the License.
|
|
427
|
-
* You may obtain a copy of the License at
|
|
428
|
-
*
|
|
429
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
430
|
-
*
|
|
431
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
432
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
433
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
434
|
-
* See the License for the specific language governing permissions and
|
|
435
|
-
* limitations under the License.
|
|
436
|
-
*/function Jt(t){v(Yt,Xt,t)}/**
|
|
437
|
-
* @license
|
|
438
|
-
* Copyright 2020 Google LLC
|
|
439
|
-
*
|
|
440
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
441
|
-
* you may not use this file except in compliance with the License.
|
|
442
|
-
* You may obtain a copy of the License at
|
|
443
|
-
*
|
|
444
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
445
|
-
*
|
|
446
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
447
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
448
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
449
|
-
* See the License for the specific language governing permissions and
|
|
450
|
-
* limitations under the License.
|
|
451
|
-
*/if(ve()&&self.firebase!==void 0){Q.warn(`
|
|
452
|
-
Warning: Firebase is already defined in the global scope. Please make sure
|
|
453
|
-
Firebase library is only loaded once.
|
|
454
|
-
`);const t=self.firebase.SDK_VERSION;t&&t.indexOf("LITE")>=0&&Q.warn(`
|
|
455
|
-
Warning: You are trying to load Firebase while using Firebase Performance standalone script.
|
|
456
|
-
You should load Firebase Performance with this instance of Firebase to avoid loading duplicate code.
|
|
457
|
-
`)}const dn=Kt;Jt();export{C,B as E,I as F,se as L,le as S,D as _,ce as a,Mt as b,ln as c,P as d,Ie as e,dn as f,hn as g,rn as h,en as i,Qt as j,tn as k,Ae as l,ne as m,on as n,qe as o,cn as p,an as q,v as r,h as s,nn as t,qt as u,Ce as v,sn as w,Zt as x};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function us(e,t){const s=Object.create(null),n=e.split(",");for(let r=0;r<n.length;r++)s[n[r]]=!0;return t?r=>!!s[r.toLowerCase()]:r=>!!s[r]}const er="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Gl=us(er);function ei(e){return!!e||e===""}function as(e){if(R(e)){const t={};for(let s=0;s<e.length;s++){const n=e[s],r=de(n)?nr(n):as(n);if(r)for(const l in r)t[l]=r[l]}return t}else{if(de(e))return e;if(Q(e))return e}}const tr=/;(?![^(]*\))/g,sr=/:(.+)/;function nr(e){const t={};return e.split(tr).forEach(s=>{if(s){const n=s.split(sr);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function hs(e){let t="";if(de(e))t=e;else if(R(e))for(let s=0;s<e.length;s++){const n=hs(e[s]);n&&(t+=n+" ")}else if(Q(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}const ti=e=>de(e)?e:e==null?"":R(e)||Q(e)&&(e.toString===ln||!H(e.toString))?JSON.stringify(e,tn,2):String(e),tn=(e,t)=>t&&t.__v_isRef?tn(e,t.value):Xe(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,r])=>(s[`${n} =>`]=r,s),{})}:nn(t)?{[`Set(${t.size})`]:[...t.values()]}:Q(t)&&!R(t)&&!on(t)?String(t):t,v={},Qe=[],Ee=()=>{},rr=()=>!1,lr=/^on[^a-z]/,Bt=e=>lr.test(e),sn=e=>e.startsWith("onUpdate:"),ce=Object.assign,ds=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},ir=Object.prototype.hasOwnProperty,$=(e,t)=>ir.call(e,t),R=Array.isArray,Xe=e=>Dt(e)==="[object Map]",nn=e=>Dt(e)==="[object Set]",H=e=>typeof e=="function",de=e=>typeof e=="string",ps=e=>typeof e=="symbol",Q=e=>e!==null&&typeof e=="object",rn=e=>Q(e)&&H(e.then)&&H(e.catch),ln=Object.prototype.toString,Dt=e=>ln.call(e),or=e=>Dt(e).slice(8,-1),on=e=>Dt(e)==="[object Object]",gs=e=>de(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ut=us(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Lt=e=>{const t=Object.create(null);return s=>t[s]||(t[s]=e(s))},fr=/-(\w)/g,ht=Lt(e=>e.replace(fr,(t,s)=>s?s.toUpperCase():"")),cr=/\B([A-Z])/g,kt=Lt(e=>e.replace(cr,"-$1").toLowerCase()),ur=Lt(e=>e.charAt(0).toUpperCase()+e.slice(1)),Qt=Lt(e=>e?`on${ur(e)}`:""),dt=(e,t)=>!Object.is(e,t),Xt=(e,t)=>{for(let s=0;s<e.length;s++)e[s](t)},At=(e,t,s)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:s})},ar=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Us;const hr=()=>Us||(Us=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Ce;class dr{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&Ce&&(this.parent=Ce,this.index=(Ce.scopes||(Ce.scopes=[])).push(this)-1)}run(t){if(this.active){const s=Ce;try{return Ce=this,t()}finally{Ce=s}}}on(){Ce=this}off(){Ce=this.parent}stop(t){if(this.active){let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.scopes)for(s=0,n=this.scopes.length;s<n;s++)this.scopes[s].stop(!0);if(this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.active=!1}}}function pr(e,t=Ce){t&&t.active&&t.effects.push(e)}const _s=e=>{const t=new Set(e);return t.w=0,t.n=0,t},fn=e=>(e.w&De)>0,cn=e=>(e.n&De)>0,gr=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=De},_r=e=>{const{deps:t}=e;if(t.length){let s=0;for(let n=0;n<t.length;n++){const r=t[n];fn(r)&&!cn(r)?r.delete(e):t[s++]=r,r.w&=~De,r.n&=~De}t.length=s}},ts=new WeakMap;let ct=0,De=1;const ss=30;let ye;const ve=Symbol(""),ns=Symbol("");class ms{constructor(t,s=null,n){this.fn=t,this.scheduler=s,this.active=!0,this.deps=[],this.parent=void 0,pr(this,n)}run(){if(!this.active)return this.fn();let t=ye,s=Ke;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=ye,ye=this,Ke=!0,De=1<<++ct,ct<=ss?gr(this):$s(this),this.fn()}finally{ct<=ss&&_r(this),De=1<<--ct,ye=this.parent,Ke=s,this.parent=void 0,this.deferStop&&this.stop()}}stop(){ye===this?this.deferStop=!0:this.active&&($s(this),this.onStop&&this.onStop(),this.active=!1)}}function $s(e){const{deps:t}=e;if(t.length){for(let s=0;s<t.length;s++)t[s].delete(e);t.length=0}}let Ke=!0;const un=[];function rt(){un.push(Ke),Ke=!1}function lt(){const e=un.pop();Ke=e===void 0?!0:e}function pe(e,t,s){if(Ke&&ye){let n=ts.get(e);n||ts.set(e,n=new Map);let r=n.get(s);r||n.set(s,r=_s()),an(r)}}function an(e,t){let s=!1;ct<=ss?cn(e)||(e.n|=De,s=!fn(e)):s=!e.has(ye),s&&(e.add(ye),ye.deps.push(e))}function Re(e,t,s,n,r,l){const o=ts.get(e);if(!o)return;let c=[];if(t==="clear")c=[...o.values()];else if(s==="length"&&R(e))o.forEach((u,h)=>{(h==="length"||h>=n)&&c.push(u)});else switch(s!==void 0&&c.push(o.get(s)),t){case"add":R(e)?gs(s)&&c.push(o.get("length")):(c.push(o.get(ve)),Xe(e)&&c.push(o.get(ns)));break;case"delete":R(e)||(c.push(o.get(ve)),Xe(e)&&c.push(o.get(ns)));break;case"set":Xe(e)&&c.push(o.get(ve));break}if(c.length===1)c[0]&&rs(c[0]);else{const u=[];for(const h of c)h&&u.push(...h);rs(_s(u))}}function rs(e,t){const s=R(e)?e:[...e];for(const n of s)n.computed&&Ks(n);for(const n of s)n.computed||Ks(n)}function Ks(e,t){(e!==ye||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const mr=us("__proto__,__v_isRef,__isVue"),hn=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ps)),br=bs(),xr=bs(!1,!0),yr=bs(!0),Bs=wr();function wr(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...s){const n=D(this);for(let l=0,o=this.length;l<o;l++)pe(n,"get",l+"");const r=n[t](...s);return r===-1||r===!1?n[t](...s.map(D)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...s){rt();const n=D(this)[t].apply(this,s);return lt(),n}}),e}function bs(e=!1,t=!1){return function(n,r,l){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&l===(e?t?Kr:mn:t?_n:gn).get(n))return n;const o=R(n);if(!e&&o&&$(Bs,r))return Reflect.get(Bs,r,l);const c=Reflect.get(n,r,l);return(ps(r)?hn.has(r):mr(r))||(e||pe(n,"get",r),t)?c:le(c)?o&&gs(r)?c:c.value:Q(c)?e?bn(c):ws(c):c}}const Er=dn(),Tr=dn(!0);function dn(e=!1){return function(s,n,r,l){let o=s[n];if(tt(o)&&le(o)&&!le(r))return!1;if(!e&&(!Rt(r)&&!tt(r)&&(o=D(o),r=D(r)),!R(s)&&le(o)&&!le(r)))return o.value=r,!0;const c=R(s)&&gs(n)?Number(n)<s.length:$(s,n),u=Reflect.set(s,n,r,l);return s===D(l)&&(c?dt(r,o)&&Re(s,"set",n,r):Re(s,"add",n,r)),u}}function Cr(e,t){const s=$(e,t);e[t];const n=Reflect.deleteProperty(e,t);return n&&s&&Re(e,"delete",t,void 0),n}function Fr(e,t){const s=Reflect.has(e,t);return(!ps(t)||!hn.has(t))&&pe(e,"has",t),s}function Or(e){return pe(e,"iterate",R(e)?"length":ve),Reflect.ownKeys(e)}const pn={get:br,set:Er,deleteProperty:Cr,has:Fr,ownKeys:Or},Mr={get:yr,set(e,t){return!0},deleteProperty(e,t){return!0}},Ir=ce({},pn,{get:xr,set:Tr}),xs=e=>e,Wt=e=>Reflect.getPrototypeOf(e);function wt(e,t,s=!1,n=!1){e=e.__v_raw;const r=D(e),l=D(t);s||(t!==l&&pe(r,"get",t),pe(r,"get",l));const{has:o}=Wt(r),c=n?xs:s?Ts:pt;if(o.call(r,t))return c(e.get(t));if(o.call(r,l))return c(e.get(l));e!==r&&e.get(t)}function Et(e,t=!1){const s=this.__v_raw,n=D(s),r=D(e);return t||(e!==r&&pe(n,"has",e),pe(n,"has",r)),e===r?s.has(e):s.has(e)||s.has(r)}function Tt(e,t=!1){return e=e.__v_raw,!t&&pe(D(e),"iterate",ve),Reflect.get(e,"size",e)}function Ds(e){e=D(e);const t=D(this);return Wt(t).has.call(t,e)||(t.add(e),Re(t,"add",e,e)),this}function Ls(e,t){t=D(t);const s=D(this),{has:n,get:r}=Wt(s);let l=n.call(s,e);l||(e=D(e),l=n.call(s,e));const o=r.call(s,e);return s.set(e,t),l?dt(t,o)&&Re(s,"set",e,t):Re(s,"add",e,t),this}function ks(e){const t=D(this),{has:s,get:n}=Wt(t);let r=s.call(t,e);r||(e=D(e),r=s.call(t,e)),n&&n.call(t,e);const l=t.delete(e);return r&&Re(t,"delete",e,void 0),l}function Ws(){const e=D(this),t=e.size!==0,s=e.clear();return t&&Re(e,"clear",void 0,void 0),s}function Ct(e,t){return function(n,r){const l=this,o=l.__v_raw,c=D(o),u=t?xs:e?Ts:pt;return!e&&pe(c,"iterate",ve),o.forEach((h,m)=>n.call(r,u(h),u(m),l))}}function Ft(e,t,s){return function(...n){const r=this.__v_raw,l=D(r),o=Xe(l),c=e==="entries"||e===Symbol.iterator&&o,u=e==="keys"&&o,h=r[e](...n),m=s?xs:t?Ts:pt;return!t&&pe(l,"iterate",u?ns:ve),{next(){const{value:w,done:F}=h.next();return F?{value:w,done:F}:{value:c?[m(w[0]),m(w[1])]:m(w),done:F}},[Symbol.iterator](){return this}}}}function Ne(e){return function(...t){return e==="delete"?!1:this}}function Pr(){const e={get(l){return wt(this,l)},get size(){return Tt(this)},has:Et,add:Ds,set:Ls,delete:ks,clear:Ws,forEach:Ct(!1,!1)},t={get(l){return wt(this,l,!1,!0)},get size(){return Tt(this)},has:Et,add:Ds,set:Ls,delete:ks,clear:Ws,forEach:Ct(!1,!0)},s={get(l){return wt(this,l,!0)},get size(){return Tt(this,!0)},has(l){return Et.call(this,l,!0)},add:Ne("add"),set:Ne("set"),delete:Ne("delete"),clear:Ne("clear"),forEach:Ct(!0,!1)},n={get(l){return wt(this,l,!0,!0)},get size(){return Tt(this,!0)},has(l){return Et.call(this,l,!0)},add:Ne("add"),set:Ne("set"),delete:Ne("delete"),clear:Ne("clear"),forEach:Ct(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(l=>{e[l]=Ft(l,!1,!1),s[l]=Ft(l,!0,!1),t[l]=Ft(l,!1,!0),n[l]=Ft(l,!0,!0)}),[e,s,t,n]}const[Ar,Rr,jr,Hr]=Pr();function ys(e,t){const s=t?e?Hr:jr:e?Rr:Ar;return(n,r,l)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?n:Reflect.get($(s,r)&&r in n?s:n,r,l)}const Nr={get:ys(!1,!1)},Ur={get:ys(!1,!0)},$r={get:ys(!0,!1)},gn=new WeakMap,_n=new WeakMap,mn=new WeakMap,Kr=new WeakMap;function Br(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Dr(e){return e.__v_skip||!Object.isExtensible(e)?0:Br(or(e))}function ws(e){return tt(e)?e:Es(e,!1,pn,Nr,gn)}function Lr(e){return Es(e,!1,Ir,Ur,_n)}function bn(e){return Es(e,!0,Mr,$r,mn)}function Es(e,t,s,n,r){if(!Q(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const l=r.get(e);if(l)return l;const o=Dr(e);if(o===0)return e;const c=new Proxy(e,o===2?n:s);return r.set(e,c),c}function Se(e){return tt(e)?Se(e.__v_raw):!!(e&&e.__v_isReactive)}function tt(e){return!!(e&&e.__v_isReadonly)}function Rt(e){return!!(e&&e.__v_isShallow)}function xn(e){return Se(e)||tt(e)}function D(e){const t=e&&e.__v_raw;return t?D(t):e}function yn(e){return At(e,"__v_skip",!0),e}const pt=e=>Q(e)?ws(e):e,Ts=e=>Q(e)?bn(e):e;function wn(e){Ke&&ye&&(e=D(e),an(e.dep||(e.dep=_s())))}function En(e,t){e=D(e),e.dep&&rs(e.dep)}function le(e){return!!(e&&e.__v_isRef===!0)}function si(e){return kr(e,!1)}function kr(e,t){return le(e)?e:new Wr(e,t)}class Wr{constructor(t,s){this.__v_isShallow=s,this.dep=void 0,this.__v_isRef=!0,this._rawValue=s?t:D(t),this._value=s?t:pt(t)}get value(){return wn(this),this._value}set value(t){const s=this.__v_isShallow||Rt(t)||tt(t);t=s?t:D(t),dt(t,this._rawValue)&&(this._rawValue=t,this._value=s?t:pt(t),En(this))}}function vr(e){return le(e)?e.value:e}const qr={get:(e,t,s)=>vr(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const r=e[t];return le(r)&&!le(s)?(r.value=s,!0):Reflect.set(e,t,s,n)}};function Tn(e){return Se(e)?e:new Proxy(e,qr)}var Cn;class Vr{constructor(t,s,n,r){this._setter=s,this.dep=void 0,this.__v_isRef=!0,this[Cn]=!1,this._dirty=!0,this.effect=new ms(t,()=>{this._dirty||(this._dirty=!0,En(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=n}get value(){const t=D(this);return wn(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}Cn="__v_isReadonly";function Jr(e,t,s=!1){let n,r;const l=H(e);return l?(n=e,r=Ee):(n=e.get,r=e.set),new Vr(n,r,l||!r,s)}function Be(e,t,s,n){let r;try{r=n?e(...n):e()}catch(l){vt(l,t,s)}return r}function Me(e,t,s,n){if(H(e)){const l=Be(e,t,s,n);return l&&rn(l)&&l.catch(o=>{vt(o,t,s)}),l}const r=[];for(let l=0;l<e.length;l++)r.push(Me(e[l],t,s,n));return r}function vt(e,t,s,n=!0){const r=t?t.vnode:null;if(t){let l=t.parent;const o=t.proxy,c=s;for(;l;){const h=l.ec;if(h){for(let m=0;m<h.length;m++)if(h[m](e,o,c)===!1)return}l=l.parent}const u=t.appContext.config.errorHandler;if(u){Be(u,null,10,[e,o,c]);return}}Yr(e,s,r,n)}function Yr(e,t,s,n=!0){console.error(e)}let gt=!1,ls=!1;const ne=[];let Oe=0;const Ge=[];let Ae=null,We=0;const Fn=Promise.resolve();let Cs=null;function zr(e){const t=Cs||Fn;return e?t.then(this?e.bind(this):e):t}function Zr(e){let t=Oe+1,s=ne.length;for(;t<s;){const n=t+s>>>1;_t(ne[n])<e?t=n+1:s=n}return t}function Fs(e){(!ne.length||!ne.includes(e,gt&&e.allowRecurse?Oe+1:Oe))&&(e.id==null?ne.push(e):ne.splice(Zr(e.id),0,e),On())}function On(){!gt&&!ls&&(ls=!0,Cs=Fn.then(Mn))}function Qr(e){const t=ne.indexOf(e);t>Oe&&ne.splice(t,1)}function Xr(e){R(e)?Ge.push(...e):(!Ae||!Ae.includes(e,e.allowRecurse?We+1:We))&&Ge.push(e),On()}function vs(e,t=gt?Oe+1:0){for(;t<ne.length;t++){const s=ne[t];s&&s.pre&&(ne.splice(t,1),t--,s())}}function jt(e){if(Ge.length){const t=[...new Set(Ge)];if(Ge.length=0,Ae){Ae.push(...t);return}for(Ae=t,Ae.sort((s,n)=>_t(s)-_t(n)),We=0;We<Ae.length;We++)Ae[We]();Ae=null,We=0}}const _t=e=>e.id==null?1/0:e.id,Sr=(e,t)=>{const s=_t(e)-_t(t);if(s===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return s};function Mn(e){ls=!1,gt=!0,ne.sort(Sr);const t=Ee;try{for(Oe=0;Oe<ne.length;Oe++){const s=ne[Oe];s&&s.active!==!1&&Be(s,null,14)}}finally{Oe=0,ne.length=0,jt(),gt=!1,Cs=null,(ne.length||Ge.length)&&Mn()}}function Gr(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||v;let r=s;const l=t.startsWith("update:"),o=l&&t.slice(7);if(o&&o in n){const m=`${o==="modelValue"?"model":o}Modifiers`,{number:w,trim:F}=n[m]||v;F&&(r=s.map(A=>A.trim())),w&&(r=s.map(ar))}let c,u=n[c=Qt(t)]||n[c=Qt(ht(t))];!u&&l&&(u=n[c=Qt(kt(t))]),u&&Me(u,e,6,r);const h=n[c+"Once"];if(h){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,Me(h,e,6,r)}}function In(e,t,s=!1){const n=t.emitsCache,r=n.get(e);if(r!==void 0)return r;const l=e.emits;let o={},c=!1;if(!H(e)){const u=h=>{const m=In(h,t,!0);m&&(c=!0,ce(o,m))};!s&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!l&&!c?(Q(e)&&n.set(e,null),null):(R(l)?l.forEach(u=>o[u]=null):ce(o,l),Q(e)&&n.set(e,o),o)}function qt(e,t){return!e||!Bt(t)?!1:(t=t.slice(2).replace(/Once$/,""),$(e,t[0].toLowerCase()+t.slice(1))||$(e,kt(t))||$(e,t))}let he=null,Pn=null;function Ht(e){const t=he;return he=e,Pn=e&&e.type.__scopeId||null,t}function el(e,t=he,s){if(!t||e._n)return e;const n=(...r)=>{n._d&&Ss(-1);const l=Ht(t),o=e(...r);return Ht(l),n._d&&Ss(1),o};return n._n=!0,n._c=!0,n._d=!0,n}function St(e){const{type:t,vnode:s,proxy:n,withProxy:r,props:l,propsOptions:[o],slots:c,attrs:u,emit:h,render:m,renderCache:w,data:F,setupState:A,ctx:L,inheritAttrs:ee}=e;let N,_;const T=Ht(e);try{if(s.shapeFlag&4){const K=r||n;N=xe(m.call(K,K,w,l,A,F,L)),_=u}else{const K=t;N=xe(K.length>1?K(l,{attrs:u,slots:c,emit:h}):K(l,null)),_=t.props?u:tl(u)}}catch(K){at.length=0,vt(K,e,1),N=oe(Ve)}let j=N;if(_&&ee!==!1){const K=Object.keys(_),{shapeFlag:q}=j;K.length&&q&7&&(o&&K.some(sn)&&(_=sl(_,o)),j=st(j,_))}return s.dirs&&(j=st(j),j.dirs=j.dirs?j.dirs.concat(s.dirs):s.dirs),s.transition&&(j.transition=s.transition),N=j,Ht(T),N}const tl=e=>{let t;for(const s in e)(s==="class"||s==="style"||Bt(s))&&((t||(t={}))[s]=e[s]);return t},sl=(e,t)=>{const s={};for(const n in e)(!sn(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function nl(e,t,s){const{props:n,children:r,component:l}=e,{props:o,children:c,patchFlag:u}=t,h=l.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&u>=0){if(u&1024)return!0;if(u&16)return n?qs(n,o,h):!!o;if(u&8){const m=t.dynamicProps;for(let w=0;w<m.length;w++){const F=m[w];if(o[F]!==n[F]&&!qt(h,F))return!0}}}else return(r||c)&&(!c||!c.$stable)?!0:n===o?!1:n?o?qs(n,o,h):!0:!!o;return!1}function qs(e,t,s){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let r=0;r<n.length;r++){const l=n[r];if(t[l]!==e[l]&&!qt(s,l))return!0}return!1}function rl({vnode:e,parent:t},s){for(;t&&t.subTree===e;)(e=t.vnode).el=s,t=t.parent}const ll=e=>e.__isSuspense;function An(e,t){t&&t.pendingBranch?R(e)?t.effects.push(...e):t.effects.push(e):Xr(e)}function il(e,t){if(re){let s=re.provides;const n=re.parent&&re.parent.provides;n===s&&(s=re.provides=Object.create(n)),s[e]=t}}function Gt(e,t,s=!1){const n=re||he;if(n){const r=n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return s&&H(t)?t.call(n.proxy):t}}const Vs={};function es(e,t,s){return Rn(e,t,s)}function Rn(e,t,{immediate:s,deep:n,flush:r,onTrack:l,onTrigger:o}=v){const c=re;let u,h=!1,m=!1;if(le(e)?(u=()=>e.value,h=Rt(e)):Se(e)?(u=()=>e,n=!0):R(e)?(m=!0,h=e.some(_=>Se(_)||Rt(_)),u=()=>e.map(_=>{if(le(_))return _.value;if(Se(_))return Ze(_);if(H(_))return Be(_,c,2)})):H(e)?t?u=()=>Be(e,c,2):u=()=>{if(!(c&&c.isUnmounted))return w&&w(),Me(e,c,3,[F])}:u=Ee,t&&n){const _=u;u=()=>Ze(_())}let w,F=_=>{w=N.onStop=()=>{Be(_,c,4)}};if(xt)return F=Ee,t?s&&Me(t,c,3,[u(),m?[]:void 0,F]):u(),Ee;let A=m?[]:Vs;const L=()=>{if(!!N.active)if(t){const _=N.run();(n||h||(m?_.some((T,j)=>dt(T,A[j])):dt(_,A)))&&(w&&w(),Me(t,c,3,[_,A===Vs?void 0:A,F]),A=_)}else N.run()};L.allowRecurse=!!t;let ee;r==="sync"?ee=L:r==="post"?ee=()=>fe(L,c&&c.suspense):(L.pre=!0,c&&(L.id=c.uid),ee=()=>Fs(L));const N=new ms(u,ee);return t?s?L():A=N.run():r==="post"?fe(N.run.bind(N),c&&c.suspense):N.run(),()=>{N.stop(),c&&c.scope&&ds(c.scope.effects,N)}}function ol(e,t,s){const n=this.proxy,r=de(e)?e.includes(".")?jn(n,e):()=>n[e]:e.bind(n,n);let l;H(t)?l=t:(l=t.handler,s=t);const o=re;nt(this);const c=Rn(r,l.bind(n),s);return o?nt(o):qe(),c}function jn(e,t){const s=t.split(".");return()=>{let n=e;for(let r=0;r<s.length&&n;r++)n=n[s[r]];return n}}function Ze(e,t){if(!Q(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),le(e))Ze(e.value,t);else if(R(e))for(let s=0;s<e.length;s++)Ze(e[s],t);else if(nn(e)||Xe(e))e.forEach(s=>{Ze(s,t)});else if(on(e))for(const s in e)Ze(e[s],t);return e}function ni(e){return H(e)?{setup:e,name:e.name}:e}const et=e=>!!e.type.__asyncLoader,Hn=e=>e.type.__isKeepAlive;function fl(e,t){Nn(e,"a",t)}function cl(e,t){Nn(e,"da",t)}function Nn(e,t,s=re){const n=e.__wdc||(e.__wdc=()=>{let r=s;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Vt(t,n,s),s){let r=s.parent;for(;r&&r.parent;)Hn(r.parent.vnode)&&ul(n,t,s,r),r=r.parent}}function ul(e,t,s,n){const r=Vt(t,e,n,!0);Un(()=>{ds(n[t],r)},s)}function Vt(e,t,s=re,n=!1){if(s){const r=s[e]||(s[e]=[]),l=t.__weh||(t.__weh=(...o)=>{if(s.isUnmounted)return;rt(),nt(s);const c=Me(t,s,e,o);return qe(),lt(),c});return n?r.unshift(l):r.push(l),l}}const je=e=>(t,s=re)=>(!xt||e==="sp")&&Vt(e,t,s),al=je("bm"),hl=je("m"),dl=je("bu"),pl=je("u"),gl=je("bum"),Un=je("um"),_l=je("sp"),ml=je("rtg"),bl=je("rtc");function xl(e,t=re){Vt("ec",e,t)}function Fe(e,t,s,n){const r=e.dirs,l=t&&t.dirs;for(let o=0;o<r.length;o++){const c=r[o];l&&(c.oldValue=l[o].value);let u=c.dir[n];u&&(rt(),Me(u,s,8,[e.el,c,e,t]),lt())}}const yl=Symbol();function ri(e,t,s={},n,r){if(he.isCE||he.parent&&et(he.parent)&&he.parent.isCE)return oe("slot",t==="default"?null:{name:t},n&&n());let l=e[t];l&&l._c&&(l._d=!1),Kl();const o=l&&$n(l(s)),c=Dl(ae,{key:s.key||o&&o.key||`_${t}`},o||(n?n():[]),o&&e._===1?64:-2);return!r&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),l&&l._c&&(l._d=!0),c}function $n(e){return e.some(t=>Kt(t)?!(t.type===Ve||t.type===ae&&!$n(t.children)):!0)?e:null}const is=e=>e?Qn(e)?Ps(e)||e.proxy:is(e.parent):null,Nt=ce(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>is(e.parent),$root:e=>is(e.root),$emit:e=>e.emit,$options:e=>Os(e),$forceUpdate:e=>e.f||(e.f=()=>Fs(e.update)),$nextTick:e=>e.n||(e.n=zr.bind(e.proxy)),$watch:e=>ol.bind(e)}),wl={get({_:e},t){const{ctx:s,setupState:n,data:r,props:l,accessCache:o,type:c,appContext:u}=e;let h;if(t[0]!=="$"){const A=o[t];if(A!==void 0)switch(A){case 1:return n[t];case 2:return r[t];case 4:return s[t];case 3:return l[t]}else{if(n!==v&&$(n,t))return o[t]=1,n[t];if(r!==v&&$(r,t))return o[t]=2,r[t];if((h=e.propsOptions[0])&&$(h,t))return o[t]=3,l[t];if(s!==v&&$(s,t))return o[t]=4,s[t];os&&(o[t]=0)}}const m=Nt[t];let w,F;if(m)return t==="$attrs"&&pe(e,"get",t),m(e);if((w=c.__cssModules)&&(w=w[t]))return w;if(s!==v&&$(s,t))return o[t]=4,s[t];if(F=u.config.globalProperties,$(F,t))return F[t]},set({_:e},t,s){const{data:n,setupState:r,ctx:l}=e;return r!==v&&$(r,t)?(r[t]=s,!0):n!==v&&$(n,t)?(n[t]=s,!0):$(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(l[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:r,propsOptions:l}},o){let c;return!!s[o]||e!==v&&$(e,o)||t!==v&&$(t,o)||(c=l[0])&&$(c,o)||$(n,o)||$(Nt,o)||$(r.config.globalProperties,o)},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:$(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};let os=!0;function El(e){const t=Os(e),s=e.proxy,n=e.ctx;os=!1,t.beforeCreate&&Js(t.beforeCreate,e,"bc");const{data:r,computed:l,methods:o,watch:c,provide:u,inject:h,created:m,beforeMount:w,mounted:F,beforeUpdate:A,updated:L,activated:ee,deactivated:N,beforeDestroy:_,beforeUnmount:T,destroyed:j,unmounted:K,render:q,renderTracked:X,renderTriggered:Y,errorCaptured:U,serverPrefetch:Z,expose:te,inheritAttrs:S,components:_e,directives:se,filters:I}=t;if(h&&Tl(h,n,null,e.appContext.config.unwrapInjectedRef),o)for(const G in o){const V=o[G];H(V)&&(n[G]=V.bind(s))}if(r){const G=r.call(s,s);Q(G)&&(e.data=ws(G))}if(os=!0,l)for(const G in l){const V=l[G],Ie=H(V)?V.bind(s,s):H(V.get)?V.get.bind(s,s):Ee,Yt=!H(V)&&H(V.set)?V.set.bind(s):Ee,it=Xl({get:Ie,set:Yt});Object.defineProperty(n,G,{enumerable:!0,configurable:!0,get:()=>it.value,set:Je=>it.value=Je})}if(c)for(const G in c)Kn(c[G],n,s,G);if(u){const G=H(u)?u.call(s):u;Reflect.ownKeys(G).forEach(V=>{il(V,G[V])})}m&&Js(m,e,"c");function z(G,V){R(V)?V.forEach(Ie=>G(Ie.bind(s))):V&&G(V.bind(s))}if(z(al,w),z(hl,F),z(dl,A),z(pl,L),z(fl,ee),z(cl,N),z(xl,U),z(bl,X),z(ml,Y),z(gl,T),z(Un,K),z(_l,Z),R(te))if(te.length){const G=e.exposed||(e.exposed={});te.forEach(V=>{Object.defineProperty(G,V,{get:()=>s[V],set:Ie=>s[V]=Ie})})}else e.exposed||(e.exposed={});q&&e.render===Ee&&(e.render=q),S!=null&&(e.inheritAttrs=S),_e&&(e.components=_e),se&&(e.directives=se)}function Tl(e,t,s=Ee,n=!1){R(e)&&(e=fs(e));for(const r in e){const l=e[r];let o;Q(l)?"default"in l?o=Gt(l.from||r,l.default,!0):o=Gt(l.from||r):o=Gt(l),le(o)&&n?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:c=>o.value=c}):t[r]=o}}function Js(e,t,s){Me(R(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function Kn(e,t,s,n){const r=n.includes(".")?jn(s,n):()=>s[n];if(de(e)){const l=t[e];H(l)&&es(r,l)}else if(H(e))es(r,e.bind(s));else if(Q(e))if(R(e))e.forEach(l=>Kn(l,t,s,n));else{const l=H(e.handler)?e.handler.bind(s):t[e.handler];H(l)&&es(r,l,e)}}function Os(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:r,optionsCache:l,config:{optionMergeStrategies:o}}=e.appContext,c=l.get(t);let u;return c?u=c:!r.length&&!s&&!n?u=t:(u={},r.length&&r.forEach(h=>Ut(u,h,o,!0)),Ut(u,t,o)),Q(t)&&l.set(t,u),u}function Ut(e,t,s,n=!1){const{mixins:r,extends:l}=t;l&&Ut(e,l,s,!0),r&&r.forEach(o=>Ut(e,o,s,!0));for(const o in t)if(!(n&&o==="expose")){const c=Cl[o]||s&&s[o];e[o]=c?c(e[o],t[o]):t[o]}return e}const Cl={data:Ys,props:ke,emits:ke,methods:ke,computed:ke,beforeCreate:ie,created:ie,beforeMount:ie,mounted:ie,beforeUpdate:ie,updated:ie,beforeDestroy:ie,beforeUnmount:ie,destroyed:ie,unmounted:ie,activated:ie,deactivated:ie,errorCaptured:ie,serverPrefetch:ie,components:ke,directives:ke,watch:Ol,provide:Ys,inject:Fl};function Ys(e,t){return t?e?function(){return ce(H(e)?e.call(this,this):e,H(t)?t.call(this,this):t)}:t:e}function Fl(e,t){return ke(fs(e),fs(t))}function fs(e){if(R(e)){const t={};for(let s=0;s<e.length;s++)t[e[s]]=e[s];return t}return e}function ie(e,t){return e?[...new Set([].concat(e,t))]:t}function ke(e,t){return e?ce(ce(Object.create(null),e),t):t}function Ol(e,t){if(!e)return t;if(!t)return e;const s=ce(Object.create(null),e);for(const n in t)s[n]=ie(e[n],t[n]);return s}function Ml(e,t,s,n=!1){const r={},l={};At(l,Jt,1),e.propsDefaults=Object.create(null),Bn(e,t,r,l);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);s?e.props=n?r:Lr(r):e.type.props?e.props=r:e.props=l,e.attrs=l}function Il(e,t,s,n){const{props:r,attrs:l,vnode:{patchFlag:o}}=e,c=D(r),[u]=e.propsOptions;let h=!1;if((n||o>0)&&!(o&16)){if(o&8){const m=e.vnode.dynamicProps;for(let w=0;w<m.length;w++){let F=m[w];if(qt(e.emitsOptions,F))continue;const A=t[F];if(u)if($(l,F))A!==l[F]&&(l[F]=A,h=!0);else{const L=ht(F);r[L]=cs(u,c,L,A,e,!1)}else A!==l[F]&&(l[F]=A,h=!0)}}}else{Bn(e,t,r,l)&&(h=!0);let m;for(const w in c)(!t||!$(t,w)&&((m=kt(w))===w||!$(t,m)))&&(u?s&&(s[w]!==void 0||s[m]!==void 0)&&(r[w]=cs(u,c,w,void 0,e,!0)):delete r[w]);if(l!==c)for(const w in l)(!t||!$(t,w)&&!0)&&(delete l[w],h=!0)}h&&Re(e,"set","$attrs")}function Bn(e,t,s,n){const[r,l]=e.propsOptions;let o=!1,c;if(t)for(let u in t){if(ut(u))continue;const h=t[u];let m;r&&$(r,m=ht(u))?!l||!l.includes(m)?s[m]=h:(c||(c={}))[m]=h:qt(e.emitsOptions,u)||(!(u in n)||h!==n[u])&&(n[u]=h,o=!0)}if(l){const u=D(s),h=c||v;for(let m=0;m<l.length;m++){const w=l[m];s[w]=cs(r,u,w,h[w],e,!$(h,w))}}return o}function cs(e,t,s,n,r,l){const o=e[s];if(o!=null){const c=$(o,"default");if(c&&n===void 0){const u=o.default;if(o.type!==Function&&H(u)){const{propsDefaults:h}=r;s in h?n=h[s]:(nt(r),n=h[s]=u.call(null,t),qe())}else n=u}o[0]&&(l&&!c?n=!1:o[1]&&(n===""||n===kt(s))&&(n=!0))}return n}function Dn(e,t,s=!1){const n=t.propsCache,r=n.get(e);if(r)return r;const l=e.props,o={},c=[];let u=!1;if(!H(e)){const m=w=>{u=!0;const[F,A]=Dn(w,t,!0);ce(o,F),A&&c.push(...A)};!s&&t.mixins.length&&t.mixins.forEach(m),e.extends&&m(e.extends),e.mixins&&e.mixins.forEach(m)}if(!l&&!u)return Q(e)&&n.set(e,Qe),Qe;if(R(l))for(let m=0;m<l.length;m++){const w=ht(l[m]);zs(w)&&(o[w]=v)}else if(l)for(const m in l){const w=ht(m);if(zs(w)){const F=l[m],A=o[w]=R(F)||H(F)?{type:F}:F;if(A){const L=Xs(Boolean,A.type),ee=Xs(String,A.type);A[0]=L>-1,A[1]=ee<0||L<ee,(L>-1||$(A,"default"))&&c.push(w)}}}const h=[o,c];return Q(e)&&n.set(e,h),h}function zs(e){return e[0]!=="$"}function Zs(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Qs(e,t){return Zs(e)===Zs(t)}function Xs(e,t){return R(t)?t.findIndex(s=>Qs(s,e)):H(t)&&Qs(t,e)?0:-1}const Ln=e=>e[0]==="_"||e==="$stable",Ms=e=>R(e)?e.map(xe):[xe(e)],Pl=(e,t,s)=>{if(t._n)return t;const n=el((...r)=>Ms(t(...r)),s);return n._c=!1,n},kn=(e,t,s)=>{const n=e._ctx;for(const r in e){if(Ln(r))continue;const l=e[r];if(H(l))t[r]=Pl(r,l,n);else if(l!=null){const o=Ms(l);t[r]=()=>o}}},Wn=(e,t)=>{const s=Ms(t);e.slots.default=()=>s},Al=(e,t)=>{if(e.vnode.shapeFlag&32){const s=t._;s?(e.slots=D(t),At(t,"_",s)):kn(t,e.slots={})}else e.slots={},t&&Wn(e,t);At(e.slots,Jt,1)},Rl=(e,t,s)=>{const{vnode:n,slots:r}=e;let l=!0,o=v;if(n.shapeFlag&32){const c=t._;c?s&&c===1?l=!1:(ce(r,t),!s&&c===1&&delete r._):(l=!t.$stable,kn(t,r)),o=t}else t&&(Wn(e,t),o={default:1});if(l)for(const c in r)!Ln(c)&&!(c in o)&&delete r[c]};function vn(){return{app:null,config:{isNativeTag:rr,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let jl=0;function Hl(e,t){return function(n,r=null){H(n)||(n=Object.assign({},n)),r!=null&&!Q(r)&&(r=null);const l=vn(),o=new Set;let c=!1;const u=l.app={_uid:jl++,_component:n,_props:r,_container:null,_context:l,_instance:null,version:Sl,get config(){return l.config},set config(h){},use(h,...m){return o.has(h)||(h&&H(h.install)?(o.add(h),h.install(u,...m)):H(h)&&(o.add(h),h(u,...m))),u},mixin(h){return l.mixins.includes(h)||l.mixins.push(h),u},component(h,m){return m?(l.components[h]=m,u):l.components[h]},directive(h,m){return m?(l.directives[h]=m,u):l.directives[h]},mount(h,m,w){if(!c){const F=oe(n,r);return F.appContext=l,m&&t?t(F,h):e(F,h,w),c=!0,u._container=h,h.__vue_app__=u,Ps(F.component)||F.component.proxy}},unmount(){c&&(e(null,u._container),delete u._container.__vue_app__)},provide(h,m){return l.provides[h]=m,u}};return u}}function $t(e,t,s,n,r=!1){if(R(e)){e.forEach((F,A)=>$t(F,t&&(R(t)?t[A]:t),s,n,r));return}if(et(n)&&!r)return;const l=n.shapeFlag&4?Ps(n.component)||n.component.proxy:n.el,o=r?null:l,{i:c,r:u}=e,h=t&&t.r,m=c.refs===v?c.refs={}:c.refs,w=c.setupState;if(h!=null&&h!==u&&(de(h)?(m[h]=null,$(w,h)&&(w[h]=null)):le(h)&&(h.value=null)),H(u))Be(u,c,12,[o,m]);else{const F=de(u),A=le(u);if(F||A){const L=()=>{if(e.f){const ee=F?m[u]:u.value;r?R(ee)&&ds(ee,l):R(ee)?ee.includes(l)||ee.push(l):F?(m[u]=[l],$(w,u)&&(w[u]=m[u])):(u.value=[l],e.k&&(m[e.k]=u.value))}else F?(m[u]=o,$(w,u)&&(w[u]=o)):A&&(u.value=o,e.k&&(m[e.k]=o))};o?(L.id=-1,fe(L,s)):L()}}}let Ue=!1;const Ot=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Mt=e=>e.nodeType===8;function Nl(e){const{mt:t,p:s,o:{patchProp:n,createText:r,nextSibling:l,parentNode:o,remove:c,insert:u,createComment:h}}=e,m=(_,T)=>{if(!T.hasChildNodes()){s(null,_,T),jt(),T._vnode=_;return}Ue=!1,w(T.firstChild,_,null,null,null),jt(),T._vnode=_,Ue&&console.error("Hydration completed but contains mismatches.")},w=(_,T,j,K,q,X=!1)=>{const Y=Mt(_)&&_.data==="[",U=()=>ee(_,T,j,K,q,Y),{type:Z,ref:te,shapeFlag:S,patchFlag:_e}=T,se=_.nodeType;T.el=_,_e===-2&&(X=!1,T.dynamicChildren=null);let I=null;switch(Z){case mt:se!==3?T.children===""?(u(T.el=r(""),o(_),_),I=_):I=U():(_.data!==T.children&&(Ue=!0,_.data=T.children),I=l(_));break;case Ve:se!==8||Y?I=U():I=l(_);break;case It:if(se!==1&&se!==3)I=U();else{I=_;const me=!T.children.length;for(let z=0;z<T.staticCount;z++)me&&(T.children+=I.nodeType===1?I.outerHTML:I.data),z===T.staticCount-1&&(T.anchor=I),I=l(I);return I}break;case ae:Y?I=L(_,T,j,K,q,X):I=U();break;default:if(S&1)se!==1||T.type.toLowerCase()!==_.tagName.toLowerCase()?I=U():I=F(_,T,j,K,q,X);else if(S&6){T.slotScopeIds=q;const me=o(_);if(t(T,me,null,j,K,Ot(me),X),I=Y?N(_):l(_),I&&Mt(I)&&I.data==="teleport end"&&(I=l(I)),et(T)){let z;Y?(z=oe(ae),z.anchor=I?I.previousSibling:me.lastChild):z=_.nodeType===3?Zn(""):oe("div"),z.el=_,T.component.subTree=z}}else S&64?se!==8?I=U():I=T.type.hydrate(_,T,j,K,q,X,e,A):S&128&&(I=T.type.hydrate(_,T,j,K,Ot(o(_)),q,X,e,w))}return te!=null&&$t(te,null,K,T),I},F=(_,T,j,K,q,X)=>{X=X||!!T.dynamicChildren;const{type:Y,props:U,patchFlag:Z,shapeFlag:te,dirs:S}=T,_e=Y==="input"&&S||Y==="option";if(_e||Z!==-1){if(S&&Fe(T,null,j,"created"),U)if(_e||!X||Z&48)for(const I in U)(_e&&I.endsWith("value")||Bt(I)&&!ut(I))&&n(_,I,null,U[I],!1,void 0,j);else U.onClick&&n(_,"onClick",null,U.onClick,!1,void 0,j);let se;if((se=U&&U.onVnodeBeforeMount)&&ge(se,j,T),S&&Fe(T,null,j,"beforeMount"),((se=U&&U.onVnodeMounted)||S)&&An(()=>{se&&ge(se,j,T),S&&Fe(T,null,j,"mounted")},K),te&16&&!(U&&(U.innerHTML||U.textContent))){let I=A(_.firstChild,T,_,j,K,q,X);for(;I;){Ue=!0;const me=I;I=I.nextSibling,c(me)}}else te&8&&_.textContent!==T.children&&(Ue=!0,_.textContent=T.children)}return _.nextSibling},A=(_,T,j,K,q,X,Y)=>{Y=Y||!!T.dynamicChildren;const U=T.children,Z=U.length;for(let te=0;te<Z;te++){const S=Y?U[te]:U[te]=xe(U[te]);if(_)_=w(_,S,K,q,X,Y);else{if(S.type===mt&&!S.children)continue;Ue=!0,s(null,S,j,null,K,q,Ot(j),X)}}return _},L=(_,T,j,K,q,X)=>{const{slotScopeIds:Y}=T;Y&&(q=q?q.concat(Y):Y);const U=o(_),Z=A(l(_),T,U,j,K,q,X);return Z&&Mt(Z)&&Z.data==="]"?l(T.anchor=Z):(Ue=!0,u(T.anchor=h("]"),U,Z),Z)},ee=(_,T,j,K,q,X)=>{if(Ue=!0,T.el=null,X){const Z=N(_);for(;;){const te=l(_);if(te&&te!==Z)c(te);else break}}const Y=l(_),U=o(_);return c(_),s(null,T,U,Y,j,K,Ot(U),q),Y},N=_=>{let T=0;for(;_;)if(_=l(_),_&&Mt(_)&&(_.data==="["&&T++,_.data==="]")){if(T===0)return l(_);T--}return _};return[m,w]}const fe=An;function li(e){return qn(e)}function ii(e){return qn(e,Nl)}function qn(e,t){const s=hr();s.__VUE__=!0;const{insert:n,remove:r,patchProp:l,createElement:o,createText:c,createComment:u,setText:h,setElementText:m,parentNode:w,nextSibling:F,setScopeId:A=Ee,cloneNode:L,insertStaticContent:ee}=e,N=(i,f,a,p=null,d=null,x=null,E=!1,b=null,y=!!f.dynamicChildren)=>{if(i===f)return;i&&!ft(i,f)&&(p=yt(i),He(i,d,x,!0),i=null),f.patchFlag===-2&&(y=!1,f.dynamicChildren=null);const{type:g,ref:O,shapeFlag:C}=f;switch(g){case mt:_(i,f,a,p);break;case Ve:T(i,f,a,p);break;case It:i==null&&j(f,a,p,E);break;case ae:se(i,f,a,p,d,x,E,b,y);break;default:C&1?X(i,f,a,p,d,x,E,b,y):C&6?I(i,f,a,p,d,x,E,b,y):(C&64||C&128)&&g.process(i,f,a,p,d,x,E,b,y,Ye)}O!=null&&d&&$t(O,i&&i.ref,x,f||i,!f)},_=(i,f,a,p)=>{if(i==null)n(f.el=c(f.children),a,p);else{const d=f.el=i.el;f.children!==i.children&&h(d,f.children)}},T=(i,f,a,p)=>{i==null?n(f.el=u(f.children||""),a,p):f.el=i.el},j=(i,f,a,p)=>{[i.el,i.anchor]=ee(i.children,f,a,p,i.el,i.anchor)},K=({el:i,anchor:f},a,p)=>{let d;for(;i&&i!==f;)d=F(i),n(i,a,p),i=d;n(f,a,p)},q=({el:i,anchor:f})=>{let a;for(;i&&i!==f;)a=F(i),r(i),i=a;r(f)},X=(i,f,a,p,d,x,E,b,y)=>{E=E||f.type==="svg",i==null?Y(f,a,p,d,x,E,b,y):te(i,f,d,x,E,b,y)},Y=(i,f,a,p,d,x,E,b)=>{let y,g;const{type:O,props:C,shapeFlag:M,transition:P,patchFlag:B,dirs:k}=i;if(i.el&&L!==void 0&&B===-1)y=i.el=L(i.el);else{if(y=i.el=o(i.type,x,C&&C.is,C),M&8?m(y,i.children):M&16&&Z(i.children,y,null,p,d,x&&O!=="foreignObject",E,b),k&&Fe(i,null,p,"created"),C){for(const J in C)J!=="value"&&!ut(J)&&l(y,J,null,C[J],x,i.children,p,d,Pe);"value"in C&&l(y,"value",null,C.value),(g=C.onVnodeBeforeMount)&&ge(g,p,i)}U(y,i,i.scopeId,E,p)}k&&Fe(i,null,p,"beforeMount");const W=(!d||d&&!d.pendingBranch)&&P&&!P.persisted;W&&P.beforeEnter(y),n(y,f,a),((g=C&&C.onVnodeMounted)||W||k)&&fe(()=>{g&&ge(g,p,i),W&&P.enter(y),k&&Fe(i,null,p,"mounted")},d)},U=(i,f,a,p,d)=>{if(a&&A(i,a),p)for(let x=0;x<p.length;x++)A(i,p[x]);if(d){let x=d.subTree;if(f===x){const E=d.vnode;U(i,E,E.scopeId,E.slotScopeIds,d.parent)}}},Z=(i,f,a,p,d,x,E,b,y=0)=>{for(let g=y;g<i.length;g++){const O=i[g]=b?$e(i[g]):xe(i[g]);N(null,O,f,a,p,d,x,E,b)}},te=(i,f,a,p,d,x,E)=>{const b=f.el=i.el;let{patchFlag:y,dynamicChildren:g,dirs:O}=f;y|=i.patchFlag&16;const C=i.props||v,M=f.props||v;let P;a&&Le(a,!1),(P=M.onVnodeBeforeUpdate)&&ge(P,a,f,i),O&&Fe(f,i,a,"beforeUpdate"),a&&Le(a,!0);const B=d&&f.type!=="foreignObject";if(g?S(i.dynamicChildren,g,b,a,p,B,x):E||Ie(i,f,b,null,a,p,B,x,!1),y>0){if(y&16)_e(b,f,C,M,a,p,d);else if(y&2&&C.class!==M.class&&l(b,"class",null,M.class,d),y&4&&l(b,"style",C.style,M.style,d),y&8){const k=f.dynamicProps;for(let W=0;W<k.length;W++){const J=k[W],be=C[J],ze=M[J];(ze!==be||J==="value")&&l(b,J,be,ze,d,i.children,a,p,Pe)}}y&1&&i.children!==f.children&&m(b,f.children)}else!E&&g==null&&_e(b,f,C,M,a,p,d);((P=M.onVnodeUpdated)||O)&&fe(()=>{P&&ge(P,a,f,i),O&&Fe(f,i,a,"updated")},p)},S=(i,f,a,p,d,x,E)=>{for(let b=0;b<f.length;b++){const y=i[b],g=f[b],O=y.el&&(y.type===ae||!ft(y,g)||y.shapeFlag&70)?w(y.el):a;N(y,g,O,null,p,d,x,E,!0)}},_e=(i,f,a,p,d,x,E)=>{if(a!==p){for(const b in p){if(ut(b))continue;const y=p[b],g=a[b];y!==g&&b!=="value"&&l(i,b,g,y,E,f.children,d,x,Pe)}if(a!==v)for(const b in a)!ut(b)&&!(b in p)&&l(i,b,a[b],null,E,f.children,d,x,Pe);"value"in p&&l(i,"value",a.value,p.value)}},se=(i,f,a,p,d,x,E,b,y)=>{const g=f.el=i?i.el:c(""),O=f.anchor=i?i.anchor:c("");let{patchFlag:C,dynamicChildren:M,slotScopeIds:P}=f;P&&(b=b?b.concat(P):P),i==null?(n(g,a,p),n(O,a,p),Z(f.children,a,O,d,x,E,b,y)):C>0&&C&64&&M&&i.dynamicChildren?(S(i.dynamicChildren,M,a,d,x,E,b),(f.key!=null||d&&f===d.subTree)&&Vn(i,f,!0)):Ie(i,f,a,O,d,x,E,b,y)},I=(i,f,a,p,d,x,E,b,y)=>{f.slotScopeIds=b,i==null?f.shapeFlag&512?d.ctx.activate(f,a,p,E,y):me(f,a,p,d,x,E,y):z(i,f,y)},me=(i,f,a,p,d,x,E)=>{const b=i.component=Vl(i,p,d);if(Hn(i)&&(b.ctx.renderer=Ye),Jl(b),b.asyncDep){if(d&&d.registerDep(b,G),!i.el){const y=b.subTree=oe(Ve);T(null,y,f,a)}return}G(b,i,f,a,d,x,E)},z=(i,f,a)=>{const p=f.component=i.component;if(nl(i,f,a))if(p.asyncDep&&!p.asyncResolved){V(p,f,a);return}else p.next=f,Qr(p.update),p.update();else f.el=i.el,p.vnode=f},G=(i,f,a,p,d,x,E)=>{const b=()=>{if(i.isMounted){let{next:O,bu:C,u:M,parent:P,vnode:B}=i,k=O,W;Le(i,!1),O?(O.el=B.el,V(i,O,E)):O=B,C&&Xt(C),(W=O.props&&O.props.onVnodeBeforeUpdate)&&ge(W,P,O,B),Le(i,!0);const J=St(i),be=i.subTree;i.subTree=J,N(be,J,w(be.el),yt(be),i,d,x),O.el=J.el,k===null&&rl(i,J.el),M&&fe(M,d),(W=O.props&&O.props.onVnodeUpdated)&&fe(()=>ge(W,P,O,B),d)}else{let O;const{el:C,props:M}=f,{bm:P,m:B,parent:k}=i,W=et(f);if(Le(i,!1),P&&Xt(P),!W&&(O=M&&M.onVnodeBeforeMount)&&ge(O,k,f),Le(i,!0),C&&Zt){const J=()=>{i.subTree=St(i),Zt(C,i.subTree,i,d,null)};W?f.type.__asyncLoader().then(()=>!i.isUnmounted&&J()):J()}else{const J=i.subTree=St(i);N(null,J,a,p,i,d,x),f.el=J.el}if(B&&fe(B,d),!W&&(O=M&&M.onVnodeMounted)){const J=f;fe(()=>ge(O,k,J),d)}(f.shapeFlag&256||k&&et(k.vnode)&&k.vnode.shapeFlag&256)&&i.a&&fe(i.a,d),i.isMounted=!0,f=a=p=null}},y=i.effect=new ms(b,()=>Fs(g),i.scope),g=i.update=()=>y.run();g.id=i.uid,Le(i,!0),g()},V=(i,f,a)=>{f.component=i;const p=i.vnode.props;i.vnode=f,i.next=null,Il(i,f.props,p,a),Rl(i,f.children,a),rt(),vs(),lt()},Ie=(i,f,a,p,d,x,E,b,y=!1)=>{const g=i&&i.children,O=i?i.shapeFlag:0,C=f.children,{patchFlag:M,shapeFlag:P}=f;if(M>0){if(M&128){it(g,C,a,p,d,x,E,b,y);return}else if(M&256){Yt(g,C,a,p,d,x,E,b,y);return}}P&8?(O&16&&Pe(g,d,x),C!==g&&m(a,C)):O&16?P&16?it(g,C,a,p,d,x,E,b,y):Pe(g,d,x,!0):(O&8&&m(a,""),P&16&&Z(C,a,p,d,x,E,b,y))},Yt=(i,f,a,p,d,x,E,b,y)=>{i=i||Qe,f=f||Qe;const g=i.length,O=f.length,C=Math.min(g,O);let M;for(M=0;M<C;M++){const P=f[M]=y?$e(f[M]):xe(f[M]);N(i[M],P,a,null,d,x,E,b,y)}g>O?Pe(i,d,x,!0,!1,C):Z(f,a,p,d,x,E,b,y,C)},it=(i,f,a,p,d,x,E,b,y)=>{let g=0;const O=f.length;let C=i.length-1,M=O-1;for(;g<=C&&g<=M;){const P=i[g],B=f[g]=y?$e(f[g]):xe(f[g]);if(ft(P,B))N(P,B,a,null,d,x,E,b,y);else break;g++}for(;g<=C&&g<=M;){const P=i[C],B=f[M]=y?$e(f[M]):xe(f[M]);if(ft(P,B))N(P,B,a,null,d,x,E,b,y);else break;C--,M--}if(g>C){if(g<=M){const P=M+1,B=P<O?f[P].el:p;for(;g<=M;)N(null,f[g]=y?$e(f[g]):xe(f[g]),a,B,d,x,E,b,y),g++}}else if(g>M)for(;g<=C;)He(i[g],d,x,!0),g++;else{const P=g,B=g,k=new Map;for(g=B;g<=M;g++){const ue=f[g]=y?$e(f[g]):xe(f[g]);ue.key!=null&&k.set(ue.key,g)}let W,J=0;const be=M-B+1;let ze=!1,js=0;const ot=new Array(be);for(g=0;g<be;g++)ot[g]=0;for(g=P;g<=C;g++){const ue=i[g];if(J>=be){He(ue,d,x,!0);continue}let Te;if(ue.key!=null)Te=k.get(ue.key);else for(W=B;W<=M;W++)if(ot[W-B]===0&&ft(ue,f[W])){Te=W;break}Te===void 0?He(ue,d,x,!0):(ot[Te-B]=g+1,Te>=js?js=Te:ze=!0,N(ue,f[Te],a,null,d,x,E,b,y),J++)}const Hs=ze?Ul(ot):Qe;for(W=Hs.length-1,g=be-1;g>=0;g--){const ue=B+g,Te=f[ue],Ns=ue+1<O?f[ue+1].el:p;ot[g]===0?N(null,Te,a,Ns,d,x,E,b,y):ze&&(W<0||g!==Hs[W]?Je(Te,a,Ns,2):W--)}}},Je=(i,f,a,p,d=null)=>{const{el:x,type:E,transition:b,children:y,shapeFlag:g}=i;if(g&6){Je(i.component.subTree,f,a,p);return}if(g&128){i.suspense.move(f,a,p);return}if(g&64){E.move(i,f,a,Ye);return}if(E===ae){n(x,f,a);for(let C=0;C<y.length;C++)Je(y[C],f,a,p);n(i.anchor,f,a);return}if(E===It){K(i,f,a);return}if(p!==2&&g&1&&b)if(p===0)b.beforeEnter(x),n(x,f,a),fe(()=>b.enter(x),d);else{const{leave:C,delayLeave:M,afterLeave:P}=b,B=()=>n(x,f,a),k=()=>{C(x,()=>{B(),P&&P()})};M?M(x,B,k):k()}else n(x,f,a)},He=(i,f,a,p=!1,d=!1)=>{const{type:x,props:E,ref:b,children:y,dynamicChildren:g,shapeFlag:O,patchFlag:C,dirs:M}=i;if(b!=null&&$t(b,null,a,i,!0),O&256){f.ctx.deactivate(i);return}const P=O&1&&M,B=!et(i);let k;if(B&&(k=E&&E.onVnodeBeforeUnmount)&&ge(k,f,i),O&6)Gn(i.component,a,p);else{if(O&128){i.suspense.unmount(a,p);return}P&&Fe(i,null,f,"beforeUnmount"),O&64?i.type.remove(i,f,a,d,Ye,p):g&&(x!==ae||C>0&&C&64)?Pe(g,f,a,!1,!0):(x===ae&&C&384||!d&&O&16)&&Pe(y,f,a),p&&As(i)}(B&&(k=E&&E.onVnodeUnmounted)||P)&&fe(()=>{k&&ge(k,f,i),P&&Fe(i,null,f,"unmounted")},a)},As=i=>{const{type:f,el:a,anchor:p,transition:d}=i;if(f===ae){Sn(a,p);return}if(f===It){q(i);return}const x=()=>{r(a),d&&!d.persisted&&d.afterLeave&&d.afterLeave()};if(i.shapeFlag&1&&d&&!d.persisted){const{leave:E,delayLeave:b}=d,y=()=>E(a,x);b?b(i.el,x,y):y()}else x()},Sn=(i,f)=>{let a;for(;i!==f;)a=F(i),r(i),i=a;r(f)},Gn=(i,f,a)=>{const{bum:p,scope:d,update:x,subTree:E,um:b}=i;p&&Xt(p),d.stop(),x&&(x.active=!1,He(E,i,f,a)),b&&fe(b,f),fe(()=>{i.isUnmounted=!0},f),f&&f.pendingBranch&&!f.isUnmounted&&i.asyncDep&&!i.asyncResolved&&i.suspenseId===f.pendingId&&(f.deps--,f.deps===0&&f.resolve())},Pe=(i,f,a,p=!1,d=!1,x=0)=>{for(let E=x;E<i.length;E++)He(i[E],f,a,p,d)},yt=i=>i.shapeFlag&6?yt(i.component.subTree):i.shapeFlag&128?i.suspense.next():F(i.anchor||i.el),Rs=(i,f,a)=>{i==null?f._vnode&&He(f._vnode,null,null,!0):N(f._vnode||null,i,f,null,null,null,a),vs(),jt(),f._vnode=i},Ye={p:N,um:He,m:Je,r:As,mt:me,mc:Z,pc:Ie,pbc:S,n:yt,o:e};let zt,Zt;return t&&([zt,Zt]=t(Ye)),{render:Rs,hydrate:zt,createApp:Hl(Rs,zt)}}function Le({effect:e,update:t},s){e.allowRecurse=t.allowRecurse=s}function Vn(e,t,s=!1){const n=e.children,r=t.children;if(R(n)&&R(r))for(let l=0;l<n.length;l++){const o=n[l];let c=r[l];c.shapeFlag&1&&!c.dynamicChildren&&((c.patchFlag<=0||c.patchFlag===32)&&(c=r[l]=$e(r[l]),c.el=o.el),s||Vn(o,c))}}function Ul(e){const t=e.slice(),s=[0];let n,r,l,o,c;const u=e.length;for(n=0;n<u;n++){const h=e[n];if(h!==0){if(r=s[s.length-1],e[r]<h){t[n]=r,s.push(n);continue}for(l=0,o=s.length-1;l<o;)c=l+o>>1,e[s[c]]<h?l=c+1:o=c;h<e[s[l]]&&(l>0&&(t[n]=s[l-1]),s[l]=n)}}for(l=s.length,o=s[l-1];l-- >0;)s[l]=o,o=t[o];return s}const $l=e=>e.__isTeleport,ae=Symbol(void 0),mt=Symbol(void 0),Ve=Symbol(void 0),It=Symbol(void 0),at=[];let we=null;function Kl(e=!1){at.push(we=e?null:[])}function Bl(){at.pop(),we=at[at.length-1]||null}let bt=1;function Ss(e){bt+=e}function Jn(e){return e.dynamicChildren=bt>0?we||Qe:null,Bl(),bt>0&&we&&we.push(e),e}function oi(e,t,s,n,r,l){return Jn(zn(e,t,s,n,r,l,!0))}function Dl(e,t,s,n,r){return Jn(oe(e,t,s,n,r,!0))}function Kt(e){return e?e.__v_isVNode===!0:!1}function ft(e,t){return e.type===t.type&&e.key===t.key}const Jt="__vInternal",Yn=({key:e})=>e??null,Pt=({ref:e,ref_key:t,ref_for:s})=>e!=null?de(e)||le(e)||H(e)?{i:he,r:e,k:t,f:!!s}:e:null;function zn(e,t=null,s=null,n=0,r=null,l=e===ae?0:1,o=!1,c=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Yn(t),ref:t&&Pt(t),scopeId:Pn,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:l,patchFlag:n,dynamicProps:r,dynamicChildren:null,appContext:null};return c?(Is(u,s),l&128&&e.normalize(u)):s&&(u.shapeFlag|=de(s)?8:16),bt>0&&!o&&we&&(u.patchFlag>0||l&6)&&u.patchFlag!==32&&we.push(u),u}const oe=Ll;function Ll(e,t=null,s=null,n=0,r=null,l=!1){if((!e||e===yl)&&(e=Ve),Kt(e)){const c=st(e,t,!0);return s&&Is(c,s),bt>0&&!l&&we&&(c.shapeFlag&6?we[we.indexOf(e)]=c:we.push(c)),c.patchFlag|=-2,c}if(Ql(e)&&(e=e.__vccOpts),t){t=kl(t);let{class:c,style:u}=t;c&&!de(c)&&(t.class=hs(c)),Q(u)&&(xn(u)&&!R(u)&&(u=ce({},u)),t.style=as(u))}const o=de(e)?1:ll(e)?128:$l(e)?64:Q(e)?4:H(e)?2:0;return zn(e,t,s,n,r,o,l,!0)}function kl(e){return e?xn(e)||Jt in e?ce({},e):e:null}function st(e,t,s=!1){const{props:n,ref:r,patchFlag:l,children:o}=e,c=t?Wl(n||{},t):n;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Yn(c),ref:t&&t.ref?s&&r?R(r)?r.concat(Pt(t)):[r,Pt(t)]:Pt(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ae?l===-1?16:l|16:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&st(e.ssContent),ssFallback:e.ssFallback&&st(e.ssFallback),el:e.el,anchor:e.anchor}}function Zn(e=" ",t=0){return oe(mt,null,e,t)}function xe(e){return e==null||typeof e=="boolean"?oe(Ve):R(e)?oe(ae,null,e.slice()):typeof e=="object"?$e(e):oe(mt,null,String(e))}function $e(e){return e.el===null||e.memo?e:st(e)}function Is(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(R(t))s=16;else if(typeof t=="object")if(n&65){const r=t.default;r&&(r._c&&(r._d=!1),Is(e,r()),r._c&&(r._d=!0));return}else{s=32;const r=t._;!r&&!(Jt in t)?t._ctx=he:r===3&&he&&(he.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else H(t)?(t={default:t,_ctx:he},s=32):(t=String(t),n&64?(s=16,t=[Zn(t)]):s=8);e.children=t,e.shapeFlag|=s}function Wl(...e){const t={};for(let s=0;s<e.length;s++){const n=e[s];for(const r in n)if(r==="class")t.class!==n.class&&(t.class=hs([t.class,n.class]));else if(r==="style")t.style=as([t.style,n.style]);else if(Bt(r)){const l=t[r],o=n[r];o&&l!==o&&!(R(l)&&l.includes(o))&&(t[r]=l?[].concat(l,o):o)}else r!==""&&(t[r]=n[r])}return t}function ge(e,t,s,n=null){Me(e,t,7,[s,n])}const vl=vn();let ql=0;function Vl(e,t,s){const n=e.type,r=(t?t.appContext:e.appContext)||vl,l={uid:ql++,vnode:e,type:n,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new dr(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Dn(n,r),emitsOptions:In(n,r),emit:null,emitted:null,propsDefaults:v,inheritAttrs:n.inheritAttrs,ctx:v,data:v,props:v,attrs:v,slots:v,refs:v,setupState:v,setupContext:null,suspense:s,suspenseId:s?s.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return l.ctx={_:l},l.root=t?t.root:l,l.emit=Gr.bind(null,l),e.ce&&e.ce(l),l}let re=null;const nt=e=>{re=e,e.scope.on()},qe=()=>{re&&re.scope.off(),re=null};function Qn(e){return e.vnode.shapeFlag&4}let xt=!1;function Jl(e,t=!1){xt=t;const{props:s,children:n}=e.vnode,r=Qn(e);Ml(e,s,r,t),Al(e,n);const l=r?Yl(e,t):void 0;return xt=!1,l}function Yl(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=yn(new Proxy(e.ctx,wl));const{setup:n}=s;if(n){const r=e.setupContext=n.length>1?Zl(e):null;nt(e),rt();const l=Be(n,e,0,[e.props,r]);if(lt(),qe(),rn(l)){if(l.then(qe,qe),t)return l.then(o=>{Gs(e,o,t)}).catch(o=>{vt(o,e,0)});e.asyncDep=l}else Gs(e,l,t)}else Xn(e,t)}function Gs(e,t,s){H(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Q(t)&&(e.setupState=Tn(t)),Xn(e,s)}let en;function Xn(e,t,s){const n=e.type;if(!e.render){if(!t&&en&&!n.render){const r=n.template||Os(e).template;if(r){const{isCustomElement:l,compilerOptions:o}=e.appContext.config,{delimiters:c,compilerOptions:u}=n,h=ce(ce({isCustomElement:l,delimiters:c},o),u);n.render=en(r,h)}}e.render=n.render||Ee}nt(e),rt(),El(e),lt(),qe()}function zl(e){return new Proxy(e.attrs,{get(t,s){return pe(e,"get","$attrs"),t[s]}})}function Zl(e){const t=n=>{e.exposed=n||{}};let s;return{get attrs(){return s||(s=zl(e))},slots:e.slots,emit:e.emit,expose:t}}function Ps(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Tn(yn(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in Nt)return Nt[s](e)}}))}function Ql(e){return H(e)&&"__vccOpts"in e}const Xl=(e,t)=>Jr(e,t,xt);function fi(e,t,s){const n=arguments.length;return n===2?Q(t)&&!R(t)?Kt(t)?oe(e,null,[t]):oe(e,t):oe(e,null,t):(n>3?s=Array.prototype.slice.call(arguments,2):n===3&&Kt(s)&&(s=[s]),oe(e,t,s))}const Sl="3.2.39";export{ae as F,zn as a,ri as b,oi as c,de as d,li as e,ii as f,ce as g,Bt as h,H as i,sn as j,R as k,kt as l,ht as m,ur as n,Kl as o,Gl as p,ei as q,si as r,Me as s,ti as t,ni as u,fi as v};
|