camera.ui3 0.0.31-alpha.8 → 0.0.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/interface/@intlify.8z0ZxsCR.0.0.31-alpha.9.js +15 -0
- package/dist/interface/{@mdi.DVdKciOk.0.0.31-alpha.8.js → @mdi.CBFP0hLg.0.0.31-alpha.9.js} +1 -1
- package/dist/interface/{@tanstack.BPW2rCwU.0.0.31-alpha.8.js → @tanstack.Btgptvlr.0.0.31-alpha.9.js} +1 -1
- package/dist/interface/{@vee-validate.C-s-wFJX.0.0.31-alpha.8.js → @vee-validate.D1idmuLl.0.0.31-alpha.9.js} +1 -1
- package/dist/interface/@vue.DSpVzvLE.0.0.31-alpha.9.js +17 -0
- package/dist/interface/{@vueform.VqArm0e2.0.0.31-alpha.8.js → @vueform.DRS8F1ON.0.0.31-alpha.9.js} +1 -1
- package/dist/interface/{@vueuse.BQIKH1Yj.0.0.31-alpha.8.js → @vueuse.lQHIM9Ji.0.0.31-alpha.9.js} +1 -1
- package/dist/interface/Account.CWYwYkAb.0.0.31-alpha.9.js +1 -0
- package/dist/interface/Adminpanel.Dn_K3XUd.0.0.31-alpha.9.js +2 -0
- package/dist/interface/Appearance.DLb__Sif.0.0.31-alpha.9.js +1 -0
- package/dist/interface/Backup.Dt3JgVrT.0.0.31-alpha.9.js +1 -0
- package/dist/interface/Camera.4AeJvhsq.0.0.31-alpha.9.js +1 -0
- package/dist/interface/Cameras.CGeE3KOM.0.0.31-alpha.9.js +1 -0
- package/dist/interface/Camview.sGBSah9x.0.0.31-alpha.9.js +1 -0
- package/dist/interface/Config.Bv2WgErD.0.0.31-alpha.9.js +1 -0
- package/dist/interface/Console.DGg2Jq9h.0.0.31-alpha.9.js +4 -0
- package/dist/interface/FirstSteps.DvByehg0.0.0.31-alpha.9.js +1 -0
- package/dist/interface/{NewCamera.CIfiV-2N.0.0.31-alpha.8.js → NewCamera.BIyRmkan.0.0.31-alpha.9.js} +2 -2
- package/dist/interface/Plugin.DcUILrgC.0.0.31-alpha.9.js +1 -0
- package/dist/interface/Plugins.vo7Mx2j4.0.0.31-alpha.9.js +1 -0
- package/dist/interface/Recordings.CJUoi8qm.0.0.31-alpha.9.js +1 -0
- package/dist/interface/Recordings.N4AMYLOy.0.0.31-alpha.9.js +1 -0
- package/dist/interface/Settings.D8b47k9p.0.0.31-alpha.9.js +1 -0
- package/dist/interface/System.otwybl-J.0.0.31-alpha.9.js +4 -0
- package/dist/interface/User.BtRFc2QZ.0.0.31-alpha.9.js +1 -0
- package/dist/interface/{VConfigEditor.vue_vue_type_script_setup_true_lang.Bm7bwzZD.0.0.31-alpha.8.js → VConfigEditor.vue_vue_type_script_setup_true_lang.BMJS_7ZD.0.0.31-alpha.9.js} +2 -2
- package/dist/interface/{VConsole.D8TuBuNM.0.0.31-alpha.8.js → VConsole.CuO-3hA4.0.0.31-alpha.9.js} +1 -1
- package/dist/interface/VPlayer.Dqk3IaYl.0.0.31-alpha.9.js +1 -0
- package/dist/interface/{VPluginCard.BbWmBV-O.0.0.31-alpha.8.js → VPluginCard.DI974_rR.0.0.31-alpha.9.js} +1 -1
- package/dist/interface/{ace-builds.DcYU6PAK.0.0.31-alpha.8.js → ace-builds.SJlMp9cD.0.0.31-alpha.9.js} +1 -1
- package/dist/interface/{apexcharts.Y-wl0V0j.0.0.31-alpha.8.js → apexcharts.COeUheTz.0.0.31-alpha.9.js} +1 -1
- package/dist/interface/assets/{Camera.0.0.31-alpha.8.BDtUJ-lA.css → Camera.0.0.31-alpha.9.Dz_0ZY4W.css} +1 -1
- package/dist/interface/assets/{VPlayer.0.0.31-alpha.8.DL-vUJg6.css → VPlayer.0.0.31-alpha.9.hKi0NXFe.css} +1 -1
- package/dist/interface/assets/{main.0.0.31-alpha.8.BDUD-PYj.css → main.0.0.31-alpha.9.ZRChory7.css} +1 -1
- package/dist/interface/{dnd-core.wIW6M0xq.0.0.31-alpha.8.js → dnd-core.C-BrWt9e.0.0.31-alpha.9.js} +1 -1
- package/dist/interface/{draggabilly.G6od8cio.0.0.31-alpha.8.js → draggabilly.BVQCUu31.0.0.31-alpha.9.js} +1 -1
- package/dist/interface/engine.io-client.BzMoog8q.0.0.31-alpha.9.js +1 -0
- package/dist/interface/{ev-emitter.BaMrwZMZ.0.0.31-alpha.8.js → ev-emitter.DdqYF_mT.0.0.31-alpha.9.js} +1 -1
- package/dist/interface/{fast-deep-equal.DYOzFUwK.0.0.31-alpha.8.js → fast-deep-equal.CAY2EWVV.0.0.31-alpha.9.js} +1 -1
- package/dist/interface/{highlight.js.CO4jGChS.0.0.31-alpha.8.js → highlight.js.DyqKEn5l.0.0.31-alpha.9.js} +1 -1
- package/dist/interface/index.html +33 -34
- package/dist/interface/{linkify-it.Cr14tyhK.0.0.31-alpha.8.js → linkify-it.D_VrFIEs.0.0.31-alpha.9.js} +1 -1
- package/dist/interface/main.-w4XIAj8.0.0.31-alpha.9.js +4 -0
- package/dist/interface/{markdown-it.BArd8aY1.0.0.31-alpha.8.js → markdown-it.CKLQdOwp.0.0.31-alpha.9.js} +1 -1
- package/dist/interface/{nprogress.Hu_nc7WL.0.0.31-alpha.8.js → nprogress.B9kF5yPN.0.0.31-alpha.9.js} +1 -1
- package/dist/interface/{pinia.D3Zpjpa5.0.0.31-alpha.8.js → pinia.CMvEC38j.0.0.31-alpha.9.js} +1 -1
- package/dist/interface/{plugins.ixDTjWdS.0.0.31-alpha.8.js → plugins.bQCZbo8M.0.0.31-alpha.9.js} +1 -1
- package/dist/interface/{qrcode.BV7gJCvJ.0.0.31-alpha.8.js → qrcode.nk05XZUk.0.0.31-alpha.9.js} +1 -1
- package/dist/interface/{react-dnd-touch-backend.j_XcJk8c.0.0.31-alpha.8.js → react-dnd-touch-backend.9gsCxBRV.0.0.31-alpha.9.js} +1 -1
- package/dist/interface/{rxjs.CA80LPoF.0.0.31-alpha.8.js → rxjs.O8rqJXmX.0.0.31-alpha.9.js} +1 -1
- package/dist/interface/socket.io-client.HSZfpHWX.0.0.31-alpha.9.js +1 -0
- package/dist/interface/{socket.io-parser.B0nOKHJa.0.0.31-alpha.8.js → socket.io-parser.CDdrp6JV.0.0.31-alpha.9.js} +1 -1
- package/dist/interface/sw.js +1 -1
- package/dist/interface/{system.4JYUmYez.0.0.31-alpha.8.js → system.Bg0Mnh8C.0.0.31-alpha.9.js} +1 -1
- package/dist/interface/{unidragger.DjheScL0.0.0.31-alpha.8.js → unidragger.Du7VJMKS.0.0.31-alpha.9.js} +1 -1
- package/dist/interface/{v-calendar.DIUyVfpL.0.0.31-alpha.8.js → v-calendar.C6y6UX0U.0.0.31-alpha.9.js} +1 -1
- package/dist/interface/{vee-validate.B4KR-LJb.0.0.31-alpha.8.js → vee-validate.EBXl7pXZ.0.0.31-alpha.9.js} +1 -1
- package/dist/interface/vue-i18n.BxvFdZfG.0.0.31-alpha.9.js +5 -0
- package/dist/interface/{vue-inline-svg.4-3P8jgK.0.0.31-alpha.8.js → vue-inline-svg.DryJfuXO.0.0.31-alpha.9.js} +1 -1
- package/dist/interface/{vue-router.NoMHtcDm.0.0.31-alpha.8.js → vue-router.tZAYeGmk.0.0.31-alpha.9.js} +1 -1
- package/dist/interface/{vue3-apexcharts.Y0rsxZUZ.0.0.31-alpha.8.js → vue3-apexcharts.z9tPv-7C.0.0.31-alpha.9.js} +1 -1
- package/dist/interface/{vue3-dnd.Bie_ElZ5.0.0.31-alpha.8.js → vue3-dnd.CjEEXgGE.0.0.31-alpha.9.js} +1 -1
- package/dist/interface/{vue3-toastify.rpvu800T.0.0.31-alpha.8.js → vue3-toastify.DRSIlF3j.0.0.31-alpha.9.js} +1 -1
- package/dist/interface/{vuetify.-p3mKzzj.0.0.31-alpha.8.js → vuetify.C_HFG9xV.0.0.31-alpha.9.js} +1 -1
- package/dist/server/bin/cameraui.d.ts +1 -0
- package/dist/server/bin/cameraui.js +3 -1
- package/dist/server/bin/cameraui.js.map +1 -1
- package/dist/server/bin/logger.d.ts +2 -1
- package/dist/server/bin/logger.js +17 -15
- package/dist/server/bin/logger.js.map +1 -1
- package/dist/server/package.json +10 -10
- package/dist/server/requirements.txt +1 -1
- package/dist/server/src/api/controllers/cameras.controller.d.ts +2 -2
- package/dist/server/src/api/controllers/cameras.controller.js +1 -1
- package/dist/server/src/api/controllers/cameras.controller.js.map +1 -1
- package/dist/server/src/api/controllers/plugins.controller.js +2 -2
- package/dist/server/src/api/controllers/plugins.controller.js.map +1 -1
- package/dist/server/src/api/database/index.d.ts +1 -1
- package/dist/server/src/api/database/index.js +1 -1
- package/dist/server/src/api/database/migration.js +11 -0
- package/dist/server/src/api/database/migration.js.map +1 -1
- package/dist/server/src/api/database/types.d.ts +2 -1
- package/dist/server/src/api/go2rtc/api/streams.d.ts +1 -1
- package/dist/server/src/api/go2rtc/types.d.ts +2 -18
- package/dist/server/src/api/index.js +8 -10
- package/dist/server/src/api/index.js.map +1 -1
- package/dist/server/src/api/schemas/cameras.schema.d.ts +14 -0
- package/dist/server/src/api/schemas/cameras.schema.js +3 -0
- package/dist/server/src/api/schemas/cameras.schema.js.map +1 -1
- package/dist/server/src/api/types/index.d.ts +7 -0
- package/dist/server/src/api/utils/cert.d.ts +7 -7
- package/dist/server/src/api/utils/cert.js +178 -385
- package/dist/server/src/api/utils/cert.js.map +1 -1
- package/dist/server/src/api/utils/constants.d.ts +0 -2
- package/dist/server/src/api/utils/constants.js +4 -7
- package/dist/server/src/api/utils/constants.js.map +1 -1
- package/dist/server/src/api/websocket/nsp/notifications.js +1 -1
- package/dist/server/src/api/websocket/nsp/notifications.js.map +1 -1
- package/dist/server/src/api/websocket/nsp/server.d.ts +9 -4
- package/dist/server/src/api/websocket/nsp/server.js +51 -14
- package/dist/server/src/api/websocket/nsp/server.js.map +1 -1
- package/dist/server/src/decoder/worker.js +1 -1
- package/dist/server/src/decoder/worker.js.map +1 -1
- package/dist/server/src/nats/websocket.js +5 -5
- package/dist/server/src/services/logger/index.d.ts +6 -1
- package/dist/server/src/services/logger/index.js +43 -11
- package/dist/server/src/services/logger/index.js.map +1 -1
- package/package.json +10 -10
- package/dist/interface/@camera.ui.ilP0Pgi-.0.0.31-alpha.8.js +0 -3
- package/dist/interface/@intlify.Jdj6PDCT.0.0.31-alpha.8.js +0 -19
- package/dist/interface/@vue.FH56CEei.0.0.31-alpha.8.js +0 -17
- package/dist/interface/Account.BKSNXyQo.0.0.31-alpha.8.js +0 -1
- package/dist/interface/Adminpanel.D4vl2ltk.0.0.31-alpha.8.js +0 -2
- package/dist/interface/Appearance.b87C3Ao1.0.0.31-alpha.8.js +0 -1
- package/dist/interface/Backup.DiZ0K5-m.0.0.31-alpha.8.js +0 -1
- package/dist/interface/Camera.ByiPO7p5.0.0.31-alpha.8.js +0 -1
- package/dist/interface/Cameras.DSGFuvDr.0.0.31-alpha.8.js +0 -1
- package/dist/interface/Camview.D5QYp_qf.0.0.31-alpha.8.js +0 -1
- package/dist/interface/Config._xgrNy8L.0.0.31-alpha.8.js +0 -1
- package/dist/interface/Console.6In8yvbe.0.0.31-alpha.8.js +0 -4
- package/dist/interface/FirstSteps.DB9wXF-y.0.0.31-alpha.8.js +0 -1
- package/dist/interface/Plugin.BuZ3fHGc.0.0.31-alpha.8.js +0 -1
- package/dist/interface/Plugins.C6B6uiZE.0.0.31-alpha.8.js +0 -1
- package/dist/interface/Recordings.DETI0yq9.0.0.31-alpha.8.js +0 -1
- package/dist/interface/Recordings.mY1H0Kzi.0.0.31-alpha.8.js +0 -1
- package/dist/interface/Settings.BwsN2-Xp.0.0.31-alpha.8.js +0 -1
- package/dist/interface/System.DIsBdimE.0.0.31-alpha.8.js +0 -4
- package/dist/interface/User.CBKzGR1U.0.0.31-alpha.8.js +0 -1
- package/dist/interface/VPlayer.CFrDf5c7.0.0.31-alpha.8.js +0 -1
- package/dist/interface/engine.io-client.CaYZn4hK.0.0.31-alpha.8.js +0 -1
- package/dist/interface/main.D9Hvqk9A.0.0.31-alpha.8.js +0 -2
- package/dist/interface/socket.io-client.DkX-fIzK.0.0.31-alpha.8.js +0 -1
- package/dist/interface/vue-i18n.BBihTfvA.0.0.31-alpha.8.js +0 -9
- /package/dist/interface/{@babel.l0sNRNKZ.0.0.31-alpha.8.js → @babel.l0sNRNKZ.0.0.31-alpha.9.js} +0 -0
- /package/dist/interface/{@popperjs.BQBsAJpH.0.0.31-alpha.8.js → @popperjs.BQBsAJpH.0.0.31-alpha.9.js} +0 -0
- /package/dist/interface/{@react-dnd.CcwRs9xb.0.0.31-alpha.8.js → @react-dnd.CcwRs9xb.0.0.31-alpha.9.js} +0 -0
- /package/dist/interface/{@socket.io.Dkula2eQ.0.0.31-alpha.8.js → @socket.io.Dkula2eQ.0.0.31-alpha.9.js} +0 -0
- /package/dist/interface/{@xterm.CuWrgrj7.0.0.31-alpha.8.js → @xterm.CSJozHT0.0.0.31-alpha.9.js} +0 -0
- /package/dist/interface/assets/{@vueform.0.0.31-alpha.8.h7tNX9p6.css → @vueform.0.0.31-alpha.9.h7tNX9p6.css} +0 -0
- /package/dist/interface/assets/{@xterm.0.0.31-alpha.8.CGrrDQr5.css → @xterm.0.0.31-alpha.9.CGrrDQr5.css} +0 -0
- /package/dist/interface/assets/{Account.0.0.31-alpha.8.Ce3OmKrC.css → Account.0.0.31-alpha.9.Ce3OmKrC.css} +0 -0
- /package/dist/interface/assets/{Adminpanel.0.0.31-alpha.8.BCpVV7QL.css → Adminpanel.0.0.31-alpha.9.BCpVV7QL.css} +0 -0
- /package/dist/interface/assets/{Backup.0.0.31-alpha.8.BIwaSlv3.css → Backup.0.0.31-alpha.9.BIwaSlv3.css} +0 -0
- /package/dist/interface/assets/{Cameras.0.0.31-alpha.8.b9mQaG3Q.css → Cameras.0.0.31-alpha.9.b9mQaG3Q.css} +0 -0
- /package/dist/interface/assets/{Camview.0.0.31-alpha.8.DxCmx1if.css → Camview.0.0.31-alpha.9.DxCmx1if.css} +0 -0
- /package/dist/interface/assets/{Config.0.0.31-alpha.8.BtdZEuQO.css → Config.0.0.31-alpha.9.BtdZEuQO.css} +0 -0
- /package/dist/interface/assets/{Console.0.0.31-alpha.8.Cc8Jy8yw.css → Console.0.0.31-alpha.9.Cc8Jy8yw.css} +0 -0
- /package/dist/interface/assets/{FirstSteps.0.0.31-alpha.8.CCo2y-sU.css → FirstSteps.0.0.31-alpha.9.CCo2y-sU.css} +0 -0
- /package/dist/interface/assets/{NewCamera.0.0.31-alpha.8.m4FTNlSI.css → NewCamera.0.0.31-alpha.9.m4FTNlSI.css} +0 -0
- /package/dist/interface/assets/{Plugin.0.0.31-alpha.8.BtRA6zDt.css → Plugin.0.0.31-alpha.9.BtRA6zDt.css} +0 -0
- /package/dist/interface/assets/{Plugins.0.0.31-alpha.8.Cwu0aGUO.css → Plugins.0.0.31-alpha.9.Cwu0aGUO.css} +0 -0
- /package/dist/interface/assets/{Settings.0.0.31-alpha.8.DTRm1psP.css → Settings.0.0.31-alpha.9.DTRm1psP.css} +0 -0
- /package/dist/interface/assets/{User.0.0.31-alpha.8.DPDcJbx8.css → User.0.0.31-alpha.9.DPDcJbx8.css} +0 -0
- /package/dist/interface/assets/{VConsole.0.0.31-alpha.8.BZT1WyS-.css → VConsole.0.0.31-alpha.9.BZT1WyS-.css} +0 -0
- /package/dist/interface/assets/{VPluginCard.0.0.31-alpha.8.CyNvwFGk.css → VPluginCard.0.0.31-alpha.9.CyNvwFGk.css} +0 -0
- /package/dist/interface/assets/{highlight.0.0.31-alpha.8.DgoK_Xib.css → highlight.0.0.31-alpha.9.DgoK_Xib.css} +0 -0
- /package/dist/interface/assets/{logo-256.0.0.31-alpha.8.BCQk9H1-.png → logo-256.0.0.31-alpha.9.BCQk9H1-.png} +0 -0
- /package/dist/interface/assets/{logo-512.0.0.31-alpha.8.DLKVOU2S.png → logo-512.0.0.31-alpha.9.DLKVOU2S.png} +0 -0
- /package/dist/interface/assets/{logo.0.0.31-alpha.8.DmEiRk0z.png → logo.0.0.31-alpha.9.DmEiRk0z.png} +0 -0
- /package/dist/interface/assets/{mode-json.0.0.31-alpha.8.Br7xisR1.js → mode-json.0.0.31-alpha.9.Br7xisR1.js} +0 -0
- /package/dist/interface/assets/{mode-yaml.0.0.31-alpha.8.CIYL8U3d.js → mode-yaml.0.0.31-alpha.9.CIYL8U3d.js} +0 -0
- /package/dist/interface/assets/{v-calendar.0.0.31-alpha.8.CtSuDYZU.css → v-calendar.0.0.31-alpha.9.CtSuDYZU.css} +0 -0
- /package/dist/interface/assets/{vue3-toastify.0.0.31-alpha.8.DTY1DMRs.css → vue3-toastify.0.0.31-alpha.9.DTY1DMRs.css} +0 -0
- /package/dist/interface/assets/{vuetify.0.0.31-alpha.8.Cip-kMKR.css → vuetify.0.0.31-alpha.9.Cip-kMKR.css} +0 -0
- /package/dist/interface/{axios.C-n2IhIP.0.0.31-alpha.8.js → axios.C-n2IhIP.0.0.31-alpha.9.js} +0 -0
- /package/dist/interface/{compare-versions.DqEOhma6.0.0.31-alpha.8.js → compare-versions.DqEOhma6.0.0.31-alpha.9.js} +0 -0
- /package/dist/interface/{dijkstrajs.D_NXgYpA.0.0.31-alpha.8.js → dijkstrajs.D_NXgYpA.0.0.31-alpha.9.js} +0 -0
- /package/dist/interface/{engine.io-parser.BiEtp6m2.0.0.31-alpha.8.js → engine.io-parser.BiEtp6m2.0.0.31-alpha.9.js} +0 -0
- /package/dist/interface/{entities.C20TfXL6.0.0.31-alpha.8.js → entities.C20TfXL6.0.0.31-alpha.9.js} +0 -0
- /package/dist/interface/{get-size.D1dS-IaP.0.0.31-alpha.8.js → get-size.D1dS-IaP.0.0.31-alpha.9.js} +0 -0
- /package/dist/interface/{mdurl.k9Sl0PQj.0.0.31-alpha.8.js → mdurl.k9Sl0PQj.0.0.31-alpha.9.js} +0 -0
- /package/dist/interface/{punycode.js.Dj65hjkv.0.0.31-alpha.8.js → punycode.js.Dj65hjkv.0.0.31-alpha.9.js} +0 -0
- /package/dist/interface/{react-dnd-html5-backend.1HQjlkwI.0.0.31-alpha.8.js → react-dnd-html5-backend.1HQjlkwI.0.0.31-alpha.9.js} +0 -0
- /package/dist/interface/{redux.CuxFRhX_.0.0.31-alpha.8.js → redux.CuxFRhX_.0.0.31-alpha.9.js} +0 -0
- /package/dist/interface/{tslib.9k7AwCpt.0.0.31-alpha.8.js → tslib.9k7AwCpt.0.0.31-alpha.9.js} +0 -0
- /package/dist/interface/{types.Cz9TaZAP.0.0.31-alpha.8.js → types.Cz9TaZAP.0.0.31-alpha.9.js} +0 -0
- /package/dist/interface/{uc.micro.kMc2yuuw.0.0.31-alpha.8.js → uc.micro.kMc2yuuw.0.0.31-alpha.9.js} +0 -0
- /package/dist/interface/{utils.mAKpSMLY.0.0.31-alpha.8.js → utils.mAKpSMLY.0.0.31-alpha.9.js} +0 -0
- /package/dist/interface/{uuid.DvF23Exx.0.0.31-alpha.8.js → uuid.DvF23Exx.0.0.31-alpha.9.js} +0 -0
- /package/dist/interface/{vue.l0sNRNKZ.0.0.31-alpha.8.js → vue.l0sNRNKZ.0.0.31-alpha.9.js} +0 -0
- /package/dist/interface/{zod.DnW1_kUe.0.0.31-alpha.8.js → zod.DnW1_kUe.0.0.31-alpha.9.js} +0 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* shared v10.0.3
|
|
3
|
+
* (c) 2024 kazuya kawaguchi
|
|
4
|
+
* Released under the MIT License.
|
|
5
|
+
*/const kn=typeof window<"u",Pn=(e,t=!1)=>t?Symbol.for(e):Symbol(e),ft=(e,t,n)=>dt({l:e,k:t,s:n}),dt=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),K=e=>typeof e=="number"&&isFinite(e),mt=e=>Le(e)==="[object Date]",Ae=e=>Le(e)==="[object RegExp]",Ee=e=>P(e)&&Object.keys(e).length===0,q=Object.assign;let Oe;const _t=()=>Oe||(Oe=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Se(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const Et=Object.prototype.hasOwnProperty;function Dn(e,t){return Et.call(e,t)}const X=Array.isArray,F=e=>typeof e=="function",b=e=>typeof e=="string",$=e=>typeof e=="boolean",R=e=>e!==null&&typeof e=="object",Lt=e=>R(e)&&F(e.then)&&F(e.catch),$e=Object.prototype.toString,Le=e=>$e.call(e),P=e=>Le(e)==="[object Object]",pt=e=>e==null?"":X(e)||P(e)&&e.toString===$e?JSON.stringify(e,null,2):String(e);function pe(e,t=""){return e.reduce((n,s,i)=>i===0?n+s:n+t+s,"")}function ht(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const ae=e=>!R(e)||X(e);function Rn(e,t){if(ae(e)||ae(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:s,des:i}=n.pop();Object.keys(s).forEach(l=>{R(s[l])&&!R(i[l])&&(i[l]=Array.isArray(s[l])?[]:{}),ae(i[l])||ae(s[l])?i[l]=s[l]:n.push({src:s[l],des:i[l]})})}}/*!
|
|
6
|
+
* message-compiler v10.0.3
|
|
7
|
+
* (c) 2024 kazuya kawaguchi
|
|
8
|
+
* Released under the MIT License.
|
|
9
|
+
*/function Nt(e,t,n){return{line:e,column:t,offset:n}}function de(e,t,n){return{start:e,end:t}}const k={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16},Tt=17;function he(e,t,n={}){const{domain:s,messages:i,args:l}=n,m=e,_=new SyntaxError(String(m));return _.code=e,t&&(_.location=t),_.domain=s,_}function gt(e){throw e}const x=" ",Ct="\r",W=`
|
|
10
|
+
`,It="\u2028",bt="\u2029";function At(e){const t=e;let n=0,s=1,i=1,l=0;const m=A=>t[A]===Ct&&t[A+1]===W,_=A=>t[A]===W,f=A=>t[A]===bt,L=A=>t[A]===It,I=A=>m(A)||_(A)||f(A)||L(A),C=()=>n,N=()=>s,O=()=>i,y=()=>l,S=A=>m(A)||f(A)||L(A)?W:t[A],T=()=>S(n),c=()=>S(n+l);function d(){return l=0,I(n)&&(s++,i=0),m(n)&&n++,n++,i++,t[n]}function E(){return m(n+l)&&l++,l++,t[n+l]}function o(){n=0,s=1,i=1,l=0}function p(A=0){l=A}function h(){const A=n+l;for(;A!==n;)d();l=0}return{index:C,line:N,column:O,peekOffset:y,charAt:S,currentChar:T,currentPeek:c,next:d,peek:E,reset:o,resetPeek:p,skipToPeek:h}}const Q=void 0,Ot=".",ye="'",St="tokenizer";function yt(e,t={}){const n=t.location!==!1,s=At(e),i=()=>s.index(),l=()=>Nt(s.line(),s.column(),s.index()),m=l(),_=i(),f={currentType:13,offset:_,startLoc:m,endLoc:m,lastType:13,lastOffset:_,lastStartLoc:m,lastEndLoc:m,braceNest:0,inLinked:!1,text:""},L=()=>f,{onError:I}=t;function C(r,a,u,...g){const v=L();if(a.column+=u,a.offset+=u,I){const w=n?de(v.startLoc,a):null,Y=he(r,w,{domain:St,args:g});I(Y)}}function N(r,a,u){r.endLoc=l(),r.currentType=a;const g={type:a};return n&&(g.loc=de(r.startLoc,r.endLoc)),u!=null&&(g.value=u),g}const O=r=>N(r,13);function y(r,a){return r.currentChar()===a?(r.next(),a):(C(k.EXPECTED_TOKEN,l(),0,a),"")}function S(r){let a="";for(;r.currentPeek()===x||r.currentPeek()===W;)a+=r.currentPeek(),r.peek();return a}function T(r){const a=S(r);return r.skipToPeek(),a}function c(r){if(r===Q)return!1;const a=r.charCodeAt(0);return a>=97&&a<=122||a>=65&&a<=90||a===95}function d(r){if(r===Q)return!1;const a=r.charCodeAt(0);return a>=48&&a<=57}function E(r,a){const{currentType:u}=a;if(u!==2)return!1;S(r);const g=c(r.currentPeek());return r.resetPeek(),g}function o(r,a){const{currentType:u}=a;if(u!==2)return!1;S(r);const g=r.currentPeek()==="-"?r.peek():r.currentPeek(),v=d(g);return r.resetPeek(),v}function p(r,a){const{currentType:u}=a;if(u!==2)return!1;S(r);const g=r.currentPeek()===ye;return r.resetPeek(),g}function h(r,a){const{currentType:u}=a;if(u!==7)return!1;S(r);const g=r.currentPeek()===".";return r.resetPeek(),g}function A(r,a){const{currentType:u}=a;if(u!==8)return!1;S(r);const g=c(r.currentPeek());return r.resetPeek(),g}function D(r,a){const{currentType:u}=a;if(!(u===7||u===11))return!1;S(r);const g=r.currentPeek()===":";return r.resetPeek(),g}function M(r,a){const{currentType:u}=a;if(u!==9)return!1;const g=()=>{const w=r.currentPeek();return w==="{"?c(r.peek()):w==="@"||w==="|"||w===":"||w==="."||w===x||!w?!1:w===W?(r.peek(),g()):j(r,!1)},v=g();return r.resetPeek(),v}function V(r){S(r);const a=r.currentPeek()==="|";return r.resetPeek(),a}function j(r,a=!0){const u=(v=!1,w="")=>{const Y=r.currentPeek();return Y==="{"||Y==="@"||!Y?v:Y==="|"?!(w===x||w===W):Y===x?(r.peek(),u(!0,x)):Y===W?(r.peek(),u(!0,W)):!0},g=u();return a&&r.resetPeek(),g}function U(r,a){const u=r.currentChar();return u===Q?Q:a(u)?(r.next(),u):null}function re(r){const a=r.charCodeAt(0);return a>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||a===95||a===36}function xe(r){return U(r,re)}function Be(r){const a=r.charCodeAt(0);return a>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||a===95||a===36||a===45}function Je(r){return U(r,Be)}function Qe(r){const a=r.charCodeAt(0);return a>=48&&a<=57}function qe(r){return U(r,Qe)}function Ze(r){const a=r.charCodeAt(0);return a>=48&&a<=57||a>=65&&a<=70||a>=97&&a<=102}function ze(r){return U(r,Ze)}function Ie(r){let a="",u="";for(;a=qe(r);)u+=a;return u}function et(r){let a="";for(;;){const u=r.currentChar();if(u==="{"||u==="}"||u==="@"||u==="|"||!u)break;if(u===x||u===W)if(j(r))a+=u,r.next();else{if(V(r))break;a+=u,r.next()}else a+=u,r.next()}return a}function tt(r){T(r);let a="",u="";for(;a=Je(r);)u+=a;return r.currentChar()===Q&&C(k.UNTERMINATED_CLOSING_BRACE,l(),0),u}function nt(r){T(r);let a="";return r.currentChar()==="-"?(r.next(),a+=`-${Ie(r)}`):a+=Ie(r),r.currentChar()===Q&&C(k.UNTERMINATED_CLOSING_BRACE,l(),0),a}function rt(r){return r!==ye&&r!==W}function st(r){T(r),y(r,"'");let a="",u="";for(;a=U(r,rt);)a==="\\"?u+=at(r):u+=a;const g=r.currentChar();return g===W||g===Q?(C(k.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,l(),0),g===W&&(r.next(),y(r,"'")),u):(y(r,"'"),u)}function at(r){const a=r.currentChar();switch(a){case"\\":case"'":return r.next(),`\\${a}`;case"u":return be(r,a,4);case"U":return be(r,a,6);default:return C(k.UNKNOWN_ESCAPE_SEQUENCE,l(),0,a),""}}function be(r,a,u){y(r,a);let g="";for(let v=0;v<u;v++){const w=ze(r);if(!w){C(k.INVALID_UNICODE_ESCAPE_SEQUENCE,l(),0,`\\${a}${g}${r.currentChar()}`);break}g+=w}return`\\${a}${g}`}function lt(r){return r!=="{"&&r!=="}"&&r!==x&&r!==W}function ct(r){T(r);let a="",u="";for(;a=U(r,lt);)u+=a;return u}function it(r){let a="",u="";for(;a=xe(r);)u+=a;return u}function ot(r){const a=u=>{const g=r.currentChar();return g==="{"||g==="@"||g==="|"||g==="("||g===")"||!g||g===x?u:(u+=g,r.next(),a(u))};return a("")}function ce(r){T(r);const a=y(r,"|");return T(r),a}function ie(r,a){let u=null;switch(r.currentChar()){case"{":return a.braceNest>=1&&C(k.NOT_ALLOW_NEST_PLACEHOLDER,l(),0),r.next(),u=N(a,2,"{"),T(r),a.braceNest++,u;case"}":return a.braceNest>0&&a.currentType===2&&C(k.EMPTY_PLACEHOLDER,l(),0),r.next(),u=N(a,3,"}"),a.braceNest--,a.braceNest>0&&T(r),a.inLinked&&a.braceNest===0&&(a.inLinked=!1),u;case"@":return a.braceNest>0&&C(k.UNTERMINATED_CLOSING_BRACE,l(),0),u=se(r,a)||O(a),a.braceNest=0,u;default:{let v=!0,w=!0,Y=!0;if(V(r))return a.braceNest>0&&C(k.UNTERMINATED_CLOSING_BRACE,l(),0),u=N(a,1,ce(r)),a.braceNest=0,a.inLinked=!1,u;if(a.braceNest>0&&(a.currentType===4||a.currentType===5||a.currentType===6))return C(k.UNTERMINATED_CLOSING_BRACE,l(),0),a.braceNest=0,oe(r,a);if(v=E(r,a))return u=N(a,4,tt(r)),T(r),u;if(w=o(r,a))return u=N(a,5,nt(r)),T(r),u;if(Y=p(r,a))return u=N(a,6,st(r)),T(r),u;if(!v&&!w&&!Y)return u=N(a,12,ct(r)),C(k.INVALID_TOKEN_IN_PLACEHOLDER,l(),0,u.value),T(r),u;break}}return u}function se(r,a){const{currentType:u}=a;let g=null;const v=r.currentChar();switch((u===7||u===8||u===11||u===9)&&(v===W||v===x)&&C(k.INVALID_LINKED_FORMAT,l(),0),v){case"@":return r.next(),g=N(a,7,"@"),a.inLinked=!0,g;case".":return T(r),r.next(),N(a,8,".");case":":return T(r),r.next(),N(a,9,":");default:return V(r)?(g=N(a,1,ce(r)),a.braceNest=0,a.inLinked=!1,g):h(r,a)||D(r,a)?(T(r),se(r,a)):A(r,a)?(T(r),N(a,11,it(r))):M(r,a)?(T(r),v==="{"?ie(r,a)||g:N(a,10,ot(r))):(u===7&&C(k.INVALID_LINKED_FORMAT,l(),0),a.braceNest=0,a.inLinked=!1,oe(r,a))}}function oe(r,a){let u={type:13};if(a.braceNest>0)return ie(r,a)||O(a);if(a.inLinked)return se(r,a)||O(a);switch(r.currentChar()){case"{":return ie(r,a)||O(a);case"}":return C(k.UNBALANCED_CLOSING_BRACE,l(),0),r.next(),N(a,3,"}");case"@":return se(r,a)||O(a);default:{if(V(r))return u=N(a,1,ce(r)),a.braceNest=0,a.inLinked=!1,u;if(j(r))return N(a,0,et(r));break}}return u}function ut(){const{currentType:r,offset:a,startLoc:u,endLoc:g}=f;return f.lastType=r,f.lastOffset=a,f.lastStartLoc=u,f.lastEndLoc=g,f.offset=i(),f.startLoc=l(),s.currentChar()===Q?N(f,13):oe(s,f)}return{nextToken:ut,currentOffset:i,currentPosition:l,context:L}}const kt="parser",Pt=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Dt(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const s=parseInt(t||n,16);return s<=55295||s>=57344?String.fromCodePoint(s):"�"}}}function Rt(e={}){const t=e.location!==!1,{onError:n}=e;function s(c,d,E,o,...p){const h=c.currentPosition();if(h.offset+=o,h.column+=o,n){const A=t?de(E,h):null,D=he(d,A,{domain:kt,args:p});n(D)}}function i(c,d,E){const o={type:c};return t&&(o.start=d,o.end=d,o.loc={start:E,end:E}),o}function l(c,d,E,o){t&&(c.end=d,c.loc&&(c.loc.end=E))}function m(c,d){const E=c.context(),o=i(3,E.offset,E.startLoc);return o.value=d,l(o,c.currentOffset(),c.currentPosition()),o}function _(c,d){const E=c.context(),{lastOffset:o,lastStartLoc:p}=E,h=i(5,o,p);return h.index=parseInt(d,10),c.nextToken(),l(h,c.currentOffset(),c.currentPosition()),h}function f(c,d){const E=c.context(),{lastOffset:o,lastStartLoc:p}=E,h=i(4,o,p);return h.key=d,c.nextToken(),l(h,c.currentOffset(),c.currentPosition()),h}function L(c,d){const E=c.context(),{lastOffset:o,lastStartLoc:p}=E,h=i(9,o,p);return h.value=d.replace(Pt,Dt),c.nextToken(),l(h,c.currentOffset(),c.currentPosition()),h}function I(c){const d=c.nextToken(),E=c.context(),{lastOffset:o,lastStartLoc:p}=E,h=i(8,o,p);return d.type!==11?(s(c,k.UNEXPECTED_EMPTY_LINKED_MODIFIER,E.lastStartLoc,0),h.value="",l(h,o,p),{nextConsumeToken:d,node:h}):(d.value==null&&s(c,k.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,H(d)),h.value=d.value||"",l(h,c.currentOffset(),c.currentPosition()),{node:h})}function C(c,d){const E=c.context(),o=i(7,E.offset,E.startLoc);return o.value=d,l(o,c.currentOffset(),c.currentPosition()),o}function N(c){const d=c.context(),E=i(6,d.offset,d.startLoc);let o=c.nextToken();if(o.type===8){const p=I(c);E.modifier=p.node,o=p.nextConsumeToken||c.nextToken()}switch(o.type!==9&&s(c,k.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,H(o)),o=c.nextToken(),o.type===2&&(o=c.nextToken()),o.type){case 10:o.value==null&&s(c,k.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,H(o)),E.key=C(c,o.value||"");break;case 4:o.value==null&&s(c,k.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,H(o)),E.key=f(c,o.value||"");break;case 5:o.value==null&&s(c,k.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,H(o)),E.key=_(c,o.value||"");break;case 6:o.value==null&&s(c,k.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,H(o)),E.key=L(c,o.value||"");break;default:{s(c,k.UNEXPECTED_EMPTY_LINKED_KEY,d.lastStartLoc,0);const p=c.context(),h=i(7,p.offset,p.startLoc);return h.value="",l(h,p.offset,p.startLoc),E.key=h,l(E,p.offset,p.startLoc),{nextConsumeToken:o,node:E}}}return l(E,c.currentOffset(),c.currentPosition()),{node:E}}function O(c){const d=c.context(),E=d.currentType===1?c.currentOffset():d.offset,o=d.currentType===1?d.endLoc:d.startLoc,p=i(2,E,o);p.items=[];let h=null;do{const M=h||c.nextToken();switch(h=null,M.type){case 0:M.value==null&&s(c,k.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,H(M)),p.items.push(m(c,M.value||""));break;case 5:M.value==null&&s(c,k.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,H(M)),p.items.push(_(c,M.value||""));break;case 4:M.value==null&&s(c,k.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,H(M)),p.items.push(f(c,M.value||""));break;case 6:M.value==null&&s(c,k.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,H(M)),p.items.push(L(c,M.value||""));break;case 7:{const V=N(c);p.items.push(V.node),h=V.nextConsumeToken||null;break}}}while(d.currentType!==13&&d.currentType!==1);const A=d.currentType===1?d.lastOffset:c.currentOffset(),D=d.currentType===1?d.lastEndLoc:c.currentPosition();return l(p,A,D),p}function y(c,d,E,o){const p=c.context();let h=o.items.length===0;const A=i(1,d,E);A.cases=[],A.cases.push(o);do{const D=O(c);h||(h=D.items.length===0),A.cases.push(D)}while(p.currentType!==13);return h&&s(c,k.MUST_HAVE_MESSAGES_IN_PLURAL,E,0),l(A,c.currentOffset(),c.currentPosition()),A}function S(c){const d=c.context(),{offset:E,startLoc:o}=d,p=O(c);return d.currentType===13?p:y(c,E,o,p)}function T(c){const d=yt(c,q({},e)),E=d.context(),o=i(0,E.offset,E.startLoc);return t&&o.loc&&(o.loc.source=c),o.body=S(d),e.onCacheKey&&(o.cacheKey=e.onCacheKey(c)),E.currentType!==13&&s(d,k.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,c[E.offset]||""),l(o,d.currentOffset(),d.currentPosition()),o}return{parse:T}}function H(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function Mt(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:l=>(n.helpers.add(l),l)}}function ke(e,t){for(let n=0;n<e.length;n++)Ne(e[n],t)}function Ne(e,t){switch(e.type){case 1:ke(e.cases,t),t.helper("plural");break;case 2:ke(e.items,t);break;case 6:{Ne(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function vt(e,t={}){const n=Mt(e);n.helper("normalize"),e.body&&Ne(e.body,n);const s=n.context();e.helpers=Array.from(s.helpers)}function wt(e){const t=e.body;return t.type===2?Pe(t):t.cases.forEach(n=>Pe(n)),e}function Pe(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const s=e.items[n];if(!(s.type===3||s.type===9)||s.value==null)break;t.push(s.value)}if(t.length===e.items.length){e.static=pe(t);for(let n=0;n<e.items.length;n++){const s=e.items[n];(s.type===3||s.type===9)&&delete s.value}}}}function z(e){switch(e.t=e.type,e.type){case 0:{const t=e;z(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let s=0;s<n.length;s++)z(n[s]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let s=0;s<n.length;s++)z(n[s]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;z(t.key),t.k=t.key,delete t.key,t.modifier&&(z(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}}delete e.type}function Ft(e,t){const{sourceMap:n,filename:s,breakLineCode:i,needIndent:l}=t,m=t.location!==!1,_={filename:s,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:i,needIndent:l,indentLevel:0};m&&e.loc&&(_.source=e.loc.source);const f=()=>_;function L(T,c){_.code+=T}function I(T,c=!0){const d=c?i:"";L(l?d+" ".repeat(T):d)}function C(T=!0){const c=++_.indentLevel;T&&I(c)}function N(T=!0){const c=--_.indentLevel;T&&I(c)}function O(){I(_.indentLevel)}return{context:f,push:L,indent:C,deindent:N,newline:O,helper:T=>`_${T}`,needIndent:()=>_.needIndent}}function Ut(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),ee(e,t.key),t.modifier?(e.push(", "),ee(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Wt(e,t){const{helper:n,needIndent:s}=e;e.push(`${n("normalize")}([`),e.indent(s());const i=t.items.length;for(let l=0;l<i&&(ee(e,t.items[l]),l!==i-1);l++)e.push(", ");e.deindent(s()),e.push("])")}function $t(e,t){const{helper:n,needIndent:s}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(s());const i=t.cases.length;for(let l=0;l<i&&(ee(e,t.cases[l]),l!==i-1);l++)e.push(", ");e.deindent(s()),e.push("])")}}function Kt(e,t){t.body?ee(e,t.body):e.push("null")}function ee(e,t){const{helper:n}=e;switch(t.type){case 0:Kt(e,t);break;case 1:$t(e,t);break;case 2:Wt(e,t);break;case 6:Ut(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break}}const Vt=(e,t={})=>{const n=b(t.mode)?t.mode:"normal",s=b(t.filename)?t.filename:"message.intl",i=!!t.sourceMap,l=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
|
11
|
+
`,m=t.needIndent?t.needIndent:n!=="arrow",_=e.helpers||[],f=Ft(e,{mode:n,filename:s,sourceMap:i,breakLineCode:l,needIndent:m});f.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),f.indent(m),_.length>0&&(f.push(`const { ${pe(_.map(C=>`${C}: _${C}`),", ")} } = ctx`),f.newline()),f.push("return "),ee(f,e),f.deindent(m),f.push("}"),delete e.helpers;const{code:L,map:I}=f.context();return{ast:e,code:L,map:I?I.toJSON():void 0}};function Yt(e,t={}){const n=q({},t),s=!!n.jit,i=!!n.minify,l=n.optimize==null?!0:n.optimize,_=Rt(n).parse(e);return s?(l&&wt(_),i&&z(_),{ast:_,code:""}):(vt(_,n),Vt(_,n))}/*!
|
|
12
|
+
* core-base v10.0.3
|
|
13
|
+
* (c) 2024 kazuya kawaguchi
|
|
14
|
+
* Released under the MIT License.
|
|
15
|
+
*/function Gt(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(_t().__INTLIFY_PROD_DEVTOOLS__=!1)}function ue(e){return n=>Xt(n,e)}function Xt(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const s=n,i=s.c||s.cases;return e.plural(i.reduce((l,m)=>[...l,De(e,m)],[]))}else return De(e,n)}function De(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const s=(t.i||t.items).reduce((i,l)=>[...i,me(e,l)],[]);return e.normalize(s)}}function me(e,t){const n=t.t||t.type;switch(n){case 3:{const s=t;return s.v||s.value}case 9:{const s=t;return s.v||s.value}case 4:{const s=t;return e.interpolate(e.named(s.k||s.key))}case 5:{const s=t;return e.interpolate(e.list(s.i!=null?s.i:s.index))}case 6:{const s=t,i=s.m||s.modifier;return e.linked(me(e,s.k||s.key),i?me(e,i):void 0,e.type)}case 7:{const s=t;return s.v||s.value}case 8:{const s=t;return s.v||s.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const Ht=e=>e;let le=Object.create(null);const te=e=>R(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function jt(e,t={}){let n=!1;const s=t.onError||gt;return t.onError=i=>{n=!0,s(i)},{...Yt(e,t),detectError:n}}function Mn(e,t){if(b(e)){$(t.warnHtmlMessage)&&t.warnHtmlMessage;const s=(t.onCacheKey||Ht)(e),i=le[s];if(i)return i;const{ast:l,detectError:m}=jt(e,{...t,location:!1,jit:!0}),_=ue(l);return m?_:le[s]=_}else{const n=e.cacheKey;if(n){const s=le[n];return s||(le[n]=ue(e))}else return ue(e)}}let ne=null;function vn(e){ne=e}function xt(e,t,n){ne&&ne.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Bt=Jt("function:translate");function Jt(e){return t=>ne&&ne.emit(e,t)}const B={INVALID_ARGUMENT:Tt,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},wn=24;function J(e){return he(e,null,void 0)}function Te(e,t){return t.locale!=null?Re(t.locale):Re(e.locale)}let fe;function Re(e){if(b(e))return e;if(F(e)){if(e.resolvedOnce&&fe!=null)return fe;if(e.constructor.name==="Function"){const t=e();if(Lt(t))throw J(B.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return fe=t}else throw J(B.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw J(B.NOT_SUPPORT_LOCALE_TYPE)}function Qt(e,t,n){return[...new Set([n,...X(t)?t:R(t)?Object.keys(t):b(t)?[t]:[n]])]}function Fn(e,t,n){const s=b(n)?n:_e,i=e;i.__localeChainCache||(i.__localeChainCache=new Map);let l=i.__localeChainCache.get(s);if(!l){l=[];let m=[n];for(;X(m);)m=Me(l,m,t);const _=X(t)||!P(t)?t:t.default?t.default:null;m=b(_)?[_]:_,X(m)&&Me(l,m,!1),i.__localeChainCache.set(s,l)}return l}function Me(e,t,n){let s=!0;for(let i=0;i<t.length&&$(s);i++){const l=t[i];b(l)&&(s=qt(e,t[i],n))}return s}function qt(e,t,n){let s;const i=t.split("-");do{const l=i.join("-");s=Zt(e,l,n),i.splice(-1,1)}while(i.length&&s===!0);return s}function Zt(e,t,n){let s=!1;if(!e.includes(t)&&(s=!0,t)){s=t[t.length-1]!=="!";const i=t.replace(/!/g,"");e.push(i),(X(n)||P(n))&&n[i]&&(s=n[i])}return s}const Z=[];Z[0]={w:[0],i:[3,0],"[":[4],o:[7]};Z[1]={w:[1],".":[2],"[":[4],o:[7]};Z[2]={w:[2],i:[3,0],0:[3,0]};Z[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Z[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Z[5]={"'":[4,0],o:8,l:[5,0]};Z[6]={'"':[4,0],o:8,l:[6,0]};const zt=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function en(e){return zt.test(e)}function tn(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function nn(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function rn(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:en(t)?tn(t):"*"+t}function sn(e){const t=[];let n=-1,s=0,i=0,l,m,_,f,L,I,C;const N=[];N[0]=()=>{m===void 0?m=_:m+=_},N[1]=()=>{m!==void 0&&(t.push(m),m=void 0)},N[2]=()=>{N[0](),i++},N[3]=()=>{if(i>0)i--,s=4,N[0]();else{if(i=0,m===void 0||(m=rn(m),m===!1))return!1;N[1]()}};function O(){const y=e[n+1];if(s===5&&y==="'"||s===6&&y==='"')return n++,_="\\"+y,N[0](),!0}for(;s!==null;)if(n++,l=e[n],!(l==="\\"&&O())){if(f=nn(l),C=Z[s],L=C[f]||C.l||8,L===8||(s=L[0],L[1]!==void 0&&(I=N[L[1]],I&&(_=l,I()===!1))))return;if(s===7)return t}}const ve=new Map;function an(e,t){return R(e)?e[t]:null}function Un(e,t){if(!R(e))return null;let n=ve.get(t);if(n||(n=sn(t),n&&ve.set(t,n)),!n)return null;const s=n.length;let i=e,l=0;for(;l<s;){const m=i[n[l]];if(m===void 0||F(i))return null;i=m,l++}return i}const ln="10.0.3",ge=-1,_e="en-US",Wn="",we=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function cn(){return{upper:(e,t)=>t==="text"&&b(e)?e.toUpperCase():t==="vnode"&&R(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&b(e)?e.toLowerCase():t==="vnode"&&R(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&b(e)?we(e):t==="vnode"&&R(e)&&"__v_isVNode"in e?we(e.children):e}}let Ke;function $n(e){Ke=e}let Ve;function Kn(e){Ve=e}let Ye;function Vn(e){Ye=e}let Ge=null;const Yn=e=>{Ge=e},on=()=>Ge;let Xe=null;const Gn=e=>{Xe=e},Xn=()=>Xe;let Fe=0;function Hn(e={}){const t=F(e.onWarn)?e.onWarn:ht,n=b(e.version)?e.version:ln,s=b(e.locale)||F(e.locale)?e.locale:_e,i=F(s)?_e:s,l=X(e.fallbackLocale)||P(e.fallbackLocale)||b(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i,m=P(e.messages)?e.messages:{[i]:{}},_=P(e.datetimeFormats)?e.datetimeFormats:{[i]:{}},f=P(e.numberFormats)?e.numberFormats:{[i]:{}},L=q({},e.modifiers||{},cn()),I=e.pluralRules||{},C=F(e.missing)?e.missing:null,N=$(e.missingWarn)||Ae(e.missingWarn)?e.missingWarn:!0,O=$(e.fallbackWarn)||Ae(e.fallbackWarn)?e.fallbackWarn:!0,y=!!e.fallbackFormat,S=!!e.unresolving,T=F(e.postTranslation)?e.postTranslation:null,c=P(e.processor)?e.processor:null,d=$(e.warnHtmlMessage)?e.warnHtmlMessage:!0,E=!!e.escapeParameter,o=F(e.messageCompiler)?e.messageCompiler:Ke,p=F(e.messageResolver)?e.messageResolver:Ve||an,h=F(e.localeFallbacker)?e.localeFallbacker:Ye||Qt,A=R(e.fallbackContext)?e.fallbackContext:void 0,D=e,M=R(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,V=R(D.__numberFormatters)?D.__numberFormatters:new Map,j=R(D.__meta)?D.__meta:{};Fe++;const U={version:n,cid:Fe,locale:s,fallbackLocale:l,messages:m,modifiers:L,pluralRules:I,missing:C,missingWarn:N,fallbackWarn:O,fallbackFormat:y,unresolving:S,postTranslation:T,processor:c,warnHtmlMessage:d,escapeParameter:E,messageCompiler:o,messageResolver:p,localeFallbacker:h,fallbackContext:A,onWarn:t,__meta:j};return U.datetimeFormats=_,U.numberFormats=f,U.__datetimeFormatters=M,U.__numberFormatters=V,__INTLIFY_PROD_DEVTOOLS__&&xt(U,n,j),U}function Ce(e,t,n,s,i){const{missing:l,onWarn:m}=e;if(l!==null){const _=l(e,n,t,i);return b(_)?_:t}else return t}function jn(e,t,n){const s=e;s.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function un(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function fn(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let s=n+1;s<t.length;s++)if(un(e,t[s]))return!0;return!1}function xn(e,...t){const{datetimeFormats:n,unresolving:s,fallbackLocale:i,onWarn:l,localeFallbacker:m}=e,{__datetimeFormatters:_}=e,[f,L,I,C]=mn(...t),N=$(I.missingWarn)?I.missingWarn:e.missingWarn;$(I.fallbackWarn)?I.fallbackWarn:e.fallbackWarn;const O=!!I.part,y=Te(e,I),S=m(e,i,y);if(!b(f)||f==="")return new Intl.DateTimeFormat(y,C).format(L);let T={},c,d=null;const E="datetime format";for(let h=0;h<S.length&&(c=S[h],T=n[c]||{},d=T[f],!P(d));h++)Ce(e,f,c,N,E);if(!P(d)||!b(c))return s?ge:f;let o=`${c}__${f}`;Ee(C)||(o=`${o}__${JSON.stringify(C)}`);let p=_.get(o);return p||(p=new Intl.DateTimeFormat(c,q({},d,C)),_.set(o,p)),O?p.formatToParts(L):p.format(L)}const dn=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function mn(...e){const[t,n,s,i]=e,l={};let m={},_;if(b(t)){const f=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!f)throw J(B.INVALID_ISO_DATE_ARGUMENT);const L=f[3]?f[3].trim().startsWith("T")?`${f[1].trim()}${f[3].trim()}`:`${f[1].trim()}T${f[3].trim()}`:f[1].trim();_=new Date(L);try{_.toISOString()}catch{throw J(B.INVALID_ISO_DATE_ARGUMENT)}}else if(mt(t)){if(isNaN(t.getTime()))throw J(B.INVALID_DATE_ARGUMENT);_=t}else if(K(t))_=t;else throw J(B.INVALID_ARGUMENT);return b(n)?l.key=n:P(n)&&Object.keys(n).forEach(f=>{dn.includes(f)?m[f]=n[f]:l[f]=n[f]}),b(s)?l.locale=s:P(s)&&(m=s),P(i)&&(m=i),[l.key||"",_,l,m]}function Bn(e,t,n){const s=e;for(const i in n){const l=`${t}__${i}`;s.__datetimeFormatters.has(l)&&s.__datetimeFormatters.delete(l)}}function Jn(e,...t){const{numberFormats:n,unresolving:s,fallbackLocale:i,onWarn:l,localeFallbacker:m}=e,{__numberFormatters:_}=e,[f,L,I,C]=En(...t),N=$(I.missingWarn)?I.missingWarn:e.missingWarn;$(I.fallbackWarn)?I.fallbackWarn:e.fallbackWarn;const O=!!I.part,y=Te(e,I),S=m(e,i,y);if(!b(f)||f==="")return new Intl.NumberFormat(y,C).format(L);let T={},c,d=null;const E="number format";for(let h=0;h<S.length&&(c=S[h],T=n[c]||{},d=T[f],!P(d));h++)Ce(e,f,c,N,E);if(!P(d)||!b(c))return s?ge:f;let o=`${c}__${f}`;Ee(C)||(o=`${o}__${JSON.stringify(C)}`);let p=_.get(o);return p||(p=new Intl.NumberFormat(c,q({},d,C)),_.set(o,p)),O?p.formatToParts(L):p.format(L)}const _n=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function En(...e){const[t,n,s,i]=e,l={};let m={};if(!K(t))throw J(B.INVALID_ARGUMENT);const _=t;return b(n)?l.key=n:P(n)&&Object.keys(n).forEach(f=>{_n.includes(f)?m[f]=n[f]:l[f]=n[f]}),b(s)?l.locale=s:P(s)&&(m=s),P(i)&&(m=i),[l.key||"",_,l,m]}function Qn(e,t,n){const s=e;for(const i in n){const l=`${t}__${i}`;s.__numberFormatters.has(l)&&s.__numberFormatters.delete(l)}}const Ln=e=>e,pn=e=>"",hn="text",Nn=e=>e.length===0?"":pe(e),Tn=pt;function Ue(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function gn(e){const t=K(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(K(e.named.count)||K(e.named.n))?K(e.named.count)?e.named.count:K(e.named.n)?e.named.n:t:t}function Cn(e,t){t.count||(t.count=e),t.n||(t.n=e)}function In(e={}){const t=e.locale,n=gn(e),s=R(e.pluralRules)&&b(t)&&F(e.pluralRules[t])?e.pluralRules[t]:Ue,i=R(e.pluralRules)&&b(t)&&F(e.pluralRules[t])?Ue:void 0,l=c=>c[s(n,c.length,i)],m=e.list||[],_=c=>m[c],f=e.named||{};K(e.pluralIndex)&&Cn(n,f);const L=c=>f[c];function I(c,d){const E=F(e.messages)?e.messages(c,!!d):R(e.messages)?e.messages[c]:!1;return E||(e.parent?e.parent.message(c):pn)}const C=c=>e.modifiers?e.modifiers[c]:Ln,N=P(e.processor)&&F(e.processor.normalize)?e.processor.normalize:Nn,O=P(e.processor)&&F(e.processor.interpolate)?e.processor.interpolate:Tn,y=P(e.processor)&&b(e.processor.type)?e.processor.type:hn,T={list:_,named:L,plural:l,linked:(c,...d)=>{const[E,o]=d;let p="text",h="";d.length===1?R(E)?(h=E.modifier||h,p=E.type||p):b(E)&&(h=E||h):d.length===2&&(b(E)&&(h=E||h),b(o)&&(p=o||p));const A=I(c,!0)(T),D=p==="vnode"&&X(A)&&h?A[0]:A;return h?C(h)(D,p):D},message:I,type:y,interpolate:O,normalize:N,values:q({},m,f)};return T}const We=()=>"",G=e=>F(e);function qn(e,...t){const{fallbackFormat:n,postTranslation:s,unresolving:i,messageCompiler:l,fallbackLocale:m,messages:_}=e,[f,L]=On(...t),I=$(L.missingWarn)?L.missingWarn:e.missingWarn,C=$(L.fallbackWarn)?L.fallbackWarn:e.fallbackWarn,N=$(L.escapeParameter)?L.escapeParameter:e.escapeParameter,O=!!L.resolvedMessage,y=b(L.default)||$(L.default)?$(L.default)?l?f:()=>f:L.default:n?l?f:()=>f:null,S=n||y!=null&&(b(y)||F(y)),T=Te(e,L);N&&bn(L);let[c,d,E]=O?[f,T,_[T]||{}]:He(e,f,T,m,C,I),o=c,p=f;if(!O&&!(b(o)||te(o)||G(o))&&S&&(o=y,p=o),!O&&(!(b(o)||te(o)||G(o))||!b(d)))return i?ge:f;let h=!1;const A=()=>{h=!0},D=G(o)?o:je(e,f,d,o,p,A);if(h)return o;const M=yn(e,d,E,L),V=In(M),j=An(e,D,V),U=s?s(j,f):j;if(__INTLIFY_PROD_DEVTOOLS__){const re={timestamp:Date.now(),key:b(f)?f:G(o)?o.key:"",locale:d||(G(o)?o.locale:""),format:b(o)?o:G(o)?o.source:"",message:U};re.meta=q({},e.__meta,on()||{}),Bt(re)}return U}function bn(e){X(e.list)?e.list=e.list.map(t=>b(t)?Se(t):t):R(e.named)&&Object.keys(e.named).forEach(t=>{b(e.named[t])&&(e.named[t]=Se(e.named[t]))})}function He(e,t,n,s,i,l){const{messages:m,onWarn:_,messageResolver:f,localeFallbacker:L}=e,I=L(e,s,n);let C={},N,O=null;const y="translate";for(let S=0;S<I.length&&(N=I[S],C=m[N]||{},(O=f(C,t))===null&&(O=C[t]),!(b(O)||te(O)||G(O)));S++)if(!fn(N,I)){const T=Ce(e,t,N,l,y);T!==t&&(O=T)}return[O,N,C]}function je(e,t,n,s,i,l){const{messageCompiler:m,warnHtmlMessage:_}=e;if(G(s)){const L=s;return L.locale=L.locale||n,L.key=L.key||t,L}if(m==null){const L=()=>s;return L.locale=n,L.key=t,L}const f=m(s,Sn(e,n,i,s,_,l));return f.locale=n,f.key=t,f.source=s,f}function An(e,t,n){return t(n)}function On(...e){const[t,n,s]=e,i={};if(!b(t)&&!K(t)&&!G(t)&&!te(t))throw J(B.INVALID_ARGUMENT);const l=K(t)?String(t):(G(t),t);return K(n)?i.plural=n:b(n)?i.default=n:P(n)&&!Ee(n)?i.named=n:X(n)&&(i.list=n),K(s)?i.plural=s:b(s)?i.default=s:P(s)&&q(i,s),[l,i]}function Sn(e,t,n,s,i,l){return{locale:t,key:n,warnHtmlMessage:i,onError:m=>{throw l&&l(m),m},onCacheKey:m=>ft(t,n,m)}}function yn(e,t,n,s){const{modifiers:i,pluralRules:l,messageResolver:m,fallbackLocale:_,fallbackWarn:f,missingWarn:L,fallbackContext:I}=e,N={locale:t,modifiers:i,pluralRules:l,messages:(O,y)=>{let S=m(n,O);if(S==null&&(I||y)){const[,,T]=He(I||e,O,t,_,f,L);S=m(T,O)}if(b(S)||te(S)){let T=!1;const d=je(e,O,t,S,O,()=>{T=!0});return T?We:d}else return G(S)?S:We}};return e.processor&&(N.processor=e.processor),s.list&&(N.list=s.list),s.named&&(N.named=s.named),K(s.plural)&&(N.pluralIndex=s.plural),N}Gt();export{qn as A,mn as B,wn as C,_e as D,xn as E,En as F,Jn as G,te as H,G as I,Fn as J,$n as K,Kn as L,Wn as M,_n as N,Vn as O,Gn as P,Mn as Q,Un as R,q as a,b,R as c,$ as d,he as e,X as f,_t as g,P as h,K as i,Ae as j,F as k,kn as l,Pn as m,dn as n,Ee as o,Rn as p,Dn as q,Hn as r,vn as s,Bn as t,jn as u,Qn as v,Yn as w,Xn as x,ge as y,On as z};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var H="M19,19H5V5H19M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M16.5,16.25C16.5,14.75 13.5,14 12,14C10.5,14 7.5,14.75 7.5,16.25V17H16.5M12,12.25A2.25,2.25 0 0,0 14.25,10A2.25,2.25 0 0,0 12,7.75A2.25,2.25 0 0,0 9.75,10A2.25,2.25 0 0,0 12,12.25Z",V="M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M7.07,18.28C7.5,17.38 10.12,16.5 12,16.5C13.88,16.5 16.5,17.38 16.93,18.28C15.57,19.36 13.86,20 12,20C10.14,20 8.43,19.36 7.07,18.28M18.36,16.83C16.93,15.09 13.46,14.5 12,14.5C10.54,14.5 7.07,15.09 5.64,16.83C4.62,15.5 4,13.82 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,13.82 19.38,15.5 18.36,16.83M12,6C10.06,6 8.5,7.56 8.5,9.5C8.5,11.44 10.06,13 12,13C13.94,13 15.5,11.44 15.5,9.5C15.5,7.56 13.94,6 12,6M12,11A1.5,1.5 0 0,1 10.5,9.5A1.5,1.5 0 0,1 12,8A1.5,1.5 0 0,1 13.5,9.5A1.5,1.5 0 0,1 12,11Z",L="M21.7,13.35L20.7,14.35L18.65,12.3L19.65,11.3C19.86,11.09 20.21,11.09 20.42,11.3L21.7,12.58C21.91,12.79 21.91,13.14 21.7,13.35M12,18.94L18.06,12.88L20.11,14.93L14.06,21H12V18.94M12,14C7.58,14 4,15.79 4,18V20H10V18.11L14,14.11C13.34,14.03 12.67,14 12,14M12,4A4,4 0 0,0 8,8A4,4 0 0,0 12,12A4,4 0 0,0 16,8A4,4 0 0,0 12,4Z",C="M16 17V19H2V17S2 13 9 13 16 17 16 17M12.5 7.5A3.5 3.5 0 1 0 9 11A3.5 3.5 0 0 0 12.5 7.5M15.94 13A5.32 5.32 0 0 1 18 17V19H22V17S22 13.37 15.94 13M15 4A3.39 3.39 0 0 0 13.07 4.59A5 5 0 0 1 13.07 10.41A3.39 3.39 0 0 0 15 11A3.5 3.5 0 0 0 15 4Z",M="M2,2H11V11H2V2M9,4H4V9H9V4M22,13V22H13V13H22M15,20H20V15H15V20M16,8V11H13V8H16M11,16H8V13H11V16Z",a="M12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22M12,7L7,12H10V16H14V12H17L12,7Z",A="M12,3A9,9 0 0,0 3,12H0L4,16L8,12H5A7,7 0 0,1 12,5A7,7 0 0,1 19,12A7,7 0 0,1 12,19C10.5,19 9.09,18.5 7.94,17.7L6.5,19.14C8.04,20.3 9.94,21 12,21A9,9 0 0,0 21,12A9,9 0 0,0 12,3M14,12A2,2 0 0,0 12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12Z",i="M21,19V20H3V19L5,17V11C5,7.9 7.03,5.17 10,4.29C10,4.19 10,4.1 10,4A2,2 0 0,1 12,2A2,2 0 0,1 14,4C14,4.1 14,4.19 14,4.29C16.97,5.17 19,7.9 19,11V17L21,19M14,21A2,2 0 0,1 12,23A2,2 0 0,1 10,21",r="M3 16C3 18.8 5.2 21 8 21H10V19H8C6.3 19 5 17.7 5 16V14H3V16M21 8C21 5.2 18.8 3 16 3H14V5H16C17.7 5 19 6.3 19 8V10H21V8M16 21C18.8 21 21 18.8 21 16V14H19V16C19 17.7 17.7 19 16 19H14V21H16M8 3C5.2 3 3 5.2 3 8V10H5V8C5 6.3 6.3 5 8 5H10V3H8Z",s="M4,4H7L9,2H15L17,4H20A2,2 0 0,1 22,6V18A2,2 0 0,1 20,20H4A2,2 0 0,1 2,18V6A2,2 0 0,1 4,4M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9Z",d="M20,4H16.83L15,2H9L7.17,4H4A2,2 0 0,0 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6A2,2 0 0,0 20,4M20,18H4V6H8.05L9.88,4H14.12L15.95,6H20V18M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7M12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15Z",e="M12 2C17.5 2 22 6.5 22 12S17.5 22 12 22 2 17.5 2 12 6.5 2 12 2M12 4C10.1 4 8.4 4.6 7.1 5.7L18.3 16.9C19.3 15.5 20 13.8 20 12C20 7.6 16.4 4 12 4M16.9 18.3L5.7 7.1C4.6 8.4 4 10.1 4 12C4 16.4 7.6 20 12 20C13.9 20 15.6 19.4 16.9 18.3Z",m="M21 15V18H24V20H21V23H19V20H16V18H19V15H21M14 18H3V6H19V13H21V6C21 4.89 20.11 4 19 4H3C1.9 4 1 4.89 1 6V18C1 19.11 1.9 20 3 20H14V18Z",v="M14.5 12C14.5 10.62 13.38 9.5 12 9.5C10.62 9.5 9.5 10.62 9.5 12C9.5 13 10.09 13.84 10.93 14.25L9.82 15.35C8.73 14.64 8 13.41 8 12C8 9.79 9.79 8 12 8C14.21 8 16 9.79 16 12C16 13.41 15.27 14.64 14.18 15.35L13.08 14.25C13.92 13.84 14.5 13 14.5 12M12 2C6.5 2 2 6.5 2 12C2 15.06 3.38 17.8 5.54 19.63L6.61 18.57C4.71 17 3.5 14.64 3.5 12C3.5 7.31 7.31 3.5 12 3.5C16.69 3.5 20.5 7.31 20.5 12C20.5 14.64 19.29 17 17.39 18.57L18.46 19.63C20.62 17.79 22 15.06 22 12C22 6.5 17.5 2 12 2M19 12C19 8.13 15.87 5 12 5C8.13 5 5 8.13 5 12C5 14.23 6.05 16.22 7.68 17.5L8.75 16.43C7.39 15.42 6.5 13.82 6.5 12C6.5 8.97 8.97 6.5 12 6.5C15.03 6.5 17.5 8.97 17.5 12C17.5 13.82 16.61 15.42 15.25 16.43L16.33 17.5C17.95 16.22 19 14.23 19 12M6 22H18L12 16L6 22Z",Z="M6.03 12.03L8.03 15.5L5.5 18.68L2 12.62L6.03 12.03M17 18V15.29C17.88 14.9 18.5 14.03 18.5 13C18.5 12.43 18.3 11.9 17.97 11.5L19.94 10.35C20.95 9.76 21.3 8.47 20.71 7.46L19.33 5.06C18.74 4.05 17.45 3.7 16.44 4.28L8.31 9C7.36 9.53 7.03 10.75 7.58 11.71L9.08 14.31C9.63 15.26 10.86 15.59 11.81 15.04L13.69 13.96C13.94 14.55 14.41 15.03 15 15.29V18C15 19.1 15.9 20 17 20H22V18H17Z",o="M20.84 22.73L18.11 20H17C15.9 20 15 19.1 15 18V16.89L12.66 14.55L11.81 15.04C10.86 15.59 9.63 15.26 9.08 14.31L7.58 11.71C7.18 11 7.25 10.18 7.68 9.57L1.11 3L2.39 1.73L22.11 21.46L20.84 22.73M18.5 13C18.5 12.43 18.3 11.9 17.97 11.5L19.94 10.35C20.95 9.76 21.3 8.47 20.71 7.46L19.33 5.06C18.74 4.05 17.45 3.7 16.44 4.28L10.77 7.57L17.86 14.66C18.26 14.22 18.5 13.64 18.5 13M2 12.62L5.5 18.68L8.03 15.5L6.03 12.03L2 12.62Z",t="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",n="M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z",l="M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M19,19H5V5H19V19M17,17H7V7H17V17Z",c="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",u="M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",S="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z",h="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z",f="M12,8A4,4 0 0,0 8,12A4,4 0 0,0 12,16A4,4 0 0,0 16,12A4,4 0 0,0 12,8Z",O="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z",g="M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",p="M11 20H6.5Q4.22 20 2.61 18.43 1 16.85 1 14.58 1 12.63 2.17 11.1 3.35 9.57 5.25 9.15 5.88 6.85 7.75 5.43 9.63 4 12 4 14.93 4 16.96 6.04 19 8.07 19 11 20.73 11.2 21.86 12.5 23 13.78 23 15.5 23 17.38 21.69 18.69 20.38 20 18.5 20H13V12.85L14.6 14.4L16 13L12 9L8 13L9.4 14.4L11 12.85Z",P="M12,15.5A3.5,3.5 0 0,1 8.5,12A3.5,3.5 0 0,1 12,8.5A3.5,3.5 0 0,1 15.5,12A3.5,3.5 0 0,1 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.21,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.21,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.67 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z",R="M12,8A4,4 0 0,1 16,12A4,4 0 0,1 12,16A4,4 0 0,1 8,12A4,4 0 0,1 12,8M12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12A2,2 0 0,0 12,10M10,22C9.75,22 9.54,21.82 9.5,21.58L9.13,18.93C8.5,18.68 7.96,18.34 7.44,17.94L4.95,18.95C4.73,19.03 4.46,18.95 4.34,18.73L2.34,15.27C2.21,15.05 2.27,14.78 2.46,14.63L4.57,12.97L4.5,12L4.57,11L2.46,9.37C2.27,9.22 2.21,8.95 2.34,8.73L4.34,5.27C4.46,5.05 4.73,4.96 4.95,5.05L7.44,6.05C7.96,5.66 8.5,5.32 9.13,5.07L9.5,2.42C9.54,2.18 9.75,2 10,2H14C14.25,2 14.46,2.18 14.5,2.42L14.87,5.07C15.5,5.32 16.04,5.66 16.56,6.05L19.05,5.05C19.27,4.96 19.54,5.05 19.66,5.27L21.66,8.73C21.79,8.95 21.73,9.22 21.54,9.37L19.43,11L19.5,12L19.43,13L21.54,14.63C21.73,14.78 21.79,15.05 21.66,15.27L19.66,18.73C19.54,18.95 19.27,19.04 19.05,18.95L16.56,17.95C16.04,18.34 15.5,18.68 14.87,18.93L14.5,21.58C14.46,21.82 14.25,22 14,22H10M11.25,4L10.88,6.61C9.68,6.86 8.62,7.5 7.85,8.39L5.44,7.35L4.69,8.65L6.8,10.2C6.4,11.37 6.4,12.64 6.8,13.8L4.68,15.36L5.43,16.66L7.86,15.62C8.63,16.5 9.68,17.14 10.87,17.38L11.24,20H12.76L13.13,17.39C14.32,17.14 15.37,16.5 16.14,15.62L18.57,16.66L19.32,15.36L17.2,13.81C17.6,12.64 17.6,11.37 17.2,10.2L19.31,8.65L18.56,7.35L16.15,8.39C15.38,7.5 14.32,6.86 13.12,6.62L12.75,4H11.25Z",k="M20,19V7H4V19H20M20,3A2,2 0 0,1 22,5V19A2,2 0 0,1 20,21H4A2,2 0 0,1 2,19V5C2,3.89 2.9,3 4,3H20M13,17V15H18V17H13M9.58,13L5.57,9H8.4L11.7,12.3C12.09,12.69 12.09,13.33 11.7,13.72L8.42,17H5.59L9.58,13Z",w="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z",y="M20.37,8.91L19.37,10.64L7.24,3.64L8.24,1.91L11.28,3.66L12.64,3.29L16.97,5.79L17.34,7.16L20.37,8.91M6,19V7H11.07L18,11V19A2,2 0 0,1 16,21H8A2,2 0 0,1 6,19Z",B="M16,12A2,2 0 0,1 18,10A2,2 0 0,1 20,12A2,2 0 0,1 18,14A2,2 0 0,1 16,12M10,12A2,2 0 0,1 12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12M4,12A2,2 0 0,1 6,10A2,2 0 0,1 8,12A2,2 0 0,1 6,14A2,2 0 0,1 4,12Z",D="M12,16A2,2 0 0,1 14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18A2,2 0 0,1 12,16M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z",E="M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z",U="M9,3H11V5H9V3M13,3H15V5H13V3M9,7H11V9H9V7M13,7H15V9H13V7M9,11H11V13H9V11M13,11H15V13H13V11M9,15H11V17H9V15M13,15H15V17H13V15M9,19H11V21H9V19M13,19H15V21H13V19Z",x="M2,5.27L3.28,4L20,20.72L18.73,22L15.65,18.92C14.5,19.3 13.28,19.5 12,19.5C7,19.5 2.73,16.39 1,12C1.69,10.24 2.79,8.69 4.19,7.46L2,5.27M12,9A3,3 0 0,1 15,12C15,12.35 14.94,12.69 14.83,13L11,9.17C11.31,9.06 11.65,9 12,9M12,4.5C17,4.5 21.27,7.61 23,12C22.18,14.08 20.79,15.88 19,17.19L17.58,15.76C18.94,14.82 20.06,13.54 20.82,12C19.17,8.64 15.76,6.5 12,6.5C10.91,6.5 9.84,6.68 8.84,7L7.3,5.47C8.74,4.85 10.33,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C12.69,17.5 13.37,17.43 14,17.29L11.72,15C10.29,14.85 9.15,13.71 9,12.28L5.6,8.87C4.61,9.72 3.78,10.78 3.18,12Z",I="M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9M12,4.5C17,4.5 21.27,7.61 23,12C21.27,16.39 17,19.5 12,19.5C7,19.5 2.73,16.39 1,12C2.73,7.61 7,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C15.76,17.5 19.17,15.36 20.82,12C19.17,8.64 15.76,6.5 12,6.5C8.24,6.5 4.83,8.64 3.18,12Z",T="M10,12V22H8V14H6V12H10M18,14V20C18,21.11 17.11,22 16,22H14A2,2 0 0,1 12,20V14A2,2 0 0,1 14,12H16C17.11,12 18,12.9 18,14M14,14V20H16V14H14M11.5,3C14.15,3 16.55,4 18.4,5.6L21,3V10H14L16.62,7.38C15.23,6.22 13.46,5.5 11.5,5.5C7.96,5.5 4.95,7.81 3.9,11L1.53,10.22C2.92,6.03 6.85,3 11.5,3Z",z="M5,5H10V7H7V10H5V5M14,5H19V10H17V7H14V5M17,14H19V19H14V17H17V14M10,17V19H5V14H7V17H10Z",b="M14,14H19V16H16V19H14V14M5,14H10V19H8V16H5V14M8,5H10V10H5V8H8V5M19,8V10H14V5H16V8H19Z",F="M12,2A10,10 0 0,0 2,12C2,16.42 4.87,20.17 8.84,21.5C9.34,21.58 9.5,21.27 9.5,21C9.5,20.77 9.5,20.14 9.5,19.31C6.73,19.91 6.14,17.97 6.14,17.97C5.68,16.81 5.03,16.5 5.03,16.5C4.12,15.88 5.1,15.9 5.1,15.9C6.1,15.97 6.63,16.93 6.63,16.93C7.5,18.45 8.97,18 9.54,17.76C9.63,17.11 9.89,16.67 10.17,16.42C7.95,16.17 5.62,15.31 5.62,11.5C5.62,10.39 6,9.5 6.65,8.79C6.55,8.54 6.2,7.5 6.75,6.15C6.75,6.15 7.59,5.88 9.5,7.17C10.29,6.95 11.15,6.84 12,6.84C12.85,6.84 13.71,6.95 14.5,7.17C16.41,5.88 17.25,6.15 17.25,6.15C17.8,7.5 17.45,8.54 17.35,8.79C18,9.5 18.38,10.39 18.38,11.5C18.38,15.32 16.04,16.16 13.81,16.41C14.17,16.72 14.5,17.33 14.5,18.26C14.5,19.6 14.5,20.68 14.5,21C14.5,21.27 14.66,21.59 15.17,21.5C19.14,20.16 22,16.42 22,12A10,10 0 0,0 12,2Z",G="M4,2H20A2,2 0 0,1 22,4V20A2,2 0 0,1 20,22H4C2.92,22 2,21.1 2,20V4A2,2 0 0,1 4,2M4,4V11H11V4H4M4,20H11V13H4V20M20,20V13H13V20H20M20,4H13V11H20V4Z",W="M22,16V4A2,2 0 0,0 20,2H8A2,2 0 0,0 6,4V16A2,2 0 0,0 8,18H20A2,2 0 0,0 22,16M11,12L13.03,14.71L16,11L20,16H8M2,6V20A2,2 0 0,0 4,22H18V20H4V6",N="M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",j="M22 12L18 8V11H10V13H18V16M20 18A10 10 0 1 1 20 6H17.27A8 8 0 1 0 17.27 18Z",q="M12,17A2,2 0 0,0 14,15C14,13.89 13.1,13 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V10C4,8.89 4.9,8 6,8H7V6A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,3A3,3 0 0,0 9,6V8H15V6A3,3 0 0,0 12,3Z",Q="M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V10A2,2 0 0,1 6,8H15V6A3,3 0 0,0 12,3A3,3 0 0,0 9,6H7A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,17A2,2 0 0,0 14,15A2,2 0 0,0 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17Z",J="M17 7L15.59 8.41L18.17 11H8V13H18.17L15.59 15.58L17 17L22 12M4 5H12V3H4C2.9 3 2 3.9 2 5V19C2 20.1 2.9 21 4 21H12V19H4V5Z",K="M15.5,14H14.71L14.43,13.73C15.41,12.59 16,11.11 16,9.5A6.5,6.5 0 0,0 9.5,3A6.5,6.5 0 0,0 3,9.5A6.5,6.5 0 0,0 9.5,16C11.11,16 12.59,15.41 13.73,14.43L14,14.71V15.5L19,20.5L20.5,19L15.5,14M9.5,14C7,14 5,12 5,9.5C5,7 7,5 9.5,5C12,5 14,7 14,9.5C14,12 12,14 9.5,14M7,9H12V10H7V9Z",X="M15.5,14L20.5,19L19,20.5L14,15.5V14.71L13.73,14.43C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.43,13.73L14.71,14H15.5M9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14M12,10H10V12H9V10H7V9H9V7H10V9H12V10Z",Y="M12,2A3,3 0 0,1 15,5V11A3,3 0 0,1 12,14A3,3 0 0,1 9,11V5A3,3 0 0,1 12,2M19,11C19,14.53 16.39,17.44 13,17.93V21H11V17.93C7.61,17.44 5,14.53 5,11H7A5,5 0 0,0 12,16A5,5 0 0,0 17,11H19Z",_="M19,11C19,12.19 18.66,13.3 18.1,14.28L16.87,13.05C17.14,12.43 17.3,11.74 17.3,11H19M15,11.16L9,5.18V5A3,3 0 0,1 12,2A3,3 0 0,1 15,5V11L15,11.16M4.27,3L21,19.73L19.73,21L15.54,16.81C14.77,17.27 13.91,17.58 13,17.72V21H11V17.72C7.72,17.23 5,14.41 5,11H6.7C6.7,14 9.24,16.1 12,16.1C12.81,16.1 13.6,15.91 14.31,15.58L12.65,13.92L12,14A3,3 0 0,1 9,11V10.28L3,4.27L4.27,3Z",$="M19,13H5V11H19V13Z",H1="M21,16V4H3V16H21M21,2A2,2 0 0,1 23,4V16A2,2 0 0,1 21,18H14V20H16V22H8V20H10V18H3C1.89,18 1,17.1 1,16V4C1,2.89 1.89,2 3,2H21M5,6H14V11H5V6M15,6H19V8H15V6M19,9V14H15V9H19M5,12H9V14H5V12M10,12H14V14H10V12Z",V1="M2 12A10 10 0 0 0 15 21.54A10 10 0 0 1 15 2.46A10 10 0 0 0 2 12Z",L1="M21 10V9L15 3H5C3.89 3 3 3.89 3 5V19C3 20.11 3.9 21 5 21H11V19.13L19.39 10.74C19.83 10.3 20.39 10.06 21 10M14 4.5L19.5 10H14V4.5M22.85 14.19L21.87 15.17L19.83 13.13L20.81 12.15C21 11.95 21.33 11.95 21.53 12.15L22.85 13.47C23.05 13.67 23.05 14 22.85 14.19M19.13 13.83L21.17 15.87L15.04 22H13V19.96L19.13 13.83Z",C1="M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z",M1="M14,19H18V5H14M6,19H10V5H6V19Z",a1="M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z",A1="M3 17.25V21H6.75L17.81 9.93L14.06 6.18L3 17.25M22.61 18.36L18.36 22.61L13.16 17.41L14.93 15.64L15.93 16.64L18.4 14.16L19.82 15.58L18.36 17L19.42 18L20.84 16.6L22.61 18.36M6.61 10.83L1.39 5.64L5.64 1.39L7.4 3.16L4.93 5.64L6 6.7L8.46 4.22L9.88 5.64L8.46 7.05L9.46 8.05L6.61 10.83M20.71 7C21.1 6.61 21.1 6 20.71 5.59L18.37 3.29C18 2.9 17.35 2.9 16.96 3.29L15.12 5.12L18.87 8.87L20.71 7Z",i1="M19,11H11V17H19V11M23,19V5C23,3.88 22.1,3 21,3H3A2,2 0 0,0 1,5V19A2,2 0 0,0 3,21H21A2,2 0 0,0 23,19M21,19H3V4.97H21V19Z",r1="M8,5.14V19.14L19,12.14L8,5.14Z",s1="M10,16.5V7.5L16,12M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",d1="M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z",e1="M17,13H13V17H11V13H7V11H11V7H13V11H17M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",m1="M16.56,5.44L15.11,6.89C16.84,7.94 18,9.83 18,12A6,6 0 0,1 12,18A6,6 0 0,1 6,12C6,9.83 7.16,7.94 8.88,6.88L7.44,5.44C5.36,6.88 4,9.28 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12C20,9.28 18.64,6.88 16.56,5.44M13,3H11V13H13",v1="M20.5,11H19V7C19,5.89 18.1,5 17,5H13V3.5A2.5,2.5 0 0,0 10.5,1A2.5,2.5 0 0,0 8,3.5V5H4A2,2 0 0,0 2,7V10.8H3.5C5,10.8 6.2,12 6.2,13.5C6.2,15 5,16.2 3.5,16.2H2V20A2,2 0 0,0 4,22H7.8V20.5C7.8,19 9,17.8 10.5,17.8C12,17.8 13.2,19 13.2,20.5V22H17A2,2 0 0,0 19,20V16H20.5A2.5,2.5 0 0,0 23,13.5A2.5,2.5 0 0,0 20.5,11Z",Z1="M4,6V19H20V6H4Z",o1="M4,6V19H20V6H4M18,17H6V8H18V17Z",t1="M2 12C2 16.97 6.03 21 11 21C13.39 21 15.68 20.06 17.4 18.4L15.9 16.9C14.63 18.25 12.86 19 11 19C4.76 19 1.64 11.46 6.05 7.05C10.46 2.64 18 5.77 18 12H15L19 16H19.1L23 12H20C20 7.03 15.97 3 11 3C6.03 3 2 7.03 2 12Z",n1="M12,4C14.1,4 16.1,4.8 17.6,6.3C20.7,9.4 20.7,14.5 17.6,17.6C15.8,19.5 13.3,20.2 10.9,19.9L11.4,17.9C13.1,18.1 14.9,17.5 16.2,16.2C18.5,13.9 18.5,10.1 16.2,7.7C15.1,6.6 13.5,6 12,6V10.6L7,5.6L12,0.6V4M6.3,17.6C3.7,15 3.3,11 5.1,7.9L6.6,9.4C5.5,11.6 5.9,14.4 7.8,16.2C8.3,16.7 8.9,17.1 9.6,17.4L9,19.4C8,19 7.1,18.4 6.3,17.6Z",l1="M12.5,3C17.15,3 21.08,6.03 22.47,10.22L20.1,11C19.05,7.81 16.04,5.5 12.5,5.5C10.54,5.5 8.77,6.22 7.38,7.38L10,10H3V3L5.6,5.6C7.45,4 9.85,3 12.5,3M10,12V22H8V14H6V12H10M18,14V20C18,21.11 17.11,22 16,22H14A2,2 0 0,1 12,20V14A2,2 0 0,1 14,12H16C17.11,12 18,12.9 18,14M14,14V20H16V14H14Z",c1="M18 16.08C17.24 16.08 16.56 16.38 16.04 16.85L8.91 12.7C8.96 12.47 9 12.24 9 12S8.96 11.53 8.91 11.3L15.96 7.19C16.5 7.69 17.21 8 18 8C19.66 8 21 6.66 21 5S19.66 2 18 2 15 3.34 15 5C15 5.24 15.04 5.47 15.09 5.7L8.04 9.81C7.5 9.31 6.79 9 6 9C4.34 9 3 10.34 3 12S4.34 15 6 15C6.79 15 7.5 14.69 8.04 14.19L15.16 18.34C15.11 18.55 15.08 18.77 15.08 19C15.08 20.61 16.39 21.91 18 21.91S20.92 20.61 20.92 19C20.92 17.39 19.61 16.08 18 16.08M18 4C18.55 4 19 4.45 19 5S18.55 6 18 6 17 5.55 17 5 17.45 4 18 4M6 13C5.45 13 5 12.55 5 12S5.45 11 6 11 7 11.45 7 12 6.55 13 6 13M18 20C17.45 20 17 19.55 17 19S17.45 18 18 18 19 18.45 19 19 18.55 20 18 20Z",u1="M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M9,9H15V15H9",S1="M20 2H4C2.9 2 2 2.9 2 4V16C2 17.11 2.9 18 4 18H8L12 22L16 18H20C21.11 18 22 17.11 22 16V4C22 2.9 21.11 2 20 2M10.46 14L6.96 10.5L8.37 9.08L10.46 11.17L15.64 6L17.05 7.41L10.46 14Z",h1="M4,2H20A2,2 0 0,1 22,4V16A2,2 0 0,1 20,18H16L12,22L8,18H4A2,2 0 0,1 2,16V4A2,2 0 0,1 4,2M11,6V9H8V11H11V14H13V11H16V9H13V6H11Z",f1="M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M9,8H11V17H9V8M13,8H15V17H13V8Z",O1="M3,17V19H9V17H3M3,5V7H13V5H3M13,21V19H21V17H13V15H11V21H13M7,9V11H3V13H7V15H9V9H7M21,13V11H11V13H21M15,9H17V7H21V5H17V3H15V9Z",g1="M8 13C6.14 13 4.59 14.28 4.14 16H2V18H4.14C4.59 19.72 6.14 21 8 21S11.41 19.72 11.86 18H22V16H11.86C11.41 14.28 9.86 13 8 13M8 19C6.9 19 6 18.1 6 17C6 15.9 6.9 15 8 15S10 15.9 10 17C10 18.1 9.1 19 8 19M19.86 6C19.41 4.28 17.86 3 16 3S12.59 4.28 12.14 6H2V8H12.14C12.59 9.72 14.14 11 16 11S19.41 9.72 19.86 8H22V6H19.86M16 9C14.9 9 14 8.1 14 7C14 5.9 14.9 5 16 5S18 5.9 18 7C18 8.1 17.1 9 16 9Z",p1="M12.5,8C9.85,8 7.45,9 5.6,10.6L2,7V16H11L7.38,12.38C8.77,11.22 10.54,10.5 12.5,10.5C16.04,10.5 19.05,12.81 20.1,16L22.47,15.22C21.08,11.03 17.15,8 12.5,8Z",P1="M5.41,7.41L10,12L5.41,16.59L4,15.17L7.17,12L4,8.83L5.41,7.41M18.59,16.59L14,12L18.59,7.42L20,8.83L16.83,12L20,15.17L18.59,16.59Z",R1="M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z",k1="M21,10.12H14.22L16.96,7.3C14.23,4.6 9.81,4.5 7.08,7.2C4.35,9.91 4.35,14.28 7.08,17C9.81,19.7 14.23,19.7 16.96,17C18.32,15.65 19,14.08 19,12.1H21C21,14.08 20.12,16.65 18.36,18.39C14.85,21.87 9.15,21.87 5.64,18.39C2.14,14.92 2.11,9.28 5.62,5.81C9.13,2.34 14.76,2.34 18.27,5.81L21,3V10.12M12.5,8V12.25L16,14.33L15.28,15.54L11,13V8H12.5Z",w1="M3.14,1A2.14,2.14 0 0,0 1,3.14V5H3V3H5V1H3.14M7,1V3H10V1H7M12,1V3H14V5H16V3.14C16,1.96 15.04,1 13.86,1H12M1,7V10H3V7H1M9,7C7.89,7 7,7.89 7,9C7,11.33 7,16 7,16C7,16 11.57,16 13.86,16A2.14,2.14 0 0,0 16,13.86C16,11.57 16,7 16,7C16,7 11.33,7 9,7M18,7V9H20V11H22V9C22,7.89 21.11,7 20,7H18M9,9H14V14H9V9M1,12V13.86C1,15.04 1.96,16 3.14,16H5V14H3V12H1M20,13V16H22V13H20M7,18V20C7,21.11 7.89,22 9,22H11V20H9V18H7M20,18V20H18V22H20C21.11,22 22,21.11 22,20V18H20M13,20V22H16V20H13Z",y1="M2,4H8V6H16V4H22V10H20V14H22V20H16V18H8V20H2V14H4V10H2V4M16,10V8H8V10H6V14H8V16H16V14H18V10H16M4,6V8H6V6H4M18,6V8H20V6H18M4,16V18H6V16H4M18,16V18H20V16H18Z",B1="M13 3V11H21V3H13M3 21H11V13H3V21M3 3V11H11V3H3M13 16H16V13H18V16H21V18H18V21H16V18H13V16Z",D1="M14,3.23V5.29C16.89,6.15 19,8.83 19,12C19,15.17 16.89,17.84 14,18.7V20.77C18,19.86 21,16.28 21,12C21,7.72 18,4.14 14,3.23M16.5,12C16.5,10.23 15.5,8.71 14,7.97V16C15.5,15.29 16.5,13.76 16.5,12M3,9V15H7L12,20V4L7,9H3Z",E1="M12,4L9.91,6.09L12,8.18M4.27,3L3,4.27L7.73,9H3V15H7L12,20V13.27L16.25,17.53C15.58,18.04 14.83,18.46 14,18.7V20.77C15.38,20.45 16.63,19.82 17.68,18.96L19.73,21L21,19.73L12,10.73M19,12C19,12.94 18.8,13.82 18.46,14.64L19.97,16.15C20.62,14.91 21,13.5 21,12C21,7.72 18,4.14 14,3.23V5.29C16.89,6.15 19,8.83 19,12M16.5,12C16.5,10.23 15.5,8.71 14,7.97V10.18L16.45,12.63C16.5,12.43 16.5,12.21 16.5,12Z",U1="M3.55 19.09L4.96 20.5L6.76 18.71L5.34 17.29M12 6C8.69 6 6 8.69 6 12S8.69 18 12 18 18 15.31 18 12C18 8.68 15.31 6 12 6M20 13H23V11H20M17.24 18.71L19.04 20.5L20.45 19.09L18.66 17.29M20.45 5L19.04 3.6L17.24 5.39L18.66 6.81M13 1H11V4H13M6.76 5.39L4.96 3.6L3.55 5L5.34 6.81L6.76 5.39M1 13H4V11H1M13 20H11V23H13",x1="M2.28,3L1,4.27L2.47,5.74C2.04,6 1.61,6.29 1.2,6.6L3,9C3.53,8.6 4.08,8.25 4.66,7.93L6.89,10.16C6.15,10.5 5.44,10.91 4.8,11.4L6.6,13.8C7.38,13.22 8.26,12.77 9.2,12.47L11.75,15C10.5,15.07 9.34,15.5 8.4,16.2L12,21L14.46,17.73L17.74,21L19,19.72M12,3C9.85,3 7.8,3.38 5.9,4.07L8.29,6.47C9.5,6.16 10.72,6 12,6C15.38,6 18.5,7.11 21,9L22.8,6.6C19.79,4.34 16.06,3 12,3M12,9C11.62,9 11.25,9 10.88,9.05L14.07,12.25C15.29,12.53 16.43,13.07 17.4,13.8L19.2,11.4C17.2,9.89 14.7,9 12,9Z";export{D as $,R1 as A,x1 as B,u as C,c1 as D,h as E,c as F,S as G,K as H,X as I,Y as J,U as K,n as L,d1 as M,q as N,Q as O,E1 as P,D1 as Q,b as R,z as S,w as T,a1 as U,m as V,B1 as W,N as X,g as Y,s as Z,t as _,x as a,E as a0,y as a1,f1 as a2,p1 as a3,e as a4,o as a5,Z1 as a6,o1 as a7,w1 as a8,l as a9,p as aA,R as aa,g1 as ab,C1 as ac,l1 as ad,M1 as ae,r1 as af,T as ag,_ as ah,v as ai,M as aj,i1 as ak,f as al,d as am,r as an,H as ao,y1 as ap,S1 as aq,h1 as ar,a as as,n1 as at,B as au,k1 as av,s1 as aw,u1 as ax,j as ay,L as az,F as b,Z as c,G as d,e1 as e,W as f,L1 as g,k as h,v1 as i,H1 as j,P as k,V as l,I as m,A1 as n,C as o,A as p,O1 as q,m1 as r,O as s,i as t,V1 as u,U1 as v,t1 as w,J as x,$ as y,P1 as z};
|
|
1
|
+
var H="M19,19H5V5H19M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M16.5,16.25C16.5,14.75 13.5,14 12,14C10.5,14 7.5,14.75 7.5,16.25V17H16.5M12,12.25A2.25,2.25 0 0,0 14.25,10A2.25,2.25 0 0,0 12,7.75A2.25,2.25 0 0,0 9.75,10A2.25,2.25 0 0,0 12,12.25Z",V="M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M7.07,18.28C7.5,17.38 10.12,16.5 12,16.5C13.88,16.5 16.5,17.38 16.93,18.28C15.57,19.36 13.86,20 12,20C10.14,20 8.43,19.36 7.07,18.28M18.36,16.83C16.93,15.09 13.46,14.5 12,14.5C10.54,14.5 7.07,15.09 5.64,16.83C4.62,15.5 4,13.82 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,13.82 19.38,15.5 18.36,16.83M12,6C10.06,6 8.5,7.56 8.5,9.5C8.5,11.44 10.06,13 12,13C13.94,13 15.5,11.44 15.5,9.5C15.5,7.56 13.94,6 12,6M12,11A1.5,1.5 0 0,1 10.5,9.5A1.5,1.5 0 0,1 12,8A1.5,1.5 0 0,1 13.5,9.5A1.5,1.5 0 0,1 12,11Z",L="M21.7,13.35L20.7,14.35L18.65,12.3L19.65,11.3C19.86,11.09 20.21,11.09 20.42,11.3L21.7,12.58C21.91,12.79 21.91,13.14 21.7,13.35M12,18.94L18.06,12.88L20.11,14.93L14.06,21H12V18.94M12,14C7.58,14 4,15.79 4,18V20H10V18.11L14,14.11C13.34,14.03 12.67,14 12,14M12,4A4,4 0 0,0 8,8A4,4 0 0,0 12,12A4,4 0 0,0 16,8A4,4 0 0,0 12,4Z",C="M16 17V19H2V17S2 13 9 13 16 17 16 17M12.5 7.5A3.5 3.5 0 1 0 9 11A3.5 3.5 0 0 0 12.5 7.5M15.94 13A5.32 5.32 0 0 1 18 17V19H22V17S22 13.37 15.94 13M15 4A3.39 3.39 0 0 0 13.07 4.59A5 5 0 0 1 13.07 10.41A3.39 3.39 0 0 0 15 11A3.5 3.5 0 0 0 15 4Z",M="M2,2H11V11H2V2M9,4H4V9H9V4M22,13V22H13V13H22M15,20H20V15H15V20M16,8V11H13V8H16M11,16H8V13H11V16Z",a="M12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22M12,7L7,12H10V16H14V12H17L12,7Z",A="M12,3A9,9 0 0,0 3,12H0L4,16L8,12H5A7,7 0 0,1 12,5A7,7 0 0,1 19,12A7,7 0 0,1 12,19C10.5,19 9.09,18.5 7.94,17.7L6.5,19.14C8.04,20.3 9.94,21 12,21A9,9 0 0,0 21,12A9,9 0 0,0 12,3M14,12A2,2 0 0,0 12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12Z",i="M21,19V20H3V19L5,17V11C5,7.9 7.03,5.17 10,4.29C10,4.19 10,4.1 10,4A2,2 0 0,1 12,2A2,2 0 0,1 14,4C14,4.1 14,4.19 14,4.29C16.97,5.17 19,7.9 19,11V17L21,19M14,21A2,2 0 0,1 12,23A2,2 0 0,1 10,21",r="M3 16C3 18.8 5.2 21 8 21H10V19H8C6.3 19 5 17.7 5 16V14H3V16M21 8C21 5.2 18.8 3 16 3H14V5H16C17.7 5 19 6.3 19 8V10H21V8M16 21C18.8 21 21 18.8 21 16V14H19V16C19 17.7 17.7 19 16 19H14V21H16M8 3C5.2 3 3 5.2 3 8V10H5V8C5 6.3 6.3 5 8 5H10V3H8Z",s="M4,4H7L9,2H15L17,4H20A2,2 0 0,1 22,6V18A2,2 0 0,1 20,20H4A2,2 0 0,1 2,18V6A2,2 0 0,1 4,4M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9Z",d="M20,4H16.83L15,2H9L7.17,4H4A2,2 0 0,0 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6A2,2 0 0,0 20,4M20,18H4V6H8.05L9.88,4H14.12L15.95,6H20V18M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7M12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15Z",e="M12 2C17.5 2 22 6.5 22 12S17.5 22 12 22 2 17.5 2 12 6.5 2 12 2M12 4C10.1 4 8.4 4.6 7.1 5.7L18.3 16.9C19.3 15.5 20 13.8 20 12C20 7.6 16.4 4 12 4M16.9 18.3L5.7 7.1C4.6 8.4 4 10.1 4 12C4 16.4 7.6 20 12 20C13.9 20 15.6 19.4 16.9 18.3Z",m="M21 15V18H24V20H21V23H19V20H16V18H19V15H21M14 18H3V6H19V13H21V6C21 4.89 20.11 4 19 4H3C1.9 4 1 4.89 1 6V18C1 19.11 1.9 20 3 20H14V18Z",v="M14.5 12C14.5 10.62 13.38 9.5 12 9.5C10.62 9.5 9.5 10.62 9.5 12C9.5 13 10.09 13.84 10.93 14.25L9.82 15.35C8.73 14.64 8 13.41 8 12C8 9.79 9.79 8 12 8C14.21 8 16 9.79 16 12C16 13.41 15.27 14.64 14.18 15.35L13.08 14.25C13.92 13.84 14.5 13 14.5 12M12 2C6.5 2 2 6.5 2 12C2 15.06 3.38 17.8 5.54 19.63L6.61 18.57C4.71 17 3.5 14.64 3.5 12C3.5 7.31 7.31 3.5 12 3.5C16.69 3.5 20.5 7.31 20.5 12C20.5 14.64 19.29 17 17.39 18.57L18.46 19.63C20.62 17.79 22 15.06 22 12C22 6.5 17.5 2 12 2M19 12C19 8.13 15.87 5 12 5C8.13 5 5 8.13 5 12C5 14.23 6.05 16.22 7.68 17.5L8.75 16.43C7.39 15.42 6.5 13.82 6.5 12C6.5 8.97 8.97 6.5 12 6.5C15.03 6.5 17.5 8.97 17.5 12C17.5 13.82 16.61 15.42 15.25 16.43L16.33 17.5C17.95 16.22 19 14.23 19 12M6 22H18L12 16L6 22Z",Z="M6.03 12.03L8.03 15.5L5.5 18.68L2 12.62L6.03 12.03M17 18V15.29C17.88 14.9 18.5 14.03 18.5 13C18.5 12.43 18.3 11.9 17.97 11.5L19.94 10.35C20.95 9.76 21.3 8.47 20.71 7.46L19.33 5.06C18.74 4.05 17.45 3.7 16.44 4.28L8.31 9C7.36 9.53 7.03 10.75 7.58 11.71L9.08 14.31C9.63 15.26 10.86 15.59 11.81 15.04L13.69 13.96C13.94 14.55 14.41 15.03 15 15.29V18C15 19.1 15.9 20 17 20H22V18H17Z",o="M20.84 22.73L18.11 20H17C15.9 20 15 19.1 15 18V16.89L12.66 14.55L11.81 15.04C10.86 15.59 9.63 15.26 9.08 14.31L7.58 11.71C7.18 11 7.25 10.18 7.68 9.57L1.11 3L2.39 1.73L22.11 21.46L20.84 22.73M18.5 13C18.5 12.43 18.3 11.9 17.97 11.5L19.94 10.35C20.95 9.76 21.3 8.47 20.71 7.46L19.33 5.06C18.74 4.05 17.45 3.7 16.44 4.28L10.77 7.57L17.86 14.66C18.26 14.22 18.5 13.64 18.5 13M2 12.62L5.5 18.68L8.03 15.5L6.03 12.03L2 12.62Z",t="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",n="M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z",l="M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M19,19H5V5H19V19M17,17H7V7H17V17Z",c="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",u="M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",S="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z",h="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z",f="M12,8A4,4 0 0,0 8,12A4,4 0 0,0 12,16A4,4 0 0,0 16,12A4,4 0 0,0 12,8Z",O="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z",g="M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",p="M11 20H6.5Q4.22 20 2.61 18.43 1 16.85 1 14.58 1 12.63 2.17 11.1 3.35 9.57 5.25 9.15 5.88 6.85 7.75 5.43 9.63 4 12 4 14.93 4 16.96 6.04 19 8.07 19 11 20.73 11.2 21.86 12.5 23 13.78 23 15.5 23 17.38 21.69 18.69 20.38 20 18.5 20H13V12.85L14.6 14.4L16 13L12 9L8 13L9.4 14.4L11 12.85Z",P="M12,15.5A3.5,3.5 0 0,1 8.5,12A3.5,3.5 0 0,1 12,8.5A3.5,3.5 0 0,1 15.5,12A3.5,3.5 0 0,1 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.21,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.21,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.67 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z",R="M12,8A4,4 0 0,1 16,12A4,4 0 0,1 12,16A4,4 0 0,1 8,12A4,4 0 0,1 12,8M12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12A2,2 0 0,0 12,10M10,22C9.75,22 9.54,21.82 9.5,21.58L9.13,18.93C8.5,18.68 7.96,18.34 7.44,17.94L4.95,18.95C4.73,19.03 4.46,18.95 4.34,18.73L2.34,15.27C2.21,15.05 2.27,14.78 2.46,14.63L4.57,12.97L4.5,12L4.57,11L2.46,9.37C2.27,9.22 2.21,8.95 2.34,8.73L4.34,5.27C4.46,5.05 4.73,4.96 4.95,5.05L7.44,6.05C7.96,5.66 8.5,5.32 9.13,5.07L9.5,2.42C9.54,2.18 9.75,2 10,2H14C14.25,2 14.46,2.18 14.5,2.42L14.87,5.07C15.5,5.32 16.04,5.66 16.56,6.05L19.05,5.05C19.27,4.96 19.54,5.05 19.66,5.27L21.66,8.73C21.79,8.95 21.73,9.22 21.54,9.37L19.43,11L19.5,12L19.43,13L21.54,14.63C21.73,14.78 21.79,15.05 21.66,15.27L19.66,18.73C19.54,18.95 19.27,19.04 19.05,18.95L16.56,17.95C16.04,18.34 15.5,18.68 14.87,18.93L14.5,21.58C14.46,21.82 14.25,22 14,22H10M11.25,4L10.88,6.61C9.68,6.86 8.62,7.5 7.85,8.39L5.44,7.35L4.69,8.65L6.8,10.2C6.4,11.37 6.4,12.64 6.8,13.8L4.68,15.36L5.43,16.66L7.86,15.62C8.63,16.5 9.68,17.14 10.87,17.38L11.24,20H12.76L13.13,17.39C14.32,17.14 15.37,16.5 16.14,15.62L18.57,16.66L19.32,15.36L17.2,13.81C17.6,12.64 17.6,11.37 17.2,10.2L19.31,8.65L18.56,7.35L16.15,8.39C15.38,7.5 14.32,6.86 13.12,6.62L12.75,4H11.25Z",k="M20,19V7H4V19H20M20,3A2,2 0 0,1 22,5V19A2,2 0 0,1 20,21H4A2,2 0 0,1 2,19V5C2,3.89 2.9,3 4,3H20M13,17V15H18V17H13M9.58,13L5.57,9H8.4L11.7,12.3C12.09,12.69 12.09,13.33 11.7,13.72L8.42,17H5.59L9.58,13Z",w="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z",y="M20.37,8.91L19.37,10.64L7.24,3.64L8.24,1.91L11.28,3.66L12.64,3.29L16.97,5.79L17.34,7.16L20.37,8.91M6,19V7H11.07L18,11V19A2,2 0 0,1 16,21H8A2,2 0 0,1 6,19Z",B="M16,12A2,2 0 0,1 18,10A2,2 0 0,1 20,12A2,2 0 0,1 18,14A2,2 0 0,1 16,12M10,12A2,2 0 0,1 12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12M4,12A2,2 0 0,1 6,10A2,2 0 0,1 8,12A2,2 0 0,1 6,14A2,2 0 0,1 4,12Z",D="M12,16A2,2 0 0,1 14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18A2,2 0 0,1 12,16M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z",E="M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z",U="M9,3H11V5H9V3M13,3H15V5H13V3M9,7H11V9H9V7M13,7H15V9H13V7M9,11H11V13H9V11M13,11H15V13H13V11M9,15H11V17H9V15M13,15H15V17H13V15M9,19H11V21H9V19M13,19H15V21H13V19Z",x="M2,5.27L3.28,4L20,20.72L18.73,22L15.65,18.92C14.5,19.3 13.28,19.5 12,19.5C7,19.5 2.73,16.39 1,12C1.69,10.24 2.79,8.69 4.19,7.46L2,5.27M12,9A3,3 0 0,1 15,12C15,12.35 14.94,12.69 14.83,13L11,9.17C11.31,9.06 11.65,9 12,9M12,4.5C17,4.5 21.27,7.61 23,12C22.18,14.08 20.79,15.88 19,17.19L17.58,15.76C18.94,14.82 20.06,13.54 20.82,12C19.17,8.64 15.76,6.5 12,6.5C10.91,6.5 9.84,6.68 8.84,7L7.3,5.47C8.74,4.85 10.33,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C12.69,17.5 13.37,17.43 14,17.29L11.72,15C10.29,14.85 9.15,13.71 9,12.28L5.6,8.87C4.61,9.72 3.78,10.78 3.18,12Z",I="M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9M12,4.5C17,4.5 21.27,7.61 23,12C21.27,16.39 17,19.5 12,19.5C7,19.5 2.73,16.39 1,12C2.73,7.61 7,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C15.76,17.5 19.17,15.36 20.82,12C19.17,8.64 15.76,6.5 12,6.5C8.24,6.5 4.83,8.64 3.18,12Z",T="M10,12V22H8V14H6V12H10M18,14V20C18,21.11 17.11,22 16,22H14A2,2 0 0,1 12,20V14A2,2 0 0,1 14,12H16C17.11,12 18,12.9 18,14M14,14V20H16V14H14M11.5,3C14.15,3 16.55,4 18.4,5.6L21,3V10H14L16.62,7.38C15.23,6.22 13.46,5.5 11.5,5.5C7.96,5.5 4.95,7.81 3.9,11L1.53,10.22C2.92,6.03 6.85,3 11.5,3Z",z="M5,5H10V7H7V10H5V5M14,5H19V10H17V7H14V5M17,14H19V19H14V17H17V14M10,17V19H5V14H7V17H10Z",b="M14,14H19V16H16V19H14V14M5,14H10V19H8V16H5V14M8,5H10V10H5V8H8V5M19,8V10H14V5H16V8H19Z",F="M12,2A10,10 0 0,0 2,12C2,16.42 4.87,20.17 8.84,21.5C9.34,21.58 9.5,21.27 9.5,21C9.5,20.77 9.5,20.14 9.5,19.31C6.73,19.91 6.14,17.97 6.14,17.97C5.68,16.81 5.03,16.5 5.03,16.5C4.12,15.88 5.1,15.9 5.1,15.9C6.1,15.97 6.63,16.93 6.63,16.93C7.5,18.45 8.97,18 9.54,17.76C9.63,17.11 9.89,16.67 10.17,16.42C7.95,16.17 5.62,15.31 5.62,11.5C5.62,10.39 6,9.5 6.65,8.79C6.55,8.54 6.2,7.5 6.75,6.15C6.75,6.15 7.59,5.88 9.5,7.17C10.29,6.95 11.15,6.84 12,6.84C12.85,6.84 13.71,6.95 14.5,7.17C16.41,5.88 17.25,6.15 17.25,6.15C17.8,7.5 17.45,8.54 17.35,8.79C18,9.5 18.38,10.39 18.38,11.5C18.38,15.32 16.04,16.16 13.81,16.41C14.17,16.72 14.5,17.33 14.5,18.26C14.5,19.6 14.5,20.68 14.5,21C14.5,21.27 14.66,21.59 15.17,21.5C19.14,20.16 22,16.42 22,12A10,10 0 0,0 12,2Z",G="M4,2H20A2,2 0 0,1 22,4V20A2,2 0 0,1 20,22H4C2.92,22 2,21.1 2,20V4A2,2 0 0,1 4,2M4,4V11H11V4H4M4,20H11V13H4V20M20,20V13H13V20H20M20,4H13V11H20V4Z",W="M22,16V4A2,2 0 0,0 20,2H8A2,2 0 0,0 6,4V16A2,2 0 0,0 8,18H20A2,2 0 0,0 22,16M11,12L13.03,14.71L16,11L20,16H8M2,6V20A2,2 0 0,0 4,22H18V20H4V6",N="M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",j="M22 12L18 8V11H10V13H18V16M20 18A10 10 0 1 1 20 6H17.27A8 8 0 1 0 17.27 18Z",q="M12,17A2,2 0 0,0 14,15C14,13.89 13.1,13 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V10C4,8.89 4.9,8 6,8H7V6A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,3A3,3 0 0,0 9,6V8H15V6A3,3 0 0,0 12,3Z",Q="M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V10A2,2 0 0,1 6,8H15V6A3,3 0 0,0 12,3A3,3 0 0,0 9,6H7A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,17A2,2 0 0,0 14,15A2,2 0 0,0 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17Z",J="M17 7L15.59 8.41L18.17 11H8V13H18.17L15.59 15.58L17 17L22 12M4 5H12V3H4C2.9 3 2 3.9 2 5V19C2 20.1 2.9 21 4 21H12V19H4V5Z",K="M15.5,14H14.71L14.43,13.73C15.41,12.59 16,11.11 16,9.5A6.5,6.5 0 0,0 9.5,3A6.5,6.5 0 0,0 3,9.5A6.5,6.5 0 0,0 9.5,16C11.11,16 12.59,15.41 13.73,14.43L14,14.71V15.5L19,20.5L20.5,19L15.5,14M9.5,14C7,14 5,12 5,9.5C5,7 7,5 9.5,5C12,5 14,7 14,9.5C14,12 12,14 9.5,14M7,9H12V10H7V9Z",X="M15.5,14L20.5,19L19,20.5L14,15.5V14.71L13.73,14.43C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.43,13.73L14.71,14H15.5M9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14M12,10H10V12H9V10H7V9H9V7H10V9H12V10Z",Y="M12,2A3,3 0 0,1 15,5V11A3,3 0 0,1 12,14A3,3 0 0,1 9,11V5A3,3 0 0,1 12,2M19,11C19,14.53 16.39,17.44 13,17.93V21H11V17.93C7.61,17.44 5,14.53 5,11H7A5,5 0 0,0 12,16A5,5 0 0,0 17,11H19Z",_="M19,11C19,12.19 18.66,13.3 18.1,14.28L16.87,13.05C17.14,12.43 17.3,11.74 17.3,11H19M15,11.16L9,5.18V5A3,3 0 0,1 12,2A3,3 0 0,1 15,5V11L15,11.16M4.27,3L21,19.73L19.73,21L15.54,16.81C14.77,17.27 13.91,17.58 13,17.72V21H11V17.72C7.72,17.23 5,14.41 5,11H6.7C6.7,14 9.24,16.1 12,16.1C12.81,16.1 13.6,15.91 14.31,15.58L12.65,13.92L12,14A3,3 0 0,1 9,11V10.28L3,4.27L4.27,3Z",$="M19,13H5V11H19V13Z",H1="M21,16V4H3V16H21M21,2A2,2 0 0,1 23,4V16A2,2 0 0,1 21,18H14V20H16V22H8V20H10V18H3C1.89,18 1,17.1 1,16V4C1,2.89 1.89,2 3,2H21M5,6H14V11H5V6M15,6H19V8H15V6M19,9V14H15V9H19M5,12H9V14H5V12M10,12H14V14H10V12Z",V1="M2 12A10 10 0 0 0 15 21.54A10 10 0 0 1 15 2.46A10 10 0 0 0 2 12Z",L1="M21 10V9L15 3H5C3.89 3 3 3.89 3 5V19C3 20.11 3.9 21 5 21H11V19.13L19.39 10.74C19.83 10.3 20.39 10.06 21 10M14 4.5L19.5 10H14V4.5M22.85 14.19L21.87 15.17L19.83 13.13L20.81 12.15C21 11.95 21.33 11.95 21.53 12.15L22.85 13.47C23.05 13.67 23.05 14 22.85 14.19M19.13 13.83L21.17 15.87L15.04 22H13V19.96L19.13 13.83Z",C1="M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z",M1="M14,19H18V5H14M6,19H10V5H6V19Z",a1="M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z",A1="M3 17.25V21H6.75L17.81 9.93L14.06 6.18L3 17.25M22.61 18.36L18.36 22.61L13.16 17.41L14.93 15.64L15.93 16.64L18.4 14.16L19.82 15.58L18.36 17L19.42 18L20.84 16.6L22.61 18.36M6.61 10.83L1.39 5.64L5.64 1.39L7.4 3.16L4.93 5.64L6 6.7L8.46 4.22L9.88 5.64L8.46 7.05L9.46 8.05L6.61 10.83M20.71 7C21.1 6.61 21.1 6 20.71 5.59L18.37 3.29C18 2.9 17.35 2.9 16.96 3.29L15.12 5.12L18.87 8.87L20.71 7Z",i1="M19,11H11V17H19V11M23,19V5C23,3.88 22.1,3 21,3H3A2,2 0 0,0 1,5V19A2,2 0 0,0 3,21H21A2,2 0 0,0 23,19M21,19H3V4.97H21V19Z",r1="M8,5.14V19.14L19,12.14L8,5.14Z",s1="M10,16.5V7.5L16,12M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",d1="M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z",e1="M17,13H13V17H11V13H7V11H11V7H13V11H17M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",m1="M16.56,5.44L15.11,6.89C16.84,7.94 18,9.83 18,12A6,6 0 0,1 12,18A6,6 0 0,1 6,12C6,9.83 7.16,7.94 8.88,6.88L7.44,5.44C5.36,6.88 4,9.28 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12C20,9.28 18.64,6.88 16.56,5.44M13,3H11V13H13",v1="M20.5,11H19V7C19,5.89 18.1,5 17,5H13V3.5A2.5,2.5 0 0,0 10.5,1A2.5,2.5 0 0,0 8,3.5V5H4A2,2 0 0,0 2,7V10.8H3.5C5,10.8 6.2,12 6.2,13.5C6.2,15 5,16.2 3.5,16.2H2V20A2,2 0 0,0 4,22H7.8V20.5C7.8,19 9,17.8 10.5,17.8C12,17.8 13.2,19 13.2,20.5V22H17A2,2 0 0,0 19,20V16H20.5A2.5,2.5 0 0,0 23,13.5A2.5,2.5 0 0,0 20.5,11Z",Z1="M4,6V19H20V6H4Z",o1="M4,6V19H20V6H4M18,17H6V8H18V17Z",t1="M2 12C2 16.97 6.03 21 11 21C13.39 21 15.68 20.06 17.4 18.4L15.9 16.9C14.63 18.25 12.86 19 11 19C4.76 19 1.64 11.46 6.05 7.05C10.46 2.64 18 5.77 18 12H15L19 16H19.1L23 12H20C20 7.03 15.97 3 11 3C6.03 3 2 7.03 2 12Z",n1="M12,4C14.1,4 16.1,4.8 17.6,6.3C20.7,9.4 20.7,14.5 17.6,17.6C15.8,19.5 13.3,20.2 10.9,19.9L11.4,17.9C13.1,18.1 14.9,17.5 16.2,16.2C18.5,13.9 18.5,10.1 16.2,7.7C15.1,6.6 13.5,6 12,6V10.6L7,5.6L12,0.6V4M6.3,17.6C3.7,15 3.3,11 5.1,7.9L6.6,9.4C5.5,11.6 5.9,14.4 7.8,16.2C8.3,16.7 8.9,17.1 9.6,17.4L9,19.4C8,19 7.1,18.4 6.3,17.6Z",l1="M12.5,3C17.15,3 21.08,6.03 22.47,10.22L20.1,11C19.05,7.81 16.04,5.5 12.5,5.5C10.54,5.5 8.77,6.22 7.38,7.38L10,10H3V3L5.6,5.6C7.45,4 9.85,3 12.5,3M10,12V22H8V14H6V12H10M18,14V20C18,21.11 17.11,22 16,22H14A2,2 0 0,1 12,20V14A2,2 0 0,1 14,12H16C17.11,12 18,12.9 18,14M14,14V20H16V14H14Z",c1="M18 16.08C17.24 16.08 16.56 16.38 16.04 16.85L8.91 12.7C8.96 12.47 9 12.24 9 12S8.96 11.53 8.91 11.3L15.96 7.19C16.5 7.69 17.21 8 18 8C19.66 8 21 6.66 21 5S19.66 2 18 2 15 3.34 15 5C15 5.24 15.04 5.47 15.09 5.7L8.04 9.81C7.5 9.31 6.79 9 6 9C4.34 9 3 10.34 3 12S4.34 15 6 15C6.79 15 7.5 14.69 8.04 14.19L15.16 18.34C15.11 18.55 15.08 18.77 15.08 19C15.08 20.61 16.39 21.91 18 21.91S20.92 20.61 20.92 19C20.92 17.39 19.61 16.08 18 16.08M18 4C18.55 4 19 4.45 19 5S18.55 6 18 6 17 5.55 17 5 17.45 4 18 4M6 13C5.45 13 5 12.55 5 12S5.45 11 6 11 7 11.45 7 12 6.55 13 6 13M18 20C17.45 20 17 19.55 17 19S17.45 18 18 18 19 18.45 19 19 18.55 20 18 20Z",u1="M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M9,9H15V15H9",S1="M20 2H4C2.9 2 2 2.9 2 4V16C2 17.11 2.9 18 4 18H8L12 22L16 18H20C21.11 18 22 17.11 22 16V4C22 2.9 21.11 2 20 2M10.46 14L6.96 10.5L8.37 9.08L10.46 11.17L15.64 6L17.05 7.41L10.46 14Z",h1="M4,2H20A2,2 0 0,1 22,4V16A2,2 0 0,1 20,18H16L12,22L8,18H4A2,2 0 0,1 2,16V4A2,2 0 0,1 4,2M11,6V9H8V11H11V14H13V11H16V9H13V6H11Z",f1="M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M9,8H11V17H9V8M13,8H15V17H13V8Z",O1="M3,17V19H9V17H3M3,5V7H13V5H3M13,21V19H21V17H13V15H11V21H13M7,9V11H3V13H7V15H9V9H7M21,13V11H11V13H21M15,9H17V7H21V5H17V3H15V9Z",g1="M8 13C6.14 13 4.59 14.28 4.14 16H2V18H4.14C4.59 19.72 6.14 21 8 21S11.41 19.72 11.86 18H22V16H11.86C11.41 14.28 9.86 13 8 13M8 19C6.9 19 6 18.1 6 17C6 15.9 6.9 15 8 15S10 15.9 10 17C10 18.1 9.1 19 8 19M19.86 6C19.41 4.28 17.86 3 16 3S12.59 4.28 12.14 6H2V8H12.14C12.59 9.72 14.14 11 16 11S19.41 9.72 19.86 8H22V6H19.86M16 9C14.9 9 14 8.1 14 7C14 5.9 14.9 5 16 5S18 5.9 18 7C18 8.1 17.1 9 16 9Z",p1="M12.5,8C9.85,8 7.45,9 5.6,10.6L2,7V16H11L7.38,12.38C8.77,11.22 10.54,10.5 12.5,10.5C16.04,10.5 19.05,12.81 20.1,16L22.47,15.22C21.08,11.03 17.15,8 12.5,8Z",P1="M5.41,7.41L10,12L5.41,16.59L4,15.17L7.17,12L4,8.83L5.41,7.41M18.59,16.59L14,12L18.59,7.42L20,8.83L16.83,12L20,15.17L18.59,16.59Z",R1="M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z",k1="M21,10.12H14.22L16.96,7.3C14.23,4.6 9.81,4.5 7.08,7.2C4.35,9.91 4.35,14.28 7.08,17C9.81,19.7 14.23,19.7 16.96,17C18.32,15.65 19,14.08 19,12.1H21C21,14.08 20.12,16.65 18.36,18.39C14.85,21.87 9.15,21.87 5.64,18.39C2.14,14.92 2.11,9.28 5.62,5.81C9.13,2.34 14.76,2.34 18.27,5.81L21,3V10.12M12.5,8V12.25L16,14.33L15.28,15.54L11,13V8H12.5Z",w1="M3.14,1A2.14,2.14 0 0,0 1,3.14V5H3V3H5V1H3.14M7,1V3H10V1H7M12,1V3H14V5H16V3.14C16,1.96 15.04,1 13.86,1H12M1,7V10H3V7H1M9,7C7.89,7 7,7.89 7,9C7,11.33 7,16 7,16C7,16 11.57,16 13.86,16A2.14,2.14 0 0,0 16,13.86C16,11.57 16,7 16,7C16,7 11.33,7 9,7M18,7V9H20V11H22V9C22,7.89 21.11,7 20,7H18M9,9H14V14H9V9M1,12V13.86C1,15.04 1.96,16 3.14,16H5V14H3V12H1M20,13V16H22V13H20M7,18V20C7,21.11 7.89,22 9,22H11V20H9V18H7M20,18V20H18V22H20C21.11,22 22,21.11 22,20V18H20M13,20V22H16V20H13Z",y1="M2,4H8V6H16V4H22V10H20V14H22V20H16V18H8V20H2V14H4V10H2V4M16,10V8H8V10H6V14H8V16H16V14H18V10H16M4,6V8H6V6H4M18,6V8H20V6H18M4,16V18H6V16H4M18,16V18H20V16H18Z",B1="M13 3V11H21V3H13M3 21H11V13H3V21M3 3V11H11V3H3M13 16H16V13H18V16H21V18H18V21H16V18H13V16Z",D1="M14,3.23V5.29C16.89,6.15 19,8.83 19,12C19,15.17 16.89,17.84 14,18.7V20.77C18,19.86 21,16.28 21,12C21,7.72 18,4.14 14,3.23M16.5,12C16.5,10.23 15.5,8.71 14,7.97V16C15.5,15.29 16.5,13.76 16.5,12M3,9V15H7L12,20V4L7,9H3Z",E1="M12,4L9.91,6.09L12,8.18M4.27,3L3,4.27L7.73,9H3V15H7L12,20V13.27L16.25,17.53C15.58,18.04 14.83,18.46 14,18.7V20.77C15.38,20.45 16.63,19.82 17.68,18.96L19.73,21L21,19.73L12,10.73M19,12C19,12.94 18.8,13.82 18.46,14.64L19.97,16.15C20.62,14.91 21,13.5 21,12C21,7.72 18,4.14 14,3.23V5.29C16.89,6.15 19,8.83 19,12M16.5,12C16.5,10.23 15.5,8.71 14,7.97V10.18L16.45,12.63C16.5,12.43 16.5,12.21 16.5,12Z",U1="M3.55 19.09L4.96 20.5L6.76 18.71L5.34 17.29M12 6C8.69 6 6 8.69 6 12S8.69 18 12 18 18 15.31 18 12C18 8.68 15.31 6 12 6M20 13H23V11H20M17.24 18.71L19.04 20.5L20.45 19.09L18.66 17.29M20.45 5L19.04 3.6L17.24 5.39L18.66 6.81M13 1H11V4H13M6.76 5.39L4.96 3.6L3.55 5L5.34 6.81L6.76 5.39M1 13H4V11H1M13 20H11V23H13",x1="M2.28,3L1,4.27L2.47,5.74C2.04,6 1.61,6.29 1.2,6.6L3,9C3.53,8.6 4.08,8.25 4.66,7.93L6.89,10.16C6.15,10.5 5.44,10.91 4.8,11.4L6.6,13.8C7.38,13.22 8.26,12.77 9.2,12.47L11.75,15C10.5,15.07 9.34,15.5 8.4,16.2L12,21L14.46,17.73L17.74,21L19,19.72M12,3C9.85,3 7.8,3.38 5.9,4.07L8.29,6.47C9.5,6.16 10.72,6 12,6C15.38,6 18.5,7.11 21,9L22.8,6.6C19.79,4.34 16.06,3 12,3M12,9C11.62,9 11.25,9 10.88,9.05L14.07,12.25C15.29,12.53 16.43,13.07 17.4,13.8L19.2,11.4C17.2,9.89 14.7,9 12,9Z";export{D as $,R1 as A,x1 as B,u as C,c1 as D,h as E,c as F,S as G,K as H,X as I,Y as J,U as K,n as L,d1 as M,q as N,Q as O,E1 as P,D1 as Q,b as R,z as S,w as T,a1 as U,m as V,B1 as W,N as X,g as Y,s as Z,t as _,x as a,E as a0,y as a1,f1 as a2,p1 as a3,e as a4,o as a5,Z1 as a6,o1 as a7,w1 as a8,l as a9,p as aA,R as aa,g1 as ab,C1 as ac,f as ad,d as ae,r as af,H as ag,y1 as ah,S1 as ai,h1 as aj,l1 as ak,M1 as al,r1 as am,T as an,_ as ao,v as ap,M as aq,i1 as ar,a as as,n1 as at,B as au,k1 as av,s1 as aw,u1 as ax,j as ay,L as az,F as b,Z as c,G as d,e1 as e,W as f,L1 as g,k as h,v1 as i,H1 as j,P as k,V as l,I as m,A1 as n,C as o,A as p,O1 as q,m1 as r,O as s,i as t,V1 as u,U1 as v,t1 as w,J as x,$ as y,P1 as z};
|
package/dist/interface/{@tanstack.BPW2rCwU.0.0.31-alpha.8.js → @tanstack.Btgptvlr.0.0.31-alpha.9.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
var he=s=>{throw TypeError(s)};var Gt=(s,t,e)=>t.has(s)||he("Cannot "+e);var r=(s,t,e)=>(Gt(s,t,"read from private field"),e?e.call(s):t.get(s)),l=(s,t,e)=>t.has(s)?he("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(s):t.set(s,e),h=(s,t,e,i)=>(Gt(s,t,"write to private field"),i?i.call(s,e):t.set(s,e),e),p=(s,t,e)=>(Gt(s,t,"access private method"),e);var Kt=(s,t,e,i)=>({set _(n){h(s,t,n,e)},get _(){return r(s,t,i)}});import{i as De,u as ze,h as Ye,a as Je,r as Xe,n as Ze,c as Ee,s as Me,w as mt,o as Ae,t as Ue}from"./@vue.FH56CEei.0.0.31-alpha.8.js";var At=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(s){return this.listeners.add(s),this.onSubscribe(),()=>{this.listeners.delete(s),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},yt=typeof window>"u"||"Deno"in globalThis;function L(){}function ts(s,t){return typeof s=="function"?s(t):s}function $t(s){return typeof s=="number"&&s>=0&&s!==1/0}function qe(s,t){return Math.max(s+(t||0)-Date.now(),0)}function vt(s,t){return typeof s=="function"?s(t):s}function N(s,t){return typeof s=="function"?s(t):s}function ce(s,t){const{type:e="all",exact:i,fetchStatus:n,predicate:a,queryKey:o,stale:u}=s;if(o){if(i){if(t.queryHash!==ae(o,t.options))return!1}else if(!qt(t.queryKey,o))return!1}if(e!=="all"){const y=t.isActive();if(e==="active"&&!y||e==="inactive"&&y)return!1}return!(typeof u=="boolean"&&t.isStale()!==u||n&&n!==t.state.fetchStatus||a&&!a(t))}function le(s,t){const{exact:e,status:i,predicate:n,mutationKey:a}=s;if(a){if(!t.options.mutationKey)return!1;if(e){if(pt(t.options.mutationKey)!==pt(a))return!1}else if(!qt(t.options.mutationKey,a))return!1}return!(i&&t.state.status!==i||n&&!n(t))}function ae(s,t){return((t==null?void 0:t.queryKeyHashFn)||pt)(s)}function pt(s){return JSON.stringify(s,(t,e)=>Bt(e)?Object.keys(e).sort().reduce((i,n)=>(i[n]=e[n],i),{}):e)}function qt(s,t){return s===t?!0:typeof s!=typeof t?!1:s&&t&&typeof s=="object"&&typeof t=="object"?!Object.keys(t).some(e=>!qt(s[e],t[e])):!1}function Ie(s,t){if(s===t)return s;const e=fe(s)&&fe(t);if(e||Bt(s)&&Bt(t)){const i=e?s:Object.keys(s),n=i.length,a=e?t:Object.keys(t),o=a.length,u=e?[]:{};let y=0;for(let S=0;S<o;S++){const f=e?S:a[S];(!e&&i.includes(f)||e)&&s[f]===void 0&&t[f]===void 0?(u[f]=void 0,y++):(u[f]=Ie(s[f],t[f]),u[f]===s[f]&&s[f]!==void 0&&y++)}return n===o&&y===n?s:u}return t}function Ht(s,t){if(!t||Object.keys(s).length!==Object.keys(t).length)return!1;for(const e in s)if(s[e]!==t[e])return!1;return!0}function fe(s){return Array.isArray(s)&&s.length===Object.keys(s).length}function Bt(s){if(!de(s))return!1;const t=s.constructor;if(t===void 0)return!0;const e=t.prototype;return!(!de(e)||!e.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(s)!==Object.prototype)}function de(s){return Object.prototype.toString.call(s)==="[object Object]"}function es(s){return new Promise(t=>{setTimeout(t,s)})}function Vt(s,t,e){return typeof e.structuralSharing=="function"?e.structuralSharing(s,t):e.structuralSharing!==!1?Ie(s,t):t}function ss(s,t,e=0){const i=[...s,t];return e&&i.length>e?i.slice(1):i}function is(s,t,e=0){const i=[t,...s];return e&&i.length>e?i.slice(0,-1):i}var Te=Symbol();function je(s,t){return!s.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!s.queryFn||s.queryFn===Te?()=>Promise.reject(new Error(`Missing queryFn: '${s.queryHash}'`)):s.queryFn}var ut,Z,bt,be,rs=(be=class extends At{constructor(){super();l(this,ut);l(this,Z);l(this,bt);h(this,bt,t=>{if(!yt&&window.addEventListener){const e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}})}onSubscribe(){r(this,Z)||this.setEventListener(r(this,bt))}onUnsubscribe(){var t;this.hasListeners()||((t=r(this,Z))==null||t.call(this),h(this,Z,void 0))}setEventListener(t){var e;h(this,bt,t),(e=r(this,Z))==null||e.call(this),h(this,Z,t(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()}))}setFocused(t){r(this,ut)!==t&&(h(this,ut,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(e=>{e(t)})}isFocused(){var t;return typeof r(this,ut)=="boolean"?r(this,ut):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},ut=new WeakMap,Z=new WeakMap,bt=new WeakMap,be),ue=new rs,gt,tt,Ot,ge,ns=(ge=class extends At{constructor(){super();l(this,gt,!0);l(this,tt);l(this,Ot);h(this,Ot,t=>{if(!yt&&window.addEventListener){const e=()=>t(!0),i=()=>t(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",i)}}})}onSubscribe(){r(this,tt)||this.setEventListener(r(this,Ot))}onUnsubscribe(){var t;this.hasListeners()||((t=r(this,tt))==null||t.call(this),h(this,tt,void 0))}setEventListener(t){var e;h(this,Ot,t),(e=r(this,tt))==null||e.call(this),h(this,tt,t(this.setOnline.bind(this)))}setOnline(t){r(this,gt)!==t&&(h(this,gt,t),this.listeners.forEach(i=>{i(t)}))}isOnline(){return r(this,gt)}},gt=new WeakMap,tt=new WeakMap,Ot=new WeakMap,ge),Nt=new ns;function as(s){return Math.min(1e3*2**s,3e4)}function xe(s){return(s??"online")==="online"?Nt.isOnline():!0}var Ke=class extends Error{constructor(s){super("CancelledError"),this.revert=s==null?void 0:s.revert,this.silent=s==null?void 0:s.silent}};function _t(s){return s instanceof Ke}function Le(s){let t=!1,e=0,i=!1,n,a,o;const u=new Promise((O,w)=>{a=O,o=w}),y=O=>{var w;i||(P(new Ke(O)),(w=s.abort)==null||w.call(s))},S=()=>{t=!0},f=()=>{t=!1},c=()=>ue.isFocused()&&(s.networkMode==="always"||Nt.isOnline())&&s.canRun(),g=()=>xe(s.networkMode)&&s.canRun(),d=O=>{var w;i||(i=!0,(w=s.onSuccess)==null||w.call(s,O),n==null||n(),a(O))},P=O=>{var w;i||(i=!0,(w=s.onError)==null||w.call(s,O),n==null||n(),o(O))},R=()=>new Promise(O=>{var w;n=Q=>{(i||c())&&O(Q)},(w=s.onPause)==null||w.call(s)}).then(()=>{var O;n=void 0,i||(O=s.onContinue)==null||O.call(s)}),F=()=>{if(i)return;let O;const w=e===0?s.initialPromise:void 0;try{O=w??s.fn()}catch(Q){O=Promise.reject(Q)}Promise.resolve(O).then(d).catch(Q=>{var b;if(i)return;const E=s.retry??(yt?0:3),U=s.retryDelay??as,G=typeof U=="function"?U(e,Q):U,W=E===!0||typeof E=="number"&&e<E||typeof E=="function"&&E(e,Q);if(t||!W){P(Q);return}e++,(b=s.onFail)==null||b.call(s,e,Q),es(G).then(()=>c()?void 0:R()).then(()=>{t?P(Q):F()})})};return{promise:u,cancel:y,continue:()=>(n==null||n(),u),cancelRetry:S,continueRetry:f,canStart:g,start:()=>(g()?F():R().then(F),u)}}function us(){let s=[],t=0,e=u=>{u()},i=u=>{u()},n=u=>setTimeout(u,0);const a=u=>{t?s.push(u):n(()=>{e(u)})},o=()=>{const u=s;s=[],u.length&&n(()=>{i(()=>{u.forEach(y=>{e(y)})})})};return{batch:u=>{let y;t++;try{y=u()}finally{t--,t||o()}return y},batchCalls:u=>(...y)=>{a(()=>{u(...y)})},schedule:a,setNotifyFunction:u=>{e=u},setBatchNotifyFunction:u=>{i=u},setScheduler:u=>{n=u}}}var M=us(),ot,Oe,ke=(Oe=class{constructor(){l(this,ot)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),$t(this.gcTime)&&h(this,ot,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(s){this.gcTime=Math.max(this.gcTime||0,s??(yt?1/0:5*60*1e3))}clearGcTimeout(){r(this,ot)&&(clearTimeout(r(this,ot)),h(this,ot,void 0))}},ot=new WeakMap,Oe),Ct,wt,K,A,It,ht,H,z,Ce,os=(Ce=class extends ke{constructor(t){super();l(this,H);l(this,Ct);l(this,wt);l(this,K);l(this,A);l(this,It);l(this,ht);h(this,ht,!1),h(this,It,t.defaultOptions),this.setOptions(t.options),this.observers=[],h(this,K,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,h(this,Ct,hs(this.options)),this.state=t.state??r(this,Ct),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=r(this,A))==null?void 0:t.promise}setOptions(t){this.options={...r(this,It),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&r(this,K).remove(this)}setData(t,e){const i=Vt(this.state.data,t,this.options);return p(this,H,z).call(this,{data:i,type:"success",dataUpdatedAt:e==null?void 0:e.updatedAt,manual:e==null?void 0:e.manual}),i}setState(t,e){p(this,H,z).call(this,{type:"setState",state:t,setStateOptions:e})}cancel(t){var i,n;const e=(i=r(this,A))==null?void 0:i.promise;return(n=r(this,A))==null||n.cancel(t),e?e.then(L).catch(L):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(r(this,Ct))}isActive(){return this.observers.some(t=>N(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!qe(this.state.dataUpdatedAt,t)}onFocus(){var e;const t=this.observers.find(i=>i.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(e=r(this,A))==null||e.continue()}onOnline(){var e;const t=this.observers.find(i=>i.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(e=r(this,A))==null||e.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),r(this,K).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(e=>e!==t),this.observers.length||(r(this,A)&&(r(this,ht)?r(this,A).cancel({revert:!0}):r(this,A).cancelRetry()),this.scheduleGc()),r(this,K).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||p(this,H,z).call(this,{type:"invalidate"})}fetch(t,e){var y,S,f;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(e!=null&&e.cancelRefetch))this.cancel({silent:!0});else if(r(this,A))return r(this,A).continueRetry(),r(this,A).promise}if(t&&this.setOptions(t),!this.options.queryFn){const c=this.observers.find(g=>g.options.queryFn);c&&this.setOptions(c.options)}const i=new AbortController,n=c=>{Object.defineProperty(c,"signal",{enumerable:!0,get:()=>(h(this,ht,!0),i.signal)})},a=()=>{const c=je(this.options,e),g={queryKey:this.queryKey,meta:this.meta};return n(g),h(this,ht,!1),this.options.persister?this.options.persister(c,g,this):c(g)},o={fetchOptions:e,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:a};n(o),(y=this.options.behavior)==null||y.onFetch(o,this),h(this,wt,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((S=o.fetchOptions)==null?void 0:S.meta))&&p(this,H,z).call(this,{type:"fetch",meta:(f=o.fetchOptions)==null?void 0:f.meta});const u=c=>{var g,d,P,R;_t(c)&&c.silent||p(this,H,z).call(this,{type:"error",error:c}),_t(c)||((d=(g=r(this,K).config).onError)==null||d.call(g,c,this),(R=(P=r(this,K).config).onSettled)==null||R.call(P,this.state.data,c,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return h(this,A,Le({initialPromise:e==null?void 0:e.initialPromise,fn:o.fetchFn,abort:i.abort.bind(i),onSuccess:c=>{var g,d,P,R;if(c===void 0){u(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(c)}catch(F){u(F);return}(d=(g=r(this,K).config).onSuccess)==null||d.call(g,c,this),(R=(P=r(this,K).config).onSettled)==null||R.call(P,c,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:u,onFail:(c,g)=>{p(this,H,z).call(this,{type:"failed",failureCount:c,error:g})},onPause:()=>{p(this,H,z).call(this,{type:"pause"})},onContinue:()=>{p(this,H,z).call(this,{type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0})),r(this,A).start()}},Ct=new WeakMap,wt=new WeakMap,K=new WeakMap,A=new WeakMap,It=new WeakMap,ht=new WeakMap,H=new WeakSet,z=function(t){const e=i=>{switch(t.type){case"failed":return{...i,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...i,fetchStatus:"paused"};case"continue":return{...i,fetchStatus:"fetching"};case"fetch":return{...i,...He(i.data,this.options),fetchMeta:t.meta??null};case"success":return{...i,data:t.data,dataUpdateCount:i.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const n=t.error;return _t(n)&&n.revert&&r(this,wt)?{...r(this,wt),fetchStatus:"idle"}:{...i,error:n,errorUpdateCount:i.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:i.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:"idle",status:"error"};case"invalidate":return{...i,isInvalidated:!0};case"setState":return{...i,...t.state}}};this.state=e(this.state),M.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),r(this,K).notify({query:this,type:"updated",action:t})})},Ce);function He(s,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:xe(t.networkMode)?"fetching":"paused",...s===void 0&&{error:null,status:"pending"}}}function hs(s){const t=typeof s.initialData=="function"?s.initialData():s.initialData,e=t!==void 0,i=e?typeof s.initialDataUpdatedAt=="function"?s.initialDataUpdatedAt():s.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:e?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:e?"success":"pending",fetchStatus:"idle"}}var _,we,Ne=(we=class extends At{constructor(e={}){super();l(this,_);this.config=e,h(this,_,new Map)}build(e,i,n){const a=i.queryKey,o=i.queryHash??ae(a,i);let u=this.get(o);return u||(u=new os({cache:this,queryKey:a,queryHash:o,options:e.defaultQueryOptions(i),state:n,defaultOptions:e.getQueryDefaults(a)}),this.add(u)),u}add(e){r(this,_).has(e.queryHash)||(r(this,_).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const i=r(this,_).get(e.queryHash);i&&(e.destroy(),i===e&&r(this,_).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){M.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return r(this,_).get(e)}getAll(){return[...r(this,_).values()]}find(e){const i={exact:!0,...e};return this.getAll().find(n=>ce(i,n))}findAll(e={}){const i=this.getAll();return Object.keys(e).length>0?i.filter(n=>ce(e,n)):i}notify(e){M.batch(()=>{this.listeners.forEach(i=>{i(e)})})}onFocus(){M.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){M.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},_=new WeakMap,we),$,q,ct,B,X,Qe,cs=(Qe=class extends ke{constructor(t){super();l(this,B);l(this,$);l(this,q);l(this,ct);this.mutationId=t.mutationId,h(this,q,t.mutationCache),h(this,$,[]),this.state=t.state||Ge(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){r(this,$).includes(t)||(r(this,$).push(t),this.clearGcTimeout(),r(this,q).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){h(this,$,r(this,$).filter(e=>e!==t)),this.scheduleGc(),r(this,q).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){r(this,$).length||(this.state.status==="pending"?this.scheduleGc():r(this,q).remove(this))}continue(){var t;return((t=r(this,ct))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var n,a,o,u,y,S,f,c,g,d,P,R,F,O,w,Q,E,U,G,W;h(this,ct,Le({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(b,k)=>{p(this,B,X).call(this,{type:"failed",failureCount:b,error:k})},onPause:()=>{p(this,B,X).call(this,{type:"pause"})},onContinue:()=>{p(this,B,X).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>r(this,q).canRun(this)}));const e=this.state.status==="pending",i=!r(this,ct).canStart();try{if(!e){p(this,B,X).call(this,{type:"pending",variables:t,isPaused:i}),await((a=(n=r(this,q).config).onMutate)==null?void 0:a.call(n,t,this));const k=await((u=(o=this.options).onMutate)==null?void 0:u.call(o,t));k!==this.state.context&&p(this,B,X).call(this,{type:"pending",context:k,variables:t,isPaused:i})}const b=await r(this,ct).start();return await((S=(y=r(this,q).config).onSuccess)==null?void 0:S.call(y,b,t,this.state.context,this)),await((c=(f=this.options).onSuccess)==null?void 0:c.call(f,b,t,this.state.context)),await((d=(g=r(this,q).config).onSettled)==null?void 0:d.call(g,b,null,this.state.variables,this.state.context,this)),await((R=(P=this.options).onSettled)==null?void 0:R.call(P,b,null,t,this.state.context)),p(this,B,X).call(this,{type:"success",data:b}),b}catch(b){try{throw await((O=(F=r(this,q).config).onError)==null?void 0:O.call(F,b,t,this.state.context,this)),await((Q=(w=this.options).onError)==null?void 0:Q.call(w,b,t,this.state.context)),await((U=(E=r(this,q).config).onSettled)==null?void 0:U.call(E,void 0,b,this.state.variables,this.state.context,this)),await((W=(G=this.options).onSettled)==null?void 0:W.call(G,void 0,b,t,this.state.context)),b}finally{p(this,B,X).call(this,{type:"error",error:b})}}finally{r(this,q).runNext(this)}}},$=new WeakMap,q=new WeakMap,ct=new WeakMap,B=new WeakSet,X=function(t){const e=i=>{switch(t.type){case"failed":return{...i,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...i,isPaused:!0};case"continue":return{...i,isPaused:!1};case"pending":return{...i,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...i,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...i,data:void 0,error:t.error,failureCount:i.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=e(this.state),M.batch(()=>{r(this,$).forEach(i=>{i.onMutationUpdate(t)}),r(this,q).notify({mutation:this,type:"updated",action:t})})},Qe);function Ge(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var x,Tt,Se,_e=(Se=class extends At{constructor(e={}){super();l(this,x);l(this,Tt);this.config=e,h(this,x,new Map),h(this,Tt,Date.now())}build(e,i,n){const a=new cs({mutationCache:this,mutationId:++Kt(this,Tt)._,options:e.defaultMutationOptions(i),state:n});return this.add(a),a}add(e){const i=Lt(e),n=r(this,x).get(i)??[];n.push(e),r(this,x).set(i,n),this.notify({type:"added",mutation:e})}remove(e){var n;const i=Lt(e);if(r(this,x).has(i)){const a=(n=r(this,x).get(i))==null?void 0:n.filter(o=>o!==e);a&&(a.length===0?r(this,x).delete(i):r(this,x).set(i,a))}this.notify({type:"removed",mutation:e})}canRun(e){var n;const i=(n=r(this,x).get(Lt(e)))==null?void 0:n.find(a=>a.state.status==="pending");return!i||i===e}runNext(e){var n;const i=(n=r(this,x).get(Lt(e)))==null?void 0:n.find(a=>a!==e&&a.state.isPaused);return(i==null?void 0:i.continue())??Promise.resolve()}clear(){M.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}getAll(){return[...r(this,x).values()].flat()}find(e){const i={exact:!0,...e};return this.getAll().find(n=>le(i,n))}findAll(e={}){return this.getAll().filter(i=>le(e,i))}notify(e){M.batch(()=>{this.listeners.forEach(i=>{i(e)})})}resumePausedMutations(){const e=this.getAll().filter(i=>i.state.isPaused);return M.batch(()=>Promise.all(e.map(i=>i.continue().catch(L))))}},x=new WeakMap,Tt=new WeakMap,Se);function Lt(s){var t;return((t=s.options.scope)==null?void 0:t.id)??String(s.mutationId)}function ye(s){return{onFetch:(t,e)=>{var f,c,g,d,P;const i=t.options,n=(g=(c=(f=t.fetchOptions)==null?void 0:f.meta)==null?void 0:c.fetchMore)==null?void 0:g.direction,a=((d=t.state.data)==null?void 0:d.pages)||[],o=((P=t.state.data)==null?void 0:P.pageParams)||[];let u={pages:[],pageParams:[]},y=0;const S=async()=>{let R=!1;const F=Q=>{Object.defineProperty(Q,"signal",{enumerable:!0,get:()=>(t.signal.aborted?R=!0:t.signal.addEventListener("abort",()=>{R=!0}),t.signal)})},O=je(t.options,t.fetchOptions),w=async(Q,E,U)=>{if(R)return Promise.reject();if(E==null&&Q.pages.length)return Promise.resolve(Q);const G={queryKey:t.queryKey,pageParam:E,direction:U?"backward":"forward",meta:t.options.meta};F(G);const W=await O(G),{maxPages:b}=t.options,k=U?is:ss;return{pages:k(Q.pages,W,b),pageParams:k(Q.pageParams,E,b)}};if(n&&a.length){const Q=n==="backward",E=Q?ls:pe,U={pages:a,pageParams:o},G=E(i,U);u=await w(U,G,Q)}else{const Q=s??a.length;do{const E=y===0?o[0]??i.initialPageParam:pe(i,u);if(y>0&&E==null)break;u=await w(u,E),y++}while(y<Q)}return u};t.options.persister?t.fetchFn=()=>{var R,F;return(F=(R=t.options).persister)==null?void 0:F.call(R,S,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},e)}:t.fetchFn=S}}}function pe(s,{pages:t,pageParams:e}){const i=t.length-1;return t.length>0?s.getNextPageParam(t[i],t,e[i],e):void 0}function ls(s,{pages:t,pageParams:e}){var i;return t.length>0?(i=s.getPreviousPageParam)==null?void 0:i.call(s,t[0],t,e[0],e):void 0}var D,et,st,Qt,St,it,Pt,Rt,Pe,fs=(Pe=class{constructor(t={}){l(this,D);l(this,et);l(this,st);l(this,Qt);l(this,St);l(this,it);l(this,Pt);l(this,Rt);h(this,D,t.queryCache||new Ne),h(this,et,t.mutationCache||new _e),h(this,st,t.defaultOptions||{}),h(this,Qt,new Map),h(this,St,new Map),h(this,it,0)}mount(){Kt(this,it)._++,r(this,it)===1&&(h(this,Pt,ue.subscribe(async t=>{t&&(await this.resumePausedMutations(),r(this,D).onFocus())})),h(this,Rt,Nt.subscribe(async t=>{t&&(await this.resumePausedMutations(),r(this,D).onOnline())})))}unmount(){var t,e;Kt(this,it)._--,r(this,it)===0&&((t=r(this,Pt))==null||t.call(this),h(this,Pt,void 0),(e=r(this,Rt))==null||e.call(this),h(this,Rt,void 0))}isFetching(t){return r(this,D).findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return r(this,et).findAll({...t,status:"pending"}).length}getQueryData(t){var i;const e=this.defaultQueryOptions({queryKey:t});return(i=r(this,D).get(e.queryHash))==null?void 0:i.state.data}ensureQueryData(t){const e=this.getQueryData(t.queryKey);if(e===void 0)return this.fetchQuery(t);{const i=this.defaultQueryOptions(t),n=r(this,D).build(this,i);return t.revalidateIfStale&&n.isStaleByTime(vt(i.staleTime,n))&&this.prefetchQuery(i),Promise.resolve(e)}}getQueriesData(t){return r(this,D).findAll(t).map(({queryKey:e,state:i})=>{const n=i.data;return[e,n]})}setQueryData(t,e,i){const n=this.defaultQueryOptions({queryKey:t}),a=r(this,D).get(n.queryHash),o=a==null?void 0:a.state.data,u=ts(e,o);if(u!==void 0)return r(this,D).build(this,n).setData(u,{...i,manual:!0})}setQueriesData(t,e,i){return M.batch(()=>r(this,D).findAll(t).map(({queryKey:n})=>[n,this.setQueryData(n,e,i)]))}getQueryState(t){var i;const e=this.defaultQueryOptions({queryKey:t});return(i=r(this,D).get(e.queryHash))==null?void 0:i.state}removeQueries(t){const e=r(this,D);M.batch(()=>{e.findAll(t).forEach(i=>{e.remove(i)})})}resetQueries(t,e){const i=r(this,D),n={type:"active",...t};return M.batch(()=>(i.findAll(t).forEach(a=>{a.reset()}),this.refetchQueries(n,e)))}cancelQueries(t={},e={}){const i={revert:!0,...e},n=M.batch(()=>r(this,D).findAll(t).map(a=>a.cancel(i)));return Promise.all(n).then(L).catch(L)}invalidateQueries(t={},e={}){return M.batch(()=>{if(r(this,D).findAll(t).forEach(n=>{n.invalidate()}),t.refetchType==="none")return Promise.resolve();const i={...t,type:t.refetchType??t.type??"active"};return this.refetchQueries(i,e)})}refetchQueries(t={},e){const i={...e,cancelRefetch:(e==null?void 0:e.cancelRefetch)??!0},n=M.batch(()=>r(this,D).findAll(t).filter(a=>!a.isDisabled()).map(a=>{let o=a.fetch(void 0,i);return i.throwOnError||(o=o.catch(L)),a.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(n).then(L)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const i=r(this,D).build(this,e);return i.isStaleByTime(vt(e.staleTime,i))?i.fetch(e):Promise.resolve(i.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(L).catch(L)}fetchInfiniteQuery(t){return t.behavior=ye(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(L).catch(L)}ensureInfiniteQueryData(t){return t.behavior=ye(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return Nt.isOnline()?r(this,et).resumePausedMutations():Promise.resolve()}getQueryCache(){return r(this,D)}getMutationCache(){return r(this,et)}getDefaultOptions(){return r(this,st)}setDefaultOptions(t){h(this,st,t)}setQueryDefaults(t,e){r(this,Qt).set(pt(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...r(this,Qt).values()];let i={};return e.forEach(n=>{qt(t,n.queryKey)&&(i={...i,...n.defaultOptions})}),i}setMutationDefaults(t,e){r(this,St).set(pt(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...r(this,St).values()];let i={};return e.forEach(n=>{qt(t,n.mutationKey)&&(i={...i,...n.defaultOptions})}),i}defaultQueryOptions(t){if(t._defaulted)return t;const e={...r(this,st).queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=ae(e.queryKey,e)),e.refetchOnReconnect===void 0&&(e.refetchOnReconnect=e.networkMode!=="always"),e.throwOnError===void 0&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.enabled!==!0&&e.queryFn===Te&&(e.enabled=!1),e}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...r(this,st).mutations,...(t==null?void 0:t.mutationKey)&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){r(this,D).clear(),r(this,et).clear()}},D=new WeakMap,et=new WeakMap,st=new WeakMap,Qt=new WeakMap,St=new WeakMap,it=new WeakMap,Pt=new WeakMap,Rt=new WeakMap,Pe),T,v,jt,I,lt,Ft,V,xt,Dt,Et,ft,dt,rt,Mt,C,Ut,Wt,zt,Yt,Jt,Xt,Zt,te,$e,Re,ds=(Re=class extends At{constructor(t,e){super();l(this,C);l(this,T);l(this,v);l(this,jt);l(this,I);l(this,lt);l(this,Ft);l(this,V);l(this,xt);l(this,Dt);l(this,Et);l(this,ft);l(this,dt);l(this,rt);l(this,Mt,new Set);this.options=e,h(this,T,t),h(this,V,null),this.bindMethods(),this.setOptions(e)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(r(this,v).addObserver(this),me(r(this,v),this.options)?p(this,C,Ut).call(this):this.updateResult(),p(this,C,Jt).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return ee(r(this,v),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ee(r(this,v),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,p(this,C,Xt).call(this),p(this,C,Zt).call(this),r(this,v).removeObserver(this)}setOptions(t,e){const i=this.options,n=r(this,v);if(this.options=r(this,T).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof N(this.options.enabled,r(this,v))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");p(this,C,te).call(this),r(this,v).setOptions(this.options),i._defaulted&&!Ht(this.options,i)&&r(this,T).getQueryCache().notify({type:"observerOptionsUpdated",query:r(this,v),observer:this});const a=this.hasListeners();a&&ve(r(this,v),n,this.options,i)&&p(this,C,Ut).call(this),this.updateResult(e),a&&(r(this,v)!==n||N(this.options.enabled,r(this,v))!==N(i.enabled,r(this,v))||vt(this.options.staleTime,r(this,v))!==vt(i.staleTime,r(this,v)))&&p(this,C,Wt).call(this);const o=p(this,C,zt).call(this);a&&(r(this,v)!==n||N(this.options.enabled,r(this,v))!==N(i.enabled,r(this,v))||o!==r(this,rt))&&p(this,C,Yt).call(this,o)}getOptimisticResult(t){const e=r(this,T).getQueryCache().build(r(this,T),t),i=this.createResult(e,t);return ps(this,i)&&(h(this,I,i),h(this,Ft,this.options),h(this,lt,r(this,v).state)),i}getCurrentResult(){return r(this,I)}trackResult(t,e){const i={};return Object.keys(t).forEach(n=>{Object.defineProperty(i,n,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(n),e==null||e(n),t[n])})}),i}trackProp(t){r(this,Mt).add(t)}getCurrentQuery(){return r(this,v)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const e=r(this,T).defaultQueryOptions(t),i=r(this,T).getQueryCache().build(r(this,T),e);return i.isFetchingOptimistic=!0,i.fetch().then(()=>this.createResult(i,e))}fetch(t){return p(this,C,Ut).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),r(this,I)))}createResult(t,e){var W;const i=r(this,v),n=this.options,a=r(this,I),o=r(this,lt),u=r(this,Ft),S=t!==i?t.state:r(this,jt),{state:f}=t;let c={...f},g=!1,d;if(e._optimisticResults){const b=this.hasListeners(),k=!b&&me(t,e),We=b&&ve(t,i,e,n);(k||We)&&(c={...c,...He(f.data,t.options)}),e._optimisticResults==="isRestoring"&&(c.fetchStatus="idle")}let{error:P,errorUpdatedAt:R,status:F}=c;if(e.select&&c.data!==void 0)if(a&&c.data===(o==null?void 0:o.data)&&e.select===r(this,xt))d=r(this,Dt);else try{h(this,xt,e.select),d=e.select(c.data),d=Vt(a==null?void 0:a.data,d,e),h(this,Dt,d),h(this,V,null)}catch(b){h(this,V,b)}else d=c.data;if(e.placeholderData!==void 0&&d===void 0&&F==="pending"){let b;if(a!=null&&a.isPlaceholderData&&e.placeholderData===(u==null?void 0:u.placeholderData))b=a.data;else if(b=typeof e.placeholderData=="function"?e.placeholderData((W=r(this,Et))==null?void 0:W.state.data,r(this,Et)):e.placeholderData,e.select&&b!==void 0)try{b=e.select(b),h(this,V,null)}catch(k){h(this,V,k)}b!==void 0&&(F="success",d=Vt(a==null?void 0:a.data,b,e),g=!0)}r(this,V)&&(P=r(this,V),d=r(this,Dt),R=Date.now(),F="error");const O=c.fetchStatus==="fetching",w=F==="pending",Q=F==="error",E=w&&O,U=d!==void 0;return{status:F,fetchStatus:c.fetchStatus,isPending:w,isSuccess:F==="success",isError:Q,isInitialLoading:E,isLoading:E,data:d,dataUpdatedAt:c.dataUpdatedAt,error:P,errorUpdatedAt:R,failureCount:c.fetchFailureCount,failureReason:c.fetchFailureReason,errorUpdateCount:c.errorUpdateCount,isFetched:c.dataUpdateCount>0||c.errorUpdateCount>0,isFetchedAfterMount:c.dataUpdateCount>S.dataUpdateCount||c.errorUpdateCount>S.errorUpdateCount,isFetching:O,isRefetching:O&&!w,isLoadingError:Q&&!U,isPaused:c.fetchStatus==="paused",isPlaceholderData:g,isRefetchError:Q&&U,isStale:oe(t,e),refetch:this.refetch}}updateResult(t){const e=r(this,I),i=this.createResult(r(this,v),this.options);if(h(this,lt,r(this,v).state),h(this,Ft,this.options),r(this,lt).data!==void 0&&h(this,Et,r(this,v)),Ht(i,e))return;h(this,I,i);const n={},a=()=>{if(!e)return!0;const{notifyOnChangeProps:o}=this.options,u=typeof o=="function"?o():o;if(u==="all"||!u&&!r(this,Mt).size)return!0;const y=new Set(u??r(this,Mt));return this.options.throwOnError&&y.add("error"),Object.keys(r(this,I)).some(S=>{const f=S;return r(this,I)[f]!==e[f]&&y.has(f)})};(t==null?void 0:t.listeners)!==!1&&a()&&(n.listeners=!0),p(this,C,$e).call(this,{...n,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&p(this,C,Jt).call(this)}},T=new WeakMap,v=new WeakMap,jt=new WeakMap,I=new WeakMap,lt=new WeakMap,Ft=new WeakMap,V=new WeakMap,xt=new WeakMap,Dt=new WeakMap,Et=new WeakMap,ft=new WeakMap,dt=new WeakMap,rt=new WeakMap,Mt=new WeakMap,C=new WeakSet,Ut=function(t){p(this,C,te).call(this);let e=r(this,v).fetch(this.options,t);return t!=null&&t.throwOnError||(e=e.catch(L)),e},Wt=function(){p(this,C,Xt).call(this);const t=vt(this.options.staleTime,r(this,v));if(yt||r(this,I).isStale||!$t(t))return;const i=qe(r(this,I).dataUpdatedAt,t)+1;h(this,ft,setTimeout(()=>{r(this,I).isStale||this.updateResult()},i))},zt=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(r(this,v)):this.options.refetchInterval)??!1},Yt=function(t){p(this,C,Zt).call(this),h(this,rt,t),!(yt||N(this.options.enabled,r(this,v))===!1||!$t(r(this,rt))||r(this,rt)===0)&&h(this,dt,setInterval(()=>{(this.options.refetchIntervalInBackground||ue.isFocused())&&p(this,C,Ut).call(this)},r(this,rt)))},Jt=function(){p(this,C,Wt).call(this),p(this,C,Yt).call(this,p(this,C,zt).call(this))},Xt=function(){r(this,ft)&&(clearTimeout(r(this,ft)),h(this,ft,void 0))},Zt=function(){r(this,dt)&&(clearInterval(r(this,dt)),h(this,dt,void 0))},te=function(){const t=r(this,T).getQueryCache().build(r(this,T),this.options);if(t===r(this,v))return;const e=r(this,v);h(this,v,t),h(this,jt,t.state),this.hasListeners()&&(e==null||e.removeObserver(this),t.addObserver(this))},$e=function(t){M.batch(()=>{t.listeners&&this.listeners.forEach(e=>{e(r(this,I))}),r(this,T).getQueryCache().notify({query:r(this,v),type:"observerResultsUpdated"})})},Re);function ys(s,t){return N(t.enabled,s)!==!1&&s.state.data===void 0&&!(s.state.status==="error"&&t.retryOnMount===!1)}function me(s,t){return ys(s,t)||s.state.data!==void 0&&ee(s,t,t.refetchOnMount)}function ee(s,t,e){if(N(t.enabled,s)!==!1){const i=typeof e=="function"?e(s):e;return i==="always"||i!==!1&&oe(s,t)}return!1}function ve(s,t,e,i){return(s!==t||N(i.enabled,s)===!1)&&(!e.suspense||s.state.status!=="error")&&oe(s,e)}function oe(s,t){return N(t.enabled,s)!==!1&&s.isStaleByTime(vt(t.staleTime,s))}function ps(s,t){return!Ht(s.getCurrentResult(),t)}var nt,at,j,Y,J,kt,se,Fe,ms=(Fe=class extends At{constructor(t,e){super();l(this,J);l(this,nt);l(this,at);l(this,j);l(this,Y);h(this,nt,t),this.setOptions(e),this.bindMethods(),p(this,J,kt).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){var i;const e=this.options;this.options=r(this,nt).defaultMutationOptions(t),Ht(this.options,e)||r(this,nt).getMutationCache().notify({type:"observerOptionsUpdated",mutation:r(this,j),observer:this}),e!=null&&e.mutationKey&&this.options.mutationKey&&pt(e.mutationKey)!==pt(this.options.mutationKey)?this.reset():((i=r(this,j))==null?void 0:i.state.status)==="pending"&&r(this,j).setOptions(this.options)}onUnsubscribe(){var t;this.hasListeners()||(t=r(this,j))==null||t.removeObserver(this)}onMutationUpdate(t){p(this,J,kt).call(this),p(this,J,se).call(this,t)}getCurrentResult(){return r(this,at)}reset(){var t;(t=r(this,j))==null||t.removeObserver(this),h(this,j,void 0),p(this,J,kt).call(this),p(this,J,se).call(this)}mutate(t,e){var i;return h(this,Y,e),(i=r(this,j))==null||i.removeObserver(this),h(this,j,r(this,nt).getMutationCache().build(r(this,nt),this.options)),r(this,j).addObserver(this),r(this,j).execute(t)}},nt=new WeakMap,at=new WeakMap,j=new WeakMap,Y=new WeakMap,J=new WeakSet,kt=function(){var e;const t=((e=r(this,j))==null?void 0:e.state)??Ge();h(this,at,{...t,isPending:t.status==="pending",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset})},se=function(t){M.batch(()=>{var e,i,n,a,o,u,y,S;if(r(this,Y)&&this.hasListeners()){const f=r(this,at).variables,c=r(this,at).context;(t==null?void 0:t.type)==="success"?((i=(e=r(this,Y)).onSuccess)==null||i.call(e,t.data,f,c),(a=(n=r(this,Y)).onSettled)==null||a.call(n,t.data,null,f,c)):(t==null?void 0:t.type)==="error"&&((u=(o=r(this,Y)).onError)==null||u.call(o,t.error,f,c),(S=(y=r(this,Y)).onSettled)==null||S.call(y,void 0,t.error,f,c))}this.listeners.forEach(f=>{f(r(this,at))})})},Fe),vs="VUE_QUERY_CLIENT";function Be(s){const t=s?`:${s}`:"";return`${vs}${t}`}function ie(s,t){Object.keys(s).forEach(e=>{s[e]=t[e]})}function re(s,t,e="",i=0){if(t){const n=t(s,e,i);if(n===void 0&&De(s)||n!==void 0)return n}if(Array.isArray(s))return s.map((n,a)=>re(n,t,String(a),i+1));if(typeof s=="object"&&gs(s)){const n=Object.entries(s).map(([a,o])=>[a,re(o,t,a,i+1)]);return Object.fromEntries(n)}return s}function bs(s,t){return re(s,t)}function m(s,t=!1){return bs(s,(e,i,n)=>{if(n===1&&i==="queryKey")return m(e,!0);if(t&&Os(e))return m(e(),t);if(De(e))return m(ze(e),t)})}function gs(s){if(Object.prototype.toString.call(s)!=="[object Object]")return!1;const t=Object.getPrototypeOf(s);return t===null||t===Object.prototype}function Os(s){return typeof s=="function"}function ne(s,t){return typeof s=="function"?s(...t):!!s}function Ve(s=""){if(!Ye())throw new Error("vue-query hooks can only be used inside setup() function or functions that support injection context.");const t=Be(s),e=Je(t);if(!e)throw new Error("No 'queryClient' found in Vue context, use 'VueQueryPlugin' to properly initialize the library.");return e}var Cs=class extends Ne{find(s){return super.find(m(s))}findAll(s={}){return super.findAll(m(s))}},ws=class extends _e{find(s){return super.find(m(s))}findAll(s={}){return super.findAll(m(s))}},Qs=class extends fs{constructor(s={}){const t={defaultOptions:s.defaultOptions,queryCache:s.queryCache||new Cs,mutationCache:s.mutationCache||new ws};super(t),this.isRestoring=Xe(!1)}isFetching(s={}){return super.isFetching(m(s))}isMutating(s={}){return super.isMutating(m(s))}getQueryData(s){return super.getQueryData(m(s))}ensureQueryData(s){return super.ensureQueryData(m(s))}getQueriesData(s){return super.getQueriesData(m(s))}setQueryData(s,t,e={}){return super.setQueryData(m(s),t,m(e))}setQueriesData(s,t,e={}){return super.setQueriesData(m(s),t,m(e))}getQueryState(s){return super.getQueryState(m(s))}removeQueries(s={}){return super.removeQueries(m(s))}resetQueries(s={},t={}){return super.resetQueries(m(s),m(t))}cancelQueries(s={},t={}){return super.cancelQueries(m(s),m(t))}invalidateQueries(s={},t={}){const e=m(s),i=m(t);if(super.invalidateQueries({...e,refetchType:"none"},i),e.refetchType==="none")return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return Ze().then(()=>super.refetchQueries(n,i))}refetchQueries(s={},t={}){return super.refetchQueries(m(s),m(t))}fetchQuery(s){return super.fetchQuery(m(s))}prefetchQuery(s){return super.prefetchQuery(m(s))}fetchInfiniteQuery(s){return super.fetchInfiniteQuery(m(s))}prefetchInfiniteQuery(s){return super.prefetchInfiniteQuery(m(s))}setDefaultOptions(s){super.setDefaultOptions(m(s))}setQueryDefaults(s,t){super.setQueryDefaults(m(s),m(t))}getQueryDefaults(s){return super.getQueryDefaults(m(s))}setMutationDefaults(s,t){super.setMutationDefaults(m(s),m(t))}getMutationDefaults(s){return super.getMutationDefaults(m(s))}},Ms={install:(s,t={})=>{const e=Be(t.queryClientKey);let i;if("queryClient"in t&&t.queryClient)i=t.queryClient;else{const o="queryClientConfig"in t?t.queryClientConfig:void 0;i=new Qs(o)}yt||i.mount();let n=()=>{};if(t.clientPersister){i.isRestoring.value=!0;const[o,u]=t.clientPersister(i);n=o,u.then(()=>{var y;i.isRestoring.value=!1,(y=t.clientPersisterOnSuccess)==null||y.call(t,i)})}const a=()=>{i.unmount(),n()};if(s.onUnmount)s.onUnmount(a);else{const o=s.unmount;s.unmount=function(){a(),o()}}s.provide(e,i)}};function Ss(s,t,e){const i=Ve(),n=Ee(()=>{const d=m(t);typeof d.enabled=="function"&&(d.enabled=d.enabled());const P=i.defaultQueryOptions(d);return P._optimisticResults=i.isRestoring.value?"isRestoring":"optimistic",P}),a=new s(i,n.value),o=Me(a.getCurrentResult());let u=()=>{};mt(i.isRestoring,d=>{d||(u(),u=a.subscribe(P=>{ie(o,P)}))},{immediate:!0});const y=()=>{a.setOptions(n.value),ie(o,a.getCurrentResult())};mt(n,y),Ae(()=>{u()});const S=(...d)=>(y(),o.refetch(...d)),f=()=>new Promise((d,P)=>{let R=()=>{};const F=()=>{if(n.value.enabled!==!1){a.setOptions(n.value);const O=a.getOptimisticResult(n.value);O.isStale?(R(),a.fetchOptimistic(n.value).then(d,w=>{ne(n.value.throwOnError,[w,a.getCurrentQuery()])?P(w):d(a.getCurrentResult())})):(R(),d(O))}};F(),R=mt(n,F)});mt(()=>o.error,d=>{if(o.isError&&!o.isFetching&&ne(n.value.throwOnError,[d,a.getCurrentQuery()]))throw d});const g=Ue(o);for(const d in o)typeof o[d]=="function"&&(g[d]=o[d]);return g.suspense=f,g.refetch=S,g}function As(s,t){return Ss(ds,s)}function Us(s,t){const e=Ve(),i=Ee(()=>e.defaultMutationOptions(m(s))),n=new ms(e,i.value),a=Me(n.getCurrentResult()),o=n.subscribe(f=>{ie(a,f)}),u=(f,c)=>{n.mutate(f,c).catch(()=>{})};mt(i,()=>{n.setOptions(i.value)}),Ae(()=>{o()});const S=Ue(a);return mt(()=>a.error,f=>{if(f&&ne(i.value.throwOnError,[f]))throw f}),{...S,mutate:u,mutateAsync:a.mutate,reset:a.reset}}export{Qs as Q,Ms as V,As as a,Us as b,Ve as u};
|
|
1
|
+
var he=s=>{throw TypeError(s)};var Gt=(s,t,e)=>t.has(s)||he("Cannot "+e);var r=(s,t,e)=>(Gt(s,t,"read from private field"),e?e.call(s):t.get(s)),l=(s,t,e)=>t.has(s)?he("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(s):t.set(s,e),h=(s,t,e,i)=>(Gt(s,t,"write to private field"),i?i.call(s,e):t.set(s,e),e),p=(s,t,e)=>(Gt(s,t,"access private method"),e);var Kt=(s,t,e,i)=>({set _(n){h(s,t,n,e)},get _(){return r(s,t,i)}});import{i as De,u as ze,h as Ye,a as Je,r as Xe,n as Ze,c as Ee,s as Me,w as mt,o as Ae,t as Ue}from"./@vue.DSpVzvLE.0.0.31-alpha.9.js";var At=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(s){return this.listeners.add(s),this.onSubscribe(),()=>{this.listeners.delete(s),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},yt=typeof window>"u"||"Deno"in globalThis;function L(){}function ts(s,t){return typeof s=="function"?s(t):s}function $t(s){return typeof s=="number"&&s>=0&&s!==1/0}function qe(s,t){return Math.max(s+(t||0)-Date.now(),0)}function vt(s,t){return typeof s=="function"?s(t):s}function N(s,t){return typeof s=="function"?s(t):s}function ce(s,t){const{type:e="all",exact:i,fetchStatus:n,predicate:a,queryKey:o,stale:u}=s;if(o){if(i){if(t.queryHash!==ae(o,t.options))return!1}else if(!qt(t.queryKey,o))return!1}if(e!=="all"){const y=t.isActive();if(e==="active"&&!y||e==="inactive"&&y)return!1}return!(typeof u=="boolean"&&t.isStale()!==u||n&&n!==t.state.fetchStatus||a&&!a(t))}function le(s,t){const{exact:e,status:i,predicate:n,mutationKey:a}=s;if(a){if(!t.options.mutationKey)return!1;if(e){if(pt(t.options.mutationKey)!==pt(a))return!1}else if(!qt(t.options.mutationKey,a))return!1}return!(i&&t.state.status!==i||n&&!n(t))}function ae(s,t){return((t==null?void 0:t.queryKeyHashFn)||pt)(s)}function pt(s){return JSON.stringify(s,(t,e)=>Bt(e)?Object.keys(e).sort().reduce((i,n)=>(i[n]=e[n],i),{}):e)}function qt(s,t){return s===t?!0:typeof s!=typeof t?!1:s&&t&&typeof s=="object"&&typeof t=="object"?!Object.keys(t).some(e=>!qt(s[e],t[e])):!1}function Ie(s,t){if(s===t)return s;const e=fe(s)&&fe(t);if(e||Bt(s)&&Bt(t)){const i=e?s:Object.keys(s),n=i.length,a=e?t:Object.keys(t),o=a.length,u=e?[]:{};let y=0;for(let S=0;S<o;S++){const f=e?S:a[S];(!e&&i.includes(f)||e)&&s[f]===void 0&&t[f]===void 0?(u[f]=void 0,y++):(u[f]=Ie(s[f],t[f]),u[f]===s[f]&&s[f]!==void 0&&y++)}return n===o&&y===n?s:u}return t}function Ht(s,t){if(!t||Object.keys(s).length!==Object.keys(t).length)return!1;for(const e in s)if(s[e]!==t[e])return!1;return!0}function fe(s){return Array.isArray(s)&&s.length===Object.keys(s).length}function Bt(s){if(!de(s))return!1;const t=s.constructor;if(t===void 0)return!0;const e=t.prototype;return!(!de(e)||!e.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(s)!==Object.prototype)}function de(s){return Object.prototype.toString.call(s)==="[object Object]"}function es(s){return new Promise(t=>{setTimeout(t,s)})}function Vt(s,t,e){return typeof e.structuralSharing=="function"?e.structuralSharing(s,t):e.structuralSharing!==!1?Ie(s,t):t}function ss(s,t,e=0){const i=[...s,t];return e&&i.length>e?i.slice(1):i}function is(s,t,e=0){const i=[t,...s];return e&&i.length>e?i.slice(0,-1):i}var Te=Symbol();function je(s,t){return!s.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!s.queryFn||s.queryFn===Te?()=>Promise.reject(new Error(`Missing queryFn: '${s.queryHash}'`)):s.queryFn}var ut,Z,bt,be,rs=(be=class extends At{constructor(){super();l(this,ut);l(this,Z);l(this,bt);h(this,bt,t=>{if(!yt&&window.addEventListener){const e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}})}onSubscribe(){r(this,Z)||this.setEventListener(r(this,bt))}onUnsubscribe(){var t;this.hasListeners()||((t=r(this,Z))==null||t.call(this),h(this,Z,void 0))}setEventListener(t){var e;h(this,bt,t),(e=r(this,Z))==null||e.call(this),h(this,Z,t(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()}))}setFocused(t){r(this,ut)!==t&&(h(this,ut,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(e=>{e(t)})}isFocused(){var t;return typeof r(this,ut)=="boolean"?r(this,ut):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},ut=new WeakMap,Z=new WeakMap,bt=new WeakMap,be),ue=new rs,gt,tt,Ot,ge,ns=(ge=class extends At{constructor(){super();l(this,gt,!0);l(this,tt);l(this,Ot);h(this,Ot,t=>{if(!yt&&window.addEventListener){const e=()=>t(!0),i=()=>t(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",i)}}})}onSubscribe(){r(this,tt)||this.setEventListener(r(this,Ot))}onUnsubscribe(){var t;this.hasListeners()||((t=r(this,tt))==null||t.call(this),h(this,tt,void 0))}setEventListener(t){var e;h(this,Ot,t),(e=r(this,tt))==null||e.call(this),h(this,tt,t(this.setOnline.bind(this)))}setOnline(t){r(this,gt)!==t&&(h(this,gt,t),this.listeners.forEach(i=>{i(t)}))}isOnline(){return r(this,gt)}},gt=new WeakMap,tt=new WeakMap,Ot=new WeakMap,ge),Nt=new ns;function as(s){return Math.min(1e3*2**s,3e4)}function xe(s){return(s??"online")==="online"?Nt.isOnline():!0}var Ke=class extends Error{constructor(s){super("CancelledError"),this.revert=s==null?void 0:s.revert,this.silent=s==null?void 0:s.silent}};function _t(s){return s instanceof Ke}function Le(s){let t=!1,e=0,i=!1,n,a,o;const u=new Promise((O,w)=>{a=O,o=w}),y=O=>{var w;i||(P(new Ke(O)),(w=s.abort)==null||w.call(s))},S=()=>{t=!0},f=()=>{t=!1},c=()=>ue.isFocused()&&(s.networkMode==="always"||Nt.isOnline())&&s.canRun(),g=()=>xe(s.networkMode)&&s.canRun(),d=O=>{var w;i||(i=!0,(w=s.onSuccess)==null||w.call(s,O),n==null||n(),a(O))},P=O=>{var w;i||(i=!0,(w=s.onError)==null||w.call(s,O),n==null||n(),o(O))},R=()=>new Promise(O=>{var w;n=Q=>{(i||c())&&O(Q)},(w=s.onPause)==null||w.call(s)}).then(()=>{var O;n=void 0,i||(O=s.onContinue)==null||O.call(s)}),F=()=>{if(i)return;let O;const w=e===0?s.initialPromise:void 0;try{O=w??s.fn()}catch(Q){O=Promise.reject(Q)}Promise.resolve(O).then(d).catch(Q=>{var b;if(i)return;const E=s.retry??(yt?0:3),U=s.retryDelay??as,G=typeof U=="function"?U(e,Q):U,W=E===!0||typeof E=="number"&&e<E||typeof E=="function"&&E(e,Q);if(t||!W){P(Q);return}e++,(b=s.onFail)==null||b.call(s,e,Q),es(G).then(()=>c()?void 0:R()).then(()=>{t?P(Q):F()})})};return{promise:u,cancel:y,continue:()=>(n==null||n(),u),cancelRetry:S,continueRetry:f,canStart:g,start:()=>(g()?F():R().then(F),u)}}function us(){let s=[],t=0,e=u=>{u()},i=u=>{u()},n=u=>setTimeout(u,0);const a=u=>{t?s.push(u):n(()=>{e(u)})},o=()=>{const u=s;s=[],u.length&&n(()=>{i(()=>{u.forEach(y=>{e(y)})})})};return{batch:u=>{let y;t++;try{y=u()}finally{t--,t||o()}return y},batchCalls:u=>(...y)=>{a(()=>{u(...y)})},schedule:a,setNotifyFunction:u=>{e=u},setBatchNotifyFunction:u=>{i=u},setScheduler:u=>{n=u}}}var M=us(),ot,Oe,ke=(Oe=class{constructor(){l(this,ot)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),$t(this.gcTime)&&h(this,ot,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(s){this.gcTime=Math.max(this.gcTime||0,s??(yt?1/0:5*60*1e3))}clearGcTimeout(){r(this,ot)&&(clearTimeout(r(this,ot)),h(this,ot,void 0))}},ot=new WeakMap,Oe),Ct,wt,K,A,It,ht,H,z,Ce,os=(Ce=class extends ke{constructor(t){super();l(this,H);l(this,Ct);l(this,wt);l(this,K);l(this,A);l(this,It);l(this,ht);h(this,ht,!1),h(this,It,t.defaultOptions),this.setOptions(t.options),this.observers=[],h(this,K,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,h(this,Ct,hs(this.options)),this.state=t.state??r(this,Ct),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=r(this,A))==null?void 0:t.promise}setOptions(t){this.options={...r(this,It),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&r(this,K).remove(this)}setData(t,e){const i=Vt(this.state.data,t,this.options);return p(this,H,z).call(this,{data:i,type:"success",dataUpdatedAt:e==null?void 0:e.updatedAt,manual:e==null?void 0:e.manual}),i}setState(t,e){p(this,H,z).call(this,{type:"setState",state:t,setStateOptions:e})}cancel(t){var i,n;const e=(i=r(this,A))==null?void 0:i.promise;return(n=r(this,A))==null||n.cancel(t),e?e.then(L).catch(L):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(r(this,Ct))}isActive(){return this.observers.some(t=>N(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!qe(this.state.dataUpdatedAt,t)}onFocus(){var e;const t=this.observers.find(i=>i.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(e=r(this,A))==null||e.continue()}onOnline(){var e;const t=this.observers.find(i=>i.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(e=r(this,A))==null||e.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),r(this,K).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(e=>e!==t),this.observers.length||(r(this,A)&&(r(this,ht)?r(this,A).cancel({revert:!0}):r(this,A).cancelRetry()),this.scheduleGc()),r(this,K).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||p(this,H,z).call(this,{type:"invalidate"})}fetch(t,e){var y,S,f;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(e!=null&&e.cancelRefetch))this.cancel({silent:!0});else if(r(this,A))return r(this,A).continueRetry(),r(this,A).promise}if(t&&this.setOptions(t),!this.options.queryFn){const c=this.observers.find(g=>g.options.queryFn);c&&this.setOptions(c.options)}const i=new AbortController,n=c=>{Object.defineProperty(c,"signal",{enumerable:!0,get:()=>(h(this,ht,!0),i.signal)})},a=()=>{const c=je(this.options,e),g={queryKey:this.queryKey,meta:this.meta};return n(g),h(this,ht,!1),this.options.persister?this.options.persister(c,g,this):c(g)},o={fetchOptions:e,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:a};n(o),(y=this.options.behavior)==null||y.onFetch(o,this),h(this,wt,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((S=o.fetchOptions)==null?void 0:S.meta))&&p(this,H,z).call(this,{type:"fetch",meta:(f=o.fetchOptions)==null?void 0:f.meta});const u=c=>{var g,d,P,R;_t(c)&&c.silent||p(this,H,z).call(this,{type:"error",error:c}),_t(c)||((d=(g=r(this,K).config).onError)==null||d.call(g,c,this),(R=(P=r(this,K).config).onSettled)==null||R.call(P,this.state.data,c,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return h(this,A,Le({initialPromise:e==null?void 0:e.initialPromise,fn:o.fetchFn,abort:i.abort.bind(i),onSuccess:c=>{var g,d,P,R;if(c===void 0){u(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(c)}catch(F){u(F);return}(d=(g=r(this,K).config).onSuccess)==null||d.call(g,c,this),(R=(P=r(this,K).config).onSettled)==null||R.call(P,c,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:u,onFail:(c,g)=>{p(this,H,z).call(this,{type:"failed",failureCount:c,error:g})},onPause:()=>{p(this,H,z).call(this,{type:"pause"})},onContinue:()=>{p(this,H,z).call(this,{type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0})),r(this,A).start()}},Ct=new WeakMap,wt=new WeakMap,K=new WeakMap,A=new WeakMap,It=new WeakMap,ht=new WeakMap,H=new WeakSet,z=function(t){const e=i=>{switch(t.type){case"failed":return{...i,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...i,fetchStatus:"paused"};case"continue":return{...i,fetchStatus:"fetching"};case"fetch":return{...i,...He(i.data,this.options),fetchMeta:t.meta??null};case"success":return{...i,data:t.data,dataUpdateCount:i.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const n=t.error;return _t(n)&&n.revert&&r(this,wt)?{...r(this,wt),fetchStatus:"idle"}:{...i,error:n,errorUpdateCount:i.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:i.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:"idle",status:"error"};case"invalidate":return{...i,isInvalidated:!0};case"setState":return{...i,...t.state}}};this.state=e(this.state),M.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),r(this,K).notify({query:this,type:"updated",action:t})})},Ce);function He(s,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:xe(t.networkMode)?"fetching":"paused",...s===void 0&&{error:null,status:"pending"}}}function hs(s){const t=typeof s.initialData=="function"?s.initialData():s.initialData,e=t!==void 0,i=e?typeof s.initialDataUpdatedAt=="function"?s.initialDataUpdatedAt():s.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:e?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:e?"success":"pending",fetchStatus:"idle"}}var _,we,Ne=(we=class extends At{constructor(e={}){super();l(this,_);this.config=e,h(this,_,new Map)}build(e,i,n){const a=i.queryKey,o=i.queryHash??ae(a,i);let u=this.get(o);return u||(u=new os({cache:this,queryKey:a,queryHash:o,options:e.defaultQueryOptions(i),state:n,defaultOptions:e.getQueryDefaults(a)}),this.add(u)),u}add(e){r(this,_).has(e.queryHash)||(r(this,_).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const i=r(this,_).get(e.queryHash);i&&(e.destroy(),i===e&&r(this,_).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){M.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return r(this,_).get(e)}getAll(){return[...r(this,_).values()]}find(e){const i={exact:!0,...e};return this.getAll().find(n=>ce(i,n))}findAll(e={}){const i=this.getAll();return Object.keys(e).length>0?i.filter(n=>ce(e,n)):i}notify(e){M.batch(()=>{this.listeners.forEach(i=>{i(e)})})}onFocus(){M.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){M.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},_=new WeakMap,we),$,q,ct,B,X,Qe,cs=(Qe=class extends ke{constructor(t){super();l(this,B);l(this,$);l(this,q);l(this,ct);this.mutationId=t.mutationId,h(this,q,t.mutationCache),h(this,$,[]),this.state=t.state||Ge(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){r(this,$).includes(t)||(r(this,$).push(t),this.clearGcTimeout(),r(this,q).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){h(this,$,r(this,$).filter(e=>e!==t)),this.scheduleGc(),r(this,q).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){r(this,$).length||(this.state.status==="pending"?this.scheduleGc():r(this,q).remove(this))}continue(){var t;return((t=r(this,ct))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var n,a,o,u,y,S,f,c,g,d,P,R,F,O,w,Q,E,U,G,W;h(this,ct,Le({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(b,k)=>{p(this,B,X).call(this,{type:"failed",failureCount:b,error:k})},onPause:()=>{p(this,B,X).call(this,{type:"pause"})},onContinue:()=>{p(this,B,X).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>r(this,q).canRun(this)}));const e=this.state.status==="pending",i=!r(this,ct).canStart();try{if(!e){p(this,B,X).call(this,{type:"pending",variables:t,isPaused:i}),await((a=(n=r(this,q).config).onMutate)==null?void 0:a.call(n,t,this));const k=await((u=(o=this.options).onMutate)==null?void 0:u.call(o,t));k!==this.state.context&&p(this,B,X).call(this,{type:"pending",context:k,variables:t,isPaused:i})}const b=await r(this,ct).start();return await((S=(y=r(this,q).config).onSuccess)==null?void 0:S.call(y,b,t,this.state.context,this)),await((c=(f=this.options).onSuccess)==null?void 0:c.call(f,b,t,this.state.context)),await((d=(g=r(this,q).config).onSettled)==null?void 0:d.call(g,b,null,this.state.variables,this.state.context,this)),await((R=(P=this.options).onSettled)==null?void 0:R.call(P,b,null,t,this.state.context)),p(this,B,X).call(this,{type:"success",data:b}),b}catch(b){try{throw await((O=(F=r(this,q).config).onError)==null?void 0:O.call(F,b,t,this.state.context,this)),await((Q=(w=this.options).onError)==null?void 0:Q.call(w,b,t,this.state.context)),await((U=(E=r(this,q).config).onSettled)==null?void 0:U.call(E,void 0,b,this.state.variables,this.state.context,this)),await((W=(G=this.options).onSettled)==null?void 0:W.call(G,void 0,b,t,this.state.context)),b}finally{p(this,B,X).call(this,{type:"error",error:b})}}finally{r(this,q).runNext(this)}}},$=new WeakMap,q=new WeakMap,ct=new WeakMap,B=new WeakSet,X=function(t){const e=i=>{switch(t.type){case"failed":return{...i,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...i,isPaused:!0};case"continue":return{...i,isPaused:!1};case"pending":return{...i,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...i,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...i,data:void 0,error:t.error,failureCount:i.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=e(this.state),M.batch(()=>{r(this,$).forEach(i=>{i.onMutationUpdate(t)}),r(this,q).notify({mutation:this,type:"updated",action:t})})},Qe);function Ge(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var x,Tt,Se,_e=(Se=class extends At{constructor(e={}){super();l(this,x);l(this,Tt);this.config=e,h(this,x,new Map),h(this,Tt,Date.now())}build(e,i,n){const a=new cs({mutationCache:this,mutationId:++Kt(this,Tt)._,options:e.defaultMutationOptions(i),state:n});return this.add(a),a}add(e){const i=Lt(e),n=r(this,x).get(i)??[];n.push(e),r(this,x).set(i,n),this.notify({type:"added",mutation:e})}remove(e){var n;const i=Lt(e);if(r(this,x).has(i)){const a=(n=r(this,x).get(i))==null?void 0:n.filter(o=>o!==e);a&&(a.length===0?r(this,x).delete(i):r(this,x).set(i,a))}this.notify({type:"removed",mutation:e})}canRun(e){var n;const i=(n=r(this,x).get(Lt(e)))==null?void 0:n.find(a=>a.state.status==="pending");return!i||i===e}runNext(e){var n;const i=(n=r(this,x).get(Lt(e)))==null?void 0:n.find(a=>a!==e&&a.state.isPaused);return(i==null?void 0:i.continue())??Promise.resolve()}clear(){M.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}getAll(){return[...r(this,x).values()].flat()}find(e){const i={exact:!0,...e};return this.getAll().find(n=>le(i,n))}findAll(e={}){return this.getAll().filter(i=>le(e,i))}notify(e){M.batch(()=>{this.listeners.forEach(i=>{i(e)})})}resumePausedMutations(){const e=this.getAll().filter(i=>i.state.isPaused);return M.batch(()=>Promise.all(e.map(i=>i.continue().catch(L))))}},x=new WeakMap,Tt=new WeakMap,Se);function Lt(s){var t;return((t=s.options.scope)==null?void 0:t.id)??String(s.mutationId)}function ye(s){return{onFetch:(t,e)=>{var f,c,g,d,P;const i=t.options,n=(g=(c=(f=t.fetchOptions)==null?void 0:f.meta)==null?void 0:c.fetchMore)==null?void 0:g.direction,a=((d=t.state.data)==null?void 0:d.pages)||[],o=((P=t.state.data)==null?void 0:P.pageParams)||[];let u={pages:[],pageParams:[]},y=0;const S=async()=>{let R=!1;const F=Q=>{Object.defineProperty(Q,"signal",{enumerable:!0,get:()=>(t.signal.aborted?R=!0:t.signal.addEventListener("abort",()=>{R=!0}),t.signal)})},O=je(t.options,t.fetchOptions),w=async(Q,E,U)=>{if(R)return Promise.reject();if(E==null&&Q.pages.length)return Promise.resolve(Q);const G={queryKey:t.queryKey,pageParam:E,direction:U?"backward":"forward",meta:t.options.meta};F(G);const W=await O(G),{maxPages:b}=t.options,k=U?is:ss;return{pages:k(Q.pages,W,b),pageParams:k(Q.pageParams,E,b)}};if(n&&a.length){const Q=n==="backward",E=Q?ls:pe,U={pages:a,pageParams:o},G=E(i,U);u=await w(U,G,Q)}else{const Q=s??a.length;do{const E=y===0?o[0]??i.initialPageParam:pe(i,u);if(y>0&&E==null)break;u=await w(u,E),y++}while(y<Q)}return u};t.options.persister?t.fetchFn=()=>{var R,F;return(F=(R=t.options).persister)==null?void 0:F.call(R,S,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},e)}:t.fetchFn=S}}}function pe(s,{pages:t,pageParams:e}){const i=t.length-1;return t.length>0?s.getNextPageParam(t[i],t,e[i],e):void 0}function ls(s,{pages:t,pageParams:e}){var i;return t.length>0?(i=s.getPreviousPageParam)==null?void 0:i.call(s,t[0],t,e[0],e):void 0}var D,et,st,Qt,St,it,Pt,Rt,Pe,fs=(Pe=class{constructor(t={}){l(this,D);l(this,et);l(this,st);l(this,Qt);l(this,St);l(this,it);l(this,Pt);l(this,Rt);h(this,D,t.queryCache||new Ne),h(this,et,t.mutationCache||new _e),h(this,st,t.defaultOptions||{}),h(this,Qt,new Map),h(this,St,new Map),h(this,it,0)}mount(){Kt(this,it)._++,r(this,it)===1&&(h(this,Pt,ue.subscribe(async t=>{t&&(await this.resumePausedMutations(),r(this,D).onFocus())})),h(this,Rt,Nt.subscribe(async t=>{t&&(await this.resumePausedMutations(),r(this,D).onOnline())})))}unmount(){var t,e;Kt(this,it)._--,r(this,it)===0&&((t=r(this,Pt))==null||t.call(this),h(this,Pt,void 0),(e=r(this,Rt))==null||e.call(this),h(this,Rt,void 0))}isFetching(t){return r(this,D).findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return r(this,et).findAll({...t,status:"pending"}).length}getQueryData(t){var i;const e=this.defaultQueryOptions({queryKey:t});return(i=r(this,D).get(e.queryHash))==null?void 0:i.state.data}ensureQueryData(t){const e=this.getQueryData(t.queryKey);if(e===void 0)return this.fetchQuery(t);{const i=this.defaultQueryOptions(t),n=r(this,D).build(this,i);return t.revalidateIfStale&&n.isStaleByTime(vt(i.staleTime,n))&&this.prefetchQuery(i),Promise.resolve(e)}}getQueriesData(t){return r(this,D).findAll(t).map(({queryKey:e,state:i})=>{const n=i.data;return[e,n]})}setQueryData(t,e,i){const n=this.defaultQueryOptions({queryKey:t}),a=r(this,D).get(n.queryHash),o=a==null?void 0:a.state.data,u=ts(e,o);if(u!==void 0)return r(this,D).build(this,n).setData(u,{...i,manual:!0})}setQueriesData(t,e,i){return M.batch(()=>r(this,D).findAll(t).map(({queryKey:n})=>[n,this.setQueryData(n,e,i)]))}getQueryState(t){var i;const e=this.defaultQueryOptions({queryKey:t});return(i=r(this,D).get(e.queryHash))==null?void 0:i.state}removeQueries(t){const e=r(this,D);M.batch(()=>{e.findAll(t).forEach(i=>{e.remove(i)})})}resetQueries(t,e){const i=r(this,D),n={type:"active",...t};return M.batch(()=>(i.findAll(t).forEach(a=>{a.reset()}),this.refetchQueries(n,e)))}cancelQueries(t={},e={}){const i={revert:!0,...e},n=M.batch(()=>r(this,D).findAll(t).map(a=>a.cancel(i)));return Promise.all(n).then(L).catch(L)}invalidateQueries(t={},e={}){return M.batch(()=>{if(r(this,D).findAll(t).forEach(n=>{n.invalidate()}),t.refetchType==="none")return Promise.resolve();const i={...t,type:t.refetchType??t.type??"active"};return this.refetchQueries(i,e)})}refetchQueries(t={},e){const i={...e,cancelRefetch:(e==null?void 0:e.cancelRefetch)??!0},n=M.batch(()=>r(this,D).findAll(t).filter(a=>!a.isDisabled()).map(a=>{let o=a.fetch(void 0,i);return i.throwOnError||(o=o.catch(L)),a.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(n).then(L)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const i=r(this,D).build(this,e);return i.isStaleByTime(vt(e.staleTime,i))?i.fetch(e):Promise.resolve(i.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(L).catch(L)}fetchInfiniteQuery(t){return t.behavior=ye(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(L).catch(L)}ensureInfiniteQueryData(t){return t.behavior=ye(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return Nt.isOnline()?r(this,et).resumePausedMutations():Promise.resolve()}getQueryCache(){return r(this,D)}getMutationCache(){return r(this,et)}getDefaultOptions(){return r(this,st)}setDefaultOptions(t){h(this,st,t)}setQueryDefaults(t,e){r(this,Qt).set(pt(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...r(this,Qt).values()];let i={};return e.forEach(n=>{qt(t,n.queryKey)&&(i={...i,...n.defaultOptions})}),i}setMutationDefaults(t,e){r(this,St).set(pt(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...r(this,St).values()];let i={};return e.forEach(n=>{qt(t,n.mutationKey)&&(i={...i,...n.defaultOptions})}),i}defaultQueryOptions(t){if(t._defaulted)return t;const e={...r(this,st).queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=ae(e.queryKey,e)),e.refetchOnReconnect===void 0&&(e.refetchOnReconnect=e.networkMode!=="always"),e.throwOnError===void 0&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.enabled!==!0&&e.queryFn===Te&&(e.enabled=!1),e}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...r(this,st).mutations,...(t==null?void 0:t.mutationKey)&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){r(this,D).clear(),r(this,et).clear()}},D=new WeakMap,et=new WeakMap,st=new WeakMap,Qt=new WeakMap,St=new WeakMap,it=new WeakMap,Pt=new WeakMap,Rt=new WeakMap,Pe),T,v,jt,I,lt,Ft,V,xt,Dt,Et,ft,dt,rt,Mt,C,Ut,Wt,zt,Yt,Jt,Xt,Zt,te,$e,Re,ds=(Re=class extends At{constructor(t,e){super();l(this,C);l(this,T);l(this,v);l(this,jt);l(this,I);l(this,lt);l(this,Ft);l(this,V);l(this,xt);l(this,Dt);l(this,Et);l(this,ft);l(this,dt);l(this,rt);l(this,Mt,new Set);this.options=e,h(this,T,t),h(this,V,null),this.bindMethods(),this.setOptions(e)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(r(this,v).addObserver(this),me(r(this,v),this.options)?p(this,C,Ut).call(this):this.updateResult(),p(this,C,Jt).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return ee(r(this,v),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ee(r(this,v),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,p(this,C,Xt).call(this),p(this,C,Zt).call(this),r(this,v).removeObserver(this)}setOptions(t,e){const i=this.options,n=r(this,v);if(this.options=r(this,T).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof N(this.options.enabled,r(this,v))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");p(this,C,te).call(this),r(this,v).setOptions(this.options),i._defaulted&&!Ht(this.options,i)&&r(this,T).getQueryCache().notify({type:"observerOptionsUpdated",query:r(this,v),observer:this});const a=this.hasListeners();a&&ve(r(this,v),n,this.options,i)&&p(this,C,Ut).call(this),this.updateResult(e),a&&(r(this,v)!==n||N(this.options.enabled,r(this,v))!==N(i.enabled,r(this,v))||vt(this.options.staleTime,r(this,v))!==vt(i.staleTime,r(this,v)))&&p(this,C,Wt).call(this);const o=p(this,C,zt).call(this);a&&(r(this,v)!==n||N(this.options.enabled,r(this,v))!==N(i.enabled,r(this,v))||o!==r(this,rt))&&p(this,C,Yt).call(this,o)}getOptimisticResult(t){const e=r(this,T).getQueryCache().build(r(this,T),t),i=this.createResult(e,t);return ps(this,i)&&(h(this,I,i),h(this,Ft,this.options),h(this,lt,r(this,v).state)),i}getCurrentResult(){return r(this,I)}trackResult(t,e){const i={};return Object.keys(t).forEach(n=>{Object.defineProperty(i,n,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(n),e==null||e(n),t[n])})}),i}trackProp(t){r(this,Mt).add(t)}getCurrentQuery(){return r(this,v)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const e=r(this,T).defaultQueryOptions(t),i=r(this,T).getQueryCache().build(r(this,T),e);return i.isFetchingOptimistic=!0,i.fetch().then(()=>this.createResult(i,e))}fetch(t){return p(this,C,Ut).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),r(this,I)))}createResult(t,e){var W;const i=r(this,v),n=this.options,a=r(this,I),o=r(this,lt),u=r(this,Ft),S=t!==i?t.state:r(this,jt),{state:f}=t;let c={...f},g=!1,d;if(e._optimisticResults){const b=this.hasListeners(),k=!b&&me(t,e),We=b&&ve(t,i,e,n);(k||We)&&(c={...c,...He(f.data,t.options)}),e._optimisticResults==="isRestoring"&&(c.fetchStatus="idle")}let{error:P,errorUpdatedAt:R,status:F}=c;if(e.select&&c.data!==void 0)if(a&&c.data===(o==null?void 0:o.data)&&e.select===r(this,xt))d=r(this,Dt);else try{h(this,xt,e.select),d=e.select(c.data),d=Vt(a==null?void 0:a.data,d,e),h(this,Dt,d),h(this,V,null)}catch(b){h(this,V,b)}else d=c.data;if(e.placeholderData!==void 0&&d===void 0&&F==="pending"){let b;if(a!=null&&a.isPlaceholderData&&e.placeholderData===(u==null?void 0:u.placeholderData))b=a.data;else if(b=typeof e.placeholderData=="function"?e.placeholderData((W=r(this,Et))==null?void 0:W.state.data,r(this,Et)):e.placeholderData,e.select&&b!==void 0)try{b=e.select(b),h(this,V,null)}catch(k){h(this,V,k)}b!==void 0&&(F="success",d=Vt(a==null?void 0:a.data,b,e),g=!0)}r(this,V)&&(P=r(this,V),d=r(this,Dt),R=Date.now(),F="error");const O=c.fetchStatus==="fetching",w=F==="pending",Q=F==="error",E=w&&O,U=d!==void 0;return{status:F,fetchStatus:c.fetchStatus,isPending:w,isSuccess:F==="success",isError:Q,isInitialLoading:E,isLoading:E,data:d,dataUpdatedAt:c.dataUpdatedAt,error:P,errorUpdatedAt:R,failureCount:c.fetchFailureCount,failureReason:c.fetchFailureReason,errorUpdateCount:c.errorUpdateCount,isFetched:c.dataUpdateCount>0||c.errorUpdateCount>0,isFetchedAfterMount:c.dataUpdateCount>S.dataUpdateCount||c.errorUpdateCount>S.errorUpdateCount,isFetching:O,isRefetching:O&&!w,isLoadingError:Q&&!U,isPaused:c.fetchStatus==="paused",isPlaceholderData:g,isRefetchError:Q&&U,isStale:oe(t,e),refetch:this.refetch}}updateResult(t){const e=r(this,I),i=this.createResult(r(this,v),this.options);if(h(this,lt,r(this,v).state),h(this,Ft,this.options),r(this,lt).data!==void 0&&h(this,Et,r(this,v)),Ht(i,e))return;h(this,I,i);const n={},a=()=>{if(!e)return!0;const{notifyOnChangeProps:o}=this.options,u=typeof o=="function"?o():o;if(u==="all"||!u&&!r(this,Mt).size)return!0;const y=new Set(u??r(this,Mt));return this.options.throwOnError&&y.add("error"),Object.keys(r(this,I)).some(S=>{const f=S;return r(this,I)[f]!==e[f]&&y.has(f)})};(t==null?void 0:t.listeners)!==!1&&a()&&(n.listeners=!0),p(this,C,$e).call(this,{...n,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&p(this,C,Jt).call(this)}},T=new WeakMap,v=new WeakMap,jt=new WeakMap,I=new WeakMap,lt=new WeakMap,Ft=new WeakMap,V=new WeakMap,xt=new WeakMap,Dt=new WeakMap,Et=new WeakMap,ft=new WeakMap,dt=new WeakMap,rt=new WeakMap,Mt=new WeakMap,C=new WeakSet,Ut=function(t){p(this,C,te).call(this);let e=r(this,v).fetch(this.options,t);return t!=null&&t.throwOnError||(e=e.catch(L)),e},Wt=function(){p(this,C,Xt).call(this);const t=vt(this.options.staleTime,r(this,v));if(yt||r(this,I).isStale||!$t(t))return;const i=qe(r(this,I).dataUpdatedAt,t)+1;h(this,ft,setTimeout(()=>{r(this,I).isStale||this.updateResult()},i))},zt=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(r(this,v)):this.options.refetchInterval)??!1},Yt=function(t){p(this,C,Zt).call(this),h(this,rt,t),!(yt||N(this.options.enabled,r(this,v))===!1||!$t(r(this,rt))||r(this,rt)===0)&&h(this,dt,setInterval(()=>{(this.options.refetchIntervalInBackground||ue.isFocused())&&p(this,C,Ut).call(this)},r(this,rt)))},Jt=function(){p(this,C,Wt).call(this),p(this,C,Yt).call(this,p(this,C,zt).call(this))},Xt=function(){r(this,ft)&&(clearTimeout(r(this,ft)),h(this,ft,void 0))},Zt=function(){r(this,dt)&&(clearInterval(r(this,dt)),h(this,dt,void 0))},te=function(){const t=r(this,T).getQueryCache().build(r(this,T),this.options);if(t===r(this,v))return;const e=r(this,v);h(this,v,t),h(this,jt,t.state),this.hasListeners()&&(e==null||e.removeObserver(this),t.addObserver(this))},$e=function(t){M.batch(()=>{t.listeners&&this.listeners.forEach(e=>{e(r(this,I))}),r(this,T).getQueryCache().notify({query:r(this,v),type:"observerResultsUpdated"})})},Re);function ys(s,t){return N(t.enabled,s)!==!1&&s.state.data===void 0&&!(s.state.status==="error"&&t.retryOnMount===!1)}function me(s,t){return ys(s,t)||s.state.data!==void 0&&ee(s,t,t.refetchOnMount)}function ee(s,t,e){if(N(t.enabled,s)!==!1){const i=typeof e=="function"?e(s):e;return i==="always"||i!==!1&&oe(s,t)}return!1}function ve(s,t,e,i){return(s!==t||N(i.enabled,s)===!1)&&(!e.suspense||s.state.status!=="error")&&oe(s,e)}function oe(s,t){return N(t.enabled,s)!==!1&&s.isStaleByTime(vt(t.staleTime,s))}function ps(s,t){return!Ht(s.getCurrentResult(),t)}var nt,at,j,Y,J,kt,se,Fe,ms=(Fe=class extends At{constructor(t,e){super();l(this,J);l(this,nt);l(this,at);l(this,j);l(this,Y);h(this,nt,t),this.setOptions(e),this.bindMethods(),p(this,J,kt).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){var i;const e=this.options;this.options=r(this,nt).defaultMutationOptions(t),Ht(this.options,e)||r(this,nt).getMutationCache().notify({type:"observerOptionsUpdated",mutation:r(this,j),observer:this}),e!=null&&e.mutationKey&&this.options.mutationKey&&pt(e.mutationKey)!==pt(this.options.mutationKey)?this.reset():((i=r(this,j))==null?void 0:i.state.status)==="pending"&&r(this,j).setOptions(this.options)}onUnsubscribe(){var t;this.hasListeners()||(t=r(this,j))==null||t.removeObserver(this)}onMutationUpdate(t){p(this,J,kt).call(this),p(this,J,se).call(this,t)}getCurrentResult(){return r(this,at)}reset(){var t;(t=r(this,j))==null||t.removeObserver(this),h(this,j,void 0),p(this,J,kt).call(this),p(this,J,se).call(this)}mutate(t,e){var i;return h(this,Y,e),(i=r(this,j))==null||i.removeObserver(this),h(this,j,r(this,nt).getMutationCache().build(r(this,nt),this.options)),r(this,j).addObserver(this),r(this,j).execute(t)}},nt=new WeakMap,at=new WeakMap,j=new WeakMap,Y=new WeakMap,J=new WeakSet,kt=function(){var e;const t=((e=r(this,j))==null?void 0:e.state)??Ge();h(this,at,{...t,isPending:t.status==="pending",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset})},se=function(t){M.batch(()=>{var e,i,n,a,o,u,y,S;if(r(this,Y)&&this.hasListeners()){const f=r(this,at).variables,c=r(this,at).context;(t==null?void 0:t.type)==="success"?((i=(e=r(this,Y)).onSuccess)==null||i.call(e,t.data,f,c),(a=(n=r(this,Y)).onSettled)==null||a.call(n,t.data,null,f,c)):(t==null?void 0:t.type)==="error"&&((u=(o=r(this,Y)).onError)==null||u.call(o,t.error,f,c),(S=(y=r(this,Y)).onSettled)==null||S.call(y,void 0,t.error,f,c))}this.listeners.forEach(f=>{f(r(this,at))})})},Fe),vs="VUE_QUERY_CLIENT";function Be(s){const t=s?`:${s}`:"";return`${vs}${t}`}function ie(s,t){Object.keys(s).forEach(e=>{s[e]=t[e]})}function re(s,t,e="",i=0){if(t){const n=t(s,e,i);if(n===void 0&&De(s)||n!==void 0)return n}if(Array.isArray(s))return s.map((n,a)=>re(n,t,String(a),i+1));if(typeof s=="object"&&gs(s)){const n=Object.entries(s).map(([a,o])=>[a,re(o,t,a,i+1)]);return Object.fromEntries(n)}return s}function bs(s,t){return re(s,t)}function m(s,t=!1){return bs(s,(e,i,n)=>{if(n===1&&i==="queryKey")return m(e,!0);if(t&&Os(e))return m(e(),t);if(De(e))return m(ze(e),t)})}function gs(s){if(Object.prototype.toString.call(s)!=="[object Object]")return!1;const t=Object.getPrototypeOf(s);return t===null||t===Object.prototype}function Os(s){return typeof s=="function"}function ne(s,t){return typeof s=="function"?s(...t):!!s}function Ve(s=""){if(!Ye())throw new Error("vue-query hooks can only be used inside setup() function or functions that support injection context.");const t=Be(s),e=Je(t);if(!e)throw new Error("No 'queryClient' found in Vue context, use 'VueQueryPlugin' to properly initialize the library.");return e}var Cs=class extends Ne{find(s){return super.find(m(s))}findAll(s={}){return super.findAll(m(s))}},ws=class extends _e{find(s){return super.find(m(s))}findAll(s={}){return super.findAll(m(s))}},Qs=class extends fs{constructor(s={}){const t={defaultOptions:s.defaultOptions,queryCache:s.queryCache||new Cs,mutationCache:s.mutationCache||new ws};super(t),this.isRestoring=Xe(!1)}isFetching(s={}){return super.isFetching(m(s))}isMutating(s={}){return super.isMutating(m(s))}getQueryData(s){return super.getQueryData(m(s))}ensureQueryData(s){return super.ensureQueryData(m(s))}getQueriesData(s){return super.getQueriesData(m(s))}setQueryData(s,t,e={}){return super.setQueryData(m(s),t,m(e))}setQueriesData(s,t,e={}){return super.setQueriesData(m(s),t,m(e))}getQueryState(s){return super.getQueryState(m(s))}removeQueries(s={}){return super.removeQueries(m(s))}resetQueries(s={},t={}){return super.resetQueries(m(s),m(t))}cancelQueries(s={},t={}){return super.cancelQueries(m(s),m(t))}invalidateQueries(s={},t={}){const e=m(s),i=m(t);if(super.invalidateQueries({...e,refetchType:"none"},i),e.refetchType==="none")return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return Ze().then(()=>super.refetchQueries(n,i))}refetchQueries(s={},t={}){return super.refetchQueries(m(s),m(t))}fetchQuery(s){return super.fetchQuery(m(s))}prefetchQuery(s){return super.prefetchQuery(m(s))}fetchInfiniteQuery(s){return super.fetchInfiniteQuery(m(s))}prefetchInfiniteQuery(s){return super.prefetchInfiniteQuery(m(s))}setDefaultOptions(s){super.setDefaultOptions(m(s))}setQueryDefaults(s,t){super.setQueryDefaults(m(s),m(t))}getQueryDefaults(s){return super.getQueryDefaults(m(s))}setMutationDefaults(s,t){super.setMutationDefaults(m(s),m(t))}getMutationDefaults(s){return super.getMutationDefaults(m(s))}},Ms={install:(s,t={})=>{const e=Be(t.queryClientKey);let i;if("queryClient"in t&&t.queryClient)i=t.queryClient;else{const o="queryClientConfig"in t?t.queryClientConfig:void 0;i=new Qs(o)}yt||i.mount();let n=()=>{};if(t.clientPersister){i.isRestoring.value=!0;const[o,u]=t.clientPersister(i);n=o,u.then(()=>{var y;i.isRestoring.value=!1,(y=t.clientPersisterOnSuccess)==null||y.call(t,i)})}const a=()=>{i.unmount(),n()};if(s.onUnmount)s.onUnmount(a);else{const o=s.unmount;s.unmount=function(){a(),o()}}s.provide(e,i)}};function Ss(s,t,e){const i=Ve(),n=Ee(()=>{const d=m(t);typeof d.enabled=="function"&&(d.enabled=d.enabled());const P=i.defaultQueryOptions(d);return P._optimisticResults=i.isRestoring.value?"isRestoring":"optimistic",P}),a=new s(i,n.value),o=Me(a.getCurrentResult());let u=()=>{};mt(i.isRestoring,d=>{d||(u(),u=a.subscribe(P=>{ie(o,P)}))},{immediate:!0});const y=()=>{a.setOptions(n.value),ie(o,a.getCurrentResult())};mt(n,y),Ae(()=>{u()});const S=(...d)=>(y(),o.refetch(...d)),f=()=>new Promise((d,P)=>{let R=()=>{};const F=()=>{if(n.value.enabled!==!1){a.setOptions(n.value);const O=a.getOptimisticResult(n.value);O.isStale?(R(),a.fetchOptimistic(n.value).then(d,w=>{ne(n.value.throwOnError,[w,a.getCurrentQuery()])?P(w):d(a.getCurrentResult())})):(R(),d(O))}};F(),R=mt(n,F)});mt(()=>o.error,d=>{if(o.isError&&!o.isFetching&&ne(n.value.throwOnError,[d,a.getCurrentQuery()]))throw d});const g=Ue(o);for(const d in o)typeof o[d]=="function"&&(g[d]=o[d]);return g.suspense=f,g.refetch=S,g}function As(s,t){return Ss(ds,s)}function Us(s,t){const e=Ve(),i=Ee(()=>e.defaultMutationOptions(m(s))),n=new ms(e,i.value),a=Me(n.getCurrentResult()),o=n.subscribe(f=>{ie(a,f)}),u=(f,c)=>{n.mutate(f,c).catch(()=>{})};mt(i,()=>{n.setOptions(i.value)}),Ae(()=>{o()});const S=Ue(a);return mt(()=>a.error,f=>{if(f&&ne(i.value.throwOnError,[f]))throw f}),{...S,mutate:u,mutateAsync:a.mutate,reset:a.reset}}export{Qs as Q,Ms as V,As as a,Us as b,Ve as u};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Z as s,a as h,b as a}from"./zod.DnW1_kUe.0.0.31-alpha.
|
|
1
|
+
import{Z as s,a as h,b as a}from"./zod.DnW1_kUe.0.0.31-alpha.9.js";import{i as j,c as y}from"./vee-validate.EBXl7pXZ.0.0.31-alpha.9.js";/**
|
|
2
2
|
* vee-validate v4.13.2
|
|
3
3
|
* (c) 2024 Abdelrahman Awad
|
|
4
4
|
* @license MIT
|