camera.ui3 0.0.30-alpha.3 → 0.0.31-alpha.2
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/@camera.ui.DiVLAlWa.0.0.31-alpha.2.js +3 -0
- package/dist/interface/@intlify.D-zKcAzQ.0.0.31-alpha.2.js +19 -0
- package/dist/interface/{@mdi.DnMbZhUH.0.0.30-alpha.3.js → @mdi.DVdKciOk.0.0.31-alpha.2.js} +1 -1
- package/dist/interface/@tanstack.x_Q3Nj6h.0.0.31-alpha.2.js +1 -0
- package/dist/interface/{@vee-validate.BRR3_tWq.0.0.30-alpha.3.js → @vee-validate.z9o4QOgP.0.0.31-alpha.2.js} +1 -1
- package/dist/interface/@vue.DawUEI-_.0.0.31-alpha.2.js +17 -0
- package/dist/interface/{@vueform.Dcx-RQUw.0.0.30-alpha.3.js → @vueform.C6mapDfj.0.0.31-alpha.2.js} +1 -1
- package/dist/interface/{@vueuse.Sz46sDez.0.0.30-alpha.3.js → @vueuse.3bba2al7.0.0.31-alpha.2.js} +1 -1
- package/dist/interface/{Account.hmetZWTc.0.0.30-alpha.3.js → Account.D0b6iR5f.0.0.31-alpha.2.js} +1 -1
- package/dist/interface/Adminpanel.3e7Ylz21.0.0.31-alpha.2.js +2 -0
- package/dist/interface/{Appearance.BHZdWQlZ.0.0.30-alpha.3.js → Appearance.BYifp2UX.0.0.31-alpha.2.js} +1 -1
- package/dist/interface/{Backup.petPSq60.0.0.30-alpha.3.js → Backup.DyTLSuxS.0.0.31-alpha.2.js} +1 -1
- package/dist/interface/{Camera.DS7gbgwV.0.0.30-alpha.3.js → Camera.Bi26Q1iM.0.0.31-alpha.2.js} +1 -1
- package/dist/interface/{Cameras.eqceAkdR.0.0.30-alpha.3.js → Cameras.uBDPd1DA.0.0.31-alpha.2.js} +1 -1
- package/dist/interface/{Camview.DumV6nmv.0.0.30-alpha.3.js → Camview.CewbOu75.0.0.31-alpha.2.js} +1 -1
- package/dist/interface/Config.CRuEOy3i.0.0.31-alpha.2.js +1 -0
- package/dist/interface/{Console.CWp-LL5w.0.0.30-alpha.3.js → Console.wrKA6SV-.0.0.31-alpha.2.js} +2 -2
- package/dist/interface/FirstSteps.DmSeEIyY.0.0.31-alpha.2.js +1 -0
- package/dist/interface/{NewCamera.CpENkWIP.0.0.30-alpha.3.js → NewCamera.DTcV05fX.0.0.31-alpha.2.js} +2 -2
- package/dist/interface/Plugin.Dr9kr8u0.0.0.31-alpha.2.js +1 -0
- package/dist/interface/Plugins.DanHsI2P.0.0.31-alpha.2.js +1 -0
- package/dist/interface/Recordings.Bworv3Rf.0.0.31-alpha.2.js +1 -0
- package/dist/interface/Recordings.Dkh2fRm3.0.0.31-alpha.2.js +1 -0
- package/dist/interface/{Settings.D6l7BlOF.0.0.30-alpha.3.js → Settings.D20E-DFW.0.0.31-alpha.2.js} +1 -1
- package/dist/interface/System.Bj23UM1d.0.0.31-alpha.2.js +4 -0
- package/dist/interface/{User.By9sAd8k.0.0.30-alpha.3.js → User.C4CMARUw.0.0.31-alpha.2.js} +1 -1
- package/dist/interface/{VConfigEditor.vue_vue_type_script_setup_true_lang.C7ZcC7dX.0.0.30-alpha.3.js → VConfigEditor.vue_vue_type_script_setup_true_lang.DCkz0ScZ.0.0.31-alpha.2.js} +2 -2
- package/dist/interface/VConsole.DxZubA5b.0.0.31-alpha.2.js +1 -0
- package/dist/interface/VPlayer.DVDPrRrw.0.0.31-alpha.2.js +1 -0
- package/dist/interface/{VPluginCard.B_M3puzM.0.0.30-alpha.3.js → VPluginCard.DCBVHiKt.0.0.31-alpha.2.js} +2 -2
- package/dist/interface/{ace-builds.D4S-MJ6b.0.0.30-alpha.3.js → ace-builds.BtdsJHeG.0.0.31-alpha.2.js} +1 -1
- package/dist/interface/{apexcharts.u0duws01.0.0.30-alpha.3.js → apexcharts.CI-IzyYP.0.0.31-alpha.2.js} +1 -1
- package/dist/interface/assets/Config.0.0.31-alpha.2.xOTKGJ5Y.css +1 -0
- package/dist/interface/assets/FirstSteps.0.0.31-alpha.2.CCo2y-sU.css +1 -0
- package/dist/interface/assets/NewCamera.0.0.31-alpha.2.BWK7TkdY.css +1 -0
- package/dist/interface/assets/{VPlayer.0.0.30-alpha.3.CZXlTn4I.css → VPlayer.0.0.31-alpha.2.BQMP8JwH.css} +1 -1
- package/dist/interface/assets/VPluginCard.0.0.31-alpha.2.CyNvwFGk.css +1 -0
- package/dist/interface/assets/{main.0.0.30-alpha.3.BOf8IWhK.css → main.0.0.31-alpha.2.CqDyfc1x.css} +1 -1
- package/dist/interface/{dnd-core.C4232Xyz.0.0.30-alpha.3.js → dnd-core.D5pBWNob.0.0.31-alpha.2.js} +1 -1
- package/dist/interface/{draggabilly.Xgwn1bT3.0.0.30-alpha.3.js → draggabilly.CHohgav6.0.0.31-alpha.2.js} +1 -1
- package/dist/interface/{engine.io-client.CUastNh3.0.0.30-alpha.3.js → engine.io-client.DEhtuV4o.0.0.31-alpha.2.js} +1 -1
- package/dist/interface/{ev-emitter.BYRnnQXb.0.0.30-alpha.3.js → ev-emitter.BBakFQKp.0.0.31-alpha.2.js} +1 -1
- package/dist/interface/{fast-deep-equal.CqwdqDxW.0.0.30-alpha.3.js → fast-deep-equal.D84cnreE.0.0.31-alpha.2.js} +1 -1
- package/dist/interface/{highlight.js.sNLmnsuC.0.0.30-alpha.3.js → highlight.js.C_JoIJXJ.0.0.31-alpha.2.js} +1 -1
- package/dist/interface/index.html +36 -37
- package/dist/interface/{linkify-it.8PrPWg7W.0.0.30-alpha.3.js → linkify-it.C7EWLmzP.0.0.31-alpha.2.js} +1 -1
- package/dist/interface/main.0dhw2k10.0.0.31-alpha.2.js +2 -0
- package/dist/interface/{markdown-it.Q4_2MGLy.0.0.30-alpha.3.js → markdown-it.CRy2M8lR.0.0.31-alpha.2.js} +1 -1
- package/dist/interface/{nprogress.DQYtKLt9.0.0.30-alpha.3.js → nprogress.IiPMBi2X.0.0.31-alpha.2.js} +1 -1
- package/dist/interface/{pinia.DcgsdRJU.0.0.30-alpha.3.js → pinia.DpM2zEj0.0.0.31-alpha.2.js} +1 -1
- package/dist/interface/{plugins.DZjXmoDp.0.0.30-alpha.3.js → plugins.BKAnxV9o.0.0.31-alpha.2.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.XqSuoGPb.0.0.30-alpha.3.js → qrcode.V95EYEat.0.0.31-alpha.2.js} +1 -1
- package/dist/interface/{react-dnd-touch-backend.VzlzWkdX.0.0.30-alpha.3.js → react-dnd-touch-backend.BgH_R4pT.0.0.31-alpha.2.js} +1 -1
- package/dist/interface/{rxjs.CXnJywSk.0.0.30-alpha.3.js → rxjs.BlXFYoWE.0.0.31-alpha.2.js} +1 -1
- package/dist/interface/{socket.io-client.DiiooL5k.0.0.30-alpha.3.js → socket.io-client.B54E9c8s.0.0.31-alpha.2.js} +1 -1
- package/dist/interface/{socket.io-parser.Dsh2ZviN.0.0.30-alpha.3.js → socket.io-parser.DU0H2ONq.0.0.31-alpha.2.js} +1 -1
- package/dist/interface/sw.js +1 -1
- package/dist/interface/{system.Bh4wNIkr.0.0.30-alpha.3.js → system.D6RwZr3K.0.0.31-alpha.2.js} +1 -1
- package/dist/interface/types.Cz9TaZAP.0.0.31-alpha.2.js +1 -0
- package/dist/interface/{ui.B0YwbqBU.0.0.30-alpha.3.js → ui.CsjklSmH.0.0.31-alpha.2.js} +1 -1
- package/dist/interface/{unidragger.DDL70rPA.0.0.30-alpha.3.js → unidragger.DTsyKbBA.0.0.31-alpha.2.js} +1 -1
- package/dist/interface/{v-calendar.C8Yj7x1Q.0.0.30-alpha.3.js → v-calendar.8nad-306.0.0.31-alpha.2.js} +1 -1
- package/dist/interface/{vee-validate.BbcoErf-.0.0.30-alpha.3.js → vee-validate.DHH7oAn8.0.0.31-alpha.2.js} +1 -1
- package/dist/interface/vue-i18n.DFXDQN1x.0.0.31-alpha.2.js +9 -0
- package/dist/interface/{vue-inline-svg.DC2U7Qim.0.0.30-alpha.3.js → vue-inline-svg.B5DFkaVE.0.0.31-alpha.2.js} +1 -1
- package/dist/interface/{vue-router.B3QeItm5.0.0.30-alpha.3.js → vue-router.Dwlkeoka.0.0.31-alpha.2.js} +1 -1
- package/dist/interface/{vue3-apexcharts.DVzl7xGy.0.0.30-alpha.3.js → vue3-apexcharts.m93iPQ1O.0.0.31-alpha.2.js} +1 -1
- package/dist/interface/{vue3-dnd.76cFMD9V.0.0.30-alpha.3.js → vue3-dnd.CSPHLovD.0.0.31-alpha.2.js} +1 -1
- package/dist/interface/{vue3-toastify.B-AJ7WuP.0.0.30-alpha.3.js → vue3-toastify.B3S_WDRN.0.0.31-alpha.2.js} +1 -1
- package/dist/interface/{vuetify.CYln2r6g.0.0.30-alpha.3.js → vuetify.DSpravLa.0.0.31-alpha.2.js} +1 -1
- package/dist/server/bin/cameraui.js +4 -4
- package/dist/server/bin/cameraui.js.map +1 -1
- package/dist/server/package.json +9 -8
- package/dist/server/requirements.txt +2 -2
- package/dist/server/src/api/controllers/plugins.controller.js +23 -24
- package/dist/server/src/api/controllers/plugins.controller.js.map +1 -1
- package/dist/server/src/api/controllers/system.controller.js +1 -1
- package/dist/server/src/api/controllers/system.controller.js.map +1 -1
- package/dist/server/src/api/database/index.js +29 -2
- package/dist/server/src/api/database/index.js.map +1 -1
- package/dist/server/src/api/database/types.d.ts +1 -122
- package/dist/server/src/api/index.js +4 -4
- package/dist/server/src/api/index.js.map +1 -1
- package/dist/server/src/api/plugins/useragent.plugin.d.ts +1 -1
- package/dist/server/src/api/plugins/useragent.plugin.js +1 -1
- package/dist/server/src/api/plugins/useragent.plugin.js.map +1 -1
- package/dist/server/src/api/schemas/cameras.schema.d.ts +203 -183
- package/dist/server/src/api/schemas/cameras.schema.js +2 -0
- package/dist/server/src/api/schemas/cameras.schema.js.map +1 -1
- package/dist/server/src/api/schemas/config.schema.d.ts +12 -12
- package/dist/server/src/api/schemas/go2rtc.schema.d.ts +129 -129
- package/dist/server/src/api/schemas/plugins.schema.d.ts +5 -5
- package/dist/server/src/api/schemas/users.schema.d.ts +88 -88
- package/dist/server/src/api/services/cameras.service.d.ts +6 -5
- package/dist/server/src/api/services/cameras.service.js +68 -38
- package/dist/server/src/api/services/cameras.service.js.map +1 -1
- package/dist/server/src/api/types/index.d.ts +3 -3
- package/dist/server/src/api/utils/cameraSource.d.ts +2 -0
- package/dist/server/src/api/utils/cameraSource.js +34 -0
- package/dist/server/src/api/utils/cameraSource.js.map +1 -0
- package/dist/server/src/api/websocket/nsp/plugins.d.ts +1 -1
- package/dist/server/src/api/websocket/types.d.ts +1 -1
- package/dist/server/src/api.d.ts +2 -2
- package/dist/server/src/camera/controller.d.ts +13 -3
- package/dist/server/src/camera/controller.js +263 -4
- package/dist/server/src/camera/controller.js.map +1 -1
- package/dist/server/src/camera/types.d.ts +1 -318
- package/dist/server/src/camera/types.js +1 -6
- package/dist/server/src/camera/types.js.map +1 -1
- package/dist/server/src/decoder/types.d.ts +0 -127
- package/dist/server/src/decoder/worker.d.ts +2 -2
- package/dist/server/src/decoder/worker.js +2 -2
- package/dist/server/src/decoder/worker.js.map +1 -1
- package/dist/server/src/nats/index.d.ts +4 -4
- package/dist/server/src/nats/index.js +1 -2
- package/dist/server/src/nats/index.js.map +1 -1
- package/dist/server/src/nats/proxy/cameraDevice.d.ts +3 -3
- package/dist/server/src/nats/proxy/cameraDevice.js +10 -0
- package/dist/server/src/nats/proxy/cameraDevice.js.map +1 -1
- package/dist/server/src/nats/proxy/coreManager.d.ts +3 -5
- package/dist/server/src/nats/proxy/coreManager.js +1 -1
- package/dist/server/src/nats/proxy/coreManager.js.map +1 -1
- package/dist/server/src/nats/proxy/deviceManager.d.ts +3 -5
- package/dist/server/src/nats/proxy/deviceManager.js.map +1 -1
- package/dist/server/src/nats/types.d.ts +3 -101
- package/dist/server/src/nats/utils.d.ts +1 -1
- package/dist/server/src/nats/websocket.d.ts +2 -2
- package/dist/server/src/plugins/index.js +1 -1
- package/dist/server/src/plugins/index.js.map +1 -1
- package/dist/server/src/plugins/plugin.d.ts +2 -2
- package/dist/server/src/plugins/plugin.js +1 -1
- package/dist/server/src/plugins/plugin.js.map +1 -1
- package/dist/server/src/plugins/types.d.ts +1 -181
- package/dist/server/src/plugins/types.js +0 -15
- package/dist/server/src/plugins/types.js.map +1 -1
- package/dist/server/src/plugins/worker.d.ts +1 -1
- package/dist/server/src/plugins/worker.js +2 -2
- package/dist/server/src/plugins/worker.js.map +1 -1
- package/dist/server/src/services/config/constants.d.ts +2 -1
- package/dist/server/src/services/config/constants.js.map +1 -1
- package/dist/server/src/services/config/types.d.ts +1 -5
- package/dist/server/src/services/config/types.js.map +1 -1
- package/localdeps.txt +2 -1
- package/package.json +9 -8
- package/dist/interface/@camera.ui.DuwfK59t.0.0.30-alpha.3.js +0 -3
- package/dist/interface/@intlify.YW_pt133.0.0.30-alpha.3.js +0 -15
- package/dist/interface/@tanstack.DBBaUHTS.0.0.30-alpha.3.js +0 -1
- package/dist/interface/@vue.BeJw0wEm.0.0.30-alpha.3.js +0 -17
- package/dist/interface/Adminpanel.DxC80W0K.0.0.30-alpha.3.js +0 -2
- package/dist/interface/Config.DQ5vyHcx.0.0.30-alpha.3.js +0 -1
- package/dist/interface/FirstSteps.DR2B1Gmx.0.0.30-alpha.3.js +0 -1
- package/dist/interface/Plugin.KK2gWYUL.0.0.30-alpha.3.js +0 -1
- package/dist/interface/Plugins.Dy1rL-Pc.0.0.30-alpha.3.js +0 -1
- package/dist/interface/Recordings.Bny11D38.0.0.30-alpha.3.js +0 -1
- package/dist/interface/Recordings.IdGxswmI.0.0.30-alpha.3.js +0 -1
- package/dist/interface/System.FIkCpF0A.0.0.30-alpha.3.js +0 -4
- package/dist/interface/VConsole.BG4nEIk8.0.0.30-alpha.3.js +0 -1
- package/dist/interface/VPlayer.CZqXCM-i.0.0.30-alpha.3.js +0 -1
- package/dist/interface/assets/Config.0.0.30-alpha.3.k4QpWumg.css +0 -1
- package/dist/interface/assets/FirstSteps.0.0.30-alpha.3.B3-pv8-a.css +0 -1
- package/dist/interface/assets/NewCamera.0.0.30-alpha.3.DJ3tUBT_.css +0 -1
- package/dist/interface/assets/VPluginCard.0.0.30-alpha.3.CIL48ca_.css +0 -1
- package/dist/interface/main.gxLiydtV.0.0.30-alpha.3.js +0 -2
- package/dist/interface/vue-i18n.B7m8y9GA.0.0.30-alpha.3.js +0 -5
- package/dist/server/src/plugins/interfaces/audioDetection.d.ts +0 -7
- package/dist/server/src/plugins/interfaces/audioDetection.js +0 -4
- package/dist/server/src/plugins/interfaces/audioDetection.js.map +0 -1
- package/dist/server/src/plugins/interfaces/base.d.ts +0 -6
- package/dist/server/src/plugins/interfaces/base.js +0 -3
- package/dist/server/src/plugins/interfaces/base.js.map +0 -1
- package/dist/server/src/plugins/interfaces/motionDetection.d.ts +0 -6
- package/dist/server/src/plugins/interfaces/motionDetection.js +0 -4
- package/dist/server/src/plugins/interfaces/motionDetection.js.map +0 -1
- package/dist/server/src/plugins/interfaces/objectDetection.d.ts +0 -7
- package/dist/server/src/plugins/interfaces/objectDetection.js +0 -4
- package/dist/server/src/plugins/interfaces/objectDetection.js.map +0 -1
- package/dist/server/src/services/logger/types.d.ts +0 -8
- package/dist/server/src/services/logger/types.js +0 -2
- package/dist/server/src/services/logger/types.js.map +0 -1
- /package/dist/interface/{@babel.l0sNRNKZ.0.0.30-alpha.3.js → @babel.l0sNRNKZ.0.0.31-alpha.2.js} +0 -0
- /package/dist/interface/{@popperjs.BQBsAJpH.0.0.30-alpha.3.js → @popperjs.BQBsAJpH.0.0.31-alpha.2.js} +0 -0
- /package/dist/interface/{@react-dnd.CcwRs9xb.0.0.30-alpha.3.js → @react-dnd.CcwRs9xb.0.0.31-alpha.2.js} +0 -0
- /package/dist/interface/{@socket.io.Dkula2eQ.0.0.30-alpha.3.js → @socket.io.Dkula2eQ.0.0.31-alpha.2.js} +0 -0
- /package/dist/interface/{@xterm.-WsTvn6n.0.0.30-alpha.3.js → @xterm.ByN7UyPo.0.0.31-alpha.2.js} +0 -0
- /package/dist/interface/assets/{@vueform.0.0.30-alpha.3.h7tNX9p6.css → @vueform.0.0.31-alpha.2.h7tNX9p6.css} +0 -0
- /package/dist/interface/assets/{@xterm.0.0.30-alpha.3.CGrrDQr5.css → @xterm.0.0.31-alpha.2.CGrrDQr5.css} +0 -0
- /package/dist/interface/assets/{Account.0.0.30-alpha.3.Ce3OmKrC.css → Account.0.0.31-alpha.2.Ce3OmKrC.css} +0 -0
- /package/dist/interface/assets/{Adminpanel.0.0.30-alpha.3.CXsTAXPL.css → Adminpanel.0.0.31-alpha.2.CXsTAXPL.css} +0 -0
- /package/dist/interface/assets/{Backup.0.0.30-alpha.3.BIwaSlv3.css → Backup.0.0.31-alpha.2.BIwaSlv3.css} +0 -0
- /package/dist/interface/assets/{Camera.0.0.30-alpha.3.BDtUJ-lA.css → Camera.0.0.31-alpha.2.BDtUJ-lA.css} +0 -0
- /package/dist/interface/assets/{Cameras.0.0.30-alpha.3.Djx0F2MM.css → Cameras.0.0.31-alpha.2.Djx0F2MM.css} +0 -0
- /package/dist/interface/assets/{Camview.0.0.30-alpha.3.Ce_V-Nxj.css → Camview.0.0.31-alpha.2.Ce_V-Nxj.css} +0 -0
- /package/dist/interface/assets/{Console.0.0.30-alpha.3.DWrfRWs9.css → Console.0.0.31-alpha.2.DWrfRWs9.css} +0 -0
- /package/dist/interface/assets/{Plugin.0.0.30-alpha.3.BtRA6zDt.css → Plugin.0.0.31-alpha.2.BtRA6zDt.css} +0 -0
- /package/dist/interface/assets/{Plugins.0.0.30-alpha.3.Cwu0aGUO.css → Plugins.0.0.31-alpha.2.Cwu0aGUO.css} +0 -0
- /package/dist/interface/assets/{Settings.0.0.30-alpha.3.DC_-E3CR.css → Settings.0.0.31-alpha.2.DC_-E3CR.css} +0 -0
- /package/dist/interface/assets/{User.0.0.30-alpha.3.DPDcJbx8.css → User.0.0.31-alpha.2.DPDcJbx8.css} +0 -0
- /package/dist/interface/assets/{VConsole.0.0.30-alpha.3.BZT1WyS-.css → VConsole.0.0.31-alpha.2.BZT1WyS-.css} +0 -0
- /package/dist/interface/assets/{highlight.0.0.30-alpha.3.DgoK_Xib.css → highlight.0.0.31-alpha.2.DgoK_Xib.css} +0 -0
- /package/dist/interface/assets/{logo-256.0.0.30-alpha.3.BCQk9H1-.png → logo-256.0.0.31-alpha.2.BCQk9H1-.png} +0 -0
- /package/dist/interface/assets/{logo-512.0.0.30-alpha.3.DLKVOU2S.png → logo-512.0.0.31-alpha.2.DLKVOU2S.png} +0 -0
- /package/dist/interface/assets/{logo.0.0.30-alpha.3.DmEiRk0z.png → logo.0.0.31-alpha.2.DmEiRk0z.png} +0 -0
- /package/dist/interface/assets/{mode-json.0.0.30-alpha.3.Br7xisR1.js → mode-json.0.0.31-alpha.2.Br7xisR1.js} +0 -0
- /package/dist/interface/assets/{mode-yaml.0.0.30-alpha.3.CIYL8U3d.js → mode-yaml.0.0.31-alpha.2.CIYL8U3d.js} +0 -0
- /package/dist/interface/assets/{v-calendar.0.0.30-alpha.3.CtSuDYZU.css → v-calendar.0.0.31-alpha.2.CtSuDYZU.css} +0 -0
- /package/dist/interface/assets/{vue3-toastify.0.0.30-alpha.3.DTY1DMRs.css → vue3-toastify.0.0.31-alpha.2.DTY1DMRs.css} +0 -0
- /package/dist/interface/assets/{vuetify.0.0.30-alpha.3.Cd1awv3t.css → vuetify.0.0.31-alpha.2.Cd1awv3t.css} +0 -0
- /package/dist/interface/{axios.C-n2IhIP.0.0.30-alpha.3.js → axios.C-n2IhIP.0.0.31-alpha.2.js} +0 -0
- /package/dist/interface/{compare-versions.DqEOhma6.0.0.30-alpha.3.js → compare-versions.DqEOhma6.0.0.31-alpha.2.js} +0 -0
- /package/dist/interface/{dijkstrajs.D_NXgYpA.0.0.30-alpha.3.js → dijkstrajs.D_NXgYpA.0.0.31-alpha.2.js} +0 -0
- /package/dist/interface/{engine.io-parser.BiEtp6m2.0.0.30-alpha.3.js → engine.io-parser.BiEtp6m2.0.0.31-alpha.2.js} +0 -0
- /package/dist/interface/{entities.C20TfXL6.0.0.30-alpha.3.js → entities.C20TfXL6.0.0.31-alpha.2.js} +0 -0
- /package/dist/interface/{get-size.D1dS-IaP.0.0.30-alpha.3.js → get-size.D1dS-IaP.0.0.31-alpha.2.js} +0 -0
- /package/dist/interface/{mdurl.k9Sl0PQj.0.0.30-alpha.3.js → mdurl.k9Sl0PQj.0.0.31-alpha.2.js} +0 -0
- /package/dist/interface/{punycode.js.Dj65hjkv.0.0.30-alpha.3.js → punycode.js.Dj65hjkv.0.0.31-alpha.2.js} +0 -0
- /package/dist/interface/{react-dnd-html5-backend.1HQjlkwI.0.0.30-alpha.3.js → react-dnd-html5-backend.1HQjlkwI.0.0.31-alpha.2.js} +0 -0
- /package/dist/interface/{redux.CuxFRhX_.0.0.30-alpha.3.js → redux.CuxFRhX_.0.0.31-alpha.2.js} +0 -0
- /package/dist/interface/{tslib.9k7AwCpt.0.0.30-alpha.3.js → tslib.9k7AwCpt.0.0.31-alpha.2.js} +0 -0
- /package/dist/interface/{uc.micro.kMc2yuuw.0.0.30-alpha.3.js → uc.micro.kMc2yuuw.0.0.31-alpha.2.js} +0 -0
- /package/dist/interface/{utils.mAKpSMLY.0.0.30-alpha.3.js → utils.mAKpSMLY.0.0.31-alpha.2.js} +0 -0
- /package/dist/interface/{uuid.DvF23Exx.0.0.30-alpha.3.js → uuid.DvF23Exx.0.0.31-alpha.2.js} +0 -0
- /package/dist/interface/{vue.l0sNRNKZ.0.0.30-alpha.3.js → vue.l0sNRNKZ.0.0.31-alpha.2.js} +0 -0
- /package/dist/interface/{zod.DnW1_kUe.0.0.30-alpha.3.js → zod.DnW1_kUe.0.0.31-alpha.2.js} +0 -0
|
@@ -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),y=(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 Fe,u as We,h as ze,a as Ye,r as Je,n as Xe,c as De,s as Ee,w as mt,o as Me,t as Ae}from"./@vue.DawUEI-_.0.0.31-alpha.2.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 Ze(s,t){return typeof s=="function"?s(t):s}function $t(s){return typeof s=="number"&&s>=0&&s!==1/0}function Ue(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:u,stale:o}=s;if(u){if(i){if(t.queryHash!==ae(u,t.options))return!1}else if(!qt(t.queryKey,u))return!1}if(e!=="all"){const m=t.isActive();if(e==="active"&&!m||e==="inactive"&&m)return!1}return!(typeof o=="boolean"&&t.isStale()!==o||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 qe(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),u=a.length,o=e?[]:{};let m=0;for(let w=0;w<u;w++){const d=e?w:a[w];(!e&&i.includes(d)||e)&&s[d]===void 0&&t[d]===void 0?(o[d]=void 0,m++):(o[d]=qe(s[d],t[d]),o[d]===s[d]&&s[d]!==void 0&&m++)}return n===u&&m===n?s:o}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 ts(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?qe(s,t):t}function es(s,t,e=0){const i=[...s,t];return e&&i.length>e?i.slice(1):i}function ss(s,t,e=0){const i=[t,...s];return e&&i.length>e?i.slice(0,-1):i}var Ie=Symbol();function Te(s,t){return!s.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!s.queryFn||s.queryFn===Ie?()=>Promise.reject(new Error(`Missing queryFn: '${s.queryHash}'`)):s.queryFn}var ut,Z,bt,ve,is=(ve=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,ve),ue=new is,gt,tt,Ot,be,rs=(be=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,be),Nt=new rs;function ns(s){return Math.min(1e3*2**s,3e4)}function je(s){return(s??"online")==="online"?Nt.isOnline():!0}var xe=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 xe}function Ke(s){let t=!1,e=0,i=!1,n,a,u;const o=new Promise((O,Q)=>{a=O,u=Q}),m=O=>{var Q;i||(P(new xe(O)),(Q=s.abort)==null||Q.call(s))},w=()=>{t=!0},d=()=>{t=!1},c=()=>ue.isFocused()&&(s.networkMode==="always"||Nt.isOnline())&&s.canRun(),g=()=>je(s.networkMode)&&s.canRun(),f=O=>{var Q;i||(i=!0,(Q=s.onSuccess)==null||Q.call(s,O),n==null||n(),a(O))},P=O=>{var Q;i||(i=!0,(Q=s.onError)==null||Q.call(s,O),n==null||n(),u(O))},D=()=>new Promise(O=>{var Q;n=S=>{(i||c())&&O(S)},(Q=s.onPause)==null||Q.call(s)}).then(()=>{var O;n=void 0,i||(O=s.onContinue)==null||O.call(s)}),R=()=>{if(i)return;let O;const Q=e===0?s.initialPromise:void 0;try{O=Q??s.fn()}catch(S){O=Promise.reject(S)}Promise.resolve(O).then(f).catch(S=>{var b;if(i)return;const E=s.retry??(yt?0:3),M=s.retryDelay??ns,G=typeof M=="function"?M(e,S):M,W=E===!0||typeof E=="number"&&e<E||typeof E=="function"&&E(e,S);if(t||!W){P(S);return}e++,(b=s.onFail)==null||b.call(s,e,S),ts(G).then(()=>c()?void 0:D()).then(()=>{t?P(S):R()})})};return{promise:o,cancel:m,continue:()=>(n==null||n(),o),cancelRetry:w,continueRetry:d,canStart:g,start:()=>(g()?R():D().then(R),o)}}function as(){let s=[],t=0,e=o=>{o()},i=o=>{o()},n=o=>setTimeout(o,0);const a=o=>{t?s.push(o):n(()=>{e(o)})},u=()=>{const o=s;s=[],o.length&&n(()=>{i(()=>{o.forEach(m=>{e(m)})})})};return{batch:o=>{let m;t++;try{m=o()}finally{t--,t||u()}return m},batchCalls:o=>(...m)=>{a(()=>{o(...m)})},schedule:a,setNotifyFunction:o=>{e=o},setBatchNotifyFunction:o=>{i=o},setScheduler:o=>{n=o}}}var A=as(),ot,ge,Le=(ge=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,ge),Ct,wt,K,U,It,ht,H,z,Oe,us=(Oe=class extends Le{constructor(t){super();l(this,H);l(this,Ct);l(this,wt);l(this,K);l(this,U);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,os(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,U))==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 y(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){y(this,H,z).call(this,{type:"setState",state:t,setStateOptions:e})}cancel(t){var i,n;const e=(i=r(this,U))==null?void 0:i.promise;return(n=r(this,U))==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||!Ue(this.state.dataUpdatedAt,t)}onFocus(){var e;const t=this.observers.find(i=>i.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(e=r(this,U))==null||e.continue()}onOnline(){var e;const t=this.observers.find(i=>i.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(e=r(this,U))==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,U)&&(r(this,ht)?r(this,U).cancel({revert:!0}):r(this,U).cancelRetry()),this.scheduleGc()),r(this,K).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||y(this,H,z).call(this,{type:"invalidate"})}fetch(t,e){var m,w,d;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(e!=null&&e.cancelRefetch))this.cancel({silent:!0});else if(r(this,U))return r(this,U).continueRetry(),r(this,U).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=Te(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)},u={fetchOptions:e,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:a};n(u),(m=this.options.behavior)==null||m.onFetch(u,this),h(this,wt,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((w=u.fetchOptions)==null?void 0:w.meta))&&y(this,H,z).call(this,{type:"fetch",meta:(d=u.fetchOptions)==null?void 0:d.meta});const o=c=>{var g,f,P,D;_t(c)&&c.silent||y(this,H,z).call(this,{type:"error",error:c}),_t(c)||((f=(g=r(this,K).config).onError)==null||f.call(g,c,this),(D=(P=r(this,K).config).onSettled)==null||D.call(P,this.state.data,c,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return h(this,U,Ke({initialPromise:e==null?void 0:e.initialPromise,fn:u.fetchFn,abort:i.abort.bind(i),onSuccess:c=>{var g,f,P,D;if(c===void 0){o(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(c)}catch(R){o(R);return}(f=(g=r(this,K).config).onSuccess)==null||f.call(g,c,this),(D=(P=r(this,K).config).onSettled)==null||D.call(P,c,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:o,onFail:(c,g)=>{y(this,H,z).call(this,{type:"failed",failureCount:c,error:g})},onPause:()=>{y(this,H,z).call(this,{type:"pause"})},onContinue:()=>{y(this,H,z).call(this,{type:"continue"})},retry:u.options.retry,retryDelay:u.options.retryDelay,networkMode:u.options.networkMode,canRun:()=>!0})),r(this,U).start()}},Ct=new WeakMap,wt=new WeakMap,K=new WeakMap,U=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,...ke(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),A.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),r(this,K).notify({query:this,type:"updated",action:t})})},Oe);function ke(s,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:je(t.networkMode)?"fetching":"paused",...s===void 0&&{error:null,status:"pending"}}}function os(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 _,Ce,He=(Ce=class extends At{constructor(e={}){super();l(this,_);this.config=e,h(this,_,new Map)}build(e,i,n){const a=i.queryKey,u=i.queryHash??ae(a,i);let o=this.get(u);return o||(o=new us({cache:this,queryKey:a,queryHash:u,options:e.defaultQueryOptions(i),state:n,defaultOptions:e.getQueryDefaults(a)}),this.add(o)),o}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(){A.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){A.batch(()=>{this.listeners.forEach(i=>{i(e)})})}onFocus(){A.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){A.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},_=new WeakMap,Ce),$,q,ct,B,X,we,hs=(we=class extends Le{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||Ne(),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,u,o,m,w,d,c,g,f,P,D,R,O,Q,S,E,M,G,W;h(this,ct,Ke({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(b,k)=>{y(this,B,X).call(this,{type:"failed",failureCount:b,error:k})},onPause:()=>{y(this,B,X).call(this,{type:"pause"})},onContinue:()=>{y(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){y(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((o=(u=this.options).onMutate)==null?void 0:o.call(u,t));k!==this.state.context&&y(this,B,X).call(this,{type:"pending",context:k,variables:t,isPaused:i})}const b=await r(this,ct).start();return await((w=(m=r(this,q).config).onSuccess)==null?void 0:w.call(m,b,t,this.state.context,this)),await((c=(d=this.options).onSuccess)==null?void 0:c.call(d,b,t,this.state.context)),await((f=(g=r(this,q).config).onSettled)==null?void 0:f.call(g,b,null,this.state.variables,this.state.context,this)),await((D=(P=this.options).onSettled)==null?void 0:D.call(P,b,null,t,this.state.context)),y(this,B,X).call(this,{type:"success",data:b}),b}catch(b){try{throw await((O=(R=r(this,q).config).onError)==null?void 0:O.call(R,b,t,this.state.context,this)),await((S=(Q=this.options).onError)==null?void 0:S.call(Q,b,t,this.state.context)),await((M=(E=r(this,q).config).onSettled)==null?void 0:M.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{y(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),A.batch(()=>{r(this,$).forEach(i=>{i.onMutationUpdate(t)}),r(this,q).notify({mutation:this,type:"updated",action:t})})},we);function Ne(){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,Qe,Ge=(Qe=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 hs({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(u=>u!==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(){A.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){A.batch(()=>{this.listeners.forEach(i=>{i(e)})})}resumePausedMutations(){const e=this.getAll().filter(i=>i.state.isPaused);return A.batch(()=>Promise.all(e.map(i=>i.continue().catch(L))))}},x=new WeakMap,Tt=new WeakMap,Qe);function Lt(s){var t;return((t=s.options.scope)==null?void 0:t.id)??String(s.mutationId)}function cs(s){return{onFetch:(t,e)=>{const i=async()=>{var P,D,R,O,Q;const n=t.options,a=(R=(D=(P=t.fetchOptions)==null?void 0:P.meta)==null?void 0:D.fetchMore)==null?void 0:R.direction,u=((O=t.state.data)==null?void 0:O.pages)||[],o=((Q=t.state.data)==null?void 0:Q.pageParams)||[],m={pages:[],pageParams:[]};let w=!1;const d=S=>{Object.defineProperty(S,"signal",{enumerable:!0,get:()=>(t.signal.aborted?w=!0:t.signal.addEventListener("abort",()=>{w=!0}),t.signal)})},c=Te(t.options,t.fetchOptions),g=async(S,E,M)=>{if(w)return Promise.reject();if(E==null&&S.pages.length)return Promise.resolve(S);const G={queryKey:t.queryKey,pageParam:E,direction:M?"backward":"forward",meta:t.options.meta};d(G);const W=await c(G),{maxPages:b}=t.options,k=M?ss:es;return{pages:k(S.pages,W,b),pageParams:k(S.pageParams,E,b)}};let f;if(a&&u.length){const S=a==="backward",E=S?ls:ye,M={pages:u,pageParams:o},G=E(n,M);f=await g(M,G,S)}else{f=await g(m,o[0]??n.initialPageParam);const S=s??u.length;for(let E=1;E<S;E++){const M=ye(n,f);if(M==null)break;f=await g(f,M)}}return f};t.options.persister?t.fetchFn=()=>{var n,a;return(a=(n=t.options).persister)==null?void 0:a.call(n,i,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},e)}:t.fetchFn=i}}}function ye(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 F,et,st,Qt,St,it,Pt,Rt,Se,fs=(Se=class{constructor(t={}){l(this,F);l(this,et);l(this,st);l(this,Qt);l(this,St);l(this,it);l(this,Pt);l(this,Rt);h(this,F,t.queryCache||new He),h(this,et,t.mutationCache||new Ge),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,F).onFocus())})),h(this,Rt,Nt.subscribe(async t=>{t&&(await this.resumePausedMutations(),r(this,F).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,F).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,F).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,F).build(this,i);return t.revalidateIfStale&&n.isStaleByTime(vt(i.staleTime,n))&&this.prefetchQuery(i),Promise.resolve(e)}}getQueriesData(t){return r(this,F).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,F).get(n.queryHash),u=a==null?void 0:a.state.data,o=Ze(e,u);if(o!==void 0)return r(this,F).build(this,n).setData(o,{...i,manual:!0})}setQueriesData(t,e,i){return A.batch(()=>r(this,F).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,F).get(e.queryHash))==null?void 0:i.state}removeQueries(t){const e=r(this,F);A.batch(()=>{e.findAll(t).forEach(i=>{e.remove(i)})})}resetQueries(t,e){const i=r(this,F),n={type:"active",...t};return A.batch(()=>(i.findAll(t).forEach(a=>{a.reset()}),this.refetchQueries(n,e)))}cancelQueries(t={},e={}){const i={revert:!0,...e},n=A.batch(()=>r(this,F).findAll(t).map(a=>a.cancel(i)));return Promise.all(n).then(L).catch(L)}invalidateQueries(t={},e={}){return A.batch(()=>{if(r(this,F).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=A.batch(()=>r(this,F).findAll(t).filter(a=>!a.isDisabled()).map(a=>{let u=a.fetch(void 0,i);return i.throwOnError||(u=u.catch(L)),a.state.fetchStatus==="paused"?Promise.resolve():u}));return Promise.all(n).then(L)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const i=r(this,F).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=cs(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(L).catch(L)}resumePausedMutations(){return Nt.isOnline()?r(this,et).resumePausedMutations():Promise.resolve()}getQueryCache(){return r(this,F)}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===Ie&&(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,F).clear(),r(this,et).clear()}},F=new WeakMap,et=new WeakMap,st=new WeakMap,Qt=new WeakMap,St=new WeakMap,it=new WeakMap,Pt=new WeakMap,Rt=new WeakMap,Se),T,v,jt,I,lt,Ft,V,xt,Dt,Et,ft,dt,rt,Mt,C,Ut,Wt,zt,Yt,Jt,Xt,Zt,te,_e,Pe,ds=(Pe=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),pe(r(this,v),this.options)?y(this,C,Ut).call(this):this.updateResult(),y(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,y(this,C,Xt).call(this),y(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");y(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&&me(r(this,v),n,this.options,i)&&y(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)))&&y(this,C,Wt).call(this);const u=y(this,C,zt).call(this);a&&(r(this,v)!==n||N(this.options.enabled,r(this,v))!==N(i.enabled,r(this,v))||u!==r(this,rt))&&y(this,C,Yt).call(this,u)}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 y(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),u=r(this,lt),o=r(this,Ft),w=t!==i?t.state:r(this,jt),{state:d}=t;let c={...d},g=!1,f;if(e._optimisticResults){const b=this.hasListeners(),k=!b&&pe(t,e),Ve=b&&me(t,i,e,n);(k||Ve)&&(c={...c,...ke(d.data,t.options)}),e._optimisticResults==="isRestoring"&&(c.fetchStatus="idle")}let{error:P,errorUpdatedAt:D,status:R}=c;if(e.select&&c.data!==void 0)if(a&&c.data===(u==null?void 0:u.data)&&e.select===r(this,xt))f=r(this,Dt);else try{h(this,xt,e.select),f=e.select(c.data),f=Vt(a==null?void 0:a.data,f,e),h(this,Dt,f),h(this,V,null)}catch(b){h(this,V,b)}else f=c.data;if(e.placeholderData!==void 0&&f===void 0&&R==="pending"){let b;if(a!=null&&a.isPlaceholderData&&e.placeholderData===(o==null?void 0:o.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&&(R="success",f=Vt(a==null?void 0:a.data,b,e),g=!0)}r(this,V)&&(P=r(this,V),f=r(this,Dt),D=Date.now(),R="error");const O=c.fetchStatus==="fetching",Q=R==="pending",S=R==="error",E=Q&&O,M=f!==void 0;return{status:R,fetchStatus:c.fetchStatus,isPending:Q,isSuccess:R==="success",isError:S,isInitialLoading:E,isLoading:E,data:f,dataUpdatedAt:c.dataUpdatedAt,error:P,errorUpdatedAt:D,failureCount:c.fetchFailureCount,failureReason:c.fetchFailureReason,errorUpdateCount:c.errorUpdateCount,isFetched:c.dataUpdateCount>0||c.errorUpdateCount>0,isFetchedAfterMount:c.dataUpdateCount>w.dataUpdateCount||c.errorUpdateCount>w.errorUpdateCount,isFetching:O,isRefetching:O&&!Q,isLoadingError:S&&!M,isPaused:c.fetchStatus==="paused",isPlaceholderData:g,isRefetchError:S&&M,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:u}=this.options,o=typeof u=="function"?u():u;if(o==="all"||!o&&!r(this,Mt).size)return!0;const m=new Set(o??r(this,Mt));return this.options.throwOnError&&m.add("error"),Object.keys(r(this,I)).some(w=>{const d=w;return r(this,I)[d]!==e[d]&&m.has(d)})};(t==null?void 0:t.listeners)!==!1&&a()&&(n.listeners=!0),y(this,C,_e).call(this,{...n,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&y(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){y(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(){y(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=Ue(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){y(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())&&y(this,C,Ut).call(this)},r(this,rt)))},Jt=function(){y(this,C,Wt).call(this),y(this,C,Yt).call(this,y(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){A.batch(()=>{t.listeners&&this.listeners.forEach(e=>{e(r(this,I))}),r(this,T).getQueryCache().notify({query:r(this,v),type:"observerResultsUpdated"})})},Pe);function ys(s,t){return N(t.enabled,s)!==!1&&s.state.data===void 0&&!(s.state.status==="error"&&t.retryOnMount===!1)}function pe(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 me(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,Re,ms=(Re=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(),y(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){y(this,J,kt).call(this),y(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),y(this,J,kt).call(this),y(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)??Ne();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){A.batch(()=>{var e,i,n,a,u,o,m,w;if(r(this,Y)&&this.hasListeners()){const d=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,d,c),(a=(n=r(this,Y)).onSettled)==null||a.call(n,t.data,null,d,c)):(t==null?void 0:t.type)==="error"&&((o=(u=r(this,Y)).onError)==null||o.call(u,t.error,d,c),(w=(m=r(this,Y)).onSettled)==null||w.call(m,void 0,t.error,d,c))}this.listeners.forEach(d=>{d(r(this,at))})})},Re),vs="VUE_QUERY_CLIENT";function $e(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&&Fe(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,u])=>[a,re(u,t,a,i+1)]);return Object.fromEntries(n)}return s}function bs(s,t){return re(s,t)}function p(s,t=!1){return bs(s,(e,i,n)=>{if(n===1&&i==="queryKey")return p(e,!0);if(t&&Os(e))return p(e(),t);if(Fe(e))return p(We(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 Be(s=""){if(!ze())throw new Error("vue-query hooks can only be used inside setup() function or functions that support injection context.");const t=$e(s),e=Ye(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 He{find(s){return super.find(p(s))}findAll(s={}){return super.findAll(p(s))}},ws=class extends Ge{find(s){return super.find(p(s))}findAll(s={}){return super.findAll(p(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=Je(!1)}isFetching(s={}){return super.isFetching(p(s))}isMutating(s={}){return super.isMutating(p(s))}getQueryData(s){return super.getQueryData(p(s))}ensureQueryData(s){return super.ensureQueryData(p(s))}getQueriesData(s){return super.getQueriesData(p(s))}setQueryData(s,t,e={}){return super.setQueryData(p(s),t,p(e))}setQueriesData(s,t,e={}){return super.setQueriesData(p(s),t,p(e))}getQueryState(s){return super.getQueryState(p(s))}removeQueries(s={}){return super.removeQueries(p(s))}resetQueries(s={},t={}){return super.resetQueries(p(s),p(t))}cancelQueries(s={},t={}){return super.cancelQueries(p(s),p(t))}invalidateQueries(s={},t={}){const e=p(s),i=p(t);if(super.invalidateQueries({...e,refetchType:"none"},i),e.refetchType==="none")return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return Xe().then(()=>super.refetchQueries(n,i))}refetchQueries(s={},t={}){return super.refetchQueries(p(s),p(t))}fetchQuery(s){return super.fetchQuery(p(s))}prefetchQuery(s){return super.prefetchQuery(p(s))}fetchInfiniteQuery(s){return super.fetchInfiniteQuery(p(s))}prefetchInfiniteQuery(s){return super.prefetchInfiniteQuery(p(s))}setDefaultOptions(s){super.setDefaultOptions(p(s))}setQueryDefaults(s,t){super.setQueryDefaults(p(s),p(t))}getQueryDefaults(s){return super.getQueryDefaults(p(s))}setMutationDefaults(s,t){super.setMutationDefaults(p(s),p(t))}getMutationDefaults(s){return super.getMutationDefaults(p(s))}},Ms={install:(s,t={})=>{const e=$e(t.queryClientKey);let i;if("queryClient"in t&&t.queryClient)i=t.queryClient;else{const u="queryClientConfig"in t?t.queryClientConfig:void 0;i=new Qs(u)}yt||i.mount();let n=()=>{};if(t.clientPersister){i.isRestoring.value=!0;const[u,o]=t.clientPersister(i);n=u,o.then(()=>{var m;i.isRestoring.value=!1,(m=t.clientPersisterOnSuccess)==null||m.call(t,i)})}const a=()=>{i.unmount(),n()};if(s.onUnmount)s.onUnmount(a);else{const u=s.unmount;s.unmount=function(){a(),u()}}s.provide(e,i)}};function Ss(s,t,e){const i=Be(),n=De(()=>{const f=p(t);typeof f.enabled=="function"&&(f.enabled=f.enabled());const P=i.defaultQueryOptions(f);return P._optimisticResults=i.isRestoring.value?"isRestoring":"optimistic",P}),a=new s(i,n.value),u=Ee(a.getCurrentResult());let o=()=>{};mt(i.isRestoring,f=>{f||(o(),o=a.subscribe(P=>{ie(u,P)}))},{immediate:!0});const m=()=>{a.setOptions(n.value),ie(u,a.getCurrentResult())};mt(n,m),Me(()=>{o()});const w=(...f)=>(m(),u.refetch(...f)),d=()=>new Promise((f,P)=>{let D=()=>{};const R=()=>{if(n.value.enabled!==!1){a.setOptions(n.value);const O=a.getOptimisticResult(n.value);O.isStale?(D(),a.fetchOptimistic(n.value).then(f,Q=>{ne(n.value.throwOnError,[Q,a.getCurrentQuery()])?P(Q):f(a.getCurrentResult())})):(D(),f(O))}};R(),D=mt(n,R)});mt(()=>u.error,f=>{if(u.isError&&!u.isFetching&&ne(n.value.throwOnError,[f,a.getCurrentQuery()]))throw f});const g=Ae(u);for(const f in u)typeof u[f]=="function"&&(g[f]=u[f]);return g.suspense=d,g.refetch=w,g}function As(s,t){return Ss(ds,s)}function Us(s,t){const e=Be(),i=De(()=>e.defaultMutationOptions(p(s))),n=new ms(e,i.value),a=Ee(n.getCurrentResult()),u=n.subscribe(d=>{ie(a,d)}),o=(d,c)=>{n.mutate(d,c).catch(()=>{})};mt(i,()=>{n.setOptions(i.value)}),Me(()=>{u()});const w=Ae(a);return mt(()=>a.error,d=>{if(d&&ne(i.value.throwOnError,[d]))throw d}),{...w,mutate:o,mutateAsync:a.mutate,reset:a.reset}}export{Qs as Q,Ms as V,As as a,Us as b,Be as u};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Z as s,a as h,b as a}from"./zod.DnW1_kUe.0.0.
|
|
1
|
+
import{Z as s,a as h,b as a}from"./zod.DnW1_kUe.0.0.31-alpha.2.js";import{i as j,c as y}from"./vee-validate.DHH7oAn8.0.0.31-alpha.2.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.4
|
|
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),D=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)),cn=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(D(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(D(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 oc(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=D(e),s=D(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),f=t.hasOwnProperty(o);if(l&&!f||!l&&f||!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?"":D(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)&&!D(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.4
|
|
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 lc(e){return new Jr(e)}function Oo(){return me}function fc(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;for(let s=n;s;s=s.prevDep)s.version===-1?(s===n&&(n=s.prevDep),Is(s),Mo(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0;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 Dn{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={dep:this,sub:X,version:this.version,nextDep:void 0,prevDep:void 0,nextSub:void 0,prevSub:void 0,prevActiveLink:void 0},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,ft=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 Dn),r.track()}}function Ke(e,t,n,s,r,i){const o=gn.get(e);if(!o){kt++;return}const l=f=>{f&&f.trigger()};if(Ss(),t==="clear")o.forEach(l);else{const f=D(e),h=f&&Es(n);if(f&&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":f?h&&l(o.get("length")):(l(o.get(ft)),mt(e)&&l(o.get(rs)));break;case"delete":f||(l(o.get(ft)),mt(e)&&l(o.get(rs)));break;case"set":mt(e)&&l(o.get(ft));break}}As()}function Po(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 Nn(e){return pe(e=G(e),"iterate",Kt),e}const Ro={__proto__:null,[Symbol.iterator](){return qn(this,Symbol.iterator,he)},concat(...e){return ht(this).concat(...e.map(t=>D(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=Nn(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=Nn(e),l=o!==e&&!Ae(e),f=o[t];if(f!==Do[t]){const a=f.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=f.call(o,h,s);return l&&r?r(u):u}function rr(e,t,n,s){const r=Nn(e);let i=n;return r!==e&&(Ae(e)?n.length>3&&(i=function(o,l,f){return n.call(this,o,l,f,e)}):i=function(o,l,f){return n.call(this,o,he(l),f,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 No=xs("__proto__,__v_isRef,__isVue"),ni=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter($e));function Lo(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?Yo:li:i?oi:ii).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=D(t);if(!r){let f;if(o&&(f=Ro[n]))return f;if(n==="hasOwnProperty")return Lo}const l=Reflect.get(t,n,ue(t)?t:s);return($e(n)?ni.has(n):No(n))||(r||pe(t,"get",n),i)?l:ue(l)?o&&Es(n)?l:l.value:Z(l)?r?fi(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 f=at(i);if(!Ae(s)&&!at(s)&&(i=G(i),s=G(s)),!D(t)&&ue(i)&&!ue(s))return f?!1:(i.value=s,!0)}const o=D(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",D(t)?"length":ft),Reflect.ownKeys(t)}}class Bo extends si{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const $o=new ri,Vo=new Bo,Ho=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?Ds: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",ft),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 fr(){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),f=t?Fs:e?Ds:he;return!e&&pe(l,"iterate",ft),o.forEach((h,u)=>s.call(r,f(h),f(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,f=e==="keys"&&o,h=r[e](...s),u=n?Fs:t?Ds:he;return!t&&pe(i,"iterate",f?rs:ft),{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 jo(){const e={get(i){return Qt(this,i)},get size(){return tn(this)},has:en,add:ir,set:or,delete:lr,clear:fr,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:fr,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,Ko,Uo,Wo]=jo();function Os(e,t){const n=t?e?Wo:Uo:e?Ko: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 Go={get:Os(!1,!1)},qo={get:Os(!1,!0)},Jo={get:Os(!0,!1)};const ii=new WeakMap,oi=new WeakMap,li=new WeakMap,Yo=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 Zo(e){return e.__v_skip||!Object.isExtensible(e)?0:zo(yo(e))}function Ms(e){return at(e)?e:Ps(e,!1,$o,Go,ii)}function Xo(e){return Ps(e,!1,Ho,qo,oi)}function fi(e){return Ps(e,!0,Vo,Jo,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=Zo(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 Qo(e){return!Y(e,"__v_skip")&&Object.isExtensible(e)&&jr(e,"__v_skip",!0),e}const he=e=>Z(e)?Ms(e):e,Ds=e=>Z(e)?fi(e):e;function ue(e){return e?e.__v_isRef===!0:!1}function el(e){return ci(e,!1)}function cc(e){return ci(e,!0)}function ci(e,t){return ue(e)?e:new tl(e,t)}class tl{constructor(t,n){this.dep=new Dn,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 uc(e){return $(e)?e():ui(e)}const nl={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,nl)}class sl{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Dn,{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 rl(e){return new sl(e)}function ac(e){const t=D(e)?new Array(e.length):{};for(const n in e)t[n]=di(e,n);return t}class il{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 Po(G(this._object),this._key)}}class ol{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 dc(e,t,n){return ue(e)?e:$(e)?new ol(e):Z(e)&&arguments.length>1?di(e,t,n):el(e)}function di(e,t,n){const s=e[t];return ue(s)?s:new il(e,t,n)}class ll{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Dn(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 ll(s,r,n)}const rn={},mn=new WeakMap;let lt;function cl(e,t=!1,n=lt){if(n){let s=mn.get(n);s||mn.set(n,s=[]),s.push(e)}}function ul(e,t,n=J){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:l,call:f}=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):D(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 f?f(y,2):y()})):$(e)?t?a=f?()=>f(e,2):e:a=()=>{if(p){et();try{p()}finally{tt()}}const y=lt;lt=u;try{return f?f(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,_];f?f(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=>cl(y,!1,u),p=u.onStop=()=>{const y=mn.get(u);if(y){if(f)f(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(D(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.4
|
|
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(D(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 f=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,f,h)===!1)return}l=l.parent}if(i){et(),Jt(i,null,10,[e,f,h]),tt();return}}al(e,n,r,s,o)}function al(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 Ns=null;function dl(e){const t=Ns||hi;return e?t.then(this?e.bind(this):e):t}function hl(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(hl(t),0,e),e.flags|=1,pi()}}function pi(){!Ut&&!is&&(is=!0,Ns=hi.then(mi))}function os(e){D(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 cr(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,Ns=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 pl(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 hc(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,f=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:f}))}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 f=l.dir[s];f&&(et(),Re(f,n,8,[e.el,l,e,t]),tt())}}const yi=Symbol("_vte"),bi=e=>e.__isTeleport,$t=e=>e&&(e.disabled||e.disabled===""),gl=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},ml={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,i,o,l,f,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=(M,L)=>{S&16&&u(F,M,L,r,i,o,l,f)},k=()=>{const M=t.target=ls(t.props,C),L=vi(M,t,P,_);M&&(o!=="svg"&&ur(M)?o="svg":o!=="mathml"&&ar(M)&&(o="mathml"),V||(j(M,L),un(t)))};V&&(j(n,R),un(t)),gl(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),M=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,M,r,i,o,l),Ws(e,t,!0)):f||a(e,t,M,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:f,targetStart:h,targetAnchor:u,target:a,props:p}=e;if(a&&(r(h),r(u)),i&&r(f),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:_l};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:f,children:h,props:u}=e,a=i===2;if(a&&s(o,t,n),(!a||$t(u))&&f&16)for(let p=0;p<h.length;p++)r(h[p],t,n,2);a&&s(l,t,n)}function _l(e,t,n,s,r,i,{o:{nextSibling:o,parentNode:l,querySelector:f,insert:h,createText:u}},a){const p=t.target=ls(t.props,f);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 pc=ml;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},yl={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 f=dr(i);if(!f)return Yn(i);let h=Gt(f,o,s,n,p=>h=p);f.type!==fe&&Qe(f,h);const u=n.subTree,a=u&&dr(u);if(a&&a.type!==fe&&!Me(f,a)&&Ti(n).type!==fe){const p=Gt(a,o,s,n);if(Qe(a,p),l==="out-in"&&f.type!==fe)return s.isLeaving=!0,p.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete p.afterLeave},Yn(i);l==="in-out"&&f.type!==fe&&(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!==fe){t=n;break}}return t}const bl=yl;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:f,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=(M,L)=>{M&&Re(M,s,9,L)},j=(M,L)=>{const K=L[1];R(M,L),D(M)?M.every(O=>O.length<=1)&&K():M.length<=1&&K()},k={mode:o,persisted:l,beforeEnter(M){let L=f;if(!n.isMounted)if(i)L=W||f;else return;M[Ze]&&M[Ze](!0);const K=w[y];K&&Me(e,K)&&K.el[Ze]&&K.el[Ze](),R(L,[M])},enter(M){let L=h,K=u,O=a;if(!n.isMounted)if(i)L=V||h,K=S||u,O=F||a;else return;let q=!1;const re=M[ln]=we=>{q||(q=!0,we?R(O,[M]):R(K,[M]),k.delayedLeave&&k.delayedLeave(),M[ln]=void 0)};L?j(L,[M,re]):re()},leave(M,L){const K=String(e.key);if(M[ln]&&M[ln](!0),n.isUnmounting)return L();R(p,[M]);let O=!1;const q=M[Ze]=re=>{O||(O=!0,L(),re?R(P,[M]):R(C,[M]),M[Ze]=void 0,w[K]===e&&delete w[K])};w[K]=e,_?j(_,[M,q]):q()},clone(M){const L=Gt(M,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!==fe)&&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 gc(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 fs(e,t,n,s,r=!1){if(D(e)){e.forEach((C,P)=>fs(C,t&&(D(t)?t[P]:t),n,s,r));return}if(ct(s)&&!r)return;const i=s.shapeFlag&4?Kn(s.component):s.el,o=r?null:i,{i:l,r:f}=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!==f&&(ne(h)?(u[h]=null,_(h)&&(a[h]=null)):ue(h)&&(h.value=null)),$(f))Jt(f,l,12,[o,u]);else{const C=ne(f),P=ue(f);if(C||P){const W=()=>{if(e.f){const V=C?_(f)?a[f]:u[f]:f.value;r?D(V)&&Ts(V,i):D(V)?V.includes(i)||V.push(i):C?(u[f]=[i],_(f)&&(a[f]=u[f])):(f.value=[i],e.k&&(u[e.k]=f.value))}else C?(u[f]=o,_(f)&&(a[f]=o)):P&&(f.value=o,e.k&&(u[e.k]=o))};o?(W.id=-1,le(W,n)):W()}}}const ct=e=>!!e.type.__asyncLoader,Bn=e=>e.type.__isKeepAlive,vl={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:f,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),f(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=>Dt(S,y)),F&&C(y=>!Dt(F,y))},{flush:"post",deep:!0});let W=null;const V=()=>{W!=null&&(xn(n.subTree.type)?le(()=>{r.set(W,fn(n.subTree))},n.subTree.suspense):r.set(W,fn(n.subTree)))};return Vn(V),$s(V),Vs(()=>{r.forEach(S=>{const{subTree:F,suspense:y}=n,w=fn(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=fn(F);if(y.type===fe)return o=null,y;const w=y.type,R=ys(ct(y)?y.type.__asyncResolved||{}:w),{include:j,exclude:k,max:M}=e;if(j&&(!R||!Dt(j,R))||k&&R&&Dt(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),M&&i.size>parseInt(M,10)&&P(i.values().next().value)),y.shapeFlag|=256,o=y,xn(F.type)?F:y}}},mc=vl;function Dt(e,t){return D(e)?e.some(n=>Dt(n,t)):ne(e)?e.split(",").includes(t):_o(e)?(e.lastIndex=0,e.test(t)):!1}function xl(e,t){Ai(e,"a",t)}function Cl(e,t){Ai(e,"da",t)}function Ai(e,t,n=ce){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)&&Tl(s,t,n,r),r=r.parent}}function Tl(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 fn(e){return e.shapeFlag&128?e.ssContent:e}function $n(e,t,n=ce,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{et();const l=dt(n),f=Re(t,n,e,o);return l(),tt(),f});return s?r.unshift(i):r.push(i),i}}const Ge=e=>(t,n=ce)=>{(!kn||e==="sp")&&$n(e,(...s)=>t(...s),n)},Ii=Ge("bm"),Vn=Ge("m"),wl=Ge("bu"),$s=Ge("u"),Vs=Ge("bum"),Hs=Ge("um"),El=Ge("sp"),Sl=Ge("rtg"),Al=Ge("rtc");function Il(e,t=ce){$n("ec",e,t)}const js="components",Fl="directives";function _c(e,t){return ks(js,e,!0,t)||e}const Fi=Symbol.for("v-ndc");function yc(e){return ne(e)?ks(js,e,!1)||e:e||Fi}function bc(e){return ks(Fl,e)}function ks(e,t,n=!0,s=!1){const r=oe||ce;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 vc(e,t,n,s){let r;const i=n,o=D(e);if(o||ne(e)){const l=o&&yt(e);let f=!1;l&&(f=!Ae(e),e=Nn(e)),r=new Array(e.length);for(let h=0,u=e.length;h<u;h++)r[h]=t(f?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,f)=>t(l,f,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let f=0,h=l.length;f<h;f++){const u=l[f];r[f]=t(e[u],u,f,i)}}else r=[];return r}function xc(e,t){for(let n=0;n<t.length;n++){const s=t[n];if(D(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 Cc(e,t,n={},s,r){if(oe.ce||oe.parent&&ct(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===fe||t.type===ye&&!Oi(t.children)):!0)?e:null}function Tc(e,t){const n={};for(const s in e)n[/[A-Z]/.test(s)?`on:${s}`:cn(s)]=e[s];return n}const cs=e=>e?Zi(e)?Kn(e):cs(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=>cs(e.parent),$root:e=>cs(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=dl.bind(e.proxy)),$watch:e=>Ql.bind(e)}),Zn=(e,t)=>e!==J&&!e.__isScriptSetup&&Y(e,t),Ol={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:f}=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=f.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 D(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function wc(e,t){return!e||!t?e||t:D(e)&&D(t)?e.concat(t):ie({},yn(e),yn(t))}function Ec(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 Ml(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:f,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:M,expose:L,inheritAttrs:K,components:O,directives:q,filters:re}=t;if(h&&Pl(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=Ef({get:nt,set:Zt});Object.defineProperty(s,Q,{enumerable:!0,configurable:!0,get:()=>st.value,set:De=>st.value=De})}if(l)for(const Q in l)Mi(l[Q],s,n,Q);if(f){const Q=$(f)?f.call(n):f;Reflect.ownKeys(Q).forEach(ee=>{$l(ee,Q[ee])})}u&&pr(u,e,"c");function se(Q,ee){D(ee)?ee.forEach(nt=>Q(nt.bind(n))):ee&&Q(ee.bind(n))}if(se(Ii,a),se(Vn,p),se(wl,_),se($s,C),se(xl,P),se(Cl,W),se(Il,k),se(Al,R),se(Sl,j),se(Vs,S),se(Hs,y),se(El,M),D(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),O&&(e.components=O),q&&(e.directives=q),M&&Si(e)}function Pl(e,t,n=Be){D(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(D(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(D(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 f;return l?f=l:!r.length&&!n&&!s?f=t:(f={},r.length&&r.forEach(h=>bn(f,h,o,!0)),bn(f,t,o)),Z(t)&&i.set(t,f),f}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=Rl[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Rl={data:gr,props:mr,emits:mr,methods:Nt,computed:Nt,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:Nt,directives:Nt,watch:Nl,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 Nt(as(e),as(t))}function as(e){if(D(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 Nt(e,t){return e?ie(Object.create(null),e,t):t}function mr(e,t){return e?D(e)&&D(t)?[...new Set([...e,...t])]:ie(Object.create(null),yn(e),yn(t??{})):t}function Nl(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 Ll=0;function Bl(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 f=!1;const h=i.app={_uid:Ll++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:Af,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(!f){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),f=!0,h._container=u,u.__vue_app__=h,Kn(_.component)}},onUnmount(u){l.push(u)},unmount(){f&&(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 $l(e,t){if(ce){let n=ce.provides;const s=ce.parent&&ce.parent.provides;s===n&&(n=ce.provides=Object.create(s)),n[e]=t}}function an(e,t,n=!1){const s=ce||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 Sc(){return!!(ce||oe||ut)}const Ri={},Di=()=>Object.create(Ri),Ni=e=>Object.getPrototypeOf(e)===Ri;function Vl(e,t,n,s=!1){const r={},i=Di();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:Xo(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Hl(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=G(r),[f]=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(f)if(Y(i,p))_!==i[p]&&(i[p]=_,h=!0);else{const C=Ie(p);r[C]=ds(f,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)))&&(f?n&&(n[a]!==void 0||n[u]!==void 0)&&(r[a]=ds(f,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 f in t){if(Lt(f))continue;const h=t[f];let u;r&&Y(r,u=Ie(f))?!i||!i.includes(u)?n[u]=h:(l||(l={}))[u]=h:Hn(e.emitsOptions,f)||(!(f in s)||h!==s[f])&&(s[f]=h,o=!0)}if(i){const f=G(n),h=l||J;for(let u=0;u<i.length;u++){const a=i[u];n[a]=ds(r,f,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 f=o.default;if(o.type!==Function&&!o.skipFactory&&$(f)){const{propsDefaults:h}=r;if(n in h)s=h[n];else{const u=dt(r);s=h[n]=f.call(null,t),u()}}else s=f;r.ce&&r.ce._setProp(n,s)}o[0]&&(i&&!l?s=!1:o[1]&&(s===""||s===We(n))&&(s=!0))}return s}const jl=new WeakMap;function Bi(e,t,n=!1){const s=n?jl:t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},l=[];let f=!1;if(!$(e)){const u=a=>{f=!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&&!f)return Z(e)&&s.set(e,gt),gt;if(D(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]=D(p)||$(p)?{type:p}:ie({},p),C=_.type;let P=!1,W=!0;if(D(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=>D(e)?e.map(Oe):[Oe(e)],kl=(e,t,n)=>{if(t._n)return t;const s=pl((...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])},Kl=(e,t,n)=>{const s=e.slots=Di();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)},Ul=(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=af;function Wl(e){return Gl(e)}function Gl(e,t){const n=Kr();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:f,setText:h,setElementText:u,parentNode:a,nextSibling:p,setScopeId:_=Be,insertStaticContent:C}=e,P=(c,d,g,v=null,m=null,b=null,A=void 0,E=null,T=!!d.dynamicChildren)=>{if(c===d)return;c&&!Me(c,d)&&(v=Xt(c),De(c,m,b,!0),c=null),d.patchFlag===-2&&(T=!1,d.dynamicChildren=null);const{type:x,ref:B,shapeFlag:I}=d;switch(x){case jn:W(c,d,g,v);break;case fe:V(c,d,g,v);break;case Ht:c==null&&S(d,g,v,A);break;case ye:O(c,d,g,v,m,b,A,E,T);break;default:I&1?w(c,d,g,v,m,b,A,E,T):I&6?q(c,d,g,v,m,b,A,E,T):(I&64||I&128)&&x.process(c,d,g,v,m,b,A,E,T,Ft)}B!=null&&m&&fs(B,c&&c.ref,b,d||c,!d)},W=(c,d,g,v)=>{if(c==null)s(d.el=l(d.children),g,v);else{const m=d.el=c.el;d.children!==c.children&&h(m,d.children)}},V=(c,d,g,v)=>{c==null?s(d.el=f(d.children||""),g,v):d.el=c.el},S=(c,d,g,v)=>{[c.el,c.anchor]=C(c.children,d,g,v,c.el,c.anchor)},F=({el:c,anchor:d},g,v)=>{let m;for(;c&&c!==d;)m=p(c),s(c,g,v),c=m;s(d,g,v)},y=({el:c,anchor:d})=>{let g;for(;c&&c!==d;)g=p(c),r(c),c=g;r(d)},w=(c,d,g,v,m,b,A,E,T)=>{d.type==="svg"?A="svg":d.type==="math"&&(A="mathml"),c==null?R(d,g,v,m,b,A,E,T):M(c,d,m,b,A,E,T)},R=(c,d,g,v,m,b,A,E)=>{let T,x;const{props:B,shapeFlag:I,transition:N,dirs:H}=c;if(T=c.el=o(c.type,b,B&&B.is,B),I&8?u(T,c.children):I&16&&k(c.children,T,null,v,m,Xn(c,b),A,E),H&&rt(c,null,v,"created"),j(T,c,c.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,c)}H&&rt(c,null,v,"beforeMount");const U=ql(m,N);U&&N.beforeEnter(T),s(T,d,g),((x=B&&B.onVnodeMounted)||U||H)&&le(()=>{x&&Se(x,v,c),U&&N.enter(T),H&&rt(c,null,v,"mounted")},m)},j=(c,d,g,v,m)=>{if(g&&_(c,g),v)for(let b=0;b<v.length;b++)_(c,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(c,A,A.scopeId,A.slotScopeIds,m.parent)}}},k=(c,d,g,v,m,b,A,E,T=0)=>{for(let x=T;x<c.length;x++){const B=c[x]=E?Xe(c[x]):Oe(c[x]);P(null,B,d,g,v,m,b,A,E)}},M=(c,d,g,v,m,b,A)=>{const E=d.el=c.el;let{patchFlag:T,dynamicChildren:x,dirs:B}=d;T|=c.patchFlag&16;const I=c.props||J,N=d.props||J;let H;if(g&&it(g,!1),(H=N.onVnodeBeforeUpdate)&&Se(H,g,d,c),B&&rt(d,c,g,"beforeUpdate"),g&&it(g,!0),(I.innerHTML&&N.innerHTML==null||I.textContent&&N.textContent==null)&&u(E,""),x?L(c.dynamicChildren,x,E,g,v,Xn(d,m),b):A||ee(c,d,E,null,g,v,Xn(d,m),b,!1),T>0){if(T&16)K(E,I,N,g,m);else if(T&2&&I.class!==N.class&&i(E,"class",null,N.class,m),T&4&&i(E,"style",I.style,N.style,m),T&8){const U=d.dynamicProps;for(let te=0;te<U.length;te++){const z=U[te],xe=I[z],de=N[z];(de!==xe||z==="value")&&i(E,z,xe,de,m,g)}}T&1&&c.children!==d.children&&u(E,d.children)}else!A&&x==null&&K(E,I,N,g,m);((H=N.onVnodeUpdated)||B)&&le(()=>{H&&Se(H,g,d,c),B&&rt(d,c,g,"updated")},v)},L=(c,d,g,v,m,b,A)=>{for(let E=0;E<d.length;E++){const T=c[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=(c,d,g,v,m)=>{if(d!==g){if(d!==J)for(const b in d)!Lt(b)&&!(b in g)&&i(c,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(c,b,E,A,m,v)}"value"in g&&i(c,"value",d.value,g.value,m)}},O=(c,d,g,v,m,b,A,E,T)=>{const x=d.el=c?c.el:l(""),B=d.anchor=c?c.anchor:l("");let{patchFlag:I,dynamicChildren:N,slotScopeIds:H}=d;H&&(E=E?E.concat(H):H),c==null?(s(x,g,v),s(B,g,v),k(d.children||[],g,B,m,b,A,E,T)):I>0&&I&64&&N&&c.dynamicChildren?(L(c.dynamicChildren,N,g,m,b,A,E),(d.key!=null||m&&d===m.subTree)&&Ws(c,d,!0)):ee(c,d,g,B,m,b,A,E,T)},q=(c,d,g,v,m,b,A,E,T)=>{d.slotScopeIds=E,c==null?d.shapeFlag&512?m.ctx.activate(d,g,v,A,T):re(d,g,v,m,b,A,T):we(c,d,T)},re=(c,d,g,v,m,b,A)=>{const E=c.component=bf(c,v,m);if(Bn(c)&&(E.ctx.renderer=Ft),vf(E,!1,A),E.asyncDep){if(m&&m.registerDep(E,se,A),!c.el){const T=E.subTree=ae(fe);V(null,T,d,g)}}else se(E,c,d,g,m,b,A)},we=(c,d,g)=>{const v=d.component=c.component;if(rf(c,d,g))if(v.asyncDep&&!v.asyncResolved){Q(v,d,g);return}else v.next=d,v.update();else d.el=c.el,v.vnode=d},se=(c,d,g,v,m,b,A)=>{const E=()=>{if(c.isMounted){let{next:I,bu:N,u:H,parent:U,vnode:te}=c;{const Ce=ki(c);if(Ce){I&&(I.el=te.el,Q(c,I,A)),Ce.asyncDep.then(()=>{c.isUnmounted||E()});return}}let z=I,xe;it(c,!1),I?(I.el=te.el,Q(c,I,A)):I=te,N&&_t(N),(xe=I.props&&I.props.onVnodeBeforeUpdate)&&Se(xe,U,I,te),it(c,!0);const de=Qn(c),Fe=c.subTree;c.subTree=de,P(Fe,de,a(Fe.el),Xt(Fe),c,m,b),I.el=de.el,z===null&&Gs(c,de.el),H&&le(H,m),(xe=I.props&&I.props.onVnodeUpdated)&&le(()=>Se(xe,U,I,te),m)}else{let I;const{el:N,props:H}=d,{bm:U,m:te,parent:z,root:xe,type:de}=c,Fe=ct(d);if(it(c,!1),U&&_t(U),!Fe&&(I=H&&H.onVnodeBeforeMount)&&Se(I,z,d),it(c,!0),N&&Xs){const Ce=()=>{c.subTree=Qn(c),Xs(N,c.subTree,c,m,null)};Fe&&de.__asyncHydrate?de.__asyncHydrate(N,c,Ce):Ce()}else{xe.ce&&xe.ce._injectChildStyle(de);const Ce=c.subTree=Qn(c);P(null,Ce,g,v,c,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&&ct(z.vnode)&&z.vnode.shapeFlag&256)&&c.a&&le(c.a,m),c.isMounted=!0,d=g=v=null}};c.scope.on();const T=c.effect=new Yr(E);c.scope.off();const x=c.update=T.run.bind(T),B=c.job=T.runIfDirty.bind(T);B.i=c,B.id=c.uid,T.scheduler=()=>Ls(B),it(c,!0),x()},Q=(c,d,g)=>{d.component=c;const v=c.vnode.props;c.vnode=d,c.next=null,Hl(c,d.props,v,g),Ul(c,d.children,g),et(),cr(c),tt()},ee=(c,d,g,v,m,b,A,E,T=!1)=>{const x=c&&c.children,B=c?c.shapeFlag:0,I=d.children,{patchFlag:N,shapeFlag:H}=d;if(N>0){if(N&128){Zt(x,I,g,v,m,b,A,E,T);return}else if(N&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=(c,d,g,v,m,b,A,E,T)=>{c=c||gt,d=d||gt;const x=c.length,B=d.length,I=Math.min(x,B);let N;for(N=0;N<I;N++){const H=d[N]=T?Xe(d[N]):Oe(d[N]);P(c[N],H,g,null,m,b,A,E,T)}x>B?It(c,m,b,!0,!1,I):k(d,g,v,m,b,A,E,T,I)},Zt=(c,d,g,v,m,b,A,E,T)=>{let x=0;const B=d.length;let I=c.length-1,N=B-1;for(;x<=I&&x<=N;){const H=c[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<=N;){const H=c[I],U=d[N]=T?Xe(d[N]):Oe(d[N]);if(Me(H,U))P(H,U,g,null,m,b,A,E,T);else break;I--,N--}if(x>I){if(x<=N){const H=N+1,U=H<B?d[H].el:v;for(;x<=N;)P(null,d[x]=T?Xe(d[x]):Oe(d[x]),g,U,m,b,A,E,T),x++}}else if(x>N)for(;x<=I;)De(c[x],m,b,!0),x++;else{const H=x,U=x,te=new Map;for(x=U;x<=N;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=N-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=c[x];if(xe>=de){De(Te,m,b,!0);continue}let Ne;if(Te.key!=null)Ne=te.get(Te.key);else for(z=U;z<=N;z++)if(Ot[z-U]===0&&Me(Te,d[z])){Ne=z;break}Ne===void 0?De(Te,m,b,!0):(Ot[Ne-U]=x+1,Ne>=Ce?Ce=Ne:Fe=!0,P(Te,d[Ne],g,null,m,b,A,E,T),xe++)}const Qs=Fe?Jl(Ot):gt;for(z=Qs.length-1,x=de-1;x>=0;x--){const Te=U+x,Ne=d[Te],er=Te+1<B?d[Te+1].el:v;Ot[x]===0?P(null,Ne,g,er,m,b,A,E,T):Fe&&(z<0||x!==Qs[z]?st(Ne,g,er,2):z--)}}},st=(c,d,g,v,m=null)=>{const{el:b,type:A,transition:E,children:T,shapeFlag:x}=c;if(x&6){st(c.component.subTree,d,g,v);return}if(x&128){c.suspense.move(d,g,v);return}if(x&64){A.move(c,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(c.anchor,d,g);return}if(A===Ht){F(c,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:N,afterLeave:H}=E,U=()=>s(b,d,g),te=()=>{I(b,()=>{U(),H&&H()})};N?N(b,U,te):te()}else s(b,d,g)},De=(c,d,g,v=!1,m=!1)=>{const{type:b,props:A,ref:E,children:T,dynamicChildren:x,shapeFlag:B,patchFlag:I,dirs:N,cacheIndex:H}=c;if(I===-2&&(m=!1),E!=null&&fs(E,null,g,c,!0),H!=null&&(d.renderCache[H]=void 0),B&256){d.ctx.deactivate(c);return}const U=B&1&&N,te=!ct(c);let z;if(te&&(z=A&&A.onVnodeBeforeUnmount)&&Se(z,d,c),B&6)po(c.component,g,v);else{if(B&128){c.suspense.unmount(g,v);return}U&&rt(c,null,d,"beforeUnmount"),B&64?c.type.remove(c,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(c)}(te&&(z=A&&A.onVnodeUnmounted)||U)&&le(()=>{z&&Se(z,d,c),U&&rt(c,null,d,"unmounted")},g)},Ys=c=>{const{type:d,el:g,anchor:v,transition:m}=c;if(d===ye){ho(g,v);return}if(d===Ht){y(c);return}const b=()=>{r(g),m&&!m.persisted&&m.afterLeave&&m.afterLeave()};if(c.shapeFlag&1&&m&&!m.persisted){const{leave:A,delayLeave:E}=m,T=()=>A(g,b);E?E(c.el,b,T):T()}else b()},ho=(c,d)=>{let g;for(;c!==d;)g=p(c),r(c),c=g;r(d)},po=(c,d,g)=>{const{bum:v,scope:m,job:b,subTree:A,um:E,m:T,a:x}=c;vn(T),vn(x),v&&_t(v),m.stop(),b&&(b.flags|=8,De(A,c,d,g)),E&&le(E,d),le(()=>{c.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&c.asyncDep&&!c.asyncResolved&&c.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},It=(c,d,g,v=!1,m=!1,b=0)=>{for(let A=b;A<c.length;A++)De(c[A],d,g,v,m)},Xt=c=>{if(c.shapeFlag&6)return Xt(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const d=p(c.anchor||c.el),g=d&&d[yi];return g?p(g):d};let Un=!1;const zs=(c,d,g)=>{c==null?d._vnode&&De(d._vnode,null,null,!0):P(d._vnode||null,c,d,null,null,null,g),d._vnode=c,Un||(Un=!0,cr(),gi(),Un=!1)},Ft={p:P,um:De,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:Bl(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 ql(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ws(e,t,n=!1){const s=e.children,r=t.children;if(D(s)&&D(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 Jl(e){const t=e.slice(),n=[0];let s,r,i,o,l;const f=e.length;for(s=0;s<f;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 Yl=Symbol.for("v-scx"),zl=()=>an(Yl);function Ac(e,t){return zt(e,null,t)}function Zl(e,t){return zt(e,null,{flush:"post"})}function Xl(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 f;if(kn)if(i==="sync"){const p=zl();f=p.__watcherHandles||(p.__watcherHandles=[])}else if(!t||s)l.once=!0;else return{stop:Be,resume:Be,pause:Be};const h=ce;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=ul(e,t,l);return f&&f.push(a),a}function Ql(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 Ic(e,t,n=J){const s=At(),r=Ie(t),i=We(t),o=Ui(e,t),l=rl((f,h)=>{let u,a=J,p;return Xl(()=>{const _=e[t];be(u,_)&&(u=_,h())}),{get(){return f(),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 f=0;return{next(){return f<2?{value:f++?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 ef(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,f=s[l=cn(t)]||s[l=cn(Ie(t))];!f&&i&&(f=s[l=cn(We(t))]),f&&Re(f,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 f=h=>{const u=Wi(h,t,!0);u&&(l=!0,ie(o,u))};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}return!i&&!l?(Z(e)&&s.set(e,null),null):(D(i)?i.forEach(f=>o[f]=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:f,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:f}):y(a,null)),S=t.props?l:nf(l)}}catch(y){jt.length=0,Yt(y,e,1),V=ae(fe)}let F=V;if(S&&P!==!1){const y=Object.keys(S),{shapeFlag:w}=F;y.length&&w&7&&(i&&y.some(Cs)&&(S=sf(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 tf(e,t=!0){let n;for(let s=0;s<e.length;s++){const r=e[s];if(wt(r)){if(r.type!==fe||r.children==="v-if"){if(n)return;n=r}}else return}return n}const nf=e=>{let t;for(const n in e)(n==="class"||n==="style"||In(n))&&((t||(t={}))[n]=e[n]);return t},sf=(e,t)=>{const n={};for(const s in e)(!Cs(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function rf(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:f}=t,h=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&f>=0){if(f&1024)return!0;if(f&16)return s?yr(s,o,h):!!o;if(f&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 of={name:"Suspense",__isSuspense:!0,process(e,t,n,s,r,i,o,l,f,h){if(e==null)lf(t,n,s,r,i,o,l,f,h);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}ff(e,t,n,s,r,o,l,f,h)}},hydrate:cf,normalize:uf},Fc=of;function qt(e,t){const n=e.props&&e.props[t];$(n)&&n()}function lf(e,t,n,s,r,i,o,l,f){const{p:h,o:{createElement:u}}=f,a=u("div"),p=e.suspense=Gi(e,r,s,t,a,n,i,o,l,f);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 ff(e,t,n,s,r,i,o,l,{p:f,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)?(f(P,p,a.hiddenContainer,null,r,a,i,o,l),a.deps<=0?a.resolve():W&&(V||(f(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?(f(null,p,a.hiddenContainer,null,r,a,i,o,l),a.deps<=0?a.resolve():(f(C,_,n,s,r,null,i,o,l),vt(a,_))):C&&Me(p,C)?(f(C,p,n,s,r,a,i,o,l),a.resolve(!0)):(f(null,p,a.hiddenContainer,null,r,a,i,o,l),a.deps<=0&&a.resolve()));else if(C&&Me(p,C))f(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++,f(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,f,h,u=!1){const{p:a,m:p,um:_,n:C,o:{parentNode:P,remove:W}}=h;let V;const S=df(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:M,pendingBranch:L,pendingId:K,effects:O,parentComponent:q,container:re}=w;let we=!1;w.isHydrating?w.isHydrating=!1:R||(we=M&&L.transition&&L.transition.mode==="out-in",we&&(M.transition.afterLeave=()=>{K===w.pendingId&&(p(L,re,i===y?C(M):i,0),os(O))}),M&&(P(M.el)===re&&(i=C(M)),_(M,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(...O),Q=!0;break}se=se.parent}!Q&&!we&&os(O),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:M,container:L,namespace:K}=w;qt(j,"onFallback");const O=C(k),q=()=>{w.isInFallback&&(a(null,R,L,O,M,null,K,l,f),vt(w,R))},re=R.transition&&R.transition.mode==="out-in";re&&(k.transition.afterLeave=q),w.isInFallback=!0,_(k,M,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 M=!!w.pendingBranch;M&&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:O}=R;_s(R,K,!1),L&&(O.el=L);const q=!L&&R.subTree.el;j(R,O,P(L||R.subTree.el),L?null:C(R.subTree),w,o,k),q&&W(q),Gs(R,O.el),M&&--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 cf(e,t,n,s,r,i,o,l,f){const h=t.suspense=Gi(t,s,n,e.parentNode,document.createElement("div"),null,r,i,o,l,!0),u=f(e,h.pendingBranch=t.ssContent,n,h,i,o);return h.deps===0&&h.resolve(!1,!0),u}function uf(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=br(s?n.default:n),e.ssFallback=s?br(n.fallback):ae(fe)}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 D(e)&&(e=tf(e)),e=Oe(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function af(e,t){t&&t.pendingBranch?D(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 df(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const ye=Symbol.for("v-fgt"),jn=Symbol.for("v-txt"),fe=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 Oc(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 f={__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(f,n),i&128&&e.normalize(f)):n&&(f.shapeFlag|=ne(n)?8:16),Tt>0&&!o&&ve&&(f.patchFlag>0||i&6)&&f.patchFlag!==32&&ve.push(f),f}const ae=hf;function hf(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===Fi)&&(e=fe),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(wf(e)&&(e=e.__vccOpts),t){t=pf(t);let{class:l,style:f}=t;l&&!ne(l)&&(t.class=Rn(l)),Z(f)&&(Rs(f)&&!D(f)&&(f=ie({},f)),t.style=Pn(f))}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 pf(e){return e?Rs(e)||Ni(e)?ie({},e):e:null}function Ue(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:f}=e,h=t?mf(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?D(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:f,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 f&&s&&Qe(u,f.clone(u)),u}function gf(e=" ",t=0){return ae(jn,null,e,t)}function Mc(e,t){const n=ae(Ht,null,e);return n.staticCount=t,n}function Pc(e="",t=!1){return t?(Cn(),ps(fe,null,e)):ae(fe,null,e)}function Oe(e){return e==null||typeof e=="boolean"?ae(fe):D(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(D(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&&!Ni(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=[gf(t)]):n=8);e.children=t,e.shapeFlag|=n}function mf(...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&&!(D(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 _f=Pi();let yf=0;function bf(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||_f,i={uid:yf++,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=ef.bind(null,i),e.ce&&e.ce(i),i}let ce=null;const At=()=>ce||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=>ce=n),gs=t("__VUE_SSR_SETTERS__",n=>kn=n)}const dt=e=>{const t=ce;return Tn(e),e.scope.on(),()=>{e.scope.off(),Tn(t)}},ms=()=>{ce&&ce.scope.off(),Tn(null)};function Zi(e){return e.vnode.shapeFlag&4}let kn=!1;function vf(e,t=!1,n=!1){t&&gs(t);const{props:s,children:r}=e.vnode,i=Zi(e);Vl(e,s,i,t),Kl(e,r,n);const o=i?xf(e,t):void 0;return t&&gs(!1),o}function xf(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Ol);const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Tf(e):null,i=dt(e);et();const o=Jt(s,e,0,[e.props,r]);if(tt(),i(),ws(o)){if(ct(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:f}=s,h=ie(ie({isCustomElement:i,delimiters:l},o),f);s.render=xr(r,h)}}e.render=s.render||Be}{const r=dt(e);et();try{Ml(e)}finally{tt(),r()}}}const Cf={get(e,t){return pe(e,"get",""),e[t]}};function Tf(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Cf),slots:e.slots,emit:e.emit,expose:t}}function Kn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ai(Qo(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 wf(e){return $(e)&&"__vccOpts"in e}const Ef=(e,t)=>fl(e,t,kn);function Sf(e,t,n){const s=arguments.length;return s===2?Z(t)&&!D(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 Af="3.5.4";/**
|
|
14
|
+
* @vue/runtime-dom v3.5.4
|
|
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,If="http://www.w3.org/2000/svg",Ff="http://www.w3.org/1998/Math/MathML",je=typeof document<"u"?document:null,Tr=je&&je.createElement("template"),Of={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(If,e):t==="mathml"?je.createElementNS(Ff,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 f=l.firstChild;for(;f.firstChild;)l.appendChild(f.firstChild);l.removeChild(f)}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),Mf=e=>(e.displayName="Transition",e.props=to,e),Rc=Mf((e,{slots:t})=>Sf(bl,no(e),t)),ot=(e,t=[])=>{D(e)?e.forEach(n=>n(...t)):e&&e(...t)},wr=e=>e?D(e)?e.some(t=>t.length>1):e.length>1:!1;function no(e){const t={};for(const O in e)O in eo||(t[O]=e[O]);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:f=i,appearActiveClass:h=o,appearToClass:u=l,leaveFromClass:a=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:_=`${n}-leave-to`}=e,C=Pf(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,M=(O,q,re)=>{Ye(O,q?u:l),Ye(O,q?h:o),re&&re()},L=(O,q)=>{O._isLeaving=!1,Ye(O,a),Ye(O,_),Ye(O,p),q&&q()},K=O=>(q,re)=>{const we=O?j:S,se=()=>M(q,O,re);ot(we,[q,se]),Er(()=>{Ye(q,O?f:i),He(q,O?u:l),wr(we)||Sr(q,s,P,se)})};return ie(t,{onBeforeEnter(O){ot(V,[O]),He(O,i),He(O,o)},onBeforeAppear(O){ot(R,[O]),He(O,f),He(O,h)},onEnter:K(!1),onAppear:K(!0),onLeave(O,q){O._isLeaving=!0;const re=()=>L(O,q);He(O,a),He(O,p),ro(),Er(()=>{O._isLeaving&&(Ye(O,a),He(O,_),wr(y)||Sr(O,s,W,re))}),ot(y,[O,re])},onEnterCancelled(O){M(O,!1),ot(F,[O])},onAppearCancelled(O){M(O,!0),ot(k,[O])},onLeaveCancelled(O){L(O),ot(w,[O])}})}function Pf(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 Rf=0;function Sr(e,t,n,s){const r=e._endId=++Rf,i=()=>{r===e._endId&&s()};if(n)return setTimeout(i,n);const{type:o,timeout:l,propCount:f}=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>=f&&a()};setTimeout(()=>{u<f&&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`),f=s(`${Pt}Duration`),h=Ar(l,f);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=f.length):(a=Math.max(o,h),u=a>0?o>h?Je:Pt:null,p=u?u===Je?i.length:f.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 Df(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"),Dc={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 Nc(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(()=>{Zl(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 Nf=/(^|;)\s*display\s*:/;function Lf(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=Nf.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(D(n))n.forEach(s=>pn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Bf(e,t);Fr.test(n)?e.setProperty(We(s),n.replace(Fr,""),"important"):e[s]=n}}const Or=["Webkit","Moz","ms"],ts={};function Bf(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 $f(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 Vf(e,t,n,s){e.removeEventListener(t,n,s)}const Rr=Symbol("_vei");function Hf(e,t,n,s,r=null){const i=e[Rr]||(e[Rr]={}),o=i[t];if(s&&o)o.value=s;else{const[l,f]=jf(t);if(s){const h=i[t]=Uf(s,r);Js(e,l,h,f)}else o&&(Vf(e,l,o,f),i[t]=void 0)}}const Dr=/(?:Once|Passive|Capture)$/;function jf(e){let t;if(Dr.test(e)){t={};let s;for(;s=e.match(Dr);)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 kf=Promise.resolve(),Kf=()=>ns||(kf.then(()=>ns=0),ns=Date.now());function Uf(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Re(Wf(s,n.value),t,5,[s])};return n.value=e,n.attached=Kf(),n}function Wf(e,t){if(D(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 Nr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Gf=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?Df(e,s,o):t==="style"?Lf(e,n,s):In(t)?Cs(t)||Hf(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):qf(e,t,s,o))?($f(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 qf(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Nr(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 Nr(t)&&ne(n)?!1:!!(t in e||e._isVueCE&&(/[A-Z]/.test(t)||!ne(n)))}const lo=new WeakMap,fo=new WeakMap,Sn=Symbol("_moveCb"),Lr=Symbol("_enterCb"),Jf=e=>(delete e.props.mode,e),Yf=Jf({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(!Qf(r[0].el,n.vnode.el,o))return;r.forEach(zf),r.forEach(Zf);const l=r.filter(Xf);ro(),l.forEach(f=>{const h=f.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 f=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(f,null,i)}}}),Lc=Yf;function zf(e){const t=e.el;t[Sn]&&t[Sn](),t[Lr]&&t[Lr]()}function Zf(e){fo.set(e,e.el.getBoundingClientRect())}function Xf(e){const t=lo.get(e),n=fo.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 Qf(e,t,n){const s=e.cloneNode(),r=e[Et];r&&r.forEach(l=>{l.split(/\s+/).forEach(f=>f&&s.classList.remove(f))}),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 D(t)?n=>_t(t,n):t},xt=Symbol("_assign"),Bc={deep:!0,created(e,t,n){e[xt]=An(n),Js(e,"change",()=>{const s=e._modelValue,r=co(e),i=e.checked,o=e[xt];if(D(s)){const l=Wr(s,r),f=l!==-1;if(i&&!f)o(s.concat(r));else if(!i&&f){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;D(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 $c={created(e,{value:t},n){e.checked=Ct(t,n.props.value),e[xt]=An(n),Js(e,"change",()=>{e[xt](co(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[xt]=An(s),t!==n&&(e.checked=Ct(t,s.props.value))}};function co(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 ec=["ctrl","shift","alt","meta"],tc={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)=>ec.some(n=>e[`${n}Key`]&&!t.includes(n))},Vc=(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=tc[t[o]];if(l&&l(r,t))return}return e(r,...i)})},nc={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Hc=(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||nc[o]===i))return e(r)})},sc=ie({patchProp:Gf},Of);let $r;function ao(){return $r||($r=Wl(sc))}const jc=(...e)=>{ao().render(...e)},kc=(...e)=>{const t=ao().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=ic(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,rc(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function rc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ic(e){return ne(e)?document.querySelector(e):e}export{Sf as $,dc as A,fi as B,At as C,cc as D,Ms as E,Ac as F,gc as G,Qo as H,yt as I,G as J,_c as K,oc as L,pf as M,ae as N,ye as O,ps as P,$l as Q,vc as R,pl as S,yc as T,Fo as U,Hs as V,gf as W,Rc as X,Pn as Y,bc as Z,Tc as _,an as a,uc as a0,Vs as a1,jn as a2,Ii as a3,wt as a4,kc as a5,Ue as a6,fe as a7,Mn as a8,Ie as a9,Lc as aa,$s as ab,Cl as ac,xl as ad,pc as ae,jc as af,wl as ag,Rs as ah,wc as ai,Ic as aj,Bc as ak,Nc as al,Mc as am,$c as an,mc as ao,Fc as ap,xc as aq,Ec as ar,Cn as b,Ef as c,Oc as d,hc as e,zi as f,Rn as g,Sc as h,ue as i,Cc as j,Pc as k,Hc as l,mf as m,dl as n,fc as o,Vc as p,rl as q,el as r,Xo as s,ac as t,ui as u,Dc as v,dn as w,Vn as x,Oo as y,lc as z};
|
package/dist/interface/{@vueform.Dcx-RQUw.0.0.30-alpha.3.js → @vueform.C6mapDfj.0.0.31-alpha.2.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.DawUEI-_.0.0.31-alpha.2.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};
|
package/dist/interface/{@vueuse.Sz46sDez.0.0.30-alpha.3.js → @vueuse.3bba2al7.0.0.31-alpha.2.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{q as pe,x as he,n as we,y as ge,o as Fe,z as Le,i as ne,u as He,A as Pe,B as ye,r as h,c as A,C as Se,w as R,D as oe,E as K,F as re,G as ie}from"./@vue.BeJw0wEm.0.0.30-alpha.3.js";import{n as Y}from"./nprogress.DQYtKLt9.0.0.30-alpha.3.js";function N(e){return ge()?(Fe(e),!0):!1}function Mt(e){let n=0,t,o;const s=()=>{n-=1,o&&n<=0&&(o.stop(),t=void 0,o=void 0)};return(...r)=>(n+=1,o||(o=Le(!0),t=o.run(()=>e(...r))),N(s),t)}function We(e,n,{enumerable:t=!1,unwrap:o=!0}={}){for(const[s,r]of Object.entries(n))s!=="value"&&(ne(r)&&o?Object.defineProperty(e,s,{get(){return r.value},set(a){r.value=a},enumerable:t}):Object.defineProperty(e,s,{value:r,enumerable:t}));return e}function Re(e,n){if(typeof Symbol<"u"){const t={...e};return Object.defineProperty(t,Symbol.iterator,{enumerable:!1,value(){let o=0;return{next:()=>({value:n[o++],done:o>n.length})}}}),t}else return Object.assign([...n],e)}function x(e){return typeof e=="function"?e():He(e)}const V=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Ce=e=>e!=null,Ye=Object.prototype.toString,be=e=>Ye.call(e)==="[object Object]",W=()=>{},B=Ne();function Ne(){var e,n;return V&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((n=window==null?void 0:window.navigator)==null?void 0:n.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function le(e,n){function t(...o){return new Promise((s,r)=>{Promise.resolve(e(()=>n.apply(this,o),{fn:n,thisArg:this,args:o})).then(s).catch(r)})}return t}const Ee=e=>e();function ze(e,n={}){let t,o,s=W;const r=l=>{clearTimeout(l),s(),s=W};return l=>{const i=x(e),u=x(n.maxWait);return t&&r(t),i<=0||u!==void 0&&u<=0?(o&&(r(o),o=null),Promise.resolve(l())):new Promise((d,f)=>{s=n.rejectOnCancel?f:d,u&&!o&&(o=setTimeout(()=>{t&&r(t),o=null,d(l())},u)),t=setTimeout(()=>{o&&r(o),o=null,d(l())},i)})}}function Ie(...e){let n=0,t,o=!0,s=W,r,a,l,i,u;!ne(e[0])&&typeof e[0]=="object"?{delay:a,trailing:l=!0,leading:i=!0,rejectOnCancel:u=!1}=e[0]:[a,l=!0,i=!0,u=!1]=e;const d=()=>{t&&(clearTimeout(t),t=void 0,s(),s=W)};return c=>{const m=x(a),p=Date.now()-n,w=()=>r=c();return d(),m<=0?(n=Date.now(),w()):(p>m&&(i||!o)?(n=Date.now(),w()):l&&(r=new Promise((S,v)=>{s=u?v:S,t=setTimeout(()=>{n=Date.now(),o=!0,S(w()),d()},Math.max(0,m-p))})),!i&&!t&&(t=setTimeout(()=>o=!0,m)),o=!1,r)}}function Xe(e=Ee){const n=h(!0);function t(){n.value=!1}function o(){n.value=!0}const s=(...r)=>{n.value&&e(...r)};return{isActive:ye(n),pause:t,resume:o,eventFilter:s}}const _e={mounted:"mounted",updated:"updated",unmounted:"unmounted"};function $e(e){const n=Object.create(null);return t=>n[t]||(n[t]=e(t))}const je=/-(\w)/g,Be=$e(e=>e.replace(je,(n,t)=>t?t.toUpperCase():""));function Ve(e){return Se()}function Me(...e){if(e.length!==1)return Pe(...e);const n=e[0];return typeof n=="function"?ye(pe(()=>({get:n,set:W}))):h(n)}function qe(e,n=200,t={}){return le(ze(n,t),e)}function Ge(e,n=200,t=!1,o=!0,s=!1){return le(Ie(n,t,o,s),e)}function xt(e,n={}){let t=e,o,s;const r=pe((c,m)=>(o=c,s=m,{get(){return a()},set(p){l(p)}}));function a(c=!0){return c&&o(),t}function l(c,m=!0){var p,w;if(c===t)return;const S=t;((p=n.onBeforeChange)==null?void 0:p.call(n,c,S))!==!1&&(t=c,(w=n.onChanged)==null||w.call(n,c,S),m&&s())}return We(r,{get:a,set:l,untrackedGet:()=>a(!1),silentSet:c=>l(c,!1),peek:()=>a(!1),lay:c=>l(c,!1)},{enumerable:!0})}function Ue(e,n,t={}){const{eventFilter:o=Ee,...s}=t;return R(e,le(o,n),s)}function Je(e,n,t={}){const{eventFilter:o,...s}=t,{eventFilter:r,pause:a,resume:l,isActive:i}=Xe(o);return{stop:Ue(e,n,{...s,eventFilter:r}),pause:a,resume:l,isActive:i}}function q(e,n=!0,t){Ve()?he(e,t):n?e():we(e)}const Ke=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[T\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/i,Qe=/[YMDHhms]o|\[([^\]]+)\]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|SSS/g;function Ze(e,n,t,o){let s=e<12?"AM":"PM";return o&&(s=s.split("").reduce((r,a)=>r+=`${a}.`,"")),t?s.toLowerCase():s}function I(e){const n=["th","st","nd","rd"],t=e%100;return e+(n[(t-20)%10]||n[t]||n[0])}function et(e,n,t={}){var o;const s=e.getFullYear(),r=e.getMonth(),a=e.getDate(),l=e.getHours(),i=e.getMinutes(),u=e.getSeconds(),d=e.getMilliseconds(),f=e.getDay(),c=(o=t.customMeridiem)!=null?o:Ze,m={Yo:()=>I(s),YY:()=>String(s).slice(-2),YYYY:()=>s,M:()=>r+1,Mo:()=>I(r+1),MM:()=>`${r+1}`.padStart(2,"0"),MMM:()=>e.toLocaleDateString(x(t.locales),{month:"short"}),MMMM:()=>e.toLocaleDateString(x(t.locales),{month:"long"}),D:()=>String(a),Do:()=>I(a),DD:()=>`${a}`.padStart(2,"0"),H:()=>String(l),Ho:()=>I(l),HH:()=>`${l}`.padStart(2,"0"),h:()=>`${l%12||12}`.padStart(1,"0"),ho:()=>I(l%12||12),hh:()=>`${l%12||12}`.padStart(2,"0"),m:()=>String(i),mo:()=>I(i),mm:()=>`${i}`.padStart(2,"0"),s:()=>String(u),so:()=>I(u),ss:()=>`${u}`.padStart(2,"0"),SSS:()=>`${d}`.padStart(3,"0"),d:()=>f,dd:()=>e.toLocaleDateString(x(t.locales),{weekday:"narrow"}),ddd:()=>e.toLocaleDateString(x(t.locales),{weekday:"short"}),dddd:()=>e.toLocaleDateString(x(t.locales),{weekday:"long"}),A:()=>c(l,i),AA:()=>c(l,i,!1,!0),a:()=>c(l,i,!0),aa:()=>c(l,i,!0,!0)};return n.replace(Qe,(p,w)=>{var S,v;return(v=w??((S=m[p])==null?void 0:S.call(m)))!=null?v:p})}function tt(e){if(e===null)return new Date(Number.NaN);if(e===void 0)return new Date;if(e instanceof Date)return new Date(e);if(typeof e=="string"&&!/Z$/i.test(e)){const n=e.match(Ke);if(n){const t=n[2]-1||0,o=(n[7]||"0").substring(0,3);return new Date(n[1],t,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)}}return new Date(e)}function Dt(e,n="HH:mm:ss",t={}){return A(()=>et(tt(x(e)),x(n),t))}function Ot(e,n,t){let o;ne(t)?o={evaluating:t}:o=t||{};const{lazy:s=!1,evaluating:r=void 0,shallow:a=!0,onError:l=W}=o,i=h(!s),u=a?oe(n):h(n);let d=0;return re(async f=>{if(!i.value)return;d++;const c=d;let m=!1;r&&Promise.resolve().then(()=>{r.value=!0});try{const p=await e(w=>{f(()=>{r&&(r.value=!1),m||w()})});c===d&&(u.value=p)}catch(p){l(p)}finally{r&&c===d&&(r.value=!1),m=!0}}),s?A(()=>(i.value=!0,u.value)):u}function Tt(e={}){const{inheritAttrs:n=!0}=e,t=oe(),o=ie({setup(r,{slots:a}){return()=>{t.value=a.default}}}),s=ie({inheritAttrs:n,setup(r,{attrs:a,slots:l}){return()=>{var i;t.value;const u=(i=t.value)==null?void 0:i.call(t,{...nt(a),$slots:l});return n&&(u==null?void 0:u.length)===1?u[0]:u}}});return Re({define:o,reuse:s},[o,s])}function nt(e){const n={};for(const t in e)n[Be(t)]=e[t];return n}function L(e){var n;const t=x(e);return(n=t==null?void 0:t.$el)!=null?n:t}const H=V?window:void 0,xe=V?window.document:void 0;function M(...e){let n,t,o,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([t,o,s]=e,n=H):[n,t,o,s]=e,!n)return W;Array.isArray(t)||(t=[t]),Array.isArray(o)||(o=[o]);const r=[],a=()=>{r.forEach(d=>d()),r.length=0},l=(d,f,c,m)=>(d.addEventListener(f,c,m),()=>d.removeEventListener(f,c,m)),i=R(()=>[L(n),x(s)],([d,f])=>{if(a(),!d)return;const c=be(f)?{...f}:f;r.push(...t.flatMap(m=>o.map(p=>l(d,m,p,c))))},{immediate:!0,flush:"post"}),u=()=>{i(),a()};return N(u),u}let ae=!1;function At(e,n,t={}){const{window:o=H,ignore:s=[],capture:r=!0,detectIframe:a=!1}=t;if(!o)return W;B&&!ae&&(ae=!0,Array.from(o.document.body.children).forEach(c=>c.addEventListener("click",W)),o.document.documentElement.addEventListener("click",W));let l=!0;const i=c=>s.some(m=>{if(typeof m=="string")return Array.from(o.document.querySelectorAll(m)).some(p=>p===c.target||c.composedPath().includes(p));{const p=L(m);return p&&(c.target===p||c.composedPath().includes(p))}}),d=[M(o,"click",c=>{const m=L(e);if(!(!m||m===c.target||c.composedPath().includes(m))){if(c.detail===0&&(l=!i(c)),!l){l=!0;return}n(c)}},{passive:!0,capture:r}),M(o,"pointerdown",c=>{const m=L(e);l=!i(c)&&!!(m&&!c.composedPath().includes(m))},{passive:!0}),a&&M(o,"blur",c=>{setTimeout(()=>{var m;const p=L(e);((m=o.document.activeElement)==null?void 0:m.tagName)==="IFRAME"&&!(p!=null&&p.contains(o.document.activeElement))&&n(c)},0)})].filter(Boolean);return()=>d.forEach(c=>c())}function ot(e){return typeof e=="function"?e:typeof e=="string"?n=>n.key===e:Array.isArray(e)?n=>e.includes(n.key):()=>!0}function kt(...e){let n,t,o={};e.length===3?(n=e[0],t=e[1],o=e[2]):e.length===2?typeof e[1]=="object"?(n=!0,t=e[0],o=e[1]):(n=e[0],t=e[1]):(n=!0,t=e[0]);const{target:s=H,eventName:r="keydown",passive:a=!1,dedupe:l=!1}=o,i=ot(n);return M(s,r,d=>{d.repeat&&x(l)||i(d)&&t(d)},a)}function rt(){const e=h(!1),n=Se();return n&&he(()=>{e.value=!0},n),e}function G(e){const n=rt();return A(()=>(n.value,!!e()))}function lt(e,n,t={}){const{window:o=H,...s}=t;let r;const a=G(()=>o&&"MutationObserver"in o),l=()=>{r&&(r.disconnect(),r=void 0)},i=A(()=>{const c=x(e),m=(Array.isArray(c)?c:[c]).map(L).filter(Ce);return new Set(m)}),u=R(()=>i.value,c=>{l(),a.value&&c.size&&(r=new MutationObserver(n),c.forEach(m=>r.observe(m,s)))},{immediate:!0,flush:"post"}),d=()=>r==null?void 0:r.takeRecords(),f=()=>{u(),l()};return N(f),{isSupported:a,stop:f,takeRecords:d}}function st(e,n={}){const{window:t=H}=n,o=G(()=>t&&"matchMedia"in t&&typeof t.matchMedia=="function");let s;const r=h(!1),a=u=>{r.value=u.matches},l=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",a):s.removeListener(a))},i=re(()=>{o.value&&(l(),s=t.matchMedia(x(e)),"addEventListener"in s?s.addEventListener("change",a):s.addListener(a),r.value=s.matches)});return N(()=>{i(),l(),s=void 0}),r}const U=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},J="__vueuse_ssr_handlers__",ut=it();function it(){return J in U||(U[J]=U[J]||{}),U[J]}function at(e,n){return ut[e]||n}function ct(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const ft={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},ce="vueuse-storage";function dt(e,n,t,o={}){var s;const{flush:r="pre",deep:a=!0,listenToStorageChanges:l=!0,writeDefaults:i=!0,mergeDefaults:u=!1,shallow:d,window:f=H,eventFilter:c,onError:m=y=>{console.error(y)},initOnMounted:p}=o,w=(d?oe:h)(typeof n=="function"?n():n);if(!t)try{t=at("getDefaultStorage",()=>{var y;return(y=H)==null?void 0:y.localStorage})()}catch(y){m(y)}if(!t)return w;const S=x(n),v=ct(S),E=(s=o.serializer)!=null?s:ft[v],{pause:k,resume:D}=Je(w,()=>T(w.value),{flush:r,deep:a,eventFilter:c});f&&l&&q(()=>{t instanceof Storage?M(f,"storage",P):M(f,ce,_),p&&P()}),p||P();function g(y,O){if(f){const F={key:e,oldValue:y,newValue:O,storageArea:t};f.dispatchEvent(t instanceof Storage?new StorageEvent("storage",F):new CustomEvent(ce,{detail:F}))}}function T(y){try{const O=t.getItem(e);if(y==null)g(O,null),t.removeItem(e);else{const F=E.write(y);O!==F&&(t.setItem(e,F),g(O,F))}}catch(O){m(O)}}function b(y){const O=y?y.newValue:t.getItem(e);if(O==null)return i&&S!=null&&t.setItem(e,E.write(S)),S;if(!y&&u){const F=E.read(O);return typeof u=="function"?u(F,S):v==="object"&&!Array.isArray(F)?{...S,...F}:F}else return typeof O!="string"?O:E.read(O)}function P(y){if(!(y&&y.storageArea!==t)){if(y&&y.key==null){w.value=S;return}if(!(y&&y.key!==e)){k();try{(y==null?void 0:y.newValue)!==E.write(w.value)&&(w.value=b(y))}catch(O){m(O)}finally{y?we(D):D()}}}}function _(y){P(y.detail)}return w}function Ft(e={}){const{document:n=xe}=e;if(!n)return h("visible");const t=h(n.visibilityState);return M(n,"visibilitychange",()=>{t.value=n.visibilityState}),t}function De(e,n,t={}){const{window:o=H,...s}=t;let r;const a=G(()=>o&&"ResizeObserver"in o),l=()=>{r&&(r.disconnect(),r=void 0)},i=A(()=>{const f=x(e);return Array.isArray(f)?f.map(c=>L(c)):[L(f)]}),u=R(i,f=>{if(l(),a.value&&o){r=new ResizeObserver(n);for(const c of f)c&&r.observe(c,s)}},{immediate:!0,flush:"post"}),d=()=>{l(),u()};return N(d),{isSupported:a,stop:d}}function Lt(e,n={}){const{reset:t=!0,windowResize:o=!0,windowScroll:s=!0,immediate:r=!0,updateTiming:a="sync"}=n,l=h(0),i=h(0),u=h(0),d=h(0),f=h(0),c=h(0),m=h(0),p=h(0);function w(){const v=L(e);if(!v){t&&(l.value=0,i.value=0,u.value=0,d.value=0,f.value=0,c.value=0,m.value=0,p.value=0);return}const E=v.getBoundingClientRect();l.value=E.height,i.value=E.bottom,u.value=E.left,d.value=E.right,f.value=E.top,c.value=E.width,m.value=E.x,p.value=E.y}function S(){a==="sync"?w():a==="next-frame"&&requestAnimationFrame(()=>w())}return De(e,S),R(()=>L(e),v=>!v&&S()),lt(e,S,{attributeFilter:["style","class"]}),s&&M("scroll",S,{capture:!0,passive:!0}),o&&M("resize",S,{passive:!0}),q(()=>{r&&S()}),{height:l,bottom:i,left:u,right:d,top:f,width:c,x:m,y:p,update:S}}function Ht(e,n={width:0,height:0},t={}){const{window:o=H,box:s="content-box"}=t,r=A(()=>{var f,c;return(c=(f=L(e))==null?void 0:f.namespaceURI)==null?void 0:c.includes("svg")}),a=h(n.width),l=h(n.height),{stop:i}=De(e,([f])=>{const c=s==="border-box"?f.borderBoxSize:s==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(o&&r.value){const m=L(e);if(m){const p=m.getBoundingClientRect();a.value=p.width,l.value=p.height}}else if(c){const m=Array.isArray(c)?c:[c];a.value=m.reduce((p,{inlineSize:w})=>p+w,0),l.value=m.reduce((p,{blockSize:w})=>p+w,0)}else a.value=f.contentRect.width,l.value=f.contentRect.height},t);q(()=>{const f=L(e);f&&(a.value="offsetWidth"in f?f.offsetWidth:n.width,l.value="offsetHeight"in f?f.offsetHeight:n.height)});const u=R(()=>L(e),f=>{a.value=f?n.width:0,l.value=f?n.height:0});function d(){i(),u()}return{width:a,height:l,stop:d}}const j=new Map;function Pt(e){const n=ge();function t(l){var i;const u=j.get(e)||new Set;u.add(l),j.set(e,u);const d=()=>s(l);return(i=n==null?void 0:n.cleanups)==null||i.push(d),d}function o(l){function i(...u){s(i),l(...u)}return t(i)}function s(l){const i=j.get(e);i&&(i.delete(l),i.size||r())}function r(){j.delete(e)}function a(l,i){var u;(u=j.get(e))==null||u.forEach(d=>d(l,i))}return{on:t,once:o,off:s,emit:a,reset:r}}const fe=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function Wt(e,n={}){const{document:t=xe,autoExit:o=!1}=n,s=A(()=>{var v;return(v=L(e))!=null?v:t==null?void 0:t.querySelector("html")}),r=h(!1),a=A(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(v=>t&&v in t||s.value&&v in s.value)),l=A(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(v=>t&&v in t||s.value&&v in s.value)),i=A(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(v=>t&&v in t||s.value&&v in s.value)),u=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(v=>t&&v in t),d=G(()=>s.value&&t&&a.value!==void 0&&l.value!==void 0&&i.value!==void 0),f=()=>u?(t==null?void 0:t[u])===s.value:!1,c=()=>{if(i.value){if(t&&t[i.value]!=null)return t[i.value];{const v=s.value;if((v==null?void 0:v[i.value])!=null)return!!v[i.value]}}return!1};async function m(){if(!(!d.value||!r.value)){if(l.value)if((t==null?void 0:t[l.value])!=null)await t[l.value]();else{const v=s.value;(v==null?void 0:v[l.value])!=null&&await v[l.value]()}r.value=!1}}async function p(){if(!d.value||r.value)return;c()&&await m();const v=s.value;a.value&&(v==null?void 0:v[a.value])!=null&&(await v[a.value](),r.value=!0)}async function w(){await(r.value?m():p())}const S=()=>{const v=c();(!v||v&&f())&&(r.value=v)};return M(t,fe,S,!1),M(()=>L(s),fe,S,!1),o&&N(m),{isSupported:d,isFullscreen:r,enter:p,exit:m,toggle:w}}const de=1;function Rt(e,n={}){const{throttle:t=0,idle:o=200,onStop:s=W,onScroll:r=W,offset:a={left:0,right:0,top:0,bottom:0},eventListenerOptions:l={capture:!1,passive:!0},behavior:i="auto",window:u=H,onError:d=b=>{console.error(b)}}=n,f=h(0),c=h(0),m=A({get(){return f.value},set(b){w(b,void 0)}}),p=A({get(){return c.value},set(b){w(void 0,b)}});function w(b,P){var _,y,O,F;if(!u)return;const C=x(e);if(!C)return;(O=C instanceof Document?u.document.body:C)==null||O.scrollTo({top:(_=x(P))!=null?_:p.value,left:(y=x(b))!=null?y:m.value,behavior:x(i)});const $=((F=C==null?void 0:C.document)==null?void 0:F.documentElement)||(C==null?void 0:C.documentElement)||C;m!=null&&(f.value=$.scrollLeft),p!=null&&(c.value=$.scrollTop)}const S=h(!1),v=K({left:!0,right:!1,top:!0,bottom:!1}),E=K({left:!1,right:!1,top:!1,bottom:!1}),k=b=>{S.value&&(S.value=!1,E.left=!1,E.right=!1,E.top=!1,E.bottom=!1,s(b))},D=qe(k,t+o),g=b=>{var P;if(!u)return;const _=((P=b==null?void 0:b.document)==null?void 0:P.documentElement)||(b==null?void 0:b.documentElement)||L(b),{display:y,flexDirection:O}=getComputedStyle(_),F=_.scrollLeft;E.left=F<f.value,E.right=F>f.value;const C=Math.abs(F)<=(a.left||0),$=Math.abs(F)+_.clientWidth>=_.scrollWidth-(a.right||0)-de;y==="flex"&&O==="row-reverse"?(v.left=$,v.right=C):(v.left=C,v.right=$),f.value=F;let z=_.scrollTop;b===u.document&&!z&&(z=u.document.body.scrollTop),E.top=z<c.value,E.bottom=z>c.value;const se=Math.abs(z)<=(a.top||0),ue=Math.abs(z)+_.clientHeight>=_.scrollHeight-(a.bottom||0)-de;y==="flex"&&O==="column-reverse"?(v.top=ue,v.bottom=se):(v.top=se,v.bottom=ue),c.value=z},T=b=>{var P;if(!u)return;const _=(P=b.target.documentElement)!=null?P:b.target;g(_),S.value=!0,D(b),r(b)};return M(e,"scroll",t?Ge(T,t,!0,!1):T,l),q(()=>{try{const b=x(e);if(!b)return;g(b)}catch(b){d(b)}}),M(e,"scrollend",k,l),{x:m,y:p,isScrolling:S,arrivedState:v,directions:E,measure(){const b=x(e);u&&b&&g(b)}}}function Q(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Ct(e,n,t={}){const{window:o=H}=t;return dt(e,n,o==null?void 0:o.localStorage,t)}const vt={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof Touch?null:[e.movementX,e.movementY]};function mt(e={}){const{type:n="page",touch:t=!0,resetOnTouchEnds:o=!1,initialValue:s={x:0,y:0},window:r=H,target:a=r,scroll:l=!0,eventFilter:i}=e;let u=null;const d=h(s.x),f=h(s.y),c=h(null),m=typeof n=="function"?n:vt[n],p=g=>{const T=m(g);u=g,T&&([d.value,f.value]=T,c.value="mouse")},w=g=>{if(g.touches.length>0){const T=m(g.touches[0]);T&&([d.value,f.value]=T,c.value="touch")}},S=()=>{if(!u||!r)return;const g=m(u);u instanceof MouseEvent&&g&&(d.value=g[0]+r.scrollX,f.value=g[1]+r.scrollY)},v=()=>{d.value=s.x,f.value=s.y},E=i?g=>i(()=>p(g),{}):g=>p(g),k=i?g=>i(()=>w(g),{}):g=>w(g),D=i?()=>i(()=>S(),{}):()=>S();if(a){const g={passive:!0};M(a,["mousemove","dragover"],E,g),t&&n!=="movement"&&(M(a,["touchstart","touchmove"],k,g),o&&M(a,"touchend",v,g)),l&&n==="page"&&M(r,"scroll",D,{passive:!0})}return{x:d,y:f,sourceType:c}}function Yt(e,n={}){const{handleOutside:t=!0,window:o=H}=n,s=n.type||"page",{x:r,y:a,sourceType:l}=mt(n),i=h(e??(o==null?void 0:o.document.body)),u=h(0),d=h(0),f=h(0),c=h(0),m=h(0),p=h(0),w=h(!0);let S=()=>{};return o&&(S=R([i,r,a],()=>{const v=L(i);if(!v||!(v instanceof HTMLElement))return;const{left:E,top:k,width:D,height:g}=v.getBoundingClientRect();f.value=E+(s==="page"?o.pageXOffset:0),c.value=k+(s==="page"?o.pageYOffset:0),m.value=g,p.value=D;const T=r.value-f.value,b=a.value-c.value;w.value=D===0||g===0||T<0||b<0||T>D||b>g,(t||!w.value)&&(u.value=T,d.value=b)},{immediate:!0}),M(document,"mouseleave",()=>{w.value=!0})),{x:r,y:a,sourceType:l,elementX:u,elementY:d,elementPositionX:f,elementPositionY:c,elementHeight:m,elementWidth:p,isOutside:w,stop:S}}function Nt(e={}){const{touch:n=!0,drag:t=!0,capture:o=!1,initialValue:s=!1,window:r=H}=e,a=h(s),l=h(null);if(!r)return{pressed:a,sourceType:l};const i=f=>()=>{a.value=!0,l.value=f},u=()=>{a.value=!1,l.value=null},d=A(()=>L(e.target)||r);return M(d,"mousedown",i("mouse"),{passive:!0,capture:o}),M(r,"mouseleave",u,{passive:!0,capture:o}),M(r,"mouseup",u,{passive:!0,capture:o}),t&&(M(d,"dragstart",i("mouse"),{passive:!0,capture:o}),M(r,"drop",u,{passive:!0,capture:o}),M(r,"dragend",u,{passive:!0,capture:o})),n&&(M(d,"touchstart",i("touch"),{passive:!0,capture:o}),M(r,"touchend",u,{passive:!0,capture:o}),M(r,"touchcancel",u,{passive:!0,capture:o})),{pressed:a,sourceType:l}}function zt(e={}){const{window:n=H}=e,t=G(()=>n&&"screen"in n&&"orientation"in n.screen),o=t.value?n.screen.orientation:{},s=h(o.type),r=h(o.angle||0);return t.value&&M(n,"orientationchange",()=>{s.value=o.type,r.value=o.angle}),{isSupported:t,orientation:s,angle:r,lockOrientation:i=>t.value&&typeof o.lock=="function"?o.lock(i):Promise.reject(new Error("Not supported")),unlockOrientation:()=>{t.value&&typeof o.unlock=="function"&&o.unlock()}}}function Oe(e){const n=window.getComputedStyle(e);if(n.overflowX==="scroll"||n.overflowY==="scroll"||n.overflowX==="auto"&&e.clientWidth<e.scrollWidth||n.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const t=e.parentNode;return!t||t.tagName==="BODY"?!1:Oe(t)}}function pt(e){const n=e||window.event,t=n.target;return Oe(t)?!1:n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)}const Z=new WeakMap;function It(e,n=!1){const t=h(n);let o=null,s="";R(Me(e),l=>{const i=Q(x(l));if(i){const u=i;if(Z.get(u)||Z.set(u,u.style.overflow),u.style.overflow!=="hidden"&&(s=u.style.overflow),u.style.overflow==="hidden")return t.value=!0;if(t.value)return u.style.overflow="hidden"}},{immediate:!0});const r=()=>{const l=Q(x(e));!l||t.value||(B&&(o=M(l,"touchmove",i=>{pt(i)},{passive:!1})),l.style.overflow="hidden",t.value=!0)},a=()=>{const l=Q(x(e));!l||!t.value||(B&&(o==null||o()),l.style.overflow=s,Z.delete(l),t.value=!1)};return N(a),A({get(){return t.value},set(l){l?r():a()}})}function Xt(e,n={}){const{threshold:t=50,onSwipe:o,onSwipeEnd:s,onSwipeStart:r,passive:a=!0,window:l=H}=n,i=K({x:0,y:0}),u=K({x:0,y:0}),d=A(()=>i.x-u.x),f=A(()=>i.y-u.y),{max:c,abs:m}=Math,p=A(()=>c(m(d.value),m(f.value))>=t),w=h(!1),S=A(()=>p.value?m(d.value)>m(f.value)?d.value>0?"left":"right":f.value>0?"up":"down":"none"),v=_=>[_.touches[0].clientX,_.touches[0].clientY],E=(_,y)=>{i.x=_,i.y=y},k=(_,y)=>{u.x=_,u.y=y};let D;const g=ht(l==null?void 0:l.document);a?D=g?{passive:!0}:{capture:!1}:D=g?{passive:!1,capture:!0}:{capture:!0};const T=_=>{w.value&&(s==null||s(_,S.value)),w.value=!1},b=[M(e,"touchstart",_=>{if(_.touches.length!==1)return;D.capture&&!D.passive&&_.preventDefault();const[y,O]=v(_);E(y,O),k(y,O),r==null||r(_)},D),M(e,"touchmove",_=>{if(_.touches.length!==1)return;const[y,O]=v(_);k(y,O),!w.value&&p.value&&(w.value=!0),w.value&&(o==null||o(_))},D),M(e,["touchend","touchcancel"],T,D)];return{isPassiveEventSupported:g,isSwiping:w,direction:S,coordsStart:i,coordsEnd:u,lengthX:d,lengthY:f,stop:()=>b.forEach(_=>_())}}function ht(e){if(!e)return!1;let n=!1;const t={get passive(){return n=!0,!1}};return e.addEventListener("x",W,t),e.removeEventListener("x",W),n}function $t(e={}){const{window:n=H,behavior:t="auto"}=e;if(!n)return{x:h(0),y:h(0)};const o=h(n.scrollX),s=h(n.scrollY),r=A({get(){return o.value},set(l){scrollTo({left:l,behavior:t})}}),a=A({get(){return s.value},set(l){scrollTo({top:l,behavior:t})}});return M(n,"scroll",()=>{o.value=n.scrollX,s.value=n.scrollY},{capture:!1,passive:!0}),{x:r,y:a}}function jt(e={}){const{window:n=H,initialWidth:t=Number.POSITIVE_INFINITY,initialHeight:o=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:r=!0,type:a="inner"}=e,l=h(t),i=h(o),u=()=>{n&&(a==="outer"?(l.value=n.outerWidth,i.value=n.outerHeight):r?(l.value=n.innerWidth,i.value=n.innerHeight):(l.value=n.document.documentElement.clientWidth,i.value=n.document.documentElement.clientHeight))};if(u(),q(u),M("resize",u,{passive:!0}),s){const d=st("(orientation: portrait)");R(d,()=>u())}return{width:l,height:i}}function Bt(e=null,n){const t=h(e),o=A({set:r=>r?Y.start():Y.done(),get:()=>typeof t.value=="number"&&t.value<1});n&&Y.configure(n);const s=Y.set;return Y.set=r=>(t.value=r,s.call(Y,r)),re(()=>{typeof t.value=="number"&&V&&s.call(Y,t.value)}),N(Y.remove),{isLoading:o,progress:t,start:Y.start,done:Y.done,remove:()=>{t.value=null,Y.remove()}}}function Te(e){var n;const t=x(e);return(n=t==null?void 0:t.$el)!=null?n:t}const Ae=V?window:void 0;function X(...e){let n,t,o,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([t,o,s]=e,n=Ae):[n,t,o,s]=e,!n)return W;Array.isArray(t)||(t=[t]),Array.isArray(o)||(o=[o]);const r=[],a=()=>{r.forEach(d=>d()),r.length=0},l=(d,f,c,m)=>(d.addEventListener(f,c,m),()=>d.removeEventListener(f,c,m)),i=R(()=>[Te(n),x(s)],([d,f])=>{if(a(),!d)return;const c=be(f)?{...f}:f;r.push(...t.flatMap(m=>o.map(p=>l(d,m,p,c))))},{immediate:!0,flush:"post"}),u=()=>{i(),a()};return N(u),u}const wt=500,gt=10;function ve(e,n,t){var o,s;const r=A(()=>Te(e));let a,l,i,u=!1;function d(){a&&(clearTimeout(a),a=void 0),l=void 0,i=void 0,u=!1}function f(v){var E,k,D;const[g,T,b]=[i,l,u];if(d(),!(t!=null&&t.onMouseUp)||!T||!g||(E=t==null?void 0:t.modifiers)!=null&&E.self&&v.target!==r.value)return;(k=t==null?void 0:t.modifiers)!=null&&k.prevent&&v.preventDefault(),(D=t==null?void 0:t.modifiers)!=null&&D.stop&&v.stopPropagation();const P=v.x-T.x,_=v.y-T.y,y=Math.sqrt(P*P+_*_);t.onMouseUp(v.timeStamp-g,y,b)}function c(v){var E,k,D,g;(E=t==null?void 0:t.modifiers)!=null&&E.self&&v.target!==r.value||(d(),(k=t==null?void 0:t.modifiers)!=null&&k.prevent&&v.preventDefault(),(D=t==null?void 0:t.modifiers)!=null&&D.stop&&v.stopPropagation(),l={x:v.x,y:v.y},i=v.timeStamp,a=setTimeout(()=>{u=!0,n(v)},(g=t==null?void 0:t.delay)!=null?g:wt))}function m(v){var E,k,D,g;if((E=t==null?void 0:t.modifiers)!=null&&E.self&&v.target!==r.value||!l||(t==null?void 0:t.distanceThreshold)===!1)return;(k=t==null?void 0:t.modifiers)!=null&&k.prevent&&v.preventDefault(),(D=t==null?void 0:t.modifiers)!=null&&D.stop&&v.stopPropagation();const T=v.x-l.x,b=v.y-l.y;Math.sqrt(T*T+b*b)>=((g=t==null?void 0:t.distanceThreshold)!=null?g:gt)&&d()}const p={capture:(o=t==null?void 0:t.modifiers)==null?void 0:o.capture,once:(s=t==null?void 0:t.modifiers)==null?void 0:s.once},w=[X(r,"pointerdown",c,p),X(r,"pointermove",m,p),X(r,["pointerup","pointerleave"],f,p)];return()=>w.forEach(v=>v())}const Vt={[_e.mounted](e,n){typeof n.value=="function"?ve(e,n.value,{modifiers:n.modifiers}):ve(e,...n.value)}};function me(e,n={}){const{delayEnter:t=0,delayLeave:o=0,window:s=Ae}=n,r=h(!1);let a;const l=i=>{const u=i?t:o;a&&(clearTimeout(a),a=void 0),u?a=setTimeout(()=>r.value=i,u):r.value=i};return s&&(X(e,"mouseenter",()=>l(!0),{passive:!0}),X(e,"mouseleave",()=>l(!1),{passive:!0})),r}const qt={[_e.mounted](e,n){const t=n.value;if(typeof t=="function"){const o=me(e);R(o,s=>t(s))}else{const[o,s]=t,r=me(e,s);R(r,a=>o(a))}}};function ee(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function ke(e){const n=window.getComputedStyle(e);if(n.overflowX==="scroll"||n.overflowY==="scroll"||n.overflowX==="auto"&&e.clientWidth<e.scrollWidth||n.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const t=e.parentNode;return!t||t.tagName==="BODY"?!1:ke(t)}}function yt(e){const n=e||window.event,t=n.target;return ke(t)?!1:n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)}const te=new WeakMap;function St(e,n=!1){const t=h(n);let o=null,s="";R(Me(e),l=>{const i=ee(x(l));if(i){const u=i;if(te.get(u)||te.set(u,u.style.overflow),u.style.overflow!=="hidden"&&(s=u.style.overflow),u.style.overflow==="hidden")return t.value=!0;if(t.value)return u.style.overflow="hidden"}},{immediate:!0});const r=()=>{const l=ee(x(e));!l||t.value||(B&&(o=X(l,"touchmove",i=>{yt(i)},{passive:!1})),l.style.overflow="hidden",t.value=!0)},a=()=>{const l=ee(x(e));!l||!t.value||(B&&(o==null||o()),l.style.overflow=s,te.delete(l),t.value=!1)};return N(a),A({get(){return t.value},set(l){l?r():a()}})}function bt(){let e=!1;const n=h(!1);return(t,o)=>{if(n.value=o.value,e)return;e=!0;const s=St(t,o.value);R(n,r=>s.value=r)}}bt();export{Ft as A,De as B,Dt as a,st as b,Mt as c,zt as d,jt as e,Pt as f,Xt as g,$t as h,Bt as i,Ht as j,It as k,mt as l,Yt as m,Nt as n,At as o,Rt as p,kt as q,xt as r,M as s,Lt as t,Ct as u,Wt as v,Tt as w,Ot as x,qt as y,Vt as z};
|
|
1
|
+
import{q as pe,x as he,n as we,y as ge,o as Fe,z as Le,i as ne,u as He,A as Pe,B as ye,r as h,c as A,C as Se,w as R,D as oe,E as K,F as re,G as ie}from"./@vue.DawUEI-_.0.0.31-alpha.2.js";import{n as Y}from"./nprogress.IiPMBi2X.0.0.31-alpha.2.js";function N(e){return ge()?(Fe(e),!0):!1}function Mt(e){let n=0,t,o;const s=()=>{n-=1,o&&n<=0&&(o.stop(),t=void 0,o=void 0)};return(...r)=>(n+=1,o||(o=Le(!0),t=o.run(()=>e(...r))),N(s),t)}function We(e,n,{enumerable:t=!1,unwrap:o=!0}={}){for(const[s,r]of Object.entries(n))s!=="value"&&(ne(r)&&o?Object.defineProperty(e,s,{get(){return r.value},set(a){r.value=a},enumerable:t}):Object.defineProperty(e,s,{value:r,enumerable:t}));return e}function Re(e,n){if(typeof Symbol<"u"){const t={...e};return Object.defineProperty(t,Symbol.iterator,{enumerable:!1,value(){let o=0;return{next:()=>({value:n[o++],done:o>n.length})}}}),t}else return Object.assign([...n],e)}function x(e){return typeof e=="function"?e():He(e)}const V=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Ce=e=>e!=null,Ye=Object.prototype.toString,be=e=>Ye.call(e)==="[object Object]",W=()=>{},B=Ne();function Ne(){var e,n;return V&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((n=window==null?void 0:window.navigator)==null?void 0:n.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function le(e,n){function t(...o){return new Promise((s,r)=>{Promise.resolve(e(()=>n.apply(this,o),{fn:n,thisArg:this,args:o})).then(s).catch(r)})}return t}const Ee=e=>e();function ze(e,n={}){let t,o,s=W;const r=l=>{clearTimeout(l),s(),s=W};return l=>{const i=x(e),u=x(n.maxWait);return t&&r(t),i<=0||u!==void 0&&u<=0?(o&&(r(o),o=null),Promise.resolve(l())):new Promise((d,f)=>{s=n.rejectOnCancel?f:d,u&&!o&&(o=setTimeout(()=>{t&&r(t),o=null,d(l())},u)),t=setTimeout(()=>{o&&r(o),o=null,d(l())},i)})}}function Ie(...e){let n=0,t,o=!0,s=W,r,a,l,i,u;!ne(e[0])&&typeof e[0]=="object"?{delay:a,trailing:l=!0,leading:i=!0,rejectOnCancel:u=!1}=e[0]:[a,l=!0,i=!0,u=!1]=e;const d=()=>{t&&(clearTimeout(t),t=void 0,s(),s=W)};return c=>{const m=x(a),p=Date.now()-n,w=()=>r=c();return d(),m<=0?(n=Date.now(),w()):(p>m&&(i||!o)?(n=Date.now(),w()):l&&(r=new Promise((S,v)=>{s=u?v:S,t=setTimeout(()=>{n=Date.now(),o=!0,S(w()),d()},Math.max(0,m-p))})),!i&&!t&&(t=setTimeout(()=>o=!0,m)),o=!1,r)}}function Xe(e=Ee){const n=h(!0);function t(){n.value=!1}function o(){n.value=!0}const s=(...r)=>{n.value&&e(...r)};return{isActive:ye(n),pause:t,resume:o,eventFilter:s}}const _e={mounted:"mounted",updated:"updated",unmounted:"unmounted"};function $e(e){const n=Object.create(null);return t=>n[t]||(n[t]=e(t))}const je=/-(\w)/g,Be=$e(e=>e.replace(je,(n,t)=>t?t.toUpperCase():""));function Ve(e){return Se()}function Me(...e){if(e.length!==1)return Pe(...e);const n=e[0];return typeof n=="function"?ye(pe(()=>({get:n,set:W}))):h(n)}function qe(e,n=200,t={}){return le(ze(n,t),e)}function Ge(e,n=200,t=!1,o=!0,s=!1){return le(Ie(n,t,o,s),e)}function xt(e,n={}){let t=e,o,s;const r=pe((c,m)=>(o=c,s=m,{get(){return a()},set(p){l(p)}}));function a(c=!0){return c&&o(),t}function l(c,m=!0){var p,w;if(c===t)return;const S=t;((p=n.onBeforeChange)==null?void 0:p.call(n,c,S))!==!1&&(t=c,(w=n.onChanged)==null||w.call(n,c,S),m&&s())}return We(r,{get:a,set:l,untrackedGet:()=>a(!1),silentSet:c=>l(c,!1),peek:()=>a(!1),lay:c=>l(c,!1)},{enumerable:!0})}function Ue(e,n,t={}){const{eventFilter:o=Ee,...s}=t;return R(e,le(o,n),s)}function Je(e,n,t={}){const{eventFilter:o,...s}=t,{eventFilter:r,pause:a,resume:l,isActive:i}=Xe(o);return{stop:Ue(e,n,{...s,eventFilter:r}),pause:a,resume:l,isActive:i}}function q(e,n=!0,t){Ve()?he(e,t):n?e():we(e)}const Ke=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[T\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/i,Qe=/[YMDHhms]o|\[([^\]]+)\]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|SSS/g;function Ze(e,n,t,o){let s=e<12?"AM":"PM";return o&&(s=s.split("").reduce((r,a)=>r+=`${a}.`,"")),t?s.toLowerCase():s}function I(e){const n=["th","st","nd","rd"],t=e%100;return e+(n[(t-20)%10]||n[t]||n[0])}function et(e,n,t={}){var o;const s=e.getFullYear(),r=e.getMonth(),a=e.getDate(),l=e.getHours(),i=e.getMinutes(),u=e.getSeconds(),d=e.getMilliseconds(),f=e.getDay(),c=(o=t.customMeridiem)!=null?o:Ze,m={Yo:()=>I(s),YY:()=>String(s).slice(-2),YYYY:()=>s,M:()=>r+1,Mo:()=>I(r+1),MM:()=>`${r+1}`.padStart(2,"0"),MMM:()=>e.toLocaleDateString(x(t.locales),{month:"short"}),MMMM:()=>e.toLocaleDateString(x(t.locales),{month:"long"}),D:()=>String(a),Do:()=>I(a),DD:()=>`${a}`.padStart(2,"0"),H:()=>String(l),Ho:()=>I(l),HH:()=>`${l}`.padStart(2,"0"),h:()=>`${l%12||12}`.padStart(1,"0"),ho:()=>I(l%12||12),hh:()=>`${l%12||12}`.padStart(2,"0"),m:()=>String(i),mo:()=>I(i),mm:()=>`${i}`.padStart(2,"0"),s:()=>String(u),so:()=>I(u),ss:()=>`${u}`.padStart(2,"0"),SSS:()=>`${d}`.padStart(3,"0"),d:()=>f,dd:()=>e.toLocaleDateString(x(t.locales),{weekday:"narrow"}),ddd:()=>e.toLocaleDateString(x(t.locales),{weekday:"short"}),dddd:()=>e.toLocaleDateString(x(t.locales),{weekday:"long"}),A:()=>c(l,i),AA:()=>c(l,i,!1,!0),a:()=>c(l,i,!0),aa:()=>c(l,i,!0,!0)};return n.replace(Qe,(p,w)=>{var S,v;return(v=w??((S=m[p])==null?void 0:S.call(m)))!=null?v:p})}function tt(e){if(e===null)return new Date(Number.NaN);if(e===void 0)return new Date;if(e instanceof Date)return new Date(e);if(typeof e=="string"&&!/Z$/i.test(e)){const n=e.match(Ke);if(n){const t=n[2]-1||0,o=(n[7]||"0").substring(0,3);return new Date(n[1],t,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)}}return new Date(e)}function Dt(e,n="HH:mm:ss",t={}){return A(()=>et(tt(x(e)),x(n),t))}function Ot(e,n,t){let o;ne(t)?o={evaluating:t}:o=t||{};const{lazy:s=!1,evaluating:r=void 0,shallow:a=!0,onError:l=W}=o,i=h(!s),u=a?oe(n):h(n);let d=0;return re(async f=>{if(!i.value)return;d++;const c=d;let m=!1;r&&Promise.resolve().then(()=>{r.value=!0});try{const p=await e(w=>{f(()=>{r&&(r.value=!1),m||w()})});c===d&&(u.value=p)}catch(p){l(p)}finally{r&&c===d&&(r.value=!1),m=!0}}),s?A(()=>(i.value=!0,u.value)):u}function Tt(e={}){const{inheritAttrs:n=!0}=e,t=oe(),o=ie({setup(r,{slots:a}){return()=>{t.value=a.default}}}),s=ie({inheritAttrs:n,setup(r,{attrs:a,slots:l}){return()=>{var i;t.value;const u=(i=t.value)==null?void 0:i.call(t,{...nt(a),$slots:l});return n&&(u==null?void 0:u.length)===1?u[0]:u}}});return Re({define:o,reuse:s},[o,s])}function nt(e){const n={};for(const t in e)n[Be(t)]=e[t];return n}function L(e){var n;const t=x(e);return(n=t==null?void 0:t.$el)!=null?n:t}const H=V?window:void 0,xe=V?window.document:void 0;function M(...e){let n,t,o,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([t,o,s]=e,n=H):[n,t,o,s]=e,!n)return W;Array.isArray(t)||(t=[t]),Array.isArray(o)||(o=[o]);const r=[],a=()=>{r.forEach(d=>d()),r.length=0},l=(d,f,c,m)=>(d.addEventListener(f,c,m),()=>d.removeEventListener(f,c,m)),i=R(()=>[L(n),x(s)],([d,f])=>{if(a(),!d)return;const c=be(f)?{...f}:f;r.push(...t.flatMap(m=>o.map(p=>l(d,m,p,c))))},{immediate:!0,flush:"post"}),u=()=>{i(),a()};return N(u),u}let ae=!1;function At(e,n,t={}){const{window:o=H,ignore:s=[],capture:r=!0,detectIframe:a=!1}=t;if(!o)return W;B&&!ae&&(ae=!0,Array.from(o.document.body.children).forEach(c=>c.addEventListener("click",W)),o.document.documentElement.addEventListener("click",W));let l=!0;const i=c=>s.some(m=>{if(typeof m=="string")return Array.from(o.document.querySelectorAll(m)).some(p=>p===c.target||c.composedPath().includes(p));{const p=L(m);return p&&(c.target===p||c.composedPath().includes(p))}}),d=[M(o,"click",c=>{const m=L(e);if(!(!m||m===c.target||c.composedPath().includes(m))){if(c.detail===0&&(l=!i(c)),!l){l=!0;return}n(c)}},{passive:!0,capture:r}),M(o,"pointerdown",c=>{const m=L(e);l=!i(c)&&!!(m&&!c.composedPath().includes(m))},{passive:!0}),a&&M(o,"blur",c=>{setTimeout(()=>{var m;const p=L(e);((m=o.document.activeElement)==null?void 0:m.tagName)==="IFRAME"&&!(p!=null&&p.contains(o.document.activeElement))&&n(c)},0)})].filter(Boolean);return()=>d.forEach(c=>c())}function ot(e){return typeof e=="function"?e:typeof e=="string"?n=>n.key===e:Array.isArray(e)?n=>e.includes(n.key):()=>!0}function kt(...e){let n,t,o={};e.length===3?(n=e[0],t=e[1],o=e[2]):e.length===2?typeof e[1]=="object"?(n=!0,t=e[0],o=e[1]):(n=e[0],t=e[1]):(n=!0,t=e[0]);const{target:s=H,eventName:r="keydown",passive:a=!1,dedupe:l=!1}=o,i=ot(n);return M(s,r,d=>{d.repeat&&x(l)||i(d)&&t(d)},a)}function rt(){const e=h(!1),n=Se();return n&&he(()=>{e.value=!0},n),e}function G(e){const n=rt();return A(()=>(n.value,!!e()))}function lt(e,n,t={}){const{window:o=H,...s}=t;let r;const a=G(()=>o&&"MutationObserver"in o),l=()=>{r&&(r.disconnect(),r=void 0)},i=A(()=>{const c=x(e),m=(Array.isArray(c)?c:[c]).map(L).filter(Ce);return new Set(m)}),u=R(()=>i.value,c=>{l(),a.value&&c.size&&(r=new MutationObserver(n),c.forEach(m=>r.observe(m,s)))},{immediate:!0,flush:"post"}),d=()=>r==null?void 0:r.takeRecords(),f=()=>{u(),l()};return N(f),{isSupported:a,stop:f,takeRecords:d}}function st(e,n={}){const{window:t=H}=n,o=G(()=>t&&"matchMedia"in t&&typeof t.matchMedia=="function");let s;const r=h(!1),a=u=>{r.value=u.matches},l=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",a):s.removeListener(a))},i=re(()=>{o.value&&(l(),s=t.matchMedia(x(e)),"addEventListener"in s?s.addEventListener("change",a):s.addListener(a),r.value=s.matches)});return N(()=>{i(),l(),s=void 0}),r}const U=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},J="__vueuse_ssr_handlers__",ut=it();function it(){return J in U||(U[J]=U[J]||{}),U[J]}function at(e,n){return ut[e]||n}function ct(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const ft={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},ce="vueuse-storage";function dt(e,n,t,o={}){var s;const{flush:r="pre",deep:a=!0,listenToStorageChanges:l=!0,writeDefaults:i=!0,mergeDefaults:u=!1,shallow:d,window:f=H,eventFilter:c,onError:m=y=>{console.error(y)},initOnMounted:p}=o,w=(d?oe:h)(typeof n=="function"?n():n);if(!t)try{t=at("getDefaultStorage",()=>{var y;return(y=H)==null?void 0:y.localStorage})()}catch(y){m(y)}if(!t)return w;const S=x(n),v=ct(S),E=(s=o.serializer)!=null?s:ft[v],{pause:k,resume:D}=Je(w,()=>T(w.value),{flush:r,deep:a,eventFilter:c});f&&l&&q(()=>{t instanceof Storage?M(f,"storage",P):M(f,ce,_),p&&P()}),p||P();function g(y,O){if(f){const F={key:e,oldValue:y,newValue:O,storageArea:t};f.dispatchEvent(t instanceof Storage?new StorageEvent("storage",F):new CustomEvent(ce,{detail:F}))}}function T(y){try{const O=t.getItem(e);if(y==null)g(O,null),t.removeItem(e);else{const F=E.write(y);O!==F&&(t.setItem(e,F),g(O,F))}}catch(O){m(O)}}function b(y){const O=y?y.newValue:t.getItem(e);if(O==null)return i&&S!=null&&t.setItem(e,E.write(S)),S;if(!y&&u){const F=E.read(O);return typeof u=="function"?u(F,S):v==="object"&&!Array.isArray(F)?{...S,...F}:F}else return typeof O!="string"?O:E.read(O)}function P(y){if(!(y&&y.storageArea!==t)){if(y&&y.key==null){w.value=S;return}if(!(y&&y.key!==e)){k();try{(y==null?void 0:y.newValue)!==E.write(w.value)&&(w.value=b(y))}catch(O){m(O)}finally{y?we(D):D()}}}}function _(y){P(y.detail)}return w}function Ft(e={}){const{document:n=xe}=e;if(!n)return h("visible");const t=h(n.visibilityState);return M(n,"visibilitychange",()=>{t.value=n.visibilityState}),t}function De(e,n,t={}){const{window:o=H,...s}=t;let r;const a=G(()=>o&&"ResizeObserver"in o),l=()=>{r&&(r.disconnect(),r=void 0)},i=A(()=>{const f=x(e);return Array.isArray(f)?f.map(c=>L(c)):[L(f)]}),u=R(i,f=>{if(l(),a.value&&o){r=new ResizeObserver(n);for(const c of f)c&&r.observe(c,s)}},{immediate:!0,flush:"post"}),d=()=>{l(),u()};return N(d),{isSupported:a,stop:d}}function Lt(e,n={}){const{reset:t=!0,windowResize:o=!0,windowScroll:s=!0,immediate:r=!0,updateTiming:a="sync"}=n,l=h(0),i=h(0),u=h(0),d=h(0),f=h(0),c=h(0),m=h(0),p=h(0);function w(){const v=L(e);if(!v){t&&(l.value=0,i.value=0,u.value=0,d.value=0,f.value=0,c.value=0,m.value=0,p.value=0);return}const E=v.getBoundingClientRect();l.value=E.height,i.value=E.bottom,u.value=E.left,d.value=E.right,f.value=E.top,c.value=E.width,m.value=E.x,p.value=E.y}function S(){a==="sync"?w():a==="next-frame"&&requestAnimationFrame(()=>w())}return De(e,S),R(()=>L(e),v=>!v&&S()),lt(e,S,{attributeFilter:["style","class"]}),s&&M("scroll",S,{capture:!0,passive:!0}),o&&M("resize",S,{passive:!0}),q(()=>{r&&S()}),{height:l,bottom:i,left:u,right:d,top:f,width:c,x:m,y:p,update:S}}function Ht(e,n={width:0,height:0},t={}){const{window:o=H,box:s="content-box"}=t,r=A(()=>{var f,c;return(c=(f=L(e))==null?void 0:f.namespaceURI)==null?void 0:c.includes("svg")}),a=h(n.width),l=h(n.height),{stop:i}=De(e,([f])=>{const c=s==="border-box"?f.borderBoxSize:s==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(o&&r.value){const m=L(e);if(m){const p=m.getBoundingClientRect();a.value=p.width,l.value=p.height}}else if(c){const m=Array.isArray(c)?c:[c];a.value=m.reduce((p,{inlineSize:w})=>p+w,0),l.value=m.reduce((p,{blockSize:w})=>p+w,0)}else a.value=f.contentRect.width,l.value=f.contentRect.height},t);q(()=>{const f=L(e);f&&(a.value="offsetWidth"in f?f.offsetWidth:n.width,l.value="offsetHeight"in f?f.offsetHeight:n.height)});const u=R(()=>L(e),f=>{a.value=f?n.width:0,l.value=f?n.height:0});function d(){i(),u()}return{width:a,height:l,stop:d}}const j=new Map;function Pt(e){const n=ge();function t(l){var i;const u=j.get(e)||new Set;u.add(l),j.set(e,u);const d=()=>s(l);return(i=n==null?void 0:n.cleanups)==null||i.push(d),d}function o(l){function i(...u){s(i),l(...u)}return t(i)}function s(l){const i=j.get(e);i&&(i.delete(l),i.size||r())}function r(){j.delete(e)}function a(l,i){var u;(u=j.get(e))==null||u.forEach(d=>d(l,i))}return{on:t,once:o,off:s,emit:a,reset:r}}const fe=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function Wt(e,n={}){const{document:t=xe,autoExit:o=!1}=n,s=A(()=>{var v;return(v=L(e))!=null?v:t==null?void 0:t.querySelector("html")}),r=h(!1),a=A(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(v=>t&&v in t||s.value&&v in s.value)),l=A(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(v=>t&&v in t||s.value&&v in s.value)),i=A(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(v=>t&&v in t||s.value&&v in s.value)),u=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(v=>t&&v in t),d=G(()=>s.value&&t&&a.value!==void 0&&l.value!==void 0&&i.value!==void 0),f=()=>u?(t==null?void 0:t[u])===s.value:!1,c=()=>{if(i.value){if(t&&t[i.value]!=null)return t[i.value];{const v=s.value;if((v==null?void 0:v[i.value])!=null)return!!v[i.value]}}return!1};async function m(){if(!(!d.value||!r.value)){if(l.value)if((t==null?void 0:t[l.value])!=null)await t[l.value]();else{const v=s.value;(v==null?void 0:v[l.value])!=null&&await v[l.value]()}r.value=!1}}async function p(){if(!d.value||r.value)return;c()&&await m();const v=s.value;a.value&&(v==null?void 0:v[a.value])!=null&&(await v[a.value](),r.value=!0)}async function w(){await(r.value?m():p())}const S=()=>{const v=c();(!v||v&&f())&&(r.value=v)};return M(t,fe,S,!1),M(()=>L(s),fe,S,!1),o&&N(m),{isSupported:d,isFullscreen:r,enter:p,exit:m,toggle:w}}const de=1;function Rt(e,n={}){const{throttle:t=0,idle:o=200,onStop:s=W,onScroll:r=W,offset:a={left:0,right:0,top:0,bottom:0},eventListenerOptions:l={capture:!1,passive:!0},behavior:i="auto",window:u=H,onError:d=b=>{console.error(b)}}=n,f=h(0),c=h(0),m=A({get(){return f.value},set(b){w(b,void 0)}}),p=A({get(){return c.value},set(b){w(void 0,b)}});function w(b,P){var _,y,O,F;if(!u)return;const C=x(e);if(!C)return;(O=C instanceof Document?u.document.body:C)==null||O.scrollTo({top:(_=x(P))!=null?_:p.value,left:(y=x(b))!=null?y:m.value,behavior:x(i)});const $=((F=C==null?void 0:C.document)==null?void 0:F.documentElement)||(C==null?void 0:C.documentElement)||C;m!=null&&(f.value=$.scrollLeft),p!=null&&(c.value=$.scrollTop)}const S=h(!1),v=K({left:!0,right:!1,top:!0,bottom:!1}),E=K({left:!1,right:!1,top:!1,bottom:!1}),k=b=>{S.value&&(S.value=!1,E.left=!1,E.right=!1,E.top=!1,E.bottom=!1,s(b))},D=qe(k,t+o),g=b=>{var P;if(!u)return;const _=((P=b==null?void 0:b.document)==null?void 0:P.documentElement)||(b==null?void 0:b.documentElement)||L(b),{display:y,flexDirection:O}=getComputedStyle(_),F=_.scrollLeft;E.left=F<f.value,E.right=F>f.value;const C=Math.abs(F)<=(a.left||0),$=Math.abs(F)+_.clientWidth>=_.scrollWidth-(a.right||0)-de;y==="flex"&&O==="row-reverse"?(v.left=$,v.right=C):(v.left=C,v.right=$),f.value=F;let z=_.scrollTop;b===u.document&&!z&&(z=u.document.body.scrollTop),E.top=z<c.value,E.bottom=z>c.value;const se=Math.abs(z)<=(a.top||0),ue=Math.abs(z)+_.clientHeight>=_.scrollHeight-(a.bottom||0)-de;y==="flex"&&O==="column-reverse"?(v.top=ue,v.bottom=se):(v.top=se,v.bottom=ue),c.value=z},T=b=>{var P;if(!u)return;const _=(P=b.target.documentElement)!=null?P:b.target;g(_),S.value=!0,D(b),r(b)};return M(e,"scroll",t?Ge(T,t,!0,!1):T,l),q(()=>{try{const b=x(e);if(!b)return;g(b)}catch(b){d(b)}}),M(e,"scrollend",k,l),{x:m,y:p,isScrolling:S,arrivedState:v,directions:E,measure(){const b=x(e);u&&b&&g(b)}}}function Q(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Ct(e,n,t={}){const{window:o=H}=t;return dt(e,n,o==null?void 0:o.localStorage,t)}const vt={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof Touch?null:[e.movementX,e.movementY]};function mt(e={}){const{type:n="page",touch:t=!0,resetOnTouchEnds:o=!1,initialValue:s={x:0,y:0},window:r=H,target:a=r,scroll:l=!0,eventFilter:i}=e;let u=null;const d=h(s.x),f=h(s.y),c=h(null),m=typeof n=="function"?n:vt[n],p=g=>{const T=m(g);u=g,T&&([d.value,f.value]=T,c.value="mouse")},w=g=>{if(g.touches.length>0){const T=m(g.touches[0]);T&&([d.value,f.value]=T,c.value="touch")}},S=()=>{if(!u||!r)return;const g=m(u);u instanceof MouseEvent&&g&&(d.value=g[0]+r.scrollX,f.value=g[1]+r.scrollY)},v=()=>{d.value=s.x,f.value=s.y},E=i?g=>i(()=>p(g),{}):g=>p(g),k=i?g=>i(()=>w(g),{}):g=>w(g),D=i?()=>i(()=>S(),{}):()=>S();if(a){const g={passive:!0};M(a,["mousemove","dragover"],E,g),t&&n!=="movement"&&(M(a,["touchstart","touchmove"],k,g),o&&M(a,"touchend",v,g)),l&&n==="page"&&M(r,"scroll",D,{passive:!0})}return{x:d,y:f,sourceType:c}}function Yt(e,n={}){const{handleOutside:t=!0,window:o=H}=n,s=n.type||"page",{x:r,y:a,sourceType:l}=mt(n),i=h(e??(o==null?void 0:o.document.body)),u=h(0),d=h(0),f=h(0),c=h(0),m=h(0),p=h(0),w=h(!0);let S=()=>{};return o&&(S=R([i,r,a],()=>{const v=L(i);if(!v||!(v instanceof HTMLElement))return;const{left:E,top:k,width:D,height:g}=v.getBoundingClientRect();f.value=E+(s==="page"?o.pageXOffset:0),c.value=k+(s==="page"?o.pageYOffset:0),m.value=g,p.value=D;const T=r.value-f.value,b=a.value-c.value;w.value=D===0||g===0||T<0||b<0||T>D||b>g,(t||!w.value)&&(u.value=T,d.value=b)},{immediate:!0}),M(document,"mouseleave",()=>{w.value=!0})),{x:r,y:a,sourceType:l,elementX:u,elementY:d,elementPositionX:f,elementPositionY:c,elementHeight:m,elementWidth:p,isOutside:w,stop:S}}function Nt(e={}){const{touch:n=!0,drag:t=!0,capture:o=!1,initialValue:s=!1,window:r=H}=e,a=h(s),l=h(null);if(!r)return{pressed:a,sourceType:l};const i=f=>()=>{a.value=!0,l.value=f},u=()=>{a.value=!1,l.value=null},d=A(()=>L(e.target)||r);return M(d,"mousedown",i("mouse"),{passive:!0,capture:o}),M(r,"mouseleave",u,{passive:!0,capture:o}),M(r,"mouseup",u,{passive:!0,capture:o}),t&&(M(d,"dragstart",i("mouse"),{passive:!0,capture:o}),M(r,"drop",u,{passive:!0,capture:o}),M(r,"dragend",u,{passive:!0,capture:o})),n&&(M(d,"touchstart",i("touch"),{passive:!0,capture:o}),M(r,"touchend",u,{passive:!0,capture:o}),M(r,"touchcancel",u,{passive:!0,capture:o})),{pressed:a,sourceType:l}}function zt(e={}){const{window:n=H}=e,t=G(()=>n&&"screen"in n&&"orientation"in n.screen),o=t.value?n.screen.orientation:{},s=h(o.type),r=h(o.angle||0);return t.value&&M(n,"orientationchange",()=>{s.value=o.type,r.value=o.angle}),{isSupported:t,orientation:s,angle:r,lockOrientation:i=>t.value&&typeof o.lock=="function"?o.lock(i):Promise.reject(new Error("Not supported")),unlockOrientation:()=>{t.value&&typeof o.unlock=="function"&&o.unlock()}}}function Oe(e){const n=window.getComputedStyle(e);if(n.overflowX==="scroll"||n.overflowY==="scroll"||n.overflowX==="auto"&&e.clientWidth<e.scrollWidth||n.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const t=e.parentNode;return!t||t.tagName==="BODY"?!1:Oe(t)}}function pt(e){const n=e||window.event,t=n.target;return Oe(t)?!1:n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)}const Z=new WeakMap;function It(e,n=!1){const t=h(n);let o=null,s="";R(Me(e),l=>{const i=Q(x(l));if(i){const u=i;if(Z.get(u)||Z.set(u,u.style.overflow),u.style.overflow!=="hidden"&&(s=u.style.overflow),u.style.overflow==="hidden")return t.value=!0;if(t.value)return u.style.overflow="hidden"}},{immediate:!0});const r=()=>{const l=Q(x(e));!l||t.value||(B&&(o=M(l,"touchmove",i=>{pt(i)},{passive:!1})),l.style.overflow="hidden",t.value=!0)},a=()=>{const l=Q(x(e));!l||!t.value||(B&&(o==null||o()),l.style.overflow=s,Z.delete(l),t.value=!1)};return N(a),A({get(){return t.value},set(l){l?r():a()}})}function Xt(e,n={}){const{threshold:t=50,onSwipe:o,onSwipeEnd:s,onSwipeStart:r,passive:a=!0,window:l=H}=n,i=K({x:0,y:0}),u=K({x:0,y:0}),d=A(()=>i.x-u.x),f=A(()=>i.y-u.y),{max:c,abs:m}=Math,p=A(()=>c(m(d.value),m(f.value))>=t),w=h(!1),S=A(()=>p.value?m(d.value)>m(f.value)?d.value>0?"left":"right":f.value>0?"up":"down":"none"),v=_=>[_.touches[0].clientX,_.touches[0].clientY],E=(_,y)=>{i.x=_,i.y=y},k=(_,y)=>{u.x=_,u.y=y};let D;const g=ht(l==null?void 0:l.document);a?D=g?{passive:!0}:{capture:!1}:D=g?{passive:!1,capture:!0}:{capture:!0};const T=_=>{w.value&&(s==null||s(_,S.value)),w.value=!1},b=[M(e,"touchstart",_=>{if(_.touches.length!==1)return;D.capture&&!D.passive&&_.preventDefault();const[y,O]=v(_);E(y,O),k(y,O),r==null||r(_)},D),M(e,"touchmove",_=>{if(_.touches.length!==1)return;const[y,O]=v(_);k(y,O),!w.value&&p.value&&(w.value=!0),w.value&&(o==null||o(_))},D),M(e,["touchend","touchcancel"],T,D)];return{isPassiveEventSupported:g,isSwiping:w,direction:S,coordsStart:i,coordsEnd:u,lengthX:d,lengthY:f,stop:()=>b.forEach(_=>_())}}function ht(e){if(!e)return!1;let n=!1;const t={get passive(){return n=!0,!1}};return e.addEventListener("x",W,t),e.removeEventListener("x",W),n}function $t(e={}){const{window:n=H,behavior:t="auto"}=e;if(!n)return{x:h(0),y:h(0)};const o=h(n.scrollX),s=h(n.scrollY),r=A({get(){return o.value},set(l){scrollTo({left:l,behavior:t})}}),a=A({get(){return s.value},set(l){scrollTo({top:l,behavior:t})}});return M(n,"scroll",()=>{o.value=n.scrollX,s.value=n.scrollY},{capture:!1,passive:!0}),{x:r,y:a}}function jt(e={}){const{window:n=H,initialWidth:t=Number.POSITIVE_INFINITY,initialHeight:o=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:r=!0,type:a="inner"}=e,l=h(t),i=h(o),u=()=>{n&&(a==="outer"?(l.value=n.outerWidth,i.value=n.outerHeight):r?(l.value=n.innerWidth,i.value=n.innerHeight):(l.value=n.document.documentElement.clientWidth,i.value=n.document.documentElement.clientHeight))};if(u(),q(u),M("resize",u,{passive:!0}),s){const d=st("(orientation: portrait)");R(d,()=>u())}return{width:l,height:i}}function Bt(e=null,n){const t=h(e),o=A({set:r=>r?Y.start():Y.done(),get:()=>typeof t.value=="number"&&t.value<1});n&&Y.configure(n);const s=Y.set;return Y.set=r=>(t.value=r,s.call(Y,r)),re(()=>{typeof t.value=="number"&&V&&s.call(Y,t.value)}),N(Y.remove),{isLoading:o,progress:t,start:Y.start,done:Y.done,remove:()=>{t.value=null,Y.remove()}}}function Te(e){var n;const t=x(e);return(n=t==null?void 0:t.$el)!=null?n:t}const Ae=V?window:void 0;function X(...e){let n,t,o,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([t,o,s]=e,n=Ae):[n,t,o,s]=e,!n)return W;Array.isArray(t)||(t=[t]),Array.isArray(o)||(o=[o]);const r=[],a=()=>{r.forEach(d=>d()),r.length=0},l=(d,f,c,m)=>(d.addEventListener(f,c,m),()=>d.removeEventListener(f,c,m)),i=R(()=>[Te(n),x(s)],([d,f])=>{if(a(),!d)return;const c=be(f)?{...f}:f;r.push(...t.flatMap(m=>o.map(p=>l(d,m,p,c))))},{immediate:!0,flush:"post"}),u=()=>{i(),a()};return N(u),u}const wt=500,gt=10;function ve(e,n,t){var o,s;const r=A(()=>Te(e));let a,l,i,u=!1;function d(){a&&(clearTimeout(a),a=void 0),l=void 0,i=void 0,u=!1}function f(v){var E,k,D;const[g,T,b]=[i,l,u];if(d(),!(t!=null&&t.onMouseUp)||!T||!g||(E=t==null?void 0:t.modifiers)!=null&&E.self&&v.target!==r.value)return;(k=t==null?void 0:t.modifiers)!=null&&k.prevent&&v.preventDefault(),(D=t==null?void 0:t.modifiers)!=null&&D.stop&&v.stopPropagation();const P=v.x-T.x,_=v.y-T.y,y=Math.sqrt(P*P+_*_);t.onMouseUp(v.timeStamp-g,y,b)}function c(v){var E,k,D,g;(E=t==null?void 0:t.modifiers)!=null&&E.self&&v.target!==r.value||(d(),(k=t==null?void 0:t.modifiers)!=null&&k.prevent&&v.preventDefault(),(D=t==null?void 0:t.modifiers)!=null&&D.stop&&v.stopPropagation(),l={x:v.x,y:v.y},i=v.timeStamp,a=setTimeout(()=>{u=!0,n(v)},(g=t==null?void 0:t.delay)!=null?g:wt))}function m(v){var E,k,D,g;if((E=t==null?void 0:t.modifiers)!=null&&E.self&&v.target!==r.value||!l||(t==null?void 0:t.distanceThreshold)===!1)return;(k=t==null?void 0:t.modifiers)!=null&&k.prevent&&v.preventDefault(),(D=t==null?void 0:t.modifiers)!=null&&D.stop&&v.stopPropagation();const T=v.x-l.x,b=v.y-l.y;Math.sqrt(T*T+b*b)>=((g=t==null?void 0:t.distanceThreshold)!=null?g:gt)&&d()}const p={capture:(o=t==null?void 0:t.modifiers)==null?void 0:o.capture,once:(s=t==null?void 0:t.modifiers)==null?void 0:s.once},w=[X(r,"pointerdown",c,p),X(r,"pointermove",m,p),X(r,["pointerup","pointerleave"],f,p)];return()=>w.forEach(v=>v())}const Vt={[_e.mounted](e,n){typeof n.value=="function"?ve(e,n.value,{modifiers:n.modifiers}):ve(e,...n.value)}};function me(e,n={}){const{delayEnter:t=0,delayLeave:o=0,window:s=Ae}=n,r=h(!1);let a;const l=i=>{const u=i?t:o;a&&(clearTimeout(a),a=void 0),u?a=setTimeout(()=>r.value=i,u):r.value=i};return s&&(X(e,"mouseenter",()=>l(!0),{passive:!0}),X(e,"mouseleave",()=>l(!1),{passive:!0})),r}const qt={[_e.mounted](e,n){const t=n.value;if(typeof t=="function"){const o=me(e);R(o,s=>t(s))}else{const[o,s]=t,r=me(e,s);R(r,a=>o(a))}}};function ee(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function ke(e){const n=window.getComputedStyle(e);if(n.overflowX==="scroll"||n.overflowY==="scroll"||n.overflowX==="auto"&&e.clientWidth<e.scrollWidth||n.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const t=e.parentNode;return!t||t.tagName==="BODY"?!1:ke(t)}}function yt(e){const n=e||window.event,t=n.target;return ke(t)?!1:n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)}const te=new WeakMap;function St(e,n=!1){const t=h(n);let o=null,s="";R(Me(e),l=>{const i=ee(x(l));if(i){const u=i;if(te.get(u)||te.set(u,u.style.overflow),u.style.overflow!=="hidden"&&(s=u.style.overflow),u.style.overflow==="hidden")return t.value=!0;if(t.value)return u.style.overflow="hidden"}},{immediate:!0});const r=()=>{const l=ee(x(e));!l||t.value||(B&&(o=X(l,"touchmove",i=>{yt(i)},{passive:!1})),l.style.overflow="hidden",t.value=!0)},a=()=>{const l=ee(x(e));!l||!t.value||(B&&(o==null||o()),l.style.overflow=s,te.delete(l),t.value=!1)};return N(a),A({get(){return t.value},set(l){l?r():a()}})}function bt(){let e=!1;const n=h(!1);return(t,o)=>{if(n.value=o.value,e)return;e=!0;const s=St(t,o.value);R(n,r=>s.value=r)}}bt();export{Ft as A,De as B,Dt as a,st as b,Mt as c,zt as d,jt as e,Pt as f,Xt as g,$t as h,Bt as i,Ht as j,It as k,mt as l,Yt as m,Nt as n,At as o,Rt as p,kt as q,xt as r,M as s,Lt as t,Ct as u,Wt as v,Tt as w,Ot as x,qt as y,Vt as z};
|
package/dist/interface/{Account.hmetZWTc.0.0.30-alpha.3.js → Account.D0b6iR5f.0.0.31-alpha.2.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{f as ee,u as se,c as oe,r as re,_ as ae,d as te}from"./main.
|
|
1
|
+
import{f as ee,u as se,c as oe,r as re,_ as ae,d as te}from"./main.0dhw2k10.0.0.31-alpha.2.js";import{G as ne,r as g,K as le,b as O,P as ie,S as t,u as e,f as o,U as d,N as r,m as b,d as me,k as de,W as M,p as ue,g as N}from"./@vue.DawUEI-_.0.0.31-alpha.2.js";import{m as E,a as j,X as D}from"./@mdi.DVdKciOk.0.0.31-alpha.2.js";import{F as f,a as ce}from"./vee-validate.DHH7oAn8.0.0.31-alpha.2.js";import{i as R}from"./vue3-toastify.B3S_WDRN.0.0.31-alpha.2.js";import{s as pe}from"./pinia.DpM2zEj0.0.0.31-alpha.2.js";import{c as F,d as U,e as G,z as K,V as W,b as X}from"./vuetify.DSpravLa.0.0.31-alpha.2.js";import{u as fe}from"./vue-i18n.DFXDQN1x.0.0.31-alpha.2.js";import"./axios.C-n2IhIP.0.0.31-alpha.2.js";import"./@tanstack.x_Q3Nj6h.0.0.31-alpha.2.js";import"./@camera.ui.DiVLAlWa.0.0.31-alpha.2.js";import"./vue-router.Dwlkeoka.0.0.31-alpha.2.js";import"./@vueuse.3bba2al7.0.0.31-alpha.2.js";import"./nprogress.IiPMBi2X.0.0.31-alpha.2.js";import"./@xterm.ByN7UyPo.0.0.31-alpha.2.js";import"./@vee-validate.z9o4QOgP.0.0.31-alpha.2.js";import"./zod.DnW1_kUe.0.0.31-alpha.2.js";import"./uuid.DvF23Exx.0.0.31-alpha.2.js";import"./socket.io-client.B54E9c8s.0.0.31-alpha.2.js";import"./engine.io-client.DEhtuV4o.0.0.31-alpha.2.js";import"./engine.io-parser.BiEtp6m2.0.0.31-alpha.2.js";import"./@socket.io.Dkula2eQ.0.0.31-alpha.2.js";import"./socket.io-parser.DU0H2ONq.0.0.31-alpha.2.js";import"./rxjs.BlXFYoWE.0.0.31-alpha.2.js";import"./tslib.9k7AwCpt.0.0.31-alpha.2.js";import"./vue-inline-svg.B5DFkaVE.0.0.31-alpha.2.js";import"./v-calendar.8nad-306.0.0.31-alpha.2.js";import"./@popperjs.BQBsAJpH.0.0.31-alpha.2.js";import"./@intlify.D-zKcAzQ.0.0.31-alpha.2.js";const ve={class:"relative"},ge={class:"subview-title text-color"},be={class:"image-upload ml-auto"},_e={for:"file-input"},he={class:"inner-component p-4"},ye={class:"relative"},we={for:"username",class:"v-label"},xe={class:"relative"},ke={for:"password",class:"v-label"},Ce={class:"relative"},Me={for:"passwordConfirm",class:"v-label"},$e={class:"relative"},Ve={for:"sessionTimer",class:"v-label"},Le={key:0,style:{"padding-top":"22px"}},Se={class:"relative"},Ie={class:"flex flex-row"},ze={class:"v-label m-0 mb-0 ml-2",for:"rememberMe"},Fe={class:"text-sm"},Pe={class:"relative"},Te={class:"flex flex-row"},Ae={class:"v-label m-0 mb-0 ml-2",for:"oneLogin"},Be={class:"text-sm"},Oe=ne({__name:"Account",setup(Ne){var T,A;const{smallMobileActive:P}=ee(),$=se(),q=fe(),{loginState:a}=pe($),V=g("avatar"),w=g(),L=g(),_=g(!1),x=g(!1),k=g(!1);let S=((T=a.value.user)==null?void 0:T.rememberMe)??!1,I=((A=a.value.user)==null?void 0:A.oneLogin)??!1;const H=()=>{a.value.user&&(a.value.user.rememberMe=!a.value.user.rememberMe)},J=()=>{a.value.user&&(a.value.user.oneLogin=!a.value.user.oneLogin)},Q=()=>{L.value&&(L.value.resetForm(),V.value="avatar",w.value=void 0),a.value.user&&(a.value.user.rememberMe=S,a.value.user.oneLogin=I)},Y=async n=>{var u;const s=(u=n.target)==null?void 0:u.files;w.value=s==null?void 0:s[0],V.value=await re(n)},Z=async n=>{var h,y,l,i,m,p,C;_.value=!0;let s;const u={...n};delete u.upload;const z=((h=a.value.user)==null?void 0:h.username)!==u.username||u.password&&u.passwordConfirm,v=Object.entries(u).some(([,c])=>c!==void 0);if(w.value&&(s=new FormData,s.append("upload",w.value)),!v&&!s){_.value=!1;return}try{await $.updateUser(u,s,!0),R.success(q.t("components.toast.profile_updated")),S=((y=a.value.user)==null?void 0:y.rememberMe)??S,I=((l=a.value.user)==null?void 0:l.oneLogin)??I,z&&$.logout()}catch(c){R.error(((m=(i=c.response)==null?void 0:i.data)==null?void 0:m.message)??c.message??c),console.error(((C=(p=c.response)==null?void 0:p.data)==null?void 0:C.message)??c.message??c)}_.value=!1};return(n,s)=>{const u=ae,z=le("v-number-input");return O(),ie(e(ce),{ref_key:"form",ref:L,class:"flex flex-col w-full","validation-schema":e(oe),onSubmit:s[3]||(s[3]=v=>Z(v))},{default:t(()=>{var v,h,y;return[o("div",ve,[o("span",ge,d(n.$t("views.settings.profile")),1),o("div",be,[o("label",_e,[r(u,{src:e(V),size:"4rem",style:{"border-radius":"4rem",border:"1px solid var(--border)"}},null,8,["src"]),r(e(f),{id:"file-input",type:"file",name:"upload",accept:"image/png,image/jpeg,image/jpg",onChange:s[0]||(s[0]=l=>Y(l))})])]),o("div",he,[o("div",ye,[o("label",we,d(n.$t("components.form.label.username")),1),r(e(f),{name:"username",value:(v=e(a).user)==null?void 0:v.username},{default:t(({field:l,errorMessage:i,errors:m})=>[r(F,b({name:"username",variant:"outlined",density:"compact"},l,{type:"text",error:m.length>0,"error-messages":i}),null,16,["error","error-messages"])]),_:1},8,["value"])]),s[4]||(s[4]=o("div",{class:"py-1"},null,-1)),o("div",xe,[o("label",ke,d(n.$t("components.form.label.new_password")),1),r(e(f),{name:"password"},{default:t(({field:l,errorMessage:i,errors:m})=>[r(F,b({name:"password",variant:"outlined",density:"compact"},l,{type:e(x)?"text":"password",error:m.length>0,"error-messages":i,"append-inner-icon":e(x)?e(E):e(j),"onClick:appendInner":s[1]||(s[1]=p=>x.value=!e(x))}),null,16,["type","error","error-messages","append-inner-icon"])]),_:1})]),s[5]||(s[5]=o("div",{class:"py-1"},null,-1)),o("div",Ce,[o("label",Me,d(n.$t("components.form.label.new_password_confirm")),1),r(e(f),{name:"passwordConfirm"},{default:t(({field:l,errorMessage:i,errors:m})=>[r(F,b({name:"passwordConfirm",variant:"outlined",density:"compact"},l,{type:e(k)?"text":"password",error:m.length>0,"error-messages":i,"append-inner-icon":e(k)?e(E):e(j),"onClick:appendInner":s[2]||(s[2]=p=>k.value=!e(k))}),null,16,["type","error","error-messages","append-inner-icon"])]),_:1})]),s[6]||(s[6]=o("div",{class:"py-1"},null,-1)),o("div",$e,[o("label",Ve,d(n.$t("components.form.label.session_timer")),1),r(e(f),{name:"sessionTimer",value:(h=e(a).user)==null?void 0:h.sessionTimer},{default:t(({field:l,errorMessage:i,errors:m,value:p,setValue:C})=>{var c,B;return[r(z,b({name:"sessionTimer",variant:"outlined",density:"compact"},l,{type:"number",step:600,error:m.length>0,"error-messages":i,disabled:(c=e(a).user)==null?void 0:c.rememberMe,"hide-details":(B=e(a).user)==null?void 0:B.rememberMe,onChange:()=>p===""?C(14400):void 0}),null,16,["error","error-messages","disabled","hide-details","onChange"])]}),_:1},8,["value"])]),s[7]||(s[7]=o("div",{class:"py-1"},null,-1)),(y=e(a).user)!=null&&y.rememberMe?(O(),me("div",Le)):de("",!0),o("div",Se,[r(e(f),{name:"rememberMe",type:"checkbox","checked-value":!0,"unchecked-value":!1},{default:t(({field:l,errorMessage:i,errors:m})=>[o("div",Ie,[r(U,b({"model-value":e(a).user.rememberMe,name:"rememberMe"},l,{color:"#df2a4c",type:"checkbox",error:m.length>0,"error-messages":i,"hide-details":"",onChange:H}),null,16,["model-value","error","error-messages"]),o("label",ze,d(n.$t("components.form.label.remember_me")),1)])]),_:1}),r(K,{variant:"tonal",color:"#df2a4c"},{prepend:t(()=>[r(G,{color:"#df2a4c",size:"20",class:"mt-1"},{default:t(()=>[M(d(e(D)),1)]),_:1})]),default:t(()=>[o("span",Fe,d(n.$t("components.form.hint.remember_me")),1)]),_:1})]),s[8]||(s[8]=o("div",{class:"py-2"},null,-1)),o("div",Pe,[r(e(f),{name:"oneLogin",type:"checkbox","checked-value":!0,"unchecked-value":!1},{default:t(({field:l,errorMessage:i,errors:m})=>{var p;return[o("div",Te,[r(U,b({"model-value":(p=e(a).user)==null?void 0:p.oneLogin,name:"oneLogin"},l,{color:"#df2a4c",type:"checkbox",error:m.length>0,"error-messages":i,"hide-details":"",onChange:J}),null,16,["model-value","error","error-messages"]),o("label",Ae,d(n.$t("components.form.label.one_login")),1)])]}),_:1}),r(K,{variant:"tonal",color:"#df2a4c"},{prepend:t(()=>[r(G,{color:"#df2a4c",size:"20",class:"mt-1"},{default:t(()=>[M(d(e(D)),1)]),_:1})]),default:t(()=>[o("span",Be,d(n.$t("components.form.hint.one_login")),1)]),_:1})]),s[9]||(s[9]=o("div",{class:"py-2"},null,-1))])]),o("div",{class:N(["flex flex-row my-5",{"mr-3":e(P)}])},[r(X,{class:"ml-auto mr-2 text-color bg-color-lighten",elevation:"0",tonal:"",style:{border:"1px solid rgba(var(--border-rgb), 0.75)"},loading:e(_),onClick:ue(Q,["prevent"])},{loader:t(()=>[r(W,{class:"text-color",size:"14",width:"2",indeterminate:""})]),default:t(()=>[M(d(n.$t("components.form.button.cancel")),1)]),_:1},8,["loading"]),r(X,{class:N(["text-white bg-color-primary",{"mr-2":e(P)}]),loading:e(_),elevation:"0",tonal:"",style:{border:"1px solid var(--color-primary-darken-2)"},type:"submit"},{loader:t(()=>[r(W,{color:"#fff",size:"14",width:"2",indeterminate:""})]),default:t(()=>[M(d(n.$t("components.form.button.save")),1)]),_:1},8,["loading","class"])],2)]}),_:1},8,["validation-schema"])}}}),fs=te(Oe,[["__scopeId","data-v-cafc8a1b"]]);export{fs as default};
|