@camera.ui/server 0.0.63-internal.0 → 0.0.63-internal.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. package/dist/interface/index.html +44 -44
  2. package/dist/interface/js/{@primevue.ttnqVLGy.0.0.63-internal.0.js → @primevue.OFvC9Jyz.0.0.63-internal.2.js} +1 -1
  3. package/dist/interface/js/{@tanstack.CTxTG8tn.0.0.63-internal.0.js → @tanstack.bguq3B-c.0.0.63-internal.2.js} +1 -1
  4. package/dist/interface/js/{@vee-validate.if_ULCcL.0.0.63-internal.0.js → @vee-validate.C2scZ1Xe.0.0.63-internal.2.js} +1 -1
  5. package/dist/interface/js/{@vueuse.BiJ8xsBO.0.0.63-internal.0.js → @vueuse.BNorETmX.0.0.63-internal.2.js} +1 -1
  6. package/dist/interface/js/{Adminpanel.C9CL6v9f.0.0.63-internal.0.js → Adminpanel.DB8dKGLC.0.0.63-internal.2.js} +1 -1
  7. package/dist/interface/js/{Camera.CVd7djdv.0.0.63-internal.0.js → Camera.BO6mV2JP.0.0.63-internal.2.js} +1 -1
  8. package/dist/interface/js/{Cameras.B52BCEgS.0.0.63-internal.0.js → Cameras.nuYqgHms.0.0.63-internal.2.js} +1 -1
  9. package/dist/interface/js/Cammesh.CD00TqO3.0.0.63-internal.2.js +1 -0
  10. package/dist/interface/js/{Camview.DKi0BY0W.0.0.63-internal.0.js → Camview.CY7aU3lr.0.0.63-internal.2.js} +1 -1
  11. package/dist/interface/js/{Config.DCqiAzrO.0.0.63-internal.0.js → Config.C1e8RQyR.0.0.63-internal.2.js} +2 -2
  12. package/dist/interface/js/{Console.Bb9M2y99.0.0.63-internal.0.js → Console.D0GHrVmt.0.0.63-internal.2.js} +1 -1
  13. package/dist/interface/js/{CuiConsole.BDN8DeOc.0.0.63-internal.0.js → CuiConsole.D0EI-K-x.0.0.63-internal.2.js} +1 -1
  14. package/dist/interface/js/{CuiPluginCard.BhOuuz6A.0.0.63-internal.0.js → CuiPluginCard.B6eI45HP.0.0.63-internal.2.js} +1 -1
  15. package/dist/interface/js/{CuiTimeline.Cg27bh5j.0.0.63-internal.0.js → CuiTimeline.BT8I9bzO.0.0.63-internal.2.js} +1 -1
  16. package/dist/interface/js/{FirstSteps.BMJbhP8e.0.0.63-internal.0.js → FirstSteps.C_ShUtFR.0.0.63-internal.2.js} +1 -1
  17. package/dist/interface/js/{Plugin.D82HHdpA.0.0.63-internal.0.js → Plugin.DMKAF5Bb.0.0.63-internal.2.js} +1 -1
  18. package/dist/interface/js/{Plugins.Bu0DCv0S.0.0.63-internal.0.js → Plugins.C4vg4pCw.0.0.63-internal.2.js} +1 -1
  19. package/dist/interface/js/Recordings.utY-uEem.0.0.63-internal.2.js +1 -0
  20. package/dist/interface/js/{Settings.Buv9D6Gd.0.0.63-internal.0.js → Settings.CRwjH98h.0.0.63-internal.2.js} +1 -1
  21. package/dist/interface/js/{SettingsAccount.CIBnSC_t.0.0.63-internal.0.js → SettingsAccount.DkYI91YE.0.0.63-internal.2.js} +1 -1
  22. package/dist/interface/js/SettingsAppearance.aJorYft0.0.0.63-internal.2.js +1 -0
  23. package/dist/interface/js/{SettingsAppearance.vue_vue_type_script_setup_true_lang.D9psyMQ8.0.0.63-internal.0.js → SettingsAppearance.vue_vue_type_script_setup_true_lang.CMplaYPe.0.0.63-internal.2.js} +1 -1
  24. package/dist/interface/js/{SettingsBackup.DOlIcOD_.0.0.63-internal.0.js → SettingsBackup.Chvgm94y.0.0.63-internal.2.js} +1 -1
  25. package/dist/interface/js/SettingsRecordings.Cz7Hm3Zq.0.0.63-internal.2.js +1 -0
  26. package/dist/interface/js/{SettingsRemote.BbpDV3dY.0.0.63-internal.0.js → SettingsRemote.C8J05Sqq.0.0.63-internal.2.js} +1 -1
  27. package/dist/interface/js/{SettingsSystem.D5isIkUa.0.0.63-internal.0.js → SettingsSystem.CbK0Ly6N.0.0.63-internal.2.js} +1 -1
  28. package/dist/interface/js/{SettingsUsers.C3PJhQqO.0.0.63-internal.0.js → SettingsUsers.C56QPZDG.0.0.63-internal.2.js} +1 -1
  29. package/dist/interface/js/{VersionsHandler.vue_vue_type_script_setup_true_lang.kStn8vdC.0.0.63-internal.0.js → VersionsHandler.vue_vue_type_script_setup_true_lang.CjTaNbob.0.0.63-internal.2.js} +1 -1
  30. package/dist/interface/js/{ace-builds.DVG1D-mZ.0.0.63-internal.0.js → ace-builds.BS05_5NF.0.0.63-internal.2.js} +2 -2
  31. package/dist/interface/js/{ace.config.DNihWwBq.0.0.63-internal.0.js → ace.config.Dq0m32uv.0.0.63-internal.2.js} +1 -1
  32. package/dist/interface/js/{backup.exJSH3bi.0.0.63-internal.0.js → backup.D31lBYjG.0.0.63-internal.2.js} +1 -1
  33. package/dist/interface/js/{chart.js.DR4T5MI5.0.0.63-internal.0.js → chart.js.B3HKJR-2.0.0.63-internal.2.js} +1 -1
  34. package/dist/interface/js/{close-circle.BtEU763k.0.0.63-internal.0.js → close-circle.D4m48WBa.0.0.63-internal.2.js} +1 -1
  35. package/dist/interface/js/{dnd-core.DD8Wdzkl.0.0.63-internal.0.js → dnd-core.DXEmaUKV.0.0.63-internal.2.js} +1 -1
  36. package/dist/interface/js/{draggabilly.CofelTvT.0.0.63-internal.0.js → draggabilly.CCdX2bwY.0.0.63-internal.2.js} +1 -1
  37. package/dist/interface/js/{engine.io-client.BkwlnD1F.0.0.63-internal.0.js → engine.io-client.B1g5HxlF.0.0.63-internal.2.js} +1 -1
  38. package/dist/interface/js/{fast-deep-equal.5Biilj8y.0.0.63-internal.0.js → fast-deep-equal.Ds0OQoKg.0.0.63-internal.2.js} +1 -1
  39. package/dist/interface/js/{highlight.js.43RbAYuY.0.0.63-internal.0.js → highlight.js.DXH817i9.0.0.63-internal.2.js} +1 -1
  40. package/dist/interface/js/{linkify-it.DPd6CNOE.0.0.63-internal.0.js → linkify-it.Ber55OMX.0.0.63-internal.2.js} +1 -1
  41. package/dist/interface/js/{main.Cg-KFXG3.0.0.63-internal.0.js → main.DPYGZ-bm.0.0.63-internal.2.js} +3 -3
  42. package/dist/interface/js/{markdown-it.BXV_l9cc.0.0.63-internal.0.js → markdown-it.-C4hVAY0.0.0.63-internal.2.js} +1 -1
  43. package/dist/interface/js/{nprogress.ig2CXOoL.0.0.63-internal.0.js → nprogress.BrmTaVqI.0.0.63-internal.2.js} +1 -1
  44. package/dist/interface/js/{pinia.pqSsOFLB.0.0.63-internal.0.js → pinia.BNxvm1I1.0.0.63-internal.2.js} +1 -1
  45. package/dist/interface/js/{primevue.f23wRZfa.0.0.63-internal.0.js → primevue.DsyHFHyM.0.0.63-internal.2.js} +1 -1
  46. package/dist/interface/js/{qrcode.BW6Q6A4B.0.0.63-internal.0.js → qrcode.BYm6YEi7.0.0.63-internal.2.js} +1 -1
  47. package/dist/interface/js/{react-dnd-touch-backend.C4pqdYbb.0.0.63-internal.0.js → react-dnd-touch-backend.CZPV1Oay.0.0.63-internal.2.js} +1 -1
  48. package/dist/interface/js/{refresh-rounded.Dmmk-Mc1.0.0.63-internal.0.js → refresh-rounded.B1yhAK1l.0.0.63-internal.2.js} +1 -1
  49. package/dist/interface/js/{rxjs.Npfw5pj3.0.0.63-internal.0.js → rxjs.Of95_yzd.0.0.63-internal.2.js} +1 -1
  50. package/dist/interface/js/{socket.io-client.CwltQSxD.0.0.63-internal.0.js → socket.io-client.CGvOp9Cx.0.0.63-internal.2.js} +1 -1
  51. package/dist/interface/js/{socket.io-parser.AG_riFB1.0.0.63-internal.0.js → socket.io-parser.BPgP9-bg.0.0.63-internal.2.js} +1 -1
  52. package/dist/interface/js/{system.CHZ5yzEQ.0.0.63-internal.0.js → system.BUGe7Zjz.0.0.63-internal.2.js} +1 -1
  53. package/dist/interface/js/{trash-fill.DkUzYW8d.0.0.63-internal.0.js → trash-fill.C7xIhfGl.0.0.63-internal.2.js} +1 -1
  54. package/dist/interface/js/{unidragger.BGgU3_VA.0.0.63-internal.0.js → unidragger.DvCUBzU4.0.0.63-internal.2.js} +1 -1
  55. package/dist/interface/js/{vee-validate.C-8MGG76.0.0.63-internal.0.js → vee-validate.BD_HTi0Z.0.0.63-internal.2.js} +1 -1
  56. package/dist/interface/js/{vue-chartjs.D4sVpvVe.0.0.63-internal.0.js → vue-chartjs.ArBE3ZAw.0.0.63-internal.2.js} +1 -1
  57. package/dist/interface/js/{vue-i18n.xox7B9R9.0.0.63-internal.0.js → vue-i18n.B_tRezRH.0.0.63-internal.2.js} +1 -1
  58. package/dist/interface/js/{vue-inline-svg.BH2BZf-J.0.0.63-internal.0.js → vue-inline-svg.ClEWDGtH.0.0.63-internal.2.js} +1 -1
  59. package/dist/interface/js/{vue-router.D80ZmMz-.0.0.63-internal.0.js → vue-router.BHq9S-xX.0.0.63-internal.2.js} +1 -1
  60. package/dist/interface/js/{vue-zoomable.DCwOki9q.0.0.63-internal.0.js → vue-zoomable.7cLa2zon.0.0.63-internal.2.js} +1 -1
  61. package/dist/interface/js/{vue3-dnd.C7__OO52.0.0.63-internal.0.js → vue3-dnd.DS0_w8hd.0.0.63-internal.2.js} +1 -1
  62. package/dist/interface/js/{zoom-out.Bbs83Nmt.0.0.63-internal.0.js → zoom-out.DRKLqW-U.0.0.63-internal.2.js} +1 -1
  63. package/dist/interface/sw.js +1 -1
  64. package/dist/server/package.json +4 -4
  65. package/package.json +4 -4
  66. package/dist/interface/js/Cammesh.DhYufB64.0.0.63-internal.0.js +0 -1
  67. package/dist/interface/js/Recordings.Df0Q71eL.0.0.63-internal.0.js +0 -1
  68. package/dist/interface/js/SettingsAppearance._m67WknM.0.0.63-internal.0.js +0 -1
  69. package/dist/interface/js/SettingsRecordings.WQ32hWkt.0.0.63-internal.0.js +0 -1
  70. /package/dist/interface/assets/{@xterm.DYP7pi_n.0.0.63-internal.0.css → @xterm.DYP7pi_n.0.0.63-internal.2.css} +0 -0
  71. /package/dist/interface/assets/{Adminpanel.BKek2EMH.0.0.63-internal.0.css → Adminpanel.BKek2EMH.0.0.63-internal.2.css} +0 -0
  72. /package/dist/interface/assets/{Cameras.BDWZJqPN.0.0.63-internal.0.css → Cameras.BDWZJqPN.0.0.63-internal.2.css} +0 -0
  73. /package/dist/interface/assets/{Camview.Cvhuou6V.0.0.63-internal.0.css → Camview.Cvhuou6V.0.0.63-internal.2.css} +0 -0
  74. /package/dist/interface/assets/{CuiConsole.DCYyxdVg.0.0.63-internal.0.css → CuiConsole.DCYyxdVg.0.0.63-internal.2.css} +0 -0
  75. /package/dist/interface/assets/{CuiPluginCard.yF8V0SZY.0.0.63-internal.0.css → CuiPluginCard.yF8V0SZY.0.0.63-internal.2.css} +0 -0
  76. /package/dist/interface/assets/{CuiTimeline.BkIwlYtw.0.0.63-internal.0.css → CuiTimeline.BkIwlYtw.0.0.63-internal.2.css} +0 -0
  77. /package/dist/interface/assets/{Plugin.DJElsAn5.0.0.63-internal.0.css → Plugin.DJElsAn5.0.0.63-internal.2.css} +0 -0
  78. /package/dist/interface/assets/{Plugins.BwPlcRrV.0.0.63-internal.0.css → Plugins.BwPlcRrV.0.0.63-internal.2.css} +0 -0
  79. /package/dist/interface/assets/{Settings.CkgfRkQr.0.0.63-internal.0.css → Settings.CkgfRkQr.0.0.63-internal.2.css} +0 -0
  80. /package/dist/interface/assets/{SettingsAccount.CDZT7gN-.0.0.63-internal.0.css → SettingsAccount.CDZT7gN-.0.0.63-internal.2.css} +0 -0
  81. /package/dist/interface/assets/{SettingsBackup.CX0rT0QJ.0.0.63-internal.0.css → SettingsBackup.CX0rT0QJ.0.0.63-internal.2.css} +0 -0
  82. /package/dist/interface/assets/{highlight.Ch2EwETz.0.0.63-internal.0.css → highlight.Ch2EwETz.0.0.63-internal.2.css} +0 -0
  83. /package/dist/interface/assets/{logo-256.BCQk9H1-.0.0.63-internal.0.png → logo-256.BCQk9H1-.0.0.63-internal.2.png} +0 -0
  84. /package/dist/interface/assets/{logo-512.DLKVOU2S.0.0.63-internal.0.png → logo-512.DLKVOU2S.0.0.63-internal.2.png} +0 -0
  85. /package/dist/interface/assets/{logo.DmEiRk0z.0.0.63-internal.0.png → logo.DmEiRk0z.0.0.63-internal.2.png} +0 -0
  86. /package/dist/interface/assets/{main.DYKKLRxP.0.0.63-internal.0.css → main.DYKKLRxP.0.0.63-internal.2.css} +0 -0
  87. /package/dist/interface/assets/{mode-json.Br7xisR1.0.0.63-internal.0.js → mode-json.Br7xisR1.0.0.63-internal.2.js} +0 -0
  88. /package/dist/interface/assets/{mode-yaml.CIYL8U3d.0.0.63-internal.0.js → mode-yaml.CIYL8U3d.0.0.63-internal.2.js} +0 -0
  89. /package/dist/interface/assets/{worker-base.jEXLGV2h.0.0.63-internal.0.js → worker-base.jEXLGV2h.0.0.63-internal.2.js} +0 -0
  90. /package/dist/interface/assets/{worker-json.DgwNIOck.0.0.63-internal.0.js → worker-json.DgwNIOck.0.0.63-internal.2.js} +0 -0
  91. /package/dist/interface/assets/{worker-yaml.B3uUYINB.0.0.63-internal.0.js → worker-yaml.B3uUYINB.0.0.63-internal.2.js} +0 -0
  92. /package/dist/interface/js/{@babel.l0sNRNKZ.0.0.63-internal.0.js → @babel.l0sNRNKZ.0.0.63-internal.2.js} +0 -0
  93. /package/dist/interface/js/{@intlify.BkGPX90O.0.0.63-internal.0.js → @intlify.BkGPX90O.0.0.63-internal.2.js} +0 -0
  94. /package/dist/interface/js/{@kurkle.D8fDXNIl.0.0.63-internal.0.js → @kurkle.D8fDXNIl.0.0.63-internal.2.js} +0 -0
  95. /package/dist/interface/js/{@primeuix.BkBDkSvZ.0.0.63-internal.0.js → @primeuix.BkBDkSvZ.0.0.63-internal.2.js} +0 -0
  96. /package/dist/interface/js/{@react-dnd.CcwRs9xb.0.0.63-internal.0.js → @react-dnd.CcwRs9xb.0.0.63-internal.2.js} +0 -0
  97. /package/dist/interface/js/{@socket.io.Dkula2eQ.0.0.63-internal.0.js → @socket.io.Dkula2eQ.0.0.63-internal.2.js} +0 -0
  98. /package/dist/interface/js/{@vue.Dh6viqaK.0.0.63-internal.0.js → @vue.Dh6viqaK.0.0.63-internal.2.js} +0 -0
  99. /package/dist/interface/js/{@xterm.DBOyTbbO.0.0.63-internal.0.js → @xterm.QOJE5e8q.0.0.63-internal.2.js} +0 -0
  100. /package/dist/interface/js/{axios.DHr9lByg.0.0.63-internal.0.js → axios.DHr9lByg.0.0.63-internal.2.js} +0 -0
  101. /package/dist/interface/js/{birpc.l0sNRNKZ.0.0.63-internal.0.js → birpc.l0sNRNKZ.0.0.63-internal.2.js} +0 -0
  102. /package/dist/interface/js/{compare-versions.DqEOhma6.0.0.63-internal.0.js → compare-versions.DqEOhma6.0.0.63-internal.2.js} +0 -0
  103. /package/dist/interface/js/{dijkstrajs.C00ieaqj.0.0.63-internal.0.js → dijkstrajs.C00ieaqj.0.0.63-internal.2.js} +0 -0
  104. /package/dist/interface/js/{engine.io-parser.BiEtp6m2.0.0.63-internal.0.js → engine.io-parser.BiEtp6m2.0.0.63-internal.2.js} +0 -0
  105. /package/dist/interface/js/{entities.C20TfXL6.0.0.63-internal.0.js → entities.C20TfXL6.0.0.63-internal.2.js} +0 -0
  106. /package/dist/interface/js/{ev-emitter.X5f1qa-c.0.0.63-internal.0.js → ev-emitter.X5f1qa-c.0.0.63-internal.2.js} +0 -0
  107. /package/dist/interface/js/{get-size.D1dS-IaP.0.0.63-internal.0.js → get-size.D1dS-IaP.0.0.63-internal.2.js} +0 -0
  108. /package/dist/interface/js/{hookable.l0sNRNKZ.0.0.63-internal.0.js → hookable.l0sNRNKZ.0.0.63-internal.2.js} +0 -0
  109. /package/dist/interface/js/{mdurl.k9Sl0PQj.0.0.63-internal.0.js → mdurl.k9Sl0PQj.0.0.63-internal.2.js} +0 -0
  110. /package/dist/interface/js/{perfect-debounce.l0sNRNKZ.0.0.63-internal.0.js → perfect-debounce.l0sNRNKZ.0.0.63-internal.2.js} +0 -0
  111. /package/dist/interface/js/{primelocale.Bga3dOQu.0.0.63-internal.0.js → primelocale.Bga3dOQu.0.0.63-internal.2.js} +0 -0
  112. /package/dist/interface/js/{punycode.js.Dj65hjkv.0.0.63-internal.0.js → punycode.js.Dj65hjkv.0.0.63-internal.2.js} +0 -0
  113. /package/dist/interface/js/{react-dnd-html5-backend.1HQjlkwI.0.0.63-internal.0.js → react-dnd-html5-backend.1HQjlkwI.0.0.63-internal.2.js} +0 -0
  114. /package/dist/interface/js/{redux.BFxtlG_c.0.0.63-internal.0.js → redux.BFxtlG_c.0.0.63-internal.2.js} +0 -0
  115. /package/dist/interface/js/{tslib.9k7AwCpt.0.0.63-internal.0.js → tslib.9k7AwCpt.0.0.63-internal.2.js} +0 -0
  116. /package/dist/interface/js/{uc.micro.kMc2yuuw.0.0.63-internal.0.js → uc.micro.kMc2yuuw.0.0.63-internal.2.js} +0 -0
  117. /package/dist/interface/js/{uuid.C6aID195.0.0.63-internal.0.js → uuid.C6aID195.0.0.63-internal.2.js} +0 -0
  118. /package/dist/interface/js/{vue.l0sNRNKZ.0.0.63-internal.0.js → vue.l0sNRNKZ.0.0.63-internal.2.js} +0 -0
  119. /package/dist/interface/js/{zod.sy4ilHCy.0.0.63-internal.0.js → zod.sy4ilHCy.0.0.63-internal.2.js} +0 -0
@@ -333,50 +333,50 @@
333
333
  media="screen and (prefers-color-scheme: dark) and (device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"
334
334
  href="/pwa/apple-splash-portrait-dark-640x1136.png"
335
335
  />
336
- <script type="module" crossorigin src="/js/main.Cg-KFXG3.0.0.63-internal.0.js"></script>
337
- <link rel="modulepreload" crossorigin href="/js/@vue.Dh6viqaK.0.0.63-internal.0.js">
338
- <link rel="modulepreload" crossorigin href="/js/@tanstack.CTxTG8tn.0.0.63-internal.0.js">
339
- <link rel="modulepreload" crossorigin href="/js/@primeuix.BkBDkSvZ.0.0.63-internal.0.js">
340
- <link rel="modulepreload" crossorigin href="/js/@primevue.ttnqVLGy.0.0.63-internal.0.js">
341
- <link rel="modulepreload" crossorigin href="/js/primevue.f23wRZfa.0.0.63-internal.0.js">
342
- <link rel="modulepreload" crossorigin href="/js/@xterm.DBOyTbbO.0.0.63-internal.0.js">
343
- <link rel="modulepreload" crossorigin href="/js/nprogress.ig2CXOoL.0.0.63-internal.0.js">
344
- <link rel="modulepreload" crossorigin href="/js/@vueuse.BiJ8xsBO.0.0.63-internal.0.js">
345
- <link rel="modulepreload" crossorigin href="/js/axios.DHr9lByg.0.0.63-internal.0.js">
346
- <link rel="modulepreload" crossorigin href="/js/@intlify.BkGPX90O.0.0.63-internal.0.js">
347
- <link rel="modulepreload" crossorigin href="/js/vue-i18n.xox7B9R9.0.0.63-internal.0.js">
348
- <link rel="modulepreload" crossorigin href="/js/pinia.pqSsOFLB.0.0.63-internal.0.js">
349
- <link rel="modulepreload" crossorigin href="/js/vue-router.D80ZmMz-.0.0.63-internal.0.js">
350
- <link rel="modulepreload" crossorigin href="/js/vue-inline-svg.BH2BZf-J.0.0.63-internal.0.js">
351
- <link rel="modulepreload" crossorigin href="/js/vee-validate.C-8MGG76.0.0.63-internal.0.js">
352
- <link rel="modulepreload" crossorigin href="/js/zod.sy4ilHCy.0.0.63-internal.0.js">
353
- <link rel="modulepreload" crossorigin href="/js/@vee-validate.if_ULCcL.0.0.63-internal.0.js">
354
- <link rel="modulepreload" crossorigin href="/js/uuid.C6aID195.0.0.63-internal.0.js">
355
- <link rel="modulepreload" crossorigin href="/js/engine.io-parser.BiEtp6m2.0.0.63-internal.0.js">
356
- <link rel="modulepreload" crossorigin href="/js/@socket.io.Dkula2eQ.0.0.63-internal.0.js">
357
- <link rel="modulepreload" crossorigin href="/js/engine.io-client.BkwlnD1F.0.0.63-internal.0.js">
358
- <link rel="modulepreload" crossorigin href="/js/socket.io-parser.AG_riFB1.0.0.63-internal.0.js">
359
- <link rel="modulepreload" crossorigin href="/js/socket.io-client.CwltQSxD.0.0.63-internal.0.js">
360
- <link rel="modulepreload" crossorigin href="/js/tslib.9k7AwCpt.0.0.63-internal.0.js">
361
- <link rel="modulepreload" crossorigin href="/js/rxjs.Npfw5pj3.0.0.63-internal.0.js">
362
- <link rel="modulepreload" crossorigin href="/js/highlight.js.43RbAYuY.0.0.63-internal.0.js">
363
- <link rel="modulepreload" crossorigin href="/js/mdurl.k9Sl0PQj.0.0.63-internal.0.js">
364
- <link rel="modulepreload" crossorigin href="/js/uc.micro.kMc2yuuw.0.0.63-internal.0.js">
365
- <link rel="modulepreload" crossorigin href="/js/entities.C20TfXL6.0.0.63-internal.0.js">
366
- <link rel="modulepreload" crossorigin href="/js/linkify-it.DPd6CNOE.0.0.63-internal.0.js">
367
- <link rel="modulepreload" crossorigin href="/js/punycode.js.Dj65hjkv.0.0.63-internal.0.js">
368
- <link rel="modulepreload" crossorigin href="/js/markdown-it.BXV_l9cc.0.0.63-internal.0.js">
369
- <link rel="modulepreload" crossorigin href="/js/dijkstrajs.C00ieaqj.0.0.63-internal.0.js">
370
- <link rel="modulepreload" crossorigin href="/js/qrcode.BW6Q6A4B.0.0.63-internal.0.js">
371
- <link rel="modulepreload" crossorigin href="/js/get-size.D1dS-IaP.0.0.63-internal.0.js">
372
- <link rel="modulepreload" crossorigin href="/js/ev-emitter.X5f1qa-c.0.0.63-internal.0.js">
373
- <link rel="modulepreload" crossorigin href="/js/unidragger.BGgU3_VA.0.0.63-internal.0.js">
374
- <link rel="modulepreload" crossorigin href="/js/draggabilly.CofelTvT.0.0.63-internal.0.js">
375
- <link rel="modulepreload" crossorigin href="/js/vue-zoomable.DCwOki9q.0.0.63-internal.0.js">
376
- <link rel="modulepreload" crossorigin href="/js/primelocale.Bga3dOQu.0.0.63-internal.0.js">
377
- <link rel="stylesheet" crossorigin href="/assets/@xterm.DYP7pi_n.0.0.63-internal.0.css">
378
- <link rel="stylesheet" crossorigin href="/assets/highlight.Ch2EwETz.0.0.63-internal.0.css">
379
- <link rel="stylesheet" crossorigin href="/assets/main.DYKKLRxP.0.0.63-internal.0.css">
336
+ <script type="module" crossorigin src="/js/main.DPYGZ-bm.0.0.63-internal.2.js"></script>
337
+ <link rel="modulepreload" crossorigin href="/js/@vue.Dh6viqaK.0.0.63-internal.2.js">
338
+ <link rel="modulepreload" crossorigin href="/js/@tanstack.bguq3B-c.0.0.63-internal.2.js">
339
+ <link rel="modulepreload" crossorigin href="/js/@primeuix.BkBDkSvZ.0.0.63-internal.2.js">
340
+ <link rel="modulepreload" crossorigin href="/js/@primevue.OFvC9Jyz.0.0.63-internal.2.js">
341
+ <link rel="modulepreload" crossorigin href="/js/primevue.DsyHFHyM.0.0.63-internal.2.js">
342
+ <link rel="modulepreload" crossorigin href="/js/@xterm.QOJE5e8q.0.0.63-internal.2.js">
343
+ <link rel="modulepreload" crossorigin href="/js/nprogress.BrmTaVqI.0.0.63-internal.2.js">
344
+ <link rel="modulepreload" crossorigin href="/js/@vueuse.BNorETmX.0.0.63-internal.2.js">
345
+ <link rel="modulepreload" crossorigin href="/js/axios.DHr9lByg.0.0.63-internal.2.js">
346
+ <link rel="modulepreload" crossorigin href="/js/@intlify.BkGPX90O.0.0.63-internal.2.js">
347
+ <link rel="modulepreload" crossorigin href="/js/vue-i18n.B_tRezRH.0.0.63-internal.2.js">
348
+ <link rel="modulepreload" crossorigin href="/js/pinia.BNxvm1I1.0.0.63-internal.2.js">
349
+ <link rel="modulepreload" crossorigin href="/js/vue-router.BHq9S-xX.0.0.63-internal.2.js">
350
+ <link rel="modulepreload" crossorigin href="/js/vue-inline-svg.ClEWDGtH.0.0.63-internal.2.js">
351
+ <link rel="modulepreload" crossorigin href="/js/vee-validate.BD_HTi0Z.0.0.63-internal.2.js">
352
+ <link rel="modulepreload" crossorigin href="/js/zod.sy4ilHCy.0.0.63-internal.2.js">
353
+ <link rel="modulepreload" crossorigin href="/js/@vee-validate.C2scZ1Xe.0.0.63-internal.2.js">
354
+ <link rel="modulepreload" crossorigin href="/js/uuid.C6aID195.0.0.63-internal.2.js">
355
+ <link rel="modulepreload" crossorigin href="/js/engine.io-parser.BiEtp6m2.0.0.63-internal.2.js">
356
+ <link rel="modulepreload" crossorigin href="/js/@socket.io.Dkula2eQ.0.0.63-internal.2.js">
357
+ <link rel="modulepreload" crossorigin href="/js/engine.io-client.B1g5HxlF.0.0.63-internal.2.js">
358
+ <link rel="modulepreload" crossorigin href="/js/socket.io-parser.BPgP9-bg.0.0.63-internal.2.js">
359
+ <link rel="modulepreload" crossorigin href="/js/socket.io-client.CGvOp9Cx.0.0.63-internal.2.js">
360
+ <link rel="modulepreload" crossorigin href="/js/tslib.9k7AwCpt.0.0.63-internal.2.js">
361
+ <link rel="modulepreload" crossorigin href="/js/rxjs.Of95_yzd.0.0.63-internal.2.js">
362
+ <link rel="modulepreload" crossorigin href="/js/highlight.js.DXH817i9.0.0.63-internal.2.js">
363
+ <link rel="modulepreload" crossorigin href="/js/mdurl.k9Sl0PQj.0.0.63-internal.2.js">
364
+ <link rel="modulepreload" crossorigin href="/js/uc.micro.kMc2yuuw.0.0.63-internal.2.js">
365
+ <link rel="modulepreload" crossorigin href="/js/entities.C20TfXL6.0.0.63-internal.2.js">
366
+ <link rel="modulepreload" crossorigin href="/js/linkify-it.Ber55OMX.0.0.63-internal.2.js">
367
+ <link rel="modulepreload" crossorigin href="/js/punycode.js.Dj65hjkv.0.0.63-internal.2.js">
368
+ <link rel="modulepreload" crossorigin href="/js/markdown-it.-C4hVAY0.0.0.63-internal.2.js">
369
+ <link rel="modulepreload" crossorigin href="/js/dijkstrajs.C00ieaqj.0.0.63-internal.2.js">
370
+ <link rel="modulepreload" crossorigin href="/js/qrcode.BYm6YEi7.0.0.63-internal.2.js">
371
+ <link rel="modulepreload" crossorigin href="/js/get-size.D1dS-IaP.0.0.63-internal.2.js">
372
+ <link rel="modulepreload" crossorigin href="/js/ev-emitter.X5f1qa-c.0.0.63-internal.2.js">
373
+ <link rel="modulepreload" crossorigin href="/js/unidragger.DvCUBzU4.0.0.63-internal.2.js">
374
+ <link rel="modulepreload" crossorigin href="/js/draggabilly.CCdX2bwY.0.0.63-internal.2.js">
375
+ <link rel="modulepreload" crossorigin href="/js/vue-zoomable.7cLa2zon.0.0.63-internal.2.js">
376
+ <link rel="modulepreload" crossorigin href="/js/primelocale.Bga3dOQu.0.0.63-internal.2.js">
377
+ <link rel="stylesheet" crossorigin href="/assets/@xterm.DYP7pi_n.0.0.63-internal.2.css">
378
+ <link rel="stylesheet" crossorigin href="/assets/highlight.Ch2EwETz.0.0.63-internal.2.css">
379
+ <link rel="stylesheet" crossorigin href="/assets/main.DYKKLRxP.0.0.63-internal.2.css">
380
380
  <link rel="manifest" href="/manifest.webmanifest"><script id="vite-plugin-pwa:register-sw" src="/registerSW.js"></script></head>
