camera.ui3 0.0.30-alpha.1 → 0.0.31-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/interface/@camera.ui.DiVLAlWa.0.0.31-alpha.1.js +3 -0
- package/dist/interface/@intlify.D-zKcAzQ.0.0.31-alpha.1.js +19 -0
- package/dist/interface/{@mdi.DnMbZhUH.0.0.30-alpha.0.js → @mdi.DVdKciOk.0.0.31-alpha.1.js} +1 -1
- package/dist/interface/@tanstack.BJGqcZhm.0.0.31-alpha.1.js +1 -0
- package/dist/interface/{@vee-validate.BJKTyKHK.0.0.30-alpha.0.js → @vee-validate.DS0PS3j6.0.0.31-alpha.1.js} +1 -1
- package/dist/interface/@vue.DawUEI-_.0.0.31-alpha.1.js +17 -0
- package/dist/interface/{@vueform.DIw88mcs.0.0.30-alpha.0.js → @vueform.CrIybjCM.0.0.31-alpha.1.js} +1 -1
- package/dist/interface/{@vueuse.DK7Mz0BT.0.0.30-alpha.0.js → @vueuse.CE21vLPO.0.0.31-alpha.1.js} +1 -1
- package/dist/interface/{Account.D23CSQgK.0.0.30-alpha.0.js → Account.37zpAR7G.0.0.31-alpha.1.js} +1 -1
- package/dist/interface/Adminpanel.QX_wOiEm.0.0.31-alpha.1.js +2 -0
- package/dist/interface/{Appearance.az1S-8rV.0.0.30-alpha.0.js → Appearance.CK5odwfx.0.0.31-alpha.1.js} +1 -1
- package/dist/interface/{Backup.BxjbY7JO.0.0.30-alpha.0.js → Backup.KGfYKnt1.0.0.31-alpha.1.js} +1 -1
- package/dist/interface/{Camera.CWxxie6C.0.0.30-alpha.0.js → Camera.geXoSBwq.0.0.31-alpha.1.js} +1 -1
- package/dist/interface/{Cameras.Cs1dXd-W.0.0.30-alpha.0.js → Cameras.BifnE2Ho.0.0.31-alpha.1.js} +1 -1
- package/dist/interface/{Camview.uyIq-pxm.0.0.30-alpha.0.js → Camview.saeD7Cld.0.0.31-alpha.1.js} +1 -1
- package/dist/interface/Config.gIZc0VBW.0.0.31-alpha.1.js +1 -0
- package/dist/interface/{Console.C1dI5f9x.0.0.30-alpha.0.js → Console.8nQoG55W.0.0.31-alpha.1.js} +2 -2
- package/dist/interface/FirstSteps.B7kBl3c8.0.0.31-alpha.1.js +1 -0
- package/dist/interface/{NewCamera.DjMFd-OB.0.0.30-alpha.0.js → NewCamera.BWr_-6fi.0.0.31-alpha.1.js} +2 -2
- package/dist/interface/Plugin.DcBf_tE9.0.0.31-alpha.1.js +1 -0
- package/dist/interface/Plugins.BE1XNl-I.0.0.31-alpha.1.js +1 -0
- package/dist/interface/Recordings.DDzb1IS2.0.0.31-alpha.1.js +1 -0
- package/dist/interface/Recordings.DqMlr_TE.0.0.31-alpha.1.js +1 -0
- package/dist/interface/{Settings.DAletWZO.0.0.30-alpha.0.js → Settings.DkzqvCSX.0.0.31-alpha.1.js} +1 -1
- package/dist/interface/System.CBF9KawE.0.0.31-alpha.1.js +4 -0
- package/dist/interface/{User.VLcbTFm_.0.0.30-alpha.0.js → User.DBzrI83n.0.0.31-alpha.1.js} +1 -1
- package/dist/interface/{VConfigEditor.vue_vue_type_script_setup_true_lang.pXHIBxVl.0.0.30-alpha.0.js → VConfigEditor.vue_vue_type_script_setup_true_lang.Cg40imwH.0.0.31-alpha.1.js} +2 -2
- package/dist/interface/VConsole.DAPj8DNH.0.0.31-alpha.1.js +1 -0
- package/dist/interface/VPlayer.CBjV-43x.0.0.31-alpha.1.js +1 -0
- package/dist/interface/{VPluginCard.D5f85QIk.0.0.30-alpha.0.js → VPluginCard.BrQRCGb7.0.0.31-alpha.1.js} +2 -2
- package/dist/interface/{ace-builds.SRW0xGs1.0.0.30-alpha.0.js → ace-builds.BaMHJovj.0.0.31-alpha.1.js} +1 -1
- package/dist/interface/{apexcharts.BV8prH5x.0.0.30-alpha.0.js → apexcharts.DWOjIkYB.0.0.31-alpha.1.js} +1 -1
- package/dist/interface/assets/Config.0.0.31-alpha.1.xOTKGJ5Y.css +1 -0
- package/dist/interface/assets/FirstSteps.0.0.31-alpha.1.CCo2y-sU.css +1 -0
- package/dist/interface/assets/NewCamera.0.0.31-alpha.1.BWK7TkdY.css +1 -0
- package/dist/interface/assets/{VPlayer.0.0.30-alpha.0.CZXlTn4I.css → VPlayer.0.0.31-alpha.1.BQMP8JwH.css} +1 -1
- package/dist/interface/assets/VPluginCard.0.0.31-alpha.1.CyNvwFGk.css +1 -0
- package/dist/interface/assets/{main.0.0.30-alpha.0.BOf8IWhK.css → main.0.0.31-alpha.1.CqDyfc1x.css} +1 -1
- package/dist/interface/{dnd-core.BdsXoke-.0.0.30-alpha.0.js → dnd-core.BRgKn-ni.0.0.31-alpha.1.js} +1 -1
- package/dist/interface/{draggabilly.D9j4BYFu.0.0.30-alpha.0.js → draggabilly.xPbt2i-E.0.0.31-alpha.1.js} +1 -1
- package/dist/interface/{engine.io-client.di4Pt8W8.0.0.30-alpha.0.js → engine.io-client.D_FYXVde.0.0.31-alpha.1.js} +1 -1
- package/dist/interface/{ev-emitter.Dxl4QoSg.0.0.30-alpha.0.js → ev-emitter.DVtIKMUi.0.0.31-alpha.1.js} +1 -1
- package/dist/interface/{fast-deep-equal.BUna8KlC.0.0.30-alpha.0.js → fast-deep-equal.DZ2GBz4R.0.0.31-alpha.1.js} +1 -1
- package/dist/interface/{highlight.js.CMosnU3p.0.0.30-alpha.0.js → highlight.js.B8oGD-a5.0.0.31-alpha.1.js} +1 -1
- package/dist/interface/index.html +36 -37
- package/dist/interface/{linkify-it.B9RFwlcp.0.0.30-alpha.0.js → linkify-it.DA7Ze_lr.0.0.31-alpha.1.js} +1 -1
- package/dist/interface/main.DGSv0lpw.0.0.31-alpha.1.js +2 -0
- package/dist/interface/{markdown-it.DAiultxC.0.0.30-alpha.0.js → markdown-it.BgXfoNiC.0.0.31-alpha.1.js} +1 -1
- package/dist/interface/{nprogress.C2KbBHcZ.0.0.30-alpha.0.js → nprogress.CCThJtwB.0.0.31-alpha.1.js} +1 -1
- package/dist/interface/{pinia.BPnxDxQ3.0.0.30-alpha.0.js → pinia.DBlopgbi.0.0.31-alpha.1.js} +1 -1
- package/dist/interface/{plugins.DIEspWyc.0.0.30-alpha.0.js → plugins.DGuzR_4t.0.0.31-alpha.1.js} +1 -1
- package/dist/interface/pwa/pwa-120x120.png +0 -0
- package/dist/interface/pwa/pwa-144x144.png +0 -0
- package/dist/interface/pwa/pwa-152x152.png +0 -0
- package/dist/interface/pwa/pwa-167x167.png +0 -0
- package/dist/interface/pwa/pwa-192x192.png +0 -0
- package/dist/interface/pwa/pwa-24x24.png +0 -0
- package/dist/interface/pwa/pwa-36x36.png +0 -0
- package/dist/interface/pwa/pwa-48x48.png +0 -0
- package/dist/interface/pwa/pwa-50x50.png +0 -0
- package/dist/interface/pwa/pwa-64x64.png +0 -0
- package/dist/interface/pwa/pwa-72x72.png +0 -0
- package/dist/interface/pwa/pwa-88x88.png +0 -0
- package/dist/interface/pwa/pwa-96x96.png +0 -0
- package/dist/interface/{qrcode.DrYVb5am.0.0.30-alpha.0.js → qrcode.DBUqKjhM.0.0.31-alpha.1.js} +1 -1
- package/dist/interface/{react-dnd-touch-backend.ByHGbrKq.0.0.30-alpha.0.js → react-dnd-touch-backend.Cn468rxU.0.0.31-alpha.1.js} +1 -1
- package/dist/interface/{rxjs.Dl5P76vZ.0.0.30-alpha.0.js → rxjs.B3jHImLM.0.0.31-alpha.1.js} +1 -1
- package/dist/interface/{socket.io-client.Cf7ABgrO.0.0.30-alpha.0.js → socket.io-client.DOQMUUDG.0.0.31-alpha.1.js} +1 -1
- package/dist/interface/{socket.io-parser.DHnwqfTj.0.0.30-alpha.0.js → socket.io-parser.DrTUybFI.0.0.31-alpha.1.js} +1 -1
- package/dist/interface/sw.js +1 -1
- package/dist/interface/{system.23ZKsQ9W.0.0.30-alpha.0.js → system.BXmJeGXf.0.0.31-alpha.1.js} +1 -1
- package/dist/interface/types.Cz9TaZAP.0.0.31-alpha.1.js +1 -0
- package/dist/interface/{ui.9t-Av5-L.0.0.30-alpha.0.js → ui.Z6gN-OBk.0.0.31-alpha.1.js} +1 -1
- package/dist/interface/{unidragger.zHlf1Df_.0.0.30-alpha.0.js → unidragger.CiW42i3_.0.0.31-alpha.1.js} +1 -1
- package/dist/interface/utils.mAKpSMLY.0.0.31-alpha.1.js +1 -0
- package/dist/interface/{v-calendar.u5cKUC4g.0.0.30-alpha.0.js → v-calendar.DWtxUKjc.0.0.31-alpha.1.js} +1 -1
- package/dist/interface/{vee-validate.DLoDjJ2f.0.0.30-alpha.0.js → vee-validate.CDaF-zqh.0.0.31-alpha.1.js} +1 -1
- package/dist/interface/vue-i18n.Cy1GkQqv.0.0.31-alpha.1.js +9 -0
- package/dist/interface/{vue-inline-svg.Cc6uL4nI.0.0.30-alpha.0.js → vue-inline-svg.BaB6RHqt.0.0.31-alpha.1.js} +1 -1
- package/dist/interface/{vue-router.CgUDt9kL.0.0.30-alpha.0.js → vue-router.CweVAAmW.0.0.31-alpha.1.js} +1 -1
- package/dist/interface/{vue3-apexcharts.D8ONfVUq.0.0.30-alpha.0.js → vue3-apexcharts.pDIua9qA.0.0.31-alpha.1.js} +1 -1
- package/dist/interface/{vue3-dnd.V9l5pvP2.0.0.30-alpha.0.js → vue3-dnd.B8MwpWIA.0.0.31-alpha.1.js} +1 -1
- package/dist/interface/{vue3-toastify.CjNgo6aC.0.0.30-alpha.0.js → vue3-toastify.QLNP8Pdf.0.0.31-alpha.1.js} +1 -1
- package/dist/interface/{vuetify.Box3fVLm.0.0.30-alpha.0.js → vuetify.Br9zrHwl.0.0.31-alpha.1.js} +1 -1
- package/dist/server/bin/cameraui.js +4 -4
- package/dist/server/bin/cameraui.js.map +1 -1
- package/dist/server/package.json +9 -8
- package/dist/server/requirements.txt +2 -2
- package/dist/server/src/api/controllers/plugins.controller.js +23 -24
- package/dist/server/src/api/controllers/plugins.controller.js.map +1 -1
- package/dist/server/src/api/controllers/system.controller.js +1 -1
- package/dist/server/src/api/controllers/system.controller.js.map +1 -1
- package/dist/server/src/api/database/index.js +29 -2
- package/dist/server/src/api/database/index.js.map +1 -1
- package/dist/server/src/api/database/types.d.ts +1 -122
- package/dist/server/src/api/index.js +4 -4
- package/dist/server/src/api/index.js.map +1 -1
- package/dist/server/src/api/plugins/useragent.plugin.d.ts +1 -1
- package/dist/server/src/api/plugins/useragent.plugin.js +1 -1
- package/dist/server/src/api/plugins/useragent.plugin.js.map +1 -1
- package/dist/server/src/api/schemas/cameras.schema.d.ts +203 -183
- package/dist/server/src/api/schemas/cameras.schema.js +2 -0
- package/dist/server/src/api/schemas/cameras.schema.js.map +1 -1
- package/dist/server/src/api/schemas/config.schema.d.ts +12 -12
- package/dist/server/src/api/schemas/go2rtc.schema.d.ts +129 -129
- package/dist/server/src/api/schemas/plugins.schema.d.ts +5 -5
- package/dist/server/src/api/schemas/users.schema.d.ts +88 -88
- package/dist/server/src/api/services/cameras.service.d.ts +6 -5
- package/dist/server/src/api/services/cameras.service.js +68 -38
- package/dist/server/src/api/services/cameras.service.js.map +1 -1
- package/dist/server/src/api/types/index.d.ts +3 -3
- package/dist/server/src/api/utils/cameraSource.d.ts +2 -0
- package/dist/server/src/api/utils/cameraSource.js +34 -0
- package/dist/server/src/api/utils/cameraSource.js.map +1 -0
- package/dist/server/src/api/websocket/nsp/plugins.d.ts +1 -1
- package/dist/server/src/api/websocket/types.d.ts +1 -1
- package/dist/server/src/api.d.ts +2 -2
- package/dist/server/src/camera/controller.d.ts +13 -3
- package/dist/server/src/camera/controller.js +263 -4
- package/dist/server/src/camera/controller.js.map +1 -1
- package/dist/server/src/camera/types.d.ts +1 -318
- package/dist/server/src/camera/types.js +1 -6
- package/dist/server/src/camera/types.js.map +1 -1
- package/dist/server/src/decoder/types.d.ts +0 -127
- package/dist/server/src/decoder/worker.d.ts +2 -2
- package/dist/server/src/decoder/worker.js +2 -2
- package/dist/server/src/decoder/worker.js.map +1 -1
- package/dist/server/src/nats/index.d.ts +4 -4
- package/dist/server/src/nats/index.js +1 -2
- package/dist/server/src/nats/index.js.map +1 -1
- package/dist/server/src/nats/proxy/cameraDevice.d.ts +3 -3
- package/dist/server/src/nats/proxy/cameraDevice.js +10 -0
- package/dist/server/src/nats/proxy/cameraDevice.js.map +1 -1
- package/dist/server/src/nats/proxy/coreManager.d.ts +3 -5
- package/dist/server/src/nats/proxy/coreManager.js +1 -1
- package/dist/server/src/nats/proxy/coreManager.js.map +1 -1
- package/dist/server/src/nats/proxy/deviceManager.d.ts +3 -5
- package/dist/server/src/nats/proxy/deviceManager.js.map +1 -1
- package/dist/server/src/nats/types.d.ts +3 -101
- package/dist/server/src/nats/utils.d.ts +1 -1
- package/dist/server/src/nats/websocket.d.ts +2 -2
- package/dist/server/src/plugins/index.js +1 -1
- package/dist/server/src/plugins/index.js.map +1 -1
- package/dist/server/src/plugins/plugin.d.ts +2 -2
- package/dist/server/src/plugins/plugin.js +1 -1
- package/dist/server/src/plugins/plugin.js.map +1 -1
- package/dist/server/src/plugins/types.d.ts +1 -181
- package/dist/server/src/plugins/types.js +0 -15
- package/dist/server/src/plugins/types.js.map +1 -1
- package/dist/server/src/plugins/worker.d.ts +1 -1
- package/dist/server/src/plugins/worker.js +2 -2
- package/dist/server/src/plugins/worker.js.map +1 -1
- package/dist/server/src/services/config/constants.d.ts +2 -1
- package/dist/server/src/services/config/constants.js.map +1 -1
- package/dist/server/src/services/config/types.d.ts +1 -5
- package/dist/server/src/services/config/types.js.map +1 -1
- package/localdeps.txt +2 -1
- package/package.json +9 -8
- package/dist/interface/@camera.ui.KA9bRSoR.0.0.30-alpha.0.js +0 -3
- package/dist/interface/@intlify.YW_pt133.0.0.30-alpha.0.js +0 -15
- package/dist/interface/@tanstack.CTzdjGxD.0.0.30-alpha.0.js +0 -1
- package/dist/interface/@vue.BeJw0wEm.0.0.30-alpha.0.js +0 -17
- package/dist/interface/Adminpanel.CbDtQWxn.0.0.30-alpha.0.js +0 -2
- package/dist/interface/Config.DnuL5NIv.0.0.30-alpha.0.js +0 -1
- package/dist/interface/FirstSteps.C_TTm4lX.0.0.30-alpha.0.js +0 -1
- package/dist/interface/Plugin.rLO6u13g.0.0.30-alpha.0.js +0 -1
- package/dist/interface/Plugins.Dr-sUa9o.0.0.30-alpha.0.js +0 -1
- package/dist/interface/Recordings.4iG-hK8g.0.0.30-alpha.0.js +0 -1
- package/dist/interface/Recordings.Dxh2d-IQ.0.0.30-alpha.0.js +0 -1
- package/dist/interface/System.Pv01yz8u.0.0.30-alpha.0.js +0 -4
- package/dist/interface/VConsole.BUZLhyeb.0.0.30-alpha.0.js +0 -1
- package/dist/interface/VPlayer.DW5rNren.0.0.30-alpha.0.js +0 -1
- package/dist/interface/assets/Config.0.0.30-alpha.0.k4QpWumg.css +0 -1
- package/dist/interface/assets/FirstSteps.0.0.30-alpha.0.B3-pv8-a.css +0 -1
- package/dist/interface/assets/NewCamera.0.0.30-alpha.0.DJ3tUBT_.css +0 -1
- package/dist/interface/assets/VPluginCard.0.0.30-alpha.0.CIL48ca_.css +0 -1
- package/dist/interface/main.CNzh1Rg5.0.0.30-alpha.0.js +0 -2
- package/dist/interface/utils.BvINh1mj.0.0.30-alpha.0.js +0 -1
- package/dist/interface/vue-i18n.1W5jhc7l.0.0.30-alpha.0.js +0 -5
- package/dist/server/src/plugins/interfaces/audioDetection.d.ts +0 -7
- package/dist/server/src/plugins/interfaces/audioDetection.js +0 -4
- package/dist/server/src/plugins/interfaces/audioDetection.js.map +0 -1
- package/dist/server/src/plugins/interfaces/base.d.ts +0 -6
- package/dist/server/src/plugins/interfaces/base.js +0 -3
- package/dist/server/src/plugins/interfaces/base.js.map +0 -1
- package/dist/server/src/plugins/interfaces/motionDetection.d.ts +0 -6
- package/dist/server/src/plugins/interfaces/motionDetection.js +0 -4
- package/dist/server/src/plugins/interfaces/motionDetection.js.map +0 -1
- package/dist/server/src/plugins/interfaces/objectDetection.d.ts +0 -7
- package/dist/server/src/plugins/interfaces/objectDetection.js +0 -4
- package/dist/server/src/plugins/interfaces/objectDetection.js.map +0 -1
- package/dist/server/src/services/logger/types.d.ts +0 -8
- package/dist/server/src/services/logger/types.js +0 -2
- package/dist/server/src/services/logger/types.js.map +0 -1
- /package/dist/interface/{@babel.l0sNRNKZ.0.0.30-alpha.0.js → @babel.l0sNRNKZ.0.0.31-alpha.1.js} +0 -0
- /package/dist/interface/{@popperjs.BQBsAJpH.0.0.30-alpha.0.js → @popperjs.BQBsAJpH.0.0.31-alpha.1.js} +0 -0
- /package/dist/interface/{@react-dnd.CcwRs9xb.0.0.30-alpha.0.js → @react-dnd.CcwRs9xb.0.0.31-alpha.1.js} +0 -0
- /package/dist/interface/{@socket.io.Dkula2eQ.0.0.30-alpha.0.js → @socket.io.Dkula2eQ.0.0.31-alpha.1.js} +0 -0
- /package/dist/interface/{@xterm.CnserxUX.0.0.30-alpha.0.js → @xterm.C4__i-J_.0.0.31-alpha.1.js} +0 -0
- /package/dist/interface/assets/{@vueform.0.0.30-alpha.0.h7tNX9p6.css → @vueform.0.0.31-alpha.1.h7tNX9p6.css} +0 -0
- /package/dist/interface/assets/{@xterm.0.0.30-alpha.0.CGrrDQr5.css → @xterm.0.0.31-alpha.1.CGrrDQr5.css} +0 -0
- /package/dist/interface/assets/{Account.0.0.30-alpha.0.Ce3OmKrC.css → Account.0.0.31-alpha.1.Ce3OmKrC.css} +0 -0
- /package/dist/interface/assets/{Adminpanel.0.0.30-alpha.0.CXsTAXPL.css → Adminpanel.0.0.31-alpha.1.CXsTAXPL.css} +0 -0
- /package/dist/interface/assets/{Backup.0.0.30-alpha.0.BIwaSlv3.css → Backup.0.0.31-alpha.1.BIwaSlv3.css} +0 -0
- /package/dist/interface/assets/{Camera.0.0.30-alpha.0.BDtUJ-lA.css → Camera.0.0.31-alpha.1.BDtUJ-lA.css} +0 -0
- /package/dist/interface/assets/{Cameras.0.0.30-alpha.0.Djx0F2MM.css → Cameras.0.0.31-alpha.1.Djx0F2MM.css} +0 -0
- /package/dist/interface/assets/{Camview.0.0.30-alpha.0.Ce_V-Nxj.css → Camview.0.0.31-alpha.1.Ce_V-Nxj.css} +0 -0
- /package/dist/interface/assets/{Console.0.0.30-alpha.0.DWrfRWs9.css → Console.0.0.31-alpha.1.DWrfRWs9.css} +0 -0
- /package/dist/interface/assets/{Plugin.0.0.30-alpha.0.BtRA6zDt.css → Plugin.0.0.31-alpha.1.BtRA6zDt.css} +0 -0
- /package/dist/interface/assets/{Plugins.0.0.30-alpha.0.Cwu0aGUO.css → Plugins.0.0.31-alpha.1.Cwu0aGUO.css} +0 -0
- /package/dist/interface/assets/{Settings.0.0.30-alpha.0.DC_-E3CR.css → Settings.0.0.31-alpha.1.DC_-E3CR.css} +0 -0
- /package/dist/interface/assets/{User.0.0.30-alpha.0.DPDcJbx8.css → User.0.0.31-alpha.1.DPDcJbx8.css} +0 -0
- /package/dist/interface/assets/{VConsole.0.0.30-alpha.0.BZT1WyS-.css → VConsole.0.0.31-alpha.1.BZT1WyS-.css} +0 -0
- /package/dist/interface/assets/{highlight.0.0.30-alpha.0.DgoK_Xib.css → highlight.0.0.31-alpha.1.DgoK_Xib.css} +0 -0
- /package/dist/interface/assets/{logo-256.0.0.30-alpha.0.BCQk9H1-.png → logo-256.0.0.31-alpha.1.BCQk9H1-.png} +0 -0
- /package/dist/interface/assets/{logo-512.0.0.30-alpha.0.DLKVOU2S.png → logo-512.0.0.31-alpha.1.DLKVOU2S.png} +0 -0
- /package/dist/interface/assets/{logo.0.0.30-alpha.0.DmEiRk0z.png → logo.0.0.31-alpha.1.DmEiRk0z.png} +0 -0
- /package/dist/interface/assets/{mode-json.0.0.30-alpha.0.Br7xisR1.js → mode-json.0.0.31-alpha.1.Br7xisR1.js} +0 -0
- /package/dist/interface/assets/{mode-yaml.0.0.30-alpha.0.CIYL8U3d.js → mode-yaml.0.0.31-alpha.1.CIYL8U3d.js} +0 -0
- /package/dist/interface/assets/{v-calendar.0.0.30-alpha.0.CtSuDYZU.css → v-calendar.0.0.31-alpha.1.CtSuDYZU.css} +0 -0
- /package/dist/interface/assets/{vue3-toastify.0.0.30-alpha.0.DTY1DMRs.css → vue3-toastify.0.0.31-alpha.1.DTY1DMRs.css} +0 -0
- /package/dist/interface/assets/{vuetify.0.0.30-alpha.0.Cd1awv3t.css → vuetify.0.0.31-alpha.1.Cd1awv3t.css} +0 -0
- /package/dist/interface/{axios.C-n2IhIP.0.0.30-alpha.0.js → axios.C-n2IhIP.0.0.31-alpha.1.js} +0 -0
- /package/dist/interface/{compare-versions.DqEOhma6.0.0.30-alpha.0.js → compare-versions.DqEOhma6.0.0.31-alpha.1.js} +0 -0
- /package/dist/interface/{dijkstrajs.D_NXgYpA.0.0.30-alpha.0.js → dijkstrajs.D_NXgYpA.0.0.31-alpha.1.js} +0 -0
- /package/dist/interface/{engine.io-parser.BiEtp6m2.0.0.30-alpha.0.js → engine.io-parser.BiEtp6m2.0.0.31-alpha.1.js} +0 -0
- /package/dist/interface/{entities.C20TfXL6.0.0.30-alpha.0.js → entities.C20TfXL6.0.0.31-alpha.1.js} +0 -0
- /package/dist/interface/{get-size.D1dS-IaP.0.0.30-alpha.0.js → get-size.D1dS-IaP.0.0.31-alpha.1.js} +0 -0
- /package/dist/interface/{mdurl.k9Sl0PQj.0.0.30-alpha.0.js → mdurl.k9Sl0PQj.0.0.31-alpha.1.js} +0 -0
- /package/dist/interface/{punycode.js.Dj65hjkv.0.0.30-alpha.0.js → punycode.js.Dj65hjkv.0.0.31-alpha.1.js} +0 -0
- /package/dist/interface/{react-dnd-html5-backend.1HQjlkwI.0.0.30-alpha.0.js → react-dnd-html5-backend.1HQjlkwI.0.0.31-alpha.1.js} +0 -0
- /package/dist/interface/{redux.CuxFRhX_.0.0.30-alpha.0.js → redux.CuxFRhX_.0.0.31-alpha.1.js} +0 -0
- /package/dist/interface/{tslib.9k7AwCpt.0.0.30-alpha.0.js → tslib.9k7AwCpt.0.0.31-alpha.1.js} +0 -0
- /package/dist/interface/{uc.micro.kMc2yuuw.0.0.30-alpha.0.js → uc.micro.kMc2yuuw.0.0.31-alpha.1.js} +0 -0
- /package/dist/interface/{uuid.DvF23Exx.0.0.30-alpha.0.js → uuid.DvF23Exx.0.0.31-alpha.1.js} +0 -0
- /package/dist/interface/{vue.l0sNRNKZ.0.0.30-alpha.0.js → vue.l0sNRNKZ.0.0.31-alpha.1.js} +0 -0
- /package/dist/interface/{zod.DnW1_kUe.0.0.30-alpha.0.js → zod.DnW1_kUe.0.0.31-alpha.1.js} +0 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var Is=Object.defineProperty;var Ft=i=>{throw TypeError(i)};var Ns=(i,t,e)=>t in i?Is(i,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[t]=e;var f=(i,t,e)=>Ns(i,typeof t!="symbol"?t+"":t,e),at=(i,t,e)=>t.has(i)||Ft("Cannot "+e);var c=(i,t,e)=>(at(i,t,"read from private field"),e?e.call(i):t.get(i)),C=(i,t,e)=>t.has(i)?Ft("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(i):t.set(i,e),_=(i,t,e,s)=>(at(i,t,"write to private field"),s?s.call(i,e):t.set(i,e),e),y=(i,t,e)=>(at(i,t,"access private method"),e);var Fe=(i,t,e,s)=>({set _(n){_(i,t,n,e)},get _(){return c(i,t,s)}});var Le={d:(i,t)=>{for(var e in t)Le.o(t,e)&&!Le.o(i,e)&&Object.defineProperty(i,e,{enumerable:!0,get:t[e]})},o:(i,t)=>Object.prototype.hasOwnProperty.call(i,t),r:i=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})}},fs={};Le.d(fs,{j:()=>Li});var bt={};Le.r(bt),Le.d(bt,{Decoder:()=>It,Encoder:()=>Ti,PacketType:()=>O,protocol:()=>Ci});class Fs{constructor(t){f(this,"baseURL");f(this,"abortControllers",new Set);this.baseURL=`${t}/api`}async request(t,e,s,n={}){const r=new AbortController;this.abortControllers.add(r);const o=setTimeout(()=>{r.abort(),this.abortControllers.delete(r)},15e3);try{const a=await fetch(`${this.baseURL}${e}`,{method:t,headers:{"Content-Type":"application/json",...n.headers},body:s?JSON.stringify(s):void 0,signal:r.signal,...n});if(!a.ok)throw new Error(`HTTP error! status: ${a.status}`);return a}finally{clearTimeout(o),this.abortControllers.delete(r)}}get(t,e){return this.request("GET",t,void 0,e)}post(t,e,s){return this.request("POST",t,e,s)}}class Us{constructor(){f(this,"subscriptions",[]);f(this,"additionalSubscriptions",[])}addSubscriptions(...t){this.subscriptions.push(...t)}addAdditionalSubscriptions(...t){this.additionalSubscriptions.push(...t)}unsubscribe(){this.subscriptions.forEach(t=>t.unsubscribe())}unsubscribeAdditional(){this.additionalSubscriptions.forEach(t=>t.unsubscribe())}}function Ee(i,t,e=!1){if(i===t)return!0;if((i===void 0||t===void 0||i===null||t===null)&&(i||t))return!1;const s=i==null?void 0:i.constructor.name,n=t==null?void 0:t.constructor.name;if(s!==n)return!1;if(s==="Array"&&n==="Array"){if(i.length!==t.length)return!1;if(e){const r=[...t];return i.every(o=>{const a=r.findIndex(h=>Ee(o,h,e));return a!==-1&&(r.splice(a,1),!0)})}{let r=!0;for(let o=0;o<i.length;o++)if(!Ee(i[o],t[o],e)){r=!1;break}return r}}if(s==="Object"&&n==="Object"){let r=!0;const o=Object.keys(i),a=Object.keys(t);if(o.length!==a.length)return!1;for(let h=0;h<o.length;h++)if(i[o[h]]&&t[o[h]]){if(i[o[h]]===t[o[h]])continue;if(!i[o[h]]||i[o[h]].constructor.name!=="Array"&&i[o[h]].constructor.name!=="Object"){if(i[o[h]]!==t[o[h]]){r=!1;break}}else if(r=Ee(i[o[h]],t[o[h]],e),!r)break}else if(i[o[h]]&&!t[o[h]]||!i[o[h]]&&t[o[h]]){r=!1;break}return r}return i===t}function G(i){return JSON.parse(JSON.stringify(i))}const Se=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,Ut=new Set,vt=typeof process=="object"&&process?process:{},ps=(i,t,e,s)=>{typeof vt.emitWarning=="function"?vt.emitWarning(i,t,e,s):console.error(`[${e}] ${t}: ${i}`)};let Qe=globalThis.AbortController,zt=globalThis.AbortSignal;var us;if(Qe===void 0){zt=class{constructor(){f(this,"onabort");f(this,"_onabort",[]);f(this,"reason");f(this,"aborted",!1)}addEventListener(e,s){this._onabort.push(s)}},Qe=class{constructor(){f(this,"signal",new zt);t()}abort(e){var s,n;if(!this.signal.aborted){this.signal.reason=e,this.signal.aborted=!0;for(const r of this.signal._onabort)r(e);(n=(s=this.signal).onabort)==null||n.call(s,e)}}};let i=((us=vt.env)==null?void 0:us.LRU_CACHE_IGNORE_AC_WARNING)!=="1";const t=()=>{i&&(i=!1,ps("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",t))}}const he=i=>i&&i===Math.floor(i)&&i>0&&isFinite(i),gs=i=>he(i)?i<=Math.pow(2,8)?Uint8Array:i<=Math.pow(2,16)?Uint16Array:i<=Math.pow(2,32)?Uint32Array:i<=Number.MAX_SAFE_INTEGER?$e:null:null;class $e extends Array{constructor(t){super(t),this.fill(0)}}var xe;const me=class me{constructor(t,e){f(this,"heap");f(this,"length");if(!c(me,xe))throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new e(t),this.length=0}static create(t){const e=gs(t);if(!e)return[];_(me,xe,!0);const s=new me(t,e);return _(me,xe,!1),s}push(t){this.heap[this.length++]=t}pop(){return this.heap[--this.length]}};xe=new WeakMap,C(me,xe,!1);let wt=me;var ls,ds,Y,V,K,X,Oe,Ae,D,Q,L,B,E,U,W,F,M,Z,q,ee,te,H,se,ge,z,g,_t,ye,ae,qe,$,ms,be,Ce,Ie,ue,le,kt,Ge,Je,j,Et,je,de,xt;const Nt=class Nt{constructor(t){C(this,g);C(this,Y);C(this,V);C(this,K);C(this,X);C(this,Oe);C(this,Ae);f(this,"ttl");f(this,"ttlResolution");f(this,"ttlAutopurge");f(this,"updateAgeOnGet");f(this,"updateAgeOnHas");f(this,"allowStale");f(this,"noDisposeOnSet");f(this,"noUpdateTTL");f(this,"maxEntrySize");f(this,"sizeCalculation");f(this,"noDeleteOnFetchRejection");f(this,"noDeleteOnStaleGet");f(this,"allowStaleOnFetchAbort");f(this,"allowStaleOnFetchRejection");f(this,"ignoreFetchAbort");C(this,D);C(this,Q);C(this,L);C(this,B);C(this,E);C(this,U);C(this,W);C(this,F);C(this,M);C(this,Z);C(this,q);C(this,ee);C(this,te);C(this,H);C(this,se);C(this,ge);C(this,z);C(this,ye,()=>{});C(this,ae,()=>{});C(this,qe,()=>{});C(this,$,()=>!1);C(this,be,t=>{});C(this,Ce,(t,e,s)=>{});C(this,Ie,(t,e,s,n)=>{if(s||n)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0});f(this,ls,"LRUCache");const{max:e=0,ttl:s,ttlResolution:n=1,ttlAutopurge:r,updateAgeOnGet:o,updateAgeOnHas:a,allowStale:h,dispose:l,disposeAfter:u,noDisposeOnSet:d,noUpdateTTL:w,maxSize:v=0,maxEntrySize:m=0,sizeCalculation:S,fetchMethod:k,memoMethod:p,noDeleteOnFetchRejection:b,noDeleteOnStaleGet:x,allowStaleOnFetchRejection:T,allowStaleOnFetchAbort:R,ignoreFetchAbort:A}=t;if(e!==0&&!he(e))throw new TypeError("max option must be a nonnegative integer");const I=e?gs(e):Array;if(!I)throw new Error("invalid max value: "+e);if(_(this,Y,e),_(this,V,v),this.maxEntrySize=m||c(this,V),this.sizeCalculation=S,this.sizeCalculation){if(!c(this,V)&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(p!==void 0&&typeof p!="function")throw new TypeError("memoMethod must be a function if defined");if(_(this,Ae,p),k!==void 0&&typeof k!="function")throw new TypeError("fetchMethod must be a function if specified");if(_(this,Oe,k),_(this,ge,!!k),_(this,L,new Map),_(this,B,new Array(e).fill(void 0)),_(this,E,new Array(e).fill(void 0)),_(this,U,new I(e)),_(this,W,new I(e)),_(this,F,0),_(this,M,0),_(this,Z,wt.create(e)),_(this,D,0),_(this,Q,0),typeof l=="function"&&_(this,K,l),typeof u=="function"?(_(this,X,u),_(this,q,[])):(_(this,X,void 0),_(this,q,void 0)),_(this,se,!!c(this,K)),_(this,z,!!c(this,X)),this.noDisposeOnSet=!!d,this.noUpdateTTL=!!w,this.noDeleteOnFetchRejection=!!b,this.allowStaleOnFetchRejection=!!T,this.allowStaleOnFetchAbort=!!R,this.ignoreFetchAbort=!!A,this.maxEntrySize!==0){if(c(this,V)!==0&&!he(c(this,V)))throw new TypeError("maxSize must be a positive integer if specified");if(!he(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");y(this,g,ms).call(this)}if(this.allowStale=!!h,this.noDeleteOnStaleGet=!!x,this.updateAgeOnGet=!!o,this.updateAgeOnHas=!!a,this.ttlResolution=he(n)||n===0?n:1,this.ttlAutopurge=!!r,this.ttl=s||0,this.ttl){if(!he(this.ttl))throw new TypeError("ttl must be a positive integer if specified");y(this,g,_t).call(this)}if(c(this,Y)===0&&this.ttl===0&&c(this,V)===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!c(this,Y)&&!c(this,V)){const ce="LRU_CACHE_UNBOUNDED";(we=>!Ut.has(we))(ce)&&(Ut.add(ce),ps("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",ce,Nt))}}static unsafeExposeInternals(t){return{starts:c(t,te),ttls:c(t,H),sizes:c(t,ee),keyMap:c(t,L),keyList:c(t,B),valList:c(t,E),next:c(t,U),prev:c(t,W),get head(){return c(t,F)},get tail(){return c(t,M)},free:c(t,Z),isBackgroundFetch:e=>{var s;return y(s=t,g,j).call(s,e)},backgroundFetch:(e,s,n,r)=>{var o;return y(o=t,g,Je).call(o,e,s,n,r)},moveToTail:e=>{var s;return y(s=t,g,je).call(s,e)},indexes:e=>{var s;return y(s=t,g,ue).call(s,e)},rindexes:e=>{var s;return y(s=t,g,le).call(s,e)},isStale:e=>{var s;return c(s=t,$).call(s,e)}}}get max(){return c(this,Y)}get maxSize(){return c(this,V)}get calculatedSize(){return c(this,Q)}get size(){return c(this,D)}get fetchMethod(){return c(this,Oe)}get memoMethod(){return c(this,Ae)}get dispose(){return c(this,K)}get disposeAfter(){return c(this,X)}getRemainingTTL(t){return c(this,L).has(t)?1/0:0}*entries(){for(const t of y(this,g,ue).call(this))c(this,E)[t]===void 0||c(this,B)[t]===void 0||y(this,g,j).call(this,c(this,E)[t])||(yield[c(this,B)[t],c(this,E)[t]])}*rentries(){for(const t of y(this,g,le).call(this))c(this,E)[t]===void 0||c(this,B)[t]===void 0||y(this,g,j).call(this,c(this,E)[t])||(yield[c(this,B)[t],c(this,E)[t]])}*keys(){for(const t of y(this,g,ue).call(this)){const e=c(this,B)[t];e===void 0||y(this,g,j).call(this,c(this,E)[t])||(yield e)}}*rkeys(){for(const t of y(this,g,le).call(this)){const e=c(this,B)[t];e===void 0||y(this,g,j).call(this,c(this,E)[t])||(yield e)}}*values(){for(const t of y(this,g,ue).call(this))c(this,E)[t]===void 0||y(this,g,j).call(this,c(this,E)[t])||(yield c(this,E)[t])}*rvalues(){for(const t of y(this,g,le).call(this))c(this,E)[t]===void 0||y(this,g,j).call(this,c(this,E)[t])||(yield c(this,E)[t])}[(ds=Symbol.iterator,ls=Symbol.toStringTag,ds)](){return this.entries()}find(t,e={}){for(const s of y(this,g,ue).call(this)){const n=c(this,E)[s],r=y(this,g,j).call(this,n)?n.__staleWhileFetching:n;if(r!==void 0&&t(r,c(this,B)[s],this))return this.get(c(this,B)[s],e)}}forEach(t,e=this){for(const s of y(this,g,ue).call(this)){const n=c(this,E)[s],r=y(this,g,j).call(this,n)?n.__staleWhileFetching:n;r!==void 0&&t.call(e,r,c(this,B)[s],this)}}rforEach(t,e=this){for(const s of y(this,g,le).call(this)){const n=c(this,E)[s],r=y(this,g,j).call(this,n)?n.__staleWhileFetching:n;r!==void 0&&t.call(e,r,c(this,B)[s],this)}}purgeStale(){let t=!1;for(const e of y(this,g,le).call(this,{allowStale:!0}))c(this,$).call(this,e)&&(y(this,g,de).call(this,c(this,B)[e],"expire"),t=!0);return t}info(t){const e=c(this,L).get(t);if(e===void 0)return;const s=c(this,E)[e],n=y(this,g,j).call(this,s)?s.__staleWhileFetching:s;if(n===void 0)return;const r={value:n};if(c(this,H)&&c(this,te)){const o=c(this,H)[e],a=c(this,te)[e];if(o&&a){const h=o-(Se.now()-a);r.ttl=h,r.start=Date.now()}}return c(this,ee)&&(r.size=c(this,ee)[e]),r}dump(){const t=[];for(const e of y(this,g,ue).call(this,{allowStale:!0})){const s=c(this,B)[e],n=c(this,E)[e],r=y(this,g,j).call(this,n)?n.__staleWhileFetching:n;if(r===void 0||s===void 0)continue;const o={value:r};if(c(this,H)&&c(this,te)){o.ttl=c(this,H)[e];const a=Se.now()-c(this,te)[e];o.start=Math.floor(Date.now()-a)}c(this,ee)&&(o.size=c(this,ee)[e]),t.unshift([s,o])}return t}load(t){this.clear();for(const[e,s]of t){if(s.start){const n=Date.now()-s.start;s.start=Se.now()-n}this.set(e,s.value,s)}}set(t,e,s={}){var w,v,m,S,k;if(e===void 0)return this.delete(t),this;const{ttl:n=this.ttl,start:r,noDisposeOnSet:o=this.noDisposeOnSet,sizeCalculation:a=this.sizeCalculation,status:h}=s;let{noUpdateTTL:l=this.noUpdateTTL}=s;const u=c(this,Ie).call(this,t,e,s.size||0,a);if(this.maxEntrySize&&u>this.maxEntrySize)return h&&(h.set="miss",h.maxEntrySizeExceeded=!0),y(this,g,de).call(this,t,"set"),this;let d=c(this,D)===0?void 0:c(this,L).get(t);if(d===void 0)d=c(this,D)===0?c(this,M):c(this,Z).length!==0?c(this,Z).pop():c(this,D)===c(this,Y)?y(this,g,Ge).call(this,!1):c(this,D),c(this,B)[d]=t,c(this,E)[d]=e,c(this,L).set(t,d),c(this,U)[c(this,M)]=d,c(this,W)[d]=c(this,M),_(this,M,d),Fe(this,D)._++,c(this,Ce).call(this,d,u,h),h&&(h.set="add"),l=!1;else{y(this,g,je).call(this,d);const p=c(this,E)[d];if(e!==p){if(c(this,ge)&&y(this,g,j).call(this,p)){p.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:b}=p;b===void 0||o||(c(this,se)&&((w=c(this,K))==null||w.call(this,b,t,"set")),c(this,z)&&((v=c(this,q))==null||v.push([b,t,"set"])))}else o||(c(this,se)&&((m=c(this,K))==null||m.call(this,p,t,"set")),c(this,z)&&((S=c(this,q))==null||S.push([p,t,"set"])));if(c(this,be).call(this,d),c(this,Ce).call(this,d,u,h),c(this,E)[d]=e,h){h.set="replace";const b=p&&y(this,g,j).call(this,p)?p.__staleWhileFetching:p;b!==void 0&&(h.oldValue=b)}}else h&&(h.set="update")}if(n===0||c(this,H)||y(this,g,_t).call(this),c(this,H)&&(l||c(this,qe).call(this,d,n,r),h&&c(this,ae).call(this,h,d)),!o&&c(this,z)&&c(this,q)){const p=c(this,q);let b;for(;b=p==null?void 0:p.shift();)(k=c(this,X))==null||k.call(this,...b)}return this}pop(){var t;try{for(;c(this,D);){const e=c(this,E)[c(this,F)];if(y(this,g,Ge).call(this,!0),y(this,g,j).call(this,e)){if(e.__staleWhileFetching)return e.__staleWhileFetching}else if(e!==void 0)return e}}finally{if(c(this,z)&&c(this,q)){const e=c(this,q);let s;for(;s=e==null?void 0:e.shift();)(t=c(this,X))==null||t.call(this,...s)}}}has(t,e={}){const{updateAgeOnHas:s=this.updateAgeOnHas,status:n}=e,r=c(this,L).get(t);if(r!==void 0){const o=c(this,E)[r];if(y(this,g,j).call(this,o)&&o.__staleWhileFetching===void 0)return!1;if(!c(this,$).call(this,r))return s&&c(this,ye).call(this,r),n&&(n.has="hit",c(this,ae).call(this,n,r)),!0;n&&(n.has="stale",c(this,ae).call(this,n,r))}else n&&(n.has="miss");return!1}peek(t,e={}){const{allowStale:s=this.allowStale}=e,n=c(this,L).get(t);if(n===void 0||!s&&c(this,$).call(this,n))return;const r=c(this,E)[n];return y(this,g,j).call(this,r)?r.__staleWhileFetching:r}async fetch(t,e={}){const{allowStale:s=this.allowStale,updateAgeOnGet:n=this.updateAgeOnGet,noDeleteOnStaleGet:r=this.noDeleteOnStaleGet,ttl:o=this.ttl,noDisposeOnSet:a=this.noDisposeOnSet,size:h=0,sizeCalculation:l=this.sizeCalculation,noUpdateTTL:u=this.noUpdateTTL,noDeleteOnFetchRejection:d=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:w=this.allowStaleOnFetchRejection,ignoreFetchAbort:v=this.ignoreFetchAbort,allowStaleOnFetchAbort:m=this.allowStaleOnFetchAbort,context:S,forceRefresh:k=!1,status:p,signal:b}=e;if(!c(this,ge))return p&&(p.fetch="get"),this.get(t,{allowStale:s,updateAgeOnGet:n,noDeleteOnStaleGet:r,status:p});const x={allowStale:s,updateAgeOnGet:n,noDeleteOnStaleGet:r,ttl:o,noDisposeOnSet:a,size:h,sizeCalculation:l,noUpdateTTL:u,noDeleteOnFetchRejection:d,allowStaleOnFetchRejection:w,allowStaleOnFetchAbort:m,ignoreFetchAbort:v,status:p,signal:b};let T=c(this,L).get(t);if(T===void 0){p&&(p.fetch="miss");const R=y(this,g,Je).call(this,t,T,x,S);return R.__returned=R}{const R=c(this,E)[T];if(y(this,g,j).call(this,R)){const we=s&&R.__staleWhileFetching!==void 0;return p&&(p.fetch="inflight",we&&(p.returnedStale=!0)),we?R.__staleWhileFetching:R.__returned=R}const A=c(this,$).call(this,T);if(!k&&!A)return p&&(p.fetch="hit"),y(this,g,je).call(this,T),n&&c(this,ye).call(this,T),p&&c(this,ae).call(this,p,T),R;const I=y(this,g,Je).call(this,t,T,x,S),ce=I.__staleWhileFetching!==void 0&&s;return p&&(p.fetch=A?"stale":"refresh",ce&&A&&(p.returnedStale=!0)),ce?I.__staleWhileFetching:I.__returned=I}}async forceFetch(t,e={}){const s=await this.fetch(t,e);if(s===void 0)throw new Error("fetch() returned undefined");return s}memo(t,e={}){const s=c(this,Ae);if(!s)throw new Error("no memoMethod provided to constructor");const{context:n,forceRefresh:r,...o}=e,a=this.get(t,o);if(!r&&a!==void 0)return a;const h=s(t,a,{options:o,context:n});return this.set(t,h,o),h}get(t,e={}){const{allowStale:s=this.allowStale,updateAgeOnGet:n=this.updateAgeOnGet,noDeleteOnStaleGet:r=this.noDeleteOnStaleGet,status:o}=e,a=c(this,L).get(t);if(a!==void 0){const h=c(this,E)[a],l=y(this,g,j).call(this,h);return o&&c(this,ae).call(this,o,a),c(this,$).call(this,a)?(o&&(o.get="stale"),l?(o&&s&&h.__staleWhileFetching!==void 0&&(o.returnedStale=!0),s?h.__staleWhileFetching:void 0):(r||y(this,g,de).call(this,t,"expire"),o&&s&&(o.returnedStale=!0),s?h:void 0)):(o&&(o.get="hit"),l?h.__staleWhileFetching:(y(this,g,je).call(this,a),n&&c(this,ye).call(this,a),h))}o&&(o.get="miss")}delete(t){return y(this,g,de).call(this,t,"delete")}clear(){return y(this,g,xt).call(this,"delete")}};Y=new WeakMap,V=new WeakMap,K=new WeakMap,X=new WeakMap,Oe=new WeakMap,Ae=new WeakMap,D=new WeakMap,Q=new WeakMap,L=new WeakMap,B=new WeakMap,E=new WeakMap,U=new WeakMap,W=new WeakMap,F=new WeakMap,M=new WeakMap,Z=new WeakMap,q=new WeakMap,ee=new WeakMap,te=new WeakMap,H=new WeakMap,se=new WeakMap,ge=new WeakMap,z=new WeakMap,g=new WeakSet,_t=function(){const t=new $e(c(this,Y)),e=new $e(c(this,Y));_(this,H,t),_(this,te,e),_(this,qe,(r,o,a=Se.now())=>{if(e[r]=o!==0?a:0,t[r]=o,o!==0&&this.ttlAutopurge){const h=setTimeout(()=>{c(this,$).call(this,r)&&y(this,g,de).call(this,c(this,B)[r],"expire")},o+1);h.unref&&h.unref()}}),_(this,ye,r=>{e[r]=t[r]!==0?Se.now():0}),_(this,ae,(r,o)=>{if(t[o]){const a=t[o],h=e[o];if(!a||!h)return;r.ttl=a,r.start=h,r.now=s||n();const l=r.now-h;r.remainingTTL=a-l}});let s=0;const n=()=>{const r=Se.now();if(this.ttlResolution>0){s=r;const o=setTimeout(()=>s=0,this.ttlResolution);o.unref&&o.unref()}return r};this.getRemainingTTL=r=>{const o=c(this,L).get(r);if(o===void 0)return 0;const a=t[o],h=e[o];return a&&h?a-((s||n())-h):1/0},_(this,$,r=>{const o=e[r],a=t[r];return!!a&&!!o&&(s||n())-o>a})},ye=new WeakMap,ae=new WeakMap,qe=new WeakMap,$=new WeakMap,ms=function(){const t=new $e(c(this,Y));_(this,Q,0),_(this,ee,t),_(this,be,e=>{_(this,Q,c(this,Q)-t[e]),t[e]=0}),_(this,Ie,(e,s,n,r)=>{if(y(this,g,j).call(this,s))return 0;if(!he(n)){if(!r)throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");if(typeof r!="function")throw new TypeError("sizeCalculation must be a function");if(n=r(s,e),!he(n))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}return n}),_(this,Ce,(e,s,n)=>{if(t[e]=s,c(this,V)){const r=c(this,V)-t[e];for(;c(this,Q)>r;)y(this,g,Ge).call(this,!0)}_(this,Q,c(this,Q)+t[e]),n&&(n.entrySize=s,n.totalCalculatedSize=c(this,Q))})},be=new WeakMap,Ce=new WeakMap,Ie=new WeakMap,ue=function*({allowStale:t=this.allowStale}={}){if(c(this,D))for(let e=c(this,M);y(this,g,kt).call(this,e)&&(!t&&c(this,$).call(this,e)||(yield e),e!==c(this,F));)e=c(this,W)[e]},le=function*({allowStale:t=this.allowStale}={}){if(c(this,D))for(let e=c(this,F);y(this,g,kt).call(this,e)&&(!t&&c(this,$).call(this,e)||(yield e),e!==c(this,M));)e=c(this,U)[e]},kt=function(t){return t!==void 0&&c(this,L).get(c(this,B)[t])===t},Ge=function(t){var r,o;const e=c(this,F),s=c(this,B)[e],n=c(this,E)[e];return c(this,ge)&&y(this,g,j).call(this,n)?n.__abortController.abort(new Error("evicted")):(c(this,se)||c(this,z))&&(c(this,se)&&((r=c(this,K))==null||r.call(this,n,s,"evict")),c(this,z)&&((o=c(this,q))==null||o.push([n,s,"evict"]))),c(this,be).call(this,e),t&&(c(this,B)[e]=void 0,c(this,E)[e]=void 0,c(this,Z).push(e)),c(this,D)===1?(_(this,F,_(this,M,0)),c(this,Z).length=0):_(this,F,c(this,U)[e]),c(this,L).delete(s),Fe(this,D)._--,e},Je=function(t,e,s,n){const r=e===void 0?void 0:c(this,E)[e];if(y(this,g,j).call(this,r))return r;const o=new Qe,{signal:a}=s;a==null||a.addEventListener("abort",()=>o.abort(a.reason),{signal:o.signal});const h={signal:o.signal,options:s,context:n},l=(v,m=!1)=>{const{aborted:S}=o.signal,k=s.ignoreFetchAbort&&v!==void 0;if(s.status&&(S&&!m?(s.status.fetchAborted=!0,s.status.fetchError=o.signal.reason,k&&(s.status.fetchAbortIgnored=!0)):s.status.fetchResolved=!0),S&&!k&&!m)return u(o.signal.reason);const p=d;return c(this,E)[e]===d&&(v===void 0?p.__staleWhileFetching?c(this,E)[e]=p.__staleWhileFetching:y(this,g,de).call(this,t,"fetch"):(s.status&&(s.status.fetchUpdated=!0),this.set(t,v,h.options))),v},u=v=>{const{aborted:m}=o.signal,S=m&&s.allowStaleOnFetchAbort,k=S||s.allowStaleOnFetchRejection,p=k||s.noDeleteOnFetchRejection,b=d;if(c(this,E)[e]===d&&(p&&b.__staleWhileFetching!==void 0?S||(c(this,E)[e]=b.__staleWhileFetching):y(this,g,de).call(this,t,"fetch")),k)return s.status&&b.__staleWhileFetching!==void 0&&(s.status.returnedStale=!0),b.__staleWhileFetching;if(b.__returned===b)throw v};s.status&&(s.status.fetchDispatched=!0);const d=new Promise((v,m)=>{var k;const S=(k=c(this,Oe))==null?void 0:k.call(this,t,r,h);S&&S instanceof Promise&&S.then(p=>v(p===void 0?void 0:p),m),o.signal.addEventListener("abort",()=>{s.ignoreFetchAbort&&!s.allowStaleOnFetchAbort||(v(void 0),s.allowStaleOnFetchAbort&&(v=p=>l(p,!0)))})}).then(l,v=>(s.status&&(s.status.fetchRejected=!0,s.status.fetchError=v),u(v))),w=Object.assign(d,{__abortController:o,__staleWhileFetching:r,__returned:void 0});return e===void 0?(this.set(t,w,{...h.options,status:void 0}),e=c(this,L).get(t)):c(this,E)[e]=w,w},j=function(t){if(!c(this,ge))return!1;const e=t;return!!e&&e instanceof Promise&&e.hasOwnProperty("__staleWhileFetching")&&e.__abortController instanceof Qe},Et=function(t,e){c(this,W)[e]=t,c(this,U)[t]=e},je=function(t){t!==c(this,M)&&(t===c(this,F)?_(this,F,c(this,U)[t]):y(this,g,Et).call(this,c(this,W)[t],c(this,U)[t]),y(this,g,Et).call(this,c(this,M),t),_(this,M,t))},de=function(t,e){var n,r,o,a;let s=!1;if(c(this,D)!==0){const h=c(this,L).get(t);if(h!==void 0)if(s=!0,c(this,D)===1)y(this,g,xt).call(this,e);else{c(this,be).call(this,h);const l=c(this,E)[h];if(y(this,g,j).call(this,l)?l.__abortController.abort(new Error("deleted")):(c(this,se)||c(this,z))&&(c(this,se)&&((n=c(this,K))==null||n.call(this,l,t,e)),c(this,z)&&((r=c(this,q))==null||r.push([l,t,e]))),c(this,L).delete(t),c(this,B)[h]=void 0,c(this,E)[h]=void 0,h===c(this,M))_(this,M,c(this,W)[h]);else if(h===c(this,F))_(this,F,c(this,U)[h]);else{const u=c(this,W)[h];c(this,U)[u]=c(this,U)[h];const d=c(this,U)[h];c(this,W)[d]=c(this,W)[h]}Fe(this,D)._--,c(this,Z).push(h)}}if(c(this,z)&&((o=c(this,q))!=null&&o.length)){const h=c(this,q);let l;for(;l=h==null?void 0:h.shift();)(a=c(this,X))==null||a.call(this,...l)}return s},xt=function(t){var e,s,n;for(const r of y(this,g,le).call(this,{allowStale:!0})){const o=c(this,E)[r];if(y(this,g,j).call(this,o))o.__abortController.abort(new Error("deleted"));else{const a=c(this,B)[r];c(this,se)&&((e=c(this,K))==null||e.call(this,o,a,t)),c(this,z)&&((s=c(this,q))==null||s.push([o,a,t]))}}if(c(this,L).clear(),c(this,E).fill(void 0),c(this,B).fill(void 0),c(this,H)&&c(this,te)&&(c(this,H).fill(0),c(this,te).fill(0)),c(this,ee)&&c(this,ee).fill(0),_(this,F,0),_(this,M,0),c(this,Z).length=0,_(this,Q,0),_(this,D,0),c(this,z)&&c(this,q)){const r=c(this,q);let o;for(;o=r==null?void 0:r.shift();)(n=c(this,X))==null||n.call(this,...o)}};let St=Nt;var Ot=function(i,t){return Ot=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,s){e.__proto__=s}||function(e,s){for(var n in s)Object.prototype.hasOwnProperty.call(s,n)&&(e[n]=s[n])},Ot(i,t)};function ve(i,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function e(){this.constructor=i}Ot(i,t),i.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}function ys(i,t){var e,s,n,r={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]},o=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return o.next=a(0),o.throw=a(1),o.return=a(2),typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(h){return function(l){return function(u){if(e)throw new TypeError("Generator is already executing.");for(;o&&(o=0,u[0]&&(r=0)),r;)try{if(e=1,s&&(n=2&u[0]?s.return:u[0]?s.throw||((n=s.return)&&n.call(s),0):s.next)&&!(n=n.call(s,u[1])).done)return n;switch(s=0,n&&(u=[2&u[0],n.value]),u[0]){case 0:case 1:n=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,s=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(!((n=(n=r.trys).length>0&&n[n.length-1])||u[0]!==6&&u[0]!==2)){r=0;continue}if(u[0]===3&&(!n||u[1]>n[0]&&u[1]<n[3])){r.label=u[1];break}if(u[0]===6&&r.label<n[1]){r.label=n[1],n=u;break}if(n&&r.label<n[2]){r.label=n[2],r.ops.push(u);break}n[2]&&r.ops.pop(),r.trys.pop();continue}u=t.call(i,r)}catch(d){u=[6,d],s=0}finally{e=n=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([h,l])}}}function Pe(i){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&i[t],s=0;if(e)return e.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&s>=i.length&&(i=void 0),{value:i&&i[s++],done:!i}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ze(i,t){var e=typeof Symbol=="function"&&i[Symbol.iterator];if(!e)return i;var s,n,r=e.call(i),o=[];try{for(;(t===void 0||t-- >0)&&!(s=r.next()).done;)o.push(s.value)}catch(a){n={error:a}}finally{try{s&&!s.done&&(e=r.return)&&e.call(r)}finally{if(n)throw n.error}}return o}function et(i,t,e){if(arguments.length===2)for(var s,n=0,r=t.length;n<r;n++)!s&&n in t||(s||(s=Array.prototype.slice.call(t,0,n)),s[n]=t[n]);return i.concat(s||Array.prototype.slice.call(t))}function ke(i){return this instanceof ke?(this.v=i,this):new ke(i)}function N(i){return typeof i=="function"}function bs(i){var t=i(function(e){Error.call(e),e.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var ct=bs(function(i){return function(t){i(this),this.message=t?t.length+` errors occurred during unsubscription:
|
|
2
|
+
`+t.map(function(e,s){return s+1+") "+e.toString()}).join(`
|
|
3
|
+
`):"",this.name="UnsubscriptionError",this.errors=t}});function At(i,t){if(i){var e=i.indexOf(t);0<=e&&i.splice(e,1)}}var it=function(){function i(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return i.prototype.unsubscribe=function(){var t,e,s,n,r;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var a=Pe(o),h=a.next();!h.done;h=a.next())h.value.remove(this)}catch(m){t={error:m}}finally{try{h&&!h.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}else o.remove(this);var l=this.initialTeardown;if(N(l))try{l()}catch(m){r=m instanceof ct?m.errors:[m]}var u=this._finalizers;if(u){this._finalizers=null;try{for(var d=Pe(u),w=d.next();!w.done;w=d.next()){var v=w.value;try{Vt(v)}catch(m){r=r??[],m instanceof ct?r=et(et([],Ze(r)),Ze(m.errors)):r.push(m)}}}catch(m){s={error:m}}finally{try{w&&!w.done&&(n=d.return)&&n.call(d)}finally{if(s)throw s.error}}}if(r)throw new ct(r)}},i.prototype.add=function(t){var e;if(t&&t!==this)if(this.closed)Vt(t);else{if(t instanceof i){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(t)}},i.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},i.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},i.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&At(e,t)},i.prototype.remove=function(t){var e=this._finalizers;e&&At(e,t),t instanceof i&&t._removeParent(this)},i.EMPTY=function(){var t=new i;return t.closed=!0,t}(),i}(),vs=it.EMPTY;function ws(i){return i instanceof it||i&&"closed"in i&&N(i.remove)&&N(i.add)&&N(i.unsubscribe)}function Vt(i){N(i)?i():i.unsubscribe()}var Ss={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},zs={setTimeout:function(i,t){for(var e=[],s=2;s<arguments.length;s++)e[s-2]=arguments[s];return setTimeout.apply(void 0,et([i,t],Ze(e)))},clearTimeout:function(i){return clearTimeout(i)},delegate:void 0};function _s(i){zs.setTimeout(function(){throw i})}function Wt(){}function Ye(i){i()}var Mt=function(i){function t(e){var s=i.call(this)||this;return s.isStopped=!1,e?(s.destination=e,ws(e)&&e.add(s)):s.destination=Hs,s}return ve(t,i),t.create=function(e,s,n){return new De(e,s,n)},t.prototype.next=function(e){this.isStopped?void 0:this._next(e)},t.prototype.error=function(e){this.isStopped?void 0:(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped?void 0:(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,i.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(it),Vs=Function.prototype.bind;function ht(i,t){return Vs.call(i,t)}var Ws=function(){function i(t){this.partialObserver=t}return i.prototype.next=function(t){var e=this.partialObserver;if(e.next)try{e.next(t)}catch(s){Ue(s)}},i.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(s){Ue(s)}else Ue(t)},i.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(e){Ue(e)}},i}(),De=function(i){function t(e,s,n){var r,o,a=i.call(this)||this;return N(e)||!e?r={next:e??void 0,error:s??void 0,complete:n??void 0}:a&&Ss.useDeprecatedNextContext?((o=Object.create(e)).unsubscribe=function(){return a.unsubscribe()},r={next:e.next&&ht(e.next,o),error:e.error&&ht(e.error,o),complete:e.complete&&ht(e.complete,o)}):r=e,a.destination=new Ws(r),a}return ve(t,i),t}(Mt);function Ue(i){_s(i)}var Hs={closed:!0,next:Wt,error:function(i){throw i},complete:Wt},Ct=typeof Symbol=="function"&&Symbol.observable||"@@observable";function $s(i){return i}var fe=function(){function i(t){t&&(this._subscribe=t)}return i.prototype.lift=function(t){var e=new i;return e.source=this,e.operator=t,e},i.prototype.subscribe=function(t,e,s){var n=this,r=function(o){return o&&o instanceof Mt||function(a){return a&&N(a.next)&&N(a.error)&&N(a.complete)}(o)&&ws(o)}(t)?t:new De(t,e,s);return Ye(function(){var o=n,a=o.operator,h=o.source;r.add(a?a.call(r,h):h?n._subscribe(r):n._trySubscribe(r))}),r},i.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},i.prototype.forEach=function(t,e){var s=this;return new(e=Ht(e))(function(n,r){var o=new De({next:function(a){try{t(a)}catch(h){r(h),o.unsubscribe()}},error:r,complete:n});s.subscribe(o)})},i.prototype._subscribe=function(t){var e;return(e=this.source)===null||e===void 0?void 0:e.subscribe(t)},i.prototype[Ct]=function(){return this},i.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return((s=t).length===0?$s:s.length===1?s[0]:function(n){return s.reduce(function(r,o){return o(r)},n)})(this);var s},i.prototype.toPromise=function(t){var e=this;return new(t=Ht(t))(function(s,n){var r;e.subscribe(function(o){return r=o},function(o){return n(o)},function(){return s(r)})})},i.create=function(t){return new i(t)},i}();function Ht(i){var t;return(t=i??Ss.Promise)!==null&&t!==void 0?t:Promise}var Gs=bs(function(i){return function(){i(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),nt=function(i){function t(){var e=i.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return ve(t,i),t.prototype.lift=function(e){var s=new $t(this,this);return s.operator=e,s},t.prototype._throwIfClosed=function(){if(this.closed)throw new Gs},t.prototype.next=function(e){var s=this;Ye(function(){var n,r;if(s._throwIfClosed(),!s.isStopped){s.currentObservers||(s.currentObservers=Array.from(s.observers));try{for(var o=Pe(s.currentObservers),a=o.next();!a.done;a=o.next())a.value.next(e)}catch(h){n={error:h}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}}})},t.prototype.error=function(e){var s=this;Ye(function(){if(s._throwIfClosed(),!s.isStopped){s.hasError=s.isStopped=!0,s.thrownError=e;for(var n=s.observers;n.length;)n.shift().error(e)}})},t.prototype.complete=function(){var e=this;Ye(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var s=e.observers;s.length;)s.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(e){return this._throwIfClosed(),i.prototype._trySubscribe.call(this,e)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var s=this,n=this,r=n.hasError,o=n.isStopped,a=n.observers;return r||o?vs:(this.currentObservers=null,a.push(e),new it(function(){s.currentObservers=null,At(a,e)}))},t.prototype._checkFinalizedStatuses=function(e){var s=this,n=s.hasError,r=s.thrownError,o=s.isStopped;n?e.error(r):o&&e.complete()},t.prototype.asObservable=function(){var e=new fe;return e.source=this,e},t.create=function(e,s){return new $t(e,s)},t}(fe),$t=function(i){function t(e,s){var n=i.call(this)||this;return n.destination=e,n.source=s,n}return ve(t,i),t.prototype.next=function(e){var s,n;(n=(s=this.destination)===null||s===void 0?void 0:s.next)===null||n===void 0||n.call(s,e)},t.prototype.error=function(e){var s,n;(n=(s=this.destination)===null||s===void 0?void 0:s.error)===null||n===void 0||n.call(s,e)},t.prototype.complete=function(){var e,s;(s=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||s===void 0||s.call(e)},t.prototype._subscribe=function(e){var s,n;return(n=(s=this.source)===null||s===void 0?void 0:s.subscribe(e))!==null&&n!==void 0?n:vs},t}(nt),oe=function(i){function t(e){var s=i.call(this)||this;return s._value=e,s}return ve(t,i),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(e){var s=i.prototype._subscribe.call(this,e);return!s.closed&&e.next(this._value),s},t.prototype.getValue=function(){var e=this,s=e.hasError,n=e.thrownError,r=e._value;if(s)throw n;return this._throwIfClosed(),r},t.prototype.next=function(e){i.prototype.next.call(this,this._value=e)},t}(nt),ks={now:function(){return(ks.delegate||Date).now()},delegate:void 0},ut=function(i){function t(e,s,n){e===void 0&&(e=1/0),s===void 0&&(s=1/0),n===void 0&&(n=ks);var r=i.call(this)||this;return r._bufferSize=e,r._windowTime=s,r._timestampProvider=n,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=s===1/0,r._bufferSize=Math.max(1,e),r._windowTime=Math.max(1,s),r}return ve(t,i),t.prototype.next=function(e){var s=this,n=s.isStopped,r=s._buffer,o=s._infiniteTimeWindow,a=s._timestampProvider,h=s._windowTime;n||(r.push(e),!o&&r.push(a.now()+h)),this._trimBuffer(),i.prototype.next.call(this,e)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var s=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),o=0;o<r.length&&!e.closed;o+=n?1:2)e.next(r[o]);return this._checkFinalizedStatuses(e),s},t.prototype._trimBuffer=function(){var e=this,s=e._bufferSize,n=e._timestampProvider,r=e._buffer,o=e._infiniteTimeWindow,a=(o?1:2)*s;if(s<1/0&&a<r.length&&r.splice(0,r.length-a),!o){for(var h=n.now(),l=0,u=1;u<r.length&&r[u]<=h;u+=2)l=u;l&&r.splice(0,l+1)}},t}(nt);function Ne(i){return function(t){if(function(e){return N(e==null?void 0:e.lift)}(t))return t.lift(function(e){try{return i(e,this)}catch(s){this.error(s)}});throw new TypeError("Unable to lift unknown Observable type")}}function Me(i,t,e,s,n){return new Js(i,t,e,s,n)}var Js=function(i){function t(e,s,n,r,o,a){var h=i.call(this,e)||this;return h.onFinalize=o,h.shouldUnsubscribe=a,h._next=s?function(l){try{s(l)}catch(u){e.error(u)}}:i.prototype._next,h._error=r?function(l){try{r(l)}catch(u){e.error(u)}finally{this.unsubscribe()}}:i.prototype._error,h._complete=n?function(){try{n()}catch(l){e.error(l)}finally{this.unsubscribe()}}:i.prototype._complete,h}return ve(t,i),t.prototype.unsubscribe=function(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var s=this.closed;i.prototype.unsubscribe.call(this),!s&&((e=this.onFinalize)===null||e===void 0||e.call(this))}},t}(Mt);function Gt(){return Ne(function(i,t){var e,s=!1;i.subscribe(Me(t,function(n){var r=e;e=n,s&&t.next([r,n]),s=!0}))})}function Jt(i,t){return Ne(function(e,s){var n=0;e.subscribe(Me(s,function(r){return i.call(t,r,n++)&&s.next(r)}))})}function Es(i,t){return Ne(function(e,s){var n=0;e.subscribe(Me(s,function(r){s.next(i.call(t,r,n++))}))})}var Ys=function(i){return i&&typeof i.length=="number"&&typeof i!="function"},Ks=typeof Symbol=="function"&&Symbol.iterator?Symbol.iterator:"@@iterator";function tt(i){if(i instanceof fe)return i;if(i!=null){if(function(r){return N(r[Ct])}(i))return n=i,new fe(function(r){var o=n[Ct]();if(N(o.subscribe))return o.subscribe(r);throw new TypeError("Provided object does not correctly implement Symbol.observable")});if(Ys(i))return s=i,new fe(function(r){for(var o=0;o<s.length&&!r.closed;o++)r.next(s[o]);r.complete()});if(function(r){return N(r==null?void 0:r.then)}(i))return e=i,new fe(function(r){e.then(function(o){r.closed||(r.next(o),r.complete())},function(o){return r.error(o)}).then(null,_s)});if(function(r){return Symbol.asyncIterator&&N(r==null?void 0:r[Symbol.asyncIterator])}(i))return Yt(i);if(function(r){return N(r==null?void 0:r[Ks])}(i))return t=i,new fe(function(r){var o,a;try{for(var h=Pe(t),l=h.next();!l.done;l=h.next()){var u=l.value;if(r.next(u),r.closed)return}}catch(d){o={error:d}}finally{try{l&&!l.done&&(a=h.return)&&a.call(h)}finally{if(o)throw o.error}}r.complete()});if(function(r){return N(r==null?void 0:r.getReader)}(i))return Yt(function(r){return function(o,a,h){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var l,u=h.apply(o,a||[]),d=[];return l=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),w("next"),w("throw"),w("return",function(p){return function(b){return Promise.resolve(b).then(p,S)}}),l[Symbol.asyncIterator]=function(){return this},l;function w(p,b){u[p]&&(l[p]=function(x){return new Promise(function(T,R){d.push([p,x,T,R])>1||v(p,x)})},b&&(l[p]=b(l[p])))}function v(p,b){try{(x=u[p](b)).value instanceof ke?Promise.resolve(x.value.v).then(m,S):k(d[0][2],x)}catch(T){k(d[0][3],T)}var x}function m(p){v("next",p)}function S(p){v("throw",p)}function k(p,b){p(b),d.shift(),d.length&&v(d[0][0],d[0][1])}}(this,arguments,function(){var o,a,h;return ys(this,function(l){switch(l.label){case 0:o=r.getReader(),l.label=1;case 1:l.trys.push([1,,9,10]),l.label=2;case 2:return[4,ke(o.read())];case 3:return a=l.sent(),h=a.value,a.done?[4,ke(void 0)]:[3,5];case 4:return[2,l.sent()];case 5:return[4,ke(h)];case 6:return[4,l.sent()];case 7:return l.sent(),[3,2];case 8:return[3,10];case 9:return o.releaseLock(),[7];case 10:return[2]}})})}(i))}var t,e,s,n;throw function(r){return new TypeError("You provided "+(r!==null&&typeof r=="object"?"an invalid object":"'"+r+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}(i)}function Yt(i){return new fe(function(t){(function(e,s){var n,r,o,a,h,l,u,d;return h=this,l=void 0,d=function(){var w,v;return ys(this,function(m){switch(m.label){case 0:m.trys.push([0,5,6,11]),n=function(S){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var k,p=S[Symbol.asyncIterator];return p?p.call(S):(S=Pe(S),k={},b("next"),b("throw"),b("return"),k[Symbol.asyncIterator]=function(){return this},k);function b(x){k[x]=S[x]&&function(T){return new Promise(function(R,A){(function(I,ce,we,Ms){Promise.resolve(Ms).then(function(qs){I({value:qs,done:we})},ce)})(R,A,(T=S[x](T)).done,T.value)})}}}(e),m.label=1;case 1:return[4,n.next()];case 2:if((r=m.sent()).done)return[3,4];if(w=r.value,s.next(w),s.closed)return[2];m.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return v=m.sent(),o={error:v},[3,11];case 6:return m.trys.push([6,,9,10]),r&&!r.done&&(a=n.return)?[4,a.call(n)]:[3,8];case 7:m.sent(),m.label=8;case 8:return[3,10];case 9:if(o)throw o.error;return[7];case 10:return[7];case 11:return s.complete(),[2]}})},new((u=void 0)||(u=Promise))(function(w,v){function m(p){try{k(d.next(p))}catch(b){v(b)}}function S(p){try{k(d.throw(p))}catch(b){v(b)}}function k(p){p.done?w(p.value):function(b){return b instanceof u?b:new u(function(x){x(b)})}(p.value).then(m,S)}k((d=d.apply(h,l||[])).next())})})(i,t).catch(function(e){return t.error(e)})})}function lt(i){i===void 0&&(i={});var t=i.connector,e=t===void 0?function(){return new nt}:t,s=i.resetOnError,n=s===void 0||s,r=i.resetOnComplete,o=r===void 0||r,a=i.resetOnRefCountZero,h=a===void 0||a;return function(l){var u,d,w,v=0,m=!1,S=!1,k=function(){d==null||d.unsubscribe(),d=void 0},p=function(){k(),u=w=void 0,m=S=!1},b=function(){var x=u;p(),x==null||x.unsubscribe()};return Ne(function(x,T){v++,S||m||k();var R=w=w??e();T.add(function(){--v!=0||S||m||(d=dt(b,h))}),R.subscribe(T),!u&&v>0&&(u=new De({next:function(A){return R.next(A)},error:function(A){S=!0,k(),d=dt(p,n,A),R.error(A)},complete:function(){m=!0,k(),d=dt(p,o),R.complete()}}),tt(x).subscribe(u))})(l)}}function dt(i,t){for(var e=[],s=2;s<arguments.length;s++)e[s-2]=arguments[s];if(t!==!0){if(t!==!1){var n=new De({next:function(){n.unsubscribe(),i()}});return tt(t.apply(void 0,et([],Ze(e)))).subscribe(n)}}else i()}function xs(i,t,e){return e===void 0&&(e=1/0),N(t)?xs(function(s,n){return Es(function(r,o){return t(s,r,n,o)})(tt(i(s,n)))},e):(typeof t=="number"&&(e=t),Ne(function(s,n){return function(r,o,a,h,l,u,d,w){var v=[],m=0,S=0,k=!1,p=function(){!k||v.length||m||o.complete()},b=function(T){return m<h?x(T):v.push(T)},x=function(T){m++;var R=!1;tt(a(T,S++)).subscribe(Me(o,function(A){o.next(A)},function(){R=!0},void 0,function(){if(R)try{m--;for(var A=function(){var I=v.shift();x(I)};v.length&&m<h;)A();p()}catch(I){o.error(I)}}))};return r.subscribe(Me(o,b,function(){k=!0,p()})),function(){}}(s,n,i,e)}))}const Xs=(i,t)=>{const[e,s,n,r]=i,[o,a,h,l]=t,u=Math.max(e,o),d=Math.max(s,a),w=Math.min(n,h),v=Math.min(r,l),m=Math.max(0,w-u)*Math.max(0,v-d);return m/((n-e)*(r-s)+(h-o)*(l-a)-m)},Qs=(i,t)=>{const{origWidth:e,origHeight:s}=t,n=i.points.map(([r,o])=>[r*e/100,o*s/100]);return{...i,points:n}},Kt=i=>{const{origWidth:t,origHeight:e,inputWidth:s,inputHeight:n}=i,[r,o,a,h]=i.boundingBox,l=r*t/s,u=o*e/n,d=a*t/s,w=h*e/n;return{...i,boundingBox:[l,u,d,w]}},Xt=(i,t,e)=>{if(i.confidence<e.object.confidence)return!1;if(t.length===0)return!0;const[s,n,r,o]=i.boundingBox,a={xmin:s,ymin:n,xmax:r,ymax:o};let h=!1;for(const l of t){const u=Qs(l,i);if(u.isPrivacyMask){if(Te(a,u.points)){h=!1;break}}else u.filter==="include"?u.type==="contain"?Te(a,u.points)&&(h=!0):u.type==="intersect"&&(Qt(a,u.points)||Te(a,u.points))&&(h=!0):u.filter==="exclude"&&(u.type==="contain"?Te(a,u.points)||(h=!0):u.type==="intersect"&&(Qt(a,u.points)||Te(a,u.points)||(h=!0)))}return h},Qt=(i,t)=>{const e=Zs(i);for(const s of e)for(let n=0;n<t.length;n++){const r=[t[n],t[(n+1)%t.length]];if(ei(s,r))return!0}return!1},Te=(i,t)=>[[i.xmin,i.ymin],[i.xmax,i.ymin],[i.xmax,i.ymax],[i.xmin,i.ymax]].every(e=>ti(e,t)),Zs=i=>{const{xmin:t,ymin:e,xmax:s,ymax:n}=i;return[[[t,e],[s,e]],[[s,e],[s,n]],[[s,n],[t,n]],[[t,n],[t,e]]]},ei=(i,t)=>{const e=(a,h,l)=>(l[1]-a[1])*(h[0]-a[0])>(h[1]-a[1])*(l[0]-a[0]);return s=i[0],n=i[1],e(s,r=t[0],o=t[1])!==e(n,r,o)&&e(s,n,r)!==e(s,n,o);var s,n,r,o},ti=(i,t)=>{const[e,s]=i;let n=!1,[r,o]=t[t.length-1];for(const[a,h]of t)h>s!=o>s&&e<(r-a)*(s-h)/(o-h)+a&&(n=!n),[r,o]=[a,h];return n};class si extends Us{constructor(e,s){super();f(this,"logger");f(this,"snapshotCache",new St({max:100,ttl:3e5}));f(this,"cameraSubject");f(this,"cameraState",new oe(!1));f(this,"lightState",new oe(this.getLightState({state:!1},!0)));f(this,"motionState",new oe(this.getMotionState({detections:[],state:!1},!0)));f(this,"audioState",new oe(this.getAudioState({state:!1,db:0},!0)));f(this,"objectState",new oe(this.getObjectState({detections:[]},!0)));f(this,"doorbellState",new oe(this.getDoorbellState({state:!1},!0)));f(this,"sirenState",new oe(this.getSirenState({state:!1,level:0},!0)));f(this,"batteryState",new oe(this.getBatteryState({level:100,charging:!1,lowBattery:!1},!0)));f(this,"onConnected",this.createStateObservable(this.cameraState));f(this,"onLightSwitched",this.createStateObservable(this.lightState));f(this,"onMotionDetected",this.createStateObservable(this.motionState));f(this,"onAudioDetected",this.createStateObservable(this.audioState));f(this,"onObjectDetected",this.createStateObservable(this.objectState));f(this,"onDoorbellPressed",this.createStateObservable(this.doorbellState));f(this,"onSirenDetected",this.createStateObservable(this.sirenState));f(this,"onBatteryChanged",this.createStateObservable(this.batteryState));this.logger=s,this.cameraSubject=new oe(e),this.updateCamera(e),e.pluginId==="native"&&this.cameraState.next(!0)}get cameraObject(){return G(this.cameraSubject.getValue())}get id(){return this.cameraSubject.getValue()._id}get nativeId(){return this.cameraSubject.getValue().nativeId}get pluginId(){return this.cameraSubject.getValue().pluginId}get connected(){return this.cameraState.getValue()}get disabled(){return this.cameraSubject.getValue().disabled}get name(){return this.cameraSubject.getValue().name}get type(){return this.cameraSubject.getValue().type}get info(){return G(this.cameraSubject.getValue().info)}get isCloud(){return this.cameraSubject.getValue().isCloud}get hasLight(){return this.cameraSubject.getValue().hasLight}get hasSiren(){return this.cameraSubject.getValue().hasSiren}get hasBinarySensor(){return this.cameraSubject.getValue().hasBinarySensor}get hasBattery(){return this.cameraSubject.getValue().hasBattery}get hasMotionDetector(){return this.cameraSubject.getValue().hasMotionDetector}get hasAudioDetector(){return this.cameraSubject.getValue().hasAudioDetector}get hasObjectDetector(){return this.cameraSubject.getValue().hasObjectDetector}get hasPtz(){return this.cameraSubject.getValue().hasPtz}get hasPrebuffer(){return this.cameraSubject.getValue().hasPrebuffer}get activityZones(){return G(this.cameraSubject.getValue().activityZones)}get activitySettings(){return G(this.cameraSubject.getValue().activitySettings)}get frameWorkerSettings(){return G(this.cameraSubject.getValue().frameWorkerSettings)}get streamSource(){return this.highResolutionSource||this.midResolutionSource||this.lowResolutionSource}get snapshotSource(){return this.sources.find(e=>e.roles.includes("snapshot")&&!e.internal)}get highResolutionSource(){return this.sources.find(e=>e.roles.includes("high-resolution")&&!e.internal)}get midResolutionSource(){return this.sources.find(e=>e.roles.includes("mid-resolution")&&!e.internal)}get lowResolutionSource(){return this.sources.find(e=>e.roles.includes("low-resolution")&&!e.internal)}get ptz(){return this.ptzDelegate}getValue(e){switch(e){case"light":return G(this.lightState.getValue());case"motion":return G(this.motionState.getValue());case"audio":return G(this.audioState.getValue());case"object":return G(this.objectState.getValue());case"doorbell":return G(this.doorbellState.getValue());case"siren":return G(this.sirenState.getValue());case"battery":return G(this.batteryState.getValue());default:throw new Error(`Unknown state: ${e}`)}}async snapshot(e){const s=this.snapshotSource||this.streamSource,n=s.urls.www.jpegSnapshot,r=this.snapshotCache.get(s._id);if(!e&&r)return r;if(!s.roles.includes("snapshot")&&this.cameraObject.pluginId!=="native"){const h=await this.cameraDelegate.snapshot();return h&&h.byteLength>0&&this.snapshotCache.set(s._id,h),h}const o=await fetch(n);if(!o.ok)throw new Error("Status Code: "+o.status);const a=await o.arrayBuffer();return a.byteLength>0&&this.snapshotCache.set(s._id,a),a}onStateChange(e){return this[`${e}State`].pipe(Gt(),Jt(([s,n])=>typeof s=="boolean"||typeof n=="boolean"?s!==n:this.stateChanged(s,n,e)),Es(([s,n])=>({oldState:s,newState:n})),lt({connector:()=>new ut(1)}))}onPropertyChange(e){return this.cameraSubject.pipe(Gt(),xs(([s,n])=>(Array.isArray(e)?e:[e]).map(r=>({property:r,oldData:s[r],newData:n[r]}))),Jt(({oldData:s,newData:n})=>!Ee(s,n,!0)),lt({connector:()=>new ut(1)}))}removeAllListeners(){this.lightState.complete(),this.motionState.complete(),this.audioState.complete(),this.objectState.complete(),this.doorbellState.complete(),this.sirenState.complete(),this.batteryState.complete(),this.cameraSubject.complete(),this.cameraState.complete()}updateCamera(e){this.cameraSubject.next(e)}updateCameraState(e){this.cameraState.next(e)}updateStateInternal(e,s,n){let r,o=!1;if(n)o=!0,r=s;else{const a=this.checkStateInternal(e,s);o=a.changed,r=a.event}if(o)switch(e){case"light":this.lightState.next(this.getLightState(r));break;case"motion":this.motionState.next(this.getMotionState(r));break;case"audio":this.audioState.next(this.getAudioState(r));break;case"object":this.objectState.next(this.getObjectState(r));break;case"doorbell":this.doorbellState.next(this.getDoorbellState(r));break;case"siren":this.sirenState.next(this.getSirenState(r));break;case"battery":this.batteryState.next(this.getBatteryState(r));break;default:throw new Error(`Unknown state: ${e}`)}}checkStateInternal(e,s){let n,r=!1;switch(e){case"audio":const o=s;n=this.getAudioState(o),r=this.stateChanged(this.getValue("audio"),n,"audio");break;case"light":const a=s;n=this.getLightState(a),r=this.stateChanged(this.getValue("light"),n,"light");break;case"motion":const h=s;h.state!==void 0&&(h.detections=[]),h.detections=((v,m=.2)=>{if(v.length===0)return[];const S=[...v].sort((p,b)=>{const x=(p.boundingBox[2]-p.boundingBox[0])*(p.boundingBox[3]-p.boundingBox[1]);return(b.boundingBox[2]-b.boundingBox[0])*(b.boundingBox[3]-b.boundingBox[1])-x}),k=[];for(;S.length>0;){let p={...S[0]};S.shift();const b=[];for(let x=0;x<S.length;x++)Xs(p.boundingBox,S[x].boundingBox)>m&&b.push(x);if(b.length>0){const x=[p,...b.map(A=>S[A])],T=[Math.min(...x.map(A=>A.boundingBox[0])),Math.min(...x.map(A=>A.boundingBox[1])),Math.max(...x.map(A=>A.boundingBox[2])),Math.max(...x.map(A=>A.boundingBox[3]))],R=x.reduce((A,I)=>A.confidence>I.confidence?A:I);p={...R,boundingBox:T,id:R.id||p.id};for(let A=b.length-1;A>=0;A--)S.splice(b[A],1)}k.push(p)}return k})(h.detections),h.detections=((v,m,S)=>{const k=[];for(const p of v)Xt(Kt(p),m,S)&&m.some(b=>!b.classes.length||b.classes.includes(p.label))&&k.push(p);return k})(h.detections,this.activityZones,this.activitySettings),n=this.getMotionState(h),r=this.stateChanged(this.getValue("motion"),n,"motion");break;case"object":const l=s;l.detections=((v,m,S)=>{const k=[];for(const p of v)Xt(Kt(p),m,S)&&m.some(b=>!b.classes.length||b.classes.includes(p.label))&&k.push(p);return k})(l.detections,this.activityZones,this.activitySettings),n=this.getObjectState(l),r=this.stateChanged(this.getValue("object"),n,"object");break;case"doorbell":const u=s;n=this.getDoorbellState(u),r=this.stateChanged(this.getValue("doorbell"),n,"doorbell");break;case"siren":const d=s;n=this.getSirenState(d),r=this.stateChanged(this.getValue("siren"),n,"siren");break;case"battery":const w=s;n=this.getBatteryState(w),r=this.stateChanged(this.getValue("battery"),n,"battery");break;default:throw new Error(`Unknown state: ${e}`)}return{changed:r,event:n}}stateChanged(e,s,n){if(!e||!s||!n)return!1;if(n=="audio"){if(!this.hasAudioDetector)return!1;const r=e,o=s;return r.state!==o.state||r.db!==o.db}if(n=="motion"){if(!this.hasMotionDetector)return!1;const r=e,o=s;return o.state!==void 0?r.state!==o.state:!Ee(r.detections,o.detections,!0)}if(n=="object"){if(!this.hasObjectDetector)return!1;const r=s;return!Ee(e.detections,r.detections,!0)}if(n=="siren"){if(!this.hasSiren)return!1;const r=e,o=s;return r.state!==o.state||r.level!==o.level}if(n=="battery"){if(!this.hasBattery)return!1;const r=e,o=s;return r.level!==o.level||r.lowBattery!==o.lowBattery||r.charging!==o.charging}if(n=="doorbell"){if(!this.hasBinarySensor)return!1;const r=s;return e.state!==r.state}if(n=="light"){if(!this.hasLight)return!1;const r=s;return e.state!==r.state}return!1}getAudioState(e,s=!1){var o;let n,r;if(!s){const a=this.getValue("audio");a.state?n=a:(o=a.lastEvent)!=null&&o.state&&(n=a.lastEvent),n&&delete n.lastEvent}if(this.isStateEvent(e))r=e;else{const a={...e,timestamp:Date.now()};r={...a,db:a.db||(n==null?void 0:n.db)||0,lastEvent:n||(a.state?a:void 0)}}return r}getMotionState(e,s=!1){var o;let n,r;if(!s){const a=this.getValue("motion");a.detections.length?n=a:(o=a.lastEvent)!=null&&o.detections.length&&(n=a.lastEvent),n&&delete n.lastEvent}if(this.isStateEvent(e))r=e;else{const a={...e,timestamp:Date.now()};r={...a,lastEvent:n||(a.detections.length?a:void 0)}}return r}getObjectState(e,s=!1){var o;let n,r;if(!s){const a=this.getValue("object");a.detections.length?n=a:(o=a.lastEvent)!=null&&o.detections.length&&(n=a.lastEvent),n&&delete n.lastEvent}if(this.isStateEvent(e))r=e;else{const a={...e,timestamp:Date.now()};r={...a,lastEvent:n||(a.detections.length?a:void 0)}}return r}getDoorbellState(e,s=!1){var o;let n,r;if(!s){const a=this.getValue("doorbell");a.state?n=a:(o=a.lastEvent)!=null&&o.state&&(n=a.lastEvent),n&&delete n.lastEvent}if(this.isStateEvent(e))r=e;else{const a={...e,timestamp:Date.now()};r={...a,lastEvent:n||(a.state?a:void 0)}}return r}getLightState(e,s=!1){var o;let n,r;if(!s){const a=this.getValue("light");a.state?n=a:(o=a.lastEvent)!=null&&o.state&&(n=a.lastEvent),n&&delete n.lastEvent}if(this.isStateEvent(e))r=e;else{const a={...e,timestamp:Date.now()};r={...a,lastEvent:n||(a.state?a:void 0)}}return r}getSirenState(e,s=!1){var o;let n,r;if(!s){const a=this.getValue("siren");a.state?n=a:(o=a.lastEvent)!=null&&o.state&&(n=a.lastEvent),n&&delete n.lastEvent}if(this.isStateEvent(e))r=e;else{const a={...e,timestamp:Date.now()};r={...a,level:a.level||(n==null?void 0:n.level)||0,lastEvent:n||(a.state?a:void 0)}}return r}getBatteryState(e,s=!1){let n,r;if(!s){const o=this.getValue("battery");this.stateChanged(o,e,"battery")?n=o:o.lastEvent&&this.stateChanged(o.lastEvent,e,"battery")&&(n=o.lastEvent),n&&delete n.lastEvent}if(this.isStateEvent(e))r=e;else{const o={...e,timestamp:Date.now()};r={...o,charging:e.charging||(n==null?void 0:n.charging)||!1,lowBattery:e.lowBattery||(n==null?void 0:n.lowBattery)||!1,lastEvent:n||o}}return r}isStateEvent(e){return"timestamp"in e}createStateObservable(e){return e.pipe(lt({connector:()=>new ut(1)}))}}class ii{constructor(t){f(this,"delegate");f(this,"onRequest");this.onRequest=t}async snapshot(){return this.delegate?this.delegate.snapshot():this._onRequest("snapshot")}_onRequest(t,e,s){return this.onRequest("cameraDelegate",t,e,s)}}class ni{constructor(t){f(this,"delegate");f(this,"onRequest");this.onRequest=t}async getPrebufferingState(t,e){return this.delegate?this.delegate.getPrebufferingState(t,e):this._onRequest("prebufferDelegate","getPrebufferingState",[t,e])}_onRequest(t,e,s,n){return this.onRequest(t,e,s,n)}}class ri{constructor(t){f(this,"delegate");f(this,"onRequest");this.onRequest=t}async moveAbsolute(t,e,s){return this.delegate?this.delegate.moveAbsolute(t,e,s):this._onRequest("moveAbsolute",[t,e,s])}async moveRelative(t,e,s){return this.delegate?this.delegate.moveRelative(t,e,s):this._onRequest("moveRelative",[t,e,s])}async moveContinuous(t,e,s){return this.delegate?this.delegate.moveContinuous(t,e,s):this._onRequest("moveContinuous",[t,e,s])}async stop(){return this.delegate?this.delegate.stop():this._onRequest("stop",[])}_onRequest(t,e,s){return this.onRequest("ptzDelegate",t,e,s)}}const rt=()=>"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(i){const t=16*Math.random()|0;return(i==="x"?t:3&t|8).toString(16)});class oi extends EventTarget{constructor(e,s,n,r){super();f(this,"cameraDevice");f(this,"socketService");f(this,"logger");f(this,"options");f(this,"videoPlayer");f(this,"socket");f(this,"streamId");f(this,"hasBackchannel",!1);f(this,"closed",!1);f(this,"micTransceiver",null);f(this,"pc",null);f(this,"buf",new Uint8Array(2097152));f(this,"mediaSource",null);f(this,"sourceBuffer",null);f(this,"bufLen",0);f(this,"mseCodecs","");f(this,"videoPlayerMp4");f(this,"media",["video","audio","microphone"]);f(this,"codecList",[]);f(this,"reconnectTimeout");f(this,"_finishLoading",!1);f(this,"webrtcReconnectTimeout");this.options=r,this.videoPlayer=r.videoElement,this.cameraDevice=e,this.socketService=s,this.logger=n;const{socket:o}=this.socketService.getSocket(`${e.id}-go2rtcSession`,!0);this.socket=o,this.socket.connect(),this.streamId=rt(),this.createCodecsList()}get mode(){return this.options.mode}connect(e){e&&(this.options.mode=e),console.log(this.cameraDevice.name,`Connecting... (${this.options.mode})`),this.socket.on("ws-open",this.onWsOpen.bind(this)),this.socket.on("ws-close",this.onWsClose.bind(this)),this.socket.on("ws-message",this.onWsMessage.bind(this)),this.socket.emit("ws-open",{id:this.streamId,cameraSource:this.options.sourceName,mode:this.options.mode})}disconnect(){console.log(this.cameraDevice.name,"Disconnecting..."),this.socket.removeListener("ws-open",this.onWsOpen.bind(this)),this.socket.removeListener("ws-close",this.onWsClose.bind(this)),this.socket.removeListener("ws-message",this.onWsMessage.bind(this)),this.socket.emit("ws-close",{id:this.streamId})}async reconnect(e){console.log(this.cameraDevice.name,"Reconnecting..."),this.dispatchEvent(new Event("reconnect")),this.close(),await new Promise(s=>setTimeout(s,100)),this.connect(e)}reset(){var e,s,n;this._finishLoading=!1,(e=this.pc)==null||e.getTransceivers().forEach(r=>{var o,a;return(a=(o=r.sender)==null?void 0:o.track)==null?void 0:a.stop()}),(s=this.pc)==null||s.close(),this.pc=null,(n=this.videoPlayerMp4)==null||n.remove(),this.videoPlayerMp4=void 0,this.videoPlayer.srcObject=null,this.videoPlayer.src="",this.videoPlayer.poster=""}close(){console.log(this.cameraDevice.name,"Closing..."),this.closed=!0,this.reset(),this.disconnect(),this.socket.emit("end"),this.socket.removeAllListeners()}onWsOpen({id:e}){if(e===this.streamId)switch(console.log(this.cameraDevice.name,"Connected"),this.options.mode){case"webrtc":case"webrtc/tcp":console.log(this.cameraDevice.name,"Requesting WebRTC session..."),this.requestWebrtc();break;case"mse":console.log(this.cameraDevice.name,"Requesting MSE session..."),this.requestMse();break;case"hls":console.log(this.cameraDevice.name,"Requesting HLS session..."),this.requestHls();break;case"mp4":console.log(this.cameraDevice.name,"Requesting MP4 session..."),this.requestMp4();break;case"mjpeg":console.log(this.cameraDevice.name,"Requesting MJPEG session..."),this.requestMjpeg();break;default:console.log(this.cameraDevice.name,"Unknown mode:",this.options.mode),this.dispatchEvent(new ErrorEvent("error",{message:"Unknown mode: "+this.options.mode}))}}onWsClose({id:e}){e===this.streamId&&(this.closed||this.options.reconnectInterval===void 0||(clearTimeout(this.reconnectTimeout),this.reconnectTimeout=setTimeout(()=>{this.reconnect()},this.options.reconnectInterval)))}onWsMessage({id:e,data:s}){if(e===this.streamId&&s.type)switch(s.type){case"mse":this.onMseData(s);break;case"hls":this.onHlsData(s);break;case"webrtc/candidate":case"webrtc/answer":this.onWebrtcData(s);break;case"mse-binary":this.onMseBuffer(s);break;case"mjpeg-binary":this.onMjpegBuffer(s);break;case"mp4-binary":this.onMp4Buffer(s);break;case"stream-info":this.onStreamInfo(s);break;case"error":this.dispatchEvent(new ErrorEvent("error",{error:s,message:s.value}))}}async requestWebrtc(){this.reset(),this.pc=new RTCPeerConnection({bundlePolicy:"max-bundle",iceServers:[{urls:"stun:stun.l.google.com:19302"}],sdpSemantics:"unified-plan"}),this.pc.addEventListener("icecandidate",s=>{var r,o;if(this.options.mode==="webrtc/tcp"&&((r=s.candidate)==null?void 0:r.protocol)==="udp")return;const n=((o=s.candidate)==null?void 0:o.toJSON().candidate)||"";this.socket.emit("stream-payload",{id:this.streamId,data:{type:"webrtc/candidate",value:n}})}),this.pc.addEventListener("connectionstatechange",()=>{var s,n,r,o,a;if(console.log(this.cameraDevice.name,"Connection state:",(s=this.pc)==null?void 0:s.connectionState),((n=this.pc)==null?void 0:n.connectionState)==="connected"){const h=(r=this.pc)==null?void 0:r.getTransceivers().filter(l=>l.currentDirection==="recvonly").map(l=>l.receiver.track);this.videoPlayer.srcObject=new MediaStream(h),this.finishLoading(),this.play(),this.disconnect()}else((o=this.pc)==null?void 0:o.connectionState)!=="failed"&&((a=this.pc)==null?void 0:a.connectionState)!=="disconnected"||(clearTimeout(this.webrtcReconnectTimeout),this.webrtcReconnectTimeout=setTimeout(()=>{var h,l;((h=this.pc)==null?void 0:h.connectionState)!=="failed"&&((l=this.pc)==null?void 0:l.connectionState)!=="disconnected"||this.reconnect()},1e3))}),this.pc.addTransceiver("video",{direction:"recvonly"}),this.pc.addTransceiver("audio",{direction:"recvonly"}),this.micTransceiver=this.pc.addTransceiver("audio",{direction:"sendonly"});const e=await this.pc.createOffer();await this.pc.setLocalDescription(e),console.log(this.cameraDevice.name,"Offer:",e.sdp),this.socket.emit("stream-payload",{id:this.streamId,data:{type:"webrtc/offer",value:e.sdp}})}async onWebrtcData(e){var s,n,r;try{switch(e.type){case"webrtc/candidate":if(this.options.mode==="webrtc/tcp"&&e.value.indexOf(" udp ")>0)return;await((s=this.pc)==null?void 0:s.addIceCandidate({candidate:e.value,sdpMid:"0"}));break;case"webrtc/answer":console.log(this.cameraDevice.name,"Answer:",e.value),await((n=this.pc)==null?void 0:n.setRemoteDescription({type:"answer",sdp:e.value}));break;case"error":if(console.log(this.cameraDevice.name,"WebRTC Error:",e.value),e.value.indexOf("webrtc/offer")<0)return;(r=this.pc)==null||r.close()}}catch(o){this.dispatchEvent(new ErrorEvent("error",{error:o,message:o.message}))}}requestMse(){if(this.reset(),"ManagedMediaSource"in window){console.log(this.cameraDevice.name,"Using ManagedMediaSource");const e=window.ManagedMediaSource;this.mediaSource=new e,this.mediaSource.addEventListener("sourceopen",()=>{this.socket.emit("stream-payload",{id:this.streamId,data:{type:"mse",value:this.parseCodecs(e.isTypeSupported)}})},{once:!0}),this.videoPlayer.disableRemotePlayback=!0,this.videoPlayer.srcObject=this.mediaSource}else console.log(this.cameraDevice.name,"Using MediaSource"),this.mediaSource=new MediaSource,this.mediaSource.addEventListener("sourceopen",()=>{URL.revokeObjectURL(this.videoPlayer.src),this.socket.emit("stream-payload",{id:this.streamId,data:{type:"mse",value:this.parseCodecs(MediaSource.isTypeSupported)}})},{once:!0}),this.videoPlayer.src=URL.createObjectURL(this.mediaSource),this.videoPlayer.srcObject=null;this.play(),this.mseCodecs=""}onMseData(e){this.mediaSource&&(this.mseCodecs=e.value,this.bufLen=0,this.buf=new Uint8Array(2097152),this.sourceBuffer=this.mediaSource.addSourceBuffer(e.value),this.sourceBuffer.mode="segments",this.sourceBuffer.addEventListener("updateend",()=>{var s,n,r,o,a;if(!((s=this.sourceBuffer)!=null&&s.updating))try{if(this.bufLen>0){const h=this.buf.slice(0,this.bufLen);this.bufLen=0,(n=this.sourceBuffer)==null||n.appendBuffer(h)}else if((o=(r=this.sourceBuffer)==null?void 0:r.buffered)!=null&&o.length){const h=this.sourceBuffer.buffered.end(this.sourceBuffer.buffered.length-1)-15,l=this.sourceBuffer.buffered.start(0);h>l&&(this.sourceBuffer.remove(l,h),(a=this.mediaSource)==null||a.setLiveSeekableRange(h,h+15))}}catch{}}))}async onMseBuffer(e){var s,n,r;if(((s=this.mediaSource)==null?void 0:s.readyState)!=="closed")if(this.finishLoading(),((n=this.sourceBuffer)==null?void 0:n.updating)||this.bufLen>0){const o=new Uint8Array(e.value);this.buf.set(o,this.bufLen),this.bufLen+=o.byteLength}else try{(r=this.sourceBuffer)==null||r.appendBuffer(e.value)}catch{}else this.closed||(this.closed=!0,this.dispatchEvent(new ErrorEvent("error",{message:"MediaSource closed"})),this.options.mode="webrtc",this.requestWebrtc())}requestMjpeg(){this.reset(),this.socket.emit("stream-payload",{id:this.streamId,data:{type:"mjpeg"}})}onMjpegBuffer(e){this.videoPlayer.controls=!1,this.videoPlayer.poster="data:image/jpeg;base64,"+this.btoaBinary(e.value),this.finishLoading()}requestMp4(){this.reset();const e=document.createElement("canvas");let s=null;this.videoPlayerMp4=document.createElement("video"),this.videoPlayerMp4.autoplay=!0,this.videoPlayerMp4.playsInline=!0,this.videoPlayerMp4.muted=!0,this.videoPlayerMp4.addEventListener("loadeddata",()=>{this.videoPlayerMp4&&(s||(e.width=this.videoPlayerMp4.videoWidth,e.height=this.videoPlayerMp4.videoHeight,s=e.getContext("2d")),s==null||s.drawImage(this.videoPlayerMp4,0,0,e.width,e.height),this.videoPlayer.controls=!1,this.videoPlayer.poster=e.toDataURL("image/jpeg"))});const n=this.codecList.filter(r=>this.media.includes(r.indexOf("vc1")>0?"video":"audio")).filter(r=>this.videoPlayer.canPlayType(`video/mp4; codecs="${r}"`)).join();console.log(this.cameraDevice.name,"Playable codecs (MP4):",n),this.socket.emit("stream-payload",{id:this.streamId,data:{type:"mp4",value:n}})}onMp4Buffer(e){this.finishLoading(),this.videoPlayerMp4&&(this.videoPlayerMp4.src="data:video/mp4;base64,"+this.btoaBinary(e.value))}requestHls(){this.reset();const e=this.parseCodecs(s=>this.videoPlayer.canPlayType(s));console.log(this.cameraDevice.name,"Playable codecs (HLS):",e),this.socket.emit("stream-payload",{id:this.streamId,data:{type:"hls",value:e}})}onHlsData(e){const s="http"+e.wsURL.substring(2,e.wsURL.indexOf("/ws"))+"/hls/",n=e.value.replace("hls/",s),r="data:application/vnd.apple.mpegurl;base64,"+btoa(n.toString());this.videoPlayer.src=r,this.finishLoading(),this.play()}onStreamInfo(e){var n;const s=e.value;(n=s==null?void 0:s.producers)!=null&&n.length&&(this.hasBackchannel=s.producers.some(r=>{var o;return(o=r.senders)==null?void 0:o.length}))}async play(){try{await this.videoPlayer.play()}catch(e){if(!this.videoPlayer.muted)return this.videoPlayer.muted=!0,this.play();this.logger.warn(this.cameraDevice.name,e)}}finishLoading(){this._finishLoading||(this._finishLoading=!0,this.dispatchEvent(new Event("finishLoading")))}createCodecsList(){const e=["avc1.640029","avc1.64002A","avc1.640033","hvc1.1.6.L153.B0","mp4a.40.2","mp4a.40.5","flac","opus"],s=typeof window>"u"?null:navigator.userAgent.match(/Version\/(\d+).+Safari/);if(s!=null&&s[1]){const n=s[1]<"13"?"mp4a.40.2":s[1]<"14"?"flac":"opus";e.splice(e.indexOf(n))}this.codecList=e}parseCodecs(e){return this.codecList.filter(s=>this.media.includes(s.indexOf("vc1")>0?"video":"audio")).filter(s=>e(`video/mp4; codecs="${s}"`)).join()}btoaBinary(e){const s=new Uint8Array(e),n=s.byteLength;let r="";for(let o=0;o<n;o++)r+=String.fromCharCode(s[o]);return window.btoa(r)}}class Zt extends si{constructor(e,s,n){super(e,n);f(this,"socketService");f(this,"socket");f(this,"pluginName","@camera.ui/client");f(this,"subject");f(this,"_started",!1);f(this,"cameraDelegate",new ii(this.onRequest.bind(this)));f(this,"ptzDelegate",new ri(this.onRequest.bind(this)));f(this,"prebufferDelegate",new ni(this.onRequest.bind(this)));this.socketService=s;const{socket:r}=this.socketService.getSocket(this.id,!0);this.socket=r,this.socket.connect(),this.subject=`${this.pluginName}.camera.${this.id}`,this.listenToMessages()}get started(){return this._started}get sources(){return this._sources.filter(e=>!e.internal)}get internalSources(){return this._sources.map(e=>({...e,type:e.name.endsWith(" AAC")?"aac":e.name.endsWith(" OPUS")?"opus":"pcma"})).filter(e=>e.internal)}get _sources(){return JSON.parse(JSON.stringify(this.cameraSubject.getValue().sources)).map(e=>({...e,getPrebufferingState:s=>this.prebufferDelegate.getPrebufferingState(e.name,s),probeStream:()=>this.onRequest("cameraFn","probeStream",[e._id])}))}async start(){this._started||(this._started=!0,await this.refreshStates(),this.socket.emit("joinRoomStates",this.id))}stop(){this._started=!1,this.socket.emit("leaveRoomStates",this.id)}close(){this.cleanup()}connect(){return this.onRequest("cameraFn","connect")}disconnect(){return this.onRequest("cameraFn","disconnect")}createSession(e){return new oi(this,this.socketService,this.logger,e)}async refreshStates(){const e=await this.onRequest("cameraFn","refreshStates");super.updateCamera(e.camera),super.updateCameraState(e.cameraState);for(const[s,n]of Object.entries(e.states))super.updateStateInternal(s,n,!0)}async cleanup(){this.stop(),this.removeAllListeners(),this.unsubscribe(),this.socket.removeAllListeners()}listenToMessages(){this.socket.emit("joinRoomDevice",this.id),this.socket.on("updateState",e=>{e.cameraId===this.id&&super.updateStateInternal(e.stateName,e.data.newEvent,!0)}),this.socket.on("updateDevice",e=>{if(e.cameraId===this.id)switch(e.type){case"removed":this.cleanup();break;case"updated":super.updateCamera(e.data);break;case"cameraState":super.updateCameraState(e.data)}})}onRequest(e,s,n=[]){const r={requestId:rt(),targetId:this.subject,targetName:this.name,pluginId:this.pluginName,cameraId:this.id,type:"request",proxy:"camera",client:e,fn:s,args:n,timestamp:Date.now(),timeout:5e3};return new Promise((o,a)=>{this.socket.emit("request",r,h=>{h.error?a(h.error):o(h.response)})})}}class ai{constructor(t,e){f(this,"socketService");f(this,"socket");f(this,"logger");f(this,"pluginName","@camera.ui/client");f(this,"subject");this.socketService=t,this.socket=t.socket,this.logger=e,this.subject=`${this.pluginName}.coreManager`}async getFFmpegPath(){return this.onRequest("getFFmpegPath")}async getHwaccelInfo(){return this.onRequest("getHwaccelInfo")}async getServerAddresses(){return this.onRequest("getServerAddresses")}async getIceServers(){return this.onRequest("getIceServers")}onRequest(t,e){const s={requestId:rt(),targetId:this.subject,targetName:this.pluginName,pluginId:this.pluginName,type:"request",proxy:"core",client:"coreFn",fn:t,args:e||[],timestamp:Date.now(),timeout:5e3};return new Promise((n,r)=>{this.socket.emit("request",s,o=>{o.error?r(o.error):n(o.response)})})}}class ci{constructor(t,e){f(this,"socketService");f(this,"socket");f(this,"logger");f(this,"pluginName","@camera.ui/client");f(this,"subject");this.socketService=t,this.socket=t.socket,this.logger=e,this.subject=`${this.pluginName}.deviceManager`}async getCameraById(t){const e=await this.onRequest("getCameraById",[t]);if(e){const s=new Zt(e,this.socketService,this.logger);return await s.refreshStates(),s}}async getCameraByName(t){const e=await this.onRequest("getCameraByName",[t]);if(e){const s=new Zt(e,this.socketService,this.logger);return await s.refreshStates(),s}}onRequest(t,e){const s={requestId:rt(),targetId:this.subject,targetName:this.pluginName,pluginId:this.pluginName,type:"request",proxy:"device",client:"deviceFn",fn:t,args:e||[],timestamp:Date.now(),timeout:5e3};return new Promise((n,r)=>{this.socket.emit("request",s,o=>{o.error?r(o.error):n(o.response)})})}}const ne=Object.create(null);ne.open="0",ne.close="1",ne.ping="2",ne.pong="3",ne.message="4",ne.upgrade="5",ne.noop="6";const Ke=Object.create(null);Object.keys(ne).forEach(i=>{Ke[ne[i]]=i});const Tt={type:"error",data:"parser error"},Os=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",As=typeof ArrayBuffer=="function",Cs=i=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(i):i&&i.buffer instanceof ArrayBuffer,ft=({type:i,data:t},e,s)=>Os&&t instanceof Blob?e?s(t):es(t,s):As&&(t instanceof ArrayBuffer||Cs(t))?e?s(t):es(new Blob([t]),s):s(ne[i]+(t||"")),es=(i,t)=>{const e=new FileReader;return e.onload=function(){const s=e.result.split(",")[1];t("b"+(s||""))},e.readAsDataURL(i)};function ts(i){return i instanceof Uint8Array?i:i instanceof ArrayBuffer?new Uint8Array(i):new Uint8Array(i.buffer,i.byteOffset,i.byteLength)}let pt;const Be=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let i=0;i<64;i++)Be["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(i)]=i;const hi=typeof ArrayBuffer=="function",Rt=(i,t)=>{if(typeof i!="string")return{type:"message",data:Ts(i,t)};const e=i.charAt(0);return e==="b"?{type:"message",data:ui(i.substring(1),t)}:Ke[e]?i.length>1?{type:Ke[e],data:i.substring(1)}:{type:Ke[e]}:Tt},ui=(i,t)=>{if(hi){const e=(s=>{let n,r,o,a,h,l=.75*s.length,u=s.length,d=0;s[s.length-1]==="="&&(l--,s[s.length-2]==="="&&l--);const w=new ArrayBuffer(l),v=new Uint8Array(w);for(n=0;n<u;n+=4)r=Be[s.charCodeAt(n)],o=Be[s.charCodeAt(n+1)],a=Be[s.charCodeAt(n+2)],h=Be[s.charCodeAt(n+3)],v[d++]=r<<2|o>>4,v[d++]=(15&o)<<4|a>>2,v[d++]=(3&a)<<6|63&h;return w})(i);return Ts(e,t)}return{base64:!0,data:i}},Ts=(i,t)=>t==="blob"?i instanceof Blob?i:new Blob([i]):i instanceof ArrayBuffer?i:i.buffer,ss="";let gt;function ze(i){return i.reduce((t,e)=>t+e.length,0)}function Ve(i,t){if(i[0].length===t)return i.shift();const e=new Uint8Array(t);let s=0;for(let n=0;n<t;n++)e[n]=i[0][s++],s===i[0].length&&(i.shift(),s=0);return i.length&&s<i[0].length&&(i[0]=i[0].slice(s)),e}function P(i){if(i)return function(t){for(var e in P.prototype)t[e]=P.prototype[e];return t}(i)}P.prototype.on=P.prototype.addEventListener=function(i,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+i]=this._callbacks["$"+i]||[]).push(t),this},P.prototype.once=function(i,t){function e(){this.off(i,e),t.apply(this,arguments)}return e.fn=t,this.on(i,e),this},P.prototype.off=P.prototype.removeListener=P.prototype.removeAllListeners=P.prototype.removeEventListener=function(i,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var e,s=this._callbacks["$"+i];if(!s)return this;if(arguments.length==1)return delete this._callbacks["$"+i],this;for(var n=0;n<s.length;n++)if((e=s[n])===t||e.fn===t){s.splice(n,1);break}return s.length===0&&delete this._callbacks["$"+i],this},P.prototype.emit=function(i){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),e=this._callbacks["$"+i],s=1;s<arguments.length;s++)t[s-1]=arguments[s];if(e){s=0;for(var n=(e=e.slice(0)).length;s<n;++s)e[s].apply(this,t)}return this},P.prototype.emitReserved=P.prototype.emit,P.prototype.listeners=function(i){return this._callbacks=this._callbacks||{},this._callbacks["$"+i]||[]},P.prototype.hasListeners=function(i){return!!this.listeners(i).length};const J=typeof self<"u"?self:typeof window<"u"?window:Function("return this")();function Rs(i,...t){return t.reduce((e,s)=>(i.hasOwnProperty(s)&&(e[s]=i[s]),e),{})}const li=J.setTimeout,di=J.clearTimeout;function ot(i,t){t.useNativeTimers?(i.setTimeoutFn=li.bind(J),i.clearTimeoutFn=di.bind(J)):(i.setTimeoutFn=J.setTimeout.bind(J),i.clearTimeoutFn=J.clearTimeout.bind(J))}class fi extends Error{constructor(t,e,s){super(t),this.description=e,this.context=s,this.type="TransportError"}}class mt extends P{constructor(t){super(),this.writable=!1,ot(this,t),this.opts=t,this.query=t.query,this.socket=t.socket}onError(t,e,s){return super.emitReserved("error",new fi(t,e,s)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return this.readyState!=="opening"&&this.readyState!=="open"||(this.doClose(),this.onClose()),this}send(t){this.readyState==="open"&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){const e=Rt(t,this.socket.binaryType);this.onPacket(e)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}pause(t){}createUri(t,e={}){return t+"://"+this._hostname()+this._port()+this.opts.path+this._query(e)}_hostname(){const t=this.opts.hostname;return t.indexOf(":")===-1?t:"["+t+"]"}_port(){return this.opts.port&&(this.opts.secure&&+(this.opts.port!==443)||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(t){const e=function(s){let n="";for(let r in s)s.hasOwnProperty(r)&&(n.length&&(n+="&"),n+=encodeURIComponent(r)+"="+encodeURIComponent(s[r]));return n}(t);return e.length?"?"+e:""}}const js="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),jt=64,pi={};let is,ns=0,We=0;function rs(i){let t="";do t=js[i%jt]+t,i=Math.floor(i/jt);while(i>0);return t}function os(){const i=rs(+new Date);return i!==is?(ns=0,is=i):i+"."+rs(ns++)}for(;We<jt;We++)pi[js[We]]=We;let Bs=!1;try{Bs=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const gi=Bs;function Ls(i){const t=i.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!t||gi))return new XMLHttpRequest}catch{}if(!t)try{return new J[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}function mi(){}const yi=new Ls({xdomain:!1}).responseType!=null;class re extends P{constructor(t,e){super(),ot(this,e),this.opts=e,this.method=e.method||"GET",this.uri=t,this.data=e.data!==void 0?e.data:null,this.create()}create(){var t;const e=Rs(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");e.xdomain=!!this.opts.xd;const s=this.xhr=new Ls(e);try{s.open(this.method,this.uri,!0);try{if(this.opts.extraHeaders){s.setDisableHeaderCheck&&s.setDisableHeaderCheck(!0);for(let n in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(n)&&s.setRequestHeader(n,this.opts.extraHeaders[n])}}catch{}if(this.method==="POST")try{s.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{s.setRequestHeader("Accept","*/*")}catch{}(t=this.opts.cookieJar)===null||t===void 0||t.addCookies(s),"withCredentials"in s&&(s.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(s.timeout=this.opts.requestTimeout),s.onreadystatechange=()=>{var n;s.readyState===3&&((n=this.opts.cookieJar)===null||n===void 0||n.parseCookies(s)),s.readyState===4&&(s.status===200||s.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof s.status=="number"?s.status:0)},0))},s.send(this.data)}catch(n){return void this.setTimeoutFn(()=>{this.onError(n)},0)}typeof document<"u"&&(this.index=re.requestsCount++,re.requests[this.index]=this)}onError(t){this.emitReserved("error",t,this.xhr),this.cleanup(!0)}cleanup(t){if(this.xhr!==void 0&&this.xhr!==null){if(this.xhr.onreadystatechange=mi,t)try{this.xhr.abort()}catch{}typeof document<"u"&&delete re.requests[this.index],this.xhr=null}}onLoad(){const t=this.xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}function as(){for(let i in re.requests)re.requests.hasOwnProperty(i)&&re.requests[i].abort()}re.requestsCount=0,re.requests={},typeof document<"u"&&(typeof attachEvent=="function"?attachEvent("onunload",as):typeof addEventListener=="function"&&addEventListener("onpagehide"in J?"pagehide":"unload",as,!1));const Bt=typeof Promise=="function"&&typeof Promise.resolve=="function"?i=>Promise.resolve().then(i):(i,t)=>t(i,0),He=J.WebSocket||J.MozWebSocket,cs=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative",bi={websocket:class extends mt{constructor(i){super(i),this.supportsBinary=!i.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const i=this.uri(),t=this.opts.protocols,e=cs?{}:Rs(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(e.headers=this.opts.extraHeaders);try{this.ws=cs?new He(i,t,e):t?new He(i,t):new He(i)}catch(s){return this.emitReserved("error",s)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=i=>this.onClose({description:"websocket connection closed",context:i}),this.ws.onmessage=i=>this.onData(i.data),this.ws.onerror=i=>this.onError("websocket error",i)}write(i){this.writable=!1;for(let t=0;t<i.length;t++){const e=i[t],s=t===i.length-1;ft(e,this.supportsBinary,n=>{try{this.ws.send(n)}catch{}s&&Bt(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){this.ws!==void 0&&(this.ws.close(),this.ws=null)}uri(){const i=this.opts.secure?"wss":"ws",t=this.query||{};return this.opts.timestampRequests&&(t[this.opts.timestampParam]=os()),this.supportsBinary||(t.b64=1),this.createUri(i,t)}check(){return!!He}},webtransport:class extends mt{get name(){return"webtransport"}doOpen(){typeof WebTransport=="function"&&(this.transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name]),this.transport.closed.then(()=>{this.onClose()}).catch(i=>{this.onError("webtransport error",i)}),this.transport.ready.then(()=>{this.transport.createBidirectionalStream().then(i=>{const t=function(o,a){gt||(gt=new TextDecoder);const h=[];let l=0,u=-1,d=!1;return new TransformStream({transform(w,v){for(h.push(w);;){if(l===0){if(ze(h)<1)break;const m=Ve(h,1);d=!(128&~m[0]),u=127&m[0],l=u<126?3:u===126?1:2}else if(l===1){if(ze(h)<2)break;const m=Ve(h,2);u=new DataView(m.buffer,m.byteOffset,m.length).getUint16(0),l=3}else if(l===2){if(ze(h)<8)break;const m=Ve(h,8),S=new DataView(m.buffer,m.byteOffset,m.length),k=S.getUint32(0);if(k>Math.pow(2,21)-1){v.enqueue(Tt);break}u=k*Math.pow(2,32)+S.getUint32(4),l=3}else{if(ze(h)<u)break;const m=Ve(h,u);v.enqueue(Rt(d?m:gt.decode(m),a)),l=0}if(u===0||u>o){v.enqueue(Tt);break}}}})}(Number.MAX_SAFE_INTEGER,this.socket.binaryType),e=i.readable.pipeThrough(t).getReader(),s=new TransformStream({transform(o,a){(function(h,l){Os&&h.data instanceof Blob?h.data.arrayBuffer().then(ts).then(l):As&&(h.data instanceof ArrayBuffer||Cs(h.data))?l(ts(h.data)):ft(h,!1,u=>{pt||(pt=new TextEncoder),l(pt.encode(u))})})(o,h=>{const l=h.length;let u;if(l<126)u=new Uint8Array(1),new DataView(u.buffer).setUint8(0,l);else if(l<65536){u=new Uint8Array(3);const d=new DataView(u.buffer);d.setUint8(0,126),d.setUint16(1,l)}else{u=new Uint8Array(9);const d=new DataView(u.buffer);d.setUint8(0,127),d.setBigUint64(1,BigInt(l))}o.data&&typeof o.data!="string"&&(u[0]|=128),a.enqueue(u),a.enqueue(h)})}});s.readable.pipeTo(i.writable),this.writer=s.writable.getWriter();const n=()=>{e.read().then(({done:o,value:a})=>{o||(this.onPacket(a),n())}).catch(o=>{})};n();const r={type:"open"};this.query.sid&&(r.data=`{"sid":"${this.query.sid}"}`),this.writer.write(r).then(()=>this.onOpen())})}))}write(i){this.writable=!1;for(let t=0;t<i.length;t++){const e=i[t],s=t===i.length-1;this.writer.write(e).then(()=>{s&&Bt(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var i;(i=this.transport)===null||i===void 0||i.close()}},polling:class extends mt{constructor(i){if(super(i),this.polling=!1,typeof location<"u"){const e=location.protocol==="https:";let s=location.port;s||(s=e?"443":"80"),this.xd=typeof location<"u"&&i.hostname!==location.hostname||s!==i.port}const t=i&&i.forceBase64;this.supportsBinary=yi&&!t,this.opts.withCredentials&&(this.cookieJar=void 0)}get name(){return"polling"}doOpen(){this.poll()}pause(i){this.readyState="pausing";const t=()=>{this.readyState="paused",i()};if(this.polling||!this.writable){let e=0;this.polling&&(e++,this.once("pollComplete",function(){--e||t()})),this.writable||(e++,this.once("drain",function(){--e||t()}))}else t()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(i){((t,e)=>{const s=t.split(ss),n=[];for(let r=0;r<s.length;r++){const o=Rt(s[r],e);if(n.push(o),o.type==="error")break}return n})(i,this.socket.binaryType).forEach(t=>{if(this.readyState==="opening"&&t.type==="open"&&this.onOpen(),t.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(t)}),this.readyState!=="closed"&&(this.polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this.poll())}doClose(){const i=()=>{this.write([{type:"close"}])};this.readyState==="open"?i():this.once("open",i)}write(i){this.writable=!1,((t,e)=>{const s=t.length,n=new Array(s);let r=0;t.forEach((o,a)=>{ft(o,!1,h=>{n[a]=h,++r===s&&e(n.join(ss))})})})(i,t=>{this.doWrite(t,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const i=this.opts.secure?"https":"http",t=this.query||{};return this.opts.timestampRequests!==!1&&(t[this.opts.timestampParam]=os()),this.supportsBinary||t.sid||(t.b64=1),this.createUri(i,t)}request(i={}){return Object.assign(i,{xd:this.xd,cookieJar:this.cookieJar},this.opts),new re(this.uri(),i)}doWrite(i,t){const e=this.request({method:"POST",data:i});e.on("success",t),e.on("error",(s,n)=>{this.onError("xhr post error",s,n)})}doPoll(){const i=this.request();i.on("data",this.onData.bind(this)),i.on("error",(t,e)=>{this.onError("xhr poll error",t,e)}),this.pollXhr=i}}},vi=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,wi=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function Lt(i){if(i.length>2e3)throw"URI too long";const t=i,e=i.indexOf("["),s=i.indexOf("]");e!=-1&&s!=-1&&(i=i.substring(0,e)+i.substring(e,s).replace(/:/g,";")+i.substring(s,i.length));let n=vi.exec(i||""),r={},o=14;for(;o--;)r[wi[o]]=n[o]||"";return e!=-1&&s!=-1&&(r.source=t,r.host=r.host.substring(1,r.host.length-1).replace(/;/g,":"),r.authority=r.authority.replace("[","").replace("]","").replace(/;/g,":"),r.ipv6uri=!0),r.pathNames=function(a,h){const l=h.replace(/\/{2,9}/g,"/").split("/");return h.slice(0,1)!="/"&&h.length!==0||l.splice(0,1),h.slice(-1)=="/"&&l.splice(l.length-1,1),l}(0,r.path),r.queryKey=function(a,h){const l={};return h.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(u,d,w){d&&(l[d]=w)}),l}(0,r.query),r}class pe extends P{constructor(t,e={}){super(),this.binaryType="arraybuffer",this.writeBuffer=[],t&&typeof t=="object"&&(e=t,t=null),t?(t=Lt(t),e.hostname=t.host,e.secure=t.protocol==="https"||t.protocol==="wss",e.port=t.port,t.query&&(e.query=t.query)):e.host&&(e.hostname=Lt(e.host).host),ot(this,e),this.secure=e.secure!=null?e.secure:typeof location<"u"&&location.protocol==="https:",e.hostname&&!e.port&&(e.port=this.secure?"443":"80"),this.hostname=e.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=e.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=e.transports||["polling","websocket","webtransport"],this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},e),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=function(s){let n={},r=s.split("&");for(let o=0,a=r.length;o<a;o++){let h=r[o].split("=");n[decodeURIComponent(h[0])]=decodeURIComponent(h[1])}return n}(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,typeof addEventListener=="function"&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(t){const e=Object.assign({},this.opts.query);e.EIO=4,e.transport=t,this.id&&(e.sid=this.id);const s=Object.assign({},this.opts,{query:e,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[t]);return new bi[t](s)}open(){let t;if(this.opts.rememberUpgrade&&pe.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)t="websocket";else{if(this.transports.length===0)return void this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);t=this.transports[0]}this.readyState="opening";try{t=this.createTransport(t)}catch{return this.transports.shift(),void this.open()}t.open(),this.setTransport(t)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",e=>this.onClose("transport close",e))}probe(t){let e=this.createTransport(t),s=!1;pe.priorWebsocketSuccess=!1;const n=()=>{s||(e.send([{type:"ping",data:"probe"}]),e.once("packet",d=>{if(!s)if(d.type==="pong"&&d.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",e),!e)return;pe.priorWebsocketSuccess=e.name==="websocket",this.transport.pause(()=>{s||this.readyState!=="closed"&&(u(),this.setTransport(e),e.send([{type:"upgrade"}]),this.emitReserved("upgrade",e),e=null,this.upgrading=!1,this.flush())})}else{const w=new Error("probe error");w.transport=e.name,this.emitReserved("upgradeError",w)}}))};function r(){s||(s=!0,u(),e.close(),e=null)}const o=d=>{const w=new Error("probe error: "+d);w.transport=e.name,r(),this.emitReserved("upgradeError",w)};function a(){o("transport closed")}function h(){o("socket closed")}function l(d){e&&d.name!==e.name&&r()}const u=()=>{e.removeListener("open",n),e.removeListener("error",o),e.removeListener("close",a),this.off("close",h),this.off("upgrading",l)};e.once("open",n),e.once("error",o),e.once("close",a),this.once("close",h),this.once("upgrading",l),this.upgrades.indexOf("webtransport")!==-1&&t!=="webtransport"?this.setTimeoutFn(()=>{s||e.open()},200):e.open()}onOpen(){if(this.readyState="open",pe.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade){let t=0;const e=this.upgrades.length;for(;t<e;t++)this.probe(this.upgrades[t])}}onPacket(t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),this.resetPingTimeout(),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this.sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong");break;case"error":const e=new Error("server error");e.code=t.data,this.onError(e);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data)}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this.upgrades=this.filterUpgrades(t.upgrades),this.pingInterval=t.pingInterval,this.pingTimeout=t.pingTimeout,this.maxPayload=t.maxPayload,this.onOpen(),this.readyState!=="closed"&&this.resetPingTimeout()}resetPingTimeout(){this.clearTimeoutFn(this.pingTimeoutTimer),this.pingTimeoutTimer=this.setTimeoutFn(()=>{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const t=this.getWritablePackets();this.transport.send(t),this.prevBufferLen=t.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let t=1;for(let s=0;s<this.writeBuffer.length;s++){const n=this.writeBuffer[s].data;if(n&&(t+=typeof(e=n)=="string"?function(r){let o=0,a=0;for(let h=0,l=r.length;h<l;h++)o=r.charCodeAt(h),o<128?a+=1:o<2048?a+=2:o<55296||o>=57344?a+=3:(h++,a+=4);return a}(e):Math.ceil(1.33*(e.byteLength||e.size))),s>0&&t>this.maxPayload)return this.writeBuffer.slice(0,s);t+=2}var e;return this.writeBuffer}write(t,e,s){return this.sendPacket("message",t,e,s),this}send(t,e,s){return this.sendPacket("message",t,e,s),this}sendPacket(t,e,s,n){if(typeof e=="function"&&(n=e,e=void 0),typeof s=="function"&&(n=s,s=null),this.readyState==="closing"||this.readyState==="closed")return;(s=s||{}).compress=s.compress!==!1;const r={type:t,data:e,options:s};this.emitReserved("packetCreate",r),this.writeBuffer.push(r),n&&this.once("flush",n),this.flush()}close(){const t=()=>{this.onClose("forced close"),this.transport.close()},e=()=>{this.off("upgrade",e),this.off("upgradeError",e),t()},s=()=>{this.once("upgrade",e),this.once("upgradeError",e)};return this.readyState!=="opening"&&this.readyState!=="open"||(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?s():t()}):this.upgrading?s():t()),this}onError(t){pe.priorWebsocketSuccess=!1,this.emitReserved("error",t),this.onClose("transport error",t)}onClose(t,e){this.readyState!=="opening"&&this.readyState!=="open"&&this.readyState!=="closing"||(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",t,e),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(t){const e=[];let s=0;const n=t.length;for(;s<n;s++)~this.transports.indexOf(t[s])&&e.push(t[s]);return e}}pe.protocol=4;const Si=typeof ArrayBuffer=="function",_i=i=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(i):i.buffer instanceof ArrayBuffer,Ps=Object.prototype.toString,ki=typeof Blob=="function"||typeof Blob<"u"&&Ps.call(Blob)==="[object BlobConstructor]",Ei=typeof File=="function"||typeof File<"u"&&Ps.call(File)==="[object FileConstructor]";function qt(i){return Si&&(i instanceof ArrayBuffer||_i(i))||ki&&i instanceof Blob||Ei&&i instanceof File}function Xe(i,t){if(!i||typeof i!="object")return!1;if(Array.isArray(i)){for(let e=0,s=i.length;e<s;e++)if(Xe(i[e]))return!0;return!1}if(qt(i))return!0;if(i.toJSON&&typeof i.toJSON=="function"&&arguments.length===1)return Xe(i.toJSON(),!0);for(const e in i)if(Object.prototype.hasOwnProperty.call(i,e)&&Xe(i[e]))return!0;return!1}function xi(i){const t=[],e=i.data,s=i;return s.data=Pt(e,t),s.attachments=t.length,{packet:s,buffers:t}}function Pt(i,t){if(!i)return i;if(qt(i)){const e={_placeholder:!0,num:t.length};return t.push(i),e}if(Array.isArray(i)){const e=new Array(i.length);for(let s=0;s<i.length;s++)e[s]=Pt(i[s],t);return e}if(typeof i=="object"&&!(i instanceof Date)){const e={};for(const s in i)Object.prototype.hasOwnProperty.call(i,s)&&(e[s]=Pt(i[s],t));return e}return i}function Oi(i,t){return i.data=Dt(i.data,t),delete i.attachments,i}function Dt(i,t){if(!i)return i;if(i&&i._placeholder===!0){if(typeof i.num=="number"&&i.num>=0&&i.num<t.length)return t[i.num];throw new Error("illegal attachments")}if(Array.isArray(i))for(let e=0;e<i.length;e++)i[e]=Dt(i[e],t);else if(typeof i=="object")for(const e in i)Object.prototype.hasOwnProperty.call(i,e)&&(i[e]=Dt(i[e],t));return i}const Ai=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],Ci=5;var O;(function(i){i[i.CONNECT=0]="CONNECT",i[i.DISCONNECT=1]="DISCONNECT",i[i.EVENT=2]="EVENT",i[i.ACK=3]="ACK",i[i.CONNECT_ERROR=4]="CONNECT_ERROR",i[i.BINARY_EVENT=5]="BINARY_EVENT",i[i.BINARY_ACK=6]="BINARY_ACK"})(O||(O={}));class Ti{constructor(t){this.replacer=t}encode(t){return t.type!==O.EVENT&&t.type!==O.ACK||!Xe(t)?[this.encodeAsString(t)]:this.encodeAsBinary({type:t.type===O.EVENT?O.BINARY_EVENT:O.BINARY_ACK,nsp:t.nsp,data:t.data,id:t.id})}encodeAsString(t){let e=""+t.type;return t.type!==O.BINARY_EVENT&&t.type!==O.BINARY_ACK||(e+=t.attachments+"-"),t.nsp&&t.nsp!=="/"&&(e+=t.nsp+","),t.id!=null&&(e+=t.id),t.data!=null&&(e+=JSON.stringify(t.data,this.replacer)),e}encodeAsBinary(t){const e=xi(t),s=this.encodeAsString(e.packet),n=e.buffers;return n.unshift(s),n}}function hs(i){return Object.prototype.toString.call(i)==="[object Object]"}class It extends P{constructor(t){super(),this.reviver=t}add(t){let e;if(typeof t=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");e=this.decodeString(t);const s=e.type===O.BINARY_EVENT;s||e.type===O.BINARY_ACK?(e.type=s?O.EVENT:O.ACK,this.reconstructor=new Ri(e),e.attachments===0&&super.emitReserved("decoded",e)):super.emitReserved("decoded",e)}else{if(!qt(t)&&!t.base64)throw new Error("Unknown type: "+t);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");e=this.reconstructor.takeBinaryData(t),e&&(this.reconstructor=null,super.emitReserved("decoded",e))}}decodeString(t){let e=0;const s={type:Number(t.charAt(0))};if(O[s.type]===void 0)throw new Error("unknown packet type "+s.type);if(s.type===O.BINARY_EVENT||s.type===O.BINARY_ACK){const r=e+1;for(;t.charAt(++e)!=="-"&&e!=t.length;);const o=t.substring(r,e);if(o!=Number(o)||t.charAt(e)!=="-")throw new Error("Illegal attachments");s.attachments=Number(o)}if(t.charAt(e+1)==="/"){const r=e+1;for(;++e&&t.charAt(e)!==","&&e!==t.length;);s.nsp=t.substring(r,e)}else s.nsp="/";const n=t.charAt(e+1);if(n!==""&&Number(n)==n){const r=e+1;for(;++e;){const o=t.charAt(e);if(o==null||Number(o)!=o){--e;break}if(e===t.length)break}s.id=Number(t.substring(r,e+1))}if(t.charAt(++e)){const r=this.tryParse(t.substr(e));if(!It.isPayloadValid(s.type,r))throw new Error("invalid payload");s.data=r}return s}tryParse(t){try{return JSON.parse(t,this.reviver)}catch{return!1}}static isPayloadValid(t,e){switch(t){case O.CONNECT:return hs(e);case O.DISCONNECT:return e===void 0;case O.CONNECT_ERROR:return typeof e=="string"||hs(e);case O.EVENT:case O.BINARY_EVENT:return Array.isArray(e)&&(typeof e[0]=="number"||typeof e[0]=="string"&&Ai.indexOf(e[0])===-1);case O.ACK:case O.BINARY_ACK:return Array.isArray(e)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class Ri{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){const e=Oi(this.reconPack,this.buffers);return this.finishedReconstruction(),e}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}function ie(i,t,e){return i.on(t,e),function(){i.off(t,e)}}const ji=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class Ds extends P{constructor(t,e,s){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=e,s&&s.auth&&(this.auth=s.auth),this._opts=Object.assign({},s),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const t=this.io;this.subs=[ie(t,"open",this.onopen.bind(this)),ie(t,"packet",this.onpacket.bind(this)),ie(t,"error",this.onerror.bind(this)),ie(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected||(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen()),this}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...e){if(ji.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');if(e.unshift(t),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(e),this;const s={type:O.EVENT,data:e,options:{}};if(s.options.compress=this.flags.compress!==!1,typeof e[e.length-1]=="function"){const r=this.ids++,o=e.pop();this._registerAckCallback(r,o),s.id=r}const n=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!n||!this.connected)||(this.connected?(this.notifyOutgoingListeners(s),this.packet(s)):this.sendBuffer.push(s)),this.flags={},this}_registerAckCallback(t,e){var s;const n=(s=this.flags.timeout)!==null&&s!==void 0?s:this._opts.ackTimeout;if(n===void 0)return void(this.acks[t]=e);const r=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let a=0;a<this.sendBuffer.length;a++)this.sendBuffer[a].id===t&&this.sendBuffer.splice(a,1);e.call(this,new Error("operation has timed out"))},n),o=(...a)=>{this.io.clearTimeoutFn(r),e.apply(this,a)};o.withError=!0,this.acks[t]=o}emitWithAck(t,...e){return new Promise((s,n)=>{const r=(o,a)=>o?n(o):s(a);r.withError=!0,e.push(r),this.emit(t,...e)})}_addToQueue(t){let e;typeof t[t.length-1]=="function"&&(e=t.pop());const s={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((n,...r)=>{if(s===this._queue[0])return n!==null?s.tryCount>this._opts.retries&&(this._queue.shift(),e&&e(n)):(this._queue.shift(),e&&e(null,...r)),s.pending=!1,this._drainQueue()}),this._queue.push(s),this._drainQueue()}_drainQueue(t=!1){if(!this.connected||this._queue.length===0)return;const e=this._queue[0];e.pending&&!t||(e.pending=!0,e.tryCount++,this.flags=e.flags,this.emit.apply(this,e.args))}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:O.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,e){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,e),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(t=>{if(!this.sendBuffer.some(e=>String(e.id)===t)){const e=this.acks[t];delete this.acks[t],e.withError&&e.call(this,new Error("socket has been disconnected"))}})}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case O.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case O.EVENT:case O.BINARY_EVENT:this.onevent(t);break;case O.ACK:case O.BINARY_ACK:this.onack(t);break;case O.DISCONNECT:this.ondisconnect();break;case O.CONNECT_ERROR:this.destroy();const e=new Error(t.data.message);e.data=t.data.data,this.emitReserved("connect_error",e)}}onevent(t){const e=t.data||[];t.id!=null&&e.push(this.ack(t.id)),this.connected?this.emitEvent(e):this.receiveBuffer.push(Object.freeze(e))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const e=this._anyListeners.slice();for(const s of e)s.apply(this,t)}super.emit.apply(this,t),this._pid&&t.length&&typeof t[t.length-1]=="string"&&(this._lastOffset=t[t.length-1])}ack(t){const e=this;let s=!1;return function(...n){s||(s=!0,e.packet({type:O.ACK,id:t,data:n}))}}onack(t){const e=this.acks[t.id];typeof e=="function"&&(delete this.acks[t.id],e.withError&&t.data.unshift(null),e.apply(this,t.data))}onconnect(t,e){this.id=t,this.recovered=e&&this._pid===e,this._pid=e,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:O.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const e=this._anyListeners;for(let s=0;s<e.length;s++)if(t===e[s])return e.splice(s,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(t),this}prependAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(t),this}offAnyOutgoing(t){if(!this._anyOutgoingListeners)return this;if(t){const e=this._anyOutgoingListeners;for(let s=0;s<e.length;s++)if(t===e[s])return e.splice(s,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(t){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const e=this._anyOutgoingListeners.slice();for(const s of e)s.apply(this,t.data)}}}function _e(i){i=i||{},this.ms=i.min||100,this.max=i.max||1e4,this.factor=i.factor||2,this.jitter=i.jitter>0&&i.jitter<=1?i.jitter:0,this.attempts=0}_e.prototype.duration=function(){var i=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),e=Math.floor(t*this.jitter*i);i=1&Math.floor(10*t)?i+e:i-e}return 0|Math.min(i,this.max)},_e.prototype.reset=function(){this.attempts=0},_e.prototype.setMin=function(i){this.ms=i},_e.prototype.setMax=function(i){this.max=i},_e.prototype.setJitter=function(i){this.jitter=i};class st extends P{constructor(t,e){var s;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(e=t,t=void 0),(e=e||{}).path=e.path||"/socket.io",this.opts=e,ot(this,e),this.reconnection(e.reconnection!==!1),this.reconnectionAttempts(e.reconnectionAttempts||1/0),this.reconnectionDelay(e.reconnectionDelay||1e3),this.reconnectionDelayMax(e.reconnectionDelayMax||5e3),this.randomizationFactor((s=e.randomizationFactor)!==null&&s!==void 0?s:.5),this.backoff=new _e({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(e.timeout==null?2e4:e.timeout),this._readyState="closed",this.uri=t;const n=e.parser||bt;this.encoder=new n.Encoder,this.decoder=new n.Decoder,this._autoConnect=e.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var e;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(e=this.backoff)===null||e===void 0||e.setMin(t),this)}randomizationFactor(t){var e;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(e=this.backoff)===null||e===void 0||e.setJitter(t),this)}reconnectionDelayMax(t){var e;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(e=this.backoff)===null||e===void 0||e.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new pe(this.uri,this.opts);const e=this.engine,s=this;this._readyState="opening",this.skipReconnect=!1;const n=ie(e,"open",function(){s.onopen(),t&&t()}),r=a=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",a),t?t(a):this.maybeReconnectOnOpen()},o=ie(e,"error",r);if(this._timeout!==!1){const a=this._timeout,h=this.setTimeoutFn(()=>{n(),r(new Error("timeout")),e.close()},a);this.opts.autoUnref&&h.unref(),this.subs.push(()=>{this.clearTimeoutFn(h)})}return this.subs.push(n),this.subs.push(o),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(ie(t,"ping",this.onping.bind(this)),ie(t,"data",this.ondata.bind(this)),ie(t,"error",this.onerror.bind(this)),ie(t,"close",this.onclose.bind(this)),ie(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(e){this.onclose("parse error",e)}}ondecoded(t){Bt(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,e){let s=this.nsps[t];return s?this._autoConnect&&!s.active&&s.connect():(s=new Ds(this,t,e),this.nsps[t]=s),s}_destroy(t){const e=Object.keys(this.nsps);for(const s of e)if(this.nsps[s].active)return;this._close()}_packet(t){const e=this.encoder.encode(t);for(let s=0;s<e.length;s++)this.engine.write(e[s],t.options)}cleanup(){this.subs.forEach(t=>t()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(t,e){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,e),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const e=this.backoff.duration();this._reconnecting=!0;const s=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),t.skipReconnect||t.open(n=>{n?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",n)):t.onreconnect()}))},e);this.opts.autoUnref&&s.unref(),this.subs.push(()=>{this.clearTimeoutFn(s)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const Re={};function yt(i,t){typeof i=="object"&&(t=i,i=void 0);const e=function(h,l="",u){let d=h;u=u||typeof location<"u"&&location,h==null&&(h=u.protocol+"//"+u.host),typeof h=="string"&&(h.charAt(0)==="/"&&(h=h.charAt(1)==="/"?u.protocol+h:u.host+h),/^(https?|wss?):\/\//.test(h)||(h=u!==void 0?u.protocol+"//"+h:"https://"+h),d=Lt(h)),d.port||(/^(http|ws)$/.test(d.protocol)?d.port="80":/^(http|ws)s$/.test(d.protocol)&&(d.port="443")),d.path=d.path||"/";const w=d.host.indexOf(":")!==-1?"["+d.host+"]":d.host;return d.id=d.protocol+"://"+w+":"+d.port+l,d.href=d.protocol+"://"+w+(u&&u.port===d.port?"":":"+d.port),d}(i,(t=t||{}).path||"/socket.io"),s=e.source,n=e.id,r=e.path,o=Re[n]&&r in Re[n].nsps;let a;return t.forceNew||t["force new connection"]||t.multiplex===!1||o?a=new st(s,t):(Re[n]||(Re[n]=new st(s,t)),a=Re[n]),e.query&&!t.query&&(t.query=e.queryKey),a.socket(e.path,t)}Object.assign(yt,{Manager:st,Socket:Ds,io:yt,connect:yt});class Bi{constructor(t,e){f(this,"socket");f(this,"token");f(this,"endpoint");f(this,"socketList",new Map);this.endpoint=t.replace("https://","wss://").replace("http://","ws://"),this.token=e,this.socket=this.getSocket("default").socket,this.socket.connect()}close(){this.socket.emit("end"),this.socket.removeAllListeners(),this.socket.disconnect()}getSocket(t,e){return this.createManager(e)}createManager(t){const e=new st(this.endpoint,{reconnection:!0,reconnectionDelay:500,rejectUnauthorized:!1,transports:["websocket"],forceNew:t}),s=e.socket("/proxy",{auth:{token:`Bearer ${this.token}`}});return{manager:e,socket:s}}}class Li{constructor(t){f(this,"api");f(this,"socketService");f(this,"config");f(this,"logger");f(this,"token");f(this,"deviceManager");f(this,"coreManager");this.config=t,this.logger=t.logger||{...console,attention:console.warn},this.api=new Fs(t.endpoint)}async connect(){return this.deviceManager&&this.coreManager||(this.cleanUpClient(),await this.login(),this.token=this.token||this.config.token,this.socketService=new Bi(this.config.endpoint,this.token),this.coreManager=new ai(this.socketService,this.logger),this.deviceManager=new ci(this.socketService,this.logger),this.checkSession()),{coreManager:this.coreManager,deviceManager:this.deviceManager}}async disconnect(){var t;(t=this.socketService)==null||t.close(),this.cleanUpClient(),this.config.username&&this.config.password&&await this.api.post("/auth/logout",void 0,{headers:{Authorization:`Bearer ${this.token}`}})}async updateCredentials(t){this.config={...this.config,...t},this.socketService&&await this.disconnect(),await this.connect()}async login(){var t;if(this.config.username&&this.config.password)try{const e=await this.api.post("/auth/login",{username:this.config.username,password:this.config.password}),s=await e.json();this.token=s.access_token}catch(e){throw((t=e.response)==null?void 0:t.status)===401?new Error("Invalid credentials"):new Error(`Failed to get token: ${e.message}`)}else if(this.config.token&&!this.config.skipCheck)try{await this.api.get("/auth/check",{headers:{Authorization:`Bearer ${this.config.token}`}})}catch(e){throw new Error(`Invalid token: ${e.message}`)}this.token=this.token||this.config.token}getDeviceManager(){return this.deviceManager}checkSession(){var t,e;(t=this.socketService)==null||t.socket.removeListener("invalidToken"),(e=this.socketService)==null||e.socket.on("invalidToken",async s=>{s===this.token&&await this.disconnect()})}cleanUpClient(){this.deviceManager=void 0}}var Di=fs.j;export{Di as r};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* shared v10.0.0
|
|
3
|
+
* (c) 2024 kazuya kawaguchi
|
|
4
|
+
* Released under the MIT License.
|
|
5
|
+
*/const dt=(e,t,n)=>mt({l:e,k:t,s:n}),mt=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),K=e=>typeof e=="number"&&isFinite(e),_t=e=>We(e)==="[object Date]",Ce=e=>We(e)==="[object RegExp]",_e=e=>P(e)&&Object.keys(e).length===0,ee=Object.assign;let Ie;const Et=()=>Ie||(Ie=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Se(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const H=Array.isArray,F=e=>typeof e=="function",b=e=>typeof e=="string",$=e=>typeof e=="boolean",w=e=>e!==null&&typeof e=="object",Lt=e=>w(e)&&F(e.then)&&F(e.catch),Ue=Object.prototype.toString,We=e=>Ue.call(e),P=e=>{if(!w(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},pt=e=>e==null?"":H(e)||P(e)&&e.toString===Ue?JSON.stringify(e,null,2):String(e);function ht(e,t=""){return e.reduce((n,s,i)=>i===0?n+s:n+t+s,"")}function Nt(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}/*!
|
|
6
|
+
* shared v10.0.0
|
|
7
|
+
* (c) 2024 kazuya kawaguchi
|
|
8
|
+
* Released under the MIT License.
|
|
9
|
+
*/const $e=Object.assign,be=e=>typeof e=="string";function Ke(e,t=""){return e.reduce((n,s,i)=>i===0?n+s:n+t+s,"")}/*!
|
|
10
|
+
* message-compiler v10.0.0
|
|
11
|
+
* (c) 2024 kazuya kawaguchi
|
|
12
|
+
* Released under the MIT License.
|
|
13
|
+
*/function gt(e,t,n){return{line:e,column:t,offset:n}}function fe(e,t,n){return{start:e,end:t}}const k={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16},Tt=17;function Ee(e,t,n={}){const{domain:s,messages:i,args:c}=n,m=e,_=new SyntaxError(String(m));return _.code=e,t&&(_.location=t),_.domain=s,_}function Ct(e){throw e}const x=" ",It="\r",W=`
|
|
14
|
+
`,St="\u2028",bt="\u2029";function At(e){const t=e;let n=0,s=1,i=1,c=0;const m=S=>t[S]===It&&t[S+1]===W,_=S=>t[S]===W,f=S=>t[S]===bt,L=S=>t[S]===St,I=S=>m(S)||_(S)||f(S)||L(S),C=()=>n,N=()=>s,A=()=>i,y=()=>c,O=S=>m(S)||f(S)||L(S)?W:t[S],g=()=>O(n),l=()=>O(n+c);function d(){return c=0,I(n)&&(s++,i=0),m(n)&&n++,n++,i++,t[n]}function E(){return m(n+c)&&c++,c++,t[n+c]}function o(){n=0,s=1,i=1,c=0}function p(S=0){c=S}function h(){const S=n+c;for(;S!==n;)d();c=0}return{index:C,line:N,column:A,peekOffset:y,charAt:O,currentChar:g,currentPeek:l,next:d,peek:E,reset:o,resetPeek:p,skipToPeek:h}}const Q=void 0,Ot=".",Ae="'",yt="tokenizer";function kt(e,t={}){const n=t.location!==!1,s=At(e),i=()=>s.index(),c=()=>gt(s.line(),s.column(),s.index()),m=c(),_=i(),f={currentType:13,offset:_,startLoc:m,endLoc:m,lastType:13,lastOffset:_,lastStartLoc:m,lastEndLoc:m,braceNest:0,inLinked:!1,text:""},L=()=>f,{onError:I}=t;function C(r,a,u,...T){const M=L();if(a.column+=u,a.offset+=u,I){const v=n?fe(M.startLoc,a):null,Y=Ee(r,v,{domain:yt,args:T});I(Y)}}function N(r,a,u){r.endLoc=c(),r.currentType=a;const T={type:a};return n&&(T.loc=fe(r.startLoc,r.endLoc)),u!=null&&(T.value=u),T}const A=r=>N(r,13);function y(r,a){return r.currentChar()===a?(r.next(),a):(C(k.EXPECTED_TOKEN,c(),0,a),"")}function O(r){let a="";for(;r.currentPeek()===x||r.currentPeek()===W;)a+=r.currentPeek(),r.peek();return a}function g(r){const a=O(r);return r.skipToPeek(),a}function l(r){if(r===Q)return!1;const a=r.charCodeAt(0);return a>=97&&a<=122||a>=65&&a<=90||a===95}function d(r){if(r===Q)return!1;const a=r.charCodeAt(0);return a>=48&&a<=57}function E(r,a){const{currentType:u}=a;if(u!==2)return!1;O(r);const T=l(r.currentPeek());return r.resetPeek(),T}function o(r,a){const{currentType:u}=a;if(u!==2)return!1;O(r);const T=r.currentPeek()==="-"?r.peek():r.currentPeek(),M=d(T);return r.resetPeek(),M}function p(r,a){const{currentType:u}=a;if(u!==2)return!1;O(r);const T=r.currentPeek()===Ae;return r.resetPeek(),T}function h(r,a){const{currentType:u}=a;if(u!==7)return!1;O(r);const T=r.currentPeek()===".";return r.resetPeek(),T}function S(r,a){const{currentType:u}=a;if(u!==8)return!1;O(r);const T=l(r.currentPeek());return r.resetPeek(),T}function D(r,a){const{currentType:u}=a;if(!(u===7||u===11))return!1;O(r);const T=r.currentPeek()===":";return r.resetPeek(),T}function R(r,a){const{currentType:u}=a;if(u!==9)return!1;const T=()=>{const v=r.currentPeek();return v==="{"?l(r.peek()):v==="@"||v==="|"||v===":"||v==="."||v===x||!v?!1:v===W?(r.peek(),T()):j(r,!1)},M=T();return r.resetPeek(),M}function V(r){O(r);const a=r.currentPeek()==="|";return r.resetPeek(),a}function j(r,a=!0){const u=(M=!1,v="")=>{const Y=r.currentPeek();return Y==="{"||Y==="@"||!Y?M:Y==="|"?!(v===x||v===W):Y===x?(r.peek(),u(!0,x)):Y===W?(r.peek(),u(!0,W)):!0},T=u();return a&&r.resetPeek(),T}function U(r,a){const u=r.currentChar();return u===Q?Q:a(u)?(r.next(),u):null}function re(r){const a=r.charCodeAt(0);return a>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||a===95||a===36}function Be(r){return U(r,re)}function Je(r){const a=r.charCodeAt(0);return a>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||a===95||a===36||a===45}function Qe(r){return U(r,Je)}function qe(r){const a=r.charCodeAt(0);return a>=48&&a<=57}function Ze(r){return U(r,qe)}function ze(r){const a=r.charCodeAt(0);return a>=48&&a<=57||a>=65&&a<=70||a>=97&&a<=102}function et(r){return U(r,ze)}function ge(r){let a="",u="";for(;a=Ze(r);)u+=a;return u}function tt(r){let a="";for(;;){const u=r.currentChar();if(u==="{"||u==="}"||u==="@"||u==="|"||!u)break;if(u===x||u===W)if(j(r))a+=u,r.next();else{if(V(r))break;a+=u,r.next()}else a+=u,r.next()}return a}function nt(r){g(r);let a="",u="";for(;a=Qe(r);)u+=a;return r.currentChar()===Q&&C(k.UNTERMINATED_CLOSING_BRACE,c(),0),u}function rt(r){g(r);let a="";return r.currentChar()==="-"?(r.next(),a+=`-${ge(r)}`):a+=ge(r),r.currentChar()===Q&&C(k.UNTERMINATED_CLOSING_BRACE,c(),0),a}function st(r){return r!==Ae&&r!==W}function at(r){g(r),y(r,"'");let a="",u="";for(;a=U(r,st);)a==="\\"?u+=lt(r):u+=a;const T=r.currentChar();return T===W||T===Q?(C(k.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,c(),0),T===W&&(r.next(),y(r,"'")),u):(y(r,"'"),u)}function lt(r){const a=r.currentChar();switch(a){case"\\":case"'":return r.next(),`\\${a}`;case"u":return Te(r,a,4);case"U":return Te(r,a,6);default:return C(k.UNKNOWN_ESCAPE_SEQUENCE,c(),0,a),""}}function Te(r,a,u){y(r,a);let T="";for(let M=0;M<u;M++){const v=et(r);if(!v){C(k.INVALID_UNICODE_ESCAPE_SEQUENCE,c(),0,`\\${a}${T}${r.currentChar()}`);break}T+=v}return`\\${a}${T}`}function ct(r){return r!=="{"&&r!=="}"&&r!==x&&r!==W}function it(r){g(r);let a="",u="";for(;a=U(r,ct);)u+=a;return u}function ot(r){let a="",u="";for(;a=Be(r);)u+=a;return u}function ut(r){const a=u=>{const T=r.currentChar();return T==="{"||T==="@"||T==="|"||T==="("||T===")"||!T||T===x?u:(u+=T,r.next(),a(u))};return a("")}function le(r){g(r);const a=y(r,"|");return g(r),a}function ce(r,a){let u=null;switch(r.currentChar()){case"{":return a.braceNest>=1&&C(k.NOT_ALLOW_NEST_PLACEHOLDER,c(),0),r.next(),u=N(a,2,"{"),g(r),a.braceNest++,u;case"}":return a.braceNest>0&&a.currentType===2&&C(k.EMPTY_PLACEHOLDER,c(),0),r.next(),u=N(a,3,"}"),a.braceNest--,a.braceNest>0&&g(r),a.inLinked&&a.braceNest===0&&(a.inLinked=!1),u;case"@":return a.braceNest>0&&C(k.UNTERMINATED_CLOSING_BRACE,c(),0),u=se(r,a)||A(a),a.braceNest=0,u;default:{let M=!0,v=!0,Y=!0;if(V(r))return a.braceNest>0&&C(k.UNTERMINATED_CLOSING_BRACE,c(),0),u=N(a,1,le(r)),a.braceNest=0,a.inLinked=!1,u;if(a.braceNest>0&&(a.currentType===4||a.currentType===5||a.currentType===6))return C(k.UNTERMINATED_CLOSING_BRACE,c(),0),a.braceNest=0,ie(r,a);if(M=E(r,a))return u=N(a,4,nt(r)),g(r),u;if(v=o(r,a))return u=N(a,5,rt(r)),g(r),u;if(Y=p(r,a))return u=N(a,6,at(r)),g(r),u;if(!M&&!v&&!Y)return u=N(a,12,it(r)),C(k.INVALID_TOKEN_IN_PLACEHOLDER,c(),0,u.value),g(r),u;break}}return u}function se(r,a){const{currentType:u}=a;let T=null;const M=r.currentChar();switch((u===7||u===8||u===11||u===9)&&(M===W||M===x)&&C(k.INVALID_LINKED_FORMAT,c(),0),M){case"@":return r.next(),T=N(a,7,"@"),a.inLinked=!0,T;case".":return g(r),r.next(),N(a,8,".");case":":return g(r),r.next(),N(a,9,":");default:return V(r)?(T=N(a,1,le(r)),a.braceNest=0,a.inLinked=!1,T):h(r,a)||D(r,a)?(g(r),se(r,a)):S(r,a)?(g(r),N(a,11,ot(r))):R(r,a)?(g(r),M==="{"?ce(r,a)||T:N(a,10,ut(r))):(u===7&&C(k.INVALID_LINKED_FORMAT,c(),0),a.braceNest=0,a.inLinked=!1,ie(r,a))}}function ie(r,a){let u={type:13};if(a.braceNest>0)return ce(r,a)||A(a);if(a.inLinked)return se(r,a)||A(a);switch(r.currentChar()){case"{":return ce(r,a)||A(a);case"}":return C(k.UNBALANCED_CLOSING_BRACE,c(),0),r.next(),N(a,3,"}");case"@":return se(r,a)||A(a);default:{if(V(r))return u=N(a,1,le(r)),a.braceNest=0,a.inLinked=!1,u;if(j(r))return N(a,0,tt(r));break}}return u}function ft(){const{currentType:r,offset:a,startLoc:u,endLoc:T}=f;return f.lastType=r,f.lastOffset=a,f.lastStartLoc=u,f.lastEndLoc=T,f.offset=i(),f.startLoc=c(),s.currentChar()===Q?N(f,13):ie(s,f)}return{nextToken:ft,currentOffset:i,currentPosition:c,context:L}}const Pt="parser",Dt=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Rt(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const s=parseInt(t||n,16);return s<=55295||s>=57344?String.fromCodePoint(s):"�"}}}function Mt(e={}){const t=e.location!==!1,{onError:n}=e;function s(l,d,E,o,...p){const h=l.currentPosition();if(h.offset+=o,h.column+=o,n){const S=t?fe(E,h):null,D=Ee(d,S,{domain:Pt,args:p});n(D)}}function i(l,d,E){const o={type:l};return t&&(o.start=d,o.end=d,o.loc={start:E,end:E}),o}function c(l,d,E,o){t&&(l.end=d,l.loc&&(l.loc.end=E))}function m(l,d){const E=l.context(),o=i(3,E.offset,E.startLoc);return o.value=d,c(o,l.currentOffset(),l.currentPosition()),o}function _(l,d){const E=l.context(),{lastOffset:o,lastStartLoc:p}=E,h=i(5,o,p);return h.index=parseInt(d,10),l.nextToken(),c(h,l.currentOffset(),l.currentPosition()),h}function f(l,d){const E=l.context(),{lastOffset:o,lastStartLoc:p}=E,h=i(4,o,p);return h.key=d,l.nextToken(),c(h,l.currentOffset(),l.currentPosition()),h}function L(l,d){const E=l.context(),{lastOffset:o,lastStartLoc:p}=E,h=i(9,o,p);return h.value=d.replace(Dt,Rt),l.nextToken(),c(h,l.currentOffset(),l.currentPosition()),h}function I(l){const d=l.nextToken(),E=l.context(),{lastOffset:o,lastStartLoc:p}=E,h=i(8,o,p);return d.type!==11?(s(l,k.UNEXPECTED_EMPTY_LINKED_MODIFIER,E.lastStartLoc,0),h.value="",c(h,o,p),{nextConsumeToken:d,node:h}):(d.value==null&&s(l,k.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,G(d)),h.value=d.value||"",c(h,l.currentOffset(),l.currentPosition()),{node:h})}function C(l,d){const E=l.context(),o=i(7,E.offset,E.startLoc);return o.value=d,c(o,l.currentOffset(),l.currentPosition()),o}function N(l){const d=l.context(),E=i(6,d.offset,d.startLoc);let o=l.nextToken();if(o.type===8){const p=I(l);E.modifier=p.node,o=p.nextConsumeToken||l.nextToken()}switch(o.type!==9&&s(l,k.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,G(o)),o=l.nextToken(),o.type===2&&(o=l.nextToken()),o.type){case 10:o.value==null&&s(l,k.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,G(o)),E.key=C(l,o.value||"");break;case 4:o.value==null&&s(l,k.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,G(o)),E.key=f(l,o.value||"");break;case 5:o.value==null&&s(l,k.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,G(o)),E.key=_(l,o.value||"");break;case 6:o.value==null&&s(l,k.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,G(o)),E.key=L(l,o.value||"");break;default:{s(l,k.UNEXPECTED_EMPTY_LINKED_KEY,d.lastStartLoc,0);const p=l.context(),h=i(7,p.offset,p.startLoc);return h.value="",c(h,p.offset,p.startLoc),E.key=h,c(E,p.offset,p.startLoc),{nextConsumeToken:o,node:E}}}return c(E,l.currentOffset(),l.currentPosition()),{node:E}}function A(l){const d=l.context(),E=d.currentType===1?l.currentOffset():d.offset,o=d.currentType===1?d.endLoc:d.startLoc,p=i(2,E,o);p.items=[];let h=null;do{const R=h||l.nextToken();switch(h=null,R.type){case 0:R.value==null&&s(l,k.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,G(R)),p.items.push(m(l,R.value||""));break;case 5:R.value==null&&s(l,k.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,G(R)),p.items.push(_(l,R.value||""));break;case 4:R.value==null&&s(l,k.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,G(R)),p.items.push(f(l,R.value||""));break;case 6:R.value==null&&s(l,k.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,G(R)),p.items.push(L(l,R.value||""));break;case 7:{const V=N(l);p.items.push(V.node),h=V.nextConsumeToken||null;break}}}while(d.currentType!==13&&d.currentType!==1);const S=d.currentType===1?d.lastOffset:l.currentOffset(),D=d.currentType===1?d.lastEndLoc:l.currentPosition();return c(p,S,D),p}function y(l,d,E,o){const p=l.context();let h=o.items.length===0;const S=i(1,d,E);S.cases=[],S.cases.push(o);do{const D=A(l);h||(h=D.items.length===0),S.cases.push(D)}while(p.currentType!==13);return h&&s(l,k.MUST_HAVE_MESSAGES_IN_PLURAL,E,0),c(S,l.currentOffset(),l.currentPosition()),S}function O(l){const d=l.context(),{offset:E,startLoc:o}=d,p=A(l);return d.currentType===13?p:y(l,E,o,p)}function g(l){const d=kt(l,$e({},e)),E=d.context(),o=i(0,E.offset,E.startLoc);return t&&o.loc&&(o.loc.source=l),o.body=O(d),e.onCacheKey&&(o.cacheKey=e.onCacheKey(l)),E.currentType!==13&&s(d,k.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,l[E.offset]||""),c(o,d.currentOffset(),d.currentPosition()),o}return{parse:g}}function G(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function vt(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:c=>(n.helpers.add(c),c)}}function Oe(e,t){for(let n=0;n<e.length;n++)Le(e[n],t)}function Le(e,t){switch(e.type){case 1:Oe(e.cases,t),t.helper("plural");break;case 2:Oe(e.items,t);break;case 6:{Le(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function Ft(e,t={}){const n=vt(e);n.helper("normalize"),e.body&&Le(e.body,n);const s=n.context();e.helpers=Array.from(s.helpers)}function wt(e){const t=e.body;return t.type===2?ye(t):t.cases.forEach(n=>ye(n)),e}function ye(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const s=e.items[n];if(!(s.type===3||s.type===9)||s.value==null)break;t.push(s.value)}if(t.length===e.items.length){e.static=Ke(t);for(let n=0;n<e.items.length;n++){const s=e.items[n];(s.type===3||s.type===9)&&delete s.value}}}}function Z(e){switch(e.t=e.type,e.type){case 0:{const t=e;Z(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let s=0;s<n.length;s++)Z(n[s]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let s=0;s<n.length;s++)Z(n[s]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;Z(t.key),t.k=t.key,delete t.key,t.modifier&&(Z(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}}delete e.type}function Ut(e,t){const{sourceMap:n,filename:s,breakLineCode:i,needIndent:c}=t,m=t.location!==!1,_={filename:s,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:i,needIndent:c,indentLevel:0};m&&e.loc&&(_.source=e.loc.source);const f=()=>_;function L(g,l){_.code+=g}function I(g,l=!0){const d=l?i:"";L(c?d+" ".repeat(g):d)}function C(g=!0){const l=++_.indentLevel;g&&I(l)}function N(g=!0){const l=--_.indentLevel;g&&I(l)}function A(){I(_.indentLevel)}return{context:f,push:L,indent:C,deindent:N,newline:A,helper:g=>`_${g}`,needIndent:()=>_.needIndent}}function Wt(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),z(e,t.key),t.modifier?(e.push(", "),z(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function $t(e,t){const{helper:n,needIndent:s}=e;e.push(`${n("normalize")}([`),e.indent(s());const i=t.items.length;for(let c=0;c<i&&(z(e,t.items[c]),c!==i-1);c++)e.push(", ");e.deindent(s()),e.push("])")}function Kt(e,t){const{helper:n,needIndent:s}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(s());const i=t.cases.length;for(let c=0;c<i&&(z(e,t.cases[c]),c!==i-1);c++)e.push(", ");e.deindent(s()),e.push("])")}}function Vt(e,t){t.body?z(e,t.body):e.push("null")}function z(e,t){const{helper:n}=e;switch(t.type){case 0:Vt(e,t);break;case 1:Kt(e,t);break;case 2:$t(e,t);break;case 6:Wt(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break}}const Yt=(e,t={})=>{const n=be(t.mode)?t.mode:"normal",s=be(t.filename)?t.filename:"message.intl",i=!!t.sourceMap,c=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
|
15
|
+
`,m=t.needIndent?t.needIndent:n!=="arrow",_=e.helpers||[],f=Ut(e,{mode:n,filename:s,sourceMap:i,breakLineCode:c,needIndent:m});f.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),f.indent(m),_.length>0&&(f.push(`const { ${Ke(_.map(C=>`${C}: _${C}`),", ")} } = ctx`),f.newline()),f.push("return "),z(f,e),f.deindent(m),f.push("}"),delete e.helpers;const{code:L,map:I}=f.context();return{ast:e,code:L,map:I?I.toJSON():void 0}};function Xt(e,t={}){const n=$e({},t),s=!!n.jit,i=!!n.minify,c=n.optimize==null?!0:n.optimize,_=Mt(n).parse(e);return s?(c&&wt(_),i&&Z(_),{ast:_,code:""}):(Ft(_,n),Yt(_,n))}/*!
|
|
16
|
+
* core-base v10.0.0
|
|
17
|
+
* (c) 2024 kazuya kawaguchi
|
|
18
|
+
* Released under the MIT License.
|
|
19
|
+
*/function Gt(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Et().__INTLIFY_PROD_DEVTOOLS__=!1)}function oe(e){return n=>Ht(n,e)}function Ht(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const s=n,i=s.c||s.cases;return e.plural(i.reduce((c,m)=>[...c,ke(e,m)],[]))}else return ke(e,n)}function ke(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const s=(t.i||t.items).reduce((i,c)=>[...i,de(e,c)],[]);return e.normalize(s)}}function de(e,t){const n=t.t||t.type;switch(n){case 3:{const s=t;return s.v||s.value}case 9:{const s=t;return s.v||s.value}case 4:{const s=t;return e.interpolate(e.named(s.k||s.key))}case 5:{const s=t;return e.interpolate(e.list(s.i!=null?s.i:s.index))}case 6:{const s=t,i=s.m||s.modifier;return e.linked(de(e,s.k||s.key),i?de(e,i):void 0,e.type)}case 7:{const s=t;return s.v||s.value}case 8:{const s=t;return s.v||s.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const jt=e=>e;let ae=Object.create(null);const te=e=>w(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function xt(e,t={}){let n=!1;const s=t.onError||Ct;return t.onError=i=>{n=!0,s(i)},{...Xt(e,t),detectError:n}}function Pn(e,t){if(b(e)){$(t.warnHtmlMessage)&&t.warnHtmlMessage;const s=(t.onCacheKey||jt)(e),i=ae[s];if(i)return i;const{ast:c,detectError:m}=xt(e,{...t,location:!1,jit:!0}),_=oe(c);return m?_:ae[s]=_}else{const n=e.cacheKey;if(n){const s=ae[n];return s||(ae[n]=oe(e))}else return oe(e)}}let ne=null;function Dn(e){ne=e}function Bt(e,t,n){ne&&ne.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Jt=Qt("function:translate");function Qt(e){return t=>ne&&ne.emit(e,t)}const B={INVALID_ARGUMENT:Tt,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},Rn=24;function J(e){return Ee(e,null,void 0)}function pe(e,t){return t.locale!=null?Pe(t.locale):Pe(e.locale)}let ue;function Pe(e){if(b(e))return e;if(F(e)){if(e.resolvedOnce&&ue!=null)return ue;if(e.constructor.name==="Function"){const t=e();if(Lt(t))throw J(B.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return ue=t}else throw J(B.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw J(B.NOT_SUPPORT_LOCALE_TYPE)}function qt(e,t,n){return[...new Set([n,...H(t)?t:w(t)?Object.keys(t):b(t)?[t]:[n]])]}function Mn(e,t,n){const s=b(n)?n:me,i=e;i.__localeChainCache||(i.__localeChainCache=new Map);let c=i.__localeChainCache.get(s);if(!c){c=[];let m=[n];for(;H(m);)m=De(c,m,t);const _=H(t)||!P(t)?t:t.default?t.default:null;m=b(_)?[_]:_,H(m)&&De(c,m,!1),i.__localeChainCache.set(s,c)}return c}function De(e,t,n){let s=!0;for(let i=0;i<t.length&&$(s);i++){const c=t[i];b(c)&&(s=Zt(e,t[i],n))}return s}function Zt(e,t,n){let s;const i=t.split("-");do{const c=i.join("-");s=zt(e,c,n),i.splice(-1,1)}while(i.length&&s===!0);return s}function zt(e,t,n){let s=!1;if(!e.includes(t)&&(s=!0,t)){s=t[t.length-1]!=="!";const i=t.replace(/!/g,"");e.push(i),(H(n)||P(n))&&n[i]&&(s=n[i])}return s}const q=[];q[0]={w:[0],i:[3,0],"[":[4],o:[7]};q[1]={w:[1],".":[2],"[":[4],o:[7]};q[2]={w:[2],i:[3,0],0:[3,0]};q[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};q[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};q[5]={"'":[4,0],o:8,l:[5,0]};q[6]={'"':[4,0],o:8,l:[6,0]};const en=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function tn(e){return en.test(e)}function nn(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function rn(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function sn(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:tn(t)?nn(t):"*"+t}function an(e){const t=[];let n=-1,s=0,i=0,c,m,_,f,L,I,C;const N=[];N[0]=()=>{m===void 0?m=_:m+=_},N[1]=()=>{m!==void 0&&(t.push(m),m=void 0)},N[2]=()=>{N[0](),i++},N[3]=()=>{if(i>0)i--,s=4,N[0]();else{if(i=0,m===void 0||(m=sn(m),m===!1))return!1;N[1]()}};function A(){const y=e[n+1];if(s===5&&y==="'"||s===6&&y==='"')return n++,_="\\"+y,N[0](),!0}for(;s!==null;)if(n++,c=e[n],!(c==="\\"&&A())){if(f=rn(c),C=q[s],L=C[f]||C.l||8,L===8||(s=L[0],L[1]!==void 0&&(I=N[L[1]],I&&(_=c,I()===!1))))return;if(s===7)return t}}const Re=new Map;function ln(e,t){return w(e)?e[t]:null}function vn(e,t){if(!w(e))return null;let n=Re.get(t);if(n||(n=an(t),n&&Re.set(t,n)),!n)return null;const s=n.length;let i=e,c=0;for(;c<s;){const m=i[n[c]];if(m===void 0||F(i))return null;i=m,c++}return i}const cn="10.0.0",he=-1,me="en-US",Fn="",Me=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function on(){return{upper:(e,t)=>t==="text"&&b(e)?e.toUpperCase():t==="vnode"&&w(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&b(e)?e.toLowerCase():t==="vnode"&&w(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&b(e)?Me(e):t==="vnode"&&w(e)&&"__v_isVNode"in e?Me(e.children):e}}let Ve;function wn(e){Ve=e}let Ye;function Un(e){Ye=e}let Xe;function Wn(e){Xe=e}let Ge=null;const $n=e=>{Ge=e},un=()=>Ge;let He=null;const Kn=e=>{He=e},Vn=()=>He;let ve=0;function Yn(e={}){const t=F(e.onWarn)?e.onWarn:Nt,n=b(e.version)?e.version:cn,s=b(e.locale)||F(e.locale)?e.locale:me,i=F(s)?me:s,c=H(e.fallbackLocale)||P(e.fallbackLocale)||b(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i,m=P(e.messages)?e.messages:{[i]:{}},_=P(e.datetimeFormats)?e.datetimeFormats:{[i]:{}},f=P(e.numberFormats)?e.numberFormats:{[i]:{}},L=ee({},e.modifiers||{},on()),I=e.pluralRules||{},C=F(e.missing)?e.missing:null,N=$(e.missingWarn)||Ce(e.missingWarn)?e.missingWarn:!0,A=$(e.fallbackWarn)||Ce(e.fallbackWarn)?e.fallbackWarn:!0,y=!!e.fallbackFormat,O=!!e.unresolving,g=F(e.postTranslation)?e.postTranslation:null,l=P(e.processor)?e.processor:null,d=$(e.warnHtmlMessage)?e.warnHtmlMessage:!0,E=!!e.escapeParameter,o=F(e.messageCompiler)?e.messageCompiler:Ve,p=F(e.messageResolver)?e.messageResolver:Ye||ln,h=F(e.localeFallbacker)?e.localeFallbacker:Xe||qt,S=w(e.fallbackContext)?e.fallbackContext:void 0,D=e,R=w(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,V=w(D.__numberFormatters)?D.__numberFormatters:new Map,j=w(D.__meta)?D.__meta:{};ve++;const U={version:n,cid:ve,locale:s,fallbackLocale:c,messages:m,modifiers:L,pluralRules:I,missing:C,missingWarn:N,fallbackWarn:A,fallbackFormat:y,unresolving:O,postTranslation:g,processor:l,warnHtmlMessage:d,escapeParameter:E,messageCompiler:o,messageResolver:p,localeFallbacker:h,fallbackContext:S,onWarn:t,__meta:j};return U.datetimeFormats=_,U.numberFormats=f,U.__datetimeFormatters=R,U.__numberFormatters=V,__INTLIFY_PROD_DEVTOOLS__&&Bt(U,n,j),U}function Ne(e,t,n,s,i){const{missing:c,onWarn:m}=e;if(c!==null){const _=c(e,n,t,i);return b(_)?_:t}else return t}function Xn(e,t,n){const s=e;s.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function fn(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function dn(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let s=n+1;s<t.length;s++)if(fn(e,t[s]))return!0;return!1}function Gn(e,...t){const{datetimeFormats:n,unresolving:s,fallbackLocale:i,onWarn:c,localeFallbacker:m}=e,{__datetimeFormatters:_}=e,[f,L,I,C]=_n(...t),N=$(I.missingWarn)?I.missingWarn:e.missingWarn;$(I.fallbackWarn)?I.fallbackWarn:e.fallbackWarn;const A=!!I.part,y=pe(e,I),O=m(e,i,y);if(!b(f)||f==="")return new Intl.DateTimeFormat(y,C).format(L);let g={},l,d=null;const E="datetime format";for(let h=0;h<O.length&&(l=O[h],g=n[l]||{},d=g[f],!P(d));h++)Ne(e,f,l,N,E);if(!P(d)||!b(l))return s?he:f;let o=`${l}__${f}`;_e(C)||(o=`${o}__${JSON.stringify(C)}`);let p=_.get(o);return p||(p=new Intl.DateTimeFormat(l,ee({},d,C)),_.set(o,p)),A?p.formatToParts(L):p.format(L)}const mn=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function _n(...e){const[t,n,s,i]=e,c={};let m={},_;if(b(t)){const f=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!f)throw J(B.INVALID_ISO_DATE_ARGUMENT);const L=f[3]?f[3].trim().startsWith("T")?`${f[1].trim()}${f[3].trim()}`:`${f[1].trim()}T${f[3].trim()}`:f[1].trim();_=new Date(L);try{_.toISOString()}catch{throw J(B.INVALID_ISO_DATE_ARGUMENT)}}else if(_t(t)){if(isNaN(t.getTime()))throw J(B.INVALID_DATE_ARGUMENT);_=t}else if(K(t))_=t;else throw J(B.INVALID_ARGUMENT);return b(n)?c.key=n:P(n)&&Object.keys(n).forEach(f=>{mn.includes(f)?m[f]=n[f]:c[f]=n[f]}),b(s)?c.locale=s:P(s)&&(m=s),P(i)&&(m=i),[c.key||"",_,c,m]}function Hn(e,t,n){const s=e;for(const i in n){const c=`${t}__${i}`;s.__datetimeFormatters.has(c)&&s.__datetimeFormatters.delete(c)}}function jn(e,...t){const{numberFormats:n,unresolving:s,fallbackLocale:i,onWarn:c,localeFallbacker:m}=e,{__numberFormatters:_}=e,[f,L,I,C]=Ln(...t),N=$(I.missingWarn)?I.missingWarn:e.missingWarn;$(I.fallbackWarn)?I.fallbackWarn:e.fallbackWarn;const A=!!I.part,y=pe(e,I),O=m(e,i,y);if(!b(f)||f==="")return new Intl.NumberFormat(y,C).format(L);let g={},l,d=null;const E="number format";for(let h=0;h<O.length&&(l=O[h],g=n[l]||{},d=g[f],!P(d));h++)Ne(e,f,l,N,E);if(!P(d)||!b(l))return s?he:f;let o=`${l}__${f}`;_e(C)||(o=`${o}__${JSON.stringify(C)}`);let p=_.get(o);return p||(p=new Intl.NumberFormat(l,ee({},d,C)),_.set(o,p)),A?p.formatToParts(L):p.format(L)}const En=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Ln(...e){const[t,n,s,i]=e,c={};let m={};if(!K(t))throw J(B.INVALID_ARGUMENT);const _=t;return b(n)?c.key=n:P(n)&&Object.keys(n).forEach(f=>{En.includes(f)?m[f]=n[f]:c[f]=n[f]}),b(s)?c.locale=s:P(s)&&(m=s),P(i)&&(m=i),[c.key||"",_,c,m]}function xn(e,t,n){const s=e;for(const i in n){const c=`${t}__${i}`;s.__numberFormatters.has(c)&&s.__numberFormatters.delete(c)}}const pn=e=>e,hn=e=>"",Nn="text",gn=e=>e.length===0?"":ht(e),Tn=pt;function Fe(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Cn(e){const t=K(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(K(e.named.count)||K(e.named.n))?K(e.named.count)?e.named.count:K(e.named.n)?e.named.n:t:t}function In(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Sn(e={}){const t=e.locale,n=Cn(e),s=w(e.pluralRules)&&b(t)&&F(e.pluralRules[t])?e.pluralRules[t]:Fe,i=w(e.pluralRules)&&b(t)&&F(e.pluralRules[t])?Fe:void 0,c=l=>l[s(n,l.length,i)],m=e.list||[],_=l=>m[l],f=e.named||{};K(e.pluralIndex)&&In(n,f);const L=l=>f[l];function I(l,d){const E=F(e.messages)?e.messages(l,!!d):w(e.messages)?e.messages[l]:!1;return E||(e.parent?e.parent.message(l):hn)}const C=l=>e.modifiers?e.modifiers[l]:pn,N=P(e.processor)&&F(e.processor.normalize)?e.processor.normalize:gn,A=P(e.processor)&&F(e.processor.interpolate)?e.processor.interpolate:Tn,y=P(e.processor)&&b(e.processor.type)?e.processor.type:Nn,g={list:_,named:L,plural:c,linked:(l,...d)=>{const[E,o]=d;let p="text",h="";d.length===1?w(E)?(h=E.modifier||h,p=E.type||p):b(E)&&(h=E||h):d.length===2&&(b(E)&&(h=E||h),b(o)&&(p=o||p));const S=I(l,!0)(g),D=p==="vnode"&&H(S)&&h?S[0]:S;return h?C(h)(D,p):D},message:I,type:y,interpolate:A,normalize:N,values:ee({},m,f)};return g}const we=()=>"",X=e=>F(e);function Bn(e,...t){const{fallbackFormat:n,postTranslation:s,unresolving:i,messageCompiler:c,fallbackLocale:m,messages:_}=e,[f,L]=On(...t),I=$(L.missingWarn)?L.missingWarn:e.missingWarn,C=$(L.fallbackWarn)?L.fallbackWarn:e.fallbackWarn,N=$(L.escapeParameter)?L.escapeParameter:e.escapeParameter,A=!!L.resolvedMessage,y=b(L.default)||$(L.default)?$(L.default)?c?f:()=>f:L.default:n?c?f:()=>f:null,O=n||y!=null&&(b(y)||F(y)),g=pe(e,L);N&&bn(L);let[l,d,E]=A?[f,g,_[g]||{}]:je(e,f,g,m,C,I),o=l,p=f;if(!A&&!(b(o)||te(o)||X(o))&&O&&(o=y,p=o),!A&&(!(b(o)||te(o)||X(o))||!b(d)))return i?he:f;let h=!1;const S=()=>{h=!0},D=X(o)?o:xe(e,f,d,o,p,S);if(h)return o;const R=kn(e,d,E,L),V=Sn(R),j=An(e,D,V),U=s?s(j,f):j;if(__INTLIFY_PROD_DEVTOOLS__){const re={timestamp:Date.now(),key:b(f)?f:X(o)?o.key:"",locale:d||(X(o)?o.locale:""),format:b(o)?o:X(o)?o.source:"",message:U};re.meta=ee({},e.__meta,un()||{}),Jt(re)}return U}function bn(e){H(e.list)?e.list=e.list.map(t=>b(t)?Se(t):t):w(e.named)&&Object.keys(e.named).forEach(t=>{b(e.named[t])&&(e.named[t]=Se(e.named[t]))})}function je(e,t,n,s,i,c){const{messages:m,onWarn:_,messageResolver:f,localeFallbacker:L}=e,I=L(e,s,n);let C={},N,A=null;const y="translate";for(let O=0;O<I.length&&(N=I[O],C=m[N]||{},(A=f(C,t))===null&&(A=C[t]),!(b(A)||te(A)||X(A)));O++)if(!dn(N,I)){const g=Ne(e,t,N,c,y);g!==t&&(A=g)}return[A,N,C]}function xe(e,t,n,s,i,c){const{messageCompiler:m,warnHtmlMessage:_}=e;if(X(s)){const L=s;return L.locale=L.locale||n,L.key=L.key||t,L}if(m==null){const L=()=>s;return L.locale=n,L.key=t,L}const f=m(s,yn(e,n,i,s,_,c));return f.locale=n,f.key=t,f.source=s,f}function An(e,t,n){return t(n)}function On(...e){const[t,n,s]=e,i={};if(!b(t)&&!K(t)&&!X(t)&&!te(t))throw J(B.INVALID_ARGUMENT);const c=K(t)?String(t):(X(t),t);return K(n)?i.plural=n:b(n)?i.default=n:P(n)&&!_e(n)?i.named=n:H(n)&&(i.list=n),K(s)?i.plural=s:b(s)?i.default=s:P(s)&&ee(i,s),[c,i]}function yn(e,t,n,s,i,c){return{locale:t,key:n,warnHtmlMessage:i,onError:m=>{throw c&&c(m),m},onCacheKey:m=>dt(t,n,m)}}function kn(e,t,n,s){const{modifiers:i,pluralRules:c,messageResolver:m,fallbackLocale:_,fallbackWarn:f,missingWarn:L,fallbackContext:I}=e,N={locale:t,modifiers:i,pluralRules:c,messages:(A,y)=>{let O=m(n,A);if(O==null&&(I||y)){const[,,g]=je(I||e,A,t,_,f,L);O=m(g,A)}if(b(O)||te(O)){let g=!1;const d=xe(e,A,t,O,A,()=>{g=!0});return g?we:d}else return X(O)?O:we}};return e.processor&&(N.processor=e.processor),s.list&&(N.list=s.list),s.named&&(N.named=s.named),K(s.plural)&&(N.pluralIndex=s.plural),N}Gt();export{Rn as C,me as D,Fn as M,En as N,mn as a,Yn as b,Ee as c,Hn as d,xn as e,$n as f,Vn as g,he as h,_n as i,Gn as j,Ln as k,te as l,X as m,jn as n,Mn as o,On as p,Un as q,wn as r,Dn as s,Bn as t,Xn as u,Wn as v,Kn as w,Pn as x,vn as y};
|
|
@@ -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{t 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,D 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,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};
|