camera.ui3 0.0.31-alpha.3 → 0.0.31-alpha.4
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/dist/interface/{@intlify.D-zKcAzQ.0.0.31-alpha.3.js → @intlify.Jdj6PDCT.0.0.31-alpha.4.js} +5 -5
- package/dist/interface/@tanstack.u9j0vFG7.0.0.31-alpha.4.js +1 -0
- package/dist/interface/{@vee-validate.CRR-zynB.0.0.31-alpha.3.js → @vee-validate.CeTK5aSi.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/@vue.BH6Bo0Pn.0.0.31-alpha.4.js +17 -0
- package/dist/interface/{@vueform.Bc8doccG.0.0.31-alpha.3.js → @vueform.BK0SRdZT.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{@vueuse.DilXJfuq.0.0.31-alpha.3.js → @vueuse.L53ctOxB.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{Account.DUJ2ChYh.0.0.31-alpha.3.js → Account.DHs-KLmU.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{Adminpanel.Bs5BSHqj.0.0.31-alpha.3.js → Adminpanel.BOEzHUvR.0.0.31-alpha.4.js} +2 -2
- package/dist/interface/{Appearance.px0zfdT6.0.0.31-alpha.3.js → Appearance.DK5A9rgs.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{Backup.fnNyl37I.0.0.31-alpha.3.js → Backup.EFH8hrjt.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{Camera.BxYs0sBu.0.0.31-alpha.3.js → Camera.U4jywpEp.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{Cameras.WZcYU7ET.0.0.31-alpha.3.js → Cameras.DUgAvSn3.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{Camview.DdU54VBc.0.0.31-alpha.3.js → Camview.ouLWdVoJ.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{Config.DcqbW26O.0.0.31-alpha.3.js → Config.Ci1OL_As.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{Console.zg9yV3pk.0.0.31-alpha.3.js → Console.C8c6w5YK.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{FirstSteps.CtANqbfR.0.0.31-alpha.3.js → FirstSteps.Cta-bQRC.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{NewCamera.ByScMX1A.0.0.31-alpha.3.js → NewCamera.DHfe1GsP.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{Plugin.BO6pVLjB.0.0.31-alpha.3.js → Plugin.Bp-p6qzO.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{Plugins.DiwDf7eb.0.0.31-alpha.3.js → Plugins.DKG-euyo.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/Recordings.DvfXUR9h.0.0.31-alpha.4.js +1 -0
- package/dist/interface/Recordings.RJVoljmf.0.0.31-alpha.4.js +1 -0
- package/dist/interface/{Settings.DtCoqTZg.0.0.31-alpha.3.js → Settings.B6oomJuI.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{System.QV_J5S2i.0.0.31-alpha.3.js → System.DYqzMqvm.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{User.BOiBRofa.0.0.31-alpha.3.js → User.BX6H5sQ7.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{VConfigEditor.vue_vue_type_script_setup_true_lang.DrOIGJs8.0.0.31-alpha.3.js → VConfigEditor.vue_vue_type_script_setup_true_lang.BVi__CZg.0.0.31-alpha.4.js} +2 -2
- package/dist/interface/{VConsole.DpzWvk8_.0.0.31-alpha.3.js → VConsole.DE3kdzhx.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{VPlayer.BbnWJq6v.0.0.31-alpha.3.js → VPlayer.DBmxioQd.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{VPluginCard.ByhIZRtG.0.0.31-alpha.3.js → VPluginCard.DjaavIDj.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{ace-builds.CiNjpneP.0.0.31-alpha.3.js → ace-builds.Dx450mYI.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{apexcharts.BC7dHJey.0.0.31-alpha.3.js → apexcharts.OmQvSZRP.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{dnd-core.DGBOJ56p.0.0.31-alpha.3.js → dnd-core.D_o4rKnM.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{draggabilly.Df44wrEw.0.0.31-alpha.3.js → draggabilly.BgUX20jQ.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{engine.io-client.BHlY_gPI.0.0.31-alpha.3.js → engine.io-client.Ct3XmaZr.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{ev-emitter.CaI-eq2c.0.0.31-alpha.3.js → ev-emitter.C-zXZyj5.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{fast-deep-equal.CGteOI15.0.0.31-alpha.3.js → fast-deep-equal.DnuWAPiP.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{highlight.js.CBE8OK5M.0.0.31-alpha.3.js → highlight.js.83tXWXtw.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/index.html +34 -34
- package/dist/interface/{linkify-it.D8YmDxfh.0.0.31-alpha.3.js → linkify-it.tOYhRcj3.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/main.J8NGbG5S.0.0.31-alpha.4.js +2 -0
- package/dist/interface/{markdown-it.BLLBOvQA.0.0.31-alpha.3.js → markdown-it.6mdFTr-e.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{nprogress.CYUDEACo.0.0.31-alpha.3.js → nprogress.iYKNBadB.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{pinia.BSjp3AdH.0.0.31-alpha.3.js → pinia.E6ew1z2Q.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{plugins.BYw-u_wj.0.0.31-alpha.3.js → plugins.VJiYKYRl.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/pwa/pwa-120x120.png +0 -0
- package/dist/interface/pwa/pwa-144x144.png +0 -0
- package/dist/interface/pwa/pwa-152x152.png +0 -0
- package/dist/interface/pwa/pwa-167x167.png +0 -0
- package/dist/interface/pwa/pwa-192x192.png +0 -0
- package/dist/interface/pwa/pwa-24x24.png +0 -0
- package/dist/interface/pwa/pwa-36x36.png +0 -0
- package/dist/interface/pwa/pwa-48x48.png +0 -0
- package/dist/interface/pwa/pwa-50x50.png +0 -0
- package/dist/interface/pwa/pwa-64x64.png +0 -0
- package/dist/interface/pwa/pwa-72x72.png +0 -0
- package/dist/interface/pwa/pwa-88x88.png +0 -0
- package/dist/interface/pwa/pwa-96x96.png +0 -0
- package/dist/interface/{qrcode.ViEJWv07.0.0.31-alpha.3.js → qrcode.D1EYQJZ8.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{react-dnd-touch-backend.B25g6HMz.0.0.31-alpha.3.js → react-dnd-touch-backend.B6P_MW8h.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{rxjs.DAxo7H7n.0.0.31-alpha.3.js → rxjs.CxkkGsQ5.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{socket.io-client.BAvngsQr.0.0.31-alpha.3.js → socket.io-client.C_eRWoxp.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{socket.io-parser.CtF_-BH9.0.0.31-alpha.3.js → socket.io-parser.CREbE98O.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/sw.js +1 -1
- package/dist/interface/{system.Bq8F1liq.0.0.31-alpha.3.js → system.DpI2abFn.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{ui.DATGy2-L.0.0.31-alpha.3.js → ui.3yvnEIE1.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{unidragger.Bhi60qVI.0.0.31-alpha.3.js → unidragger.DLjMBILF.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{v-calendar.aXsE30_x.0.0.31-alpha.3.js → v-calendar.DHNvU-YH.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{vee-validate.Cw-ckZ38.0.0.31-alpha.3.js → vee-validate.B1-qhDGi.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{vue-i18n.BZqluQfO.0.0.31-alpha.3.js → vue-i18n.pFxQhMHL.0.0.31-alpha.4.js} +4 -4
- package/dist/interface/{vue-inline-svg.DVQ-GYng.0.0.31-alpha.3.js → vue-inline-svg.fvr_QCTK.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{vue-router.B7Lhq6-j.0.0.31-alpha.3.js → vue-router.QYYQLEuQ.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{vue3-apexcharts.Cs1h-kYs.0.0.31-alpha.3.js → vue3-apexcharts.BeWkPuyx.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{vue3-dnd.WByi5z3Y.0.0.31-alpha.3.js → vue3-dnd.UqV602qV.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{vue3-toastify.CAYOaBs7.0.0.31-alpha.3.js → vue3-toastify.fPSwJwA9.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{vuetify.BSQt06NV.0.0.31-alpha.3.js → vuetify.B5tihVxi.0.0.31-alpha.4.js} +1 -1
- package/dist/server/bin/cameraui.d.ts +0 -6
- package/dist/server/bin/cameraui.js +9 -128
- package/dist/server/bin/cameraui.js.map +1 -1
- package/dist/server/bin/installer/freebsd.js +3 -0
- package/dist/server/bin/installer/freebsd.js.map +1 -1
- package/dist/server/bin/installer/linux.d.ts +6 -0
- package/dist/server/bin/installer/linux.js +31 -2
- package/dist/server/bin/installer/linux.js.map +1 -1
- package/dist/server/bin/logger.d.ts +16 -0
- package/dist/server/bin/logger.js +133 -0
- package/dist/server/bin/logger.js.map +1 -0
- package/dist/server/package.json +7 -7
- package/dist/server/src/api/services/cameras.service.js.map +1 -1
- package/package.json +7 -7
- package/dist/interface/@tanstack.BESNofNd.0.0.31-alpha.3.js +0 -1
- package/dist/interface/@vue.DawUEI-_.0.0.31-alpha.3.js +0 -17
- package/dist/interface/Recordings.DWlYo0_z.0.0.31-alpha.3.js +0 -1
- package/dist/interface/Recordings.DX29red_.0.0.31-alpha.3.js +0 -1
- package/dist/interface/main.DpuxXIXo.0.0.31-alpha.3.js +0 -2
- /package/dist/interface/{@babel.l0sNRNKZ.0.0.31-alpha.3.js → @babel.l0sNRNKZ.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{@camera.ui.DiVLAlWa.0.0.31-alpha.3.js → @camera.ui.DiVLAlWa.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{@mdi.DVdKciOk.0.0.31-alpha.3.js → @mdi.DVdKciOk.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{@popperjs.BQBsAJpH.0.0.31-alpha.3.js → @popperjs.BQBsAJpH.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{@react-dnd.CcwRs9xb.0.0.31-alpha.3.js → @react-dnd.CcwRs9xb.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{@socket.io.Dkula2eQ.0.0.31-alpha.3.js → @socket.io.Dkula2eQ.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{@xterm.BFqH4gFP.0.0.31-alpha.3.js → @xterm.D1SKXPWU.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/assets/{@vueform.0.0.31-alpha.3.h7tNX9p6.css → @vueform.0.0.31-alpha.4.h7tNX9p6.css} +0 -0
- /package/dist/interface/assets/{@xterm.0.0.31-alpha.3.CGrrDQr5.css → @xterm.0.0.31-alpha.4.CGrrDQr5.css} +0 -0
- /package/dist/interface/assets/{Account.0.0.31-alpha.3.Ce3OmKrC.css → Account.0.0.31-alpha.4.Ce3OmKrC.css} +0 -0
- /package/dist/interface/assets/{Adminpanel.0.0.31-alpha.3.CXsTAXPL.css → Adminpanel.0.0.31-alpha.4.CXsTAXPL.css} +0 -0
- /package/dist/interface/assets/{Backup.0.0.31-alpha.3.BIwaSlv3.css → Backup.0.0.31-alpha.4.BIwaSlv3.css} +0 -0
- /package/dist/interface/assets/{Camera.0.0.31-alpha.3.BDtUJ-lA.css → Camera.0.0.31-alpha.4.BDtUJ-lA.css} +0 -0
- /package/dist/interface/assets/{Cameras.0.0.31-alpha.3.Djx0F2MM.css → Cameras.0.0.31-alpha.4.Djx0F2MM.css} +0 -0
- /package/dist/interface/assets/{Camview.0.0.31-alpha.3.Ce_V-Nxj.css → Camview.0.0.31-alpha.4.Ce_V-Nxj.css} +0 -0
- /package/dist/interface/assets/{Config.0.0.31-alpha.3.xOTKGJ5Y.css → Config.0.0.31-alpha.4.xOTKGJ5Y.css} +0 -0
- /package/dist/interface/assets/{Console.0.0.31-alpha.3.DWrfRWs9.css → Console.0.0.31-alpha.4.DWrfRWs9.css} +0 -0
- /package/dist/interface/assets/{FirstSteps.0.0.31-alpha.3.CCo2y-sU.css → FirstSteps.0.0.31-alpha.4.CCo2y-sU.css} +0 -0
- /package/dist/interface/assets/{NewCamera.0.0.31-alpha.3.BWK7TkdY.css → NewCamera.0.0.31-alpha.4.BWK7TkdY.css} +0 -0
- /package/dist/interface/assets/{Plugin.0.0.31-alpha.3.BtRA6zDt.css → Plugin.0.0.31-alpha.4.BtRA6zDt.css} +0 -0
- /package/dist/interface/assets/{Plugins.0.0.31-alpha.3.Cwu0aGUO.css → Plugins.0.0.31-alpha.4.Cwu0aGUO.css} +0 -0
- /package/dist/interface/assets/{Settings.0.0.31-alpha.3.DC_-E3CR.css → Settings.0.0.31-alpha.4.DC_-E3CR.css} +0 -0
- /package/dist/interface/assets/{User.0.0.31-alpha.3.DPDcJbx8.css → User.0.0.31-alpha.4.DPDcJbx8.css} +0 -0
- /package/dist/interface/assets/{VConsole.0.0.31-alpha.3.BZT1WyS-.css → VConsole.0.0.31-alpha.4.BZT1WyS-.css} +0 -0
- /package/dist/interface/assets/{VPlayer.0.0.31-alpha.3.6GqQ0F0K.css → VPlayer.0.0.31-alpha.4.6GqQ0F0K.css} +0 -0
- /package/dist/interface/assets/{VPluginCard.0.0.31-alpha.3.CyNvwFGk.css → VPluginCard.0.0.31-alpha.4.CyNvwFGk.css} +0 -0
- /package/dist/interface/assets/{highlight.0.0.31-alpha.3.DgoK_Xib.css → highlight.0.0.31-alpha.4.DgoK_Xib.css} +0 -0
- /package/dist/interface/assets/{logo-256.0.0.31-alpha.3.BCQk9H1-.png → logo-256.0.0.31-alpha.4.BCQk9H1-.png} +0 -0
- /package/dist/interface/assets/{logo-512.0.0.31-alpha.3.DLKVOU2S.png → logo-512.0.0.31-alpha.4.DLKVOU2S.png} +0 -0
- /package/dist/interface/assets/{logo.0.0.31-alpha.3.DmEiRk0z.png → logo.0.0.31-alpha.4.DmEiRk0z.png} +0 -0
- /package/dist/interface/assets/{main.0.0.31-alpha.3.CqDyfc1x.css → main.0.0.31-alpha.4.CqDyfc1x.css} +0 -0
- /package/dist/interface/assets/{mode-json.0.0.31-alpha.3.Br7xisR1.js → mode-json.0.0.31-alpha.4.Br7xisR1.js} +0 -0
- /package/dist/interface/assets/{mode-yaml.0.0.31-alpha.3.CIYL8U3d.js → mode-yaml.0.0.31-alpha.4.CIYL8U3d.js} +0 -0
- /package/dist/interface/assets/{v-calendar.0.0.31-alpha.3.CtSuDYZU.css → v-calendar.0.0.31-alpha.4.CtSuDYZU.css} +0 -0
- /package/dist/interface/assets/{vue3-toastify.0.0.31-alpha.3.DTY1DMRs.css → vue3-toastify.0.0.31-alpha.4.DTY1DMRs.css} +0 -0
- /package/dist/interface/assets/{vuetify.0.0.31-alpha.3.Cd1awv3t.css → vuetify.0.0.31-alpha.4.Cd1awv3t.css} +0 -0
- /package/dist/interface/{axios.C-n2IhIP.0.0.31-alpha.3.js → axios.C-n2IhIP.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{compare-versions.DqEOhma6.0.0.31-alpha.3.js → compare-versions.DqEOhma6.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{dijkstrajs.D_NXgYpA.0.0.31-alpha.3.js → dijkstrajs.D_NXgYpA.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{engine.io-parser.BiEtp6m2.0.0.31-alpha.3.js → engine.io-parser.BiEtp6m2.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{entities.C20TfXL6.0.0.31-alpha.3.js → entities.C20TfXL6.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{get-size.D1dS-IaP.0.0.31-alpha.3.js → get-size.D1dS-IaP.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{mdurl.k9Sl0PQj.0.0.31-alpha.3.js → mdurl.k9Sl0PQj.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{punycode.js.Dj65hjkv.0.0.31-alpha.3.js → punycode.js.Dj65hjkv.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{react-dnd-html5-backend.1HQjlkwI.0.0.31-alpha.3.js → react-dnd-html5-backend.1HQjlkwI.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{redux.CuxFRhX_.0.0.31-alpha.3.js → redux.CuxFRhX_.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{tslib.9k7AwCpt.0.0.31-alpha.3.js → tslib.9k7AwCpt.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{types.Cz9TaZAP.0.0.31-alpha.3.js → types.Cz9TaZAP.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{uc.micro.kMc2yuuw.0.0.31-alpha.3.js → uc.micro.kMc2yuuw.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{utils.mAKpSMLY.0.0.31-alpha.3.js → utils.mAKpSMLY.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{uuid.DvF23Exx.0.0.31-alpha.3.js → uuid.DvF23Exx.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{vue.l0sNRNKZ.0.0.31-alpha.3.js → vue.l0sNRNKZ.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{zod.DnW1_kUe.0.0.31-alpha.3.js → zod.DnW1_kUe.0.0.31-alpha.4.js} +0 -0
package/dist/interface/{@intlify.D-zKcAzQ.0.0.31-alpha.3.js → @intlify.Jdj6PDCT.0.0.31-alpha.4.js}
RENAMED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* shared v10.0.
|
|
2
|
+
* shared v10.0.1
|
|
3
3
|
* (c) 2024 kazuya kawaguchi
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/const dt=(e,t,n)=>mt({l:e,k:t,s:n}),mt=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),K=e=>typeof e=="number"&&isFinite(e),_t=e=>We(e)==="[object Date]",Ce=e=>We(e)==="[object RegExp]",_e=e=>P(e)&&Object.keys(e).length===0,ee=Object.assign;let Ie;const Et=()=>Ie||(Ie=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Se(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const H=Array.isArray,F=e=>typeof e=="function",b=e=>typeof e=="string",$=e=>typeof e=="boolean",w=e=>e!==null&&typeof e=="object",Lt=e=>w(e)&&F(e.then)&&F(e.catch),Ue=Object.prototype.toString,We=e=>Ue.call(e),P=e=>{if(!w(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},pt=e=>e==null?"":H(e)||P(e)&&e.toString===Ue?JSON.stringify(e,null,2):String(e);function ht(e,t=""){return e.reduce((n,s,i)=>i===0?n+s:n+t+s,"")}function Nt(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}/*!
|
|
6
|
-
* shared v10.0.
|
|
6
|
+
* shared v10.0.1
|
|
7
7
|
* (c) 2024 kazuya kawaguchi
|
|
8
8
|
* Released under the MIT License.
|
|
9
9
|
*/const $e=Object.assign,be=e=>typeof e=="string";function Ke(e,t=""){return e.reduce((n,s,i)=>i===0?n+s:n+t+s,"")}/*!
|
|
10
|
-
* message-compiler v10.0.
|
|
10
|
+
* message-compiler v10.0.1
|
|
11
11
|
* (c) 2024 kazuya kawaguchi
|
|
12
12
|
* Released under the MIT License.
|
|
13
13
|
*/function gt(e,t,n){return{line:e,column:t,offset:n}}function fe(e,t,n){return{start:e,end:t}}const k={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16},Tt=17;function Ee(e,t,n={}){const{domain:s,messages:i,args:c}=n,m=e,_=new SyntaxError(String(m));return _.code=e,t&&(_.location=t),_.domain=s,_}function Ct(e){throw e}const x=" ",It="\r",W=`
|
|
14
14
|
`,St="\u2028",bt="\u2029";function At(e){const t=e;let n=0,s=1,i=1,c=0;const m=S=>t[S]===It&&t[S+1]===W,_=S=>t[S]===W,f=S=>t[S]===bt,L=S=>t[S]===St,I=S=>m(S)||_(S)||f(S)||L(S),C=()=>n,N=()=>s,A=()=>i,y=()=>c,O=S=>m(S)||f(S)||L(S)?W:t[S],g=()=>O(n),l=()=>O(n+c);function d(){return c=0,I(n)&&(s++,i=0),m(n)&&n++,n++,i++,t[n]}function E(){return m(n+c)&&c++,c++,t[n+c]}function o(){n=0,s=1,i=1,c=0}function p(S=0){c=S}function h(){const S=n+c;for(;S!==n;)d();c=0}return{index:C,line:N,column:A,peekOffset:y,charAt:O,currentChar:g,currentPeek:l,next:d,peek:E,reset:o,resetPeek:p,skipToPeek:h}}const Q=void 0,Ot=".",Ae="'",yt="tokenizer";function kt(e,t={}){const n=t.location!==!1,s=At(e),i=()=>s.index(),c=()=>gt(s.line(),s.column(),s.index()),m=c(),_=i(),f={currentType:13,offset:_,startLoc:m,endLoc:m,lastType:13,lastOffset:_,lastStartLoc:m,lastEndLoc:m,braceNest:0,inLinked:!1,text:""},L=()=>f,{onError:I}=t;function C(r,a,u,...T){const M=L();if(a.column+=u,a.offset+=u,I){const v=n?fe(M.startLoc,a):null,Y=Ee(r,v,{domain:yt,args:T});I(Y)}}function N(r,a,u){r.endLoc=c(),r.currentType=a;const T={type:a};return n&&(T.loc=fe(r.startLoc,r.endLoc)),u!=null&&(T.value=u),T}const A=r=>N(r,13);function y(r,a){return r.currentChar()===a?(r.next(),a):(C(k.EXPECTED_TOKEN,c(),0,a),"")}function O(r){let a="";for(;r.currentPeek()===x||r.currentPeek()===W;)a+=r.currentPeek(),r.peek();return a}function g(r){const a=O(r);return r.skipToPeek(),a}function l(r){if(r===Q)return!1;const a=r.charCodeAt(0);return a>=97&&a<=122||a>=65&&a<=90||a===95}function d(r){if(r===Q)return!1;const a=r.charCodeAt(0);return a>=48&&a<=57}function E(r,a){const{currentType:u}=a;if(u!==2)return!1;O(r);const T=l(r.currentPeek());return r.resetPeek(),T}function o(r,a){const{currentType:u}=a;if(u!==2)return!1;O(r);const T=r.currentPeek()==="-"?r.peek():r.currentPeek(),M=d(T);return r.resetPeek(),M}function p(r,a){const{currentType:u}=a;if(u!==2)return!1;O(r);const T=r.currentPeek()===Ae;return r.resetPeek(),T}function h(r,a){const{currentType:u}=a;if(u!==7)return!1;O(r);const T=r.currentPeek()===".";return r.resetPeek(),T}function S(r,a){const{currentType:u}=a;if(u!==8)return!1;O(r);const T=l(r.currentPeek());return r.resetPeek(),T}function D(r,a){const{currentType:u}=a;if(!(u===7||u===11))return!1;O(r);const T=r.currentPeek()===":";return r.resetPeek(),T}function R(r,a){const{currentType:u}=a;if(u!==9)return!1;const T=()=>{const v=r.currentPeek();return v==="{"?l(r.peek()):v==="@"||v==="|"||v===":"||v==="."||v===x||!v?!1:v===W?(r.peek(),T()):j(r,!1)},M=T();return r.resetPeek(),M}function V(r){O(r);const a=r.currentPeek()==="|";return r.resetPeek(),a}function j(r,a=!0){const u=(M=!1,v="")=>{const Y=r.currentPeek();return Y==="{"||Y==="@"||!Y?M:Y==="|"?!(v===x||v===W):Y===x?(r.peek(),u(!0,x)):Y===W?(r.peek(),u(!0,W)):!0},T=u();return a&&r.resetPeek(),T}function U(r,a){const u=r.currentChar();return u===Q?Q:a(u)?(r.next(),u):null}function re(r){const a=r.charCodeAt(0);return a>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||a===95||a===36}function Be(r){return U(r,re)}function Je(r){const a=r.charCodeAt(0);return a>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||a===95||a===36||a===45}function Qe(r){return U(r,Je)}function qe(r){const a=r.charCodeAt(0);return a>=48&&a<=57}function Ze(r){return U(r,qe)}function ze(r){const a=r.charCodeAt(0);return a>=48&&a<=57||a>=65&&a<=70||a>=97&&a<=102}function et(r){return U(r,ze)}function ge(r){let a="",u="";for(;a=Ze(r);)u+=a;return u}function tt(r){let a="";for(;;){const u=r.currentChar();if(u==="{"||u==="}"||u==="@"||u==="|"||!u)break;if(u===x||u===W)if(j(r))a+=u,r.next();else{if(V(r))break;a+=u,r.next()}else a+=u,r.next()}return a}function nt(r){g(r);let a="",u="";for(;a=Qe(r);)u+=a;return r.currentChar()===Q&&C(k.UNTERMINATED_CLOSING_BRACE,c(),0),u}function rt(r){g(r);let a="";return r.currentChar()==="-"?(r.next(),a+=`-${ge(r)}`):a+=ge(r),r.currentChar()===Q&&C(k.UNTERMINATED_CLOSING_BRACE,c(),0),a}function st(r){return r!==Ae&&r!==W}function at(r){g(r),y(r,"'");let a="",u="";for(;a=U(r,st);)a==="\\"?u+=lt(r):u+=a;const T=r.currentChar();return T===W||T===Q?(C(k.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,c(),0),T===W&&(r.next(),y(r,"'")),u):(y(r,"'"),u)}function lt(r){const a=r.currentChar();switch(a){case"\\":case"'":return r.next(),`\\${a}`;case"u":return Te(r,a,4);case"U":return Te(r,a,6);default:return C(k.UNKNOWN_ESCAPE_SEQUENCE,c(),0,a),""}}function Te(r,a,u){y(r,a);let T="";for(let M=0;M<u;M++){const v=et(r);if(!v){C(k.INVALID_UNICODE_ESCAPE_SEQUENCE,c(),0,`\\${a}${T}${r.currentChar()}`);break}T+=v}return`\\${a}${T}`}function ct(r){return r!=="{"&&r!=="}"&&r!==x&&r!==W}function it(r){g(r);let a="",u="";for(;a=U(r,ct);)u+=a;return u}function ot(r){let a="",u="";for(;a=Be(r);)u+=a;return u}function ut(r){const a=u=>{const T=r.currentChar();return T==="{"||T==="@"||T==="|"||T==="("||T===")"||!T||T===x?u:(u+=T,r.next(),a(u))};return a("")}function le(r){g(r);const a=y(r,"|");return g(r),a}function ce(r,a){let u=null;switch(r.currentChar()){case"{":return a.braceNest>=1&&C(k.NOT_ALLOW_NEST_PLACEHOLDER,c(),0),r.next(),u=N(a,2,"{"),g(r),a.braceNest++,u;case"}":return a.braceNest>0&&a.currentType===2&&C(k.EMPTY_PLACEHOLDER,c(),0),r.next(),u=N(a,3,"}"),a.braceNest--,a.braceNest>0&&g(r),a.inLinked&&a.braceNest===0&&(a.inLinked=!1),u;case"@":return a.braceNest>0&&C(k.UNTERMINATED_CLOSING_BRACE,c(),0),u=se(r,a)||A(a),a.braceNest=0,u;default:{let M=!0,v=!0,Y=!0;if(V(r))return a.braceNest>0&&C(k.UNTERMINATED_CLOSING_BRACE,c(),0),u=N(a,1,le(r)),a.braceNest=0,a.inLinked=!1,u;if(a.braceNest>0&&(a.currentType===4||a.currentType===5||a.currentType===6))return C(k.UNTERMINATED_CLOSING_BRACE,c(),0),a.braceNest=0,ie(r,a);if(M=E(r,a))return u=N(a,4,nt(r)),g(r),u;if(v=o(r,a))return u=N(a,5,rt(r)),g(r),u;if(Y=p(r,a))return u=N(a,6,at(r)),g(r),u;if(!M&&!v&&!Y)return u=N(a,12,it(r)),C(k.INVALID_TOKEN_IN_PLACEHOLDER,c(),0,u.value),g(r),u;break}}return u}function se(r,a){const{currentType:u}=a;let T=null;const M=r.currentChar();switch((u===7||u===8||u===11||u===9)&&(M===W||M===x)&&C(k.INVALID_LINKED_FORMAT,c(),0),M){case"@":return r.next(),T=N(a,7,"@"),a.inLinked=!0,T;case".":return g(r),r.next(),N(a,8,".");case":":return g(r),r.next(),N(a,9,":");default:return V(r)?(T=N(a,1,le(r)),a.braceNest=0,a.inLinked=!1,T):h(r,a)||D(r,a)?(g(r),se(r,a)):S(r,a)?(g(r),N(a,11,ot(r))):R(r,a)?(g(r),M==="{"?ce(r,a)||T:N(a,10,ut(r))):(u===7&&C(k.INVALID_LINKED_FORMAT,c(),0),a.braceNest=0,a.inLinked=!1,ie(r,a))}}function ie(r,a){let u={type:13};if(a.braceNest>0)return ce(r,a)||A(a);if(a.inLinked)return se(r,a)||A(a);switch(r.currentChar()){case"{":return ce(r,a)||A(a);case"}":return C(k.UNBALANCED_CLOSING_BRACE,c(),0),r.next(),N(a,3,"}");case"@":return se(r,a)||A(a);default:{if(V(r))return u=N(a,1,le(r)),a.braceNest=0,a.inLinked=!1,u;if(j(r))return N(a,0,tt(r));break}}return u}function ft(){const{currentType:r,offset:a,startLoc:u,endLoc:T}=f;return f.lastType=r,f.lastOffset=a,f.lastStartLoc=u,f.lastEndLoc=T,f.offset=i(),f.startLoc=c(),s.currentChar()===Q?N(f,13):ie(s,f)}return{nextToken:ft,currentOffset:i,currentPosition:c,context:L}}const Pt="parser",Dt=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Rt(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const s=parseInt(t||n,16);return s<=55295||s>=57344?String.fromCodePoint(s):"�"}}}function Mt(e={}){const t=e.location!==!1,{onError:n}=e;function s(l,d,E,o,...p){const h=l.currentPosition();if(h.offset+=o,h.column+=o,n){const S=t?fe(E,h):null,D=Ee(d,S,{domain:Pt,args:p});n(D)}}function i(l,d,E){const o={type:l};return t&&(o.start=d,o.end=d,o.loc={start:E,end:E}),o}function c(l,d,E,o){t&&(l.end=d,l.loc&&(l.loc.end=E))}function m(l,d){const E=l.context(),o=i(3,E.offset,E.startLoc);return o.value=d,c(o,l.currentOffset(),l.currentPosition()),o}function _(l,d){const E=l.context(),{lastOffset:o,lastStartLoc:p}=E,h=i(5,o,p);return h.index=parseInt(d,10),l.nextToken(),c(h,l.currentOffset(),l.currentPosition()),h}function f(l,d){const E=l.context(),{lastOffset:o,lastStartLoc:p}=E,h=i(4,o,p);return h.key=d,l.nextToken(),c(h,l.currentOffset(),l.currentPosition()),h}function L(l,d){const E=l.context(),{lastOffset:o,lastStartLoc:p}=E,h=i(9,o,p);return h.value=d.replace(Dt,Rt),l.nextToken(),c(h,l.currentOffset(),l.currentPosition()),h}function I(l){const d=l.nextToken(),E=l.context(),{lastOffset:o,lastStartLoc:p}=E,h=i(8,o,p);return d.type!==11?(s(l,k.UNEXPECTED_EMPTY_LINKED_MODIFIER,E.lastStartLoc,0),h.value="",c(h,o,p),{nextConsumeToken:d,node:h}):(d.value==null&&s(l,k.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,G(d)),h.value=d.value||"",c(h,l.currentOffset(),l.currentPosition()),{node:h})}function C(l,d){const E=l.context(),o=i(7,E.offset,E.startLoc);return o.value=d,c(o,l.currentOffset(),l.currentPosition()),o}function N(l){const d=l.context(),E=i(6,d.offset,d.startLoc);let o=l.nextToken();if(o.type===8){const p=I(l);E.modifier=p.node,o=p.nextConsumeToken||l.nextToken()}switch(o.type!==9&&s(l,k.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,G(o)),o=l.nextToken(),o.type===2&&(o=l.nextToken()),o.type){case 10:o.value==null&&s(l,k.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,G(o)),E.key=C(l,o.value||"");break;case 4:o.value==null&&s(l,k.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,G(o)),E.key=f(l,o.value||"");break;case 5:o.value==null&&s(l,k.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,G(o)),E.key=_(l,o.value||"");break;case 6:o.value==null&&s(l,k.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,G(o)),E.key=L(l,o.value||"");break;default:{s(l,k.UNEXPECTED_EMPTY_LINKED_KEY,d.lastStartLoc,0);const p=l.context(),h=i(7,p.offset,p.startLoc);return h.value="",c(h,p.offset,p.startLoc),E.key=h,c(E,p.offset,p.startLoc),{nextConsumeToken:o,node:E}}}return c(E,l.currentOffset(),l.currentPosition()),{node:E}}function A(l){const d=l.context(),E=d.currentType===1?l.currentOffset():d.offset,o=d.currentType===1?d.endLoc:d.startLoc,p=i(2,E,o);p.items=[];let h=null;do{const R=h||l.nextToken();switch(h=null,R.type){case 0:R.value==null&&s(l,k.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,G(R)),p.items.push(m(l,R.value||""));break;case 5:R.value==null&&s(l,k.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,G(R)),p.items.push(_(l,R.value||""));break;case 4:R.value==null&&s(l,k.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,G(R)),p.items.push(f(l,R.value||""));break;case 6:R.value==null&&s(l,k.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,G(R)),p.items.push(L(l,R.value||""));break;case 7:{const V=N(l);p.items.push(V.node),h=V.nextConsumeToken||null;break}}}while(d.currentType!==13&&d.currentType!==1);const S=d.currentType===1?d.lastOffset:l.currentOffset(),D=d.currentType===1?d.lastEndLoc:l.currentPosition();return c(p,S,D),p}function y(l,d,E,o){const p=l.context();let h=o.items.length===0;const S=i(1,d,E);S.cases=[],S.cases.push(o);do{const D=A(l);h||(h=D.items.length===0),S.cases.push(D)}while(p.currentType!==13);return h&&s(l,k.MUST_HAVE_MESSAGES_IN_PLURAL,E,0),c(S,l.currentOffset(),l.currentPosition()),S}function O(l){const d=l.context(),{offset:E,startLoc:o}=d,p=A(l);return d.currentType===13?p:y(l,E,o,p)}function g(l){const d=kt(l,$e({},e)),E=d.context(),o=i(0,E.offset,E.startLoc);return t&&o.loc&&(o.loc.source=l),o.body=O(d),e.onCacheKey&&(o.cacheKey=e.onCacheKey(l)),E.currentType!==13&&s(d,k.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,l[E.offset]||""),c(o,d.currentOffset(),d.currentPosition()),o}return{parse:g}}function G(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function vt(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:c=>(n.helpers.add(c),c)}}function Oe(e,t){for(let n=0;n<e.length;n++)Le(e[n],t)}function Le(e,t){switch(e.type){case 1:Oe(e.cases,t),t.helper("plural");break;case 2:Oe(e.items,t);break;case 6:{Le(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function Ft(e,t={}){const n=vt(e);n.helper("normalize"),e.body&&Le(e.body,n);const s=n.context();e.helpers=Array.from(s.helpers)}function wt(e){const t=e.body;return t.type===2?ye(t):t.cases.forEach(n=>ye(n)),e}function ye(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const s=e.items[n];if(!(s.type===3||s.type===9)||s.value==null)break;t.push(s.value)}if(t.length===e.items.length){e.static=Ke(t);for(let n=0;n<e.items.length;n++){const s=e.items[n];(s.type===3||s.type===9)&&delete s.value}}}}function Z(e){switch(e.t=e.type,e.type){case 0:{const t=e;Z(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let s=0;s<n.length;s++)Z(n[s]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let s=0;s<n.length;s++)Z(n[s]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;Z(t.key),t.k=t.key,delete t.key,t.modifier&&(Z(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}}delete e.type}function Ut(e,t){const{sourceMap:n,filename:s,breakLineCode:i,needIndent:c}=t,m=t.location!==!1,_={filename:s,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:i,needIndent:c,indentLevel:0};m&&e.loc&&(_.source=e.loc.source);const f=()=>_;function L(g,l){_.code+=g}function I(g,l=!0){const d=l?i:"";L(c?d+" ".repeat(g):d)}function C(g=!0){const l=++_.indentLevel;g&&I(l)}function N(g=!0){const l=--_.indentLevel;g&&I(l)}function A(){I(_.indentLevel)}return{context:f,push:L,indent:C,deindent:N,newline:A,helper:g=>`_${g}`,needIndent:()=>_.needIndent}}function Wt(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),z(e,t.key),t.modifier?(e.push(", "),z(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function $t(e,t){const{helper:n,needIndent:s}=e;e.push(`${n("normalize")}([`),e.indent(s());const i=t.items.length;for(let c=0;c<i&&(z(e,t.items[c]),c!==i-1);c++)e.push(", ");e.deindent(s()),e.push("])")}function Kt(e,t){const{helper:n,needIndent:s}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(s());const i=t.cases.length;for(let c=0;c<i&&(z(e,t.cases[c]),c!==i-1);c++)e.push(", ");e.deindent(s()),e.push("])")}}function Vt(e,t){t.body?z(e,t.body):e.push("null")}function z(e,t){const{helper:n}=e;switch(t.type){case 0:Vt(e,t);break;case 1:Kt(e,t);break;case 2:$t(e,t);break;case 6:Wt(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break}}const Yt=(e,t={})=>{const n=be(t.mode)?t.mode:"normal",s=be(t.filename)?t.filename:"message.intl",i=!!t.sourceMap,c=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
|
15
15
|
`,m=t.needIndent?t.needIndent:n!=="arrow",_=e.helpers||[],f=Ut(e,{mode:n,filename:s,sourceMap:i,breakLineCode:c,needIndent:m});f.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),f.indent(m),_.length>0&&(f.push(`const { ${Ke(_.map(C=>`${C}: _${C}`),", ")} } = ctx`),f.newline()),f.push("return "),z(f,e),f.deindent(m),f.push("}"),delete e.helpers;const{code:L,map:I}=f.context();return{ast:e,code:L,map:I?I.toJSON():void 0}};function Xt(e,t={}){const n=$e({},t),s=!!n.jit,i=!!n.minify,c=n.optimize==null?!0:n.optimize,_=Mt(n).parse(e);return s?(c&&wt(_),i&&Z(_),{ast:_,code:""}):(Ft(_,n),Yt(_,n))}/*!
|
|
16
|
-
* core-base v10.0.
|
|
16
|
+
* core-base v10.0.1
|
|
17
17
|
* (c) 2024 kazuya kawaguchi
|
|
18
18
|
* Released under the MIT License.
|
|
19
|
-
*/function Gt(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Et().__INTLIFY_PROD_DEVTOOLS__=!1)}function oe(e){return n=>Ht(n,e)}function Ht(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const s=n,i=s.c||s.cases;return e.plural(i.reduce((c,m)=>[...c,ke(e,m)],[]))}else return ke(e,n)}function ke(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const s=(t.i||t.items).reduce((i,c)=>[...i,de(e,c)],[]);return e.normalize(s)}}function de(e,t){const n=t.t||t.type;switch(n){case 3:{const s=t;return s.v||s.value}case 9:{const s=t;return s.v||s.value}case 4:{const s=t;return e.interpolate(e.named(s.k||s.key))}case 5:{const s=t;return e.interpolate(e.list(s.i!=null?s.i:s.index))}case 6:{const s=t,i=s.m||s.modifier;return e.linked(de(e,s.k||s.key),i?de(e,i):void 0,e.type)}case 7:{const s=t;return s.v||s.value}case 8:{const s=t;return s.v||s.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const jt=e=>e;let ae=Object.create(null);const te=e=>w(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function xt(e,t={}){let n=!1;const s=t.onError||Ct;return t.onError=i=>{n=!0,s(i)},{...Xt(e,t),detectError:n}}function Pn(e,t){if(b(e)){$(t.warnHtmlMessage)&&t.warnHtmlMessage;const s=(t.onCacheKey||jt)(e),i=ae[s];if(i)return i;const{ast:c,detectError:m}=xt(e,{...t,location:!1,jit:!0}),_=oe(c);return m?_:ae[s]=_}else{const n=e.cacheKey;if(n){const s=ae[n];return s||(ae[n]=oe(e))}else return oe(e)}}let ne=null;function Dn(e){ne=e}function Bt(e,t,n){ne&&ne.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Jt=Qt("function:translate");function Qt(e){return t=>ne&&ne.emit(e,t)}const B={INVALID_ARGUMENT:Tt,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},Rn=24;function J(e){return Ee(e,null,void 0)}function pe(e,t){return t.locale!=null?Pe(t.locale):Pe(e.locale)}let ue;function Pe(e){if(b(e))return e;if(F(e)){if(e.resolvedOnce&&ue!=null)return ue;if(e.constructor.name==="Function"){const t=e();if(Lt(t))throw J(B.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return ue=t}else throw J(B.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw J(B.NOT_SUPPORT_LOCALE_TYPE)}function qt(e,t,n){return[...new Set([n,...H(t)?t:w(t)?Object.keys(t):b(t)?[t]:[n]])]}function Mn(e,t,n){const s=b(n)?n:me,i=e;i.__localeChainCache||(i.__localeChainCache=new Map);let c=i.__localeChainCache.get(s);if(!c){c=[];let m=[n];for(;H(m);)m=De(c,m,t);const _=H(t)||!P(t)?t:t.default?t.default:null;m=b(_)?[_]:_,H(m)&&De(c,m,!1),i.__localeChainCache.set(s,c)}return c}function De(e,t,n){let s=!0;for(let i=0;i<t.length&&$(s);i++){const c=t[i];b(c)&&(s=Zt(e,t[i],n))}return s}function Zt(e,t,n){let s;const i=t.split("-");do{const c=i.join("-");s=zt(e,c,n),i.splice(-1,1)}while(i.length&&s===!0);return s}function zt(e,t,n){let s=!1;if(!e.includes(t)&&(s=!0,t)){s=t[t.length-1]!=="!";const i=t.replace(/!/g,"");e.push(i),(H(n)||P(n))&&n[i]&&(s=n[i])}return s}const q=[];q[0]={w:[0],i:[3,0],"[":[4],o:[7]};q[1]={w:[1],".":[2],"[":[4],o:[7]};q[2]={w:[2],i:[3,0],0:[3,0]};q[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};q[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};q[5]={"'":[4,0],o:8,l:[5,0]};q[6]={'"':[4,0],o:8,l:[6,0]};const en=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function tn(e){return en.test(e)}function nn(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function rn(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function sn(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:tn(t)?nn(t):"*"+t}function an(e){const t=[];let n=-1,s=0,i=0,c,m,_,f,L,I,C;const N=[];N[0]=()=>{m===void 0?m=_:m+=_},N[1]=()=>{m!==void 0&&(t.push(m),m=void 0)},N[2]=()=>{N[0](),i++},N[3]=()=>{if(i>0)i--,s=4,N[0]();else{if(i=0,m===void 0||(m=sn(m),m===!1))return!1;N[1]()}};function A(){const y=e[n+1];if(s===5&&y==="'"||s===6&&y==='"')return n++,_="\\"+y,N[0](),!0}for(;s!==null;)if(n++,c=e[n],!(c==="\\"&&A())){if(f=rn(c),C=q[s],L=C[f]||C.l||8,L===8||(s=L[0],L[1]!==void 0&&(I=N[L[1]],I&&(_=c,I()===!1))))return;if(s===7)return t}}const Re=new Map;function ln(e,t){return w(e)?e[t]:null}function vn(e,t){if(!w(e))return null;let n=Re.get(t);if(n||(n=an(t),n&&Re.set(t,n)),!n)return null;const s=n.length;let i=e,c=0;for(;c<s;){const m=i[n[c]];if(m===void 0||F(i))return null;i=m,c++}return i}const cn="10.0.0",he=-1,me="en-US",Fn="",Me=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function on(){return{upper:(e,t)=>t==="text"&&b(e)?e.toUpperCase():t==="vnode"&&w(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&b(e)?e.toLowerCase():t==="vnode"&&w(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&b(e)?Me(e):t==="vnode"&&w(e)&&"__v_isVNode"in e?Me(e.children):e}}let Ve;function wn(e){Ve=e}let Ye;function Un(e){Ye=e}let Xe;function Wn(e){Xe=e}let Ge=null;const $n=e=>{Ge=e},un=()=>Ge;let He=null;const Kn=e=>{He=e},Vn=()=>He;let ve=0;function Yn(e={}){const t=F(e.onWarn)?e.onWarn:Nt,n=b(e.version)?e.version:cn,s=b(e.locale)||F(e.locale)?e.locale:me,i=F(s)?me:s,c=H(e.fallbackLocale)||P(e.fallbackLocale)||b(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i,m=P(e.messages)?e.messages:{[i]:{}},_=P(e.datetimeFormats)?e.datetimeFormats:{[i]:{}},f=P(e.numberFormats)?e.numberFormats:{[i]:{}},L=ee({},e.modifiers||{},on()),I=e.pluralRules||{},C=F(e.missing)?e.missing:null,N=$(e.missingWarn)||Ce(e.missingWarn)?e.missingWarn:!0,A=$(e.fallbackWarn)||Ce(e.fallbackWarn)?e.fallbackWarn:!0,y=!!e.fallbackFormat,O=!!e.unresolving,g=F(e.postTranslation)?e.postTranslation:null,l=P(e.processor)?e.processor:null,d=$(e.warnHtmlMessage)?e.warnHtmlMessage:!0,E=!!e.escapeParameter,o=F(e.messageCompiler)?e.messageCompiler:Ve,p=F(e.messageResolver)?e.messageResolver:Ye||ln,h=F(e.localeFallbacker)?e.localeFallbacker:Xe||qt,S=w(e.fallbackContext)?e.fallbackContext:void 0,D=e,R=w(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,V=w(D.__numberFormatters)?D.__numberFormatters:new Map,j=w(D.__meta)?D.__meta:{};ve++;const U={version:n,cid:ve,locale:s,fallbackLocale:c,messages:m,modifiers:L,pluralRules:I,missing:C,missingWarn:N,fallbackWarn:A,fallbackFormat:y,unresolving:O,postTranslation:g,processor:l,warnHtmlMessage:d,escapeParameter:E,messageCompiler:o,messageResolver:p,localeFallbacker:h,fallbackContext:S,onWarn:t,__meta:j};return U.datetimeFormats=_,U.numberFormats=f,U.__datetimeFormatters=R,U.__numberFormatters=V,__INTLIFY_PROD_DEVTOOLS__&&Bt(U,n,j),U}function Ne(e,t,n,s,i){const{missing:c,onWarn:m}=e;if(c!==null){const _=c(e,n,t,i);return b(_)?_:t}else return t}function Xn(e,t,n){const s=e;s.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function fn(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function dn(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let s=n+1;s<t.length;s++)if(fn(e,t[s]))return!0;return!1}function Gn(e,...t){const{datetimeFormats:n,unresolving:s,fallbackLocale:i,onWarn:c,localeFallbacker:m}=e,{__datetimeFormatters:_}=e,[f,L,I,C]=_n(...t),N=$(I.missingWarn)?I.missingWarn:e.missingWarn;$(I.fallbackWarn)?I.fallbackWarn:e.fallbackWarn;const A=!!I.part,y=pe(e,I),O=m(e,i,y);if(!b(f)||f==="")return new Intl.DateTimeFormat(y,C).format(L);let g={},l,d=null;const E="datetime format";for(let h=0;h<O.length&&(l=O[h],g=n[l]||{},d=g[f],!P(d));h++)Ne(e,f,l,N,E);if(!P(d)||!b(l))return s?he:f;let o=`${l}__${f}`;_e(C)||(o=`${o}__${JSON.stringify(C)}`);let p=_.get(o);return p||(p=new Intl.DateTimeFormat(l,ee({},d,C)),_.set(o,p)),A?p.formatToParts(L):p.format(L)}const mn=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function _n(...e){const[t,n,s,i]=e,c={};let m={},_;if(b(t)){const f=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!f)throw J(B.INVALID_ISO_DATE_ARGUMENT);const L=f[3]?f[3].trim().startsWith("T")?`${f[1].trim()}${f[3].trim()}`:`${f[1].trim()}T${f[3].trim()}`:f[1].trim();_=new Date(L);try{_.toISOString()}catch{throw J(B.INVALID_ISO_DATE_ARGUMENT)}}else if(_t(t)){if(isNaN(t.getTime()))throw J(B.INVALID_DATE_ARGUMENT);_=t}else if(K(t))_=t;else throw J(B.INVALID_ARGUMENT);return b(n)?c.key=n:P(n)&&Object.keys(n).forEach(f=>{mn.includes(f)?m[f]=n[f]:c[f]=n[f]}),b(s)?c.locale=s:P(s)&&(m=s),P(i)&&(m=i),[c.key||"",_,c,m]}function Hn(e,t,n){const s=e;for(const i in n){const c=`${t}__${i}`;s.__datetimeFormatters.has(c)&&s.__datetimeFormatters.delete(c)}}function jn(e,...t){const{numberFormats:n,unresolving:s,fallbackLocale:i,onWarn:c,localeFallbacker:m}=e,{__numberFormatters:_}=e,[f,L,I,C]=Ln(...t),N=$(I.missingWarn)?I.missingWarn:e.missingWarn;$(I.fallbackWarn)?I.fallbackWarn:e.fallbackWarn;const A=!!I.part,y=pe(e,I),O=m(e,i,y);if(!b(f)||f==="")return new Intl.NumberFormat(y,C).format(L);let g={},l,d=null;const E="number format";for(let h=0;h<O.length&&(l=O[h],g=n[l]||{},d=g[f],!P(d));h++)Ne(e,f,l,N,E);if(!P(d)||!b(l))return s?he:f;let o=`${l}__${f}`;_e(C)||(o=`${o}__${JSON.stringify(C)}`);let p=_.get(o);return p||(p=new Intl.NumberFormat(l,ee({},d,C)),_.set(o,p)),A?p.formatToParts(L):p.format(L)}const En=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Ln(...e){const[t,n,s,i]=e,c={};let m={};if(!K(t))throw J(B.INVALID_ARGUMENT);const _=t;return b(n)?c.key=n:P(n)&&Object.keys(n).forEach(f=>{En.includes(f)?m[f]=n[f]:c[f]=n[f]}),b(s)?c.locale=s:P(s)&&(m=s),P(i)&&(m=i),[c.key||"",_,c,m]}function xn(e,t,n){const s=e;for(const i in n){const c=`${t}__${i}`;s.__numberFormatters.has(c)&&s.__numberFormatters.delete(c)}}const pn=e=>e,hn=e=>"",Nn="text",gn=e=>e.length===0?"":ht(e),Tn=pt;function Fe(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Cn(e){const t=K(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(K(e.named.count)||K(e.named.n))?K(e.named.count)?e.named.count:K(e.named.n)?e.named.n:t:t}function In(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Sn(e={}){const t=e.locale,n=Cn(e),s=w(e.pluralRules)&&b(t)&&F(e.pluralRules[t])?e.pluralRules[t]:Fe,i=w(e.pluralRules)&&b(t)&&F(e.pluralRules[t])?Fe:void 0,c=l=>l[s(n,l.length,i)],m=e.list||[],_=l=>m[l],f=e.named||{};K(e.pluralIndex)&&In(n,f);const L=l=>f[l];function I(l,d){const E=F(e.messages)?e.messages(l,!!d):w(e.messages)?e.messages[l]:!1;return E||(e.parent?e.parent.message(l):hn)}const C=l=>e.modifiers?e.modifiers[l]:pn,N=P(e.processor)&&F(e.processor.normalize)?e.processor.normalize:gn,A=P(e.processor)&&F(e.processor.interpolate)?e.processor.interpolate:Tn,y=P(e.processor)&&b(e.processor.type)?e.processor.type:Nn,g={list:_,named:L,plural:c,linked:(l,...d)=>{const[E,o]=d;let p="text",h="";d.length===1?w(E)?(h=E.modifier||h,p=E.type||p):b(E)&&(h=E||h):d.length===2&&(b(E)&&(h=E||h),b(o)&&(p=o||p));const S=I(l,!0)(g),D=p==="vnode"&&H(S)&&h?S[0]:S;return h?C(h)(D,p):D},message:I,type:y,interpolate:A,normalize:N,values:ee({},m,f)};return g}const we=()=>"",X=e=>F(e);function Bn(e,...t){const{fallbackFormat:n,postTranslation:s,unresolving:i,messageCompiler:c,fallbackLocale:m,messages:_}=e,[f,L]=On(...t),I=$(L.missingWarn)?L.missingWarn:e.missingWarn,C=$(L.fallbackWarn)?L.fallbackWarn:e.fallbackWarn,N=$(L.escapeParameter)?L.escapeParameter:e.escapeParameter,A=!!L.resolvedMessage,y=b(L.default)||$(L.default)?$(L.default)?c?f:()=>f:L.default:n?c?f:()=>f:null,O=n||y!=null&&(b(y)||F(y)),g=pe(e,L);N&&bn(L);let[l,d,E]=A?[f,g,_[g]||{}]:je(e,f,g,m,C,I),o=l,p=f;if(!A&&!(b(o)||te(o)||X(o))&&O&&(o=y,p=o),!A&&(!(b(o)||te(o)||X(o))||!b(d)))return i?he:f;let h=!1;const S=()=>{h=!0},D=X(o)?o:xe(e,f,d,o,p,S);if(h)return o;const R=kn(e,d,E,L),V=Sn(R),j=An(e,D,V),U=s?s(j,f):j;if(__INTLIFY_PROD_DEVTOOLS__){const re={timestamp:Date.now(),key:b(f)?f:X(o)?o.key:"",locale:d||(X(o)?o.locale:""),format:b(o)?o:X(o)?o.source:"",message:U};re.meta=ee({},e.__meta,un()||{}),Jt(re)}return U}function bn(e){H(e.list)?e.list=e.list.map(t=>b(t)?Se(t):t):w(e.named)&&Object.keys(e.named).forEach(t=>{b(e.named[t])&&(e.named[t]=Se(e.named[t]))})}function je(e,t,n,s,i,c){const{messages:m,onWarn:_,messageResolver:f,localeFallbacker:L}=e,I=L(e,s,n);let C={},N,A=null;const y="translate";for(let O=0;O<I.length&&(N=I[O],C=m[N]||{},(A=f(C,t))===null&&(A=C[t]),!(b(A)||te(A)||X(A)));O++)if(!dn(N,I)){const g=Ne(e,t,N,c,y);g!==t&&(A=g)}return[A,N,C]}function xe(e,t,n,s,i,c){const{messageCompiler:m,warnHtmlMessage:_}=e;if(X(s)){const L=s;return L.locale=L.locale||n,L.key=L.key||t,L}if(m==null){const L=()=>s;return L.locale=n,L.key=t,L}const f=m(s,yn(e,n,i,s,_,c));return f.locale=n,f.key=t,f.source=s,f}function An(e,t,n){return t(n)}function On(...e){const[t,n,s]=e,i={};if(!b(t)&&!K(t)&&!X(t)&&!te(t))throw J(B.INVALID_ARGUMENT);const c=K(t)?String(t):(X(t),t);return K(n)?i.plural=n:b(n)?i.default=n:P(n)&&!_e(n)?i.named=n:H(n)&&(i.list=n),K(s)?i.plural=s:b(s)?i.default=s:P(s)&&ee(i,s),[c,i]}function yn(e,t,n,s,i,c){return{locale:t,key:n,warnHtmlMessage:i,onError:m=>{throw c&&c(m),m},onCacheKey:m=>dt(t,n,m)}}function kn(e,t,n,s){const{modifiers:i,pluralRules:c,messageResolver:m,fallbackLocale:_,fallbackWarn:f,missingWarn:L,fallbackContext:I}=e,N={locale:t,modifiers:i,pluralRules:c,messages:(A,y)=>{let O=m(n,A);if(O==null&&(I||y)){const[,,g]=je(I||e,A,t,_,f,L);O=m(g,A)}if(b(O)||te(O)){let g=!1;const d=xe(e,A,t,O,A,()=>{g=!0});return g?we:d}else return X(O)?O:we}};return e.processor&&(N.processor=e.processor),s.list&&(N.list=s.list),s.named&&(N.named=s.named),K(s.plural)&&(N.pluralIndex=s.plural),N}Gt();export{Rn as C,me as D,Fn as M,En as N,mn as a,Yn as b,Ee as c,Hn as d,xn as e,$n as f,Vn as g,he as h,_n as i,Gn as j,Ln as k,te as l,X as m,jn as n,Mn as o,On as p,Un as q,wn as r,Dn as s,Bn as t,Xn as u,Wn as v,Kn as w,Pn as x,vn as y};
|
|
19
|
+
*/function Gt(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Et().__INTLIFY_PROD_DEVTOOLS__=!1)}function oe(e){return n=>Ht(n,e)}function Ht(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const s=n,i=s.c||s.cases;return e.plural(i.reduce((c,m)=>[...c,ke(e,m)],[]))}else return ke(e,n)}function ke(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const s=(t.i||t.items).reduce((i,c)=>[...i,de(e,c)],[]);return e.normalize(s)}}function de(e,t){const n=t.t||t.type;switch(n){case 3:{const s=t;return s.v||s.value}case 9:{const s=t;return s.v||s.value}case 4:{const s=t;return e.interpolate(e.named(s.k||s.key))}case 5:{const s=t;return e.interpolate(e.list(s.i!=null?s.i:s.index))}case 6:{const s=t,i=s.m||s.modifier;return e.linked(de(e,s.k||s.key),i?de(e,i):void 0,e.type)}case 7:{const s=t;return s.v||s.value}case 8:{const s=t;return s.v||s.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const jt=e=>e;let ae=Object.create(null);const te=e=>w(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function xt(e,t={}){let n=!1;const s=t.onError||Ct;return t.onError=i=>{n=!0,s(i)},{...Xt(e,t),detectError:n}}function Pn(e,t){if(b(e)){$(t.warnHtmlMessage)&&t.warnHtmlMessage;const s=(t.onCacheKey||jt)(e),i=ae[s];if(i)return i;const{ast:c,detectError:m}=xt(e,{...t,location:!1,jit:!0}),_=oe(c);return m?_:ae[s]=_}else{const n=e.cacheKey;if(n){const s=ae[n];return s||(ae[n]=oe(e))}else return oe(e)}}let ne=null;function Dn(e){ne=e}function Bt(e,t,n){ne&&ne.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Jt=Qt("function:translate");function Qt(e){return t=>ne&&ne.emit(e,t)}const B={INVALID_ARGUMENT:Tt,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},Rn=24;function J(e){return Ee(e,null,void 0)}function pe(e,t){return t.locale!=null?Pe(t.locale):Pe(e.locale)}let ue;function Pe(e){if(b(e))return e;if(F(e)){if(e.resolvedOnce&&ue!=null)return ue;if(e.constructor.name==="Function"){const t=e();if(Lt(t))throw J(B.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return ue=t}else throw J(B.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw J(B.NOT_SUPPORT_LOCALE_TYPE)}function qt(e,t,n){return[...new Set([n,...H(t)?t:w(t)?Object.keys(t):b(t)?[t]:[n]])]}function Mn(e,t,n){const s=b(n)?n:me,i=e;i.__localeChainCache||(i.__localeChainCache=new Map);let c=i.__localeChainCache.get(s);if(!c){c=[];let m=[n];for(;H(m);)m=De(c,m,t);const _=H(t)||!P(t)?t:t.default?t.default:null;m=b(_)?[_]:_,H(m)&&De(c,m,!1),i.__localeChainCache.set(s,c)}return c}function De(e,t,n){let s=!0;for(let i=0;i<t.length&&$(s);i++){const c=t[i];b(c)&&(s=Zt(e,t[i],n))}return s}function Zt(e,t,n){let s;const i=t.split("-");do{const c=i.join("-");s=zt(e,c,n),i.splice(-1,1)}while(i.length&&s===!0);return s}function zt(e,t,n){let s=!1;if(!e.includes(t)&&(s=!0,t)){s=t[t.length-1]!=="!";const i=t.replace(/!/g,"");e.push(i),(H(n)||P(n))&&n[i]&&(s=n[i])}return s}const q=[];q[0]={w:[0],i:[3,0],"[":[4],o:[7]};q[1]={w:[1],".":[2],"[":[4],o:[7]};q[2]={w:[2],i:[3,0],0:[3,0]};q[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};q[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};q[5]={"'":[4,0],o:8,l:[5,0]};q[6]={'"':[4,0],o:8,l:[6,0]};const en=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function tn(e){return en.test(e)}function nn(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function rn(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function sn(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:tn(t)?nn(t):"*"+t}function an(e){const t=[];let n=-1,s=0,i=0,c,m,_,f,L,I,C;const N=[];N[0]=()=>{m===void 0?m=_:m+=_},N[1]=()=>{m!==void 0&&(t.push(m),m=void 0)},N[2]=()=>{N[0](),i++},N[3]=()=>{if(i>0)i--,s=4,N[0]();else{if(i=0,m===void 0||(m=sn(m),m===!1))return!1;N[1]()}};function A(){const y=e[n+1];if(s===5&&y==="'"||s===6&&y==='"')return n++,_="\\"+y,N[0](),!0}for(;s!==null;)if(n++,c=e[n],!(c==="\\"&&A())){if(f=rn(c),C=q[s],L=C[f]||C.l||8,L===8||(s=L[0],L[1]!==void 0&&(I=N[L[1]],I&&(_=c,I()===!1))))return;if(s===7)return t}}const Re=new Map;function ln(e,t){return w(e)?e[t]:null}function vn(e,t){if(!w(e))return null;let n=Re.get(t);if(n||(n=an(t),n&&Re.set(t,n)),!n)return null;const s=n.length;let i=e,c=0;for(;c<s;){const m=i[n[c]];if(m===void 0||F(i))return null;i=m,c++}return i}const cn="10.0.1",he=-1,me="en-US",Fn="",Me=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function on(){return{upper:(e,t)=>t==="text"&&b(e)?e.toUpperCase():t==="vnode"&&w(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&b(e)?e.toLowerCase():t==="vnode"&&w(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&b(e)?Me(e):t==="vnode"&&w(e)&&"__v_isVNode"in e?Me(e.children):e}}let Ve;function wn(e){Ve=e}let Ye;function Un(e){Ye=e}let Xe;function Wn(e){Xe=e}let Ge=null;const $n=e=>{Ge=e},un=()=>Ge;let He=null;const Kn=e=>{He=e},Vn=()=>He;let ve=0;function Yn(e={}){const t=F(e.onWarn)?e.onWarn:Nt,n=b(e.version)?e.version:cn,s=b(e.locale)||F(e.locale)?e.locale:me,i=F(s)?me:s,c=H(e.fallbackLocale)||P(e.fallbackLocale)||b(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i,m=P(e.messages)?e.messages:{[i]:{}},_=P(e.datetimeFormats)?e.datetimeFormats:{[i]:{}},f=P(e.numberFormats)?e.numberFormats:{[i]:{}},L=ee({},e.modifiers||{},on()),I=e.pluralRules||{},C=F(e.missing)?e.missing:null,N=$(e.missingWarn)||Ce(e.missingWarn)?e.missingWarn:!0,A=$(e.fallbackWarn)||Ce(e.fallbackWarn)?e.fallbackWarn:!0,y=!!e.fallbackFormat,O=!!e.unresolving,g=F(e.postTranslation)?e.postTranslation:null,l=P(e.processor)?e.processor:null,d=$(e.warnHtmlMessage)?e.warnHtmlMessage:!0,E=!!e.escapeParameter,o=F(e.messageCompiler)?e.messageCompiler:Ve,p=F(e.messageResolver)?e.messageResolver:Ye||ln,h=F(e.localeFallbacker)?e.localeFallbacker:Xe||qt,S=w(e.fallbackContext)?e.fallbackContext:void 0,D=e,R=w(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,V=w(D.__numberFormatters)?D.__numberFormatters:new Map,j=w(D.__meta)?D.__meta:{};ve++;const U={version:n,cid:ve,locale:s,fallbackLocale:c,messages:m,modifiers:L,pluralRules:I,missing:C,missingWarn:N,fallbackWarn:A,fallbackFormat:y,unresolving:O,postTranslation:g,processor:l,warnHtmlMessage:d,escapeParameter:E,messageCompiler:o,messageResolver:p,localeFallbacker:h,fallbackContext:S,onWarn:t,__meta:j};return U.datetimeFormats=_,U.numberFormats=f,U.__datetimeFormatters=R,U.__numberFormatters=V,__INTLIFY_PROD_DEVTOOLS__&&Bt(U,n,j),U}function Ne(e,t,n,s,i){const{missing:c,onWarn:m}=e;if(c!==null){const _=c(e,n,t,i);return b(_)?_:t}else return t}function Xn(e,t,n){const s=e;s.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function fn(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function dn(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let s=n+1;s<t.length;s++)if(fn(e,t[s]))return!0;return!1}function Gn(e,...t){const{datetimeFormats:n,unresolving:s,fallbackLocale:i,onWarn:c,localeFallbacker:m}=e,{__datetimeFormatters:_}=e,[f,L,I,C]=_n(...t),N=$(I.missingWarn)?I.missingWarn:e.missingWarn;$(I.fallbackWarn)?I.fallbackWarn:e.fallbackWarn;const A=!!I.part,y=pe(e,I),O=m(e,i,y);if(!b(f)||f==="")return new Intl.DateTimeFormat(y,C).format(L);let g={},l,d=null;const E="datetime format";for(let h=0;h<O.length&&(l=O[h],g=n[l]||{},d=g[f],!P(d));h++)Ne(e,f,l,N,E);if(!P(d)||!b(l))return s?he:f;let o=`${l}__${f}`;_e(C)||(o=`${o}__${JSON.stringify(C)}`);let p=_.get(o);return p||(p=new Intl.DateTimeFormat(l,ee({},d,C)),_.set(o,p)),A?p.formatToParts(L):p.format(L)}const mn=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function _n(...e){const[t,n,s,i]=e,c={};let m={},_;if(b(t)){const f=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!f)throw J(B.INVALID_ISO_DATE_ARGUMENT);const L=f[3]?f[3].trim().startsWith("T")?`${f[1].trim()}${f[3].trim()}`:`${f[1].trim()}T${f[3].trim()}`:f[1].trim();_=new Date(L);try{_.toISOString()}catch{throw J(B.INVALID_ISO_DATE_ARGUMENT)}}else if(_t(t)){if(isNaN(t.getTime()))throw J(B.INVALID_DATE_ARGUMENT);_=t}else if(K(t))_=t;else throw J(B.INVALID_ARGUMENT);return b(n)?c.key=n:P(n)&&Object.keys(n).forEach(f=>{mn.includes(f)?m[f]=n[f]:c[f]=n[f]}),b(s)?c.locale=s:P(s)&&(m=s),P(i)&&(m=i),[c.key||"",_,c,m]}function Hn(e,t,n){const s=e;for(const i in n){const c=`${t}__${i}`;s.__datetimeFormatters.has(c)&&s.__datetimeFormatters.delete(c)}}function jn(e,...t){const{numberFormats:n,unresolving:s,fallbackLocale:i,onWarn:c,localeFallbacker:m}=e,{__numberFormatters:_}=e,[f,L,I,C]=Ln(...t),N=$(I.missingWarn)?I.missingWarn:e.missingWarn;$(I.fallbackWarn)?I.fallbackWarn:e.fallbackWarn;const A=!!I.part,y=pe(e,I),O=m(e,i,y);if(!b(f)||f==="")return new Intl.NumberFormat(y,C).format(L);let g={},l,d=null;const E="number format";for(let h=0;h<O.length&&(l=O[h],g=n[l]||{},d=g[f],!P(d));h++)Ne(e,f,l,N,E);if(!P(d)||!b(l))return s?he:f;let o=`${l}__${f}`;_e(C)||(o=`${o}__${JSON.stringify(C)}`);let p=_.get(o);return p||(p=new Intl.NumberFormat(l,ee({},d,C)),_.set(o,p)),A?p.formatToParts(L):p.format(L)}const En=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Ln(...e){const[t,n,s,i]=e,c={};let m={};if(!K(t))throw J(B.INVALID_ARGUMENT);const _=t;return b(n)?c.key=n:P(n)&&Object.keys(n).forEach(f=>{En.includes(f)?m[f]=n[f]:c[f]=n[f]}),b(s)?c.locale=s:P(s)&&(m=s),P(i)&&(m=i),[c.key||"",_,c,m]}function xn(e,t,n){const s=e;for(const i in n){const c=`${t}__${i}`;s.__numberFormatters.has(c)&&s.__numberFormatters.delete(c)}}const pn=e=>e,hn=e=>"",Nn="text",gn=e=>e.length===0?"":ht(e),Tn=pt;function Fe(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Cn(e){const t=K(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(K(e.named.count)||K(e.named.n))?K(e.named.count)?e.named.count:K(e.named.n)?e.named.n:t:t}function In(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Sn(e={}){const t=e.locale,n=Cn(e),s=w(e.pluralRules)&&b(t)&&F(e.pluralRules[t])?e.pluralRules[t]:Fe,i=w(e.pluralRules)&&b(t)&&F(e.pluralRules[t])?Fe:void 0,c=l=>l[s(n,l.length,i)],m=e.list||[],_=l=>m[l],f=e.named||{};K(e.pluralIndex)&&In(n,f);const L=l=>f[l];function I(l,d){const E=F(e.messages)?e.messages(l,!!d):w(e.messages)?e.messages[l]:!1;return E||(e.parent?e.parent.message(l):hn)}const C=l=>e.modifiers?e.modifiers[l]:pn,N=P(e.processor)&&F(e.processor.normalize)?e.processor.normalize:gn,A=P(e.processor)&&F(e.processor.interpolate)?e.processor.interpolate:Tn,y=P(e.processor)&&b(e.processor.type)?e.processor.type:Nn,g={list:_,named:L,plural:c,linked:(l,...d)=>{const[E,o]=d;let p="text",h="";d.length===1?w(E)?(h=E.modifier||h,p=E.type||p):b(E)&&(h=E||h):d.length===2&&(b(E)&&(h=E||h),b(o)&&(p=o||p));const S=I(l,!0)(g),D=p==="vnode"&&H(S)&&h?S[0]:S;return h?C(h)(D,p):D},message:I,type:y,interpolate:A,normalize:N,values:ee({},m,f)};return g}const we=()=>"",X=e=>F(e);function Bn(e,...t){const{fallbackFormat:n,postTranslation:s,unresolving:i,messageCompiler:c,fallbackLocale:m,messages:_}=e,[f,L]=On(...t),I=$(L.missingWarn)?L.missingWarn:e.missingWarn,C=$(L.fallbackWarn)?L.fallbackWarn:e.fallbackWarn,N=$(L.escapeParameter)?L.escapeParameter:e.escapeParameter,A=!!L.resolvedMessage,y=b(L.default)||$(L.default)?$(L.default)?c?f:()=>f:L.default:n?c?f:()=>f:null,O=n||y!=null&&(b(y)||F(y)),g=pe(e,L);N&&bn(L);let[l,d,E]=A?[f,g,_[g]||{}]:je(e,f,g,m,C,I),o=l,p=f;if(!A&&!(b(o)||te(o)||X(o))&&O&&(o=y,p=o),!A&&(!(b(o)||te(o)||X(o))||!b(d)))return i?he:f;let h=!1;const S=()=>{h=!0},D=X(o)?o:xe(e,f,d,o,p,S);if(h)return o;const R=kn(e,d,E,L),V=Sn(R),j=An(e,D,V),U=s?s(j,f):j;if(__INTLIFY_PROD_DEVTOOLS__){const re={timestamp:Date.now(),key:b(f)?f:X(o)?o.key:"",locale:d||(X(o)?o.locale:""),format:b(o)?o:X(o)?o.source:"",message:U};re.meta=ee({},e.__meta,un()||{}),Jt(re)}return U}function bn(e){H(e.list)?e.list=e.list.map(t=>b(t)?Se(t):t):w(e.named)&&Object.keys(e.named).forEach(t=>{b(e.named[t])&&(e.named[t]=Se(e.named[t]))})}function je(e,t,n,s,i,c){const{messages:m,onWarn:_,messageResolver:f,localeFallbacker:L}=e,I=L(e,s,n);let C={},N,A=null;const y="translate";for(let O=0;O<I.length&&(N=I[O],C=m[N]||{},(A=f(C,t))===null&&(A=C[t]),!(b(A)||te(A)||X(A)));O++)if(!dn(N,I)){const g=Ne(e,t,N,c,y);g!==t&&(A=g)}return[A,N,C]}function xe(e,t,n,s,i,c){const{messageCompiler:m,warnHtmlMessage:_}=e;if(X(s)){const L=s;return L.locale=L.locale||n,L.key=L.key||t,L}if(m==null){const L=()=>s;return L.locale=n,L.key=t,L}const f=m(s,yn(e,n,i,s,_,c));return f.locale=n,f.key=t,f.source=s,f}function An(e,t,n){return t(n)}function On(...e){const[t,n,s]=e,i={};if(!b(t)&&!K(t)&&!X(t)&&!te(t))throw J(B.INVALID_ARGUMENT);const c=K(t)?String(t):(X(t),t);return K(n)?i.plural=n:b(n)?i.default=n:P(n)&&!_e(n)?i.named=n:H(n)&&(i.list=n),K(s)?i.plural=s:b(s)?i.default=s:P(s)&&ee(i,s),[c,i]}function yn(e,t,n,s,i,c){return{locale:t,key:n,warnHtmlMessage:i,onError:m=>{throw c&&c(m),m},onCacheKey:m=>dt(t,n,m)}}function kn(e,t,n,s){const{modifiers:i,pluralRules:c,messageResolver:m,fallbackLocale:_,fallbackWarn:f,missingWarn:L,fallbackContext:I}=e,N={locale:t,modifiers:i,pluralRules:c,messages:(A,y)=>{let O=m(n,A);if(O==null&&(I||y)){const[,,g]=je(I||e,A,t,_,f,L);O=m(g,A)}if(b(O)||te(O)){let g=!1;const d=xe(e,A,t,O,A,()=>{g=!0});return g?we:d}else return X(O)?O:we}};return e.processor&&(N.processor=e.processor),s.list&&(N.list=s.list),s.named&&(N.named=s.named),K(s.plural)&&(N.pluralIndex=s.plural),N}Gt();export{Rn as C,me as D,Fn as M,En as N,mn as a,Yn as b,Ee as c,Hn as d,xn as e,$n as f,Vn as g,he as h,_n as i,Gn as j,Ln as k,te as l,X as m,jn as n,Mn as o,On as p,Un as q,wn as r,Dn as s,Bn as t,Xn as u,Wn as v,Kn as w,Pn as x,vn as y};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var he=s=>{throw TypeError(s)};var Gt=(s,t,e)=>t.has(s)||he("Cannot "+e);var r=(s,t,e)=>(Gt(s,t,"read from private field"),e?e.call(s):t.get(s)),l=(s,t,e)=>t.has(s)?he("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(s):t.set(s,e),h=(s,t,e,i)=>(Gt(s,t,"write to private field"),i?i.call(s,e):t.set(s,e),e),p=(s,t,e)=>(Gt(s,t,"access private method"),e);var Kt=(s,t,e,i)=>({set _(n){h(s,t,n,e)},get _(){return r(s,t,i)}});import{i as De,u as ze,h as Ye,a as Je,r as Xe,n as Ze,c as Ee,s as Me,w as mt,o as Ae,t as Ue}from"./@vue.BH6Bo0Pn.0.0.31-alpha.4.js";var At=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(s){return this.listeners.add(s),this.onSubscribe(),()=>{this.listeners.delete(s),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},yt=typeof window>"u"||"Deno"in globalThis;function L(){}function ts(s,t){return typeof s=="function"?s(t):s}function $t(s){return typeof s=="number"&&s>=0&&s!==1/0}function qe(s,t){return Math.max(s+(t||0)-Date.now(),0)}function vt(s,t){return typeof s=="function"?s(t):s}function N(s,t){return typeof s=="function"?s(t):s}function ce(s,t){const{type:e="all",exact:i,fetchStatus:n,predicate:a,queryKey:o,stale:u}=s;if(o){if(i){if(t.queryHash!==ae(o,t.options))return!1}else if(!qt(t.queryKey,o))return!1}if(e!=="all"){const y=t.isActive();if(e==="active"&&!y||e==="inactive"&&y)return!1}return!(typeof u=="boolean"&&t.isStale()!==u||n&&n!==t.state.fetchStatus||a&&!a(t))}function le(s,t){const{exact:e,status:i,predicate:n,mutationKey:a}=s;if(a){if(!t.options.mutationKey)return!1;if(e){if(pt(t.options.mutationKey)!==pt(a))return!1}else if(!qt(t.options.mutationKey,a))return!1}return!(i&&t.state.status!==i||n&&!n(t))}function ae(s,t){return((t==null?void 0:t.queryKeyHashFn)||pt)(s)}function pt(s){return JSON.stringify(s,(t,e)=>Bt(e)?Object.keys(e).sort().reduce((i,n)=>(i[n]=e[n],i),{}):e)}function qt(s,t){return s===t?!0:typeof s!=typeof t?!1:s&&t&&typeof s=="object"&&typeof t=="object"?!Object.keys(t).some(e=>!qt(s[e],t[e])):!1}function Ie(s,t){if(s===t)return s;const e=fe(s)&&fe(t);if(e||Bt(s)&&Bt(t)){const i=e?s:Object.keys(s),n=i.length,a=e?t:Object.keys(t),o=a.length,u=e?[]:{};let y=0;for(let S=0;S<o;S++){const f=e?S:a[S];(!e&&i.includes(f)||e)&&s[f]===void 0&&t[f]===void 0?(u[f]=void 0,y++):(u[f]=Ie(s[f],t[f]),u[f]===s[f]&&s[f]!==void 0&&y++)}return n===o&&y===n?s:u}return t}function Ht(s,t){if(!t||Object.keys(s).length!==Object.keys(t).length)return!1;for(const e in s)if(s[e]!==t[e])return!1;return!0}function fe(s){return Array.isArray(s)&&s.length===Object.keys(s).length}function Bt(s){if(!de(s))return!1;const t=s.constructor;if(t===void 0)return!0;const e=t.prototype;return!(!de(e)||!e.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(s)!==Object.prototype)}function de(s){return Object.prototype.toString.call(s)==="[object Object]"}function es(s){return new Promise(t=>{setTimeout(t,s)})}function Vt(s,t,e){return typeof e.structuralSharing=="function"?e.structuralSharing(s,t):e.structuralSharing!==!1?Ie(s,t):t}function ss(s,t,e=0){const i=[...s,t];return e&&i.length>e?i.slice(1):i}function is(s,t,e=0){const i=[t,...s];return e&&i.length>e?i.slice(0,-1):i}var Te=Symbol();function je(s,t){return!s.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!s.queryFn||s.queryFn===Te?()=>Promise.reject(new Error(`Missing queryFn: '${s.queryHash}'`)):s.queryFn}var ut,Z,bt,be,rs=(be=class extends At{constructor(){super();l(this,ut);l(this,Z);l(this,bt);h(this,bt,t=>{if(!yt&&window.addEventListener){const e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}})}onSubscribe(){r(this,Z)||this.setEventListener(r(this,bt))}onUnsubscribe(){var t;this.hasListeners()||((t=r(this,Z))==null||t.call(this),h(this,Z,void 0))}setEventListener(t){var e;h(this,bt,t),(e=r(this,Z))==null||e.call(this),h(this,Z,t(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()}))}setFocused(t){r(this,ut)!==t&&(h(this,ut,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(e=>{e(t)})}isFocused(){var t;return typeof r(this,ut)=="boolean"?r(this,ut):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},ut=new WeakMap,Z=new WeakMap,bt=new WeakMap,be),ue=new rs,gt,tt,Ot,ge,ns=(ge=class extends At{constructor(){super();l(this,gt,!0);l(this,tt);l(this,Ot);h(this,Ot,t=>{if(!yt&&window.addEventListener){const e=()=>t(!0),i=()=>t(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",i)}}})}onSubscribe(){r(this,tt)||this.setEventListener(r(this,Ot))}onUnsubscribe(){var t;this.hasListeners()||((t=r(this,tt))==null||t.call(this),h(this,tt,void 0))}setEventListener(t){var e;h(this,Ot,t),(e=r(this,tt))==null||e.call(this),h(this,tt,t(this.setOnline.bind(this)))}setOnline(t){r(this,gt)!==t&&(h(this,gt,t),this.listeners.forEach(i=>{i(t)}))}isOnline(){return r(this,gt)}},gt=new WeakMap,tt=new WeakMap,Ot=new WeakMap,ge),Nt=new ns;function as(s){return Math.min(1e3*2**s,3e4)}function xe(s){return(s??"online")==="online"?Nt.isOnline():!0}var Ke=class extends Error{constructor(s){super("CancelledError"),this.revert=s==null?void 0:s.revert,this.silent=s==null?void 0:s.silent}};function _t(s){return s instanceof Ke}function Le(s){let t=!1,e=0,i=!1,n,a,o;const u=new Promise((O,w)=>{a=O,o=w}),y=O=>{var w;i||(P(new Ke(O)),(w=s.abort)==null||w.call(s))},S=()=>{t=!0},f=()=>{t=!1},c=()=>ue.isFocused()&&(s.networkMode==="always"||Nt.isOnline())&&s.canRun(),g=()=>xe(s.networkMode)&&s.canRun(),d=O=>{var w;i||(i=!0,(w=s.onSuccess)==null||w.call(s,O),n==null||n(),a(O))},P=O=>{var w;i||(i=!0,(w=s.onError)==null||w.call(s,O),n==null||n(),o(O))},R=()=>new Promise(O=>{var w;n=Q=>{(i||c())&&O(Q)},(w=s.onPause)==null||w.call(s)}).then(()=>{var O;n=void 0,i||(O=s.onContinue)==null||O.call(s)}),F=()=>{if(i)return;let O;const w=e===0?s.initialPromise:void 0;try{O=w??s.fn()}catch(Q){O=Promise.reject(Q)}Promise.resolve(O).then(d).catch(Q=>{var b;if(i)return;const E=s.retry??(yt?0:3),U=s.retryDelay??as,G=typeof U=="function"?U(e,Q):U,W=E===!0||typeof E=="number"&&e<E||typeof E=="function"&&E(e,Q);if(t||!W){P(Q);return}e++,(b=s.onFail)==null||b.call(s,e,Q),es(G).then(()=>c()?void 0:R()).then(()=>{t?P(Q):F()})})};return{promise:u,cancel:y,continue:()=>(n==null||n(),u),cancelRetry:S,continueRetry:f,canStart:g,start:()=>(g()?F():R().then(F),u)}}function us(){let s=[],t=0,e=u=>{u()},i=u=>{u()},n=u=>setTimeout(u,0);const a=u=>{t?s.push(u):n(()=>{e(u)})},o=()=>{const u=s;s=[],u.length&&n(()=>{i(()=>{u.forEach(y=>{e(y)})})})};return{batch:u=>{let y;t++;try{y=u()}finally{t--,t||o()}return y},batchCalls:u=>(...y)=>{a(()=>{u(...y)})},schedule:a,setNotifyFunction:u=>{e=u},setBatchNotifyFunction:u=>{i=u},setScheduler:u=>{n=u}}}var M=us(),ot,Oe,ke=(Oe=class{constructor(){l(this,ot)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),$t(this.gcTime)&&h(this,ot,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(s){this.gcTime=Math.max(this.gcTime||0,s??(yt?1/0:5*60*1e3))}clearGcTimeout(){r(this,ot)&&(clearTimeout(r(this,ot)),h(this,ot,void 0))}},ot=new WeakMap,Oe),Ct,wt,K,A,It,ht,H,z,Ce,os=(Ce=class extends ke{constructor(t){super();l(this,H);l(this,Ct);l(this,wt);l(this,K);l(this,A);l(this,It);l(this,ht);h(this,ht,!1),h(this,It,t.defaultOptions),this.setOptions(t.options),this.observers=[],h(this,K,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,h(this,Ct,hs(this.options)),this.state=t.state??r(this,Ct),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=r(this,A))==null?void 0:t.promise}setOptions(t){this.options={...r(this,It),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&r(this,K).remove(this)}setData(t,e){const i=Vt(this.state.data,t,this.options);return p(this,H,z).call(this,{data:i,type:"success",dataUpdatedAt:e==null?void 0:e.updatedAt,manual:e==null?void 0:e.manual}),i}setState(t,e){p(this,H,z).call(this,{type:"setState",state:t,setStateOptions:e})}cancel(t){var i,n;const e=(i=r(this,A))==null?void 0:i.promise;return(n=r(this,A))==null||n.cancel(t),e?e.then(L).catch(L):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(r(this,Ct))}isActive(){return this.observers.some(t=>N(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!qe(this.state.dataUpdatedAt,t)}onFocus(){var e;const t=this.observers.find(i=>i.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(e=r(this,A))==null||e.continue()}onOnline(){var e;const t=this.observers.find(i=>i.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(e=r(this,A))==null||e.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),r(this,K).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(e=>e!==t),this.observers.length||(r(this,A)&&(r(this,ht)?r(this,A).cancel({revert:!0}):r(this,A).cancelRetry()),this.scheduleGc()),r(this,K).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||p(this,H,z).call(this,{type:"invalidate"})}fetch(t,e){var y,S,f;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(e!=null&&e.cancelRefetch))this.cancel({silent:!0});else if(r(this,A))return r(this,A).continueRetry(),r(this,A).promise}if(t&&this.setOptions(t),!this.options.queryFn){const c=this.observers.find(g=>g.options.queryFn);c&&this.setOptions(c.options)}const i=new AbortController,n=c=>{Object.defineProperty(c,"signal",{enumerable:!0,get:()=>(h(this,ht,!0),i.signal)})},a=()=>{const c=je(this.options,e),g={queryKey:this.queryKey,meta:this.meta};return n(g),h(this,ht,!1),this.options.persister?this.options.persister(c,g,this):c(g)},o={fetchOptions:e,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:a};n(o),(y=this.options.behavior)==null||y.onFetch(o,this),h(this,wt,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((S=o.fetchOptions)==null?void 0:S.meta))&&p(this,H,z).call(this,{type:"fetch",meta:(f=o.fetchOptions)==null?void 0:f.meta});const u=c=>{var g,d,P,R;_t(c)&&c.silent||p(this,H,z).call(this,{type:"error",error:c}),_t(c)||((d=(g=r(this,K).config).onError)==null||d.call(g,c,this),(R=(P=r(this,K).config).onSettled)==null||R.call(P,this.state.data,c,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return h(this,A,Le({initialPromise:e==null?void 0:e.initialPromise,fn:o.fetchFn,abort:i.abort.bind(i),onSuccess:c=>{var g,d,P,R;if(c===void 0){u(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(c)}catch(F){u(F);return}(d=(g=r(this,K).config).onSuccess)==null||d.call(g,c,this),(R=(P=r(this,K).config).onSettled)==null||R.call(P,c,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:u,onFail:(c,g)=>{p(this,H,z).call(this,{type:"failed",failureCount:c,error:g})},onPause:()=>{p(this,H,z).call(this,{type:"pause"})},onContinue:()=>{p(this,H,z).call(this,{type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0})),r(this,A).start()}},Ct=new WeakMap,wt=new WeakMap,K=new WeakMap,A=new WeakMap,It=new WeakMap,ht=new WeakMap,H=new WeakSet,z=function(t){const e=i=>{switch(t.type){case"failed":return{...i,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...i,fetchStatus:"paused"};case"continue":return{...i,fetchStatus:"fetching"};case"fetch":return{...i,...He(i.data,this.options),fetchMeta:t.meta??null};case"success":return{...i,data:t.data,dataUpdateCount:i.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const n=t.error;return _t(n)&&n.revert&&r(this,wt)?{...r(this,wt),fetchStatus:"idle"}:{...i,error:n,errorUpdateCount:i.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:i.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:"idle",status:"error"};case"invalidate":return{...i,isInvalidated:!0};case"setState":return{...i,...t.state}}};this.state=e(this.state),M.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),r(this,K).notify({query:this,type:"updated",action:t})})},Ce);function He(s,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:xe(t.networkMode)?"fetching":"paused",...s===void 0&&{error:null,status:"pending"}}}function hs(s){const t=typeof s.initialData=="function"?s.initialData():s.initialData,e=t!==void 0,i=e?typeof s.initialDataUpdatedAt=="function"?s.initialDataUpdatedAt():s.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:e?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:e?"success":"pending",fetchStatus:"idle"}}var _,we,Ne=(we=class extends At{constructor(e={}){super();l(this,_);this.config=e,h(this,_,new Map)}build(e,i,n){const a=i.queryKey,o=i.queryHash??ae(a,i);let u=this.get(o);return u||(u=new os({cache:this,queryKey:a,queryHash:o,options:e.defaultQueryOptions(i),state:n,defaultOptions:e.getQueryDefaults(a)}),this.add(u)),u}add(e){r(this,_).has(e.queryHash)||(r(this,_).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const i=r(this,_).get(e.queryHash);i&&(e.destroy(),i===e&&r(this,_).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){M.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return r(this,_).get(e)}getAll(){return[...r(this,_).values()]}find(e){const i={exact:!0,...e};return this.getAll().find(n=>ce(i,n))}findAll(e={}){const i=this.getAll();return Object.keys(e).length>0?i.filter(n=>ce(e,n)):i}notify(e){M.batch(()=>{this.listeners.forEach(i=>{i(e)})})}onFocus(){M.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){M.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},_=new WeakMap,we),$,q,ct,B,X,Qe,cs=(Qe=class extends ke{constructor(t){super();l(this,B);l(this,$);l(this,q);l(this,ct);this.mutationId=t.mutationId,h(this,q,t.mutationCache),h(this,$,[]),this.state=t.state||Ge(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){r(this,$).includes(t)||(r(this,$).push(t),this.clearGcTimeout(),r(this,q).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){h(this,$,r(this,$).filter(e=>e!==t)),this.scheduleGc(),r(this,q).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){r(this,$).length||(this.state.status==="pending"?this.scheduleGc():r(this,q).remove(this))}continue(){var t;return((t=r(this,ct))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var n,a,o,u,y,S,f,c,g,d,P,R,F,O,w,Q,E,U,G,W;h(this,ct,Le({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(b,k)=>{p(this,B,X).call(this,{type:"failed",failureCount:b,error:k})},onPause:()=>{p(this,B,X).call(this,{type:"pause"})},onContinue:()=>{p(this,B,X).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>r(this,q).canRun(this)}));const e=this.state.status==="pending",i=!r(this,ct).canStart();try{if(!e){p(this,B,X).call(this,{type:"pending",variables:t,isPaused:i}),await((a=(n=r(this,q).config).onMutate)==null?void 0:a.call(n,t,this));const k=await((u=(o=this.options).onMutate)==null?void 0:u.call(o,t));k!==this.state.context&&p(this,B,X).call(this,{type:"pending",context:k,variables:t,isPaused:i})}const b=await r(this,ct).start();return await((S=(y=r(this,q).config).onSuccess)==null?void 0:S.call(y,b,t,this.state.context,this)),await((c=(f=this.options).onSuccess)==null?void 0:c.call(f,b,t,this.state.context)),await((d=(g=r(this,q).config).onSettled)==null?void 0:d.call(g,b,null,this.state.variables,this.state.context,this)),await((R=(P=this.options).onSettled)==null?void 0:R.call(P,b,null,t,this.state.context)),p(this,B,X).call(this,{type:"success",data:b}),b}catch(b){try{throw await((O=(F=r(this,q).config).onError)==null?void 0:O.call(F,b,t,this.state.context,this)),await((Q=(w=this.options).onError)==null?void 0:Q.call(w,b,t,this.state.context)),await((U=(E=r(this,q).config).onSettled)==null?void 0:U.call(E,void 0,b,this.state.variables,this.state.context,this)),await((W=(G=this.options).onSettled)==null?void 0:W.call(G,void 0,b,t,this.state.context)),b}finally{p(this,B,X).call(this,{type:"error",error:b})}}finally{r(this,q).runNext(this)}}},$=new WeakMap,q=new WeakMap,ct=new WeakMap,B=new WeakSet,X=function(t){const e=i=>{switch(t.type){case"failed":return{...i,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...i,isPaused:!0};case"continue":return{...i,isPaused:!1};case"pending":return{...i,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...i,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...i,data:void 0,error:t.error,failureCount:i.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=e(this.state),M.batch(()=>{r(this,$).forEach(i=>{i.onMutationUpdate(t)}),r(this,q).notify({mutation:this,type:"updated",action:t})})},Qe);function Ge(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var x,Tt,Se,_e=(Se=class extends At{constructor(e={}){super();l(this,x);l(this,Tt);this.config=e,h(this,x,new Map),h(this,Tt,Date.now())}build(e,i,n){const a=new cs({mutationCache:this,mutationId:++Kt(this,Tt)._,options:e.defaultMutationOptions(i),state:n});return this.add(a),a}add(e){const i=Lt(e),n=r(this,x).get(i)??[];n.push(e),r(this,x).set(i,n),this.notify({type:"added",mutation:e})}remove(e){var n;const i=Lt(e);if(r(this,x).has(i)){const a=(n=r(this,x).get(i))==null?void 0:n.filter(o=>o!==e);a&&(a.length===0?r(this,x).delete(i):r(this,x).set(i,a))}this.notify({type:"removed",mutation:e})}canRun(e){var n;const i=(n=r(this,x).get(Lt(e)))==null?void 0:n.find(a=>a.state.status==="pending");return!i||i===e}runNext(e){var n;const i=(n=r(this,x).get(Lt(e)))==null?void 0:n.find(a=>a!==e&&a.state.isPaused);return(i==null?void 0:i.continue())??Promise.resolve()}clear(){M.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}getAll(){return[...r(this,x).values()].flat()}find(e){const i={exact:!0,...e};return this.getAll().find(n=>le(i,n))}findAll(e={}){return this.getAll().filter(i=>le(e,i))}notify(e){M.batch(()=>{this.listeners.forEach(i=>{i(e)})})}resumePausedMutations(){const e=this.getAll().filter(i=>i.state.isPaused);return M.batch(()=>Promise.all(e.map(i=>i.continue().catch(L))))}},x=new WeakMap,Tt=new WeakMap,Se);function Lt(s){var t;return((t=s.options.scope)==null?void 0:t.id)??String(s.mutationId)}function ye(s){return{onFetch:(t,e)=>{var f,c,g,d,P;const i=t.options,n=(g=(c=(f=t.fetchOptions)==null?void 0:f.meta)==null?void 0:c.fetchMore)==null?void 0:g.direction,a=((d=t.state.data)==null?void 0:d.pages)||[],o=((P=t.state.data)==null?void 0:P.pageParams)||[];let u={pages:[],pageParams:[]},y=0;const S=async()=>{let R=!1;const F=Q=>{Object.defineProperty(Q,"signal",{enumerable:!0,get:()=>(t.signal.aborted?R=!0:t.signal.addEventListener("abort",()=>{R=!0}),t.signal)})},O=je(t.options,t.fetchOptions),w=async(Q,E,U)=>{if(R)return Promise.reject();if(E==null&&Q.pages.length)return Promise.resolve(Q);const G={queryKey:t.queryKey,pageParam:E,direction:U?"backward":"forward",meta:t.options.meta};F(G);const W=await O(G),{maxPages:b}=t.options,k=U?is:ss;return{pages:k(Q.pages,W,b),pageParams:k(Q.pageParams,E,b)}};if(n&&a.length){const Q=n==="backward",E=Q?ls:pe,U={pages:a,pageParams:o},G=E(i,U);u=await w(U,G,Q)}else{const Q=s??a.length;do{const E=y===0?o[0]??i.initialPageParam:pe(i,u);if(y>0&&E==null)break;u=await w(u,E),y++}while(y<Q)}return u};t.options.persister?t.fetchFn=()=>{var R,F;return(F=(R=t.options).persister)==null?void 0:F.call(R,S,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},e)}:t.fetchFn=S}}}function pe(s,{pages:t,pageParams:e}){const i=t.length-1;return t.length>0?s.getNextPageParam(t[i],t,e[i],e):void 0}function ls(s,{pages:t,pageParams:e}){var i;return t.length>0?(i=s.getPreviousPageParam)==null?void 0:i.call(s,t[0],t,e[0],e):void 0}var D,et,st,Qt,St,it,Pt,Rt,Pe,fs=(Pe=class{constructor(t={}){l(this,D);l(this,et);l(this,st);l(this,Qt);l(this,St);l(this,it);l(this,Pt);l(this,Rt);h(this,D,t.queryCache||new Ne),h(this,et,t.mutationCache||new _e),h(this,st,t.defaultOptions||{}),h(this,Qt,new Map),h(this,St,new Map),h(this,it,0)}mount(){Kt(this,it)._++,r(this,it)===1&&(h(this,Pt,ue.subscribe(async t=>{t&&(await this.resumePausedMutations(),r(this,D).onFocus())})),h(this,Rt,Nt.subscribe(async t=>{t&&(await this.resumePausedMutations(),r(this,D).onOnline())})))}unmount(){var t,e;Kt(this,it)._--,r(this,it)===0&&((t=r(this,Pt))==null||t.call(this),h(this,Pt,void 0),(e=r(this,Rt))==null||e.call(this),h(this,Rt,void 0))}isFetching(t){return r(this,D).findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return r(this,et).findAll({...t,status:"pending"}).length}getQueryData(t){var i;const e=this.defaultQueryOptions({queryKey:t});return(i=r(this,D).get(e.queryHash))==null?void 0:i.state.data}ensureQueryData(t){const e=this.getQueryData(t.queryKey);if(e===void 0)return this.fetchQuery(t);{const i=this.defaultQueryOptions(t),n=r(this,D).build(this,i);return t.revalidateIfStale&&n.isStaleByTime(vt(i.staleTime,n))&&this.prefetchQuery(i),Promise.resolve(e)}}getQueriesData(t){return r(this,D).findAll(t).map(({queryKey:e,state:i})=>{const n=i.data;return[e,n]})}setQueryData(t,e,i){const n=this.defaultQueryOptions({queryKey:t}),a=r(this,D).get(n.queryHash),o=a==null?void 0:a.state.data,u=ts(e,o);if(u!==void 0)return r(this,D).build(this,n).setData(u,{...i,manual:!0})}setQueriesData(t,e,i){return M.batch(()=>r(this,D).findAll(t).map(({queryKey:n})=>[n,this.setQueryData(n,e,i)]))}getQueryState(t){var i;const e=this.defaultQueryOptions({queryKey:t});return(i=r(this,D).get(e.queryHash))==null?void 0:i.state}removeQueries(t){const e=r(this,D);M.batch(()=>{e.findAll(t).forEach(i=>{e.remove(i)})})}resetQueries(t,e){const i=r(this,D),n={type:"active",...t};return M.batch(()=>(i.findAll(t).forEach(a=>{a.reset()}),this.refetchQueries(n,e)))}cancelQueries(t={},e={}){const i={revert:!0,...e},n=M.batch(()=>r(this,D).findAll(t).map(a=>a.cancel(i)));return Promise.all(n).then(L).catch(L)}invalidateQueries(t={},e={}){return M.batch(()=>{if(r(this,D).findAll(t).forEach(n=>{n.invalidate()}),t.refetchType==="none")return Promise.resolve();const i={...t,type:t.refetchType??t.type??"active"};return this.refetchQueries(i,e)})}refetchQueries(t={},e){const i={...e,cancelRefetch:(e==null?void 0:e.cancelRefetch)??!0},n=M.batch(()=>r(this,D).findAll(t).filter(a=>!a.isDisabled()).map(a=>{let o=a.fetch(void 0,i);return i.throwOnError||(o=o.catch(L)),a.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(n).then(L)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const i=r(this,D).build(this,e);return i.isStaleByTime(vt(e.staleTime,i))?i.fetch(e):Promise.resolve(i.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(L).catch(L)}fetchInfiniteQuery(t){return t.behavior=ye(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(L).catch(L)}ensureInfiniteQueryData(t){return t.behavior=ye(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return Nt.isOnline()?r(this,et).resumePausedMutations():Promise.resolve()}getQueryCache(){return r(this,D)}getMutationCache(){return r(this,et)}getDefaultOptions(){return r(this,st)}setDefaultOptions(t){h(this,st,t)}setQueryDefaults(t,e){r(this,Qt).set(pt(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...r(this,Qt).values()];let i={};return e.forEach(n=>{qt(t,n.queryKey)&&(i={...i,...n.defaultOptions})}),i}setMutationDefaults(t,e){r(this,St).set(pt(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...r(this,St).values()];let i={};return e.forEach(n=>{qt(t,n.mutationKey)&&(i={...i,...n.defaultOptions})}),i}defaultQueryOptions(t){if(t._defaulted)return t;const e={...r(this,st).queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=ae(e.queryKey,e)),e.refetchOnReconnect===void 0&&(e.refetchOnReconnect=e.networkMode!=="always"),e.throwOnError===void 0&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.enabled!==!0&&e.queryFn===Te&&(e.enabled=!1),e}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...r(this,st).mutations,...(t==null?void 0:t.mutationKey)&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){r(this,D).clear(),r(this,et).clear()}},D=new WeakMap,et=new WeakMap,st=new WeakMap,Qt=new WeakMap,St=new WeakMap,it=new WeakMap,Pt=new WeakMap,Rt=new WeakMap,Pe),T,v,jt,I,lt,Ft,V,xt,Dt,Et,ft,dt,rt,Mt,C,Ut,Wt,zt,Yt,Jt,Xt,Zt,te,$e,Re,ds=(Re=class extends At{constructor(t,e){super();l(this,C);l(this,T);l(this,v);l(this,jt);l(this,I);l(this,lt);l(this,Ft);l(this,V);l(this,xt);l(this,Dt);l(this,Et);l(this,ft);l(this,dt);l(this,rt);l(this,Mt,new Set);this.options=e,h(this,T,t),h(this,V,null),this.bindMethods(),this.setOptions(e)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(r(this,v).addObserver(this),me(r(this,v),this.options)?p(this,C,Ut).call(this):this.updateResult(),p(this,C,Jt).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return ee(r(this,v),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ee(r(this,v),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,p(this,C,Xt).call(this),p(this,C,Zt).call(this),r(this,v).removeObserver(this)}setOptions(t,e){const i=this.options,n=r(this,v);if(this.options=r(this,T).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof N(this.options.enabled,r(this,v))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");p(this,C,te).call(this),r(this,v).setOptions(this.options),i._defaulted&&!Ht(this.options,i)&&r(this,T).getQueryCache().notify({type:"observerOptionsUpdated",query:r(this,v),observer:this});const a=this.hasListeners();a&&ve(r(this,v),n,this.options,i)&&p(this,C,Ut).call(this),this.updateResult(e),a&&(r(this,v)!==n||N(this.options.enabled,r(this,v))!==N(i.enabled,r(this,v))||vt(this.options.staleTime,r(this,v))!==vt(i.staleTime,r(this,v)))&&p(this,C,Wt).call(this);const o=p(this,C,zt).call(this);a&&(r(this,v)!==n||N(this.options.enabled,r(this,v))!==N(i.enabled,r(this,v))||o!==r(this,rt))&&p(this,C,Yt).call(this,o)}getOptimisticResult(t){const e=r(this,T).getQueryCache().build(r(this,T),t),i=this.createResult(e,t);return ps(this,i)&&(h(this,I,i),h(this,Ft,this.options),h(this,lt,r(this,v).state)),i}getCurrentResult(){return r(this,I)}trackResult(t,e){const i={};return Object.keys(t).forEach(n=>{Object.defineProperty(i,n,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(n),e==null||e(n),t[n])})}),i}trackProp(t){r(this,Mt).add(t)}getCurrentQuery(){return r(this,v)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const e=r(this,T).defaultQueryOptions(t),i=r(this,T).getQueryCache().build(r(this,T),e);return i.isFetchingOptimistic=!0,i.fetch().then(()=>this.createResult(i,e))}fetch(t){return p(this,C,Ut).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),r(this,I)))}createResult(t,e){var W;const i=r(this,v),n=this.options,a=r(this,I),o=r(this,lt),u=r(this,Ft),S=t!==i?t.state:r(this,jt),{state:f}=t;let c={...f},g=!1,d;if(e._optimisticResults){const b=this.hasListeners(),k=!b&&me(t,e),We=b&&ve(t,i,e,n);(k||We)&&(c={...c,...He(f.data,t.options)}),e._optimisticResults==="isRestoring"&&(c.fetchStatus="idle")}let{error:P,errorUpdatedAt:R,status:F}=c;if(e.select&&c.data!==void 0)if(a&&c.data===(o==null?void 0:o.data)&&e.select===r(this,xt))d=r(this,Dt);else try{h(this,xt,e.select),d=e.select(c.data),d=Vt(a==null?void 0:a.data,d,e),h(this,Dt,d),h(this,V,null)}catch(b){h(this,V,b)}else d=c.data;if(e.placeholderData!==void 0&&d===void 0&&F==="pending"){let b;if(a!=null&&a.isPlaceholderData&&e.placeholderData===(u==null?void 0:u.placeholderData))b=a.data;else if(b=typeof e.placeholderData=="function"?e.placeholderData((W=r(this,Et))==null?void 0:W.state.data,r(this,Et)):e.placeholderData,e.select&&b!==void 0)try{b=e.select(b),h(this,V,null)}catch(k){h(this,V,k)}b!==void 0&&(F="success",d=Vt(a==null?void 0:a.data,b,e),g=!0)}r(this,V)&&(P=r(this,V),d=r(this,Dt),R=Date.now(),F="error");const O=c.fetchStatus==="fetching",w=F==="pending",Q=F==="error",E=w&&O,U=d!==void 0;return{status:F,fetchStatus:c.fetchStatus,isPending:w,isSuccess:F==="success",isError:Q,isInitialLoading:E,isLoading:E,data:d,dataUpdatedAt:c.dataUpdatedAt,error:P,errorUpdatedAt:R,failureCount:c.fetchFailureCount,failureReason:c.fetchFailureReason,errorUpdateCount:c.errorUpdateCount,isFetched:c.dataUpdateCount>0||c.errorUpdateCount>0,isFetchedAfterMount:c.dataUpdateCount>S.dataUpdateCount||c.errorUpdateCount>S.errorUpdateCount,isFetching:O,isRefetching:O&&!w,isLoadingError:Q&&!U,isPaused:c.fetchStatus==="paused",isPlaceholderData:g,isRefetchError:Q&&U,isStale:oe(t,e),refetch:this.refetch}}updateResult(t){const e=r(this,I),i=this.createResult(r(this,v),this.options);if(h(this,lt,r(this,v).state),h(this,Ft,this.options),r(this,lt).data!==void 0&&h(this,Et,r(this,v)),Ht(i,e))return;h(this,I,i);const n={},a=()=>{if(!e)return!0;const{notifyOnChangeProps:o}=this.options,u=typeof o=="function"?o():o;if(u==="all"||!u&&!r(this,Mt).size)return!0;const y=new Set(u??r(this,Mt));return this.options.throwOnError&&y.add("error"),Object.keys(r(this,I)).some(S=>{const f=S;return r(this,I)[f]!==e[f]&&y.has(f)})};(t==null?void 0:t.listeners)!==!1&&a()&&(n.listeners=!0),p(this,C,$e).call(this,{...n,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&p(this,C,Jt).call(this)}},T=new WeakMap,v=new WeakMap,jt=new WeakMap,I=new WeakMap,lt=new WeakMap,Ft=new WeakMap,V=new WeakMap,xt=new WeakMap,Dt=new WeakMap,Et=new WeakMap,ft=new WeakMap,dt=new WeakMap,rt=new WeakMap,Mt=new WeakMap,C=new WeakSet,Ut=function(t){p(this,C,te).call(this);let e=r(this,v).fetch(this.options,t);return t!=null&&t.throwOnError||(e=e.catch(L)),e},Wt=function(){p(this,C,Xt).call(this);const t=vt(this.options.staleTime,r(this,v));if(yt||r(this,I).isStale||!$t(t))return;const i=qe(r(this,I).dataUpdatedAt,t)+1;h(this,ft,setTimeout(()=>{r(this,I).isStale||this.updateResult()},i))},zt=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(r(this,v)):this.options.refetchInterval)??!1},Yt=function(t){p(this,C,Zt).call(this),h(this,rt,t),!(yt||N(this.options.enabled,r(this,v))===!1||!$t(r(this,rt))||r(this,rt)===0)&&h(this,dt,setInterval(()=>{(this.options.refetchIntervalInBackground||ue.isFocused())&&p(this,C,Ut).call(this)},r(this,rt)))},Jt=function(){p(this,C,Wt).call(this),p(this,C,Yt).call(this,p(this,C,zt).call(this))},Xt=function(){r(this,ft)&&(clearTimeout(r(this,ft)),h(this,ft,void 0))},Zt=function(){r(this,dt)&&(clearInterval(r(this,dt)),h(this,dt,void 0))},te=function(){const t=r(this,T).getQueryCache().build(r(this,T),this.options);if(t===r(this,v))return;const e=r(this,v);h(this,v,t),h(this,jt,t.state),this.hasListeners()&&(e==null||e.removeObserver(this),t.addObserver(this))},$e=function(t){M.batch(()=>{t.listeners&&this.listeners.forEach(e=>{e(r(this,I))}),r(this,T).getQueryCache().notify({query:r(this,v),type:"observerResultsUpdated"})})},Re);function ys(s,t){return N(t.enabled,s)!==!1&&s.state.data===void 0&&!(s.state.status==="error"&&t.retryOnMount===!1)}function me(s,t){return ys(s,t)||s.state.data!==void 0&&ee(s,t,t.refetchOnMount)}function ee(s,t,e){if(N(t.enabled,s)!==!1){const i=typeof e=="function"?e(s):e;return i==="always"||i!==!1&&oe(s,t)}return!1}function ve(s,t,e,i){return(s!==t||N(i.enabled,s)===!1)&&(!e.suspense||s.state.status!=="error")&&oe(s,e)}function oe(s,t){return N(t.enabled,s)!==!1&&s.isStaleByTime(vt(t.staleTime,s))}function ps(s,t){return!Ht(s.getCurrentResult(),t)}var nt,at,j,Y,J,kt,se,Fe,ms=(Fe=class extends At{constructor(t,e){super();l(this,J);l(this,nt);l(this,at);l(this,j);l(this,Y);h(this,nt,t),this.setOptions(e),this.bindMethods(),p(this,J,kt).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){var i;const e=this.options;this.options=r(this,nt).defaultMutationOptions(t),Ht(this.options,e)||r(this,nt).getMutationCache().notify({type:"observerOptionsUpdated",mutation:r(this,j),observer:this}),e!=null&&e.mutationKey&&this.options.mutationKey&&pt(e.mutationKey)!==pt(this.options.mutationKey)?this.reset():((i=r(this,j))==null?void 0:i.state.status)==="pending"&&r(this,j).setOptions(this.options)}onUnsubscribe(){var t;this.hasListeners()||(t=r(this,j))==null||t.removeObserver(this)}onMutationUpdate(t){p(this,J,kt).call(this),p(this,J,se).call(this,t)}getCurrentResult(){return r(this,at)}reset(){var t;(t=r(this,j))==null||t.removeObserver(this),h(this,j,void 0),p(this,J,kt).call(this),p(this,J,se).call(this)}mutate(t,e){var i;return h(this,Y,e),(i=r(this,j))==null||i.removeObserver(this),h(this,j,r(this,nt).getMutationCache().build(r(this,nt),this.options)),r(this,j).addObserver(this),r(this,j).execute(t)}},nt=new WeakMap,at=new WeakMap,j=new WeakMap,Y=new WeakMap,J=new WeakSet,kt=function(){var e;const t=((e=r(this,j))==null?void 0:e.state)??Ge();h(this,at,{...t,isPending:t.status==="pending",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset})},se=function(t){M.batch(()=>{var e,i,n,a,o,u,y,S;if(r(this,Y)&&this.hasListeners()){const f=r(this,at).variables,c=r(this,at).context;(t==null?void 0:t.type)==="success"?((i=(e=r(this,Y)).onSuccess)==null||i.call(e,t.data,f,c),(a=(n=r(this,Y)).onSettled)==null||a.call(n,t.data,null,f,c)):(t==null?void 0:t.type)==="error"&&((u=(o=r(this,Y)).onError)==null||u.call(o,t.error,f,c),(S=(y=r(this,Y)).onSettled)==null||S.call(y,void 0,t.error,f,c))}this.listeners.forEach(f=>{f(r(this,at))})})},Fe),vs="VUE_QUERY_CLIENT";function Be(s){const t=s?`:${s}`:"";return`${vs}${t}`}function ie(s,t){Object.keys(s).forEach(e=>{s[e]=t[e]})}function re(s,t,e="",i=0){if(t){const n=t(s,e,i);if(n===void 0&&De(s)||n!==void 0)return n}if(Array.isArray(s))return s.map((n,a)=>re(n,t,String(a),i+1));if(typeof s=="object"&&gs(s)){const n=Object.entries(s).map(([a,o])=>[a,re(o,t,a,i+1)]);return Object.fromEntries(n)}return s}function bs(s,t){return re(s,t)}function m(s,t=!1){return bs(s,(e,i,n)=>{if(n===1&&i==="queryKey")return m(e,!0);if(t&&Os(e))return m(e(),t);if(De(e))return m(ze(e),t)})}function gs(s){if(Object.prototype.toString.call(s)!=="[object Object]")return!1;const t=Object.getPrototypeOf(s);return t===null||t===Object.prototype}function Os(s){return typeof s=="function"}function ne(s,t){return typeof s=="function"?s(...t):!!s}function Ve(s=""){if(!Ye())throw new Error("vue-query hooks can only be used inside setup() function or functions that support injection context.");const t=Be(s),e=Je(t);if(!e)throw new Error("No 'queryClient' found in Vue context, use 'VueQueryPlugin' to properly initialize the library.");return e}var Cs=class extends Ne{find(s){return super.find(m(s))}findAll(s={}){return super.findAll(m(s))}},ws=class extends _e{find(s){return super.find(m(s))}findAll(s={}){return super.findAll(m(s))}},Qs=class extends fs{constructor(s={}){const t={defaultOptions:s.defaultOptions,queryCache:s.queryCache||new Cs,mutationCache:s.mutationCache||new ws};super(t),this.isRestoring=Xe(!1)}isFetching(s={}){return super.isFetching(m(s))}isMutating(s={}){return super.isMutating(m(s))}getQueryData(s){return super.getQueryData(m(s))}ensureQueryData(s){return super.ensureQueryData(m(s))}getQueriesData(s){return super.getQueriesData(m(s))}setQueryData(s,t,e={}){return super.setQueryData(m(s),t,m(e))}setQueriesData(s,t,e={}){return super.setQueriesData(m(s),t,m(e))}getQueryState(s){return super.getQueryState(m(s))}removeQueries(s={}){return super.removeQueries(m(s))}resetQueries(s={},t={}){return super.resetQueries(m(s),m(t))}cancelQueries(s={},t={}){return super.cancelQueries(m(s),m(t))}invalidateQueries(s={},t={}){const e=m(s),i=m(t);if(super.invalidateQueries({...e,refetchType:"none"},i),e.refetchType==="none")return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return Ze().then(()=>super.refetchQueries(n,i))}refetchQueries(s={},t={}){return super.refetchQueries(m(s),m(t))}fetchQuery(s){return super.fetchQuery(m(s))}prefetchQuery(s){return super.prefetchQuery(m(s))}fetchInfiniteQuery(s){return super.fetchInfiniteQuery(m(s))}prefetchInfiniteQuery(s){return super.prefetchInfiniteQuery(m(s))}setDefaultOptions(s){super.setDefaultOptions(m(s))}setQueryDefaults(s,t){super.setQueryDefaults(m(s),m(t))}getQueryDefaults(s){return super.getQueryDefaults(m(s))}setMutationDefaults(s,t){super.setMutationDefaults(m(s),m(t))}getMutationDefaults(s){return super.getMutationDefaults(m(s))}},Ms={install:(s,t={})=>{const e=Be(t.queryClientKey);let i;if("queryClient"in t&&t.queryClient)i=t.queryClient;else{const o="queryClientConfig"in t?t.queryClientConfig:void 0;i=new Qs(o)}yt||i.mount();let n=()=>{};if(t.clientPersister){i.isRestoring.value=!0;const[o,u]=t.clientPersister(i);n=o,u.then(()=>{var y;i.isRestoring.value=!1,(y=t.clientPersisterOnSuccess)==null||y.call(t,i)})}const a=()=>{i.unmount(),n()};if(s.onUnmount)s.onUnmount(a);else{const o=s.unmount;s.unmount=function(){a(),o()}}s.provide(e,i)}};function Ss(s,t,e){const i=Ve(),n=Ee(()=>{const d=m(t);typeof d.enabled=="function"&&(d.enabled=d.enabled());const P=i.defaultQueryOptions(d);return P._optimisticResults=i.isRestoring.value?"isRestoring":"optimistic",P}),a=new s(i,n.value),o=Me(a.getCurrentResult());let u=()=>{};mt(i.isRestoring,d=>{d||(u(),u=a.subscribe(P=>{ie(o,P)}))},{immediate:!0});const y=()=>{a.setOptions(n.value),ie(o,a.getCurrentResult())};mt(n,y),Ae(()=>{u()});const S=(...d)=>(y(),o.refetch(...d)),f=()=>new Promise((d,P)=>{let R=()=>{};const F=()=>{if(n.value.enabled!==!1){a.setOptions(n.value);const O=a.getOptimisticResult(n.value);O.isStale?(R(),a.fetchOptimistic(n.value).then(d,w=>{ne(n.value.throwOnError,[w,a.getCurrentQuery()])?P(w):d(a.getCurrentResult())})):(R(),d(O))}};F(),R=mt(n,F)});mt(()=>o.error,d=>{if(o.isError&&!o.isFetching&&ne(n.value.throwOnError,[d,a.getCurrentQuery()]))throw d});const g=Ue(o);for(const d in o)typeof o[d]=="function"&&(g[d]=o[d]);return g.suspense=f,g.refetch=S,g}function As(s,t){return Ss(ds,s)}function Us(s,t){const e=Ve(),i=Ee(()=>e.defaultMutationOptions(m(s))),n=new ms(e,i.value),a=Me(n.getCurrentResult()),o=n.subscribe(f=>{ie(a,f)}),u=(f,c)=>{n.mutate(f,c).catch(()=>{})};mt(i,()=>{n.setOptions(i.value)}),Ae(()=>{o()});const S=Ue(a);return mt(()=>a.error,f=>{if(f&&ne(i.value.throwOnError,[f]))throw f}),{...S,mutate:u,mutateAsync:a.mutate,reset:a.reset}}export{Qs as Q,Ms as V,As as a,Us as b,Ve as u};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Z as s,a as h,b as a}from"./zod.DnW1_kUe.0.0.31-alpha.
|
|
1
|
+
import{Z as s,a as h,b as a}from"./zod.DnW1_kUe.0.0.31-alpha.4.js";import{i as j,c as y}from"./vee-validate.B1-qhDGi.0.0.31-alpha.4.js";/**
|
|
2
2
|
* vee-validate v4.13.2
|
|
3
3
|
* (c) 2024 Abdelrahman Awad
|
|
4
4
|
* @license MIT
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @vue/shared v3.5.5
|
|
3
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
+
* @license MIT
|
|
5
|
+
**//*! #__NO_SIDE_EFFECTS__ */function xs(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const J={},gt=[],Be=()=>{},go=()=>!1,In=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Cs=e=>e.startsWith("onUpdate:"),ie=Object.assign,Ts=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},mo=Object.prototype.hasOwnProperty,Y=(e,t)=>mo.call(e,t),N=Array.isArray,mt=e=>St(e)==="[object Map]",Fn=e=>St(e)==="[object Set]",tr=e=>St(e)==="[object Date]",_o=e=>St(e)==="[object RegExp]",$=e=>typeof e=="function",ne=e=>typeof e=="string",$e=e=>typeof e=="symbol",Z=e=>e!==null&&typeof e=="object",ws=e=>(Z(e)||$(e))&&$(e.then)&&$(e.catch),Vr=Object.prototype.toString,St=e=>Vr.call(e),yo=e=>St(e).slice(8,-1),Hr=e=>St(e)==="[object Object]",Es=e=>ne(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Lt=xs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),On=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},bo=/-(\w)/g,Ie=On(e=>e.replace(bo,(t,n)=>n?n.toUpperCase():"")),vo=/\B([A-Z])/g,We=On(e=>e.replace(vo,"-$1").toLowerCase()),Mn=On(e=>e.charAt(0).toUpperCase()+e.slice(1)),fn=On(e=>e?`on${Mn(e)}`:""),be=(e,t)=>!Object.is(e,t),_t=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},jr=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},xo=e=>{const t=parseFloat(e);return isNaN(t)?e:t},kr=e=>{const t=ne(e)?Number(e):NaN;return isNaN(t)?e:t};let nr;const Kr=()=>nr||(nr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Pn(e){if(N(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=ne(s)?Eo(s):Pn(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(ne(e)||Z(e))return e}const Co=/;(?![^(]*\))/g,To=/:([^]+)/,wo=/\/\*[^]*?\*\//g;function Eo(e){const t={};return e.replace(wo,"").split(Co).forEach(n=>{if(n){const s=n.split(To);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Rn(e){let t="";if(ne(e))t=e;else if(N(e))for(let n=0;n<e.length;n++){const s=Rn(e[n]);s&&(t+=s+" ")}else if(Z(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function lf(e){if(!e)return null;let{class:t,style:n}=e;return t&&!ne(t)&&(e.class=Rn(t)),n&&(e.style=Pn(n)),e}const So="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Ao=xs(So);function Ur(e){return!!e||e===""}function Io(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=Ct(e[s],t[s]);return n}function Ct(e,t){if(e===t)return!0;let n=tr(e),s=tr(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=$e(e),s=$e(t),n||s)return e===t;if(n=N(e),s=N(t),n||s)return n&&s?Io(e,t):!1;if(n=Z(e),s=Z(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,i=Object.keys(t).length;if(r!==i)return!1;for(const o in e){const l=e.hasOwnProperty(o),c=t.hasOwnProperty(o);if(l&&!c||!l&&c||!Ct(e[o],t[o]))return!1}}return String(e)===String(t)}function Wr(e,t){return e.findIndex(n=>Ct(n,t))}const Gr=e=>!!(e&&e.__v_isRef===!0),Fo=e=>ne(e)?e:e==null?"":N(e)||Z(e)&&(e.toString===Vr||!$(e.toString))?Gr(e)?Fo(e.value):JSON.stringify(e,qr,2):String(e),qr=(e,t)=>Gr(t)?qr(e,t.value):mt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[Wn(s,i)+" =>"]=r,n),{})}:Fn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Wn(n))}:$e(t)?Wn(t):Z(t)&&!N(t)&&!Hr(t)?String(t):t,Wn=(e,t="")=>{var n;return $e(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
6
|
+
* @vue/reactivity v3.5.5
|
|
7
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
8
|
+
* @license MIT
|
|
9
|
+
**/let me;class Jr{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=me,!t&&me&&(this.index=(me.scopes||(me.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=me;try{return me=this,t()}finally{me=n}}}on(){me=this}off(){me=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function cf(e){return new Jr(e)}function Oo(){return me}function ff(e,t=!1){me&&me.cleanups.push(e)}let X;const Gn=new WeakSet;class Yr{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.nextEffect=void 0,this.cleanup=void 0,this.scheduler=void 0,me&&me.active&&me.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Gn.has(this)&&(Gn.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||(this.flags|=8,this.nextEffect=Bt,Bt=this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,sr(this),Zr(this);const t=X,n=Pe;X=this,Pe=!0;try{return this.fn()}finally{Xr(this),X=t,Pe=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Is(t);this.deps=this.depsTail=void 0,sr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Gn.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ss(this)&&this.run()}get dirty(){return ss(this)}}let zr=0,Bt;function Ss(){zr++}function As(){if(--zr>0)return;let e;for(;Bt;){let t=Bt;for(Bt=void 0;t;){const n=t.nextEffect;if(t.nextEffect=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Zr(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Xr(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Is(s),Mo(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function ss(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&Qr(t.dep.computed)||t.dep.version!==t.version)return!0;return!!e._dirty}function Qr(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===kt))return;e.globalVersion=kt;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&!ss(e)){e.flags&=-3;return}const n=X,s=Pe;X=e,Pe=!0;try{Zr(e);const r=e.fn(e._value);(t.version===0||be(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{X=n,Pe=s,Xr(e),e.flags&=-3}}function Is(e){const{dep:t,prevSub:n,nextSub:s}=e;if(n&&(n.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=n,e.nextSub=void 0),t.subs===e&&(t.subs=n),!t.subs&&t.computed){t.computed.flags&=-5;for(let r=t.computed.deps;r;r=r.nextDep)Is(r)}}function Mo(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Pe=!0;const ei=[];function et(){ei.push(Pe),Pe=!1}function tt(){const e=ei.pop();Pe=e===void 0?!0:e}function sr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=X;X=void 0;try{t()}finally{X=n}}}let kt=0;class Po{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Nn{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0}track(t){if(!X||!Pe||X===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==X)n=this.activeLink=new Po(X,this),X.deps?(n.prevDep=X.depsTail,X.depsTail.nextDep=n,X.depsTail=n):X.deps=X.depsTail=n,X.flags&4&&ti(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=X.depsTail,n.nextDep=void 0,X.depsTail.nextDep=n,X.depsTail=n,X.deps===n&&(X.deps=s)}return n}trigger(t){this.version++,kt++,this.notify(t)}notify(t){Ss();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()}finally{As()}}}function ti(e){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)ti(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}const gn=new WeakMap,ct=Symbol(""),rs=Symbol(""),Kt=Symbol("");function pe(e,t,n){if(Pe&&X){let s=gn.get(e);s||gn.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=new Nn),r.track()}}function Ke(e,t,n,s,r,i){const o=gn.get(e);if(!o){kt++;return}const l=c=>{c&&c.trigger()};if(Ss(),t==="clear")o.forEach(l);else{const c=N(e),h=c&&Es(n);if(c&&n==="length"){const u=Number(s);o.forEach((a,p)=>{(p==="length"||p===Kt||!$e(p)&&p>=u)&&l(a)})}else switch(n!==void 0&&l(o.get(n)),h&&l(o.get(Kt)),t){case"add":c?h&&l(o.get("length")):(l(o.get(ct)),mt(e)&&l(o.get(rs)));break;case"delete":c||(l(o.get(ct)),mt(e)&&l(o.get(rs)));break;case"set":mt(e)&&l(o.get(ct));break}}As()}function Ro(e,t){var n;return(n=gn.get(e))==null?void 0:n.get(t)}function ht(e){const t=G(e);return t===e?t:(pe(t,"iterate",Kt),Ae(e)?t:t.map(he))}function Dn(e){return pe(e=G(e),"iterate",Kt),e}const No={__proto__:null,[Symbol.iterator](){return qn(this,Symbol.iterator,he)},concat(...e){return ht(this).concat(...e.map(t=>N(t)?ht(t):t))},entries(){return qn(this,"entries",e=>(e[1]=he(e[1]),e))},every(e,t){return Ve(this,"every",e,t,void 0,arguments)},filter(e,t){return Ve(this,"filter",e,t,n=>n.map(he),arguments)},find(e,t){return Ve(this,"find",e,t,he,arguments)},findIndex(e,t){return Ve(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ve(this,"findLast",e,t,he,arguments)},findLastIndex(e,t){return Ve(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ve(this,"forEach",e,t,void 0,arguments)},includes(...e){return Jn(this,"includes",e)},indexOf(...e){return Jn(this,"indexOf",e)},join(e){return ht(this).join(e)},lastIndexOf(...e){return Jn(this,"lastIndexOf",e)},map(e,t){return Ve(this,"map",e,t,void 0,arguments)},pop(){return Mt(this,"pop")},push(...e){return Mt(this,"push",e)},reduce(e,...t){return rr(this,"reduce",e,t)},reduceRight(e,...t){return rr(this,"reduceRight",e,t)},shift(){return Mt(this,"shift")},some(e,t){return Ve(this,"some",e,t,void 0,arguments)},splice(...e){return Mt(this,"splice",e)},toReversed(){return ht(this).toReversed()},toSorted(e){return ht(this).toSorted(e)},toSpliced(...e){return ht(this).toSpliced(...e)},unshift(...e){return Mt(this,"unshift",e)},values(){return qn(this,"values",he)}};function qn(e,t,n){const s=Dn(e),r=s[t]();return s!==e&&!Ae(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.value&&(i.value=n(i.value)),i}),r}const Do=Array.prototype;function Ve(e,t,n,s,r,i){const o=Dn(e),l=o!==e&&!Ae(e),c=o[t];if(c!==Do[t]){const a=c.apply(e,i);return l?he(a):a}let h=n;o!==e&&(l?h=function(a,p){return n.call(this,he(a),p,e)}:n.length>2&&(h=function(a,p){return n.call(this,a,p,e)}));const u=c.call(o,h,s);return l&&r?r(u):u}function rr(e,t,n,s){const r=Dn(e);let i=n;return r!==e&&(Ae(e)?n.length>3&&(i=function(o,l,c){return n.call(this,o,l,c,e)}):i=function(o,l,c){return n.call(this,o,he(l),c,e)}),r[t](i,...s)}function Jn(e,t,n){const s=G(e);pe(s,"iterate",Kt);const r=s[t](...n);return(r===-1||r===!1)&&Rs(n[0])?(n[0]=G(n[0]),s[t](...n)):r}function Mt(e,t,n=[]){et(),Ss();const s=G(e)[t].apply(e,n);return As(),tt(),s}const Lo=xs("__proto__,__v_isRef,__isVue"),ni=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter($e));function Bo(e){$e(e)||(e=String(e));const t=G(this);return pe(t,"has",e),t.hasOwnProperty(e)}class si{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?zo:li:i?oi:ii).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=N(t);if(!r){let c;if(o&&(c=No[n]))return c;if(n==="hasOwnProperty")return Bo}const l=Reflect.get(t,n,ue(t)?t:s);return($e(n)?ni.has(n):Lo(n))||(r||pe(t,"get",n),i)?l:ue(l)?o&&Es(n)?l:l.value:Z(l)?r?ci(l):Ms(l):l}}class ri extends si{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];if(!this._isShallow){const c=at(i);if(!Ae(s)&&!at(s)&&(i=G(i),s=G(s)),!N(t)&&ue(i)&&!ue(s))return c?!1:(i.value=s,!0)}const o=N(t)&&Es(n)?Number(n)<t.length:Y(t,n),l=Reflect.set(t,n,s,ue(t)?t:r);return t===G(r)&&(o?be(s,i)&&Ke(t,"set",n,s):Ke(t,"add",n,s)),l}deleteProperty(t,n){const s=Y(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&Ke(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!$e(n)||!ni.has(n))&&pe(t,"has",n),s}ownKeys(t){return pe(t,"iterate",N(t)?"length":ct),Reflect.ownKeys(t)}}class $o extends si{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Vo=new ri,Ho=new $o,jo=new ri(!0);const Fs=e=>e,Ln=e=>Reflect.getPrototypeOf(e);function Qt(e,t,n=!1,s=!1){e=e.__v_raw;const r=G(e),i=G(t);n||(be(t,i)&&pe(r,"get",t),pe(r,"get",i));const{has:o}=Ln(r),l=s?Fs:n?Ns:he;if(o.call(r,t))return l(e.get(t));if(o.call(r,i))return l(e.get(i));e!==r&&e.get(t)}function en(e,t=!1){const n=this.__v_raw,s=G(n),r=G(e);return t||(be(e,r)&&pe(s,"has",e),pe(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function tn(e,t=!1){return e=e.__v_raw,!t&&pe(G(e),"iterate",ct),Reflect.get(e,"size",e)}function ir(e,t=!1){!t&&!Ae(e)&&!at(e)&&(e=G(e));const n=G(this);return Ln(n).has.call(n,e)||(n.add(e),Ke(n,"add",e,e)),this}function or(e,t,n=!1){!n&&!Ae(t)&&!at(t)&&(t=G(t));const s=G(this),{has:r,get:i}=Ln(s);let o=r.call(s,e);o||(e=G(e),o=r.call(s,e));const l=i.call(s,e);return s.set(e,t),o?be(t,l)&&Ke(s,"set",e,t):Ke(s,"add",e,t),this}function lr(e){const t=G(this),{has:n,get:s}=Ln(t);let r=n.call(t,e);r||(e=G(e),r=n.call(t,e)),s&&s.call(t,e);const i=t.delete(e);return r&&Ke(t,"delete",e,void 0),i}function cr(){const e=G(this),t=e.size!==0,n=e.clear();return t&&Ke(e,"clear",void 0,void 0),n}function nn(e,t){return function(s,r){const i=this,o=i.__v_raw,l=G(o),c=t?Fs:e?Ns:he;return!e&&pe(l,"iterate",ct),o.forEach((h,u)=>s.call(r,c(h),c(u),i))}}function sn(e,t,n){return function(...s){const r=this.__v_raw,i=G(r),o=mt(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,h=r[e](...s),u=n?Fs:t?Ns:he;return!t&&pe(i,"iterate",c?rs:ct),{next(){const{value:a,done:p}=h.next();return p?{value:a,done:p}:{value:l?[u(a[0]),u(a[1])]:u(a),done:p}},[Symbol.iterator](){return this}}}}function qe(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function ko(){const e={get(i){return Qt(this,i)},get size(){return tn(this)},has:en,add:ir,set:or,delete:lr,clear:cr,forEach:nn(!1,!1)},t={get(i){return Qt(this,i,!1,!0)},get size(){return tn(this)},has:en,add(i){return ir.call(this,i,!0)},set(i,o){return or.call(this,i,o,!0)},delete:lr,clear:cr,forEach:nn(!1,!0)},n={get(i){return Qt(this,i,!0)},get size(){return tn(this,!0)},has(i){return en.call(this,i,!0)},add:qe("add"),set:qe("set"),delete:qe("delete"),clear:qe("clear"),forEach:nn(!0,!1)},s={get(i){return Qt(this,i,!0,!0)},get size(){return tn(this,!0)},has(i){return en.call(this,i,!0)},add:qe("add"),set:qe("set"),delete:qe("delete"),clear:qe("clear"),forEach:nn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=sn(i,!1,!1),n[i]=sn(i,!0,!1),t[i]=sn(i,!1,!0),s[i]=sn(i,!0,!0)}),[e,n,t,s]}const[Ko,Uo,Wo,Go]=ko();function Os(e,t){const n=t?e?Go:Wo:e?Uo:Ko;return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(Y(n,r)&&r in s?n:s,r,i)}const qo={get:Os(!1,!1)},Jo={get:Os(!1,!0)},Yo={get:Os(!0,!1)};const ii=new WeakMap,oi=new WeakMap,li=new WeakMap,zo=new WeakMap;function Zo(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Xo(e){return e.__v_skip||!Object.isExtensible(e)?0:Zo(yo(e))}function Ms(e){return at(e)?e:Ps(e,!1,Vo,qo,ii)}function Qo(e){return Ps(e,!1,jo,Jo,oi)}function ci(e){return Ps(e,!0,Ho,Yo,li)}function Ps(e,t,n,s,r){if(!Z(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=Xo(e);if(o===0)return e;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function yt(e){return at(e)?yt(e.__v_raw):!!(e&&e.__v_isReactive)}function at(e){return!!(e&&e.__v_isReadonly)}function Ae(e){return!!(e&&e.__v_isShallow)}function Rs(e){return e?!!e.__v_raw:!1}function G(e){const t=e&&e.__v_raw;return t?G(t):e}function el(e){return!Y(e,"__v_skip")&&Object.isExtensible(e)&&jr(e,"__v_skip",!0),e}const he=e=>Z(e)?Ms(e):e,Ns=e=>Z(e)?ci(e):e;function ue(e){return e?e.__v_isRef===!0:!1}function tl(e){return fi(e,!1)}function uf(e){return fi(e,!0)}function fi(e,t){return ue(e)?e:new nl(e,t)}class nl{constructor(t,n){this.dep=new Nn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:G(t),this._value=n?t:he(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Ae(t)||at(t);t=s?t:G(t),be(t,n)&&(this._rawValue=t,this._value=s?t:he(t),this.dep.trigger())}}function ui(e){return ue(e)?e.value:e}function af(e){return $(e)?e():ui(e)}const sl={get:(e,t,n)=>t==="__v_raw"?e:ui(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return ue(r)&&!ue(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function ai(e){return yt(e)?e:new Proxy(e,sl)}class rl{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Nn,{get:s,set:r}=t(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=r}get value(){return this._value=this._get()}set value(t){this._set(t)}}function il(e){return new rl(e)}function df(e){const t=N(e)?new Array(e.length):{};for(const n in e)t[n]=di(e,n);return t}class ol{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Ro(G(this._object),this._key)}}class ll{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function hf(e,t,n){return ue(e)?e:$(e)?new ll(e):Z(e)&&arguments.length>1?di(e,t,n):tl(e)}function di(e,t,n){const s=e[t];return ue(s)?s:new ol(e,t,n)}class cl{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Nn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=kt-1,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){this.flags|=16,X!==this&&this.dep.notify()}get value(){const t=this.dep.track();return Qr(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function fl(e,t,n=!1){let s,r;return $(e)?s=e:(s=e.get,r=e.set),new cl(s,r,n)}const rn={},mn=new WeakMap;let lt;function ul(e,t=!1,n=lt){if(n){let s=mn.get(n);s||mn.set(n,s=[]),s.push(e)}}function al(e,t,n=J){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:l,call:c}=n,h=y=>r?y:Ae(y)||r===!1||r===0?ke(y,1):ke(y);let u,a,p,_,C=!1,P=!1;if(ue(e)?(a=()=>e.value,C=Ae(e)):yt(e)?(a=()=>h(e),C=!0):N(e)?(P=!0,C=e.some(y=>yt(y)||Ae(y)),a=()=>e.map(y=>{if(ue(y))return y.value;if(yt(y))return h(y);if($(y))return c?c(y,2):y()})):$(e)?t?a=c?()=>c(e,2):e:a=()=>{if(p){et();try{p()}finally{tt()}}const y=lt;lt=u;try{return c?c(e,3,[_]):e(_)}finally{lt=y}}:a=Be,t&&r){const y=a,w=r===!0?1/0:r;a=()=>ke(y(),w)}const W=Oo(),V=()=>{u.stop(),W&&Ts(W.effects,u)};if(i)if(t){const y=t;t=(...w)=>{y(...w),V()}}else{const y=a;a=()=>{y(),V()}}let S=P?new Array(e.length).fill(rn):rn;const F=y=>{if(!(!(u.flags&1)||!u.dirty&&!y))if(t){const w=u.run();if(r||C||(P?w.some((R,j)=>be(R,S[j])):be(w,S))){p&&p();const R=lt;lt=u;try{const j=[w,S===rn?void 0:P&&S[0]===rn?[]:S,_];c?c(t,3,j):t(...j),S=w}finally{lt=R}}}else u.run()};return l&&l(F),u=new Yr(a),u.scheduler=o?()=>o(F,!1):F,_=y=>ul(y,!1,u),p=u.onStop=()=>{const y=mn.get(u);if(y){if(c)c(y,4);else for(const w of y)w();mn.delete(u)}},t?s?F(!0):S=u.run():o?o(F.bind(null,!0),!0):u.run(),V.pause=u.pause.bind(u),V.resume=u.resume.bind(u),V.stop=V,V}function ke(e,t=1/0,n){if(t<=0||!Z(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,ue(e))ke(e.value,t,n);else if(N(e))for(let s=0;s<e.length;s++)ke(e[s],t,n);else if(Fn(e)||mt(e))e.forEach(s=>{ke(s,t,n)});else if(Hr(e)){for(const s in e)ke(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&ke(e[s],t,n)}return e}/**
|
|
10
|
+
* @vue/runtime-core v3.5.5
|
|
11
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
12
|
+
* @license MIT
|
|
13
|
+
**/function Jt(e,t,n,s){try{return s?e(...s):e()}catch(r){Yt(r,t,n)}}function Re(e,t,n,s){if($(e)){const r=Jt(e,t,n,s);return r&&ws(r)&&r.catch(i=>{Yt(i,t,n)}),r}if(N(e)){const r=[];for(let i=0;i<e.length;i++)r.push(Re(e[i],t,n,s));return r}}function Yt(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||J;if(t){let l=t.parent;const c=t.proxy,h=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const u=l.ec;if(u){for(let a=0;a<u.length;a++)if(u[a](e,c,h)===!1)return}l=l.parent}if(i){et(),Jt(i,null,10,[e,c,h]),tt();return}}dl(e,n,r,s,o)}function dl(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}let Ut=!1,is=!1;const _e=[];let Le=0;const bt=[];let ze=null,pt=0;const hi=Promise.resolve();let Ds=null;function hl(e){const t=Ds||hi;return e?t.then(this?e.bind(this):e):t}function pl(e){let t=Ut?Le+1:0,n=_e.length;for(;t<n;){const s=t+n>>>1,r=_e[s],i=Wt(r);i<e||i===e&&r.flags&2?t=s+1:n=s}return t}function Ls(e){if(!(e.flags&1)){const t=Wt(e),n=_e[_e.length-1];!n||!(e.flags&2)&&t>=Wt(n)?_e.push(e):_e.splice(pl(t),0,e),e.flags|=1,pi()}}function pi(){!Ut&&!is&&(is=!0,Ds=hi.then(mi))}function os(e){N(e)?bt.push(...e):ze&&e.id===-1?ze.splice(pt+1,0,e):e.flags&1||(bt.push(e),e.flags|=1),pi()}function fr(e,t,n=Ut?Le+1:0){for(;n<_e.length;n++){const s=_e[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;_e.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&=-2}}}function gi(e){if(bt.length){const t=[...new Set(bt)].sort((n,s)=>Wt(n)-Wt(s));if(bt.length=0,ze){ze.push(...t);return}for(ze=t,pt=0;pt<ze.length;pt++){const n=ze[pt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}ze=null,pt=0}}const Wt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function mi(e){is=!1,Ut=!0;try{for(Le=0;Le<_e.length;Le++){const t=_e[Le];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Jt(t,t.i,t.i?15:14),t.flags&=-2)}}finally{for(;Le<_e.length;Le++){const t=_e[Le];t&&(t.flags&=-2)}Le=0,_e.length=0,gi(),Ut=!1,Ds=null,(_e.length||bt.length)&&mi()}}let oe=null,_i=null;function _n(e){const t=oe;return oe=e,_i=e&&e.type.__scopeId||null,t}function gl(e,t=oe,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&vr(-1);const i=_n(t);let o;try{o=e(...r)}finally{_n(i),s._d&&vr(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function pf(e,t){if(oe===null)return e;const n=Kn(oe),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,o,l,c=J]=t[r];i&&($(i)&&(i={mounted:i,updated:i}),i.deep&&ke(o),s.push({dir:i,instance:n,value:o,oldValue:void 0,arg:l,modifiers:c}))}return e}function rt(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const l=r[o];i&&(l.oldValue=i[o].value);let c=l.dir[s];c&&(et(),Re(c,n,8,[e.el,l,e,t]),tt())}}const yi=Symbol("_vte"),bi=e=>e.__isTeleport,$t=e=>e&&(e.disabled||e.disabled===""),ml=e=>e&&(e.defer||e.defer===""),ur=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ar=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,ls=(e,t)=>{const n=e&&e.to;return ne(n)?t?t(n):null:n},_l={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,i,o,l,c,h){const{mc:u,pc:a,pbc:p,o:{insert:_,querySelector:C,createText:P,createComment:W}}=h,V=$t(t.props);let{shapeFlag:S,children:F,dynamicChildren:y}=t;if(e==null){const w=t.el=P(""),R=t.anchor=P("");_(w,n,s),_(R,n,s);const j=(O,L)=>{S&16&&(r&&r.isCE&&(r.ce._teleportTarget=O),u(F,O,L,r,i,o,l,c))},k=()=>{const O=t.target=ls(t.props,C),L=vi(O,t,P,_);O&&(o!=="svg"&&ur(O)?o="svg":o!=="mathml"&&ar(O)&&(o="mathml"),V||(j(O,L),un(t)))};V&&(j(n,R),un(t)),ml(t.props)?le(k,i):k()}else{t.el=e.el,t.targetStart=e.targetStart;const w=t.anchor=e.anchor,R=t.target=e.target,j=t.targetAnchor=e.targetAnchor,k=$t(e.props),O=k?n:R,L=k?w:j;if(o==="svg"||ur(R)?o="svg":(o==="mathml"||ar(R))&&(o="mathml"),y?(p(e.dynamicChildren,y,O,r,i,o,l),Ws(e,t,!0)):c||a(e,t,O,L,r,i,o,l,!1),V)k?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):on(t,n,w,h,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const K=t.target=ls(t.props,C);K&&on(t,K,null,h,0)}else k&&on(t,R,j,h,1);un(t)}},remove(e,t,n,{um:s,o:{remove:r}},i){const{shapeFlag:o,children:l,anchor:c,targetStart:h,targetAnchor:u,target:a,props:p}=e;if(a&&(r(h),r(u)),i&&r(c),o&16){const _=i||!$t(p);for(let C=0;C<l.length;C++){const P=l[C];s(P,t,n,_,!!P.dynamicChildren)}}},move:on,hydrate:yl};function on(e,t,n,{o:{insert:s},m:r},i=2){i===0&&s(e.targetAnchor,t,n);const{el:o,anchor:l,shapeFlag:c,children:h,props:u}=e,a=i===2;if(a&&s(o,t,n),(!a||$t(u))&&c&16)for(let p=0;p<h.length;p++)r(h[p],t,n,2);a&&s(l,t,n)}function yl(e,t,n,s,r,i,{o:{nextSibling:o,parentNode:l,querySelector:c,insert:h,createText:u}},a){const p=t.target=ls(t.props,c);if(p){const _=p._lpa||p.firstChild;if(t.shapeFlag&16)if($t(t.props))t.anchor=a(o(e),t,l(e),n,s,r,i),t.targetStart=_,t.targetAnchor=_&&o(_);else{t.anchor=o(e);let C=_;for(;C;){if(C&&C.nodeType===8){if(C.data==="teleport start anchor")t.targetStart=C;else if(C.data==="teleport anchor"){t.targetAnchor=C,p._lpa=t.targetAnchor&&o(t.targetAnchor);break}}C=o(C)}t.targetAnchor||vi(p,t,u,h),a(_&&o(_),t,p,n,s,r,i)}un(t)}return t.anchor&&o(t.anchor)}const gf=_l;function un(e){const t=e.ctx;if(t&&t.ut){let n=e.targetStart;for(;n&&n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}function vi(e,t,n,s){const r=t.targetStart=n(""),i=t.targetAnchor=n("");return r[yi]=i,e&&(s(r,e),s(i,e)),i}const Ze=Symbol("_leaveCb"),ln=Symbol("_enterCb");function xi(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Vn(()=>{e.isMounted=!0}),Vs(()=>{e.isUnmounting=!0}),e}const Ee=[Function,Array],Ci={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ee,onEnter:Ee,onAfterEnter:Ee,onEnterCancelled:Ee,onBeforeLeave:Ee,onLeave:Ee,onAfterLeave:Ee,onLeaveCancelled:Ee,onBeforeAppear:Ee,onAppear:Ee,onAfterAppear:Ee,onAppearCancelled:Ee},Ti=e=>{const t=e.subTree;return t.component?Ti(t.component):t},bl={name:"BaseTransition",props:Ci,setup(e,{slots:t}){const n=At(),s=xi();return()=>{const r=t.default&&Bs(t.default(),!0);if(!r||!r.length)return;const i=wi(r),o=G(e),{mode:l}=o;if(s.isLeaving)return Yn(i);const c=dr(i);if(!c)return Yn(i);let h=Gt(c,o,s,n,p=>h=p);c.type!==ce&&Qe(c,h);const u=n.subTree,a=u&&dr(u);if(a&&a.type!==ce&&!Me(c,a)&&Ti(n).type!==ce){const p=Gt(a,o,s,n);if(Qe(a,p),l==="out-in"&&c.type!==ce)return s.isLeaving=!0,p.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete p.afterLeave},Yn(i);l==="in-out"&&c.type!==ce&&(p.delayLeave=(_,C,P)=>{const W=Ei(s,a);W[String(a.key)]=a,_[Ze]=()=>{C(),_[Ze]=void 0,delete h.delayedLeave},h.delayedLeave=P})}return i}}};function wi(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==ce){t=n;break}}return t}const vl=bl;function Ei(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Gt(e,t,n,s,r){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:h,onAfterEnter:u,onEnterCancelled:a,onBeforeLeave:p,onLeave:_,onAfterLeave:C,onLeaveCancelled:P,onBeforeAppear:W,onAppear:V,onAfterAppear:S,onAppearCancelled:F}=t,y=String(e.key),w=Ei(n,e),R=(O,L)=>{O&&Re(O,s,9,L)},j=(O,L)=>{const K=L[1];R(O,L),N(O)?O.every(M=>M.length<=1)&&K():O.length<=1&&K()},k={mode:o,persisted:l,beforeEnter(O){let L=c;if(!n.isMounted)if(i)L=W||c;else return;O[Ze]&&O[Ze](!0);const K=w[y];K&&Me(e,K)&&K.el[Ze]&&K.el[Ze](),R(L,[O])},enter(O){let L=h,K=u,M=a;if(!n.isMounted)if(i)L=V||h,K=S||u,M=F||a;else return;let q=!1;const re=O[ln]=we=>{q||(q=!0,we?R(M,[O]):R(K,[O]),k.delayedLeave&&k.delayedLeave(),O[ln]=void 0)};L?j(L,[O,re]):re()},leave(O,L){const K=String(e.key);if(O[ln]&&O[ln](!0),n.isUnmounting)return L();R(p,[O]);let M=!1;const q=O[Ze]=re=>{M||(M=!0,L(),re?R(P,[O]):R(C,[O]),O[Ze]=void 0,w[K]===e&&delete w[K])};w[K]=e,_?j(_,[O,q]):q()},clone(O){const L=Gt(O,t,n,s,r);return r&&r(L),L}};return k}function Yn(e){if(Bn(e))return e=Ue(e),e.children=null,e}function dr(e){if(!Bn(e))return bi(e.type)&&e.children?wi(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&$(n.default))return n.default()}}function Qe(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Qe(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Bs(e,t=!1,n){let s=[],r=0;for(let i=0;i<e.length;i++){let o=e[i];const l=n==null?o.key:String(n)+String(o.key!=null?o.key:i);o.type===ye?(o.patchFlag&128&&r++,s=s.concat(Bs(o.children,t,l))):(t||o.type!==ce)&&s.push(l!=null?Ue(o,{key:l}):o)}if(r>1)for(let i=0;i<s.length;i++)s[i].patchFlag=-2;return s}/*! #__NO_SIDE_EFFECTS__ */function mf(e,t){return $(e)?ie({name:e.name},t,{setup:e}):e}function Si(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function cs(e,t,n,s,r=!1){if(N(e)){e.forEach((C,P)=>cs(C,t&&(N(t)?t[P]:t),n,s,r));return}if(ft(s)&&!r)return;const i=s.shapeFlag&4?Kn(s.component):s.el,o=r?null:i,{i:l,r:c}=e,h=t&&t.r,u=l.refs===J?l.refs={}:l.refs,a=l.setupState,p=G(a),_=a===J?()=>!1:C=>Y(p,C);if(h!=null&&h!==c&&(ne(h)?(u[h]=null,_(h)&&(a[h]=null)):ue(h)&&(h.value=null)),$(c))Jt(c,l,12,[o,u]);else{const C=ne(c),P=ue(c);if(C||P){const W=()=>{if(e.f){const V=C?_(c)?a[c]:u[c]:c.value;r?N(V)&&Ts(V,i):N(V)?V.includes(i)||V.push(i):C?(u[c]=[i],_(c)&&(a[c]=u[c])):(c.value=[i],e.k&&(u[e.k]=c.value))}else C?(u[c]=o,_(c)&&(a[c]=o)):P&&(c.value=o,e.k&&(u[e.k]=o))};o?(W.id=-1,le(W,n)):W()}}}const ft=e=>!!e.type.__asyncLoader,Bn=e=>e.type.__isKeepAlive,xl={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=At(),s=n.ctx;if(!s.renderer)return()=>{const S=t.default&&t.default();return S&&S.length===1?S[0]:S};const r=new Map,i=new Set;let o=null;const l=n.suspense,{renderer:{p:c,m:h,um:u,o:{createElement:a}}}=s,p=a("div");s.activate=(S,F,y,w,R)=>{const j=S.component;h(S,F,y,0,l),c(j.vnode,S,F,y,j,l,w,S.slotScopeIds,R),le(()=>{j.isDeactivated=!1,j.a&&_t(j.a);const k=S.props&&S.props.onVnodeMounted;k&&Se(k,j.parent,S)},l)},s.deactivate=S=>{const F=S.component;vn(F.m),vn(F.a),h(S,p,null,1,l),le(()=>{F.da&&_t(F.da);const y=S.props&&S.props.onVnodeUnmounted;y&&Se(y,F.parent,S),F.isDeactivated=!0},l)};function _(S){zn(S),u(S,n,l,!0)}function C(S){r.forEach((F,y)=>{const w=ys(F.type);w&&!S(w)&&P(y)})}function P(S){const F=r.get(S);F&&(!o||!Me(F,o))?_(F):o&&zn(o),r.delete(S),i.delete(S)}dn(()=>[e.include,e.exclude],([S,F])=>{S&&C(y=>Nt(S,y)),F&&C(y=>!Nt(F,y))},{flush:"post",deep:!0});let W=null;const V=()=>{W!=null&&(xn(n.subTree.type)?le(()=>{r.set(W,cn(n.subTree))},n.subTree.suspense):r.set(W,cn(n.subTree)))};return Vn(V),$s(V),Vs(()=>{r.forEach(S=>{const{subTree:F,suspense:y}=n,w=cn(F);if(S.type===w.type&&S.key===w.key){zn(w);const R=w.component.da;R&&le(R,y);return}_(S)})}),()=>{if(W=null,!t.default)return o=null;const S=t.default(),F=S[0];if(S.length>1)return o=null,S;if(!wt(F)||!(F.shapeFlag&4)&&!(F.shapeFlag&128))return o=null,F;let y=cn(F);if(y.type===ce)return o=null,y;const w=y.type,R=ys(ft(y)?y.type.__asyncResolved||{}:w),{include:j,exclude:k,max:O}=e;if(j&&(!R||!Nt(j,R))||k&&R&&Nt(k,R))return y.shapeFlag&=-257,o=y,F;const L=y.key==null?w:y.key,K=r.get(L);return y.el&&(y=Ue(y),F.shapeFlag&128&&(F.ssContent=y)),W=L,K?(y.el=K.el,y.component=K.component,y.transition&&Qe(y,y.transition),y.shapeFlag|=512,i.delete(L),i.add(L)):(i.add(L),O&&i.size>parseInt(O,10)&&P(i.values().next().value)),y.shapeFlag|=256,o=y,xn(F.type)?F:y}}},_f=xl;function Nt(e,t){return N(e)?e.some(n=>Nt(n,t)):ne(e)?e.split(",").includes(t):_o(e)?(e.lastIndex=0,e.test(t)):!1}function Cl(e,t){Ai(e,"a",t)}function Tl(e,t){Ai(e,"da",t)}function Ai(e,t,n=fe){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if($n(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Bn(r.parent.vnode)&&wl(s,t,n,r),r=r.parent}}function wl(e,t,n,s){const r=$n(t,e,s,!0);Hs(()=>{Ts(s[t],r)},n)}function zn(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function cn(e){return e.shapeFlag&128?e.ssContent:e}function $n(e,t,n=fe,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{et();const l=dt(n),c=Re(t,n,e,o);return l(),tt(),c});return s?r.unshift(i):r.push(i),i}}const Ge=e=>(t,n=fe)=>{(!kn||e==="sp")&&$n(e,(...s)=>t(...s),n)},Ii=Ge("bm"),Vn=Ge("m"),El=Ge("bu"),$s=Ge("u"),Vs=Ge("bum"),Hs=Ge("um"),Sl=Ge("sp"),Al=Ge("rtg"),Il=Ge("rtc");function Fl(e,t=fe){$n("ec",e,t)}const js="components",Ol="directives";function yf(e,t){return ks(js,e,!0,t)||e}const Fi=Symbol.for("v-ndc");function bf(e){return ne(e)?ks(js,e,!1)||e:e||Fi}function vf(e){return ks(Ol,e)}function ks(e,t,n=!0,s=!1){const r=oe||fe;if(r){const i=r.type;if(e===js){const l=ys(i,!1);if(l&&(l===t||l===Ie(t)||l===Mn(Ie(t))))return i}const o=hr(r[e]||i[e],t)||hr(r.appContext[e],t);return!o&&s?i:o}}function hr(e,t){return e&&(e[t]||e[Ie(t)]||e[Mn(Ie(t))])}function xf(e,t,n,s){let r;const i=n,o=N(e);if(o||ne(e)){const l=o&&yt(e);let c=!1;l&&(c=!Ae(e),e=Dn(e)),r=new Array(e.length);for(let h=0,u=e.length;h<u;h++)r[h]=t(c?he(e[h]):e[h],h,void 0,i)}else if(typeof e=="number"){r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,i)}else if(Z(e))if(e[Symbol.iterator])r=Array.from(e,(l,c)=>t(l,c,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,h=l.length;c<h;c++){const u=l[c];r[c]=t(e[u],u,c,i)}}else r=[];return r}function Cf(e,t){for(let n=0;n<t.length;n++){const s=t[n];if(N(s))for(let r=0;r<s.length;r++)e[s[r].name]=s[r].fn;else s&&(e[s.name]=s.key?(...r)=>{const i=s.fn(...r);return i&&(i.key=s.key),i}:s.fn)}return e}function Tf(e,t,n={},s,r){if(oe.ce||oe.parent&&ft(oe.parent)&&oe.parent.ce)return t!=="default"&&(n.name=t),Cn(),ps(ye,null,[ae("slot",n,s&&s())],64);let i=e[t];i&&i._c&&(i._d=!1),Cn();const o=i&&Oi(i(n)),l=ps(ye,{key:(n.key||o&&o.key||`_${t}`)+(!o&&s?"_fb":"")},o||(s?s():[]),o&&e._===1?64:-2);return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function Oi(e){return e.some(t=>wt(t)?!(t.type===ce||t.type===ye&&!Oi(t.children)):!0)?e:null}function wf(e,t){const n={};for(const s in e)n[/[A-Z]/.test(s)?`on:${s}`:fn(s)]=e[s];return n}const fs=e=>e?Zi(e)?Kn(e):fs(e.parent):null,Vt=ie(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=>fs(e.parent),$root:e=>fs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ks(e),$forceUpdate:e=>e.f||(e.f=()=>{Ls(e.update)}),$nextTick:e=>e.n||(e.n=hl.bind(e.proxy)),$watch:e=>ec.bind(e)}),Zn=(e,t)=>e!==J&&!e.__isScriptSetup&&Y(e,t),Ml={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;let h;if(t[0]!=="$"){const _=o[t];if(_!==void 0)switch(_){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(Zn(s,t))return o[t]=1,s[t];if(r!==J&&Y(r,t))return o[t]=2,r[t];if((h=e.propsOptions[0])&&Y(h,t))return o[t]=3,i[t];if(n!==J&&Y(n,t))return o[t]=4,n[t];us&&(o[t]=0)}}const u=Vt[t];let a,p;if(u)return t==="$attrs"&&pe(e.attrs,"get",""),u(e);if((a=l.__cssModules)&&(a=a[t]))return a;if(n!==J&&Y(n,t))return o[t]=4,n[t];if(p=c.config.globalProperties,Y(p,t))return p[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return Zn(r,t)?(r[t]=n,!0):s!==J&&Y(s,t)?(s[t]=n,!0):Y(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let l;return!!n[o]||e!==J&&Y(e,o)||Zn(t,o)||(l=i[0])&&Y(l,o)||Y(s,o)||Y(Vt,o)||Y(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Y(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function yn(e){return N(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Ef(e,t){return!e||!t?e||t:N(e)&&N(t)?e.concat(t):ie({},yn(e),yn(t))}function Sf(e){const t=At();let n=e();return ms(),ws(n)&&(n=n.catch(s=>{throw dt(t),s})),[n,()=>dt(t)]}let us=!0;function Pl(e){const t=Ks(e),n=e.proxy,s=e.ctx;us=!1,t.beforeCreate&&pr(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:h,created:u,beforeMount:a,mounted:p,beforeUpdate:_,updated:C,activated:P,deactivated:W,beforeDestroy:V,beforeUnmount:S,destroyed:F,unmounted:y,render:w,renderTracked:R,renderTriggered:j,errorCaptured:k,serverPrefetch:O,expose:L,inheritAttrs:K,components:M,directives:q,filters:re}=t;if(h&&Rl(h,s,null),o)for(const Q in o){const ee=o[Q];$(ee)&&(s[Q]=ee.bind(n))}if(r){const Q=r.call(n,n);Z(Q)&&(e.data=Ms(Q))}if(us=!0,i)for(const Q in i){const ee=i[Q],nt=$(ee)?ee.bind(n,n):$(ee.get)?ee.get.bind(n,n):Be,Zt=!$(ee)&&$(ee.set)?ee.set.bind(n):Be,st=Ec({get:nt,set:Zt});Object.defineProperty(s,Q,{enumerable:!0,configurable:!0,get:()=>st.value,set:Ne=>st.value=Ne})}if(l)for(const Q in l)Mi(l[Q],s,n,Q);if(c){const Q=$(c)?c.call(n):c;Reflect.ownKeys(Q).forEach(ee=>{Vl(ee,Q[ee])})}u&&pr(u,e,"c");function se(Q,ee){N(ee)?ee.forEach(nt=>Q(nt.bind(n))):ee&&Q(ee.bind(n))}if(se(Ii,a),se(Vn,p),se(El,_),se($s,C),se(Cl,P),se(Tl,W),se(Fl,k),se(Il,R),se(Al,j),se(Vs,S),se(Hs,y),se(Sl,O),N(L))if(L.length){const Q=e.exposed||(e.exposed={});L.forEach(ee=>{Object.defineProperty(Q,ee,{get:()=>n[ee],set:nt=>n[ee]=nt})})}else e.exposed||(e.exposed={});w&&e.render===Be&&(e.render=w),K!=null&&(e.inheritAttrs=K),M&&(e.components=M),q&&(e.directives=q),O&&Si(e)}function Rl(e,t,n=Be){N(e)&&(e=as(e));for(const s in e){const r=e[s];let i;Z(r)?"default"in r?i=an(r.from||s,r.default,!0):i=an(r.from||s):i=an(r),ue(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function pr(e,t,n){Re(N(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Mi(e,t,n,s){let r=s.includes(".")?Ki(n,s):()=>n[s];if(ne(e)){const i=t[e];$(i)&&dn(r,i)}else if($(e))dn(r,e.bind(n));else if(Z(e))if(N(e))e.forEach(i=>Mi(i,t,n,s));else{const i=$(e.handler)?e.handler.bind(n):t[e.handler];$(i)&&dn(r,i,e)}}function Ks(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(h=>bn(c,h,o,!0)),bn(c,t,o)),Z(t)&&i.set(t,c),c}function bn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&bn(e,i,n,!0),r&&r.forEach(o=>bn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=Nl[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Nl={data:gr,props:mr,emits:mr,methods:Dt,computed:Dt,beforeCreate:ge,created:ge,beforeMount:ge,mounted:ge,beforeUpdate:ge,updated:ge,beforeDestroy:ge,beforeUnmount:ge,destroyed:ge,unmounted:ge,activated:ge,deactivated:ge,errorCaptured:ge,serverPrefetch:ge,components:Dt,directives:Dt,watch:Ll,provide:gr,inject:Dl};function gr(e,t){return t?e?function(){return ie($(e)?e.call(this,this):e,$(t)?t.call(this,this):t)}:t:e}function Dl(e,t){return Dt(as(e),as(t))}function as(e){if(N(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ge(e,t){return e?[...new Set([].concat(e,t))]:t}function Dt(e,t){return e?ie(Object.create(null),e,t):t}function mr(e,t){return e?N(e)&&N(t)?[...new Set([...e,...t])]:ie(Object.create(null),yn(e),yn(t??{})):t}function Ll(e,t){if(!e)return t;if(!t)return e;const n=ie(Object.create(null),e);for(const s in t)n[s]=ge(e[s],t[s]);return n}function Pi(){return{app:null,config:{isNativeTag:go,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 Bl=0;function $l(e,t){return function(s,r=null){$(s)||(s=ie({},s)),r!=null&&!Z(r)&&(r=null);const i=Pi(),o=new WeakSet,l=[];let c=!1;const h=i.app={_uid:Bl++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:Ac,get config(){return i.config},set config(u){},use(u,...a){return o.has(u)||(u&&$(u.install)?(o.add(u),u.install(h,...a)):$(u)&&(o.add(u),u(h,...a))),h},mixin(u){return i.mixins.includes(u)||i.mixins.push(u),h},component(u,a){return a?(i.components[u]=a,h):i.components[u]},directive(u,a){return a?(i.directives[u]=a,h):i.directives[u]},mount(u,a,p){if(!c){const _=h._ceVNode||ae(s,r);return _.appContext=i,p===!0?p="svg":p===!1&&(p=void 0),a&&t?t(_,u):e(_,u,p),c=!0,h._container=u,u.__vue_app__=h,Kn(_.component)}},onUnmount(u){l.push(u)},unmount(){c&&(Re(l,h._instance,16),e(null,h._container),delete h._container.__vue_app__)},provide(u,a){return i.provides[u]=a,h},runWithContext(u){const a=ut;ut=h;try{return u()}finally{ut=a}}};return h}}let ut=null;function Vl(e,t){if(fe){let n=fe.provides;const s=fe.parent&&fe.parent.provides;s===n&&(n=fe.provides=Object.create(s)),n[e]=t}}function an(e,t,n=!1){const s=fe||oe;if(s||ut){const r=ut?ut._context.provides:s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&$(t)?t.call(s&&s.proxy):t}}function Af(){return!!(fe||oe||ut)}const Ri={},Ni=()=>Object.create(Ri),Di=e=>Object.getPrototypeOf(e)===Ri;function Hl(e,t,n,s=!1){const r={},i=Ni();e.propsDefaults=Object.create(null),Li(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:Qo(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function jl(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=G(r),[c]=e.propsOptions;let h=!1;if((s||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let a=0;a<u.length;a++){let p=u[a];if(Hn(e.emitsOptions,p))continue;const _=t[p];if(c)if(Y(i,p))_!==i[p]&&(i[p]=_,h=!0);else{const C=Ie(p);r[C]=ds(c,l,C,_,e,!1)}else _!==i[p]&&(i[p]=_,h=!0)}}}else{Li(e,t,r,i)&&(h=!0);let u;for(const a in l)(!t||!Y(t,a)&&((u=We(a))===a||!Y(t,u)))&&(c?n&&(n[a]!==void 0||n[u]!==void 0)&&(r[a]=ds(c,l,a,void 0,e,!0)):delete r[a]);if(i!==l)for(const a in i)(!t||!Y(t,a))&&(delete i[a],h=!0)}h&&Ke(e.attrs,"set","")}function Li(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,l;if(t)for(let c in t){if(Lt(c))continue;const h=t[c];let u;r&&Y(r,u=Ie(c))?!i||!i.includes(u)?n[u]=h:(l||(l={}))[u]=h:Hn(e.emitsOptions,c)||(!(c in s)||h!==s[c])&&(s[c]=h,o=!0)}if(i){const c=G(n),h=l||J;for(let u=0;u<i.length;u++){const a=i[u];n[a]=ds(r,c,a,h[a],e,!Y(h,a))}}return o}function ds(e,t,n,s,r,i){const o=e[n];if(o!=null){const l=Y(o,"default");if(l&&s===void 0){const c=o.default;if(o.type!==Function&&!o.skipFactory&&$(c)){const{propsDefaults:h}=r;if(n in h)s=h[n];else{const u=dt(r);s=h[n]=c.call(null,t),u()}}else s=c;r.ce&&r.ce._setProp(n,s)}o[0]&&(i&&!l?s=!1:o[1]&&(s===""||s===We(n))&&(s=!0))}return s}const kl=new WeakMap;function Bi(e,t,n=!1){const s=n?kl:t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},l=[];let c=!1;if(!$(e)){const u=a=>{c=!0;const[p,_]=Bi(a,t,!0);ie(o,p),_&&l.push(..._)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!c)return Z(e)&&s.set(e,gt),gt;if(N(i))for(let u=0;u<i.length;u++){const a=Ie(i[u]);_r(a)&&(o[a]=J)}else if(i)for(const u in i){const a=Ie(u);if(_r(a)){const p=i[u],_=o[a]=N(p)||$(p)?{type:p}:ie({},p),C=_.type;let P=!1,W=!0;if(N(C))for(let V=0;V<C.length;++V){const S=C[V],F=$(S)&&S.name;if(F==="Boolean"){P=!0;break}else F==="String"&&(W=!1)}else P=$(C)&&C.name==="Boolean";_[0]=P,_[1]=W,(P||Y(_,"default"))&&l.push(a)}}const h=[o,l];return Z(e)&&s.set(e,h),h}function _r(e){return e[0]!=="$"&&!Lt(e)}const $i=e=>e[0]==="_"||e==="$stable",Us=e=>N(e)?e.map(Oe):[Oe(e)],Kl=(e,t,n)=>{if(t._n)return t;const s=gl((...r)=>Us(t(...r)),n);return s._c=!1,s},Vi=(e,t,n)=>{const s=e._ctx;for(const r in e){if($i(r))continue;const i=e[r];if($(i))t[r]=Kl(r,i,s);else if(i!=null){const o=Us(i);t[r]=()=>o}}},Hi=(e,t)=>{const n=Us(t);e.slots.default=()=>n},ji=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},Ul=(e,t,n)=>{const s=e.slots=Ni();if(e.vnode.shapeFlag&32){const r=t._;r?(ji(s,t,n),n&&jr(s,"_",r,!0)):Vi(t,s)}else t&&Hi(e,t)},Wl=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=J;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:ji(r,t,n):(i=!t.$stable,Vi(t,r)),o=t}else t&&(Hi(e,t),o={default:1});if(i)for(const l in r)!$i(l)&&o[l]==null&&delete r[l]},le=ac;function Gl(e){return ql(e)}function ql(e,t){const n=Kr();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:h,setElementText:u,parentNode:a,nextSibling:p,setScopeId:_=Be,insertStaticContent:C}=e,P=(f,d,g,v=null,m=null,b=null,A=void 0,E=null,T=!!d.dynamicChildren)=>{if(f===d)return;f&&!Me(f,d)&&(v=Xt(f),Ne(f,m,b,!0),f=null),d.patchFlag===-2&&(T=!1,d.dynamicChildren=null);const{type:x,ref:B,shapeFlag:I}=d;switch(x){case jn:W(f,d,g,v);break;case ce:V(f,d,g,v);break;case Ht:f==null&&S(d,g,v,A);break;case ye:M(f,d,g,v,m,b,A,E,T);break;default:I&1?w(f,d,g,v,m,b,A,E,T):I&6?q(f,d,g,v,m,b,A,E,T):(I&64||I&128)&&x.process(f,d,g,v,m,b,A,E,T,Ft)}B!=null&&m&&cs(B,f&&f.ref,b,d||f,!d)},W=(f,d,g,v)=>{if(f==null)s(d.el=l(d.children),g,v);else{const m=d.el=f.el;d.children!==f.children&&h(m,d.children)}},V=(f,d,g,v)=>{f==null?s(d.el=c(d.children||""),g,v):d.el=f.el},S=(f,d,g,v)=>{[f.el,f.anchor]=C(f.children,d,g,v,f.el,f.anchor)},F=({el:f,anchor:d},g,v)=>{let m;for(;f&&f!==d;)m=p(f),s(f,g,v),f=m;s(d,g,v)},y=({el:f,anchor:d})=>{let g;for(;f&&f!==d;)g=p(f),r(f),f=g;r(d)},w=(f,d,g,v,m,b,A,E,T)=>{d.type==="svg"?A="svg":d.type==="math"&&(A="mathml"),f==null?R(d,g,v,m,b,A,E,T):O(f,d,m,b,A,E,T)},R=(f,d,g,v,m,b,A,E)=>{let T,x;const{props:B,shapeFlag:I,transition:D,dirs:H}=f;if(T=f.el=o(f.type,b,B&&B.is,B),I&8?u(T,f.children):I&16&&k(f.children,T,null,v,m,Xn(f,b),A,E),H&&rt(f,null,v,"created"),j(T,f,f.scopeId,A,v),B){for(const te in B)te!=="value"&&!Lt(te)&&i(T,te,null,B[te],b,v);"value"in B&&i(T,"value",null,B.value,b),(x=B.onVnodeBeforeMount)&&Se(x,v,f)}H&&rt(f,null,v,"beforeMount");const U=Jl(m,D);U&&D.beforeEnter(T),s(T,d,g),((x=B&&B.onVnodeMounted)||U||H)&&le(()=>{x&&Se(x,v,f),U&&D.enter(T),H&&rt(f,null,v,"mounted")},m)},j=(f,d,g,v,m)=>{if(g&&_(f,g),v)for(let b=0;b<v.length;b++)_(f,v[b]);if(m){let b=m.subTree;if(d===b||xn(b.type)&&(b.ssContent===d||b.ssFallback===d)){const A=m.vnode;j(f,A,A.scopeId,A.slotScopeIds,m.parent)}}},k=(f,d,g,v,m,b,A,E,T=0)=>{for(let x=T;x<f.length;x++){const B=f[x]=E?Xe(f[x]):Oe(f[x]);P(null,B,d,g,v,m,b,A,E)}},O=(f,d,g,v,m,b,A)=>{const E=d.el=f.el;let{patchFlag:T,dynamicChildren:x,dirs:B}=d;T|=f.patchFlag&16;const I=f.props||J,D=d.props||J;let H;if(g&&it(g,!1),(H=D.onVnodeBeforeUpdate)&&Se(H,g,d,f),B&&rt(d,f,g,"beforeUpdate"),g&&it(g,!0),(I.innerHTML&&D.innerHTML==null||I.textContent&&D.textContent==null)&&u(E,""),x?L(f.dynamicChildren,x,E,g,v,Xn(d,m),b):A||ee(f,d,E,null,g,v,Xn(d,m),b,!1),T>0){if(T&16)K(E,I,D,g,m);else if(T&2&&I.class!==D.class&&i(E,"class",null,D.class,m),T&4&&i(E,"style",I.style,D.style,m),T&8){const U=d.dynamicProps;for(let te=0;te<U.length;te++){const z=U[te],xe=I[z],de=D[z];(de!==xe||z==="value")&&i(E,z,xe,de,m,g)}}T&1&&f.children!==d.children&&u(E,d.children)}else!A&&x==null&&K(E,I,D,g,m);((H=D.onVnodeUpdated)||B)&&le(()=>{H&&Se(H,g,d,f),B&&rt(d,f,g,"updated")},v)},L=(f,d,g,v,m,b,A)=>{for(let E=0;E<d.length;E++){const T=f[E],x=d[E],B=T.el&&(T.type===ye||!Me(T,x)||T.shapeFlag&70)?a(T.el):g;P(T,x,B,null,v,m,b,A,!0)}},K=(f,d,g,v,m)=>{if(d!==g){if(d!==J)for(const b in d)!Lt(b)&&!(b in g)&&i(f,b,d[b],null,m,v);for(const b in g){if(Lt(b))continue;const A=g[b],E=d[b];A!==E&&b!=="value"&&i(f,b,E,A,m,v)}"value"in g&&i(f,"value",d.value,g.value,m)}},M=(f,d,g,v,m,b,A,E,T)=>{const x=d.el=f?f.el:l(""),B=d.anchor=f?f.anchor:l("");let{patchFlag:I,dynamicChildren:D,slotScopeIds:H}=d;H&&(E=E?E.concat(H):H),f==null?(s(x,g,v),s(B,g,v),k(d.children||[],g,B,m,b,A,E,T)):I>0&&I&64&&D&&f.dynamicChildren?(L(f.dynamicChildren,D,g,m,b,A,E),(d.key!=null||m&&d===m.subTree)&&Ws(f,d,!0)):ee(f,d,g,B,m,b,A,E,T)},q=(f,d,g,v,m,b,A,E,T)=>{d.slotScopeIds=E,f==null?d.shapeFlag&512?m.ctx.activate(d,g,v,A,T):re(d,g,v,m,b,A,T):we(f,d,T)},re=(f,d,g,v,m,b,A)=>{const E=f.component=bc(f,v,m);if(Bn(f)&&(E.ctx.renderer=Ft),vc(E,!1,A),E.asyncDep){if(m&&m.registerDep(E,se,A),!f.el){const T=E.subTree=ae(ce);V(null,T,d,g)}}else se(E,f,d,g,m,b,A)},we=(f,d,g)=>{const v=d.component=f.component;if(ic(f,d,g))if(v.asyncDep&&!v.asyncResolved){Q(v,d,g);return}else v.next=d,v.update();else d.el=f.el,v.vnode=d},se=(f,d,g,v,m,b,A)=>{const E=()=>{if(f.isMounted){let{next:I,bu:D,u:H,parent:U,vnode:te}=f;{const Ce=ki(f);if(Ce){I&&(I.el=te.el,Q(f,I,A)),Ce.asyncDep.then(()=>{f.isUnmounted||E()});return}}let z=I,xe;it(f,!1),I?(I.el=te.el,Q(f,I,A)):I=te,D&&_t(D),(xe=I.props&&I.props.onVnodeBeforeUpdate)&&Se(xe,U,I,te),it(f,!0);const de=Qn(f),Fe=f.subTree;f.subTree=de,P(Fe,de,a(Fe.el),Xt(Fe),f,m,b),I.el=de.el,z===null&&Gs(f,de.el),H&&le(H,m),(xe=I.props&&I.props.onVnodeUpdated)&&le(()=>Se(xe,U,I,te),m)}else{let I;const{el:D,props:H}=d,{bm:U,m:te,parent:z,root:xe,type:de}=f,Fe=ft(d);if(it(f,!1),U&&_t(U),!Fe&&(I=H&&H.onVnodeBeforeMount)&&Se(I,z,d),it(f,!0),D&&Xs){const Ce=()=>{f.subTree=Qn(f),Xs(D,f.subTree,f,m,null)};Fe&&de.__asyncHydrate?de.__asyncHydrate(D,f,Ce):Ce()}else{xe.ce&&xe.ce._injectChildStyle(de);const Ce=f.subTree=Qn(f);P(null,Ce,g,v,f,m,b),d.el=Ce.el}if(te&&le(te,m),!Fe&&(I=H&&H.onVnodeMounted)){const Ce=d;le(()=>Se(I,z,Ce),m)}(d.shapeFlag&256||z&&ft(z.vnode)&&z.vnode.shapeFlag&256)&&f.a&&le(f.a,m),f.isMounted=!0,d=g=v=null}};f.scope.on();const T=f.effect=new Yr(E);f.scope.off();const x=f.update=T.run.bind(T),B=f.job=T.runIfDirty.bind(T);B.i=f,B.id=f.uid,T.scheduler=()=>Ls(B),it(f,!0),x()},Q=(f,d,g)=>{d.component=f;const v=f.vnode.props;f.vnode=d,f.next=null,jl(f,d.props,v,g),Wl(f,d.children,g),et(),fr(f),tt()},ee=(f,d,g,v,m,b,A,E,T=!1)=>{const x=f&&f.children,B=f?f.shapeFlag:0,I=d.children,{patchFlag:D,shapeFlag:H}=d;if(D>0){if(D&128){Zt(x,I,g,v,m,b,A,E,T);return}else if(D&256){nt(x,I,g,v,m,b,A,E,T);return}}H&8?(B&16&&It(x,m,b),I!==x&&u(g,I)):B&16?H&16?Zt(x,I,g,v,m,b,A,E,T):It(x,m,b,!0):(B&8&&u(g,""),H&16&&k(I,g,v,m,b,A,E,T))},nt=(f,d,g,v,m,b,A,E,T)=>{f=f||gt,d=d||gt;const x=f.length,B=d.length,I=Math.min(x,B);let D;for(D=0;D<I;D++){const H=d[D]=T?Xe(d[D]):Oe(d[D]);P(f[D],H,g,null,m,b,A,E,T)}x>B?It(f,m,b,!0,!1,I):k(d,g,v,m,b,A,E,T,I)},Zt=(f,d,g,v,m,b,A,E,T)=>{let x=0;const B=d.length;let I=f.length-1,D=B-1;for(;x<=I&&x<=D;){const H=f[x],U=d[x]=T?Xe(d[x]):Oe(d[x]);if(Me(H,U))P(H,U,g,null,m,b,A,E,T);else break;x++}for(;x<=I&&x<=D;){const H=f[I],U=d[D]=T?Xe(d[D]):Oe(d[D]);if(Me(H,U))P(H,U,g,null,m,b,A,E,T);else break;I--,D--}if(x>I){if(x<=D){const H=D+1,U=H<B?d[H].el:v;for(;x<=D;)P(null,d[x]=T?Xe(d[x]):Oe(d[x]),g,U,m,b,A,E,T),x++}}else if(x>D)for(;x<=I;)Ne(f[x],m,b,!0),x++;else{const H=x,U=x,te=new Map;for(x=U;x<=D;x++){const Te=d[x]=T?Xe(d[x]):Oe(d[x]);Te.key!=null&&te.set(Te.key,x)}let z,xe=0;const de=D-U+1;let Fe=!1,Ce=0;const Ot=new Array(de);for(x=0;x<de;x++)Ot[x]=0;for(x=H;x<=I;x++){const Te=f[x];if(xe>=de){Ne(Te,m,b,!0);continue}let De;if(Te.key!=null)De=te.get(Te.key);else for(z=U;z<=D;z++)if(Ot[z-U]===0&&Me(Te,d[z])){De=z;break}De===void 0?Ne(Te,m,b,!0):(Ot[De-U]=x+1,De>=Ce?Ce=De:Fe=!0,P(Te,d[De],g,null,m,b,A,E,T),xe++)}const Qs=Fe?Yl(Ot):gt;for(z=Qs.length-1,x=de-1;x>=0;x--){const Te=U+x,De=d[Te],er=Te+1<B?d[Te+1].el:v;Ot[x]===0?P(null,De,g,er,m,b,A,E,T):Fe&&(z<0||x!==Qs[z]?st(De,g,er,2):z--)}}},st=(f,d,g,v,m=null)=>{const{el:b,type:A,transition:E,children:T,shapeFlag:x}=f;if(x&6){st(f.component.subTree,d,g,v);return}if(x&128){f.suspense.move(d,g,v);return}if(x&64){A.move(f,d,g,Ft);return}if(A===ye){s(b,d,g);for(let I=0;I<T.length;I++)st(T[I],d,g,v);s(f.anchor,d,g);return}if(A===Ht){F(f,d,g);return}if(v!==2&&x&1&&E)if(v===0)E.beforeEnter(b),s(b,d,g),le(()=>E.enter(b),m);else{const{leave:I,delayLeave:D,afterLeave:H}=E,U=()=>s(b,d,g),te=()=>{I(b,()=>{U(),H&&H()})};D?D(b,U,te):te()}else s(b,d,g)},Ne=(f,d,g,v=!1,m=!1)=>{const{type:b,props:A,ref:E,children:T,dynamicChildren:x,shapeFlag:B,patchFlag:I,dirs:D,cacheIndex:H}=f;if(I===-2&&(m=!1),E!=null&&cs(E,null,g,f,!0),H!=null&&(d.renderCache[H]=void 0),B&256){d.ctx.deactivate(f);return}const U=B&1&&D,te=!ft(f);let z;if(te&&(z=A&&A.onVnodeBeforeUnmount)&&Se(z,d,f),B&6)po(f.component,g,v);else{if(B&128){f.suspense.unmount(g,v);return}U&&rt(f,null,d,"beforeUnmount"),B&64?f.type.remove(f,d,g,Ft,v):x&&!x.hasOnce&&(b!==ye||I>0&&I&64)?It(x,d,g,!1,!0):(b===ye&&I&384||!m&&B&16)&&It(T,d,g),v&&Ys(f)}(te&&(z=A&&A.onVnodeUnmounted)||U)&&le(()=>{z&&Se(z,d,f),U&&rt(f,null,d,"unmounted")},g)},Ys=f=>{const{type:d,el:g,anchor:v,transition:m}=f;if(d===ye){ho(g,v);return}if(d===Ht){y(f);return}const b=()=>{r(g),m&&!m.persisted&&m.afterLeave&&m.afterLeave()};if(f.shapeFlag&1&&m&&!m.persisted){const{leave:A,delayLeave:E}=m,T=()=>A(g,b);E?E(f.el,b,T):T()}else b()},ho=(f,d)=>{let g;for(;f!==d;)g=p(f),r(f),f=g;r(d)},po=(f,d,g)=>{const{bum:v,scope:m,job:b,subTree:A,um:E,m:T,a:x}=f;vn(T),vn(x),v&&_t(v),m.stop(),b&&(b.flags|=8,Ne(A,f,d,g)),E&&le(E,d),le(()=>{f.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},It=(f,d,g,v=!1,m=!1,b=0)=>{for(let A=b;A<f.length;A++)Ne(f[A],d,g,v,m)},Xt=f=>{if(f.shapeFlag&6)return Xt(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const d=p(f.anchor||f.el),g=d&&d[yi];return g?p(g):d};let Un=!1;const zs=(f,d,g)=>{f==null?d._vnode&&Ne(d._vnode,null,null,!0):P(d._vnode||null,f,d,null,null,null,g),d._vnode=f,Un||(Un=!0,fr(),gi(),Un=!1)},Ft={p:P,um:Ne,m:st,r:Ys,mt:re,mc:k,pc:ee,pbc:L,n:Xt,o:e};let Zs,Xs;return{render:zs,hydrate:Zs,createApp:$l(zs,Zs)}}function Xn({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function it({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Jl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ws(e,t,n=!1){const s=e.children,r=t.children;if(N(s)&&N(r))for(let i=0;i<s.length;i++){const o=s[i];let l=r[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[i]=Xe(r[i]),l.el=o.el),!n&&l.patchFlag!==-2&&Ws(o,l)),l.type===jn&&(l.el=o.el)}}function Yl(e){const t=e.slice(),n=[0];let s,r,i,o,l;const c=e.length;for(s=0;s<c;s++){const h=e[s];if(h!==0){if(r=n[n.length-1],e[r]<h){t[s]=r,n.push(s);continue}for(i=0,o=n.length-1;i<o;)l=i+o>>1,e[n[l]]<h?i=l+1:o=l;h<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function ki(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ki(t)}function vn(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const zl=Symbol.for("v-scx"),Zl=()=>an(zl);function If(e,t){return zt(e,null,t)}function Xl(e,t){return zt(e,null,{flush:"post"})}function Ql(e,t){return zt(e,null,{flush:"sync"})}function dn(e,t,n){return zt(e,t,n)}function zt(e,t,n=J){const{immediate:s,deep:r,flush:i,once:o}=n,l=ie({},n);let c;if(kn)if(i==="sync"){const p=Zl();c=p.__watcherHandles||(p.__watcherHandles=[])}else if(!t||s)l.once=!0;else return{stop:Be,resume:Be,pause:Be};const h=fe;l.call=(p,_,C)=>Re(p,h,_,C);let u=!1;i==="post"?l.scheduler=p=>{le(p,h&&h.suspense)}:i!=="sync"&&(u=!0,l.scheduler=(p,_)=>{_?p():Ls(p)}),l.augmentJob=p=>{t&&(p.flags|=4),u&&(p.flags|=2,h&&(p.id=h.uid,p.i=h))};const a=al(e,t,l);return c&&c.push(a),a}function ec(e,t,n){const s=this.proxy,r=ne(e)?e.includes(".")?Ki(s,e):()=>s[e]:e.bind(s,s);let i;$(t)?i=t:(i=t.handler,n=t);const o=dt(this),l=zt(r,i.bind(s),n);return o(),l}function Ki(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}function Ff(e,t,n=J){const s=At(),r=Ie(t),i=We(t),o=Ui(e,t),l=il((c,h)=>{let u,a=J,p;return Ql(()=>{const _=e[t];be(u,_)&&(u=_,h())}),{get(){return c(),n.get?n.get(u):u},set(_){const C=n.set?n.set(_):_;if(!be(C,u)&&!(a!==J&&be(_,a)))return;const P=s.vnode.props;P&&(t in P||r in P||i in P)&&(`onUpdate:${t}`in P||`onUpdate:${r}`in P||`onUpdate:${i}`in P)||(u=_,h()),s.emit(`update:${t}`,C),be(_,C)&&be(_,a)&&!be(C,p)&&h(),a=_,p=C}}});return l[Symbol.iterator]=()=>{let c=0;return{next(){return c<2?{value:c++?o||J:l,done:!1}:{done:!0}}}},l}const Ui=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ie(t)}Modifiers`]||e[`${We(t)}Modifiers`];function tc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||J;let r=n;const i=t.startsWith("update:"),o=i&&Ui(s,t.slice(7));o&&(o.trim&&(r=n.map(u=>ne(u)?u.trim():u)),o.number&&(r=n.map(xo)));let l,c=s[l=fn(t)]||s[l=fn(Ie(t))];!c&&i&&(c=s[l=fn(We(t))]),c&&Re(c,e,6,r);const h=s[l+"Once"];if(h){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Re(h,e,6,r)}}function Wi(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!$(e)){const c=h=>{const u=Wi(h,t,!0);u&&(l=!0,ie(o,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(Z(e)&&s.set(e,null),null):(N(i)?i.forEach(c=>o[c]=null):ie(o,i),Z(e)&&s.set(e,o),o)}function Hn(e,t){return!e||!In(t)?!1:(t=t.slice(2).replace(/Once$/,""),Y(e,t[0].toLowerCase()+t.slice(1))||Y(e,We(t))||Y(e,t))}function Qn(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:c,render:h,renderCache:u,props:a,data:p,setupState:_,ctx:C,inheritAttrs:P}=e,W=_n(e);let V,S;try{if(n.shapeFlag&4){const y=r||s,w=y;V=Oe(h.call(w,y,u,a,_,p,C)),S=l}else{const y=t;V=Oe(y.length>1?y(a,{attrs:l,slots:o,emit:c}):y(a,null)),S=t.props?l:sc(l)}}catch(y){jt.length=0,Yt(y,e,1),V=ae(ce)}let F=V;if(S&&P!==!1){const y=Object.keys(S),{shapeFlag:w}=F;y.length&&w&7&&(i&&y.some(Cs)&&(S=rc(S,i)),F=Ue(F,S,!1,!0))}return n.dirs&&(F=Ue(F,null,!1,!0),F.dirs=F.dirs?F.dirs.concat(n.dirs):n.dirs),n.transition&&Qe(F,n.transition),V=F,_n(W),V}function nc(e,t=!0){let n;for(let s=0;s<e.length;s++){const r=e[s];if(wt(r)){if(r.type!==ce||r.children==="v-if"){if(n)return;n=r}}else return}return n}const sc=e=>{let t;for(const n in e)(n==="class"||n==="style"||In(n))&&((t||(t={}))[n]=e[n]);return t},rc=(e,t)=>{const n={};for(const s in e)(!Cs(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function ic(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,h=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?yr(s,o,h):!!o;if(c&8){const u=t.dynamicProps;for(let a=0;a<u.length;a++){const p=u[a];if(o[p]!==s[p]&&!Hn(h,p))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===o?!1:s?o?yr(s,o,h):!0:!!o;return!1}function yr(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const i=s[r];if(t[i]!==e[i]&&!Hn(n,i))return!0}return!1}function Gs({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const xn=e=>e.__isSuspense;let hs=0;const oc={name:"Suspense",__isSuspense:!0,process(e,t,n,s,r,i,o,l,c,h){if(e==null)lc(t,n,s,r,i,o,l,c,h);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}cc(e,t,n,s,r,o,l,c,h)}},hydrate:fc,normalize:uc},Of=oc;function qt(e,t){const n=e.props&&e.props[t];$(n)&&n()}function lc(e,t,n,s,r,i,o,l,c){const{p:h,o:{createElement:u}}=c,a=u("div"),p=e.suspense=Gi(e,r,s,t,a,n,i,o,l,c);h(null,p.pendingBranch=e.ssContent,a,null,s,p,i,o),p.deps>0?(qt(e,"onPending"),qt(e,"onFallback"),h(null,e.ssFallback,t,n,s,null,i,o),vt(p,e.ssFallback)):p.resolve(!1,!0)}function cc(e,t,n,s,r,i,o,l,{p:c,um:h,o:{createElement:u}}){const a=t.suspense=e.suspense;a.vnode=t,t.el=e.el;const p=t.ssContent,_=t.ssFallback,{activeBranch:C,pendingBranch:P,isInFallback:W,isHydrating:V}=a;if(P)a.pendingBranch=p,Me(p,P)?(c(P,p,a.hiddenContainer,null,r,a,i,o,l),a.deps<=0?a.resolve():W&&(V||(c(C,_,n,s,r,null,i,o,l),vt(a,_)))):(a.pendingId=hs++,V?(a.isHydrating=!1,a.activeBranch=P):h(P,r,a),a.deps=0,a.effects.length=0,a.hiddenContainer=u("div"),W?(c(null,p,a.hiddenContainer,null,r,a,i,o,l),a.deps<=0?a.resolve():(c(C,_,n,s,r,null,i,o,l),vt(a,_))):C&&Me(p,C)?(c(C,p,n,s,r,a,i,o,l),a.resolve(!0)):(c(null,p,a.hiddenContainer,null,r,a,i,o,l),a.deps<=0&&a.resolve()));else if(C&&Me(p,C))c(C,p,n,s,r,a,i,o,l),vt(a,p);else if(qt(t,"onPending"),a.pendingBranch=p,p.shapeFlag&512?a.pendingId=p.component.suspenseId:a.pendingId=hs++,c(null,p,a.hiddenContainer,null,r,a,i,o,l),a.deps<=0)a.resolve();else{const{timeout:S,pendingId:F}=a;S>0?setTimeout(()=>{a.pendingId===F&&a.fallback(_)},S):S===0&&a.fallback(_)}}function Gi(e,t,n,s,r,i,o,l,c,h,u=!1){const{p:a,m:p,um:_,n:C,o:{parentNode:P,remove:W}}=h;let V;const S=dc(e);S&&t&&t.pendingBranch&&(V=t.pendingId,t.deps++);const F=e.props?kr(e.props.timeout):void 0,y=i,w={vnode:e,parent:t,parentComponent:n,namespace:o,container:s,hiddenContainer:r,deps:0,pendingId:hs++,timeout:typeof F=="number"?F:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(R=!1,j=!1){const{vnode:k,activeBranch:O,pendingBranch:L,pendingId:K,effects:M,parentComponent:q,container:re}=w;let we=!1;w.isHydrating?w.isHydrating=!1:R||(we=O&&L.transition&&L.transition.mode==="out-in",we&&(O.transition.afterLeave=()=>{K===w.pendingId&&(p(L,re,i===y?C(O):i,0),os(M))}),O&&(P(O.el)===re&&(i=C(O)),_(O,q,w,!0)),we||p(L,re,i,0)),vt(w,L),w.pendingBranch=null,w.isInFallback=!1;let se=w.parent,Q=!1;for(;se;){if(se.pendingBranch){se.effects.push(...M),Q=!0;break}se=se.parent}!Q&&!we&&os(M),w.effects=[],S&&t&&t.pendingBranch&&V===t.pendingId&&(t.deps--,t.deps===0&&!j&&t.resolve()),qt(k,"onResolve")},fallback(R){if(!w.pendingBranch)return;const{vnode:j,activeBranch:k,parentComponent:O,container:L,namespace:K}=w;qt(j,"onFallback");const M=C(k),q=()=>{w.isInFallback&&(a(null,R,L,M,O,null,K,l,c),vt(w,R))},re=R.transition&&R.transition.mode==="out-in";re&&(k.transition.afterLeave=q),w.isInFallback=!0,_(k,O,null,!0),re||q()},move(R,j,k){w.activeBranch&&p(w.activeBranch,R,j,k),w.container=R},next(){return w.activeBranch&&C(w.activeBranch)},registerDep(R,j,k){const O=!!w.pendingBranch;O&&w.deps++;const L=R.vnode.el;R.asyncDep.catch(K=>{Yt(K,R,0)}).then(K=>{if(R.isUnmounted||w.isUnmounted||w.pendingId!==R.suspenseId)return;R.asyncResolved=!0;const{vnode:M}=R;_s(R,K,!1),L&&(M.el=L);const q=!L&&R.subTree.el;j(R,M,P(L||R.subTree.el),L?null:C(R.subTree),w,o,k),q&&W(q),Gs(R,M.el),O&&--w.deps===0&&w.resolve()})},unmount(R,j){w.isUnmounted=!0,w.activeBranch&&_(w.activeBranch,n,R,j),w.pendingBranch&&_(w.pendingBranch,n,R,j)}};return w}function fc(e,t,n,s,r,i,o,l,c){const h=t.suspense=Gi(t,s,n,e.parentNode,document.createElement("div"),null,r,i,o,l,!0),u=c(e,h.pendingBranch=t.ssContent,n,h,i,o);return h.deps===0&&h.resolve(!1,!0),u}function uc(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=br(s?n.default:n),e.ssFallback=s?br(n.fallback):ae(ce)}function br(e){let t;if($(e)){const n=Tt&&e._c;n&&(e._d=!1,Cn()),e=e(),n&&(e._d=!0,t=ve,qi())}return N(e)&&(e=nc(e)),e=Oe(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function ac(e,t){t&&t.pendingBranch?N(e)?t.effects.push(...e):t.effects.push(e):os(e)}function vt(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e;let r=t.el;for(;!r&&t.component;)t=t.component.subTree,r=t.el;n.el=r,s&&s.subTree===n&&(s.vnode.el=r,Gs(s,r))}function dc(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const ye=Symbol.for("v-fgt"),jn=Symbol.for("v-txt"),ce=Symbol.for("v-cmt"),Ht=Symbol.for("v-stc"),jt=[];let ve=null;function Cn(e=!1){jt.push(ve=e?null:[])}function qi(){jt.pop(),ve=jt[jt.length-1]||null}let Tt=1;function vr(e){Tt+=e,e<0&&ve&&(ve.hasOnce=!0)}function Ji(e){return e.dynamicChildren=Tt>0?ve||gt:null,qi(),Tt>0&&ve&&ve.push(e),e}function Mf(e,t,n,s,r,i){return Ji(zi(e,t,n,s,r,i,!0))}function ps(e,t,n,s,r){return Ji(ae(e,t,n,s,r,!0))}function wt(e){return e?e.__v_isVNode===!0:!1}function Me(e,t){return e.type===t.type&&e.key===t.key}const Yi=({key:e})=>e??null,hn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ne(e)||ue(e)||$(e)?{i:oe,r:e,k:t,f:!!n}:e:null);function zi(e,t=null,n=null,s=0,r=null,i=e===ye?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Yi(t),ref:t&&hn(t),scopeId:_i,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:oe};return l?(qs(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=ne(n)?8:16),Tt>0&&!o&&ve&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&ve.push(c),c}const ae=hc;function hc(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===Fi)&&(e=ce),wt(e)){const l=Ue(e,t,!0);return n&&qs(l,n),Tt>0&&!i&&ve&&(l.shapeFlag&6?ve[ve.indexOf(e)]=l:ve.push(l)),l.patchFlag=-2,l}if(wc(e)&&(e=e.__vccOpts),t){t=pc(t);let{class:l,style:c}=t;l&&!ne(l)&&(t.class=Rn(l)),Z(c)&&(Rs(c)&&!N(c)&&(c=ie({},c)),t.style=Pn(c))}const o=ne(e)?1:xn(e)?128:bi(e)?64:Z(e)?4:$(e)?2:0;return zi(e,t,n,s,r,o,i,!0)}function pc(e){return e?Rs(e)||Di(e)?ie({},e):e:null}function Ue(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:c}=e,h=t?mc(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:h,key:h&&Yi(h),ref:t&&t.ref?n&&i?N(i)?i.concat(hn(t)):[i,hn(t)]:hn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ye?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ue(e.ssContent),ssFallback:e.ssFallback&&Ue(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Qe(u,c.clone(u)),u}function gc(e=" ",t=0){return ae(jn,null,e,t)}function Pf(e,t){const n=ae(Ht,null,e);return n.staticCount=t,n}function Rf(e="",t=!1){return t?(Cn(),ps(ce,null,e)):ae(ce,null,e)}function Oe(e){return e==null||typeof e=="boolean"?ae(ce):N(e)?ae(ye,null,e.slice()):typeof e=="object"?Xe(e):ae(jn,null,String(e))}function Xe(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ue(e)}function qs(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(N(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),qs(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Di(t)?t._ctx=oe:r===3&&oe&&(oe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else $(t)?(t={default:t,_ctx:oe},n=32):(t=String(t),s&64?(n=16,t=[gc(t)]):n=8);e.children=t,e.shapeFlag|=n}function mc(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=Rn([t.class,s.class]));else if(r==="style")t.style=Pn([t.style,s.style]);else if(In(r)){const i=t[r],o=s[r];o&&i!==o&&!(N(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=s[r])}return t}function Se(e,t,n,s=null){Re(e,t,7,[n,s])}const _c=Pi();let yc=0;function bc(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||_c,i={uid:yc++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Jr(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Bi(s,r),emitsOptions:Wi(s,r),emit:null,emitted:null,propsDefaults:J,inheritAttrs:s.inheritAttrs,ctx:J,data:J,props:J,attrs:J,slots:J,refs:J,setupState:J,setupContext:null,suspense:n,suspenseId:n?n.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 i.ctx={_:i},i.root=t?t.root:i,i.emit=tc.bind(null,i),e.ce&&e.ce(i),i}let fe=null;const At=()=>fe||oe;let Tn,gs;{const e=Kr(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};Tn=t("__VUE_INSTANCE_SETTERS__",n=>fe=n),gs=t("__VUE_SSR_SETTERS__",n=>kn=n)}const dt=e=>{const t=fe;return Tn(e),e.scope.on(),()=>{e.scope.off(),Tn(t)}},ms=()=>{fe&&fe.scope.off(),Tn(null)};function Zi(e){return e.vnode.shapeFlag&4}let kn=!1;function vc(e,t=!1,n=!1){t&&gs(t);const{props:s,children:r}=e.vnode,i=Zi(e);Hl(e,s,i,t),Ul(e,r,n);const o=i?xc(e,t):void 0;return t&&gs(!1),o}function xc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Ml);const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Tc(e):null,i=dt(e);et();const o=Jt(s,e,0,[e.props,r]);if(tt(),i(),ws(o)){if(ft(e)||Si(e),o.then(ms,ms),t)return o.then(l=>{_s(e,l,t)}).catch(l=>{Yt(l,e,0)});e.asyncDep=o}else _s(e,o,t)}else Xi(e,t)}function _s(e,t,n){$(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Z(t)&&(e.setupState=ai(t)),Xi(e,n)}let xr;function Xi(e,t,n){const s=e.type;if(!e.render){if(!t&&xr&&!s.render){const r=s.template||Ks(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,h=ie(ie({isCustomElement:i,delimiters:l},o),c);s.render=xr(r,h)}}e.render=s.render||Be}{const r=dt(e);et();try{Pl(e)}finally{tt(),r()}}}const Cc={get(e,t){return pe(e,"get",""),e[t]}};function Tc(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Cc),slots:e.slots,emit:e.emit,expose:t}}function Kn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ai(el(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Vt)return Vt[n](e)},has(t,n){return n in t||n in Vt}})):e.proxy}function ys(e,t=!0){return $(e)?e.displayName||e.name:e.name||t&&e.__name}function wc(e){return $(e)&&"__vccOpts"in e}const Ec=(e,t)=>fl(e,t,kn);function Sc(e,t,n){const s=arguments.length;return s===2?Z(t)&&!N(t)?wt(t)?ae(e,null,[t]):ae(e,t):ae(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&wt(n)&&(n=[n]),ae(e,t,n))}const Ac="3.5.5";/**
|
|
14
|
+
* @vue/runtime-dom v3.5.5
|
|
15
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
16
|
+
* @license MIT
|
|
17
|
+
**/let bs;const Cr=typeof window<"u"&&window.trustedTypes;if(Cr)try{bs=Cr.createPolicy("vue",{createHTML:e=>e})}catch{}const Qi=bs?e=>bs.createHTML(e):e=>e,Ic="http://www.w3.org/2000/svg",Fc="http://www.w3.org/1998/Math/MathML",je=typeof document<"u"?document:null,Tr=je&&je.createElement("template"),Oc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?je.createElementNS(Ic,e):t==="mathml"?je.createElementNS(Fc,e):n?je.createElement(e,{is:n}):je.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>je.createTextNode(e),createComment:e=>je.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>je.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{Tr.innerHTML=Qi(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=Tr.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Je="transition",Pt="animation",Et=Symbol("_vtc"),eo={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},to=ie({},Ci,eo),Mc=e=>(e.displayName="Transition",e.props=to,e),Nf=Mc((e,{slots:t})=>Sc(vl,no(e),t)),ot=(e,t=[])=>{N(e)?e.forEach(n=>n(...t)):e&&e(...t)},wr=e=>e?N(e)?e.some(t=>t.length>1):e.length>1:!1;function no(e){const t={};for(const M in e)M in eo||(t[M]=e[M]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:h=o,appearToClass:u=l,leaveFromClass:a=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:_=`${n}-leave-to`}=e,C=Pc(r),P=C&&C[0],W=C&&C[1],{onBeforeEnter:V,onEnter:S,onEnterCancelled:F,onLeave:y,onLeaveCancelled:w,onBeforeAppear:R=V,onAppear:j=S,onAppearCancelled:k=F}=t,O=(M,q,re)=>{Ye(M,q?u:l),Ye(M,q?h:o),re&&re()},L=(M,q)=>{M._isLeaving=!1,Ye(M,a),Ye(M,_),Ye(M,p),q&&q()},K=M=>(q,re)=>{const we=M?j:S,se=()=>O(q,M,re);ot(we,[q,se]),Er(()=>{Ye(q,M?c:i),He(q,M?u:l),wr(we)||Sr(q,s,P,se)})};return ie(t,{onBeforeEnter(M){ot(V,[M]),He(M,i),He(M,o)},onBeforeAppear(M){ot(R,[M]),He(M,c),He(M,h)},onEnter:K(!1),onAppear:K(!0),onLeave(M,q){M._isLeaving=!0;const re=()=>L(M,q);He(M,a),He(M,p),ro(),Er(()=>{M._isLeaving&&(Ye(M,a),He(M,_),wr(y)||Sr(M,s,W,re))}),ot(y,[M,re])},onEnterCancelled(M){O(M,!1),ot(F,[M])},onAppearCancelled(M){O(M,!0),ot(k,[M])},onLeaveCancelled(M){L(M),ot(w,[M])}})}function Pc(e){if(e==null)return null;if(Z(e))return[es(e.enter),es(e.leave)];{const t=es(e);return[t,t]}}function es(e){return kr(e)}function He(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Et]||(e[Et]=new Set)).add(t)}function Ye(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Et];n&&(n.delete(t),n.size||(e[Et]=void 0))}function Er(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Rc=0;function Sr(e,t,n,s){const r=e._endId=++Rc,i=()=>{r===e._endId&&s()};if(n)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=so(e,t);if(!o)return s();const h=o+"end";let u=0;const a=()=>{e.removeEventListener(h,p),i()},p=_=>{_.target===e&&++u>=c&&a()};setTimeout(()=>{u<c&&a()},l+1),e.addEventListener(h,p)}function so(e,t){const n=window.getComputedStyle(e),s=C=>(n[C]||"").split(", "),r=s(`${Je}Delay`),i=s(`${Je}Duration`),o=Ar(r,i),l=s(`${Pt}Delay`),c=s(`${Pt}Duration`),h=Ar(l,c);let u=null,a=0,p=0;t===Je?o>0&&(u=Je,a=o,p=i.length):t===Pt?h>0&&(u=Pt,a=h,p=c.length):(a=Math.max(o,h),u=a>0?o>h?Je:Pt:null,p=u?u===Je?i.length:c.length:0);const _=u===Je&&/\b(transform|all)(,|$)/.test(s(`${Je}Property`).toString());return{type:u,timeout:a,propCount:p,hasTransform:_}}function Ar(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Ir(n)+Ir(e[s])))}function Ir(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function ro(){return document.body.offsetHeight}function Nc(e,t,n){const s=e[Et];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const wn=Symbol("_vod"),io=Symbol("_vsh"),Df={beforeMount(e,{value:t},{transition:n}){e[wn]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Rt(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),Rt(e,!0),s.enter(e)):s.leave(e,()=>{Rt(e,!1)}):Rt(e,t))},beforeUnmount(e,{value:t}){Rt(e,t)}};function Rt(e,t){e.style.display=t?e[wn]:"none",e[io]=!t}const oo=Symbol("");function Lf(e){const t=At();if(!t)return;const n=t.ut=(r=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>En(i,r))},s=()=>{const r=e(t.proxy);t.ce?En(t.ce,r):vs(t.subTree,r),n(r)};Ii(()=>{Xl(s)}),Vn(()=>{const r=new MutationObserver(s);r.observe(t.subTree.el.parentNode,{childList:!0}),Hs(()=>r.disconnect())})}function vs(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{vs(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)En(e.el,t);else if(e.type===ye)e.children.forEach(n=>vs(n,t));else if(e.type===Ht){let{el:n,anchor:s}=e;for(;n&&(En(n,t),n!==s);)n=n.nextSibling}}function En(e,t){if(e.nodeType===1){const n=e.style;let s="";for(const r in t)n.setProperty(`--${r}`,t[r]),s+=`--${r}: ${t[r]};`;n[oo]=s}}const Dc=/(^|;)\s*display\s*:/;function Lc(e,t,n){const s=e.style,r=ne(n);let i=!1;if(n&&!r){if(t)if(ne(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&pn(s,l,"")}else for(const o in t)n[o]==null&&pn(s,o,"");for(const o in n)o==="display"&&(i=!0),pn(s,o,n[o])}else if(r){if(t!==n){const o=s[oo];o&&(n+=";"+o),s.cssText=n,i=Dc.test(n)}}else t&&e.removeAttribute("style");wn in e&&(e[wn]=i?s.display:"",e[io]&&(s.display="none"))}const Fr=/\s*!important$/;function pn(e,t,n){if(N(n))n.forEach(s=>pn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Bc(e,t);Fr.test(n)?e.setProperty(We(s),n.replace(Fr,""),"important"):e[s]=n}}const Or=["Webkit","Moz","ms"],ts={};function Bc(e,t){const n=ts[t];if(n)return n;let s=Ie(t);if(s!=="filter"&&s in e)return ts[t]=s;s=Mn(s);for(let r=0;r<Or.length;r++){const i=Or[r]+s;if(i in e)return ts[t]=i}return t}const Mr="http://www.w3.org/1999/xlink";function Pr(e,t,n,s,r,i=Ao(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Mr,t.slice(6,t.length)):e.setAttributeNS(Mr,t,n):n==null||i&&!Ur(n)?e.removeAttribute(t):e.setAttribute(t,i?"":$e(n)?String(n):n)}function $c(e,t,n,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Qi(n):n);return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const o=r==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(o!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const o=typeof e[t];o==="boolean"?n=Ur(n):n==null&&o==="string"?(n="",i=!0):o==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(t)}function Js(e,t,n,s){e.addEventListener(t,n,s)}function Vc(e,t,n,s){e.removeEventListener(t,n,s)}const Rr=Symbol("_vei");function Hc(e,t,n,s,r=null){const i=e[Rr]||(e[Rr]={}),o=i[t];if(s&&o)o.value=s;else{const[l,c]=jc(t);if(s){const h=i[t]=Uc(s,r);Js(e,l,h,c)}else o&&(Vc(e,l,o,c),i[t]=void 0)}}const Nr=/(?:Once|Passive|Capture)$/;function jc(e){let t;if(Nr.test(e)){t={};let s;for(;s=e.match(Nr);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):We(e.slice(2)),t]}let ns=0;const kc=Promise.resolve(),Kc=()=>ns||(kc.then(()=>ns=0),ns=Date.now());function Uc(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Re(Wc(s,n.value),t,5,[s])};return n.value=e,n.attached=Kc(),n}function Wc(e,t){if(N(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Dr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Gc=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?Nc(e,s,o):t==="style"?Lc(e,n,s):In(t)?Cs(t)||Hc(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):qc(e,t,s,o))?($c(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Pr(e,t,s,o,i,t!=="value")):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Pr(e,t,s,o))};function qc(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Dr(t)&&$(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Dr(t)&&ne(n)?!1:!!(t in e||e._isVueCE&&(/[A-Z]/.test(t)||!ne(n)))}const lo=new WeakMap,co=new WeakMap,Sn=Symbol("_moveCb"),Lr=Symbol("_enterCb"),Jc=e=>(delete e.props.mode,e),Yc=Jc({name:"TransitionGroup",props:ie({},to,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=At(),s=xi();let r,i;return $s(()=>{if(!r.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!Qc(r[0].el,n.vnode.el,o))return;r.forEach(zc),r.forEach(Zc);const l=r.filter(Xc);ro(),l.forEach(c=>{const h=c.el,u=h.style;He(h,o),u.transform=u.webkitTransform=u.transitionDuration="";const a=h[Sn]=p=>{p&&p.target!==h||(!p||/transform$/.test(p.propertyName))&&(h.removeEventListener("transitionend",a),h[Sn]=null,Ye(h,o))};h.addEventListener("transitionend",a)})}),()=>{const o=G(e),l=no(o);let c=o.tag||ye;if(r=[],i)for(let h=0;h<i.length;h++){const u=i[h];u.el&&u.el instanceof Element&&(r.push(u),Qe(u,Gt(u,l,s,n)),lo.set(u,u.el.getBoundingClientRect()))}i=t.default?Bs(t.default()):[];for(let h=0;h<i.length;h++){const u=i[h];u.key!=null&&Qe(u,Gt(u,l,s,n))}return ae(c,null,i)}}}),Bf=Yc;function zc(e){const t=e.el;t[Sn]&&t[Sn](),t[Lr]&&t[Lr]()}function Zc(e){co.set(e,e.el.getBoundingClientRect())}function Xc(e){const t=lo.get(e),n=co.get(e),s=t.left-n.left,r=t.top-n.top;if(s||r){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${s}px,${r}px)`,i.transitionDuration="0s",e}}function Qc(e,t,n){const s=e.cloneNode(),r=e[Et];r&&r.forEach(l=>{l.split(/\s+/).forEach(c=>c&&s.classList.remove(c))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(s);const{hasTransform:o}=so(s);return i.removeChild(s),o}const An=e=>{const t=e.props["onUpdate:modelValue"]||!1;return N(t)?n=>_t(t,n):t},xt=Symbol("_assign"),$f={deep:!0,created(e,t,n){e[xt]=An(n),Js(e,"change",()=>{const s=e._modelValue,r=fo(e),i=e.checked,o=e[xt];if(N(s)){const l=Wr(s,r),c=l!==-1;if(i&&!c)o(s.concat(r));else if(!i&&c){const h=[...s];h.splice(l,1),o(h)}}else if(Fn(s)){const l=new Set(s);i?l.add(r):l.delete(r),o(l)}else o(uo(e,i))})},mounted:Br,beforeUpdate(e,t,n){e[xt]=An(n),Br(e,t,n)}};function Br(e,{value:t,oldValue:n},s){e._modelValue=t;let r;N(t)?r=Wr(t,s.props.value)>-1:Fn(t)?r=t.has(s.props.value):r=Ct(t,uo(e,!0)),e.checked!==r&&(e.checked=r)}const Vf={created(e,{value:t},n){e.checked=Ct(t,n.props.value),e[xt]=An(n),Js(e,"change",()=>{e[xt](fo(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[xt]=An(s),t!==n&&(e.checked=Ct(t,s.props.value))}};function fo(e){return"_value"in e?e._value:e.value}function uo(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const ef=["ctrl","shift","alt","meta"],tf={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>ef.some(n=>e[`${n}Key`]&&!t.includes(n))},Hf=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...i)=>{for(let o=0;o<t.length;o++){const l=tf[t[o]];if(l&&l(r,t))return}return e(r,...i)})},nf={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},jf=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const i=We(r.key);if(t.some(o=>o===i||nf[o]===i))return e(r)})},sf=ie({patchProp:Gc},Oc);let $r;function ao(){return $r||($r=Gl(sf))}const kf=(...e)=>{ao().render(...e)},Kf=(...e)=>{const t=ao().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=of(s);if(!r)return;const i=t._component;!$(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=n(r,!1,rf(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function rf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function of(e){return ne(e)?document.querySelector(e):e}export{Sc as $,hf as A,ci as B,At as C,uf as D,Ms as E,If as F,mf as G,el as H,yt as I,G as J,yf as K,lf as L,pc as M,ae as N,ye as O,ps as P,Vl as Q,xf as R,gl as S,bf as T,Fo as U,Hs as V,gc as W,Nf as X,Pn as Y,vf as Z,wf as _,an as a,af as a0,Vs as a1,jn as a2,Ii as a3,wt as a4,Kf as a5,Ue as a6,ce as a7,Mn as a8,Ie as a9,Bf as aa,$s as ab,Tl as ac,Cl as ad,gf as ae,kf as af,El as ag,Rs as ah,Ef as ai,Ff as aj,$f as ak,Lf as al,Pf as am,Vf as an,_f as ao,Of as ap,Cf as aq,Sf as ar,Cn as b,Ec as c,Mf as d,pf as e,zi as f,Rn as g,Af as h,ue as i,Tf as j,Rf as k,jf as l,mc as m,hl as n,ff as o,Hf as p,il as q,tl as r,Qo as s,df as t,ui as u,Df as v,dn as w,Vn as x,Oo as y,cf as z};
|
package/dist/interface/{@vueform.Bc8doccG.0.0.31-alpha.3.js → @vueform.BK0SRdZT.0.0.31-alpha.4.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as v,c as b,b as S,d as V,e as D,v as B,f as p,g as y,j as w,k as C,m as N,l as j,p as T}from"./@vue.
|
|
1
|
+
import{t as v,c as b,b as S,d as V,e as D,v as B,f as p,g as y,j as w,k as C,m as N,l as j,p as T}from"./@vue.BH6Bo0Pn.0.0.31-alpha.4.js";var L={name:"Toggle",emits:["input","update:modelValue","change"],props:{value:{validator:function(e){return n=>["number","string","boolean"].indexOf(typeof n)!==-1||n==null},required:!1},modelValue:{validator:function(e){return n=>["number","string","boolean"].indexOf(typeof n)!==-1||n==null},required:!1},id:{type:[String,Number],required:!1,default:"toggle"},name:{type:[String,Number],required:!1,default:"toggle"},disabled:{type:Boolean,required:!1,default:!1},required:{type:Boolean,required:!1,default:!1},falseValue:{type:[String,Number,Boolean],required:!1,default:!1},trueValue:{type:[String,Number,Boolean],required:!1,default:!0},onLabel:{type:[String,Object],required:!1,default:""},offLabel:{type:[String,Object],required:!1,default:""},classes:{type:Object,required:!1,default:()=>({})},labelledby:{type:String,required:!1},describedby:{type:String,required:!1},aria:{required:!1,type:Object,default:()=>({})}},setup(e,n){const a=function(d,o,c){const{value:r,modelValue:u,falseValue:t,trueValue:l,disabled:f}=v(d),i=u&&u.value!==void 0?u:r,s=b(()=>i.value===l.value),h=g=>{o.emit("input",g),o.emit("update:modelValue",g),o.emit("change",g)},k=()=>{h(l.value)},m=()=>{h(t.value)};return[null,void 0,!1,0,"0","off"].indexOf(i.value)!==-1&&[t.value,l.value].indexOf(i.value)===-1&&m(),[!0,1,"1","on"].indexOf(i.value)!==-1&&[t.value,l.value].indexOf(i.value)===-1&&k(),{externalValue:i,checked:s,update:h,check:k,uncheck:m,handleInput:g=>{h(g.target.checked?l.value:t.value)},handleClick:()=>{f.value||(s.value?m():k())}}}(e,n),O=function(d,o,c){const{trueValue:r,falseValue:u,onLabel:t,offLabel:l}=v(d),f=c.checked,i=c.update;return{label:b(()=>{let s=f.value?t.value:l.value;return s||(s=" "),s}),toggle:()=>{i(f.value?u.value:r.value)},on:()=>{i(r.value)},off:()=>{i(u.value)}}}(e,0,{checked:a.checked,update:a.update}),q=function(d,o,c){const r=v(d),u=r.disabled,t=c.checked,l=b(()=>({container:"toggle-container",toggle:"toggle",toggleOn:"toggle-on",toggleOff:"toggle-off",toggleOnDisabled:"toggle-on-disabled",toggleOffDisabled:"toggle-off-disabled",handle:"toggle-handle",handleOn:"toggle-handle-on",handleOff:"toggle-handle-off",handleOnDisabled:"toggle-handle-on-disabled",handleOffDisabled:"toggle-handle-off-disabled",label:"toggle-label",...r.classes.value}));return{classList:b(()=>({container:l.value.container,toggle:[l.value.toggle,u.value?t.value?l.value.toggleOnDisabled:l.value.toggleOffDisabled:t.value?l.value.toggleOn:l.value.toggleOff],handle:[l.value.handle,u.value?t.value?l.value.handleOnDisabled:l.value.handleOffDisabled:t.value?l.value.handleOn:l.value.handleOff],label:l.value.label}))}}(e,0,{checked:a.checked}),x=function(d,o,c){const{disabled:r}=v(d),u=c.check,t=c.uncheck,l=c.checked;return{handleSpace:()=>{r.value||(l.value?t():u())}}}(e,0,{check:a.check,uncheck:a.uncheck,checked:a.checked});return{...a,...q,...O,...x}}};const M=["tabindex","aria-checked","aria-describedby","aria-labelledby"],z=["id","name","value","checked","disabled"],H=["innerHTML"],K=["checked"];L.render=function(e,n,a,O,q,x){return S(),V("div",N({class:e.classList.container,tabindex:a.disabled?void 0:0,"aria-checked":e.checked,"aria-describedby":a.describedby,"aria-labelledby":a.labelledby,role:"switch"},a.aria,{onKeypress:n[1]||(n[1]=j(T((...d)=>e.handleSpace&&e.handleSpace(...d),["prevent"]),["space"]))}),[D(p("input",{type:"checkbox",id:a.id,name:a.name,value:a.trueValue,checked:e.checked,disabled:a.disabled},null,8,z),[[B,!1]]),p("div",{class:y(e.classList.toggle),onClick:n[0]||(n[0]=(...d)=>e.handleClick&&e.handleClick(...d))},[p("span",{class:y(e.classList.handle)},null,2),w(e.$slots,"label",{checked:e.checked,classList:e.classList},()=>[p("span",{class:y(e.classList.label),innerHTML:e.label},null,10,H)]),a.required?(S(),V("input",{key:0,type:"checkbox",style:{appearance:"none",height:"1px",margin:"0",padding:"0",fontSize:"0",background:"transparent",position:"absolute",width:"100%",bottom:"0",outline:"none"},checked:e.checked,"aria-hidden":"true",tabindex:"-1",required:""},null,8,K)):C("v-if",!0)],2)],16,M)},L.__file="src/Toggle.vue";export{L as b};
|