381
381
  <body>
382
382
  <div id="app" class="app"></div>
@@ -1,4 +1,4 @@
1
- import{e as te,r as H,a as ne,s as $1,b as re,i as oe,c as ie,d as ae,f as O,g as F,m as s1,h as I,j as u1,E as le,k as se,l as N,n as ue,o as Z1,u as de,p as B1,t as ce,q as R,v as E,w as b1,x as F1,y as R1,z as fe,A as pe}from"./@primeuix.BkBDkSvZ.0.0.63-internal.0.js";import{r as o1,a as me,g as w1,o as Ce,n as ve,w as K,i as ge,b as he,m as g,u as ye,c as h,d as y,e as v}from"./@vue.Dh6viqaK.0.0.63-internal.0.js";var j={STARTS_WITH:"startsWith",CONTAINS:"contains",NOT_CONTAINS:"notContains",ENDS_WITH:"endsWith",EQUALS:"equals",NOT_EQUALS:"notEquals",LESS_THAN:"lt",LESS_THAN_OR_EQUAL_TO:"lte",GREATER_THAN:"gt",GREATER_THAN_OR_EQUAL_TO:"gte",DATE_IS:"dateIs",DATE_IS_NOT:"dateIsNot",DATE_BEFORE:"dateBefore",DATE_AFTER:"dateAfter"},Qt={AND:"and",OR:"or"};function S1(n,e){var t=typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(!t){if(Array.isArray(n)||(t=$e(n))||e){t&&(n=t);var r=0,o=function(){};return{s:o,n:function(){return r>=n.length?{done:!0}:{done:!1,value:n[r++]}},e:function(s){throw s},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1
+ import{e as te,r as H,a as ne,s as $1,b as re,i as oe,c as ie,d as ae,f as O,g as F,m as s1,h as I,j as u1,E as le,k as se,l as N,n as ue,o as Z1,u as de,p as B1,t as ce,q as R,v as E,w as b1,x as F1,y as R1,z as fe,A as pe}from"./@primeuix.BkBDkSvZ.0.0.63-internal.2.js";import{r as o1,a as me,g as w1,o as Ce,n as ve,w as K,i as ge,b as he,m as g,u as ye,c as h,d as y,e as v}from"./@vue.Dh6viqaK.0.0.63-internal.2.js";var j={STARTS_WITH:"startsWith",CONTAINS:"contains",NOT_CONTAINS:"notContains",ENDS_WITH:"endsWith",EQUALS:"equals",NOT_EQUALS:"notEquals",LESS_THAN:"lt",LESS_THAN_OR_EQUAL_TO:"lte",GREATER_THAN:"gt",GREATER_THAN_OR_EQUAL_TO:"gte",DATE_IS:"dateIs",DATE_IS_NOT:"dateIsNot",DATE_BEFORE:"dateBefore",DATE_AFTER:"dateAfter"},Qt={AND:"and",OR:"or"};function S1(n,e){var t=typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(!t){if(Array.isArray(n)||(t=$e(n))||e){t&&(n=t);var r=0,o=function(){};return{s:o,n:function(){return r>=n.length?{done:!0}:{done:!1,value:n[r++]}},e:function(s){throw s},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2
2
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i,u=!0,l=!1;return{s:function(){t=t.call(n)},n:function(){var s=t.next();return u=s.done,s},e:function(s){l=!0,i=s},f:function(){try{u||t.return==null||t.return()}finally{if(l)throw i}}}}function $e(n,e){if(n){if(typeof n=="string")return _1(n,e);var t={}.toString.call(n).slice(8,-1);return t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set"?Array.from(n):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_1(n,e):void 0}}function _1(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,r=Array(e);t<e;t++)r[t]=n[t];return r}var Yt={filter:function(e,t,r,o,i){var u=[];if(!e)return u;var l=S1(e),a;try{for(l.s();!(a=l.n()).done;){var s=a.value;if(typeof s=="string"){if(this.filters[o](s,r,i)){u.push(s);continue}}else{var c=S1(t),d;try{for(c.s();!(d=c.n()).done;){var f=d.value,m=ne(s,f);if(this.filters[o](m,r,i)){u.push(s);break}}}catch(C){c.e(C)}finally{c.f()}}}}catch(C){l.e(C)}finally{l.f()}return u},filters:{startsWith:function(e,t,r){if(t==null||t==="")return!0;if(e==null)return!1;var o=H(t.toString()).toLocaleLowerCase(r),i=H(e.toString()).toLocaleLowerCase(r);return i.slice(0,o.length)===o},contains:function(e,t,r){if(t==null||t==="")return!0;if(e==null)return!1;var o=H(t.toString()).toLocaleLowerCase(r),i=H(e.toString()).toLocaleLowerCase(r);return i.indexOf(o)!==-1},notContains:function(e,t,r){if(t==null||t==="")return!0;if(e==null)return!1;var o=H(t.toString()).toLocaleLowerCase(r),i=H(e.toString()).toLocaleLowerCase(r);return i.indexOf(o)===-1},endsWith:function(e,t,r){if(t==null||t==="")return!0;if(e==null)return!1;var o=H(t.toString()).toLocaleLowerCase(r),i=H(e.toString()).toLocaleLowerCase(r);return i.indexOf(o,i.length-o.length)!==-1},equals:function(e,t,r){return t==null||t===""?!0:e==null?!1:e.getTime&&t.getTime?e.getTime()===t.getTime():H(e.toString()).toLocaleLowerCase(r)==H(t.toString()).toLocaleLowerCase(r)},notEquals:function(e,t,r){return t==null||t===""?!1:e==null?!0:e.getTime&&t.getTime?e.getTime()!==t.getTime():H(e.toString()).toLocaleLowerCase(r)!=H(t.toString()).toLocaleLowerCase(r)},in:function(e,t){if(t==null||t.length===0)return!0;for(var r=0;r<t.length;r++)if(te(e,t[r]))return!0;return!1},between:function(e,t){return t==null||t[0]==null||t[1]==null?!0:e==null?!1:e.getTime?t[0].getTime()<=e.getTime()&&e.getTime()<=t[1].getTime():t[0]<=e&&e<=t[1]},lt:function(e,t){return t==null?!0:e==null?!1:e.getTime&&t.getTime?e.getTime()<t.getTime():e<t},lte:function(e,t){return t==null?!0:e==null?!1:e.getTime&&t.getTime?e.getTime()<=t.getTime():e<=t},gt:function(e,t){return t==null?!0:e==null?!1:e.getTime&&t.getTime?e.getTime()>t.getTime():e>t},gte:function(e,t){return t==null?!0:e==null?!1:e.getTime&&t.getTime?e.getTime()>=t.getTime():e>=t},dateIs:function(e,t){return t==null?!0:e==null?!1:e.toDateString()===t.toDateString()},dateIsNot:function(e,t){return t==null?!0:e==null?!1:e.toDateString()!==t.toDateString()},dateBefore:function(e,t){return t==null?!0:e==null?!1:e.getTime()<t.getTime()},dateAfter:function(e,t){return t==null?!0:e==null?!1:e.getTime()>t.getTime()}},register:function(e,t){this.filters[e]=t}};function G(n){"@babel/helpers - typeof";return G=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},G(n)}function L1(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable})),t.push.apply(t,r)}return t}function T1(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?L1(Object(t),!0).forEach(function(r){be(n,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):L1(Object(t)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(t,r))})}return n}function be(n,e,t){return(e=we(e))in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function we(n){var e=Se(n,"string");return G(e)=="symbol"?e:e+""}function Se(n,e){if(G(n)!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var r=t.call(n,e);if(G(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}function _e(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;w1()&&w1().components?Ce(n):e?n():ve(n)}var Le=0;function Te(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=o1(!1),r=o1(n),o=o1(null),i=ie()?window.document:void 0,u=e.document,l=u===void 0?i:u,a=e.immediate,s=a===void 0?!0:a,c=e.manual,d=c===void 0?!1:c,f=e.name,m=f===void 0?"style_".concat(++Le):f,C=e.id,T=C===void 0?void 0:C,_=e.media,P=_===void 0?void 0:_,M=e.nonce,V=M===void 0?void 0:M,p=e.first,L=p===void 0?!1:p,A=e.onMounted,Z=A===void 0?void 0:A,p1=e.onUpdated,i1=p1===void 0?void 0:p1,m1=e.onLoad,a1=m1===void 0?void 0:m1,C1=e.props,Q1=C1===void 0?{}:C1,v1=function(){},g1=function(J1){var X1=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(l){var n1=T1(T1({},Q1),X1),U=n1.name||m,y1=n1.id||T,ee=n1.nonce||V;o.value=l.querySelector('style[data-primevue-style-id="'.concat(U,'"]'))||l.getElementById(y1)||l.createElement("style"),o.value.isConnected||(r.value=J1||n,$1(o.value,{type:"text/css",id:y1,media:P,nonce:ee}),L?l.head.prepend(o.value):l.head.appendChild(o.value),re(o.value,"data-primevue-style-id",U),$1(o.value,n1),o.value.onload=function(l1){return a1==null?void 0:a1(l1,{name:U})},Z==null||Z(U)),!t.value&&(v1=K(r,function(l1){o.value.textContent=l1,i1==null||i1(U)},{immediate:!0}),t.value=!0)}},Y1=function(){!l||!t.value||(v1(),oe(o.value)&&l.head.removeChild(o.value),t.value=!1,o.value=null)};return s&&!d&&_e(g1),{id:T,name:m,el:o,css:r,unload:Y1,load:g1,isLoaded:me(t)}}function z(n){"@babel/helpers - typeof";return z=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},z(n)}function P1(n,e){return Ve(n)||xe(n,e)||Oe(n,e)||Pe()}function Pe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
3
3
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Oe(n,e){if(n){if(typeof n=="string")return O1(n,e);var t={}.toString.call(n).slice(8,-1);return t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set"?Array.from(n):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?O1(n,e):void 0}}function O1(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,r=Array(e);t<e;t++)r[t]=n[t];return r}function xe(n,e){var t=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(t!=null){var r,o,i,u,l=[],a=!0,s=!1;try{if(i=(t=t.call(n)).next,e!==0)for(;!(a=(r=i.call(t)).done)&&(l.push(r.value),l.length!==e);a=!0);}catch(c){s=!0,o=c}finally{try{if(!a&&t.return!=null&&(u=t.return(),Object(u)!==u))return}finally{if(s)throw o}}return l}}function Ve(n){if(Array.isArray(n))return n}function x1(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable})),t.push.apply(t,r)}return t}function d1(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?x1(Object(t),!0).forEach(function(r){Me(n,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):x1(Object(t)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(t,r))})}return n}function Me(n,e,t){return(e=je(e))in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function je(n){var e=Ae(n,"string");return z(e)=="symbol"?e:e+""}function Ae(n,e){if(z(n)!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var r=t.call(n,e);if(z(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}var He=function(e){var t=e.dt;return`
4
4
  .p-hidden-accessible {
@@ -1 +1 @@
1
- var be=s=>{throw TypeError(s)};var Yt=(s,t,e)=>t.has(s)||be("Cannot "+e);var r=(s,t,e)=>(Yt(s,t,"read from private field"),e?e.call(s):t.get(s)),l=(s,t,e)=>t.has(s)?be("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(s):t.set(s,e),o=(s,t,e,i)=>(Yt(s,t,"write to private field"),i?i.call(s,e):t.set(s,e),e),p=(s,t,e)=>(Yt(s,t,"access private method"),e);var $t=(s,t,e,i)=>({set _(n){o(s,t,n,e)},get _(){return r(s,t,i)}});import{f as xe,h as ns,j as as,i as us,r as os,n as hs,k as Ke,s as ke,b as Le,w as Ot,l as He,p as _e,a as Ge,t as Ne}from"./@vue.Dh6viqaK.0.0.63-internal.0.js";var jt=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(s){return this.listeners.add(s),this.onSubscribe(),()=>{this.listeners.delete(s),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},vt=typeof window>"u"||"Deno"in globalThis;function H(){}function cs(s,t){return typeof s=="function"?s(t):s}function Xt(s){return typeof s=="number"&&s>=0&&s!==1/0}function $e(s,t){return Math.max(s+(t||0)-Date.now(),0)}function Ct(s,t){return typeof s=="function"?s(t):s}function N(s,t){return typeof s=="function"?s(t):s}function ge(s,t){const{type:e="all",exact:i,fetchStatus:n,predicate:a,queryKey:u,stale:h}=s;if(u){if(i){if(t.queryHash!==ye(u,t.options))return!1}else if(!Kt(t.queryKey,u))return!1}if(e!=="all"){const d=t.isActive();if(e==="active"&&!d||e==="inactive"&&d)return!1}return!(typeof h=="boolean"&&t.isStale()!==h||n&&n!==t.state.fetchStatus||a&&!a(t))}function Oe(s,t){const{exact:e,status:i,predicate:n,mutationKey:a}=s;if(a){if(!t.options.mutationKey)return!1;if(e){if(bt(t.options.mutationKey)!==bt(a))return!1}else if(!Kt(t.options.mutationKey,a))return!1}return!(i&&t.state.status!==i||n&&!n(t))}function ye(s,t){return((t==null?void 0:t.queryKeyHashFn)||bt)(s)}function bt(s){return JSON.stringify(s,(t,e)=>Zt(e)?Object.keys(e).sort().reduce((i,n)=>(i[n]=e[n],i),{}):e)}function Kt(s,t){return s===t?!0:typeof s!=typeof t?!1:s&&t&&typeof s=="object"&&typeof t=="object"?Object.keys(t).every(e=>Kt(s[e],t[e])):!1}function Be(s,t){if(s===t)return s;const e=Ce(s)&&Ce(t);if(e||Zt(s)&&Zt(t)){const i=e?s:Object.keys(s),n=i.length,a=e?t:Object.keys(t),u=a.length,h=e?[]:{};let d=0;for(let w=0;w<u;w++){const y=e?w:a[w];(!e&&i.includes(y)||e)&&s[y]===void 0&&t[y]===void 0?(h[y]=void 0,d++):(h[y]=Be(s[y],t[y]),h[y]===s[y]&&s[y]!==void 0&&d++)}return n===u&&d===n?s:h}return t}function zt(s,t){if(!t||Object.keys(s).length!==Object.keys(t).length)return!1;for(const e in s)if(s[e]!==t[e])return!1;return!0}function Ce(s){return Array.isArray(s)&&s.length===Object.keys(s).length}function Zt(s){if(!we(s))return!1;const t=s.constructor;if(t===void 0)return!0;const e=t.prototype;return!(!we(e)||!e.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(s)!==Object.prototype)}function we(s){return Object.prototype.toString.call(s)==="[object Object]"}function ls(s){return new Promise(t=>{setTimeout(t,s)})}function te(s,t,e){return typeof e.structuralSharing=="function"?e.structuralSharing(s,t):e.structuralSharing!==!1?Be(s,t):t}function fs(s,t,e=0){const i=[...s,t];return e&&i.length>e?i.slice(1):i}function ds(s,t,e=0){const i=[t,...s];return e&&i.length>e?i.slice(0,-1):i}var pe=Symbol();function Ve(s,t){return!s.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!s.queryFn||s.queryFn===pe?()=>Promise.reject(new Error(`Missing queryFn: '${s.queryHash}'`)):s.queryFn}function ee(s,t){return typeof s=="function"?s(...t):!!s}var ht,Z,wt,De,ys=(De=class extends jt{constructor(){super();l(this,ht);l(this,Z);l(this,wt);o(this,wt,t=>{if(!vt&&window.addEventListener){const e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}})}onSubscribe(){r(this,Z)||this.setEventListener(r(this,wt))}onUnsubscribe(){var t;this.hasListeners()||((t=r(this,Z))==null||t.call(this),o(this,Z,void 0))}setEventListener(t){var e;o(this,wt,t),(e=r(this,Z))==null||e.call(this),o(this,Z,t(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()}))}setFocused(t){r(this,ht)!==t&&(o(this,ht,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(e=>{e(t)})}isFocused(){var t;return typeof r(this,ht)=="boolean"?r(this,ht):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},ht=new WeakMap,Z=new WeakMap,wt=new WeakMap,De),me=new ys,Qt,tt,St,Fe,ps=(Fe=class extends jt{constructor(){super();l(this,Qt,!0);l(this,tt);l(this,St);o(this,St,t=>{if(!vt&&window.addEventListener){const e=()=>t(!0),i=()=>t(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",i)}}})}onSubscribe(){r(this,tt)||this.setEventListener(r(this,St))}onUnsubscribe(){var t;this.hasListeners()||((t=r(this,tt))==null||t.call(this),o(this,tt,void 0))}setEventListener(t){var e;o(this,St,t),(e=r(this,tt))==null||e.call(this),o(this,tt,t(this.setOnline.bind(this)))}setOnline(t){r(this,Qt)!==t&&(o(this,Qt,t),this.listeners.forEach(i=>{i(t)}))}isOnline(){return r(this,Qt)}},Qt=new WeakMap,tt=new WeakMap,St=new WeakMap,Fe),Wt=new ps;function se(){let s,t;const e=new Promise((n,a)=>{s=n,t=a});e.status="pending",e.catch(()=>{});function i(n){Object.assign(e,n),delete e.resolve,delete e.reject}return e.resolve=n=>{i({status:"fulfilled",value:n}),s(n)},e.reject=n=>{i({status:"rejected",reason:n}),t(n)},e}function ms(s){return Math.min(1e3*2**s,3e4)}function ze(s){return(s??"online")==="online"?Wt.isOnline():!0}var We=class extends Error{constructor(s){super("CancelledError"),this.revert=s==null?void 0:s.revert,this.silent=s==null?void 0:s.silent}};function Jt(s){return s instanceof We}function Ye(s){let t=!1,e=0,i=!1,n;const a=se(),u=m=>{var g;i||(O(new We(m)),(g=s.abort)==null||g.call(s))},h=()=>{t=!0},d=()=>{t=!1},w=()=>me.isFocused()&&(s.networkMode==="always"||Wt.isOnline())&&s.canRun(),y=()=>ze(s.networkMode)&&s.canRun(),c=m=>{var g;i||(i=!0,(g=s.onSuccess)==null||g.call(s,m),n==null||n(),a.resolve(m))},O=m=>{var g;i||(i=!0,(g=s.onError)==null||g.call(s,m),n==null||n(),a.reject(m))},f=()=>new Promise(m=>{var g;n=D=>{(i||w())&&m(D)},(g=s.onPause)==null||g.call(s)}).then(()=>{var m;n=void 0,i||(m=s.onContinue)==null||m.call(s)}),Q=()=>{if(i)return;let m;const g=e===0?s.initialPromise:void 0;try{m=g??s.fn()}catch(D){m=Promise.reject(D)}Promise.resolve(m).then(c).catch(D=>{var k;if(i)return;const F=s.retry??(vt?0:3),S=s.retryDelay??ms,M=typeof S=="function"?S(e,D):S,K=F===!0||typeof F=="number"&&e<F||typeof F=="function"&&F(e,D);if(t||!K){O(D);return}e++,(k=s.onFail)==null||k.call(s,e,D),ls(M).then(()=>w()?void 0:f()).then(()=>{t?O(D):Q()})})};return{promise:a,cancel:u,continue:()=>(n==null||n(),a),cancelRetry:h,continueRetry:d,canStart:y,start:()=>(y()?Q():f().then(Q),a)}}var vs=s=>setTimeout(s,0);function bs(){let s=[],t=0,e=h=>{h()},i=h=>{h()},n=vs;const a=h=>{t?s.push(h):n(()=>{e(h)})},u=()=>{const h=s;s=[],h.length&&n(()=>{i(()=>{h.forEach(d=>{e(d)})})})};return{batch:h=>{let d;t++;try{d=h()}finally{t--,t||u()}return d},batchCalls:h=>(...d)=>{a(()=>{h(...d)})},schedule:a,setNotifyFunction:h=>{e=h},setBatchNotifyFunction:h=>{i=h},setScheduler:h=>{n=h}}}var A=bs(),ct,Me,Je=(Me=class{constructor(){l(this,ct)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Xt(this.gcTime)&&o(this,ct,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(s){this.gcTime=Math.max(this.gcTime||0,s??(vt?1/0:5*60*1e3))}clearGcTimeout(){r(this,ct)&&(clearTimeout(r(this,ct)),o(this,ct,void 0))}},ct=new WeakMap,Me),Rt,Pt,L,lt,q,kt,ft,_,z,Ee,gs=(Ee=class extends Je{constructor(t){super();l(this,_);l(this,Rt);l(this,Pt);l(this,L);l(this,lt);l(this,q);l(this,kt);l(this,ft);o(this,ft,!1),o(this,kt,t.defaultOptions),this.setOptions(t.options),this.observers=[],o(this,lt,t.client),o(this,L,r(this,lt).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,o(this,Rt,Os(this.options)),this.state=t.state??r(this,Rt),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=r(this,q))==null?void 0:t.promise}setOptions(t){this.options={...r(this,kt),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&r(this,L).remove(this)}setData(t,e){const i=te(this.state.data,t,this.options);return p(this,_,z).call(this,{data:i,type:"success",dataUpdatedAt:e==null?void 0:e.updatedAt,manual:e==null?void 0:e.manual}),i}setState(t,e){p(this,_,z).call(this,{type:"setState",state:t,setStateOptions:e})}cancel(t){var i,n;const e=(i=r(this,q))==null?void 0:i.promise;return(n=r(this,q))==null||n.cancel(t),e?e.then(H).catch(H):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(r(this,Rt))}isActive(){return this.observers.some(t=>N(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===pe||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!$e(this.state.dataUpdatedAt,t)}onFocus(){var e;const t=this.observers.find(i=>i.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(e=r(this,q))==null||e.continue()}onOnline(){var e;const t=this.observers.find(i=>i.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(e=r(this,q))==null||e.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),r(this,L).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(e=>e!==t),this.observers.length||(r(this,q)&&(r(this,ft)?r(this,q).cancel({revert:!0}):r(this,q).cancelRetry()),this.scheduleGc()),r(this,L).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||p(this,_,z).call(this,{type:"invalidate"})}fetch(t,e){var d,w,y;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(e!=null&&e.cancelRefetch))this.cancel({silent:!0});else if(r(this,q))return r(this,q).continueRetry(),r(this,q).promise}if(t&&this.setOptions(t),!this.options.queryFn){const c=this.observers.find(O=>O.options.queryFn);c&&this.setOptions(c.options)}const i=new AbortController,n=c=>{Object.defineProperty(c,"signal",{enumerable:!0,get:()=>(o(this,ft,!0),i.signal)})},a=()=>{const c=Ve(this.options,e),O={client:r(this,lt),queryKey:this.queryKey,meta:this.meta};return n(O),o(this,ft,!1),this.options.persister?this.options.persister(c,O,this):c(O)},u={fetchOptions:e,options:this.options,queryKey:this.queryKey,client:r(this,lt),state:this.state,fetchFn:a};n(u),(d=this.options.behavior)==null||d.onFetch(u,this),o(this,Pt,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((w=u.fetchOptions)==null?void 0:w.meta))&&p(this,_,z).call(this,{type:"fetch",meta:(y=u.fetchOptions)==null?void 0:y.meta});const h=c=>{var O,f,Q,m;Jt(c)&&c.silent||p(this,_,z).call(this,{type:"error",error:c}),Jt(c)||((f=(O=r(this,L).config).onError)==null||f.call(O,c,this),(m=(Q=r(this,L).config).onSettled)==null||m.call(Q,this.state.data,c,this)),this.scheduleGc()};return o(this,q,Ye({initialPromise:e==null?void 0:e.initialPromise,fn:u.fetchFn,abort:i.abort.bind(i),onSuccess:c=>{var O,f,Q,m;if(c===void 0){h(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(c)}catch(g){h(g);return}(f=(O=r(this,L).config).onSuccess)==null||f.call(O,c,this),(m=(Q=r(this,L).config).onSettled)==null||m.call(Q,c,this.state.error,this),this.scheduleGc()},onError:h,onFail:(c,O)=>{p(this,_,z).call(this,{type:"failed",failureCount:c,error:O})},onPause:()=>{p(this,_,z).call(this,{type:"pause"})},onContinue:()=>{p(this,_,z).call(this,{type:"continue"})},retry:u.options.retry,retryDelay:u.options.retryDelay,networkMode:u.options.networkMode,canRun:()=>!0})),r(this,q).start()}},Rt=new WeakMap,Pt=new WeakMap,L=new WeakMap,lt=new WeakMap,q=new WeakMap,kt=new WeakMap,ft=new WeakMap,_=new WeakSet,z=function(t){const e=i=>{switch(t.type){case"failed":return{...i,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...i,fetchStatus:"paused"};case"continue":return{...i,fetchStatus:"fetching"};case"fetch":return{...i,...Xe(i.data,this.options),fetchMeta:t.meta??null};case"success":return{...i,data:t.data,dataUpdateCount:i.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const n=t.error;return Jt(n)&&n.revert&&r(this,Pt)?{...r(this,Pt),fetchStatus:"idle"}:{...i,error:n,errorUpdateCount:i.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:i.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:"idle",status:"error"};case"invalidate":return{...i,isInvalidated:!0};case"setState":return{...i,...t.state}}};this.state=e(this.state),A.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),r(this,L).notify({query:this,type:"updated",action:t})})},Ee);function Xe(s,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:ze(t.networkMode)?"fetching":"paused",...s===void 0&&{error:null,status:"pending"}}}function Os(s){const t=typeof s.initialData=="function"?s.initialData():s.initialData,e=t!==void 0,i=e?typeof s.initialDataUpdatedAt=="function"?s.initialDataUpdatedAt():s.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:e?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:e?"success":"pending",fetchStatus:"idle"}}var $,Ae,Ze=(Ae=class extends jt{constructor(e={}){super();l(this,$);this.config=e,o(this,$,new Map)}build(e,i,n){const a=i.queryKey,u=i.queryHash??ye(a,i);let h=this.get(u);return h||(h=new gs({client:e,queryKey:a,queryHash:u,options:e.defaultQueryOptions(i),state:n,defaultOptions:e.getQueryDefaults(a)}),this.add(h)),h}add(e){r(this,$).has(e.queryHash)||(r(this,$).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const i=r(this,$).get(e.queryHash);i&&(e.destroy(),i===e&&r(this,$).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){A.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return r(this,$).get(e)}getAll(){return[...r(this,$).values()]}find(e){const i={exact:!0,...e};return this.getAll().find(n=>ge(i,n))}findAll(e={}){const i=this.getAll();return Object.keys(e).length>0?i.filter(n=>ge(e,n)):i}notify(e){A.batch(()=>{this.listeners.forEach(i=>{i(e)})})}onFocus(){A.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){A.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},$=new WeakMap,Ae),B,I,dt,V,X,Ue,Cs=(Ue=class extends Je{constructor(t){super();l(this,V);l(this,B);l(this,I);l(this,dt);this.mutationId=t.mutationId,o(this,I,t.mutationCache),o(this,B,[]),this.state=t.state||ts(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){r(this,B).includes(t)||(r(this,B).push(t),this.clearGcTimeout(),r(this,I).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){o(this,B,r(this,B).filter(e=>e!==t)),this.scheduleGc(),r(this,I).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){r(this,B).length||(this.state.status==="pending"?this.scheduleGc():r(this,I).remove(this))}continue(){var t;return((t=r(this,dt))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var a,u,h,d,w,y,c,O,f,Q,m,g,D,F,S,M,K,k,Tt,U;const e=()=>{p(this,V,X).call(this,{type:"continue"})};o(this,dt,Ye({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(P,E)=>{p(this,V,X).call(this,{type:"failed",failureCount:P,error:E})},onPause:()=>{p(this,V,X).call(this,{type:"pause"})},onContinue:e,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>r(this,I).canRun(this)}));const i=this.state.status==="pending",n=!r(this,dt).canStart();try{if(i)e();else{p(this,V,X).call(this,{type:"pending",variables:t,isPaused:n}),await((u=(a=r(this,I).config).onMutate)==null?void 0:u.call(a,t,this));const E=await((d=(h=this.options).onMutate)==null?void 0:d.call(h,t));E!==this.state.context&&p(this,V,X).call(this,{type:"pending",context:E,variables:t,isPaused:n})}const P=await r(this,dt).start();return await((y=(w=r(this,I).config).onSuccess)==null?void 0:y.call(w,P,t,this.state.context,this)),await((O=(c=this.options).onSuccess)==null?void 0:O.call(c,P,t,this.state.context)),await((Q=(f=r(this,I).config).onSettled)==null?void 0:Q.call(f,P,null,this.state.variables,this.state.context,this)),await((g=(m=this.options).onSettled)==null?void 0:g.call(m,P,null,t,this.state.context)),p(this,V,X).call(this,{type:"success",data:P}),P}catch(P){try{throw await((F=(D=r(this,I).config).onError)==null?void 0:F.call(D,P,t,this.state.context,this)),await((M=(S=this.options).onError)==null?void 0:M.call(S,P,t,this.state.context)),await((k=(K=r(this,I).config).onSettled)==null?void 0:k.call(K,void 0,P,this.state.variables,this.state.context,this)),await((U=(Tt=this.options).onSettled)==null?void 0:U.call(Tt,void 0,P,t,this.state.context)),P}finally{p(this,V,X).call(this,{type:"error",error:P})}}finally{r(this,I).runNext(this)}}},B=new WeakMap,I=new WeakMap,dt=new WeakMap,V=new WeakSet,X=function(t){const e=i=>{switch(t.type){case"failed":return{...i,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...i,isPaused:!0};case"continue":return{...i,isPaused:!1};case"pending":return{...i,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...i,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...i,data:void 0,error:t.error,failureCount:i.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=e(this.state),A.batch(()=>{r(this,B).forEach(i=>{i.onMutationUpdate(t)}),r(this,I).notify({mutation:this,type:"updated",action:t})})},Ue);function ts(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var W,G,Lt,qe,es=(qe=class extends jt{constructor(e={}){super();l(this,W);l(this,G);l(this,Lt);this.config=e,o(this,W,new Set),o(this,G,new Map),o(this,Lt,0)}build(e,i,n){const a=new Cs({mutationCache:this,mutationId:++$t(this,Lt)._,options:e.defaultMutationOptions(i),state:n});return this.add(a),a}add(e){r(this,W).add(e);const i=Bt(e);if(typeof i=="string"){const n=r(this,G).get(i);n?n.push(e):r(this,G).set(i,[e])}this.notify({type:"added",mutation:e})}remove(e){if(r(this,W).delete(e)){const i=Bt(e);if(typeof i=="string"){const n=r(this,G).get(i);if(n)if(n.length>1){const a=n.indexOf(e);a!==-1&&n.splice(a,1)}else n[0]===e&&r(this,G).delete(i)}}this.notify({type:"removed",mutation:e})}canRun(e){const i=Bt(e);if(typeof i=="string"){const n=r(this,G).get(i),a=n==null?void 0:n.find(u=>u.state.status==="pending");return!a||a===e}else return!0}runNext(e){var n;const i=Bt(e);if(typeof i=="string"){const a=(n=r(this,G).get(i))==null?void 0:n.find(u=>u!==e&&u.state.isPaused);return(a==null?void 0:a.continue())??Promise.resolve()}else return Promise.resolve()}clear(){A.batch(()=>{r(this,W).forEach(e=>{this.notify({type:"removed",mutation:e})}),r(this,W).clear(),r(this,G).clear()})}getAll(){return Array.from(r(this,W))}find(e){const i={exact:!0,...e};return this.getAll().find(n=>Oe(i,n))}findAll(e={}){return this.getAll().filter(i=>Oe(e,i))}notify(e){A.batch(()=>{this.listeners.forEach(i=>{i(e)})})}resumePausedMutations(){const e=this.getAll().filter(i=>i.state.isPaused);return A.batch(()=>Promise.all(e.map(i=>i.continue().catch(H))))}},W=new WeakMap,G=new WeakMap,Lt=new WeakMap,qe);function Bt(s){var t;return(t=s.options.scope)==null?void 0:t.id}function Qe(s){return{onFetch:(t,e)=>{var y,c,O,f,Q;const i=t.options,n=(O=(c=(y=t.fetchOptions)==null?void 0:y.meta)==null?void 0:c.fetchMore)==null?void 0:O.direction,a=((f=t.state.data)==null?void 0:f.pages)||[],u=((Q=t.state.data)==null?void 0:Q.pageParams)||[];let h={pages:[],pageParams:[]},d=0;const w=async()=>{let m=!1;const g=S=>{Object.defineProperty(S,"signal",{enumerable:!0,get:()=>(t.signal.aborted?m=!0:t.signal.addEventListener("abort",()=>{m=!0}),t.signal)})},D=Ve(t.options,t.fetchOptions),F=async(S,M,K)=>{if(m)return Promise.reject();if(M==null&&S.pages.length)return Promise.resolve(S);const k={client:t.client,queryKey:t.queryKey,pageParam:M,direction:K?"backward":"forward",meta:t.options.meta};g(k);const Tt=await D(k),{maxPages:U}=t.options,P=K?ds:fs;return{pages:P(S.pages,Tt,U),pageParams:P(S.pageParams,M,U)}};if(n&&a.length){const S=n==="backward",M=S?ws:Se,K={pages:a,pageParams:u},k=M(i,K);h=await F(K,k,S)}else{const S=s??a.length;do{const M=d===0?u[0]??i.initialPageParam:Se(i,h);if(d>0&&M==null)break;h=await F(h,M),d++}while(d<S)}return h};t.options.persister?t.fetchFn=()=>{var m,g;return(g=(m=t.options).persister)==null?void 0:g.call(m,w,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},e)}:t.fetchFn=w}}}function Se(s,{pages:t,pageParams:e}){const i=t.length-1;return t.length>0?s.getNextPageParam(t[i],t,e[i],e):void 0}function ws(s,{pages:t,pageParams:e}){var i;return t.length>0?(i=s.getPreviousPageParam)==null?void 0:i.call(s,t[0],t,e[0],e):void 0}var R,et,st,Dt,Ft,it,Mt,Et,Ie,Qs=(Ie=class{constructor(t={}){l(this,R);l(this,et);l(this,st);l(this,Dt);l(this,Ft);l(this,it);l(this,Mt);l(this,Et);o(this,R,t.queryCache||new Ze),o(this,et,t.mutationCache||new es),o(this,st,t.defaultOptions||{}),o(this,Dt,new Map),o(this,Ft,new Map),o(this,it,0)}mount(){$t(this,it)._++,r(this,it)===1&&(o(this,Mt,me.subscribe(async t=>{t&&(await this.resumePausedMutations(),r(this,R).onFocus())})),o(this,Et,Wt.subscribe(async t=>{t&&(await this.resumePausedMutations(),r(this,R).onOnline())})))}unmount(){var t,e;$t(this,it)._--,r(this,it)===0&&((t=r(this,Mt))==null||t.call(this),o(this,Mt,void 0),(e=r(this,Et))==null||e.call(this),o(this,Et,void 0))}isFetching(t){return r(this,R).findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return r(this,et).findAll({...t,status:"pending"}).length}getQueryData(t){var i;const e=this.defaultQueryOptions({queryKey:t});return(i=r(this,R).get(e.queryHash))==null?void 0:i.state.data}ensureQueryData(t){const e=this.defaultQueryOptions(t),i=r(this,R).build(this,e),n=i.state.data;return n===void 0?this.fetchQuery(t):(t.revalidateIfStale&&i.isStaleByTime(Ct(e.staleTime,i))&&this.prefetchQuery(e),Promise.resolve(n))}getQueriesData(t){return r(this,R).findAll(t).map(({queryKey:e,state:i})=>{const n=i.data;return[e,n]})}setQueryData(t,e,i){const n=this.defaultQueryOptions({queryKey:t}),a=r(this,R).get(n.queryHash),u=a==null?void 0:a.state.data,h=cs(e,u);if(h!==void 0)return r(this,R).build(this,n).setData(h,{...i,manual:!0})}setQueriesData(t,e,i){return A.batch(()=>r(this,R).findAll(t).map(({queryKey:n})=>[n,this.setQueryData(n,e,i)]))}getQueryState(t){var i;const e=this.defaultQueryOptions({queryKey:t});return(i=r(this,R).get(e.queryHash))==null?void 0:i.state}removeQueries(t){const e=r(this,R);A.batch(()=>{e.findAll(t).forEach(i=>{e.remove(i)})})}resetQueries(t,e){const i=r(this,R);return A.batch(()=>(i.findAll(t).forEach(n=>{n.reset()}),this.refetchQueries({type:"active",...t},e)))}cancelQueries(t,e={}){const i={revert:!0,...e},n=A.batch(()=>r(this,R).findAll(t).map(a=>a.cancel(i)));return Promise.all(n).then(H).catch(H)}invalidateQueries(t,e={}){return A.batch(()=>(r(this,R).findAll(t).forEach(i=>{i.invalidate()}),(t==null?void 0:t.refetchType)==="none"?Promise.resolve():this.refetchQueries({...t,type:(t==null?void 0:t.refetchType)??(t==null?void 0:t.type)??"active"},e)))}refetchQueries(t,e={}){const i={...e,cancelRefetch:e.cancelRefetch??!0},n=A.batch(()=>r(this,R).findAll(t).filter(a=>!a.isDisabled()).map(a=>{let u=a.fetch(void 0,i);return i.throwOnError||(u=u.catch(H)),a.state.fetchStatus==="paused"?Promise.resolve():u}));return Promise.all(n).then(H)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const i=r(this,R).build(this,e);return i.isStaleByTime(Ct(e.staleTime,i))?i.fetch(e):Promise.resolve(i.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(H).catch(H)}fetchInfiniteQuery(t){return t.behavior=Qe(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(H).catch(H)}ensureInfiniteQueryData(t){return t.behavior=Qe(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return Wt.isOnline()?r(this,et).resumePausedMutations():Promise.resolve()}getQueryCache(){return r(this,R)}getMutationCache(){return r(this,et)}getDefaultOptions(){return r(this,st)}setDefaultOptions(t){o(this,st,t)}setQueryDefaults(t,e){r(this,Dt).set(bt(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...r(this,Dt).values()],i={};return e.forEach(n=>{Kt(t,n.queryKey)&&Object.assign(i,n.defaultOptions)}),i}setMutationDefaults(t,e){r(this,Ft).set(bt(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...r(this,Ft).values()],i={};return e.forEach(n=>{Kt(t,n.mutationKey)&&Object.assign(i,n.defaultOptions)}),i}defaultQueryOptions(t){if(t._defaulted)return t;const e={...r(this,st).queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=ye(e.queryKey,e)),e.refetchOnReconnect===void 0&&(e.refetchOnReconnect=e.networkMode!=="always"),e.throwOnError===void 0&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.queryFn===pe&&(e.enabled=!1),e}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...r(this,st).mutations,...(t==null?void 0:t.mutationKey)&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){r(this,R).clear(),r(this,et).clear()}},R=new WeakMap,et=new WeakMap,st=new WeakMap,Dt=new WeakMap,Ft=new WeakMap,it=new WeakMap,Mt=new WeakMap,Et=new WeakMap,Ie),T,b,Ht,j,yt,At,rt,nt,_t,Ut,qt,pt,mt,at,It,C,xt,ie,re,ne,ae,ue,oe,he,ss,je,Ss=(je=class extends jt{constructor(t,e){super();l(this,C);l(this,T);l(this,b);l(this,Ht);l(this,j);l(this,yt);l(this,At);l(this,rt);l(this,nt);l(this,_t);l(this,Ut);l(this,qt);l(this,pt);l(this,mt);l(this,at);l(this,It,new Set);this.options=e,o(this,T,t),o(this,nt,null),o(this,rt,se()),this.options.experimental_prefetchInRender||r(this,rt).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(e)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(r(this,b).addObserver(this),Re(r(this,b),this.options)?p(this,C,xt).call(this):this.updateResult(),p(this,C,ae).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return ce(r(this,b),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ce(r(this,b),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,p(this,C,ue).call(this),p(this,C,oe).call(this),r(this,b).removeObserver(this)}setOptions(t){const e=this.options,i=r(this,b);if(this.options=r(this,T).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof N(this.options.enabled,r(this,b))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");p(this,C,he).call(this),r(this,b).setOptions(this.options),e._defaulted&&!zt(this.options,e)&&r(this,T).getQueryCache().notify({type:"observerOptionsUpdated",query:r(this,b),observer:this});const n=this.hasListeners();n&&Pe(r(this,b),i,this.options,e)&&p(this,C,xt).call(this),this.updateResult(),n&&(r(this,b)!==i||N(this.options.enabled,r(this,b))!==N(e.enabled,r(this,b))||Ct(this.options.staleTime,r(this,b))!==Ct(e.staleTime,r(this,b)))&&p(this,C,ie).call(this);const a=p(this,C,re).call(this);n&&(r(this,b)!==i||N(this.options.enabled,r(this,b))!==N(e.enabled,r(this,b))||a!==r(this,at))&&p(this,C,ne).call(this,a)}getOptimisticResult(t){const e=r(this,T).getQueryCache().build(r(this,T),t),i=this.createResult(e,t);return Ps(this,i)&&(o(this,j,i),o(this,At,this.options),o(this,yt,r(this,b).state)),i}getCurrentResult(){return r(this,j)}trackResult(t,e){return new Proxy(t,{get:(i,n)=>(this.trackProp(n),e==null||e(n),Reflect.get(i,n))})}trackProp(t){r(this,It).add(t)}getCurrentQuery(){return r(this,b)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const e=r(this,T).defaultQueryOptions(t),i=r(this,T).getQueryCache().build(r(this,T),e);return i.fetch().then(()=>this.createResult(i,e))}fetch(t){return p(this,C,xt).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),r(this,j)))}createResult(t,e){var P;const i=r(this,b),n=this.options,a=r(this,j),u=r(this,yt),h=r(this,At),w=t!==i?t.state:r(this,Ht),{state:y}=t;let c={...y},O=!1,f;if(e._optimisticResults){const E=this.hasListeners(),Gt=!E&&Re(t,e),gt=E&&Pe(t,i,e,n);(Gt||gt)&&(c={...c,...Xe(y.data,t.options)}),e._optimisticResults==="isRestoring"&&(c.fetchStatus="idle")}let{error:Q,errorUpdatedAt:m,status:g}=c;f=c.data;let D=!1;if(e.placeholderData!==void 0&&f===void 0&&g==="pending"){let E;a!=null&&a.isPlaceholderData&&e.placeholderData===(h==null?void 0:h.placeholderData)?(E=a.data,D=!0):E=typeof e.placeholderData=="function"?e.placeholderData((P=r(this,qt))==null?void 0:P.state.data,r(this,qt)):e.placeholderData,E!==void 0&&(g="success",f=te(a==null?void 0:a.data,E,e),O=!0)}if(e.select&&f!==void 0&&!D)if(a&&f===(u==null?void 0:u.data)&&e.select===r(this,_t))f=r(this,Ut);else try{o(this,_t,e.select),f=e.select(f),f=te(a==null?void 0:a.data,f,e),o(this,Ut,f),o(this,nt,null)}catch(E){o(this,nt,E)}r(this,nt)&&(Q=r(this,nt),f=r(this,Ut),m=Date.now(),g="error");const F=c.fetchStatus==="fetching",S=g==="pending",M=g==="error",K=S&&F,k=f!==void 0,U={status:g,fetchStatus:c.fetchStatus,isPending:S,isSuccess:g==="success",isError:M,isInitialLoading:K,isLoading:K,data:f,dataUpdatedAt:c.dataUpdatedAt,error:Q,errorUpdatedAt:m,failureCount:c.fetchFailureCount,failureReason:c.fetchFailureReason,errorUpdateCount:c.errorUpdateCount,isFetched:c.dataUpdateCount>0||c.errorUpdateCount>0,isFetchedAfterMount:c.dataUpdateCount>w.dataUpdateCount||c.errorUpdateCount>w.errorUpdateCount,isFetching:F,isRefetching:F&&!S,isLoadingError:M&&!k,isPaused:c.fetchStatus==="paused",isPlaceholderData:O,isRefetchError:M&&k,isStale:ve(t,e),refetch:this.refetch,promise:r(this,rt)};if(this.options.experimental_prefetchInRender){const E=Nt=>{U.status==="error"?Nt.reject(U.error):U.data!==void 0&&Nt.resolve(U.data)},Gt=()=>{const Nt=o(this,rt,U.promise=se());E(Nt)},gt=r(this,rt);switch(gt.status){case"pending":t.queryHash===i.queryHash&&E(gt);break;case"fulfilled":(U.status==="error"||U.data!==gt.value)&&Gt();break;case"rejected":(U.status!=="error"||U.error!==gt.reason)&&Gt();break}}return U}updateResult(){const t=r(this,j),e=this.createResult(r(this,b),this.options);if(o(this,yt,r(this,b).state),o(this,At,this.options),r(this,yt).data!==void 0&&o(this,qt,r(this,b)),zt(e,t))return;o(this,j,e);const i=()=>{if(!t)return!0;const{notifyOnChangeProps:n}=this.options,a=typeof n=="function"?n():n;if(a==="all"||!a&&!r(this,It).size)return!0;const u=new Set(a??r(this,It));return this.options.throwOnError&&u.add("error"),Object.keys(r(this,j)).some(h=>{const d=h;return r(this,j)[d]!==t[d]&&u.has(d)})};p(this,C,ss).call(this,{listeners:i()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&p(this,C,ae).call(this)}},T=new WeakMap,b=new WeakMap,Ht=new WeakMap,j=new WeakMap,yt=new WeakMap,At=new WeakMap,rt=new WeakMap,nt=new WeakMap,_t=new WeakMap,Ut=new WeakMap,qt=new WeakMap,pt=new WeakMap,mt=new WeakMap,at=new WeakMap,It=new WeakMap,C=new WeakSet,xt=function(t){p(this,C,he).call(this);let e=r(this,b).fetch(this.options,t);return t!=null&&t.throwOnError||(e=e.catch(H)),e},ie=function(){p(this,C,ue).call(this);const t=Ct(this.options.staleTime,r(this,b));if(vt||r(this,j).isStale||!Xt(t))return;const i=$e(r(this,j).dataUpdatedAt,t)+1;o(this,pt,setTimeout(()=>{r(this,j).isStale||this.updateResult()},i))},re=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(r(this,b)):this.options.refetchInterval)??!1},ne=function(t){p(this,C,oe).call(this),o(this,at,t),!(vt||N(this.options.enabled,r(this,b))===!1||!Xt(r(this,at))||r(this,at)===0)&&o(this,mt,setInterval(()=>{(this.options.refetchIntervalInBackground||me.isFocused())&&p(this,C,xt).call(this)},r(this,at)))},ae=function(){p(this,C,ie).call(this),p(this,C,ne).call(this,p(this,C,re).call(this))},ue=function(){r(this,pt)&&(clearTimeout(r(this,pt)),o(this,pt,void 0))},oe=function(){r(this,mt)&&(clearInterval(r(this,mt)),o(this,mt,void 0))},he=function(){const t=r(this,T).getQueryCache().build(r(this,T),this.options);if(t===r(this,b))return;const e=r(this,b);o(this,b,t),o(this,Ht,t.state),this.hasListeners()&&(e==null||e.removeObserver(this),t.addObserver(this))},ss=function(t){A.batch(()=>{t.listeners&&this.listeners.forEach(e=>{e(r(this,j))}),r(this,T).getQueryCache().notify({query:r(this,b),type:"observerResultsUpdated"})})},je);function Rs(s,t){return N(t.enabled,s)!==!1&&s.state.data===void 0&&!(s.state.status==="error"&&t.retryOnMount===!1)}function Re(s,t){return Rs(s,t)||s.state.data!==void 0&&ce(s,t,t.refetchOnMount)}function ce(s,t,e){if(N(t.enabled,s)!==!1){const i=typeof e=="function"?e(s):e;return i==="always"||i!==!1&&ve(s,t)}return!1}function Pe(s,t,e,i){return(s!==t||N(i.enabled,s)===!1)&&(!e.suspense||s.state.status!=="error")&&ve(s,e)}function ve(s,t){return N(t.enabled,s)!==!1&&s.isStaleByTime(Ct(t.staleTime,s))}function Ps(s,t){return!zt(s.getCurrentResult(),t)}var ut,ot,x,Y,J,Vt,le,Te,Ds=(Te=class extends jt{constructor(t,e){super();l(this,J);l(this,ut);l(this,ot);l(this,x);l(this,Y);o(this,ut,t),this.setOptions(e),this.bindMethods(),p(this,J,Vt).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){var i;const e=this.options;this.options=r(this,ut).defaultMutationOptions(t),zt(this.options,e)||r(this,ut).getMutationCache().notify({type:"observerOptionsUpdated",mutation:r(this,x),observer:this}),e!=null&&e.mutationKey&&this.options.mutationKey&&bt(e.mutationKey)!==bt(this.options.mutationKey)?this.reset():((i=r(this,x))==null?void 0:i.state.status)==="pending"&&r(this,x).setOptions(this.options)}onUnsubscribe(){var t;this.hasListeners()||(t=r(this,x))==null||t.removeObserver(this)}onMutationUpdate(t){p(this,J,Vt).call(this),p(this,J,le).call(this,t)}getCurrentResult(){return r(this,ot)}reset(){var t;(t=r(this,x))==null||t.removeObserver(this),o(this,x,void 0),p(this,J,Vt).call(this),p(this,J,le).call(this)}mutate(t,e){var i;return o(this,Y,e),(i=r(this,x))==null||i.removeObserver(this),o(this,x,r(this,ut).getMutationCache().build(r(this,ut),this.options)),r(this,x).addObserver(this),r(this,x).execute(t)}},ut=new WeakMap,ot=new WeakMap,x=new WeakMap,Y=new WeakMap,J=new WeakSet,Vt=function(){var e;const t=((e=r(this,x))==null?void 0:e.state)??ts();o(this,ot,{...t,isPending:t.status==="pending",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset})},le=function(t){A.batch(()=>{var e,i,n,a,u,h,d,w;if(r(this,Y)&&this.hasListeners()){const y=r(this,ot).variables,c=r(this,ot).context;(t==null?void 0:t.type)==="success"?((i=(e=r(this,Y)).onSuccess)==null||i.call(e,t.data,y,c),(a=(n=r(this,Y)).onSettled)==null||a.call(n,t.data,null,y,c)):(t==null?void 0:t.type)==="error"&&((h=(u=r(this,Y)).onError)==null||h.call(u,t.error,y,c),(w=(d=r(this,Y)).onSettled)==null||w.call(d,void 0,t.error,y,c))}this.listeners.forEach(y=>{y(r(this,ot))})})},Te),Fs="VUE_QUERY_CLIENT";function is(s){const t=s?`:${s}`:"";return`${Fs}${t}`}function fe(s,t){Object.keys(s).forEach(e=>{s[e]=t[e]})}function de(s,t,e="",i=0){if(t){const n=t(s,e,i);if(n===void 0&&xe(s)||n!==void 0)return n}if(Array.isArray(s))return s.map((n,a)=>de(n,t,String(a),i+1));if(typeof s=="object"&&Es(s)){const n=Object.entries(s).map(([a,u])=>[a,de(u,t,a,i+1)]);return Object.fromEntries(n)}return s}function Ms(s,t){return de(s,t)}function v(s,t=!1){return Ms(s,(e,i,n)=>{if(n===1&&i==="queryKey")return v(e,!0);if(t&&As(e))return v(e(),t);if(xe(e))return v(ns(e),t)})}function Es(s){if(Object.prototype.toString.call(s)!=="[object Object]")return!1;const t=Object.getPrototypeOf(s);return t===null||t===Object.prototype}function As(s){return typeof s=="function"}function rs(s=""){if(!as())throw new Error("vue-query hooks can only be used inside setup() function or functions that support injection context.");const t=is(s),e=us(t);if(!e)throw new Error("No 'queryClient' found in Vue context, use 'VueQueryPlugin' to properly initialize the library.");return e}var Us=class extends Ze{find(s){return super.find(v(s))}findAll(s={}){return super.findAll(v(s))}},qs=class extends es{find(s){return super.find(v(s))}findAll(s={}){return super.findAll(v(s))}},Is=class extends Qs{constructor(s={}){const t={defaultOptions:s.defaultOptions,queryCache:s.queryCache||new Us,mutationCache:s.mutationCache||new qs};super(t),this.isRestoring=os(!1)}isFetching(s={}){return super.isFetching(v(s))}isMutating(s={}){return super.isMutating(v(s))}getQueryData(s){return super.getQueryData(v(s))}ensureQueryData(s){return super.ensureQueryData(v(s))}getQueriesData(s){return super.getQueriesData(v(s))}setQueryData(s,t,e={}){return super.setQueryData(v(s),t,v(e))}setQueriesData(s,t,e={}){return super.setQueriesData(v(s),t,v(e))}getQueryState(s){return super.getQueryState(v(s))}removeQueries(s={}){return super.removeQueries(v(s))}resetQueries(s={},t={}){return super.resetQueries(v(s),v(t))}cancelQueries(s={},t={}){return super.cancelQueries(v(s),v(t))}invalidateQueries(s={},t={}){const e=v(s),i=v(t);if(super.invalidateQueries({...e,refetchType:"none"},i),e.refetchType==="none")return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return hs().then(()=>super.refetchQueries(n,i))}refetchQueries(s={},t={}){return super.refetchQueries(v(s),v(t))}fetchQuery(s){return super.fetchQuery(v(s))}prefetchQuery(s){return super.prefetchQuery(v(s))}fetchInfiniteQuery(s){return super.fetchInfiniteQuery(v(s))}prefetchInfiniteQuery(s){return super.prefetchInfiniteQuery(v(s))}setDefaultOptions(s){super.setDefaultOptions(v(s))}setQueryDefaults(s,t){super.setQueryDefaults(v(s),v(t))}getQueryDefaults(s){return super.getQueryDefaults(v(s))}setMutationDefaults(s,t){super.setMutationDefaults(v(s),v(t))}getMutationDefaults(s){return super.getMutationDefaults(v(s))}},Hs={install:(s,t={})=>{const e=is(t.queryClientKey);let i;if("queryClient"in t&&t.queryClient)i=t.queryClient;else{const u="queryClientConfig"in t?t.queryClientConfig:void 0;i=new Is(u)}vt||i.mount();let n=()=>{};if(t.clientPersister){i.isRestoring.value=!0;const[u,h]=t.clientPersister(i);n=u,h.then(()=>{var d;i.isRestoring.value=!1,(d=t.clientPersisterOnSuccess)==null||d.call(t,i)})}const a=()=>{i.unmount(),n()};if(s.onUnmount)s.onUnmount(a);else{const u=s.unmount;s.unmount=function(){a(),u()}}s.provide(e,i)}};function js(s,t,e){const i=rs(),n=Ke(()=>{const f=v(t);typeof f.enabled=="function"&&(f.enabled=f.enabled());const Q=i.defaultQueryOptions(f);return Q._optimisticResults=i.isRestoring.value?"isRestoring":"optimistic",Q}),a=new s(i,n.value),u=n.value.shallow?ke(a.getCurrentResult()):Le(a.getCurrentResult());let h=()=>{};Ot(i.isRestoring,f=>{f||(h(),h=a.subscribe(Q=>{fe(u,Q)}))},{immediate:!0});const d=()=>{a.setOptions(n.value),fe(u,a.getCurrentResult())};Ot(n,d),He(()=>{h()});const w=(...f)=>(d(),u.refetch(...f)),y=()=>new Promise((f,Q)=>{let m=()=>{};const g=()=>{if(n.value.enabled!==!1){a.setOptions(n.value);const D=a.getOptimisticResult(n.value);D.isStale?(m(),a.fetchOptimistic(n.value).then(f,F=>{ee(n.value.throwOnError,[F,a.getCurrentQuery()])?Q(F):f(a.getCurrentResult())})):(m(),f(D))}};g(),m=Ot(n,g)});Ot(()=>u.error,f=>{if(u.isError&&!u.isFetching&&ee(n.value.throwOnError,[f,a.getCurrentQuery()]))throw f});const c=n.value.shallow?_e(u):Ge(u),O=Ne(c);for(const f in u)typeof u[f]=="function"&&(O[f]=u[f]);return O.suspense=y,O.refetch=w,O}function _s(s,t){return js(Ss,s)}function Gs(s,t){const e=rs(),i=Ke(()=>e.defaultMutationOptions(v(s))),n=new Ds(e,i.value),a=i.value.shallow?ke(n.getCurrentResult()):Le(n.getCurrentResult()),u=n.subscribe(y=>{fe(a,y)}),h=(y,c)=>{n.mutate(y,c).catch(()=>{})};Ot(i,()=>{n.setOptions(i.value)}),He(()=>{u()});const d=i.value.shallow?_e(a):Ge(a),w=Ne(d);return Ot(()=>a.error,y=>{if(y&&ee(i.value.throwOnError,[y]))throw y}),{...w,mutate:h,mutateAsync:a.mutate,reset:a.reset}}export{Hs as V,_s as a,Gs as b,rs as u};
1
+ var be=s=>{throw TypeError(s)};var Yt=(s,t,e)=>t.has(s)||be("Cannot "+e);var r=(s,t,e)=>(Yt(s,t,"read from private field"),e?e.call(s):t.get(s)),l=(s,t,e)=>t.has(s)?be("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(s):t.set(s,e),o=(s,t,e,i)=>(Yt(s,t,"write to private field"),i?i.call(s,e):t.set(s,e),e),p=(s,t,e)=>(Yt(s,t,"access private method"),e);var $t=(s,t,e,i)=>({set _(n){o(s,t,n,e)},get _(){return r(s,t,i)}});import{f as xe,h as ns,j as as,i as us,r as os,n as hs,k as Ke,s as ke,b as Le,w as Ot,l as He,p as _e,a as Ge,t as Ne}from"./@vue.Dh6viqaK.0.0.63-internal.2.js";var jt=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(s){return this.listeners.add(s),this.onSubscribe(),()=>{this.listeners.delete(s),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},vt=typeof window>"u"||"Deno"in globalThis;function H(){}function cs(s,t){return typeof s=="function"?s(t):s}function Xt(s){return typeof s=="number"&&s>=0&&s!==1/0}function $e(s,t){return Math.max(s+(t||0)-Date.now(),0)}function Ct(s,t){return typeof s=="function"?s(t):s}function N(s,t){return typeof s=="function"?s(t):s}function ge(s,t){const{type:e="all",exact:i,fetchStatus:n,predicate:a,queryKey:u,stale:h}=s;if(u){if(i){if(t.queryHash!==ye(u,t.options))return!1}else if(!Kt(t.queryKey,u))return!1}if(e!=="all"){const d=t.isActive();if(e==="active"&&!d||e==="inactive"&&d)return!1}return!(typeof h=="boolean"&&t.isStale()!==h||n&&n!==t.state.fetchStatus||a&&!a(t))}function Oe(s,t){const{exact:e,status:i,predicate:n,mutationKey:a}=s;if(a){if(!t.options.mutationKey)return!1;if(e){if(bt(t.options.mutationKey)!==bt(a))return!1}else if(!Kt(t.options.mutationKey,a))return!1}return!(i&&t.state.status!==i||n&&!n(t))}function ye(s,t){return((t==null?void 0:t.queryKeyHashFn)||bt)(s)}function bt(s){return JSON.stringify(s,(t,e)=>Zt(e)?Object.keys(e).sort().reduce((i,n)=>(i[n]=e[n],i),{}):e)}function Kt(s,t){return s===t?!0:typeof s!=typeof t?!1:s&&t&&typeof s=="object"&&typeof t=="object"?Object.keys(t).every(e=>Kt(s[e],t[e])):!1}function Be(s,t){if(s===t)return s;const e=Ce(s)&&Ce(t);if(e||Zt(s)&&Zt(t)){const i=e?s:Object.keys(s),n=i.length,a=e?t:Object.keys(t),u=a.length,h=e?[]:{};let d=0;for(let w=0;w<u;w++){const y=e?w:a[w];(!e&&i.includes(y)||e)&&s[y]===void 0&&t[y]===void 0?(h[y]=void 0,d++):(h[y]=Be(s[y],t[y]),h[y]===s[y]&&s[y]!==void 0&&d++)}return n===u&&d===n?s:h}return t}function zt(s,t){if(!t||Object.keys(s).length!==Object.keys(t).length)return!1;for(const e in s)if(s[e]!==t[e])return!1;return!0}function Ce(s){return Array.isArray(s)&&s.length===Object.keys(s).length}function Zt(s){if(!we(s))return!1;const t=s.constructor;if(t===void 0)return!0;const e=t.prototype;return!(!we(e)||!e.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(s)!==Object.prototype)}function we(s){return Object.prototype.toString.call(s)==="[object Object]"}function ls(s){return new Promise(t=>{setTimeout(t,s)})}function te(s,t,e){return typeof e.structuralSharing=="function"?e.structuralSharing(s,t):e.structuralSharing!==!1?Be(s,t):t}function fs(s,t,e=0){const i=[...s,t];return e&&i.length>e?i.slice(1):i}function ds(s,t,e=0){const i=[t,...s];return e&&i.length>e?i.slice(0,-1):i}var pe=Symbol();function Ve(s,t){return!s.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!s.queryFn||s.queryFn===pe?()=>Promise.reject(new Error(`Missing queryFn: '${s.queryHash}'`)):s.queryFn}function ee(s,t){return typeof s=="function"?s(...t):!!s}var ht,Z,wt,De,ys=(De=class extends jt{constructor(){super();l(this,ht);l(this,Z);l(this,wt);o(this,wt,t=>{if(!vt&&window.addEventListener){const e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}})}onSubscribe(){r(this,Z)||this.setEventListener(r(this,wt))}onUnsubscribe(){var t;this.hasListeners()||((t=r(this,Z))==null||t.call(this),o(this,Z,void 0))}setEventListener(t){var e;o(this,wt,t),(e=r(this,Z))==null||e.call(this),o(this,Z,t(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()}))}setFocused(t){r(this,ht)!==t&&(o(this,ht,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(e=>{e(t)})}isFocused(){var t;return typeof r(this,ht)=="boolean"?r(this,ht):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},ht=new WeakMap,Z=new WeakMap,wt=new WeakMap,De),me=new ys,Qt,tt,St,Fe,ps=(Fe=class extends jt{constructor(){super();l(this,Qt,!0);l(this,tt);l(this,St);o(this,St,t=>{if(!vt&&window.addEventListener){const e=()=>t(!0),i=()=>t(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",i)}}})}onSubscribe(){r(this,tt)||this.setEventListener(r(this,St))}onUnsubscribe(){var t;this.hasListeners()||((t=r(this,tt))==null||t.call(this),o(this,tt,void 0))}setEventListener(t){var e;o(this,St,t),(e=r(this,tt))==null||e.call(this),o(this,tt,t(this.setOnline.bind(this)))}setOnline(t){r(this,Qt)!==t&&(o(this,Qt,t),this.listeners.forEach(i=>{i(t)}))}isOnline(){return r(this,Qt)}},Qt=new WeakMap,tt=new WeakMap,St=new WeakMap,Fe),Wt=new ps;function se(){let s,t;const e=new Promise((n,a)=>{s=n,t=a});e.status="pending",e.catch(()=>{});function i(n){Object.assign(e,n),delete e.resolve,delete e.reject}return e.resolve=n=>{i({status:"fulfilled",value:n}),s(n)},e.reject=n=>{i({status:"rejected",reason:n}),t(n)},e}function ms(s){return Math.min(1e3*2**s,3e4)}function ze(s){return(s??"online")==="online"?Wt.isOnline():!0}var We=class extends Error{constructor(s){super("CancelledError"),this.revert=s==null?void 0:s.revert,this.silent=s==null?void 0:s.silent}};function Jt(s){return s instanceof We}function Ye(s){let t=!1,e=0,i=!1,n;const a=se(),u=m=>{var g;i||(O(new We(m)),(g=s.abort)==null||g.call(s))},h=()=>{t=!0},d=()=>{t=!1},w=()=>me.isFocused()&&(s.networkMode==="always"||Wt.isOnline())&&s.canRun(),y=()=>ze(s.networkMode)&&s.canRun(),c=m=>{var g;i||(i=!0,(g=s.onSuccess)==null||g.call(s,m),n==null||n(),a.resolve(m))},O=m=>{var g;i||(i=!0,(g=s.onError)==null||g.call(s,m),n==null||n(),a.reject(m))},f=()=>new Promise(m=>{var g;n=D=>{(i||w())&&m(D)},(g=s.onPause)==null||g.call(s)}).then(()=>{var m;n=void 0,i||(m=s.onContinue)==null||m.call(s)}),Q=()=>{if(i)return;let m;const g=e===0?s.initialPromise:void 0;try{m=g??s.fn()}catch(D){m=Promise.reject(D)}Promise.resolve(m).then(c).catch(D=>{var k;if(i)return;const F=s.retry??(vt?0:3),S=s.retryDelay??ms,M=typeof S=="function"?S(e,D):S,K=F===!0||typeof F=="number"&&e<F||typeof F=="function"&&F(e,D);if(t||!K){O(D);return}e++,(k=s.onFail)==null||k.call(s,e,D),ls(M).then(()=>w()?void 0:f()).then(()=>{t?O(D):Q()})})};return{promise:a,cancel:u,continue:()=>(n==null||n(),a),cancelRetry:h,continueRetry:d,canStart:y,start:()=>(y()?Q():f().then(Q),a)}}var vs=s=>setTimeout(s,0);function bs(){let s=[],t=0,e=h=>{h()},i=h=>{h()},n=vs;const a=h=>{t?s.push(h):n(()=>{e(h)})},u=()=>{const h=s;s=[],h.length&&n(()=>{i(()=>{h.forEach(d=>{e(d)})})})};return{batch:h=>{let d;t++;try{d=h()}finally{t--,t||u()}return d},batchCalls:h=>(...d)=>{a(()=>{h(...d)})},schedule:a,setNotifyFunction:h=>{e=h},setBatchNotifyFunction:h=>{i=h},setScheduler:h=>{n=h}}}var A=bs(),ct,Me,Je=(Me=class{constructor(){l(this,ct)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Xt(this.gcTime)&&o(this,ct,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(s){this.gcTime=Math.max(this.gcTime||0,s??(vt?1/0:5*60*1e3))}clearGcTimeout(){r(this,ct)&&(clearTimeout(r(this,ct)),o(this,ct,void 0))}},ct=new WeakMap,Me),Rt,Pt,L,lt,q,kt,ft,_,z,Ee,gs=(Ee=class extends Je{constructor(t){super();l(this,_);l(this,Rt);l(this,Pt);l(this,L);l(this,lt);l(this,q);l(this,kt);l(this,ft);o(this,ft,!1),o(this,kt,t.defaultOptions),this.setOptions(t.options),this.observers=[],o(this,lt,t.client),o(this,L,r(this,lt).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,o(this,Rt,Os(this.options)),this.state=t.state??r(this,Rt),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=r(this,q))==null?void 0:t.promise}setOptions(t){this.options={...r(this,kt),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&r(this,L).remove(this)}setData(t,e){const i=te(this.state.data,t,this.options);return p(this,_,z).call(this,{data:i,type:"success",dataUpdatedAt:e==null?void 0:e.updatedAt,manual:e==null?void 0:e.manual}),i}setState(t,e){p(this,_,z).call(this,{type:"setState",state:t,setStateOptions:e})}cancel(t){var i,n;const e=(i=r(this,q))==null?void 0:i.promise;return(n=r(this,q))==null||n.cancel(t),e?e.then(H).catch(H):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(r(this,Rt))}isActive(){return this.observers.some(t=>N(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===pe||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!$e(this.state.dataUpdatedAt,t)}onFocus(){var e;const t=this.observers.find(i=>i.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(e=r(this,q))==null||e.continue()}onOnline(){var e;const t=this.observers.find(i=>i.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(e=r(this,q))==null||e.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),r(this,L).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(e=>e!==t),this.observers.length||(r(this,q)&&(r(this,ft)?r(this,q).cancel({revert:!0}):r(this,q).cancelRetry()),this.scheduleGc()),r(this,L).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||p(this,_,z).call(this,{type:"invalidate"})}fetch(t,e){var d,w,y;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(e!=null&&e.cancelRefetch))this.cancel({silent:!0});else if(r(this,q))return r(this,q).continueRetry(),r(this,q).promise}if(t&&this.setOptions(t),!this.options.queryFn){const c=this.observers.find(O=>O.options.queryFn);c&&this.setOptions(c.options)}const i=new AbortController,n=c=>{Object.defineProperty(c,"signal",{enumerable:!0,get:()=>(o(this,ft,!0),i.signal)})},a=()=>{const c=Ve(this.options,e),O={client:r(this,lt),queryKey:this.queryKey,meta:this.meta};return n(O),o(this,ft,!1),this.options.persister?this.options.persister(c,O,this):c(O)},u={fetchOptions:e,options:this.options,queryKey:this.queryKey,client:r(this,lt),state:this.state,fetchFn:a};n(u),(d=this.options.behavior)==null||d.onFetch(u,this),o(this,Pt,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((w=u.fetchOptions)==null?void 0:w.meta))&&p(this,_,z).call(this,{type:"fetch",meta:(y=u.fetchOptions)==null?void 0:y.meta});const h=c=>{var O,f,Q,m;Jt(c)&&c.silent||p(this,_,z).call(this,{type:"error",error:c}),Jt(c)||((f=(O=r(this,L).config).onError)==null||f.call(O,c,this),(m=(Q=r(this,L).config).onSettled)==null||m.call(Q,this.state.data,c,this)),this.scheduleGc()};return o(this,q,Ye({initialPromise:e==null?void 0:e.initialPromise,fn:u.fetchFn,abort:i.abort.bind(i),onSuccess:c=>{var O,f,Q,m;if(c===void 0){h(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(c)}catch(g){h(g);return}(f=(O=r(this,L).config).onSuccess)==null||f.call(O,c,this),(m=(Q=r(this,L).config).onSettled)==null||m.call(Q,c,this.state.error,this),this.scheduleGc()},onError:h,onFail:(c,O)=>{p(this,_,z).call(this,{type:"failed",failureCount:c,error:O})},onPause:()=>{p(this,_,z).call(this,{type:"pause"})},onContinue:()=>{p(this,_,z).call(this,{type:"continue"})},retry:u.options.retry,retryDelay:u.options.retryDelay,networkMode:u.options.networkMode,canRun:()=>!0})),r(this,q).start()}},Rt=new WeakMap,Pt=new WeakMap,L=new WeakMap,lt=new WeakMap,q=new WeakMap,kt=new WeakMap,ft=new WeakMap,_=new WeakSet,z=function(t){const e=i=>{switch(t.type){case"failed":return{...i,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...i,fetchStatus:"paused"};case"continue":return{...i,fetchStatus:"fetching"};case"fetch":return{...i,...Xe(i.data,this.options),fetchMeta:t.meta??null};case"success":return{...i,data:t.data,dataUpdateCount:i.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const n=t.error;return Jt(n)&&n.revert&&r(this,Pt)?{...r(this,Pt),fetchStatus:"idle"}:{...i,error:n,errorUpdateCount:i.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:i.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:"idle",status:"error"};case"invalidate":return{...i,isInvalidated:!0};case"setState":return{...i,...t.state}}};this.state=e(this.state),A.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),r(this,L).notify({query:this,type:"updated",action:t})})},Ee);function Xe(s,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:ze(t.networkMode)?"fetching":"paused",...s===void 0&&{error:null,status:"pending"}}}function Os(s){const t=typeof s.initialData=="function"?s.initialData():s.initialData,e=t!==void 0,i=e?typeof s.initialDataUpdatedAt=="function"?s.initialDataUpdatedAt():s.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:e?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:e?"success":"pending",fetchStatus:"idle"}}var $,Ae,Ze=(Ae=class extends jt{constructor(e={}){super();l(this,$);this.config=e,o(this,$,new Map)}build(e,i,n){const a=i.queryKey,u=i.queryHash??ye(a,i);let h=this.get(u);return h||(h=new gs({client:e,queryKey:a,queryHash:u,options:e.defaultQueryOptions(i),state:n,defaultOptions:e.getQueryDefaults(a)}),this.add(h)),h}add(e){r(this,$).has(e.queryHash)||(r(this,$).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const i=r(this,$).get(e.queryHash);i&&(e.destroy(),i===e&&r(this,$).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){A.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return r(this,$).get(e)}getAll(){return[...r(this,$).values()]}find(e){const i={exact:!0,...e};return this.getAll().find(n=>ge(i,n))}findAll(e={}){const i=this.getAll();return Object.keys(e).length>0?i.filter(n=>ge(e,n)):i}notify(e){A.batch(()=>{this.listeners.forEach(i=>{i(e)})})}onFocus(){A.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){A.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},$=new WeakMap,Ae),B,I,dt,V,X,Ue,Cs=(Ue=class extends Je{constructor(t){super();l(this,V);l(this,B);l(this,I);l(this,dt);this.mutationId=t.mutationId,o(this,I,t.mutationCache),o(this,B,[]),this.state=t.state||ts(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){r(this,B).includes(t)||(r(this,B).push(t),this.clearGcTimeout(),r(this,I).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){o(this,B,r(this,B).filter(e=>e!==t)),this.scheduleGc(),r(this,I).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){r(this,B).length||(this.state.status==="pending"?this.scheduleGc():r(this,I).remove(this))}continue(){var t;return((t=r(this,dt))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var a,u,h,d,w,y,c,O,f,Q,m,g,D,F,S,M,K,k,Tt,U;const e=()=>{p(this,V,X).call(this,{type:"continue"})};o(this,dt,Ye({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(P,E)=>{p(this,V,X).call(this,{type:"failed",failureCount:P,error:E})},onPause:()=>{p(this,V,X).call(this,{type:"pause"})},onContinue:e,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>r(this,I).canRun(this)}));const i=this.state.status==="pending",n=!r(this,dt).canStart();try{if(i)e();else{p(this,V,X).call(this,{type:"pending",variables:t,isPaused:n}),await((u=(a=r(this,I).config).onMutate)==null?void 0:u.call(a,t,this));const E=await((d=(h=this.options).onMutate)==null?void 0:d.call(h,t));E!==this.state.context&&p(this,V,X).call(this,{type:"pending",context:E,variables:t,isPaused:n})}const P=await r(this,dt).start();return await((y=(w=r(this,I).config).onSuccess)==null?void 0:y.call(w,P,t,this.state.context,this)),await((O=(c=this.options).onSuccess)==null?void 0:O.call(c,P,t,this.state.context)),await((Q=(f=r(this,I).config).onSettled)==null?void 0:Q.call(f,P,null,this.state.variables,this.state.context,this)),await((g=(m=this.options).onSettled)==null?void 0:g.call(m,P,null,t,this.state.context)),p(this,V,X).call(this,{type:"success",data:P}),P}catch(P){try{throw await((F=(D=r(this,I).config).onError)==null?void 0:F.call(D,P,t,this.state.context,this)),await((M=(S=this.options).onError)==null?void 0:M.call(S,P,t,this.state.context)),await((k=(K=r(this,I).config).onSettled)==null?void 0:k.call(K,void 0,P,this.state.variables,this.state.context,this)),await((U=(Tt=this.options).onSettled)==null?void 0:U.call(Tt,void 0,P,t,this.state.context)),P}finally{p(this,V,X).call(this,{type:"error",error:P})}}finally{r(this,I).runNext(this)}}},B=new WeakMap,I=new WeakMap,dt=new WeakMap,V=new WeakSet,X=function(t){const e=i=>{switch(t.type){case"failed":return{...i,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...i,isPaused:!0};case"continue":return{...i,isPaused:!1};case"pending":return{...i,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...i,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...i,data:void 0,error:t.error,failureCount:i.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=e(this.state),A.batch(()=>{r(this,B).forEach(i=>{i.onMutationUpdate(t)}),r(this,I).notify({mutation:this,type:"updated",action:t})})},Ue);function ts(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var W,G,Lt,qe,es=(qe=class extends jt{constructor(e={}){super();l(this,W);l(this,G);l(this,Lt);this.config=e,o(this,W,new Set),o(this,G,new Map),o(this,Lt,0)}build(e,i,n){const a=new Cs({mutationCache:this,mutationId:++$t(this,Lt)._,options:e.defaultMutationOptions(i),state:n});return this.add(a),a}add(e){r(this,W).add(e);const i=Bt(e);if(typeof i=="string"){const n=r(this,G).get(i);n?n.push(e):r(this,G).set(i,[e])}this.notify({type:"added",mutation:e})}remove(e){if(r(this,W).delete(e)){const i=Bt(e);if(typeof i=="string"){const n=r(this,G).get(i);if(n)if(n.length>1){const a=n.indexOf(e);a!==-1&&n.splice(a,1)}else n[0]===e&&r(this,G).delete(i)}}this.notify({type:"removed",mutation:e})}canRun(e){const i=Bt(e);if(typeof i=="string"){const n=r(this,G).get(i),a=n==null?void 0:n.find(u=>u.state.status==="pending");return!a||a===e}else return!0}runNext(e){var n;const i=Bt(e);if(typeof i=="string"){const a=(n=r(this,G).get(i))==null?void 0:n.find(u=>u!==e&&u.state.isPaused);return(a==null?void 0:a.continue())??Promise.resolve()}else return Promise.resolve()}clear(){A.batch(()=>{r(this,W).forEach(e=>{this.notify({type:"removed",mutation:e})}),r(this,W).clear(),r(this,G).clear()})}getAll(){return Array.from(r(this,W))}find(e){const i={exact:!0,...e};return this.getAll().find(n=>Oe(i,n))}findAll(e={}){return this.getAll().filter(i=>Oe(e,i))}notify(e){A.batch(()=>{this.listeners.forEach(i=>{i(e)})})}resumePausedMutations(){const e=this.getAll().filter(i=>i.state.isPaused);return A.batch(()=>Promise.all(e.map(i=>i.continue().catch(H))))}},W=new WeakMap,G=new WeakMap,Lt=new WeakMap,qe);function Bt(s){var t;return(t=s.options.scope)==null?void 0:t.id}function Qe(s){return{onFetch:(t,e)=>{var y,c,O,f,Q;const i=t.options,n=(O=(c=(y=t.fetchOptions)==null?void 0:y.meta)==null?void 0:c.fetchMore)==null?void 0:O.direction,a=((f=t.state.data)==null?void 0:f.pages)||[],u=((Q=t.state.data)==null?void 0:Q.pageParams)||[];let h={pages:[],pageParams:[]},d=0;const w=async()=>{let m=!1;const g=S=>{Object.defineProperty(S,"signal",{enumerable:!0,get:()=>(t.signal.aborted?m=!0:t.signal.addEventListener("abort",()=>{m=!0}),t.signal)})},D=Ve(t.options,t.fetchOptions),F=async(S,M,K)=>{if(m)return Promise.reject();if(M==null&&S.pages.length)return Promise.resolve(S);const k={client:t.client,queryKey:t.queryKey,pageParam:M,direction:K?"backward":"forward",meta:t.options.meta};g(k);const Tt=await D(k),{maxPages:U}=t.options,P=K?ds:fs;return{pages:P(S.pages,Tt,U),pageParams:P(S.pageParams,M,U)}};if(n&&a.length){const S=n==="backward",M=S?ws:Se,K={pages:a,pageParams:u},k=M(i,K);h=await F(K,k,S)}else{const S=s??a.length;do{const M=d===0?u[0]??i.initialPageParam:Se(i,h);if(d>0&&M==null)break;h=await F(h,M),d++}while(d<S)}return h};t.options.persister?t.fetchFn=()=>{var m,g;return(g=(m=t.options).persister)==null?void 0:g.call(m,w,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},e)}:t.fetchFn=w}}}function Se(s,{pages:t,pageParams:e}){const i=t.length-1;return t.length>0?s.getNextPageParam(t[i],t,e[i],e):void 0}function ws(s,{pages:t,pageParams:e}){var i;return t.length>0?(i=s.getPreviousPageParam)==null?void 0:i.call(s,t[0],t,e[0],e):void 0}var R,et,st,Dt,Ft,it,Mt,Et,Ie,Qs=(Ie=class{constructor(t={}){l(this,R);l(this,et);l(this,st);l(this,Dt);l(this,Ft);l(this,it);l(this,Mt);l(this,Et);o(this,R,t.queryCache||new Ze),o(this,et,t.mutationCache||new es),o(this,st,t.defaultOptions||{}),o(this,Dt,new Map),o(this,Ft,new Map),o(this,it,0)}mount(){$t(this,it)._++,r(this,it)===1&&(o(this,Mt,me.subscribe(async t=>{t&&(await this.resumePausedMutations(),r(this,R).onFocus())})),o(this,Et,Wt.subscribe(async t=>{t&&(await this.resumePausedMutations(),r(this,R).onOnline())})))}unmount(){var t,e;$t(this,it)._--,r(this,it)===0&&((t=r(this,Mt))==null||t.call(this),o(this,Mt,void 0),(e=r(this,Et))==null||e.call(this),o(this,Et,void 0))}isFetching(t){return r(this,R).findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return r(this,et).findAll({...t,status:"pending"}).length}getQueryData(t){var i;const e=this.defaultQueryOptions({queryKey:t});return(i=r(this,R).get(e.queryHash))==null?void 0:i.state.data}ensureQueryData(t){const e=this.defaultQueryOptions(t),i=r(this,R).build(this,e),n=i.state.data;return n===void 0?this.fetchQuery(t):(t.revalidateIfStale&&i.isStaleByTime(Ct(e.staleTime,i))&&this.prefetchQuery(e),Promise.resolve(n))}getQueriesData(t){return r(this,R).findAll(t).map(({queryKey:e,state:i})=>{const n=i.data;return[e,n]})}setQueryData(t,e,i){const n=this.defaultQueryOptions({queryKey:t}),a=r(this,R).get(n.queryHash),u=a==null?void 0:a.state.data,h=cs(e,u);if(h!==void 0)return r(this,R).build(this,n).setData(h,{...i,manual:!0})}setQueriesData(t,e,i){return A.batch(()=>r(this,R).findAll(t).map(({queryKey:n})=>[n,this.setQueryData(n,e,i)]))}getQueryState(t){var i;const e=this.defaultQueryOptions({queryKey:t});return(i=r(this,R).get(e.queryHash))==null?void 0:i.state}removeQueries(t){const e=r(this,R);A.batch(()=>{e.findAll(t).forEach(i=>{e.remove(i)})})}resetQueries(t,e){const i=r(this,R);return A.batch(()=>(i.findAll(t).forEach(n=>{n.reset()}),this.refetchQueries({type:"active",...t},e)))}cancelQueries(t,e={}){const i={revert:!0,...e},n=A.batch(()=>r(this,R).findAll(t).map(a=>a.cancel(i)));return Promise.all(n).then(H).catch(H)}invalidateQueries(t,e={}){return A.batch(()=>(r(this,R).findAll(t).forEach(i=>{i.invalidate()}),(t==null?void 0:t.refetchType)==="none"?Promise.resolve():this.refetchQueries({...t,type:(t==null?void 0:t.refetchType)??(t==null?void 0:t.type)??"active"},e)))}refetchQueries(t,e={}){const i={...e,cancelRefetch:e.cancelRefetch??!0},n=A.batch(()=>r(this,R).findAll(t).filter(a=>!a.isDisabled()).map(a=>{let u=a.fetch(void 0,i);return i.throwOnError||(u=u.catch(H)),a.state.fetchStatus==="paused"?Promise.resolve():u}));return Promise.all(n).then(H)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const i=r(this,R).build(this,e);return i.isStaleByTime(Ct(e.staleTime,i))?i.fetch(e):Promise.resolve(i.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(H).catch(H)}fetchInfiniteQuery(t){return t.behavior=Qe(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(H).catch(H)}ensureInfiniteQueryData(t){return t.behavior=Qe(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return Wt.isOnline()?r(this,et).resumePausedMutations():Promise.resolve()}getQueryCache(){return r(this,R)}getMutationCache(){return r(this,et)}getDefaultOptions(){return r(this,st)}setDefaultOptions(t){o(this,st,t)}setQueryDefaults(t,e){r(this,Dt).set(bt(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...r(this,Dt).values()],i={};return e.forEach(n=>{Kt(t,n.queryKey)&&Object.assign(i,n.defaultOptions)}),i}setMutationDefaults(t,e){r(this,Ft).set(bt(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...r(this,Ft).values()],i={};return e.forEach(n=>{Kt(t,n.mutationKey)&&Object.assign(i,n.defaultOptions)}),i}defaultQueryOptions(t){if(t._defaulted)return t;const e={...r(this,st).queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=ye(e.queryKey,e)),e.refetchOnReconnect===void 0&&(e.refetchOnReconnect=e.networkMode!=="always"),e.throwOnError===void 0&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.queryFn===pe&&(e.enabled=!1),e}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...r(this,st).mutations,...(t==null?void 0:t.mutationKey)&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){r(this,R).clear(),r(this,et).clear()}},R=new WeakMap,et=new WeakMap,st=new WeakMap,Dt=new WeakMap,Ft=new WeakMap,it=new WeakMap,Mt=new WeakMap,Et=new WeakMap,Ie),T,b,Ht,j,yt,At,rt,nt,_t,Ut,qt,pt,mt,at,It,C,xt,ie,re,ne,ae,ue,oe,he,ss,je,Ss=(je=class extends jt{constructor(t,e){super();l(this,C);l(this,T);l(this,b);l(this,Ht);l(this,j);l(this,yt);l(this,At);l(this,rt);l(this,nt);l(this,_t);l(this,Ut);l(this,qt);l(this,pt);l(this,mt);l(this,at);l(this,It,new Set);this.options=e,o(this,T,t),o(this,nt,null),o(this,rt,se()),this.options.experimental_prefetchInRender||r(this,rt).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(e)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(r(this,b).addObserver(this),Re(r(this,b),this.options)?p(this,C,xt).call(this):this.updateResult(),p(this,C,ae).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return ce(r(this,b),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ce(r(this,b),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,p(this,C,ue).call(this),p(this,C,oe).call(this),r(this,b).removeObserver(this)}setOptions(t){const e=this.options,i=r(this,b);if(this.options=r(this,T).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof N(this.options.enabled,r(this,b))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");p(this,C,he).call(this),r(this,b).setOptions(this.options),e._defaulted&&!zt(this.options,e)&&r(this,T).getQueryCache().notify({type:"observerOptionsUpdated",query:r(this,b),observer:this});const n=this.hasListeners();n&&Pe(r(this,b),i,this.options,e)&&p(this,C,xt).call(this),this.updateResult(),n&&(r(this,b)!==i||N(this.options.enabled,r(this,b))!==N(e.enabled,r(this,b))||Ct(this.options.staleTime,r(this,b))!==Ct(e.staleTime,r(this,b)))&&p(this,C,ie).call(this);const a=p(this,C,re).call(this);n&&(r(this,b)!==i||N(this.options.enabled,r(this,b))!==N(e.enabled,r(this,b))||a!==r(this,at))&&p(this,C,ne).call(this,a)}getOptimisticResult(t){const e=r(this,T).getQueryCache().build(r(this,T),t),i=this.createResult(e,t);return Ps(this,i)&&(o(this,j,i),o(this,At,this.options),o(this,yt,r(this,b).state)),i}getCurrentResult(){return r(this,j)}trackResult(t,e){return new Proxy(t,{get:(i,n)=>(this.trackProp(n),e==null||e(n),Reflect.get(i,n))})}trackProp(t){r(this,It).add(t)}getCurrentQuery(){return r(this,b)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const e=r(this,T).defaultQueryOptions(t),i=r(this,T).getQueryCache().build(r(this,T),e);return i.fetch().then(()=>this.createResult(i,e))}fetch(t){return p(this,C,xt).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),r(this,j)))}createResult(t,e){var P;const i=r(this,b),n=this.options,a=r(this,j),u=r(this,yt),h=r(this,At),w=t!==i?t.state:r(this,Ht),{state:y}=t;let c={...y},O=!1,f;if(e._optimisticResults){const E=this.hasListeners(),Gt=!E&&Re(t,e),gt=E&&Pe(t,i,e,n);(Gt||gt)&&(c={...c,...Xe(y.data,t.options)}),e._optimisticResults==="isRestoring"&&(c.fetchStatus="idle")}let{error:Q,errorUpdatedAt:m,status:g}=c;f=c.data;let D=!1;if(e.placeholderData!==void 0&&f===void 0&&g==="pending"){let E;a!=null&&a.isPlaceholderData&&e.placeholderData===(h==null?void 0:h.placeholderData)?(E=a.data,D=!0):E=typeof e.placeholderData=="function"?e.placeholderData((P=r(this,qt))==null?void 0:P.state.data,r(this,qt)):e.placeholderData,E!==void 0&&(g="success",f=te(a==null?void 0:a.data,E,e),O=!0)}if(e.select&&f!==void 0&&!D)if(a&&f===(u==null?void 0:u.data)&&e.select===r(this,_t))f=r(this,Ut);else try{o(this,_t,e.select),f=e.select(f),f=te(a==null?void 0:a.data,f,e),o(this,Ut,f),o(this,nt,null)}catch(E){o(this,nt,E)}r(this,nt)&&(Q=r(this,nt),f=r(this,Ut),m=Date.now(),g="error");const F=c.fetchStatus==="fetching",S=g==="pending",M=g==="error",K=S&&F,k=f!==void 0,U={status:g,fetchStatus:c.fetchStatus,isPending:S,isSuccess:g==="success",isError:M,isInitialLoading:K,isLoading:K,data:f,dataUpdatedAt:c.dataUpdatedAt,error:Q,errorUpdatedAt:m,failureCount:c.fetchFailureCount,failureReason:c.fetchFailureReason,errorUpdateCount:c.errorUpdateCount,isFetched:c.dataUpdateCount>0||c.errorUpdateCount>0,isFetchedAfterMount:c.dataUpdateCount>w.dataUpdateCount||c.errorUpdateCount>w.errorUpdateCount,isFetching:F,isRefetching:F&&!S,isLoadingError:M&&!k,isPaused:c.fetchStatus==="paused",isPlaceholderData:O,isRefetchError:M&&k,isStale:ve(t,e),refetch:this.refetch,promise:r(this,rt)};if(this.options.experimental_prefetchInRender){const E=Nt=>{U.status==="error"?Nt.reject(U.error):U.data!==void 0&&Nt.resolve(U.data)},Gt=()=>{const Nt=o(this,rt,U.promise=se());E(Nt)},gt=r(this,rt);switch(gt.status){case"pending":t.queryHash===i.queryHash&&E(gt);break;case"fulfilled":(U.status==="error"||U.data!==gt.value)&&Gt();break;case"rejected":(U.status!=="error"||U.error!==gt.reason)&&Gt();break}}return U}updateResult(){const t=r(this,j),e=this.createResult(r(this,b),this.options);if(o(this,yt,r(this,b).state),o(this,At,this.options),r(this,yt).data!==void 0&&o(this,qt,r(this,b)),zt(e,t))return;o(this,j,e);const i=()=>{if(!t)return!0;const{notifyOnChangeProps:n}=this.options,a=typeof n=="function"?n():n;if(a==="all"||!a&&!r(this,It).size)return!0;const u=new Set(a??r(this,It));return this.options.throwOnError&&u.add("error"),Object.keys(r(this,j)).some(h=>{const d=h;return r(this,j)[d]!==t[d]&&u.has(d)})};p(this,C,ss).call(this,{listeners:i()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&p(this,C,ae).call(this)}},T=new WeakMap,b=new WeakMap,Ht=new WeakMap,j=new WeakMap,yt=new WeakMap,At=new WeakMap,rt=new WeakMap,nt=new WeakMap,_t=new WeakMap,Ut=new WeakMap,qt=new WeakMap,pt=new WeakMap,mt=new WeakMap,at=new WeakMap,It=new WeakMap,C=new WeakSet,xt=function(t){p(this,C,he).call(this);let e=r(this,b).fetch(this.options,t);return t!=null&&t.throwOnError||(e=e.catch(H)),e},ie=function(){p(this,C,ue).call(this);const t=Ct(this.options.staleTime,r(this,b));if(vt||r(this,j).isStale||!Xt(t))return;const i=$e(r(this,j).dataUpdatedAt,t)+1;o(this,pt,setTimeout(()=>{r(this,j).isStale||this.updateResult()},i))},re=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(r(this,b)):this.options.refetchInterval)??!1},ne=function(t){p(this,C,oe).call(this),o(this,at,t),!(vt||N(this.options.enabled,r(this,b))===!1||!Xt(r(this,at))||r(this,at)===0)&&o(this,mt,setInterval(()=>{(this.options.refetchIntervalInBackground||me.isFocused())&&p(this,C,xt).call(this)},r(this,at)))},ae=function(){p(this,C,ie).call(this),p(this,C,ne).call(this,p(this,C,re).call(this))},ue=function(){r(this,pt)&&(clearTimeout(r(this,pt)),o(this,pt,void 0))},oe=function(){r(this,mt)&&(clearInterval(r(this,mt)),o(this,mt,void 0))},he=function(){const t=r(this,T).getQueryCache().build(r(this,T),this.options);if(t===r(this,b))return;const e=r(this,b);o(this,b,t),o(this,Ht,t.state),this.hasListeners()&&(e==null||e.removeObserver(this),t.addObserver(this))},ss=function(t){A.batch(()=>{t.listeners&&this.listeners.forEach(e=>{e(r(this,j))}),r(this,T).getQueryCache().notify({query:r(this,b),type:"observerResultsUpdated"})})},je);function Rs(s,t){return N(t.enabled,s)!==!1&&s.state.data===void 0&&!(s.state.status==="error"&&t.retryOnMount===!1)}function Re(s,t){return Rs(s,t)||s.state.data!==void 0&&ce(s,t,t.refetchOnMount)}function ce(s,t,e){if(N(t.enabled,s)!==!1){const i=typeof e=="function"?e(s):e;return i==="always"||i!==!1&&ve(s,t)}return!1}function Pe(s,t,e,i){return(s!==t||N(i.enabled,s)===!1)&&(!e.suspense||s.state.status!=="error")&&ve(s,e)}function ve(s,t){return N(t.enabled,s)!==!1&&s.isStaleByTime(Ct(t.staleTime,s))}function Ps(s,t){return!zt(s.getCurrentResult(),t)}var ut,ot,x,Y,J,Vt,le,Te,Ds=(Te=class extends jt{constructor(t,e){super();l(this,J);l(this,ut);l(this,ot);l(this,x);l(this,Y);o(this,ut,t),this.setOptions(e),this.bindMethods(),p(this,J,Vt).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){var i;const e=this.options;this.options=r(this,ut).defaultMutationOptions(t),zt(this.options,e)||r(this,ut).getMutationCache().notify({type:"observerOptionsUpdated",mutation:r(this,x),observer:this}),e!=null&&e.mutationKey&&this.options.mutationKey&&bt(e.mutationKey)!==bt(this.options.mutationKey)?this.reset():((i=r(this,x))==null?void 0:i.state.status)==="pending"&&r(this,x).setOptions(this.options)}onUnsubscribe(){var t;this.hasListeners()||(t=r(this,x))==null||t.removeObserver(this)}onMutationUpdate(t){p(this,J,Vt).call(this),p(this,J,le).call(this,t)}getCurrentResult(){return r(this,ot)}reset(){var t;(t=r(this,x))==null||t.removeObserver(this),o(this,x,void 0),p(this,J,Vt).call(this),p(this,J,le).call(this)}mutate(t,e){var i;return o(this,Y,e),(i=r(this,x))==null||i.removeObserver(this),o(this,x,r(this,ut).getMutationCache().build(r(this,ut),this.options)),r(this,x).addObserver(this),r(this,x).execute(t)}},ut=new WeakMap,ot=new WeakMap,x=new WeakMap,Y=new WeakMap,J=new WeakSet,Vt=function(){var e;const t=((e=r(this,x))==null?void 0:e.state)??ts();o(this,ot,{...t,isPending:t.status==="pending",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset})},le=function(t){A.batch(()=>{var e,i,n,a,u,h,d,w;if(r(this,Y)&&this.hasListeners()){const y=r(this,ot).variables,c=r(this,ot).context;(t==null?void 0:t.type)==="success"?((i=(e=r(this,Y)).onSuccess)==null||i.call(e,t.data,y,c),(a=(n=r(this,Y)).onSettled)==null||a.call(n,t.data,null,y,c)):(t==null?void 0:t.type)==="error"&&((h=(u=r(this,Y)).onError)==null||h.call(u,t.error,y,c),(w=(d=r(this,Y)).onSettled)==null||w.call(d,void 0,t.error,y,c))}this.listeners.forEach(y=>{y(r(this,ot))})})},Te),Fs="VUE_QUERY_CLIENT";function is(s){const t=s?`:${s}`:"";return`${Fs}${t}`}function fe(s,t){Object.keys(s).forEach(e=>{s[e]=t[e]})}function de(s,t,e="",i=0){if(t){const n=t(s,e,i);if(n===void 0&&xe(s)||n!==void 0)return n}if(Array.isArray(s))return s.map((n,a)=>de(n,t,String(a),i+1));if(typeof s=="object"&&Es(s)){const n=Object.entries(s).map(([a,u])=>[a,de(u,t,a,i+1)]);return Object.fromEntries(n)}return s}function Ms(s,t){return de(s,t)}function v(s,t=!1){return Ms(s,(e,i,n)=>{if(n===1&&i==="queryKey")return v(e,!0);if(t&&As(e))return v(e(),t);if(xe(e))return v(ns(e),t)})}function Es(s){if(Object.prototype.toString.call(s)!=="[object Object]")return!1;const t=Object.getPrototypeOf(s);return t===null||t===Object.prototype}function As(s){return typeof s=="function"}function rs(s=""){if(!as())throw new Error("vue-query hooks can only be used inside setup() function or functions that support injection context.");const t=is(s),e=us(t);if(!e)throw new Error("No 'queryClient' found in Vue context, use 'VueQueryPlugin' to properly initialize the library.");return e}var Us=class extends Ze{find(s){return super.find(v(s))}findAll(s={}){return super.findAll(v(s))}},qs=class extends es{find(s){return super.find(v(s))}findAll(s={}){return super.findAll(v(s))}},Is=class extends Qs{constructor(s={}){const t={defaultOptions:s.defaultOptions,queryCache:s.queryCache||new Us,mutationCache:s.mutationCache||new qs};super(t),this.isRestoring=os(!1)}isFetching(s={}){return super.isFetching(v(s))}isMutating(s={}){return super.isMutating(v(s))}getQueryData(s){return super.getQueryData(v(s))}ensureQueryData(s){return super.ensureQueryData(v(s))}getQueriesData(s){return super.getQueriesData(v(s))}setQueryData(s,t,e={}){return super.setQueryData(v(s),t,v(e))}setQueriesData(s,t,e={}){return super.setQueriesData(v(s),t,v(e))}getQueryState(s){return super.getQueryState(v(s))}removeQueries(s={}){return super.removeQueries(v(s))}resetQueries(s={},t={}){return super.resetQueries(v(s),v(t))}cancelQueries(s={},t={}){return super.cancelQueries(v(s),v(t))}invalidateQueries(s={},t={}){const e=v(s),i=v(t);if(super.invalidateQueries({...e,refetchType:"none"},i),e.refetchType==="none")return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return hs().then(()=>super.refetchQueries(n,i))}refetchQueries(s={},t={}){return super.refetchQueries(v(s),v(t))}fetchQuery(s){return super.fetchQuery(v(s))}prefetchQuery(s){return super.prefetchQuery(v(s))}fetchInfiniteQuery(s){return super.fetchInfiniteQuery(v(s))}prefetchInfiniteQuery(s){return super.prefetchInfiniteQuery(v(s))}setDefaultOptions(s){super.setDefaultOptions(v(s))}setQueryDefaults(s,t){super.setQueryDefaults(v(s),v(t))}getQueryDefaults(s){return super.getQueryDefaults(v(s))}setMutationDefaults(s,t){super.setMutationDefaults(v(s),v(t))}getMutationDefaults(s){return super.getMutationDefaults(v(s))}},Hs={install:(s,t={})=>{const e=is(t.queryClientKey);let i;if("queryClient"in t&&t.queryClient)i=t.queryClient;else{const u="queryClientConfig"in t?t.queryClientConfig:void 0;i=new Is(u)}vt||i.mount();let n=()=>{};if(t.clientPersister){i.isRestoring.value=!0;const[u,h]=t.clientPersister(i);n=u,h.then(()=>{var d;i.isRestoring.value=!1,(d=t.clientPersisterOnSuccess)==null||d.call(t,i)})}const a=()=>{i.unmount(),n()};if(s.onUnmount)s.onUnmount(a);else{const u=s.unmount;s.unmount=function(){a(),u()}}s.provide(e,i)}};function js(s,t,e){const i=rs(),n=Ke(()=>{const f=v(t);typeof f.enabled=="function"&&(f.enabled=f.enabled());const Q=i.defaultQueryOptions(f);return Q._optimisticResults=i.isRestoring.value?"isRestoring":"optimistic",Q}),a=new s(i,n.value),u=n.value.shallow?ke(a.getCurrentResult()):Le(a.getCurrentResult());let h=()=>{};Ot(i.isRestoring,f=>{f||(h(),h=a.subscribe(Q=>{fe(u,Q)}))},{immediate:!0});const d=()=>{a.setOptions(n.value),fe(u,a.getCurrentResult())};Ot(n,d),He(()=>{h()});const w=(...f)=>(d(),u.refetch(...f)),y=()=>new Promise((f,Q)=>{let m=()=>{};const g=()=>{if(n.value.enabled!==!1){a.setOptions(n.value);const D=a.getOptimisticResult(n.value);D.isStale?(m(),a.fetchOptimistic(n.value).then(f,F=>{ee(n.value.throwOnError,[F,a.getCurrentQuery()])?Q(F):f(a.getCurrentResult())})):(m(),f(D))}};g(),m=Ot(n,g)});Ot(()=>u.error,f=>{if(u.isError&&!u.isFetching&&ee(n.value.throwOnError,[f,a.getCurrentQuery()]))throw f});const c=n.value.shallow?_e(u):Ge(u),O=Ne(c);for(const f in u)typeof u[f]=="function"&&(O[f]=u[f]);return O.suspense=y,O.refetch=w,O}function _s(s,t){return js(Ss,s)}function Gs(s,t){const e=rs(),i=Ke(()=>e.defaultMutationOptions(v(s))),n=new Ds(e,i.value),a=i.value.shallow?ke(n.getCurrentResult()):Le(n.getCurrentResult()),u=n.subscribe(y=>{fe(a,y)}),h=(y,c)=>{n.mutate(y,c).catch(()=>{})};Ot(i,()=>{n.setOptions(i.value)}),He(()=>{u()});const d=i.value.shallow?_e(a):Ge(a),w=Ne(d);return Ot(()=>a.error,y=>{if(y&&ee(i.value.throwOnError,[y]))throw y}),{...w,mutate:h,mutateAsync:a.mutate,reset:a.reset}}export{Hs as V,_s as a,Gs as b,rs as u};
@@ -1,4 +1,4 @@
1
- import{Z as s,a as h,b as a}from"./zod.sy4ilHCy.0.0.63-internal.0.js";import{i as j,c as y}from"./vee-validate.C-8MGG76.0.0.63-internal.0.js";/**
1
+ import{Z as s,a as h,b as a}from"./zod.sy4ilHCy.0.0.63-internal.2.js";import{i as j,c as y}from"./vee-validate.BD_HTi0Z.0.0.63-internal.2.js";/**
2
2
  * vee-validate v4.15.0
3
3
  * (c) 2024 Abdelrahman Awad
4
4
  * @license MIT
@@ -1 +1 @@
1
- import{n as De,a as q,w as z,q as Ve,r as Q,v as ke,x as Be,y as E,f as le,p as Fe,z as Re,l as Xe,A as x,k as T,g as re,j as Pe,i as qe,o as de,b as G,B as we,C as ee,h as Ae,D as Ue}from"./@vue.Dh6viqaK.0.0.63-internal.0.js";import{n as N}from"./nprogress.ig2CXOoL.0.0.63-internal.0.js";function L(e){return Re()?(Xe(e),!0):!1}const ie=new WeakMap,Ge=(...e)=>{var n;const t=e[0],l=(n=re())==null?void 0:n.proxy;if(l==null&&!Pe())throw new Error("injectLocal must be called in setup");return l&&ie.has(l)&&t in ie.get(l)?ie.get(l)[t]:qe(...e)};function $t(e){let n=0,t,l;const i=()=>{n-=1,l&&n<=0&&(l.stop(),t=void 0,l=void 0)};return(...s)=>(n+=1,l||(l=Be(!0),t=l.run(()=>e(...s))),L(i),t)}function Ze(e,n,{enumerable:t=!1,unwrap:l=!0}={}){for(const[i,s]of Object.entries(n))i!=="value"&&(le(s)&&l?Object.defineProperty(e,i,{get(){return s.value},set(a){s.value=a},enumerable:t}):Object.defineProperty(e,i,{value:s,enumerable:t}));return e}function Je(e,n){if(typeof Symbol<"u"){const t={...e};return Object.defineProperty(t,Symbol.iterator,{enumerable:!1,value(){let l=0;return{next:()=>({value:n[l++],done:l>n.length})}}}),t}else return Object.assign([...n],e)}const $=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ve=e=>e!=null,Ke=Object.prototype.toString,Ce=e=>Ke.call(e)==="[object Object]",ge=()=>+Date.now(),A=()=>{},fe=Qe();function Qe(){var e,n;return $&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((n=window==null?void 0:window.navigator)==null?void 0:n.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function se(...e){if(e.length!==1)return Ve(...e);const n=e[0];return typeof n=="function"?q(ke(()=>({get:n,set:A}))):Q(n)}function ue(e,n){function t(...l){return new Promise((i,s)=>{Promise.resolve(e(()=>n.apply(this,l),{fn:n,thisArg:this,args:l})).then(i).catch(s)})}return t}const We=e=>e();function et(e,n={}){let t,l,i=A;const s=r=>{clearTimeout(r),i(),i=A};let a;return r=>{const u=x(e),c=x(n.maxWait);return t&&s(t),u<=0||c!==void 0&&c<=0?(l&&(s(l),l=null),Promise.resolve(r())):new Promise((v,f)=>{i=n.rejectOnCancel?f:v,a=r,c&&!l&&(l=setTimeout(()=>{t&&s(t),l=null,v(a())},c)),t=setTimeout(()=>{l&&s(l),l=null,v(r())},u)})}}function Le(...e){let n=0,t,l=!0,i=A,s,a,o,r,u;!le(e[0])&&typeof e[0]=="object"?{delay:a,trailing:o=!0,leading:r=!0,rejectOnCancel:u=!1}=e[0]:[a,o=!0,r=!0,u=!1]=e;const c=()=>{t&&(clearTimeout(t),t=void 0,i(),i=A)};return f=>{const p=x(a),h=Date.now()-n,y=()=>s=f();return c(),p<=0?(n=Date.now(),y()):(h>p&&(r||!l)?(n=Date.now(),y()):o&&(s=new Promise((w,m)=>{i=u?m:w,t=setTimeout(()=>{n=Date.now(),l=!0,w(y()),c()},Math.max(0,p-h))})),!r&&!t&&(t=setTimeout(()=>l=!0,p)),l=!1,s)}}function tt(e=We,n={}){const{initialState:t="active"}=n,l=se(t==="active");function i(){l.value=!1}function s(){l.value=!0}const a=(...o)=>{l.value&&e(...o)};return{isActive:q(l),pause:i,resume:s,eventFilter:a}}function nt(e){let n;function t(){return n||(n=e()),n}return t.reset=async()=>{const l=n;n=void 0,l&&await l},t}function ye(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function Y(e){return Array.isArray(e)?e:[e]}function ot(e){const n=Object.create(null);return t=>n[t]||(n[t]=e(t))}const lt=/-(\w)/g,rt=ot(e=>e.replace(lt,(n,t)=>t?t.toUpperCase():""));function st(e){return re()}function ut(e,n=200,t={}){return ue(et(n,t),e)}function it(e,n=200,t=!1,l=!0,i=!1){return ue(Le(n,t,l,i),e)}function jt(e,n={}){let t=e,l,i;const s=ke((f,p)=>(l=f,i=p,{get(){return a()},set(h){o(h)}}));function a(f=!0){return f&&l(),t}function o(f,p=!0){var h,y;if(f===t)return;const w=t;((h=n.onBeforeChange)==null?void 0:h.call(n,f,w))!==!1&&(t=f,(y=n.onChanged)==null||y.call(n,f,w),p&&i())}return Ze(s,{get:a,set:o,untrackedGet:()=>a(!1),silentSet:f=>o(f,!1),peek:()=>a(!1),lay:f=>o(f,!1)},{enumerable:!0})}function at(e,n,t={}){const{eventFilter:l=We,...i}=t;return z(e,ue(l,n),i)}function ct(e,n,t={}){const{eventFilter:l,initialState:i="active",...s}=t,{eventFilter:a,pause:o,resume:r,isActive:u}=tt(l,{initialState:i});return{stop:at(e,n,{...s,eventFilter:a}),pause:o,resume:r,isActive:u}}function Z(e,n=!0,t){st()?de(e,t):n?e():De(e)}const ft=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[T\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/i,dt=/[YMDHhms]o|\[([^\]]+)\]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|z{1,4}|SSS/g;function vt(e,n,t,l){let i=e<12?"AM":"PM";return l&&(i=i.split("").reduce((s,a)=>s+=`${a}.`,"")),t?i.toLowerCase():i}function B(e){const n=["th","st","nd","rd"],t=e%100;return e+(n[(t-20)%10]||n[t]||n[0])}function mt(e,n,t={}){var l;const i=e.getFullYear(),s=e.getMonth(),a=e.getDate(),o=e.getHours(),r=e.getMinutes(),u=e.getSeconds(),c=e.getMilliseconds(),v=e.getDay(),f=(l=t.customMeridiem)!=null?l:vt,p=y=>{var w;return(w=y.split(" ")[1])!=null?w:""},h={Yo:()=>B(i),YY:()=>String(i).slice(-2),YYYY:()=>i,M:()=>s+1,Mo:()=>B(s+1),MM:()=>`${s+1}`.padStart(2,"0"),MMM:()=>e.toLocaleDateString(x(t.locales),{month:"short"}),MMMM:()=>e.toLocaleDateString(x(t.locales),{month:"long"}),D:()=>String(a),Do:()=>B(a),DD:()=>`${a}`.padStart(2,"0"),H:()=>String(o),Ho:()=>B(o),HH:()=>`${o}`.padStart(2,"0"),h:()=>`${o%12||12}`.padStart(1,"0"),ho:()=>B(o%12||12),hh:()=>`${o%12||12}`.padStart(2,"0"),m:()=>String(r),mo:()=>B(r),mm:()=>`${r}`.padStart(2,"0"),s:()=>String(u),so:()=>B(u),ss:()=>`${u}`.padStart(2,"0"),SSS:()=>`${c}`.padStart(3,"0"),d:()=>v,dd:()=>e.toLocaleDateString(x(t.locales),{weekday:"narrow"}),ddd:()=>e.toLocaleDateString(x(t.locales),{weekday:"short"}),dddd:()=>e.toLocaleDateString(x(t.locales),{weekday:"long"}),A:()=>f(o,r),AA:()=>f(o,r,!1,!0),a:()=>f(o,r,!0),aa:()=>f(o,r,!0,!0),z:()=>p(e.toLocaleDateString(x(t.locales),{timeZoneName:"shortOffset"})),zz:()=>p(e.toLocaleDateString(x(t.locales),{timeZoneName:"shortOffset"})),zzz:()=>p(e.toLocaleDateString(x(t.locales),{timeZoneName:"shortOffset"})),zzzz:()=>p(e.toLocaleDateString(x(t.locales),{timeZoneName:"longOffset"}))};return n.replace(dt,(y,w)=>{var m,d;return(d=w??((m=h[y])==null?void 0:m.call(h)))!=null?d:y})}function pt(e){if(e===null)return new Date(Number.NaN);if(e===void 0)return new Date;if(e instanceof Date)return new Date(e);if(typeof e=="string"&&!/Z$/i.test(e)){const n=e.match(ft);if(n){const t=n[2]-1||0,l=(n[7]||"0").substring(0,3);return new Date(n[1],t,n[3]||1,n[4]||0,n[5]||0,n[6]||0,l)}}return new Date(e)}function Vt(e,n="HH:mm:ss",t={}){return T(()=>mt(pt(x(e)),x(n),t))}function Bt(e,n=1e3,t={}){const{immediate:l=!0,immediateCallback:i=!1}=t;let s=null;const a=E(!1);function o(){s&&(clearInterval(s),s=null)}function r(){a.value=!1,o()}function u(){const c=x(n);c<=0||(a.value=!0,i&&e(),o(),a.value&&(s=setInterval(e,c)))}if(l&&$&&u(),le(n)||typeof n=="function"){const c=z(n,()=>{a.value&&$&&u()});L(c)}return L(r),{isActive:Fe(a),pause:r,resume:u}}function ht(e,n,t={}){const{immediate:l=!0,immediateCallback:i=!1}=t,s=E(!1);let a=null;function o(){a&&(clearTimeout(a),a=null)}function r(){s.value=!1,o()}function u(...c){i&&e(),o(),s.value=!0,a=setTimeout(()=>{s.value=!1,a=null,e(...c)},x(n))}return l&&(s.value=!0,$&&u()),L(r),{isPending:Fe(s),start:u,stop:r}}function He(e,n,t){return z(e,n,{...t,immediate:!0})}function Xt(e,n,t){let l;le(t)?l={evaluating:t}:l=t||{};const{lazy:i=!1,evaluating:s=void 0,shallow:a=!0,onError:o=A}=l,r=E(!i),u=a?E(n):Q(n);let c=0;return ee(async v=>{if(!r.value)return;c++;const f=c;let p=!1;s&&Promise.resolve().then(()=>{s.value=!0});try{const h=await e(y=>{v(()=>{s&&(s.value=!1),p||y()})});f===c&&(u.value=h)}catch(h){o(h)}finally{s&&f===c&&(s.value=!1),p=!0}}),i?T(()=>(r.value=!0,u.value)):u}function qt(e={}){const{inheritAttrs:n=!0}=e,t=E(),l=we({setup(s,{slots:a}){return()=>{t.value=a.default}}}),i=we({inheritAttrs:n,props:e.props,setup(s,{attrs:a,slots:o}){return()=>{var r;t.value;const u=(r=t.value)==null?void 0:r.call(t,{...e.props==null?wt(a):s,$slots:o});return n&&(u==null?void 0:u.length)===1?u[0]:u}}});return Je({define:l,reuse:i},[l,i])}function wt(e){const n={};for(const t in e)n[rt(t)]=e[t];return n}const H=$?window:void 0,ze=$?window.document:void 0,Ie=$?window.navigator:void 0;function C(e){var n;const t=x(e);return(n=t==null?void 0:t.$el)!=null?n:t}function O(...e){const n=[],t=()=>{n.forEach(o=>o()),n.length=0},l=(o,r,u,c)=>(o.addEventListener(r,u,c),()=>o.removeEventListener(r,u,c)),i=T(()=>{const o=Y(x(e[0])).filter(r=>r!=null);return o.every(r=>typeof r!="string")?o:void 0}),s=He(()=>{var o,r;return[(r=(o=i.value)==null?void 0:o.map(u=>C(u)))!=null?r:[H].filter(u=>u!=null),Y(x(i.value?e[1]:e[0])),Y(Ae(i.value?e[2]:e[1])),x(i.value?e[3]:e[2])]},([o,r,u,c])=>{if(t(),!(o!=null&&o.length)||!(r!=null&&r.length)||!(u!=null&&u.length))return;const v=Ce(c)?{...c}:c;n.push(...o.flatMap(f=>r.flatMap(p=>u.map(h=>l(f,p,h,v)))))},{flush:"post"}),a=()=>{s(),t()};return L(t),a}let be=!1;function Ut(e,n,t={}){const{window:l=H,ignore:i=[],capture:s=!0,detectIframe:a=!1,controls:o=!1}=t;if(!l)return o?{stop:A,cancel:A,trigger:A}:A;if(fe&&!be){be=!0;const w={passive:!0};Array.from(l.document.body.children).forEach(m=>O(m,"click",A,w)),O(l.document.documentElement,"click",A,w)}let r=!0;const u=w=>x(i).some(m=>{if(typeof m=="string")return Array.from(l.document.querySelectorAll(m)).some(d=>d===w.target||w.composedPath().includes(d));{const d=C(m);return d&&(w.target===d||w.composedPath().includes(d))}});function c(w){const m=x(w);return m&&m.$.subTree.shapeFlag===16}function v(w,m){const d=x(w),S=d.$.subTree&&d.$.subTree.children;return S==null||!Array.isArray(S)?!1:S.some(k=>k.el===m.target||m.composedPath().includes(k.el))}const f=w=>{const m=C(e);if(w.target!=null&&!(!(m instanceof Element)&&c(e)&&v(e,w))&&!(!m||m===w.target||w.composedPath().includes(m))){if("detail"in w&&w.detail===0&&(r=!u(w)),!r){r=!0;return}n(w)}};let p=!1;const h=[O(l,"click",w=>{p||(p=!0,setTimeout(()=>{p=!1},0),f(w))},{passive:!0,capture:s}),O(l,"pointerdown",w=>{const m=C(e);r=!u(w)&&!!(m&&!w.composedPath().includes(m))},{passive:!0}),a&&O(l,"blur",w=>{setTimeout(()=>{var m;const d=C(e);((m=l.document.activeElement)==null?void 0:m.tagName)==="IFRAME"&&!(d!=null&&d.contains(l.document.activeElement))&&n(w)},0)},{passive:!0})].filter(Boolean),y=()=>h.forEach(w=>w());return o?{stop:y,cancel:()=>{r=!1},trigger:w=>{r=!0,f(w),r=!1}}:y}function gt(){const e=E(!1),n=re();return n&&de(()=>{e.value=!0},n),e}function X(e){const n=gt();return T(()=>(n.value,!!e()))}function Ne(e,n,t={}){const{window:l=H,...i}=t;let s;const a=X(()=>l&&"MutationObserver"in l),o=()=>{s&&(s.disconnect(),s=void 0)},r=T(()=>{const f=x(e),p=Y(f).map(C).filter(ve);return new Set(p)}),u=z(()=>r.value,f=>{o(),a.value&&f.size&&(s=new MutationObserver(n),f.forEach(p=>s.observe(p,i)))},{immediate:!0,flush:"post"}),c=()=>s==null?void 0:s.takeRecords(),v=()=>{u(),o()};return L(v),{isSupported:a,stop:v,takeRecords:c}}function yt(e,n,t={}){const{window:l=H,document:i=l==null?void 0:l.document,flush:s="sync"}=t;if(!l||!i)return A;let a;const o=c=>{a==null||a(),a=c},r=ee(()=>{const c=C(e);if(c){const{stop:v}=Ne(i,f=>{f.map(h=>[...h.removedNodes]).flat().some(h=>h===c||h.contains(c))&&n(f)},{window:l,childList:!0,subtree:!0});o(v)}},{flush:s}),u=()=>{r(),o()};return L(u),u}const bt=Symbol("vueuse-ssr-width");function St(){const e=Pe()?Ge(bt,null):null;return typeof e=="number"?e:void 0}function Et(e,n={}){const{window:t=H,ssrWidth:l=St()}=n,i=X(()=>t&&"matchMedia"in t&&typeof t.matchMedia=="function"),s=E(typeof l=="number"),a=E(),o=E(!1),r=u=>{o.value=u.matches};return ee(()=>{if(s.value){s.value=!i.value;const u=x(e).split(",");o.value=u.some(c=>{const v=c.includes("not all"),f=c.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),p=c.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let h=!!(f||p);return f&&h&&(h=l>=ye(f[1])),p&&h&&(h=l<=ye(p[1])),v?!h:h});return}i.value&&(a.value=t.matchMedia(x(e)),o.value=a.value.matches)}),O(a,"change",r,{passive:!0}),T(()=>o.value)}function Se(e,n={}){const{controls:t=!1,navigator:l=Ie}=n,i=X(()=>l&&"permissions"in l),s=E(),a=typeof e=="string"?{name:e}:e,o=E(),r=()=>{var c,v;o.value=(v=(c=s.value)==null?void 0:c.state)!=null?v:"prompt"};O(s,"change",r,{passive:!0});const u=nt(async()=>{if(i.value){if(!s.value)try{s.value=await l.permissions.query(a)}catch{s.value=void 0}finally{r()}if(t)return Ue(s.value)}});return u(),t?{state:o,isSupported:i,query:u}:o}function Gt(e={}){const{navigator:n=Ie,read:t=!1,source:l,copiedDuring:i=1500,legacy:s=!1}=e,a=X(()=>n&&"clipboard"in n),o=Se("clipboard-read"),r=Se("clipboard-write"),u=T(()=>a.value||s),c=E(""),v=E(!1),f=ht(()=>v.value=!1,i,{immediate:!1});async function p(){let d=!(a.value&&m(o.value));if(!d)try{c.value=await n.clipboard.readText()}catch{d=!0}d&&(c.value=w())}u.value&&t&&O(["copy","cut"],p,{passive:!0});async function h(d=x(l)){if(u.value&&d!=null){let S=!(a.value&&m(r.value));if(!S)try{await n.clipboard.writeText(d)}catch{S=!0}S&&y(d),c.value=d,v.value=!0,f.start()}}function y(d){const S=document.createElement("textarea");S.value=d??"",S.style.position="absolute",S.style.opacity="0",document.body.appendChild(S),S.select(),document.execCommand("copy"),S.remove()}function w(){var d,S,k;return(k=(S=(d=document==null?void 0:document.getSelection)==null?void 0:d.call(document))==null?void 0:S.toString())!=null?k:""}function m(d){return d==="granted"||d==="prompt"}return{isSupported:u,text:c,copied:v,copy:h}}const ne=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},oe="__vueuse_ssr_handlers__",xt=Mt();function Mt(){return oe in ne||(ne[oe]=ne[oe]||{}),ne[oe]}function _t(e,n){return xt[e]||n}function Ot(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Tt={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Ee="vueuse-storage";function Dt(e,n,t,l={}){var i;const{flush:s="pre",deep:a=!0,listenToStorageChanges:o=!0,writeDefaults:r=!0,mergeDefaults:u=!1,shallow:c,window:v=H,eventFilter:f,onError:p=M=>{console.error(M)},initOnMounted:h}=l,y=(c?E:Q)(typeof n=="function"?n():n),w=T(()=>x(e));if(!t)try{t=_t("getDefaultStorage",()=>{var M;return(M=H)==null?void 0:M.localStorage})()}catch(M){p(M)}if(!t)return y;const m=x(n),d=Ot(m),S=(i=l.serializer)!=null?i:Tt[d],{pause:k,resume:R}=ct(y,()=>g(y.value),{flush:s,deep:a,eventFilter:f});z(w,()=>_(),{flush:s}),v&&o&&Z(()=>{t instanceof Storage?O(v,"storage",_,{passive:!0}):O(v,Ee,P),h&&_()}),h||_();function W(M,F){if(v){const D={key:w.value,oldValue:M,newValue:F,storageArea:t};v.dispatchEvent(t instanceof Storage?new StorageEvent("storage",D):new CustomEvent(Ee,{detail:D}))}}function g(M){try{const F=t.getItem(w.value);if(M==null)W(F,null),t.removeItem(w.value);else{const D=S.write(M);F!==D&&(t.setItem(w.value,D),W(F,D))}}catch(F){p(F)}}function b(M){const F=M?M.newValue:t.getItem(w.value);if(F==null)return r&&m!=null&&t.setItem(w.value,S.write(m)),m;if(!M&&u){const D=S.read(F);return typeof u=="function"?u(D,m):d==="object"&&!Array.isArray(D)?{...m,...D}:D}else return typeof F!="string"?F:S.read(F)}function _(M){if(!(M&&M.storageArea!==t)){if(M&&M.key==null){y.value=m;return}if(!(M&&M.key!==w.value)){k();try{(M==null?void 0:M.newValue)!==S.write(y.value)&&(y.value=b(M))}catch(F){p(F)}finally{M?De(R):R()}}}}function P(M){_(M.detail)}return y}function Zt(e={}){const{document:n=ze}=e;if(!n)return E("visible");const t=E(n.visibilityState);return O(n,"visibilitychange",()=>{t.value=n.visibilityState},{passive:!0}),t}function Ye(e,n,t={}){const{window:l=H,...i}=t;let s;const a=X(()=>l&&"ResizeObserver"in l),o=()=>{s&&(s.disconnect(),s=void 0)},r=T(()=>{const v=x(e);return Array.isArray(v)?v.map(f=>C(f)):[C(v)]}),u=z(r,v=>{if(o(),a.value&&l){s=new ResizeObserver(n);for(const f of v)f&&s.observe(f,i)}},{immediate:!0,flush:"post"}),c=()=>{o(),u()};return L(c),{isSupported:a,stop:c}}function Jt(e,n={}){const{reset:t=!0,windowResize:l=!0,windowScroll:i=!0,immediate:s=!0,updateTiming:a="sync"}=n,o=E(0),r=E(0),u=E(0),c=E(0),v=E(0),f=E(0),p=E(0),h=E(0);function y(){const m=C(e);if(!m){t&&(o.value=0,r.value=0,u.value=0,c.value=0,v.value=0,f.value=0,p.value=0,h.value=0);return}const d=m.getBoundingClientRect();o.value=d.height,r.value=d.bottom,u.value=d.left,c.value=d.right,v.value=d.top,f.value=d.width,p.value=d.x,h.value=d.y}function w(){a==="sync"?y():a==="next-frame"&&requestAnimationFrame(()=>y())}return Ye(e,w),z(()=>C(e),m=>!m&&w()),Ne(e,w,{attributeFilter:["style","class"]}),i&&O("scroll",w,{capture:!0,passive:!0}),l&&O("resize",w,{passive:!0}),Z(()=>{s&&w()}),{height:o,bottom:r,left:u,right:c,top:v,width:f,x:p,y:h,update:w}}function Kt(e,n={}){const{delayEnter:t=0,delayLeave:l=0,triggerOnRemoval:i=!1,window:s=H}=n,a=E(!1);let o;const r=u=>{const c=u?t:l;o&&(clearTimeout(o),o=void 0),c?o=setTimeout(()=>a.value=u,c):a.value=u};return s&&(O(e,"mouseenter",()=>r(!0),{passive:!0}),O(e,"mouseleave",()=>r(!1),{passive:!0}),i&&yt(T(()=>C(e)),()=>r(!1))),a}function Qt(e,n={width:0,height:0},t={}){const{window:l=H,box:i="content-box"}=t,s=T(()=>{var v,f;return(f=(v=C(e))==null?void 0:v.namespaceURI)==null?void 0:f.includes("svg")}),a=E(n.width),o=E(n.height),{stop:r}=Ye(e,([v])=>{const f=i==="border-box"?v.borderBoxSize:i==="content-box"?v.contentBoxSize:v.devicePixelContentBoxSize;if(l&&s.value){const p=C(e);if(p){const h=p.getBoundingClientRect();a.value=h.width,o.value=h.height}}else if(f){const p=Y(f);a.value=p.reduce((h,{inlineSize:y})=>h+y,0),o.value=p.reduce((h,{blockSize:y})=>h+y,0)}else a.value=v.contentRect.width,o.value=v.contentRect.height},t);Z(()=>{const v=C(e);v&&(a.value="offsetWidth"in v?v.offsetWidth:n.width,o.value="offsetHeight"in v?v.offsetHeight:n.height)});const u=z(()=>C(e),v=>{a.value=v?n.width:0,o.value=v?n.height:0});function c(){r(),u()}return{width:a,height:o,stop:c}}const K=new Map;function en(e){const n=Re();function t(o){var r;const u=K.get(e)||new Set;u.add(o),K.set(e,u);const c=()=>i(o);return(r=n==null?void 0:n.cleanups)==null||r.push(c),c}function l(o){function r(...u){i(r),o(...u)}return t(r)}function i(o){const r=K.get(e);r&&(r.delete(o),r.size||s())}function s(){K.delete(e)}function a(o,r){var u;(u=K.get(e))==null||u.forEach(c=>c(o,r))}return{on:t,once:l,off:i,emit:a,reset:s}}const xe=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function tn(e,n={}){const{document:t=ze,autoExit:l=!1}=n,i=T(()=>{var d;return(d=C(e))!=null?d:t==null?void 0:t.documentElement}),s=E(!1),a=T(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(d=>t&&d in t||i.value&&d in i.value)),o=T(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(d=>t&&d in t||i.value&&d in i.value)),r=T(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(d=>t&&d in t||i.value&&d in i.value)),u=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(d=>t&&d in t),c=X(()=>i.value&&t&&a.value!==void 0&&o.value!==void 0&&r.value!==void 0),v=()=>u?(t==null?void 0:t[u])===i.value:!1,f=()=>{if(r.value){if(t&&t[r.value]!=null)return t[r.value];{const d=i.value;if((d==null?void 0:d[r.value])!=null)return!!d[r.value]}}return!1};async function p(){if(!(!c.value||!s.value)){if(o.value)if((t==null?void 0:t[o.value])!=null)await t[o.value]();else{const d=i.value;(d==null?void 0:d[o.value])!=null&&await d[o.value]()}s.value=!1}}async function h(){if(!c.value||s.value)return;f()&&await p();const d=i.value;a.value&&(d==null?void 0:d[a.value])!=null&&(await d[a.value](),s.value=!0)}async function y(){await(s.value?p():h())}const w=()=>{const d=f();(!d||d&&v())&&(s.value=d)},m={capture:!1,passive:!0};return O(t,xe,w,m),O(()=>C(i),xe,w,m),l&&L(p),{isSupported:c,isFullscreen:s,enter:h,exit:p,toggle:y}}const kt=["mousemove","mousedown","resize","keydown","touchstart","wheel"],Ft=6e4;function nn(e=Ft,n={}){const{initialState:t=!1,listenForVisibilityChange:l=!0,events:i=kt,window:s=H,eventFilter:a=Le(50)}=n,o=E(t),r=E(ge());let u;const c=()=>{o.value=!1,clearTimeout(u),u=setTimeout(()=>o.value=!0,e)},v=ue(a,()=>{r.value=ge(),c()});if(s){const f=s.document,p={passive:!0};for(const h of i)O(s,h,v,p);l&&O(f,"visibilitychange",()=>{f.hidden||v()},p),c()}return{idle:o,lastActive:r,reset:c}}const Me=1;function on(e,n={}){const{throttle:t=0,idle:l=200,onStop:i=A,onScroll:s=A,offset:a={left:0,right:0,top:0,bottom:0},eventListenerOptions:o={capture:!1,passive:!0},behavior:r="auto",window:u=H,onError:c=g=>{console.error(g)}}=n,v=E(0),f=E(0),p=T({get(){return v.value},set(g){y(g,void 0)}}),h=T({get(){return f.value},set(g){y(void 0,g)}});function y(g,b){var _,P,M,F;if(!u)return;const D=x(e);if(!D)return;(M=D instanceof Document?u.document.body:D)==null||M.scrollTo({top:(_=x(b))!=null?_:h.value,left:(P=x(g))!=null?P:p.value,behavior:x(r)});const I=((F=D==null?void 0:D.document)==null?void 0:F.documentElement)||(D==null?void 0:D.documentElement)||D;p!=null&&(v.value=I.scrollLeft),h!=null&&(f.value=I.scrollTop)}const w=E(!1),m=G({left:!0,right:!1,top:!0,bottom:!1}),d=G({left:!1,right:!1,top:!1,bottom:!1}),S=g=>{w.value&&(w.value=!1,d.left=!1,d.right=!1,d.top=!1,d.bottom=!1,i(g))},k=ut(S,t+l),R=g=>{var b;if(!u)return;const _=((b=g==null?void 0:g.document)==null?void 0:b.documentElement)||(g==null?void 0:g.documentElement)||C(g),{display:P,flexDirection:M,direction:F}=getComputedStyle(_),D=F==="rtl"?-1:1,I=_.scrollLeft;d.left=I<v.value,d.right=I>v.value;const J=Math.abs(I*D)<=(a.left||0),me=Math.abs(I*D)+_.clientWidth>=_.scrollWidth-(a.right||0)-Me;P==="flex"&&M==="row-reverse"?(m.left=me,m.right=J):(m.left=J,m.right=me),v.value=I;let V=_.scrollTop;g===u.document&&!V&&(V=u.document.body.scrollTop),d.top=V<f.value,d.bottom=V>f.value;const pe=Math.abs(V)<=(a.top||0),he=Math.abs(V)+_.clientHeight>=_.scrollHeight-(a.bottom||0)-Me;P==="flex"&&M==="column-reverse"?(m.top=he,m.bottom=pe):(m.top=pe,m.bottom=he),f.value=V},W=g=>{var b;if(!u)return;const _=(b=g.target.documentElement)!=null?b:g.target;R(_),w.value=!0,k(g),s(g)};return O(e,"scroll",t?it(W,t,!0,!1):W,o),Z(()=>{try{const g=x(e);if(!g)return;R(g)}catch(g){c(g)}}),O(e,"scrollend",S,o),{x:p,y:h,isScrolling:w,arrivedState:m,directions:d,measure(){const g=x(e);u&&g&&R(g)}}}function ln(e,n,t={}){const{window:l=H}=t;return Dt(e,n,l==null?void 0:l.localStorage,t)}const Rt={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof MouseEvent?[e.movementX,e.movementY]:null};function rn(e={}){const{type:n="page",touch:t=!0,resetOnTouchEnds:l=!1,initialValue:i={x:0,y:0},window:s=H,target:a=s,scroll:o=!0,eventFilter:r}=e;let u=null,c=0,v=0;const f=E(i.x),p=E(i.y),h=E(null),y=typeof n=="function"?n:Rt[n],w=g=>{const b=y(g);u=g,b&&([f.value,p.value]=b,h.value="mouse"),s&&(c=s.scrollX,v=s.scrollY)},m=g=>{if(g.touches.length>0){const b=y(g.touches[0]);b&&([f.value,p.value]=b,h.value="touch")}},d=()=>{if(!u||!s)return;const g=y(u);u instanceof MouseEvent&&g&&(f.value=g[0]+s.scrollX-c,p.value=g[1]+s.scrollY-v)},S=()=>{f.value=i.x,p.value=i.y},k=r?g=>r(()=>w(g),{}):g=>w(g),R=r?g=>r(()=>m(g),{}):g=>m(g),W=r?()=>r(()=>d(),{}):()=>d();if(a){const g={passive:!0};O(a,["mousemove","dragover"],k,g),t&&n!=="movement"&&(O(a,["touchstart","touchmove"],R,g),l&&O(a,"touchend",S,g)),o&&n==="page"&&O(s,"scroll",W,g)}return{x:f,y:p,sourceType:h}}function sn(e={}){const{window:n=H}=e,t=X(()=>n&&"screen"in n&&"orientation"in n.screen),l=t.value?n.screen.orientation:{},i=Q(l.type),s=E(l.angle||0);return t.value&&O(n,"orientationchange",()=>{i.value=l.type,s.value=l.angle},{passive:!0}),{isSupported:t,orientation:i,angle:s,lockOrientation:r=>t.value&&typeof l.lock=="function"?l.lock(r):Promise.reject(new Error("Not supported")),unlockOrientation:()=>{t.value&&typeof l.unlock=="function"&&l.unlock()}}}function un(e,n={}){const t=se(e),{threshold:l=50,onSwipe:i,onSwipeEnd:s,onSwipeStart:a,disableTextSelect:o=!1}=n,r=G({x:0,y:0}),u=(b,_)=>{r.x=b,r.y=_},c=G({x:0,y:0}),v=(b,_)=>{c.x=b,c.y=_},f=T(()=>r.x-c.x),p=T(()=>r.y-c.y),{max:h,abs:y}=Math,w=T(()=>h(y(f.value),y(p.value))>=l),m=E(!1),d=E(!1),S=T(()=>w.value?y(f.value)>y(p.value)?f.value>0?"left":"right":p.value>0?"up":"down":"none"),k=b=>{var _,P,M;const F=b.buttons===0,D=b.buttons===1;return(M=(P=(_=n.pointerTypes)==null?void 0:_.includes(b.pointerType))!=null?P:F||D)!=null?M:!0},R={passive:!0},W=[O(e,"pointerdown",b=>{if(!k(b))return;d.value=!0;const _=b.target;_==null||_.setPointerCapture(b.pointerId);const{clientX:P,clientY:M}=b;u(P,M),v(P,M),a==null||a(b)},R),O(e,"pointermove",b=>{if(!k(b)||!d.value)return;const{clientX:_,clientY:P}=b;v(_,P),!m.value&&w.value&&(m.value=!0),m.value&&(i==null||i(b))},R),O(e,"pointerup",b=>{k(b)&&(m.value&&(s==null||s(b,S.value)),d.value=!1,m.value=!1)},R)];Z(()=>{var b,_,P,M,F,D,I,J;(_=(b=t.value)==null?void 0:b.style)==null||_.setProperty("touch-action","none"),o&&((M=(P=t.value)==null?void 0:P.style)==null||M.setProperty("-webkit-user-select","none"),(D=(F=t.value)==null?void 0:F.style)==null||D.setProperty("-ms-user-select","none"),(J=(I=t.value)==null?void 0:I.style)==null||J.setProperty("user-select","none"))});const g=()=>W.forEach(b=>b());return{isSwiping:q(m),direction:q(S),posStart:q(r),posEnd:q(c),distanceX:f,distanceY:p,stop:g}}function an(e,n={}){const{threshold:t=50,onSwipe:l,onSwipeEnd:i,onSwipeStart:s,passive:a=!0}=n,o=G({x:0,y:0}),r=G({x:0,y:0}),u=T(()=>o.x-r.x),c=T(()=>o.y-r.y),{max:v,abs:f}=Math,p=T(()=>v(f(u.value),f(c.value))>=t),h=E(!1),y=T(()=>p.value?f(u.value)>f(c.value)?u.value>0?"left":"right":c.value>0?"up":"down":"none"),w=g=>[g.touches[0].clientX,g.touches[0].clientY],m=(g,b)=>{o.x=g,o.y=b},d=(g,b)=>{r.x=g,r.y=b},S={passive:a,capture:!a},k=g=>{h.value&&(i==null||i(g,y.value)),h.value=!1},R=[O(e,"touchstart",g=>{if(g.touches.length!==1)return;const[b,_]=w(g);m(b,_),d(b,_),s==null||s(g)},S),O(e,"touchmove",g=>{if(g.touches.length!==1)return;const[b,_]=w(g);d(b,_),S.capture&&!S.passive&&Math.abs(u.value)>Math.abs(c.value)&&g.preventDefault(),!h.value&&p.value&&(h.value=!0),h.value&&(l==null||l(g))},S),O(e,["touchend","touchcancel"],k,S)];return{isSwiping:h,direction:y,coordsStart:o,coordsEnd:r,lengthX:u,lengthY:c,stop:()=>R.forEach(g=>g()),isPassiveEventSupported:!0}}function cn(e={}){const{window:n=H,initialWidth:t=Number.POSITIVE_INFINITY,initialHeight:l=Number.POSITIVE_INFINITY,listenOrientation:i=!0,includeScrollbar:s=!0,type:a="inner"}=e,o=E(t),r=E(l),u=()=>{if(n)if(a==="outer")o.value=n.outerWidth,r.value=n.outerHeight;else if(a==="visual"&&n.visualViewport){const{width:v,height:f,scale:p}=n.visualViewport;o.value=Math.round(v*p),r.value=Math.round(f*p)}else s?(o.value=n.innerWidth,r.value=n.innerHeight):(o.value=n.document.documentElement.clientWidth,r.value=n.document.documentElement.clientHeight)};u(),Z(u);const c={passive:!0};if(O("resize",u,c),n&&a==="visual"&&n.visualViewport&&O(n.visualViewport,"resize",u,c),i){const v=Et("(orientation: portrait)");z(v,()=>u())}return{width:o,height:r}}const te=$?window:void 0;function j(e){var n;const t=x(e);return(n=t==null?void 0:t.$el)!=null?n:t}function U(...e){const n=[],t=()=>{n.forEach(o=>o()),n.length=0},l=(o,r,u,c)=>(o.addEventListener(r,u,c),()=>o.removeEventListener(r,u,c)),i=T(()=>{const o=Y(x(e[0])).filter(r=>r!=null);return o.every(r=>typeof r!="string")?o:void 0}),s=He(()=>{var o,r;return[(r=(o=i.value)==null?void 0:o.map(u=>j(u)))!=null?r:[te].filter(u=>u!=null),Y(x(i.value?e[1]:e[0])),Y(Ae(i.value?e[2]:e[1])),x(i.value?e[3]:e[2])]},([o,r,u,c])=>{if(t(),!(o!=null&&o.length)||!(r!=null&&r.length)||!(u!=null&&u.length))return;const v=Ce(c)?{...c}:c;n.push(...o.flatMap(f=>r.flatMap(p=>u.map(h=>l(f,p,h,v)))))},{flush:"post"}),a=()=>{s(),t()};return L(t),a}const Pt=500,At=10;function _e(e,n,t){var l,i;const s=T(()=>j(e));let a,o,r,u=!1;function c(){a&&(clearTimeout(a),a=void 0),o=void 0,r=void 0,u=!1}function v(m){var d,S,k;const[R,W,g]=[r,o,u];if(c(),!(t!=null&&t.onMouseUp)||!W||!R||(d=t==null?void 0:t.modifiers)!=null&&d.self&&m.target!==s.value)return;(S=t==null?void 0:t.modifiers)!=null&&S.prevent&&m.preventDefault(),(k=t==null?void 0:t.modifiers)!=null&&k.stop&&m.stopPropagation();const b=m.x-W.x,_=m.y-W.y,P=Math.sqrt(b*b+_*_);t.onMouseUp(m.timeStamp-R,P,g)}function f(m){var d,S,k,R;(d=t==null?void 0:t.modifiers)!=null&&d.self&&m.target!==s.value||(c(),(S=t==null?void 0:t.modifiers)!=null&&S.prevent&&m.preventDefault(),(k=t==null?void 0:t.modifiers)!=null&&k.stop&&m.stopPropagation(),o={x:m.x,y:m.y},r=m.timeStamp,a=setTimeout(()=>{u=!0,n(m)},(R=t==null?void 0:t.delay)!=null?R:Pt))}function p(m){var d,S,k,R;if((d=t==null?void 0:t.modifiers)!=null&&d.self&&m.target!==s.value||!o||(t==null?void 0:t.distanceThreshold)===!1)return;(S=t==null?void 0:t.modifiers)!=null&&S.prevent&&m.preventDefault(),(k=t==null?void 0:t.modifiers)!=null&&k.stop&&m.stopPropagation();const W=m.x-o.x,g=m.y-o.y;Math.sqrt(W*W+g*g)>=((R=t==null?void 0:t.distanceThreshold)!=null?R:At)&&c()}const h={capture:(l=t==null?void 0:t.modifiers)==null?void 0:l.capture,once:(i=t==null?void 0:t.modifiers)==null?void 0:i.once},y=[U(s,"pointerdown",f,h),U(s,"pointermove",p,h),U(s,["pointerup","pointerleave"],v,h)];return()=>y.forEach(m=>m())}const fn={mounted(e,n){typeof n.value=="function"?_e(e,n.value,{modifiers:n.modifiers}):_e(e,...n.value)}};function Ct(){const e=E(!1),n=re();return n&&de(()=>{e.value=!0},n),e}function $e(e){const n=Ct();return T(()=>(n.value,!!e()))}function Wt(e,n,t={}){const{window:l=te,...i}=t;let s;const a=$e(()=>l&&"MutationObserver"in l),o=()=>{s&&(s.disconnect(),s=void 0)},r=T(()=>{const f=x(e),p=Y(f).map(j).filter(ve);return new Set(p)}),u=z(()=>r.value,f=>{o(),a.value&&f.size&&(s=new MutationObserver(n),f.forEach(p=>s.observe(p,i)))},{immediate:!0,flush:"post"}),c=()=>s==null?void 0:s.takeRecords(),v=()=>{u(),o()};return L(v),{isSupported:a,stop:v,takeRecords:c}}function Lt(e,n,t={}){const{window:l=te,document:i=l==null?void 0:l.document,flush:s="sync"}=t;if(!l||!i)return A;let a;const o=c=>{a==null||a(),a=c},r=ee(()=>{const c=j(e);if(c){const{stop:v}=Wt(i,f=>{f.map(h=>[...h.removedNodes]).flat().some(h=>h===c||h.contains(c))&&n(f)},{window:l,childList:!0,subtree:!0});o(v)}},{flush:s}),u=()=>{r(),o()};return L(u),u}function Oe(e,n={}){const{delayEnter:t=0,delayLeave:l=0,triggerOnRemoval:i=!1,window:s=te}=n,a=E(!1);let o;const r=u=>{const c=u?t:l;o&&(clearTimeout(o),o=void 0),c?o=setTimeout(()=>a.value=u,c):a.value=u};return s&&(U(e,"mouseenter",()=>r(!0),{passive:!0}),U(e,"mouseleave",()=>r(!1),{passive:!0}),i&&Lt(T(()=>j(e)),()=>r(!1))),a}const dn={mounted(e,n){const t=n.value;if(typeof t=="function"){const l=Oe(e);z(l,i=>t(i))}else{const[l,i]=t,s=Oe(e,i);z(s,a=>l(a))}}};function Te(e,n,t={}){const{root:l,rootMargin:i="0px",threshold:s=0,window:a=te,immediate:o=!0}=t,r=$e(()=>a&&"IntersectionObserver"in a),u=T(()=>{const h=x(e);return Y(h).map(j).filter(ve)});let c=A;const v=E(o),f=r.value?z(()=>[u.value,j(l),v.value],([h,y])=>{if(c(),!v.value||!h.length)return;const w=new IntersectionObserver(n,{root:j(y),rootMargin:i,threshold:s});h.forEach(m=>m&&w.observe(m)),c=()=>{w.disconnect(),c=A}},{immediate:o,flush:"post"}):A,p=()=>{c(),f(),v.value=!1};return L(p),{isSupported:r,isActive:v,pause(){c(),v.value=!1},resume(){v.value=!0},stop:p}}function ae(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}const vn={mounted(e,n){typeof n.value=="function"?Te(e,n.value):Te(e,...n.value)}};function je(e){const n=window.getComputedStyle(e);if(n.overflowX==="scroll"||n.overflowY==="scroll"||n.overflowX==="auto"&&e.clientWidth<e.scrollWidth||n.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const t=e.parentNode;return!t||t.tagName==="BODY"?!1:je(t)}}function Ht(e){const n=e||window.event,t=n.target;return je(t)?!1:n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)}const ce=new WeakMap;function zt(e,n=!1){const t=E(n);let l=null,i="";z(se(e),o=>{const r=ae(x(o));if(r){const u=r;if(ce.get(u)||ce.set(u,u.style.overflow),u.style.overflow!=="hidden"&&(i=u.style.overflow),u.style.overflow==="hidden")return t.value=!0;if(t.value)return u.style.overflow="hidden"}},{immediate:!0});const s=()=>{const o=ae(x(e));!o||t.value||(fe&&(l=U(o,"touchmove",r=>{Ht(r)},{passive:!1})),o.style.overflow="hidden",t.value=!0)},a=()=>{const o=ae(x(e));!o||!t.value||(fe&&(l==null||l()),o.style.overflow=i,ce.delete(o),t.value=!1)};return L(a),T({get(){return t.value},set(o){o?s():a()}})}function It(){let e=!1;const n=E(!1);return(t,l)=>{if(n.value=l.value,e)return;e=!0;const i=zt(t,l.value);z(n,s=>i.value=s)}}It();function mn(e,n){const t=Q(void 0),l=e.subscribe({next:i=>t.value=i,error:void 0});return L(()=>{l.unsubscribe()}),t}function pn(e=null,n){const t=se(e),l=T({set:s=>s?N.start():N.done(),get:()=>typeof t.value=="number"&&t.value<1});n&&N.configure(n);const i=N.set;return N.set=s=>(t.value=s,i.call(N,s)),ee(()=>{typeof t.value=="number"&&$&&i.call(N,t.value)}),L(N.remove),{isLoading:l,progress:t,start:N.start,done:N.done,remove:()=>{t.value=null,N.remove()}}}export{rn as A,on as B,Bt as C,Ye as D,ut as E,Vt as a,cn as b,$t as c,sn as d,en as e,Et as f,vn as g,an as h,un as i,qt as j,Xt as k,Jt as l,Qt as m,fn as n,Ut as o,mn as p,Zt as q,jt as r,Kt as s,tn as t,ln as u,dn as v,nn as w,O as x,Gt as y,pn as z};
1
+ import{n as De,a as q,w as z,q as Ve,r as Q,v as ke,x as Be,y as E,f as le,p as Fe,z as Re,l as Xe,A as x,k as T,g as re,j as Pe,i as qe,o as de,b as G,B as we,C as ee,h as Ae,D as Ue}from"./@vue.Dh6viqaK.0.0.63-internal.2.js";import{n as N}from"./nprogress.BrmTaVqI.0.0.63-internal.2.js";function L(e){return Re()?(Xe(e),!0):!1}const ie=new WeakMap,Ge=(...e)=>{var n;const t=e[0],l=(n=re())==null?void 0:n.proxy;if(l==null&&!Pe())throw new Error("injectLocal must be called in setup");return l&&ie.has(l)&&t in ie.get(l)?ie.get(l)[t]:qe(...e)};function $t(e){let n=0,t,l;const i=()=>{n-=1,l&&n<=0&&(l.stop(),t=void 0,l=void 0)};return(...s)=>(n+=1,l||(l=Be(!0),t=l.run(()=>e(...s))),L(i),t)}function Ze(e,n,{enumerable:t=!1,unwrap:l=!0}={}){for(const[i,s]of Object.entries(n))i!=="value"&&(le(s)&&l?Object.defineProperty(e,i,{get(){return s.value},set(a){s.value=a},enumerable:t}):Object.defineProperty(e,i,{value:s,enumerable:t}));return e}function Je(e,n){if(typeof Symbol<"u"){const t={...e};return Object.defineProperty(t,Symbol.iterator,{enumerable:!1,value(){let l=0;return{next:()=>({value:n[l++],done:l>n.length})}}}),t}else return Object.assign([...n],e)}const $=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ve=e=>e!=null,Ke=Object.prototype.toString,Ce=e=>Ke.call(e)==="[object Object]",ge=()=>+Date.now(),A=()=>{},fe=Qe();function Qe(){var e,n;return $&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((n=window==null?void 0:window.navigator)==null?void 0:n.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function se(...e){if(e.length!==1)return Ve(...e);const n=e[0];return typeof n=="function"?q(ke(()=>({get:n,set:A}))):Q(n)}function ue(e,n){function t(...l){return new Promise((i,s)=>{Promise.resolve(e(()=>n.apply(this,l),{fn:n,thisArg:this,args:l})).then(i).catch(s)})}return t}const We=e=>e();function et(e,n={}){let t,l,i=A;const s=r=>{clearTimeout(r),i(),i=A};let a;return r=>{const u=x(e),c=x(n.maxWait);return t&&s(t),u<=0||c!==void 0&&c<=0?(l&&(s(l),l=null),Promise.resolve(r())):new Promise((v,f)=>{i=n.rejectOnCancel?f:v,a=r,c&&!l&&(l=setTimeout(()=>{t&&s(t),l=null,v(a())},c)),t=setTimeout(()=>{l&&s(l),l=null,v(r())},u)})}}function Le(...e){let n=0,t,l=!0,i=A,s,a,o,r,u;!le(e[0])&&typeof e[0]=="object"?{delay:a,trailing:o=!0,leading:r=!0,rejectOnCancel:u=!1}=e[0]:[a,o=!0,r=!0,u=!1]=e;const c=()=>{t&&(clearTimeout(t),t=void 0,i(),i=A)};return f=>{const p=x(a),h=Date.now()-n,y=()=>s=f();return c(),p<=0?(n=Date.now(),y()):(h>p&&(r||!l)?(n=Date.now(),y()):o&&(s=new Promise((w,m)=>{i=u?m:w,t=setTimeout(()=>{n=Date.now(),l=!0,w(y()),c()},Math.max(0,p-h))})),!r&&!t&&(t=setTimeout(()=>l=!0,p)),l=!1,s)}}function tt(e=We,n={}){const{initialState:t="active"}=n,l=se(t==="active");function i(){l.value=!1}function s(){l.value=!0}const a=(...o)=>{l.value&&e(...o)};return{isActive:q(l),pause:i,resume:s,eventFilter:a}}function nt(e){let n;function t(){return n||(n=e()),n}return t.reset=async()=>{const l=n;n=void 0,l&&await l},t}function ye(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function Y(e){return Array.isArray(e)?e:[e]}function ot(e){const n=Object.create(null);return t=>n[t]||(n[t]=e(t))}const lt=/-(\w)/g,rt=ot(e=>e.replace(lt,(n,t)=>t?t.toUpperCase():""));function st(e){return re()}function ut(e,n=200,t={}){return ue(et(n,t),e)}function it(e,n=200,t=!1,l=!0,i=!1){return ue(Le(n,t,l,i),e)}function jt(e,n={}){let t=e,l,i;const s=ke((f,p)=>(l=f,i=p,{get(){return a()},set(h){o(h)}}));function a(f=!0){return f&&l(),t}function o(f,p=!0){var h,y;if(f===t)return;const w=t;((h=n.onBeforeChange)==null?void 0:h.call(n,f,w))!==!1&&(t=f,(y=n.onChanged)==null||y.call(n,f,w),p&&i())}return Ze(s,{get:a,set:o,untrackedGet:()=>a(!1),silentSet:f=>o(f,!1),peek:()=>a(!1),lay:f=>o(f,!1)},{enumerable:!0})}function at(e,n,t={}){const{eventFilter:l=We,...i}=t;return z(e,ue(l,n),i)}function ct(e,n,t={}){const{eventFilter:l,initialState:i="active",...s}=t,{eventFilter:a,pause:o,resume:r,isActive:u}=tt(l,{initialState:i});return{stop:at(e,n,{...s,eventFilter:a}),pause:o,resume:r,isActive:u}}function Z(e,n=!0,t){st()?de(e,t):n?e():De(e)}const ft=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[T\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/i,dt=/[YMDHhms]o|\[([^\]]+)\]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|z{1,4}|SSS/g;function vt(e,n,t,l){let i=e<12?"AM":"PM";return l&&(i=i.split("").reduce((s,a)=>s+=`${a}.`,"")),t?i.toLowerCase():i}function B(e){const n=["th","st","nd","rd"],t=e%100;return e+(n[(t-20)%10]||n[t]||n[0])}function mt(e,n,t={}){var l;const i=e.getFullYear(),s=e.getMonth(),a=e.getDate(),o=e.getHours(),r=e.getMinutes(),u=e.getSeconds(),c=e.getMilliseconds(),v=e.getDay(),f=(l=t.customMeridiem)!=null?l:vt,p=y=>{var w;return(w=y.split(" ")[1])!=null?w:""},h={Yo:()=>B(i),YY:()=>String(i).slice(-2),YYYY:()=>i,M:()=>s+1,Mo:()=>B(s+1),MM:()=>`${s+1}`.padStart(2,"0"),MMM:()=>e.toLocaleDateString(x(t.locales),{month:"short"}),MMMM:()=>e.toLocaleDateString(x(t.locales),{month:"long"}),D:()=>String(a),Do:()=>B(a),DD:()=>`${a}`.padStart(2,"0"),H:()=>String(o),Ho:()=>B(o),HH:()=>`${o}`.padStart(2,"0"),h:()=>`${o%12||12}`.padStart(1,"0"),ho:()=>B(o%12||12),hh:()=>`${o%12||12}`.padStart(2,"0"),m:()=>String(r),mo:()=>B(r),mm:()=>`${r}`.padStart(2,"0"),s:()=>String(u),so:()=>B(u),ss:()=>`${u}`.padStart(2,"0"),SSS:()=>`${c}`.padStart(3,"0"),d:()=>v,dd:()=>e.toLocaleDateString(x(t.locales),{weekday:"narrow"}),ddd:()=>e.toLocaleDateString(x(t.locales),{weekday:"short"}),dddd:()=>e.toLocaleDateString(x(t.locales),{weekday:"long"}),A:()=>f(o,r),AA:()=>f(o,r,!1,!0),a:()=>f(o,r,!0),aa:()=>f(o,r,!0,!0),z:()=>p(e.toLocaleDateString(x(t.locales),{timeZoneName:"shortOffset"})),zz:()=>p(e.toLocaleDateString(x(t.locales),{timeZoneName:"shortOffset"})),zzz:()=>p(e.toLocaleDateString(x(t.locales),{timeZoneName:"shortOffset"})),zzzz:()=>p(e.toLocaleDateString(x(t.locales),{timeZoneName:"longOffset"}))};return n.replace(dt,(y,w)=>{var m,d;return(d=w??((m=h[y])==null?void 0:m.call(h)))!=null?d:y})}function pt(e){if(e===null)return new Date(Number.NaN);if(e===void 0)return new Date;if(e instanceof Date)return new Date(e);if(typeof e=="string"&&!/Z$/i.test(e)){const n=e.match(ft);if(n){const t=n[2]-1||0,l=(n[7]||"0").substring(0,3);return new Date(n[1],t,n[3]||1,n[4]||0,n[5]||0,n[6]||0,l)}}return new Date(e)}function Vt(e,n="HH:mm:ss",t={}){return T(()=>mt(pt(x(e)),x(n),t))}function Bt(e,n=1e3,t={}){const{immediate:l=!0,immediateCallback:i=!1}=t;let s=null;const a=E(!1);function o(){s&&(clearInterval(s),s=null)}function r(){a.value=!1,o()}function u(){const c=x(n);c<=0||(a.value=!0,i&&e(),o(),a.value&&(s=setInterval(e,c)))}if(l&&$&&u(),le(n)||typeof n=="function"){const c=z(n,()=>{a.value&&$&&u()});L(c)}return L(r),{isActive:Fe(a),pause:r,resume:u}}function ht(e,n,t={}){const{immediate:l=!0,immediateCallback:i=!1}=t,s=E(!1);let a=null;function o(){a&&(clearTimeout(a),a=null)}function r(){s.value=!1,o()}function u(...c){i&&e(),o(),s.value=!0,a=setTimeout(()=>{s.value=!1,a=null,e(...c)},x(n))}return l&&(s.value=!0,$&&u()),L(r),{isPending:Fe(s),start:u,stop:r}}function He(e,n,t){return z(e,n,{...t,immediate:!0})}function Xt(e,n,t){let l;le(t)?l={evaluating:t}:l=t||{};const{lazy:i=!1,evaluating:s=void 0,shallow:a=!0,onError:o=A}=l,r=E(!i),u=a?E(n):Q(n);let c=0;return ee(async v=>{if(!r.value)return;c++;const f=c;let p=!1;s&&Promise.resolve().then(()=>{s.value=!0});try{const h=await e(y=>{v(()=>{s&&(s.value=!1),p||y()})});f===c&&(u.value=h)}catch(h){o(h)}finally{s&&f===c&&(s.value=!1),p=!0}}),i?T(()=>(r.value=!0,u.value)):u}function qt(e={}){const{inheritAttrs:n=!0}=e,t=E(),l=we({setup(s,{slots:a}){return()=>{t.value=a.default}}}),i=we({inheritAttrs:n,props:e.props,setup(s,{attrs:a,slots:o}){return()=>{var r;t.value;const u=(r=t.value)==null?void 0:r.call(t,{...e.props==null?wt(a):s,$slots:o});return n&&(u==null?void 0:u.length)===1?u[0]:u}}});return Je({define:l,reuse:i},[l,i])}function wt(e){const n={};for(const t in e)n[rt(t)]=e[t];return n}const H=$?window:void 0,ze=$?window.document:void 0,Ie=$?window.navigator:void 0;function C(e){var n;const t=x(e);return(n=t==null?void 0:t.$el)!=null?n:t}function O(...e){const n=[],t=()=>{n.forEach(o=>o()),n.length=0},l=(o,r,u,c)=>(o.addEventListener(r,u,c),()=>o.removeEventListener(r,u,c)),i=T(()=>{const o=Y(x(e[0])).filter(r=>r!=null);return o.every(r=>typeof r!="string")?o:void 0}),s=He(()=>{var o,r;return[(r=(o=i.value)==null?void 0:o.map(u=>C(u)))!=null?r:[H].filter(u=>u!=null),Y(x(i.value?e[1]:e[0])),Y(Ae(i.value?e[2]:e[1])),x(i.value?e[3]:e[2])]},([o,r,u,c])=>{if(t(),!(o!=null&&o.length)||!(r!=null&&r.length)||!(u!=null&&u.length))return;const v=Ce(c)?{...c}:c;n.push(...o.flatMap(f=>r.flatMap(p=>u.map(h=>l(f,p,h,v)))))},{flush:"post"}),a=()=>{s(),t()};return L(t),a}let be=!1;function Ut(e,n,t={}){const{window:l=H,ignore:i=[],capture:s=!0,detectIframe:a=!1,controls:o=!1}=t;if(!l)return o?{stop:A,cancel:A,trigger:A}:A;if(fe&&!be){be=!0;const w={passive:!0};Array.from(l.document.body.children).forEach(m=>O(m,"click",A,w)),O(l.document.documentElement,"click",A,w)}let r=!0;const u=w=>x(i).some(m=>{if(typeof m=="string")return Array.from(l.document.querySelectorAll(m)).some(d=>d===w.target||w.composedPath().includes(d));{const d=C(m);return d&&(w.target===d||w.composedPath().includes(d))}});function c(w){const m=x(w);return m&&m.$.subTree.shapeFlag===16}function v(w,m){const d=x(w),S=d.$.subTree&&d.$.subTree.children;return S==null||!Array.isArray(S)?!1:S.some(k=>k.el===m.target||m.composedPath().includes(k.el))}const f=w=>{const m=C(e);if(w.target!=null&&!(!(m instanceof Element)&&c(e)&&v(e,w))&&!(!m||m===w.target||w.composedPath().includes(m))){if("detail"in w&&w.detail===0&&(r=!u(w)),!r){r=!0;return}n(w)}};let p=!1;const h=[O(l,"click",w=>{p||(p=!0,setTimeout(()=>{p=!1},0),f(w))},{passive:!0,capture:s}),O(l,"pointerdown",w=>{const m=C(e);r=!u(w)&&!!(m&&!w.composedPath().includes(m))},{passive:!0}),a&&O(l,"blur",w=>{setTimeout(()=>{var m;const d=C(e);((m=l.document.activeElement)==null?void 0:m.tagName)==="IFRAME"&&!(d!=null&&d.contains(l.document.activeElement))&&n(w)},0)},{passive:!0})].filter(Boolean),y=()=>h.forEach(w=>w());return o?{stop:y,cancel:()=>{r=!1},trigger:w=>{r=!0,f(w),r=!1}}:y}function gt(){const e=E(!1),n=re();return n&&de(()=>{e.value=!0},n),e}function X(e){const n=gt();return T(()=>(n.value,!!e()))}function Ne(e,n,t={}){const{window:l=H,...i}=t;let s;const a=X(()=>l&&"MutationObserver"in l),o=()=>{s&&(s.disconnect(),s=void 0)},r=T(()=>{const f=x(e),p=Y(f).map(C).filter(ve);return new Set(p)}),u=z(()=>r.value,f=>{o(),a.value&&f.size&&(s=new MutationObserver(n),f.forEach(p=>s.observe(p,i)))},{immediate:!0,flush:"post"}),c=()=>s==null?void 0:s.takeRecords(),v=()=>{u(),o()};return L(v),{isSupported:a,stop:v,takeRecords:c}}function yt(e,n,t={}){const{window:l=H,document:i=l==null?void 0:l.document,flush:s="sync"}=t;if(!l||!i)return A;let a;const o=c=>{a==null||a(),a=c},r=ee(()=>{const c=C(e);if(c){const{stop:v}=Ne(i,f=>{f.map(h=>[...h.removedNodes]).flat().some(h=>h===c||h.contains(c))&&n(f)},{window:l,childList:!0,subtree:!0});o(v)}},{flush:s}),u=()=>{r(),o()};return L(u),u}const bt=Symbol("vueuse-ssr-width");function St(){const e=Pe()?Ge(bt,null):null;return typeof e=="number"?e:void 0}function Et(e,n={}){const{window:t=H,ssrWidth:l=St()}=n,i=X(()=>t&&"matchMedia"in t&&typeof t.matchMedia=="function"),s=E(typeof l=="number"),a=E(),o=E(!1),r=u=>{o.value=u.matches};return ee(()=>{if(s.value){s.value=!i.value;const u=x(e).split(",");o.value=u.some(c=>{const v=c.includes("not all"),f=c.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),p=c.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let h=!!(f||p);return f&&h&&(h=l>=ye(f[1])),p&&h&&(h=l<=ye(p[1])),v?!h:h});return}i.value&&(a.value=t.matchMedia(x(e)),o.value=a.value.matches)}),O(a,"change",r,{passive:!0}),T(()=>o.value)}function Se(e,n={}){const{controls:t=!1,navigator:l=Ie}=n,i=X(()=>l&&"permissions"in l),s=E(),a=typeof e=="string"?{name:e}:e,o=E(),r=()=>{var c,v;o.value=(v=(c=s.value)==null?void 0:c.state)!=null?v:"prompt"};O(s,"change",r,{passive:!0});const u=nt(async()=>{if(i.value){if(!s.value)try{s.value=await l.permissions.query(a)}catch{s.value=void 0}finally{r()}if(t)return Ue(s.value)}});return u(),t?{state:o,isSupported:i,query:u}:o}function Gt(e={}){const{navigator:n=Ie,read:t=!1,source:l,copiedDuring:i=1500,legacy:s=!1}=e,a=X(()=>n&&"clipboard"in n),o=Se("clipboard-read"),r=Se("clipboard-write"),u=T(()=>a.value||s),c=E(""),v=E(!1),f=ht(()=>v.value=!1,i,{immediate:!1});async function p(){let d=!(a.value&&m(o.value));if(!d)try{c.value=await n.clipboard.readText()}catch{d=!0}d&&(c.value=w())}u.value&&t&&O(["copy","cut"],p,{passive:!0});async function h(d=x(l)){if(u.value&&d!=null){let S=!(a.value&&m(r.value));if(!S)try{await n.clipboard.writeText(d)}catch{S=!0}S&&y(d),c.value=d,v.value=!0,f.start()}}function y(d){const S=document.createElement("textarea");S.value=d??"",S.style.position="absolute",S.style.opacity="0",document.body.appendChild(S),S.select(),document.execCommand("copy"),S.remove()}function w(){var d,S,k;return(k=(S=(d=document==null?void 0:document.getSelection)==null?void 0:d.call(document))==null?void 0:S.toString())!=null?k:""}function m(d){return d==="granted"||d==="prompt"}return{isSupported:u,text:c,copied:v,copy:h}}const ne=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},oe="__vueuse_ssr_handlers__",xt=Mt();function Mt(){return oe in ne||(ne[oe]=ne[oe]||{}),ne[oe]}function _t(e,n){return xt[e]||n}function Ot(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Tt={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Ee="vueuse-storage";function Dt(e,n,t,l={}){var i;const{flush:s="pre",deep:a=!0,listenToStorageChanges:o=!0,writeDefaults:r=!0,mergeDefaults:u=!1,shallow:c,window:v=H,eventFilter:f,onError:p=M=>{console.error(M)},initOnMounted:h}=l,y=(c?E:Q)(typeof n=="function"?n():n),w=T(()=>x(e));if(!t)try{t=_t("getDefaultStorage",()=>{var M;return(M=H)==null?void 0:M.localStorage})()}catch(M){p(M)}if(!t)return y;const m=x(n),d=Ot(m),S=(i=l.serializer)!=null?i:Tt[d],{pause:k,resume:R}=ct(y,()=>g(y.value),{flush:s,deep:a,eventFilter:f});z(w,()=>_(),{flush:s}),v&&o&&Z(()=>{t instanceof Storage?O(v,"storage",_,{passive:!0}):O(v,Ee,P),h&&_()}),h||_();function W(M,F){if(v){const D={key:w.value,oldValue:M,newValue:F,storageArea:t};v.dispatchEvent(t instanceof Storage?new StorageEvent("storage",D):new CustomEvent(Ee,{detail:D}))}}function g(M){try{const F=t.getItem(w.value);if(M==null)W(F,null),t.removeItem(w.value);else{const D=S.write(M);F!==D&&(t.setItem(w.value,D),W(F,D))}}catch(F){p(F)}}function b(M){const F=M?M.newValue:t.getItem(w.value);if(F==null)return r&&m!=null&&t.setItem(w.value,S.write(m)),m;if(!M&&u){const D=S.read(F);return typeof u=="function"?u(D,m):d==="object"&&!Array.isArray(D)?{...m,...D}:D}else return typeof F!="string"?F:S.read(F)}function _(M){if(!(M&&M.storageArea!==t)){if(M&&M.key==null){y.value=m;return}if(!(M&&M.key!==w.value)){k();try{(M==null?void 0:M.newValue)!==S.write(y.value)&&(y.value=b(M))}catch(F){p(F)}finally{M?De(R):R()}}}}function P(M){_(M.detail)}return y}function Zt(e={}){const{document:n=ze}=e;if(!n)return E("visible");const t=E(n.visibilityState);return O(n,"visibilitychange",()=>{t.value=n.visibilityState},{passive:!0}),t}function Ye(e,n,t={}){const{window:l=H,...i}=t;let s;const a=X(()=>l&&"ResizeObserver"in l),o=()=>{s&&(s.disconnect(),s=void 0)},r=T(()=>{const v=x(e);return Array.isArray(v)?v.map(f=>C(f)):[C(v)]}),u=z(r,v=>{if(o(),a.value&&l){s=new ResizeObserver(n);for(const f of v)f&&s.observe(f,i)}},{immediate:!0,flush:"post"}),c=()=>{o(),u()};return L(c),{isSupported:a,stop:c}}function Jt(e,n={}){const{reset:t=!0,windowResize:l=!0,windowScroll:i=!0,immediate:s=!0,updateTiming:a="sync"}=n,o=E(0),r=E(0),u=E(0),c=E(0),v=E(0),f=E(0),p=E(0),h=E(0);function y(){const m=C(e);if(!m){t&&(o.value=0,r.value=0,u.value=0,c.value=0,v.value=0,f.value=0,p.value=0,h.value=0);return}const d=m.getBoundingClientRect();o.value=d.height,r.value=d.bottom,u.value=d.left,c.value=d.right,v.value=d.top,f.value=d.width,p.value=d.x,h.value=d.y}function w(){a==="sync"?y():a==="next-frame"&&requestAnimationFrame(()=>y())}return Ye(e,w),z(()=>C(e),m=>!m&&w()),Ne(e,w,{attributeFilter:["style","class"]}),i&&O("scroll",w,{capture:!0,passive:!0}),l&&O("resize",w,{passive:!0}),Z(()=>{s&&w()}),{height:o,bottom:r,left:u,right:c,top:v,width:f,x:p,y:h,update:w}}function Kt(e,n={}){const{delayEnter:t=0,delayLeave:l=0,triggerOnRemoval:i=!1,window:s=H}=n,a=E(!1);let o;const r=u=>{const c=u?t:l;o&&(clearTimeout(o),o=void 0),c?o=setTimeout(()=>a.value=u,c):a.value=u};return s&&(O(e,"mouseenter",()=>r(!0),{passive:!0}),O(e,"mouseleave",()=>r(!1),{passive:!0}),i&&yt(T(()=>C(e)),()=>r(!1))),a}function Qt(e,n={width:0,height:0},t={}){const{window:l=H,box:i="content-box"}=t,s=T(()=>{var v,f;return(f=(v=C(e))==null?void 0:v.namespaceURI)==null?void 0:f.includes("svg")}),a=E(n.width),o=E(n.height),{stop:r}=Ye(e,([v])=>{const f=i==="border-box"?v.borderBoxSize:i==="content-box"?v.contentBoxSize:v.devicePixelContentBoxSize;if(l&&s.value){const p=C(e);if(p){const h=p.getBoundingClientRect();a.value=h.width,o.value=h.height}}else if(f){const p=Y(f);a.value=p.reduce((h,{inlineSize:y})=>h+y,0),o.value=p.reduce((h,{blockSize:y})=>h+y,0)}else a.value=v.contentRect.width,o.value=v.contentRect.height},t);Z(()=>{const v=C(e);v&&(a.value="offsetWidth"in v?v.offsetWidth:n.width,o.value="offsetHeight"in v?v.offsetHeight:n.height)});const u=z(()=>C(e),v=>{a.value=v?n.width:0,o.value=v?n.height:0});function c(){r(),u()}return{width:a,height:o,stop:c}}const K=new Map;function en(e){const n=Re();function t(o){var r;const u=K.get(e)||new Set;u.add(o),K.set(e,u);const c=()=>i(o);return(r=n==null?void 0:n.cleanups)==null||r.push(c),c}function l(o){function r(...u){i(r),o(...u)}return t(r)}function i(o){const r=K.get(e);r&&(r.delete(o),r.size||s())}function s(){K.delete(e)}function a(o,r){var u;(u=K.get(e))==null||u.forEach(c=>c(o,r))}return{on:t,once:l,off:i,emit:a,reset:s}}const xe=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function tn(e,n={}){const{document:t=ze,autoExit:l=!1}=n,i=T(()=>{var d;return(d=C(e))!=null?d:t==null?void 0:t.documentElement}),s=E(!1),a=T(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(d=>t&&d in t||i.value&&d in i.value)),o=T(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(d=>t&&d in t||i.value&&d in i.value)),r=T(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(d=>t&&d in t||i.value&&d in i.value)),u=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(d=>t&&d in t),c=X(()=>i.value&&t&&a.value!==void 0&&o.value!==void 0&&r.value!==void 0),v=()=>u?(t==null?void 0:t[u])===i.value:!1,f=()=>{if(r.value){if(t&&t[r.value]!=null)return t[r.value];{const d=i.value;if((d==null?void 0:d[r.value])!=null)return!!d[r.value]}}return!1};async function p(){if(!(!c.value||!s.value)){if(o.value)if((t==null?void 0:t[o.value])!=null)await t[o.value]();else{const d=i.value;(d==null?void 0:d[o.value])!=null&&await d[o.value]()}s.value=!1}}async function h(){if(!c.value||s.value)return;f()&&await p();const d=i.value;a.value&&(d==null?void 0:d[a.value])!=null&&(await d[a.value](),s.value=!0)}async function y(){await(s.value?p():h())}const w=()=>{const d=f();(!d||d&&v())&&(s.value=d)},m={capture:!1,passive:!0};return O(t,xe,w,m),O(()=>C(i),xe,w,m),l&&L(p),{isSupported:c,isFullscreen:s,enter:h,exit:p,toggle:y}}const kt=["mousemove","mousedown","resize","keydown","touchstart","wheel"],Ft=6e4;function nn(e=Ft,n={}){const{initialState:t=!1,listenForVisibilityChange:l=!0,events:i=kt,window:s=H,eventFilter:a=Le(50)}=n,o=E(t),r=E(ge());let u;const c=()=>{o.value=!1,clearTimeout(u),u=setTimeout(()=>o.value=!0,e)},v=ue(a,()=>{r.value=ge(),c()});if(s){const f=s.document,p={passive:!0};for(const h of i)O(s,h,v,p);l&&O(f,"visibilitychange",()=>{f.hidden||v()},p),c()}return{idle:o,lastActive:r,reset:c}}const Me=1;function on(e,n={}){const{throttle:t=0,idle:l=200,onStop:i=A,onScroll:s=A,offset:a={left:0,right:0,top:0,bottom:0},eventListenerOptions:o={capture:!1,passive:!0},behavior:r="auto",window:u=H,onError:c=g=>{console.error(g)}}=n,v=E(0),f=E(0),p=T({get(){return v.value},set(g){y(g,void 0)}}),h=T({get(){return f.value},set(g){y(void 0,g)}});function y(g,b){var _,P,M,F;if(!u)return;const D=x(e);if(!D)return;(M=D instanceof Document?u.document.body:D)==null||M.scrollTo({top:(_=x(b))!=null?_:h.value,left:(P=x(g))!=null?P:p.value,behavior:x(r)});const I=((F=D==null?void 0:D.document)==null?void 0:F.documentElement)||(D==null?void 0:D.documentElement)||D;p!=null&&(v.value=I.scrollLeft),h!=null&&(f.value=I.scrollTop)}const w=E(!1),m=G({left:!0,right:!1,top:!0,bottom:!1}),d=G({left:!1,right:!1,top:!1,bottom:!1}),S=g=>{w.value&&(w.value=!1,d.left=!1,d.right=!1,d.top=!1,d.bottom=!1,i(g))},k=ut(S,t+l),R=g=>{var b;if(!u)return;const _=((b=g==null?void 0:g.document)==null?void 0:b.documentElement)||(g==null?void 0:g.documentElement)||C(g),{display:P,flexDirection:M,direction:F}=getComputedStyle(_),D=F==="rtl"?-1:1,I=_.scrollLeft;d.left=I<v.value,d.right=I>v.value;const J=Math.abs(I*D)<=(a.left||0),me=Math.abs(I*D)+_.clientWidth>=_.scrollWidth-(a.right||0)-Me;P==="flex"&&M==="row-reverse"?(m.left=me,m.right=J):(m.left=J,m.right=me),v.value=I;let V=_.scrollTop;g===u.document&&!V&&(V=u.document.body.scrollTop),d.top=V<f.value,d.bottom=V>f.value;const pe=Math.abs(V)<=(a.top||0),he=Math.abs(V)+_.clientHeight>=_.scrollHeight-(a.bottom||0)-Me;P==="flex"&&M==="column-reverse"?(m.top=he,m.bottom=pe):(m.top=pe,m.bottom=he),f.value=V},W=g=>{var b;if(!u)return;const _=(b=g.target.documentElement)!=null?b:g.target;R(_),w.value=!0,k(g),s(g)};return O(e,"scroll",t?it(W,t,!0,!1):W,o),Z(()=>{try{const g=x(e);if(!g)return;R(g)}catch(g){c(g)}}),O(e,"scrollend",S,o),{x:p,y:h,isScrolling:w,arrivedState:m,directions:d,measure(){const g=x(e);u&&g&&R(g)}}}function ln(e,n,t={}){const{window:l=H}=t;return Dt(e,n,l==null?void 0:l.localStorage,t)}const Rt={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof MouseEvent?[e.movementX,e.movementY]:null};function rn(e={}){const{type:n="page",touch:t=!0,resetOnTouchEnds:l=!1,initialValue:i={x:0,y:0},window:s=H,target:a=s,scroll:o=!0,eventFilter:r}=e;let u=null,c=0,v=0;const f=E(i.x),p=E(i.y),h=E(null),y=typeof n=="function"?n:Rt[n],w=g=>{const b=y(g);u=g,b&&([f.value,p.value]=b,h.value="mouse"),s&&(c=s.scrollX,v=s.scrollY)},m=g=>{if(g.touches.length>0){const b=y(g.touches[0]);b&&([f.value,p.value]=b,h.value="touch")}},d=()=>{if(!u||!s)return;const g=y(u);u instanceof MouseEvent&&g&&(f.value=g[0]+s.scrollX-c,p.value=g[1]+s.scrollY-v)},S=()=>{f.value=i.x,p.value=i.y},k=r?g=>r(()=>w(g),{}):g=>w(g),R=r?g=>r(()=>m(g),{}):g=>m(g),W=r?()=>r(()=>d(),{}):()=>d();if(a){const g={passive:!0};O(a,["mousemove","dragover"],k,g),t&&n!=="movement"&&(O(a,["touchstart","touchmove"],R,g),l&&O(a,"touchend",S,g)),o&&n==="page"&&O(s,"scroll",W,g)}return{x:f,y:p,sourceType:h}}function sn(e={}){const{window:n=H}=e,t=X(()=>n&&"screen"in n&&"orientation"in n.screen),l=t.value?n.screen.orientation:{},i=Q(l.type),s=E(l.angle||0);return t.value&&O(n,"orientationchange",()=>{i.value=l.type,s.value=l.angle},{passive:!0}),{isSupported:t,orientation:i,angle:s,lockOrientation:r=>t.value&&typeof l.lock=="function"?l.lock(r):Promise.reject(new Error("Not supported")),unlockOrientation:()=>{t.value&&typeof l.unlock=="function"&&l.unlock()}}}function un(e,n={}){const t=se(e),{threshold:l=50,onSwipe:i,onSwipeEnd:s,onSwipeStart:a,disableTextSelect:o=!1}=n,r=G({x:0,y:0}),u=(b,_)=>{r.x=b,r.y=_},c=G({x:0,y:0}),v=(b,_)=>{c.x=b,c.y=_},f=T(()=>r.x-c.x),p=T(()=>r.y-c.y),{max:h,abs:y}=Math,w=T(()=>h(y(f.value),y(p.value))>=l),m=E(!1),d=E(!1),S=T(()=>w.value?y(f.value)>y(p.value)?f.value>0?"left":"right":p.value>0?"up":"down":"none"),k=b=>{var _,P,M;const F=b.buttons===0,D=b.buttons===1;return(M=(P=(_=n.pointerTypes)==null?void 0:_.includes(b.pointerType))!=null?P:F||D)!=null?M:!0},R={passive:!0},W=[O(e,"pointerdown",b=>{if(!k(b))return;d.value=!0;const _=b.target;_==null||_.setPointerCapture(b.pointerId);const{clientX:P,clientY:M}=b;u(P,M),v(P,M),a==null||a(b)},R),O(e,"pointermove",b=>{if(!k(b)||!d.value)return;const{clientX:_,clientY:P}=b;v(_,P),!m.value&&w.value&&(m.value=!0),m.value&&(i==null||i(b))},R),O(e,"pointerup",b=>{k(b)&&(m.value&&(s==null||s(b,S.value)),d.value=!1,m.value=!1)},R)];Z(()=>{var b,_,P,M,F,D,I,J;(_=(b=t.value)==null?void 0:b.style)==null||_.setProperty("touch-action","none"),o&&((M=(P=t.value)==null?void 0:P.style)==null||M.setProperty("-webkit-user-select","none"),(D=(F=t.value)==null?void 0:F.style)==null||D.setProperty("-ms-user-select","none"),(J=(I=t.value)==null?void 0:I.style)==null||J.setProperty("user-select","none"))});const g=()=>W.forEach(b=>b());return{isSwiping:q(m),direction:q(S),posStart:q(r),posEnd:q(c),distanceX:f,distanceY:p,stop:g}}function an(e,n={}){const{threshold:t=50,onSwipe:l,onSwipeEnd:i,onSwipeStart:s,passive:a=!0}=n,o=G({x:0,y:0}),r=G({x:0,y:0}),u=T(()=>o.x-r.x),c=T(()=>o.y-r.y),{max:v,abs:f}=Math,p=T(()=>v(f(u.value),f(c.value))>=t),h=E(!1),y=T(()=>p.value?f(u.value)>f(c.value)?u.value>0?"left":"right":c.value>0?"up":"down":"none"),w=g=>[g.touches[0].clientX,g.touches[0].clientY],m=(g,b)=>{o.x=g,o.y=b},d=(g,b)=>{r.x=g,r.y=b},S={passive:a,capture:!a},k=g=>{h.value&&(i==null||i(g,y.value)),h.value=!1},R=[O(e,"touchstart",g=>{if(g.touches.length!==1)return;const[b,_]=w(g);m(b,_),d(b,_),s==null||s(g)},S),O(e,"touchmove",g=>{if(g.touches.length!==1)return;const[b,_]=w(g);d(b,_),S.capture&&!S.passive&&Math.abs(u.value)>Math.abs(c.value)&&g.preventDefault(),!h.value&&p.value&&(h.value=!0),h.value&&(l==null||l(g))},S),O(e,["touchend","touchcancel"],k,S)];return{isSwiping:h,direction:y,coordsStart:o,coordsEnd:r,lengthX:u,lengthY:c,stop:()=>R.forEach(g=>g()),isPassiveEventSupported:!0}}function cn(e={}){const{window:n=H,initialWidth:t=Number.POSITIVE_INFINITY,initialHeight:l=Number.POSITIVE_INFINITY,listenOrientation:i=!0,includeScrollbar:s=!0,type:a="inner"}=e,o=E(t),r=E(l),u=()=>{if(n)if(a==="outer")o.value=n.outerWidth,r.value=n.outerHeight;else if(a==="visual"&&n.visualViewport){const{width:v,height:f,scale:p}=n.visualViewport;o.value=Math.round(v*p),r.value=Math.round(f*p)}else s?(o.value=n.innerWidth,r.value=n.innerHeight):(o.value=n.document.documentElement.clientWidth,r.value=n.document.documentElement.clientHeight)};u(),Z(u);const c={passive:!0};if(O("resize",u,c),n&&a==="visual"&&n.visualViewport&&O(n.visualViewport,"resize",u,c),i){const v=Et("(orientation: portrait)");z(v,()=>u())}return{width:o,height:r}}const te=$?window:void 0;function j(e){var n;const t=x(e);return(n=t==null?void 0:t.$el)!=null?n:t}function U(...e){const n=[],t=()=>{n.forEach(o=>o()),n.length=0},l=(o,r,u,c)=>(o.addEventListener(r,u,c),()=>o.removeEventListener(r,u,c)),i=T(()=>{const o=Y(x(e[0])).filter(r=>r!=null);return o.every(r=>typeof r!="string")?o:void 0}),s=He(()=>{var o,r;return[(r=(o=i.value)==null?void 0:o.map(u=>j(u)))!=null?r:[te].filter(u=>u!=null),Y(x(i.value?e[1]:e[0])),Y(Ae(i.value?e[2]:e[1])),x(i.value?e[3]:e[2])]},([o,r,u,c])=>{if(t(),!(o!=null&&o.length)||!(r!=null&&r.length)||!(u!=null&&u.length))return;const v=Ce(c)?{...c}:c;n.push(...o.flatMap(f=>r.flatMap(p=>u.map(h=>l(f,p,h,v)))))},{flush:"post"}),a=()=>{s(),t()};return L(t),a}const Pt=500,At=10;function _e(e,n,t){var l,i;const s=T(()=>j(e));let a,o,r,u=!1;function c(){a&&(clearTimeout(a),a=void 0),o=void 0,r=void 0,u=!1}function v(m){var d,S,k;const[R,W,g]=[r,o,u];if(c(),!(t!=null&&t.onMouseUp)||!W||!R||(d=t==null?void 0:t.modifiers)!=null&&d.self&&m.target!==s.value)return;(S=t==null?void 0:t.modifiers)!=null&&S.prevent&&m.preventDefault(),(k=t==null?void 0:t.modifiers)!=null&&k.stop&&m.stopPropagation();const b=m.x-W.x,_=m.y-W.y,P=Math.sqrt(b*b+_*_);t.onMouseUp(m.timeStamp-R,P,g)}function f(m){var d,S,k,R;(d=t==null?void 0:t.modifiers)!=null&&d.self&&m.target!==s.value||(c(),(S=t==null?void 0:t.modifiers)!=null&&S.prevent&&m.preventDefault(),(k=t==null?void 0:t.modifiers)!=null&&k.stop&&m.stopPropagation(),o={x:m.x,y:m.y},r=m.timeStamp,a=setTimeout(()=>{u=!0,n(m)},(R=t==null?void 0:t.delay)!=null?R:Pt))}function p(m){var d,S,k,R;if((d=t==null?void 0:t.modifiers)!=null&&d.self&&m.target!==s.value||!o||(t==null?void 0:t.distanceThreshold)===!1)return;(S=t==null?void 0:t.modifiers)!=null&&S.prevent&&m.preventDefault(),(k=t==null?void 0:t.modifiers)!=null&&k.stop&&m.stopPropagation();const W=m.x-o.x,g=m.y-o.y;Math.sqrt(W*W+g*g)>=((R=t==null?void 0:t.distanceThreshold)!=null?R:At)&&c()}const h={capture:(l=t==null?void 0:t.modifiers)==null?void 0:l.capture,once:(i=t==null?void 0:t.modifiers)==null?void 0:i.once},y=[U(s,"pointerdown",f,h),U(s,"pointermove",p,h),U(s,["pointerup","pointerleave"],v,h)];return()=>y.forEach(m=>m())}const fn={mounted(e,n){typeof n.value=="function"?_e(e,n.value,{modifiers:n.modifiers}):_e(e,...n.value)}};function Ct(){const e=E(!1),n=re();return n&&de(()=>{e.value=!0},n),e}function $e(e){const n=Ct();return T(()=>(n.value,!!e()))}function Wt(e,n,t={}){const{window:l=te,...i}=t;let s;const a=$e(()=>l&&"MutationObserver"in l),o=()=>{s&&(s.disconnect(),s=void 0)},r=T(()=>{const f=x(e),p=Y(f).map(j).filter(ve);return new Set(p)}),u=z(()=>r.value,f=>{o(),a.value&&f.size&&(s=new MutationObserver(n),f.forEach(p=>s.observe(p,i)))},{immediate:!0,flush:"post"}),c=()=>s==null?void 0:s.takeRecords(),v=()=>{u(),o()};return L(v),{isSupported:a,stop:v,takeRecords:c}}function Lt(e,n,t={}){const{window:l=te,document:i=l==null?void 0:l.document,flush:s="sync"}=t;if(!l||!i)return A;let a;const o=c=>{a==null||a(),a=c},r=ee(()=>{const c=j(e);if(c){const{stop:v}=Wt(i,f=>{f.map(h=>[...h.removedNodes]).flat().some(h=>h===c||h.contains(c))&&n(f)},{window:l,childList:!0,subtree:!0});o(v)}},{flush:s}),u=()=>{r(),o()};return L(u),u}function Oe(e,n={}){const{delayEnter:t=0,delayLeave:l=0,triggerOnRemoval:i=!1,window:s=te}=n,a=E(!1);let o;const r=u=>{const c=u?t:l;o&&(clearTimeout(o),o=void 0),c?o=setTimeout(()=>a.value=u,c):a.value=u};return s&&(U(e,"mouseenter",()=>r(!0),{passive:!0}),U(e,"mouseleave",()=>r(!1),{passive:!0}),i&&Lt(T(()=>j(e)),()=>r(!1))),a}const dn={mounted(e,n){const t=n.value;if(typeof t=="function"){const l=Oe(e);z(l,i=>t(i))}else{const[l,i]=t,s=Oe(e,i);z(s,a=>l(a))}}};function Te(e,n,t={}){const{root:l,rootMargin:i="0px",threshold:s=0,window:a=te,immediate:o=!0}=t,r=$e(()=>a&&"IntersectionObserver"in a),u=T(()=>{const h=x(e);return Y(h).map(j).filter(ve)});let c=A;const v=E(o),f=r.value?z(()=>[u.value,j(l),v.value],([h,y])=>{if(c(),!v.value||!h.length)return;const w=new IntersectionObserver(n,{root:j(y),rootMargin:i,threshold:s});h.forEach(m=>m&&w.observe(m)),c=()=>{w.disconnect(),c=A}},{immediate:o,flush:"post"}):A,p=()=>{c(),f(),v.value=!1};return L(p),{isSupported:r,isActive:v,pause(){c(),v.value=!1},resume(){v.value=!0},stop:p}}function ae(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}const vn={mounted(e,n){typeof n.value=="function"?Te(e,n.value):Te(e,...n.value)}};function je(e){const n=window.getComputedStyle(e);if(n.overflowX==="scroll"||n.overflowY==="scroll"||n.overflowX==="auto"&&e.clientWidth<e.scrollWidth||n.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const t=e.parentNode;return!t||t.tagName==="BODY"?!1:je(t)}}function Ht(e){const n=e||window.event,t=n.target;return je(t)?!1:n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)}const ce=new WeakMap;function zt(e,n=!1){const t=E(n);let l=null,i="";z(se(e),o=>{const r=ae(x(o));if(r){const u=r;if(ce.get(u)||ce.set(u,u.style.overflow),u.style.overflow!=="hidden"&&(i=u.style.overflow),u.style.overflow==="hidden")return t.value=!0;if(t.value)return u.style.overflow="hidden"}},{immediate:!0});const s=()=>{const o=ae(x(e));!o||t.value||(fe&&(l=U(o,"touchmove",r=>{Ht(r)},{passive:!1})),o.style.overflow="hidden",t.value=!0)},a=()=>{const o=ae(x(e));!o||!t.value||(fe&&(l==null||l()),o.style.overflow=i,ce.delete(o),t.value=!1)};return L(a),T({get(){return t.value},set(o){o?s():a()}})}function It(){let e=!1;const n=E(!1);return(t,l)=>{if(n.value=l.value,e)return;e=!0;const i=zt(t,l.value);z(n,s=>i.value=s)}}It();function mn(e,n){const t=Q(void 0),l=e.subscribe({next:i=>t.value=i,error:void 0});return L(()=>{l.unsubscribe()}),t}function pn(e=null,n){const t=se(e),l=T({set:s=>s?N.start():N.done(),get:()=>typeof t.value=="number"&&t.value<1});n&&N.configure(n);const i=N.set;return N.set=s=>(t.value=s,i.call(N,s)),ee(()=>{typeof t.value=="number"&&$&&i.call(N,t.value)}),L(N.remove),{isLoading:l,progress:t,start:N.start,done:N.done,remove:()=>{t.value=null,N.remove()}}}export{rn as A,on as B,Bt as C,Ye as D,ut as E,Vt as a,cn as b,$t as c,sn as d,en as e,Et as f,vn as g,an as h,un as i,qt as j,Xt as k,Jt as l,Qt as m,fn as n,Ut as o,mn as p,Zt as q,jt as r,Kt as s,tn as t,ln as u,dn as v,nn as w,O as x,Gt as y,pn as z};