@camera.ui/server 0.0.69 → 0.0.70

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 (117) hide show
  1. package/dist/interface/index.html +44 -44
  2. package/dist/interface/js/{@primevue.C5r50LKM.0.0.69.js → @primevue.DH9ak_9x.0.0.70.js} +1 -1
  3. package/dist/interface/js/{@tanstack.ESyaYTt8.0.0.69.js → @tanstack.Dk2rc1Gz.0.0.70.js} +1 -1
  4. package/dist/interface/js/{@vee-validate.CeUgfPaH.0.0.69.js → @vee-validate.i4o6WINE.0.0.70.js} +1 -1
  5. package/dist/interface/js/{@vueuse.NhwSnX_y.0.0.69.js → @vueuse.T3qy5Jq4.0.0.70.js} +1 -1
  6. package/dist/interface/js/{Adminpanel.CR_zSM68.0.0.69.js → Adminpanel.CBQfnvy1.0.0.70.js} +1 -1
  7. package/dist/interface/js/{Camera.Cc2GMAQz.0.0.69.js → Camera.D39v2Qae.0.0.70.js} +1 -1
  8. package/dist/interface/js/{Cameras.AVNvfmPx.0.0.69.js → Cameras.BOXzVzD9.0.0.70.js} +1 -1
  9. package/dist/interface/js/Cammesh.bs93Or8F.0.0.70.js +1 -0
  10. package/dist/interface/js/{Camview.CTs17jUK.0.0.69.js → Camview.R2Zpw-wS.0.0.70.js} +1 -1
  11. package/dist/interface/js/{Config.BcnTMnwK.0.0.69.js → Config.D89tTvo2.0.0.70.js} +2 -2
  12. package/dist/interface/js/{Console.C2u30_a4.0.0.69.js → Console.DX4_ZVPM.0.0.70.js} +1 -1
  13. package/dist/interface/js/{CuiConsole.C_vx3eur.0.0.69.js → CuiConsole.B-YJZ4uY.0.0.70.js} +1 -1
  14. package/dist/interface/js/{CuiPluginCard.DXCSR91d.0.0.69.js → CuiPluginCard.CFaLdBEf.0.0.70.js} +1 -1
  15. package/dist/interface/js/{CuiTimeline.D24_kazZ.0.0.69.js → CuiTimeline.DbPA3XCf.0.0.70.js} +1 -1
  16. package/dist/interface/js/{FirstSteps.DmFQyph_.0.0.69.js → FirstSteps.BjUQYXwF.0.0.70.js} +1 -1
  17. package/dist/interface/js/{Plugin.DnLoseHB.0.0.69.js → Plugin.Dl21oK_u.0.0.70.js} +1 -1
  18. package/dist/interface/js/{Plugins.D6nWkZe3.0.0.69.js → Plugins.DphA9uPk.0.0.70.js} +1 -1
  19. package/dist/interface/js/Recordings.B2b7JutC.0.0.70.js +1 -0
  20. package/dist/interface/js/{Settings.CLR_jqKd.0.0.69.js → Settings.D_hL6kBb.0.0.70.js} +1 -1
  21. package/dist/interface/js/{SettingsAccount.D9QAC8hM.0.0.69.js → SettingsAccount.2ETTD3p8.0.0.70.js} +1 -1
  22. package/dist/interface/js/SettingsAppearance.DkI9GlMu.0.0.70.js +1 -0
  23. package/dist/interface/js/{SettingsAppearance.vue_vue_type_script_setup_true_lang.DZQvbT2Y.0.0.69.js → SettingsAppearance.vue_vue_type_script_setup_true_lang.D6sykhe2.0.0.70.js} +1 -1
  24. package/dist/interface/js/{SettingsBackup.C35jy9a9.0.0.69.js → SettingsBackup.Ce3e31yn.0.0.70.js} +1 -1
  25. package/dist/interface/js/SettingsRecordings.C_hEpi6y.0.0.70.js +1 -0
  26. package/dist/interface/js/{SettingsRemote.BrU66scR.0.0.69.js → SettingsRemote.BDp_l894.0.0.70.js} +1 -1
  27. package/dist/interface/js/{SettingsSystem.DmU4H9b1.0.0.69.js → SettingsSystem.CFjS9i7G.0.0.70.js} +1 -1
  28. package/dist/interface/js/{SettingsUsers.DQN0jbzy.0.0.69.js → SettingsUsers.BpTad4f8.0.0.70.js} +1 -1
  29. package/dist/interface/js/{VersionsHandler.vue_vue_type_script_setup_true_lang.Cyp9Qkwy.0.0.69.js → VersionsHandler.vue_vue_type_script_setup_true_lang.MC8r914h.0.0.70.js} +1 -1
  30. package/dist/interface/js/{ace-builds.D-7Qis2t.0.0.69.js → ace-builds.DPRnfcwI.0.0.70.js} +2 -2
  31. package/dist/interface/js/{ace.config.ButjQxKc.0.0.69.js → ace.config.DReCZ4VN.0.0.70.js} +1 -1
  32. package/dist/interface/js/{backup.ZVXbFg1K.0.0.69.js → backup.CqN-DI7C.0.0.70.js} +1 -1
  33. package/dist/interface/js/{chart.js.Dz1J8kd4.0.0.69.js → chart.js.B5ohq2tj.0.0.70.js} +1 -1
  34. package/dist/interface/js/{close-circle.DJNW4HfJ.0.0.69.js → close-circle.CMnO5OKl.0.0.70.js} +1 -1
  35. package/dist/interface/js/{dnd-core.D_qG7vz7.0.0.69.js → dnd-core.DuFbUDJC.0.0.70.js} +1 -1
  36. package/dist/interface/js/{draggabilly.BoYjrLDK.0.0.69.js → draggabilly.Cuzjcd7v.0.0.70.js} +1 -1
  37. package/dist/interface/js/{engine.io-client.B5m3FsEv.0.0.69.js → engine.io-client.CnosWdRP.0.0.70.js} +1 -1
  38. package/dist/interface/js/{fast-deep-equal.IL3J8jAG.0.0.69.js → fast-deep-equal.D0g7BF3f.0.0.70.js} +1 -1
  39. package/dist/interface/js/{highlight.js.BSQb76p3.0.0.69.js → highlight.js.DTPofZhc.0.0.70.js} +1 -1
  40. package/dist/interface/js/{linkify-it.DggZxsPz.0.0.69.js → linkify-it.imhCvGRq.0.0.70.js} +1 -1
  41. package/dist/interface/js/{main.BNZUJnjG.0.0.69.js → main.D2NZuTnM.0.0.70.js} +3 -3
  42. package/dist/interface/js/{markdown-it.MLL3O76W.0.0.69.js → markdown-it.VQvmcJVu.0.0.70.js} +1 -1
  43. package/dist/interface/js/{nprogress.BYU1Y2h8.0.0.69.js → nprogress.DuNJBXnf.0.0.70.js} +1 -1
  44. package/dist/interface/js/{pinia.xXUM0Drf.0.0.69.js → pinia.BeBGFuqK.0.0.70.js} +1 -1
  45. package/dist/interface/js/{primevue.CYqFPO0y.0.0.69.js → primevue.BVVo-ukB.0.0.70.js} +1 -1
  46. package/dist/interface/js/{qrcode.D3FbUuTi.0.0.69.js → qrcode.D7KqKQTM.0.0.70.js} +1 -1
  47. package/dist/interface/js/{react-dnd-touch-backend.ChJx6T3S.0.0.69.js → react-dnd-touch-backend.4hAOsMRp.0.0.70.js} +1 -1
  48. package/dist/interface/js/{refresh-rounded.DLelUEXh.0.0.69.js → refresh-rounded.BzWz29y2.0.0.70.js} +1 -1
  49. package/dist/interface/js/{rxjs.AXKlNjX-.0.0.69.js → rxjs.UbFxmZ7q.0.0.70.js} +1 -1
  50. package/dist/interface/js/{socket.io-client.NZWSNJlD.0.0.69.js → socket.io-client.DC_wUGxw.0.0.70.js} +1 -1
  51. package/dist/interface/js/{socket.io-parser.3CqTF9_v.0.0.69.js → socket.io-parser.ChgZ8FD_.0.0.70.js} +1 -1
  52. package/dist/interface/js/{system.AeO3hneo.0.0.69.js → system.Ccn9lMgI.0.0.70.js} +1 -1
  53. package/dist/interface/js/{trash-fill.CxzXm2nA.0.0.69.js → trash-fill.C8ZgD-Jz.0.0.70.js} +1 -1
  54. package/dist/interface/js/{unidragger.UylmBmyV.0.0.69.js → unidragger.DahEY3cm.0.0.70.js} +1 -1
  55. package/dist/interface/js/{vee-validate.CXzK59HL.0.0.69.js → vee-validate.DwwGVNzx.0.0.70.js} +1 -1
  56. package/dist/interface/js/{vue-chartjs.Dr8dSHCc.0.0.69.js → vue-chartjs.KCIQuea5.0.0.70.js} +1 -1
  57. package/dist/interface/js/{vue-i18n.BsJO9RBQ.0.0.69.js → vue-i18n.BLwVbi61.0.0.70.js} +1 -1
  58. package/dist/interface/js/{vue-inline-svg.1baioXR8.0.0.69.js → vue-inline-svg.B52C1cW8.0.0.70.js} +1 -1
  59. package/dist/interface/js/{vue-router.Cnp23wAe.0.0.69.js → vue-router.BQuUBAAr.0.0.70.js} +1 -1
  60. package/dist/interface/js/{vue-zoomable.DMxVl9qH.0.0.69.js → vue-zoomable.Cq7IVJt5.0.0.70.js} +1 -1
  61. package/dist/interface/js/{vue3-dnd.Cre7FigV.0.0.69.js → vue3-dnd.2Dj_EakH.0.0.70.js} +1 -1
  62. package/dist/interface/js/{zoom-out.BEqLMm84.0.0.69.js → zoom-out.D4ga9c-w.0.0.70.js} +1 -1
  63. package/dist/interface/sw.js +1 -1
  64. package/dist/server/package.json +3 -3
  65. package/package.json +3 -3
  66. package/dist/interface/js/Cammesh.6TFnt2Jx.0.0.69.js +0 -1
  67. package/dist/interface/js/Recordings.BGcye9TW.0.0.69.js +0 -1
  68. package/dist/interface/js/SettingsAppearance.Dg_3Nbvy.0.0.69.js +0 -1
  69. package/dist/interface/js/SettingsRecordings.C5na6ke4.0.0.69.js +0 -1
  70. /package/dist/interface/assets/{@xterm.DYP7pi_n.0.0.69.css → @xterm.DYP7pi_n.0.0.70.css} +0 -0
  71. /package/dist/interface/assets/{Adminpanel.BKek2EMH.0.0.69.css → Adminpanel.BKek2EMH.0.0.70.css} +0 -0
  72. /package/dist/interface/assets/{Cameras.BDWZJqPN.0.0.69.css → Cameras.BDWZJqPN.0.0.70.css} +0 -0
  73. /package/dist/interface/assets/{Camview.Cvhuou6V.0.0.69.css → Camview.Cvhuou6V.0.0.70.css} +0 -0
  74. /package/dist/interface/assets/{CuiConsole.DCYyxdVg.0.0.69.css → CuiConsole.DCYyxdVg.0.0.70.css} +0 -0
  75. /package/dist/interface/assets/{CuiPluginCard.yF8V0SZY.0.0.69.css → CuiPluginCard.yF8V0SZY.0.0.70.css} +0 -0
  76. /package/dist/interface/assets/{CuiTimeline.BkIwlYtw.0.0.69.css → CuiTimeline.BkIwlYtw.0.0.70.css} +0 -0
  77. /package/dist/interface/assets/{Plugin.DJElsAn5.0.0.69.css → Plugin.DJElsAn5.0.0.70.css} +0 -0
  78. /package/dist/interface/assets/{Plugins.BwPlcRrV.0.0.69.css → Plugins.BwPlcRrV.0.0.70.css} +0 -0
  79. /package/dist/interface/assets/{Settings.CkgfRkQr.0.0.69.css → Settings.CkgfRkQr.0.0.70.css} +0 -0
  80. /package/dist/interface/assets/{SettingsAccount.CDZT7gN-.0.0.69.css → SettingsAccount.CDZT7gN-.0.0.70.css} +0 -0
  81. /package/dist/interface/assets/{SettingsBackup.CX0rT0QJ.0.0.69.css → SettingsBackup.CX0rT0QJ.0.0.70.css} +0 -0
  82. /package/dist/interface/assets/{highlight.Ch2EwETz.0.0.69.css → highlight.Ch2EwETz.0.0.70.css} +0 -0
  83. /package/dist/interface/assets/{logo-256.BCQk9H1-.0.0.69.png → logo-256.BCQk9H1-.0.0.70.png} +0 -0
  84. /package/dist/interface/assets/{logo-512.DLKVOU2S.0.0.69.png → logo-512.DLKVOU2S.0.0.70.png} +0 -0
  85. /package/dist/interface/assets/{logo.DmEiRk0z.0.0.69.png → logo.DmEiRk0z.0.0.70.png} +0 -0
  86. /package/dist/interface/assets/{main.BmO7mnW4.0.0.69.css → main.BmO7mnW4.0.0.70.css} +0 -0
  87. /package/dist/interface/assets/{mode-yaml.CIYL8U3d.0.0.69.js → mode-yaml.CIYL8U3d.0.0.70.js} +0 -0
  88. /package/dist/interface/assets/{worker-base.jEXLGV2h.0.0.69.js → worker-base.jEXLGV2h.0.0.70.js} +0 -0
  89. /package/dist/interface/assets/{worker-yaml.B3uUYINB.0.0.69.js → worker-yaml.B3uUYINB.0.0.70.js} +0 -0
  90. /package/dist/interface/js/{@babel.l0sNRNKZ.0.0.69.js → @babel.l0sNRNKZ.0.0.70.js} +0 -0
  91. /package/dist/interface/js/{@intlify.6ljJeWIl.0.0.69.js → @intlify.6ljJeWIl.0.0.70.js} +0 -0
  92. /package/dist/interface/js/{@kurkle.D8fDXNIl.0.0.69.js → @kurkle.D8fDXNIl.0.0.70.js} +0 -0
  93. /package/dist/interface/js/{@primeuix.bRNqZjQz.0.0.69.js → @primeuix.bRNqZjQz.0.0.70.js} +0 -0
  94. /package/dist/interface/js/{@react-dnd.CcwRs9xb.0.0.69.js → @react-dnd.CcwRs9xb.0.0.70.js} +0 -0
  95. /package/dist/interface/js/{@socket.io.Dkula2eQ.0.0.69.js → @socket.io.Dkula2eQ.0.0.70.js} +0 -0
  96. /package/dist/interface/js/{@vue.BsSvBeCe.0.0.69.js → @vue.BsSvBeCe.0.0.70.js} +0 -0
  97. /package/dist/interface/js/{@xterm.DHnCBlz-.0.0.69.js → @xterm.CJZZM5vf.0.0.70.js} +0 -0
  98. /package/dist/interface/js/{axios.lj9VQs0f.0.0.69.js → axios.lj9VQs0f.0.0.70.js} +0 -0
  99. /package/dist/interface/js/{birpc.l0sNRNKZ.0.0.69.js → birpc.l0sNRNKZ.0.0.70.js} +0 -0
  100. /package/dist/interface/js/{compare-versions.DqEOhma6.0.0.69.js → compare-versions.DqEOhma6.0.0.70.js} +0 -0
  101. /package/dist/interface/js/{dijkstrajs.C00ieaqj.0.0.69.js → dijkstrajs.C00ieaqj.0.0.70.js} +0 -0
  102. /package/dist/interface/js/{engine.io-parser.BiEtp6m2.0.0.69.js → engine.io-parser.BiEtp6m2.0.0.70.js} +0 -0
  103. /package/dist/interface/js/{entities.C20TfXL6.0.0.69.js → entities.C20TfXL6.0.0.70.js} +0 -0
  104. /package/dist/interface/js/{ev-emitter.X5f1qa-c.0.0.69.js → ev-emitter.X5f1qa-c.0.0.70.js} +0 -0
  105. /package/dist/interface/js/{get-size.D1dS-IaP.0.0.69.js → get-size.D1dS-IaP.0.0.70.js} +0 -0
  106. /package/dist/interface/js/{hookable.l0sNRNKZ.0.0.69.js → hookable.l0sNRNKZ.0.0.70.js} +0 -0
  107. /package/dist/interface/js/{mdurl.k9Sl0PQj.0.0.69.js → mdurl.k9Sl0PQj.0.0.70.js} +0 -0
  108. /package/dist/interface/js/{perfect-debounce.l0sNRNKZ.0.0.69.js → perfect-debounce.l0sNRNKZ.0.0.70.js} +0 -0
  109. /package/dist/interface/js/{primelocale.Bga3dOQu.0.0.69.js → primelocale.Bga3dOQu.0.0.70.js} +0 -0
  110. /package/dist/interface/js/{punycode.js.Dj65hjkv.0.0.69.js → punycode.js.Dj65hjkv.0.0.70.js} +0 -0
  111. /package/dist/interface/js/{react-dnd-html5-backend.1HQjlkwI.0.0.69.js → react-dnd-html5-backend.1HQjlkwI.0.0.70.js} +0 -0
  112. /package/dist/interface/js/{redux.BFxtlG_c.0.0.69.js → redux.BFxtlG_c.0.0.70.js} +0 -0
  113. /package/dist/interface/js/{tslib.9k7AwCpt.0.0.69.js → tslib.9k7AwCpt.0.0.70.js} +0 -0
  114. /package/dist/interface/js/{uc.micro.kMc2yuuw.0.0.69.js → uc.micro.kMc2yuuw.0.0.70.js} +0 -0
  115. /package/dist/interface/js/{uuid.C6aID195.0.0.69.js → uuid.C6aID195.0.0.70.js} +0 -0
  116. /package/dist/interface/js/{vue.l0sNRNKZ.0.0.69.js → vue.l0sNRNKZ.0.0.70.js} +0 -0
  117. /package/dist/interface/js/{zod.2bfLsWMZ.0.0.69.js → zod.2bfLsWMZ.0.0.70.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.BNZUJnjG.0.0.69.js"></script>
337
- <link rel="modulepreload" crossorigin href="/js/@vue.BsSvBeCe.0.0.69.js">
338
- <link rel="modulepreload" crossorigin href="/js/@tanstack.ESyaYTt8.0.0.69.js">
339
- <link rel="modulepreload" crossorigin href="/js/@primeuix.bRNqZjQz.0.0.69.js">
340
- <link rel="modulepreload" crossorigin href="/js/@primevue.C5r50LKM.0.0.69.js">
341
- <link rel="modulepreload" crossorigin href="/js/primevue.CYqFPO0y.0.0.69.js">
342
- <link rel="modulepreload" crossorigin href="/js/@xterm.DHnCBlz-.0.0.69.js">
343
- <link rel="modulepreload" crossorigin href="/js/nprogress.BYU1Y2h8.0.0.69.js">
344
- <link rel="modulepreload" crossorigin href="/js/@vueuse.NhwSnX_y.0.0.69.js">
345
- <link rel="modulepreload" crossorigin href="/js/axios.lj9VQs0f.0.0.69.js">
346
- <link rel="modulepreload" crossorigin href="/js/@intlify.6ljJeWIl.0.0.69.js">
347
- <link rel="modulepreload" crossorigin href="/js/vue-i18n.BsJO9RBQ.0.0.69.js">
348
- <link rel="modulepreload" crossorigin href="/js/pinia.xXUM0Drf.0.0.69.js">
349
- <link rel="modulepreload" crossorigin href="/js/vue-router.Cnp23wAe.0.0.69.js">
350
- <link rel="modulepreload" crossorigin href="/js/vue-inline-svg.1baioXR8.0.0.69.js">
351
- <link rel="modulepreload" crossorigin href="/js/vee-validate.CXzK59HL.0.0.69.js">
352
- <link rel="modulepreload" crossorigin href="/js/zod.2bfLsWMZ.0.0.69.js">
353
- <link rel="modulepreload" crossorigin href="/js/@vee-validate.CeUgfPaH.0.0.69.js">
354
- <link rel="modulepreload" crossorigin href="/js/uuid.C6aID195.0.0.69.js">
355
- <link rel="modulepreload" crossorigin href="/js/engine.io-parser.BiEtp6m2.0.0.69.js">
356
- <link rel="modulepreload" crossorigin href="/js/@socket.io.Dkula2eQ.0.0.69.js">
357
- <link rel="modulepreload" crossorigin href="/js/engine.io-client.B5m3FsEv.0.0.69.js">
358
- <link rel="modulepreload" crossorigin href="/js/socket.io-parser.3CqTF9_v.0.0.69.js">
359
- <link rel="modulepreload" crossorigin href="/js/socket.io-client.NZWSNJlD.0.0.69.js">
360
- <link rel="modulepreload" crossorigin href="/js/tslib.9k7AwCpt.0.0.69.js">
361
- <link rel="modulepreload" crossorigin href="/js/rxjs.AXKlNjX-.0.0.69.js">
362
- <link rel="modulepreload" crossorigin href="/js/highlight.js.BSQb76p3.0.0.69.js">
363
- <link rel="modulepreload" crossorigin href="/js/mdurl.k9Sl0PQj.0.0.69.js">
364
- <link rel="modulepreload" crossorigin href="/js/uc.micro.kMc2yuuw.0.0.69.js">
365
- <link rel="modulepreload" crossorigin href="/js/entities.C20TfXL6.0.0.69.js">
366
- <link rel="modulepreload" crossorigin href="/js/linkify-it.DggZxsPz.0.0.69.js">
367
- <link rel="modulepreload" crossorigin href="/js/punycode.js.Dj65hjkv.0.0.69.js">
368
- <link rel="modulepreload" crossorigin href="/js/markdown-it.MLL3O76W.0.0.69.js">
369
- <link rel="modulepreload" crossorigin href="/js/dijkstrajs.C00ieaqj.0.0.69.js">
370
- <link rel="modulepreload" crossorigin href="/js/qrcode.D3FbUuTi.0.0.69.js">
371
- <link rel="modulepreload" crossorigin href="/js/get-size.D1dS-IaP.0.0.69.js">
372
- <link rel="modulepreload" crossorigin href="/js/ev-emitter.X5f1qa-c.0.0.69.js">
373
- <link rel="modulepreload" crossorigin href="/js/unidragger.UylmBmyV.0.0.69.js">
374
- <link rel="modulepreload" crossorigin href="/js/draggabilly.BoYjrLDK.0.0.69.js">
375
- <link rel="modulepreload" crossorigin href="/js/vue-zoomable.DMxVl9qH.0.0.69.js">
376
- <link rel="modulepreload" crossorigin href="/js/primelocale.Bga3dOQu.0.0.69.js">
377
- <link rel="stylesheet" crossorigin href="/assets/@xterm.DYP7pi_n.0.0.69.css">
378
- <link rel="stylesheet" crossorigin href="/assets/highlight.Ch2EwETz.0.0.69.css">
379
- <link rel="stylesheet" crossorigin href="/assets/main.BmO7mnW4.0.0.69.css">
336
+ <script type="module" crossorigin src="/js/main.D2NZuTnM.0.0.70.js"></script>
337
+ <link rel="modulepreload" crossorigin href="/js/@vue.BsSvBeCe.0.0.70.js">
338
+ <link rel="modulepreload" crossorigin href="/js/@tanstack.Dk2rc1Gz.0.0.70.js">
339
+ <link rel="modulepreload" crossorigin href="/js/@primeuix.bRNqZjQz.0.0.70.js">
340
+ <link rel="modulepreload" crossorigin href="/js/@primevue.DH9ak_9x.0.0.70.js">
341
+ <link rel="modulepreload" crossorigin href="/js/primevue.BVVo-ukB.0.0.70.js">
342
+ <link rel="modulepreload" crossorigin href="/js/@xterm.CJZZM5vf.0.0.70.js">
343
+ <link rel="modulepreload" crossorigin href="/js/nprogress.DuNJBXnf.0.0.70.js">
344
+ <link rel="modulepreload" crossorigin href="/js/@vueuse.T3qy5Jq4.0.0.70.js">
345
+ <link rel="modulepreload" crossorigin href="/js/axios.lj9VQs0f.0.0.70.js">
346
+ <link rel="modulepreload" crossorigin href="/js/@intlify.6ljJeWIl.0.0.70.js">
347
+ <link rel="modulepreload" crossorigin href="/js/vue-i18n.BLwVbi61.0.0.70.js">
348
+ <link rel="modulepreload" crossorigin href="/js/pinia.BeBGFuqK.0.0.70.js">
349
+ <link rel="modulepreload" crossorigin href="/js/vue-router.BQuUBAAr.0.0.70.js">
350
+ <link rel="modulepreload" crossorigin href="/js/vue-inline-svg.B52C1cW8.0.0.70.js">
351
+ <link rel="modulepreload" crossorigin href="/js/vee-validate.DwwGVNzx.0.0.70.js">
352
+ <link rel="modulepreload" crossorigin href="/js/zod.2bfLsWMZ.0.0.70.js">
353
+ <link rel="modulepreload" crossorigin href="/js/@vee-validate.i4o6WINE.0.0.70.js">
354
+ <link rel="modulepreload" crossorigin href="/js/uuid.C6aID195.0.0.70.js">
355
+ <link rel="modulepreload" crossorigin href="/js/engine.io-parser.BiEtp6m2.0.0.70.js">
356
+ <link rel="modulepreload" crossorigin href="/js/@socket.io.Dkula2eQ.0.0.70.js">
357
+ <link rel="modulepreload" crossorigin href="/js/engine.io-client.CnosWdRP.0.0.70.js">
358
+ <link rel="modulepreload" crossorigin href="/js/socket.io-parser.ChgZ8FD_.0.0.70.js">
359
+ <link rel="modulepreload" crossorigin href="/js/socket.io-client.DC_wUGxw.0.0.70.js">
360
+ <link rel="modulepreload" crossorigin href="/js/tslib.9k7AwCpt.0.0.70.js">
361
+ <link rel="modulepreload" crossorigin href="/js/rxjs.UbFxmZ7q.0.0.70.js">
362
+ <link rel="modulepreload" crossorigin href="/js/highlight.js.DTPofZhc.0.0.70.js">
363
+ <link rel="modulepreload" crossorigin href="/js/mdurl.k9Sl0PQj.0.0.70.js">
364
+ <link rel="modulepreload" crossorigin href="/js/uc.micro.kMc2yuuw.0.0.70.js">
365
+ <link rel="modulepreload" crossorigin href="/js/entities.C20TfXL6.0.0.70.js">
366
+ <link rel="modulepreload" crossorigin href="/js/linkify-it.imhCvGRq.0.0.70.js">
367
+ <link rel="modulepreload" crossorigin href="/js/punycode.js.Dj65hjkv.0.0.70.js">
368
+ <link rel="modulepreload" crossorigin href="/js/markdown-it.VQvmcJVu.0.0.70.js">
369
+ <link rel="modulepreload" crossorigin href="/js/dijkstrajs.C00ieaqj.0.0.70.js">
370
+ <link rel="modulepreload" crossorigin href="/js/qrcode.D7KqKQTM.0.0.70.js">
371
+ <link rel="modulepreload" crossorigin href="/js/get-size.D1dS-IaP.0.0.70.js">
372
+ <link rel="modulepreload" crossorigin href="/js/ev-emitter.X5f1qa-c.0.0.70.js">
373
+ <link rel="modulepreload" crossorigin href="/js/unidragger.DahEY3cm.0.0.70.js">
374
+ <link rel="modulepreload" crossorigin href="/js/draggabilly.Cuzjcd7v.0.0.70.js">
375
+ <link rel="modulepreload" crossorigin href="/js/vue-zoomable.Cq7IVJt5.0.0.70.js">
376
+ <link rel="modulepreload" crossorigin href="/js/primelocale.Bga3dOQu.0.0.70.js">
377
+ <link rel="stylesheet" crossorigin href="/assets/@xterm.DYP7pi_n.0.0.70.css">
378
+ <link rel="stylesheet" crossorigin href="/assets/highlight.Ch2EwETz.0.0.70.css">
379
+ <link rel="stylesheet" crossorigin href="/assets/main.BmO7mnW4.0.0.70.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 le,r as H,a as se,s as b1,b as ue,i as de,c as ce,d as fe,f as O,g as r1,h as q,m as d1,j as I,k as w1,E as pe,l as me,n as N,o as Ce,p as K1,u as ve,q as q1,t as ge,v as F,w as E,x as S1,y as G1,z as z1,A as he,B as ye}from"./@primeuix.bRNqZjQz.0.0.69.js";import{r as a1,a as $e,g as _1,o as be,n as we,w as W,i as Se,b as _e,m as g,u as Le,c as h,d as y,e as v}from"./@vue.BsSvBeCe.0.0.69.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"},nn={AND:"and",OR:"or"};function L1(n,e){var t=typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(!t){if(Array.isArray(n)||(t=Te(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 le,r as H,a as se,s as b1,b as ue,i as de,c as ce,d as fe,f as O,g as r1,h as q,m as d1,j as I,k as w1,E as pe,l as me,n as N,o as Ce,p as K1,u as ve,q as q1,t as ge,v as F,w as E,x as S1,y as G1,z as z1,A as he,B as ye}from"./@primeuix.bRNqZjQz.0.0.70.js";import{r as a1,a as $e,g as _1,o as be,n as we,w as W,i as Se,b as _e,m as g,u as Le,c as h,d as y,e as v}from"./@vue.BsSvBeCe.0.0.70.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"},nn={AND:"and",OR:"or"};function L1(n,e){var t=typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(!t){if(Array.isArray(n)||(t=Te(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 Te(n,e){if(n){if(typeof n=="string")return T1(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)?T1(n,e):void 0}}function T1(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 rn={filter:function(e,t,r,o,i){var u=[];if(!e)return u;var l=L1(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=L1(t),d;try{for(c.s();!(d=c.n()).done;){var f=d.value,m=se(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(le(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 P1(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 O1(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?P1(Object(t),!0).forEach(function(r){Pe(n,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):P1(Object(t)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(t,r))})}return n}function Pe(n,e,t){return(e=Oe(e))in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function Oe(n){var e=xe(n,"string");return G(e)=="symbol"?e:e+""}function xe(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 Ve(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;_1()&&_1().components?be(n):e?n():we(n)}var Me=0;function je(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=a1(!1),r=a1(n),o=a1(null),i=ce()?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(++Me):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,m1=e.onUpdated,l1=m1===void 0?void 0:m1,C1=e.onLoad,s1=C1===void 0?void 0:C1,v1=e.props,ne=v1===void 0?{}:v1,g1=function(){},h1=function(oe){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(l){var n1=O1(O1({},ne),ie),R=n1.name||m,$1=n1.id||T,ae=n1.nonce||V;o.value=l.querySelector('style[data-primevue-style-id="'.concat(R,'"]'))||l.getElementById($1)||l.createElement("style"),o.value.isConnected||(r.value=oe||n,b1(o.value,{type:"text/css",id:$1,media:P,nonce:ae}),L?l.head.prepend(o.value):l.head.appendChild(o.value),ue(o.value,"data-primevue-style-id",R),b1(o.value,n1),o.value.onload=function(u1){return s1==null?void 0:s1(u1,{name:R})},Z==null||Z(R)),!t.value&&(g1=W(r,function(u1){o.value.textContent=u1,l1==null||l1(R)},{immediate:!0}),t.value=!0)}},re=function(){!l||!t.value||(g1(),de(o.value)&&l.head.removeChild(o.value),t.value=!1,o.value=null)};return s&&!d&&Ve(h1),{id:T,name:m,el:o,css:r,unload:re,load:h1,isLoaded:$e(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)}var x1,V1,M1,j1;function A1(n,e){return Ie(n)||Ne(n,e)||He(n,e)||Ae()}function Ae(){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 He(n,e){if(n){if(typeof n=="string")return H1(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)?H1(n,e):void 0}}function H1(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 Ne(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 Ie(n){if(Array.isArray(n))return n}function N1(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 c1(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?N1(Object(t),!0).forEach(function(r){Ee(n,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):N1(Object(t)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(t,r))})}return n}function Ee(n,e,t){return(e=ke(e))in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function ke(n){var e=De(n,"string");return z(e)=="symbol"?e:e+""}function De(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)}function o1(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}var Ze=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),m=(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 wt,l as He,p as _e,a as Ge,t as Ne}from"./@vue.BsSvBeCe.0.0.69.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(){}},gt=typeof window>"u"||"Deno"in globalThis;function L(){}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 ht(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:h,stale:u}=s;if(h){if(i){if(t.queryHash!==ye(h,t.options))return!1}else if(!kt(t.queryKey,h))return!1}if(e!=="all"){const p=t.isActive();if(e==="active"&&!p||e==="inactive"&&p)return!1}return!(typeof u=="boolean"&&t.isStale()!==u||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(Ot(t.options.mutationKey)!==Ot(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)||Ot)(s)}function Ot(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),h=a.length,u=e?[]:{},p=new Set(i);let Q=0;for(let g=0;g<h;g++){const f=e?g:a[g];(!e&&p.has(f)||e)&&s[f]===void 0&&t[f]===void 0?(u[f]=void 0,Q++):(u[f]=Be(s[f],t[f]),u[f]===s[f]&&s[f]!==void 0&&Q++)}return n===h&&Q===n?s:u}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 lt,Z,Qt,Fe,ys=(Fe=class extends jt{constructor(){super();l(this,lt);l(this,Z);l(this,Qt);o(this,Qt,t=>{if(!gt&&window.addEventListener){const e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}})}onSubscribe(){r(this,Z)||this.setEventListener(r(this,Qt))}onUnsubscribe(){var t;this.hasListeners()||((t=r(this,Z))==null||t.call(this),o(this,Z,void 0))}setEventListener(t){var e;o(this,Qt,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,lt)!==t&&(o(this,lt,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(e=>{e(t)})}isFocused(){var t;return typeof r(this,lt)=="boolean"?r(this,lt):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},lt=new WeakMap,Z=new WeakMap,Qt=new WeakMap,Fe),me=new ys,St,tt,Rt,De,ps=(De=class extends jt{constructor(){super();l(this,St,!0);l(this,tt);l(this,Rt);o(this,Rt,t=>{if(!gt&&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,Rt))}onUnsubscribe(){var t;this.hasListeners()||((t=r(this,tt))==null||t.call(this),o(this,tt,void 0))}setEventListener(t){var e;o(this,Rt,t),(e=r(this,tt))==null||e.call(this),o(this,tt,t(this.setOnline.bind(this)))}setOnline(t){r(this,St)!==t&&(o(this,St,t),this.listeners.forEach(i=>{i(t)}))}isOnline(){return r(this,St)}},St=new WeakMap,tt=new WeakMap,Rt=new WeakMap,De),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(),h=d=>{var b;i||(y(new We(d)),(b=s.abort)==null||b.call(s))},u=()=>{t=!0},p=()=>{t=!1},Q=()=>me.isFocused()&&(s.networkMode==="always"||Wt.isOnline())&&s.canRun(),g=()=>ze(s.networkMode)&&s.canRun(),f=d=>{var b;i||(i=!0,(b=s.onSuccess)==null||b.call(s,d),n==null||n(),a.resolve(d))},y=d=>{var b;i||(i=!0,(b=s.onError)==null||b.call(s,d),n==null||n(),a.reject(d))},c=()=>new Promise(d=>{var b;n=S=>{(i||Q())&&d(S)},(b=s.onPause)==null||b.call(s)}).then(()=>{var d;n=void 0,i||(d=s.onContinue)==null||d.call(s)}),w=()=>{if(i)return;let d;const b=e===0?s.initialPromise:void 0;try{d=b??s.fn()}catch(S){d=Promise.reject(S)}Promise.resolve(d).then(f).catch(S=>{var H;if(i)return;const M=s.retry??(gt?0:3),R=s.retryDelay??ms,E=typeof R=="function"?R(e,S):R,K=M===!0||typeof M=="number"&&e<M||typeof M=="function"&&M(e,S);if(t||!K){y(S);return}e++,(H=s.onFail)==null||H.call(s,e,S),ls(E).then(()=>Q()?void 0:c()).then(()=>{t?y(S):w()})})};return{promise:a,cancel:h,continue:()=>(n==null||n(),a),cancelRetry:u,continueRetry:p,canStart:g,start:()=>(g()?w():c().then(w),a)}}var vs=s=>setTimeout(s,0);function bs(){let s=[],t=0,e=u=>{u()},i=u=>{u()},n=vs;const a=u=>{t?s.push(u):n(()=>{e(u)})},h=()=>{const u=s;s=[],u.length&&n(()=>{i(()=>{u.forEach(p=>{e(p)})})})};return{batch:u=>{let p;t++;try{p=u()}finally{t--,t||h()}return p},batchCalls:u=>(...p)=>{a(()=>{u(...p)})},schedule:a,setNotifyFunction:u=>{e=u},setBatchNotifyFunction:u=>{i=u},setScheduler:u=>{n=u}}}var A=bs(),ft,Me,Je=(Me=class{constructor(){l(this,ft)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Xt(this.gcTime)&&o(this,ft,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(s){this.gcTime=Math.max(this.gcTime||0,s??(gt?1/0:5*60*1e3))}clearGcTimeout(){r(this,ft)&&(clearTimeout(r(this,ft)),o(this,ft,void 0))}},ft=new WeakMap,Me),Pt,Ft,k,dt,U,Lt,yt,_,z,Ee,gs=(Ee=class extends Je{constructor(t){super();l(this,_);l(this,Pt);l(this,Ft);l(this,k);l(this,dt);l(this,U);l(this,Lt);l(this,yt);o(this,yt,!1),o(this,Lt,t.defaultOptions),this.setOptions(t.options),this.observers=[],o(this,dt,t.client),o(this,k,r(this,dt).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,o(this,Pt,Os(this.options)),this.state=t.state??r(this,Pt),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=r(this,U))==null?void 0:t.promise}setOptions(t){this.options={...r(this,Lt),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&r(this,k).remove(this)}setData(t,e){const i=te(this.state.data,t,this.options);return m(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){m(this,_,z).call(this,{type:"setState",state:t,setStateOptions:e})}cancel(t){var i,n;const e=(i=r(this,U))==null?void 0:i.promise;return(n=r(this,U))==null||n.cancel(t),e?e.then(L).catch(L):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(r(this,Pt))}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}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>ht(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!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,U))==null||e.continue()}onOnline(){var e;const t=this.observers.find(i=>i.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(e=r(this,U))==null||e.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),r(this,k).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(e=>e!==t),this.observers.length||(r(this,U)&&(r(this,yt)?r(this,U).cancel({revert:!0}):r(this,U).cancelRetry()),this.scheduleGc()),r(this,k).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||m(this,_,z).call(this,{type:"invalidate"})}fetch(t,e){var Q,g,f;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(e!=null&&e.cancelRefetch))this.cancel({silent:!0});else if(r(this,U))return r(this,U).continueRetry(),r(this,U).promise}if(t&&this.setOptions(t),!this.options.queryFn){const y=this.observers.find(c=>c.options.queryFn);y&&this.setOptions(y.options)}const i=new AbortController,n=y=>{Object.defineProperty(y,"signal",{enumerable:!0,get:()=>(o(this,yt,!0),i.signal)})},a=()=>{const y=Ve(this.options,e),w=(()=>{const d={client:r(this,dt),queryKey:this.queryKey,meta:this.meta};return n(d),d})();return o(this,yt,!1),this.options.persister?this.options.persister(y,w,this):y(w)},u=(()=>{const y={fetchOptions:e,options:this.options,queryKey:this.queryKey,client:r(this,dt),state:this.state,fetchFn:a};return n(y),y})();(Q=this.options.behavior)==null||Q.onFetch(u,this),o(this,Ft,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((g=u.fetchOptions)==null?void 0:g.meta))&&m(this,_,z).call(this,{type:"fetch",meta:(f=u.fetchOptions)==null?void 0:f.meta});const p=y=>{var c,w,d,b;Jt(y)&&y.silent||m(this,_,z).call(this,{type:"error",error:y}),Jt(y)||((w=(c=r(this,k).config).onError)==null||w.call(c,y,this),(b=(d=r(this,k).config).onSettled)==null||b.call(d,this.state.data,y,this)),this.scheduleGc()};return o(this,U,Ye({initialPromise:e==null?void 0:e.initialPromise,fn:u.fetchFn,abort:i.abort.bind(i),onSuccess:y=>{var c,w,d,b;if(y===void 0){p(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(y)}catch(S){p(S);return}(w=(c=r(this,k).config).onSuccess)==null||w.call(c,y,this),(b=(d=r(this,k).config).onSettled)==null||b.call(d,y,this.state.error,this),this.scheduleGc()},onError:p,onFail:(y,c)=>{m(this,_,z).call(this,{type:"failed",failureCount:y,error:c})},onPause:()=>{m(this,_,z).call(this,{type:"pause"})},onContinue:()=>{m(this,_,z).call(this,{type:"continue"})},retry:u.options.retry,retryDelay:u.options.retryDelay,networkMode:u.options.networkMode,canRun:()=>!0})),r(this,U).start()}},Pt=new WeakMap,Ft=new WeakMap,k=new WeakMap,dt=new WeakMap,U=new WeakMap,Lt=new WeakMap,yt=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,Ft)?{...r(this,Ft),fetchStatus:"idle"}:{...i,error:n,errorUpdateCount:i.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:i.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:"idle",status:"error"};case"invalidate":return{...i,isInvalidated:!0};case"setState":return{...i,...t.state}}};this.state=e(this.state),A.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),r(this,k).notify({query:this,type:"updated",action:t})})},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,h=i.queryHash??ye(a,i);let u=this.get(h);return u||(u=new gs({client:e,queryKey:a,queryHash:h,options:e.defaultQueryOptions(i),state:n,defaultOptions:e.getQueryDefaults(a)}),this.add(u)),u}add(e){r(this,$).has(e.queryHash)||(r(this,$).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const i=r(this,$).get(e.queryHash);i&&(e.destroy(),i===e&&r(this,$).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){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,q,pt,V,X,Ue,Cs=(Ue=class extends Je{constructor(t){super();l(this,V);l(this,B);l(this,q);l(this,pt);this.mutationId=t.mutationId,o(this,q,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,q).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){o(this,B,r(this,B).filter(e=>e!==t)),this.scheduleGc(),r(this,q).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){r(this,B).length||(this.state.status==="pending"?this.scheduleGc():r(this,q).remove(this))}continue(){var t;return((t=r(this,pt))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var a,h,u,p,Q,g,f,y,c,w,d,b,S,M,R,E,K,H,xt,I;const e=()=>{m(this,V,X).call(this,{type:"continue"})};o(this,pt,Ye({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(F,D)=>{m(this,V,X).call(this,{type:"failed",failureCount:F,error:D})},onPause:()=>{m(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,q).canRun(this)}));const i=this.state.status==="pending",n=!r(this,pt).canStart();try{if(i)e();else{m(this,V,X).call(this,{type:"pending",variables:t,isPaused:n}),await((h=(a=r(this,q).config).onMutate)==null?void 0:h.call(a,t,this));const D=await((p=(u=this.options).onMutate)==null?void 0:p.call(u,t));D!==this.state.context&&m(this,V,X).call(this,{type:"pending",context:D,variables:t,isPaused:n})}const F=await r(this,pt).start();return await((g=(Q=r(this,q).config).onSuccess)==null?void 0:g.call(Q,F,t,this.state.context,this)),await((y=(f=this.options).onSuccess)==null?void 0:y.call(f,F,t,this.state.context)),await((w=(c=r(this,q).config).onSettled)==null?void 0:w.call(c,F,null,this.state.variables,this.state.context,this)),await((b=(d=this.options).onSettled)==null?void 0:b.call(d,F,null,t,this.state.context)),m(this,V,X).call(this,{type:"success",data:F}),F}catch(F){try{throw await((M=(S=r(this,q).config).onError)==null?void 0:M.call(S,F,t,this.state.context,this)),await((E=(R=this.options).onError)==null?void 0:E.call(R,F,t,this.state.context)),await((H=(K=r(this,q).config).onSettled)==null?void 0:H.call(K,void 0,F,this.state.variables,this.state.context,this)),await((I=(xt=this.options).onSettled)==null?void 0:I.call(xt,void 0,F,t,this.state.context)),F}finally{m(this,V,X).call(this,{type:"error",error:F})}}finally{r(this,q).runNext(this)}}},B=new WeakMap,q=new WeakMap,pt=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,q).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,Ht,Ie,es=(Ie=class extends jt{constructor(e={}){super();l(this,W);l(this,G);l(this,Ht);this.config=e,o(this,W,new Set),o(this,G,new Map),o(this,Ht,0)}build(e,i,n){const a=new Cs({mutationCache:this,mutationId:++$t(this,Ht)._,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(h=>h.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(h=>h!==e&&h.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(L))))}},W=new WeakMap,G=new WeakMap,Ht=new WeakMap,Ie);function Bt(s){var t;return(t=s.options.scope)==null?void 0:t.id}function Qe(s){return{onFetch:(t,e)=>{var g,f,y,c,w;const i=t.options,n=(y=(f=(g=t.fetchOptions)==null?void 0:g.meta)==null?void 0:f.fetchMore)==null?void 0:y.direction,a=((c=t.state.data)==null?void 0:c.pages)||[],h=((w=t.state.data)==null?void 0:w.pageParams)||[];let u={pages:[],pageParams:[]},p=0;const Q=async()=>{let d=!1;const b=R=>{Object.defineProperty(R,"signal",{enumerable:!0,get:()=>(t.signal.aborted?d=!0:t.signal.addEventListener("abort",()=>{d=!0}),t.signal)})},S=Ve(t.options,t.fetchOptions),M=async(R,E,K)=>{if(d)return Promise.reject();if(E==null&&R.pages.length)return Promise.resolve(R);const xt=(()=>{const ct={client:t.client,queryKey:t.queryKey,pageParam:E,direction:K?"backward":"forward",meta:t.options.meta};return b(ct),ct})(),I=await S(xt),{maxPages:F}=t.options,D=K?ds:fs;return{pages:D(R.pages,I,F),pageParams:D(R.pageParams,E,F)}};if(n&&a.length){const R=n==="backward",E=R?ws:Se,K={pages:a,pageParams:h},H=E(i,K);u=await M(K,H,R)}else{const R=s??a.length;do{const E=p===0?h[0]??i.initialPageParam:Se(i,u);if(p>0&&E==null)break;u=await M(u,E),p++}while(p<R)}return u};t.options.persister?t.fetchFn=()=>{var d,b;return(b=(d=t.options).persister)==null?void 0:b.call(d,Q,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},e)}:t.fetchFn=Q}}}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 P,et,st,Dt,Mt,it,Et,At,qe,Qs=(qe=class{constructor(t={}){l(this,P);l(this,et);l(this,st);l(this,Dt);l(this,Mt);l(this,it);l(this,Et);l(this,At);o(this,P,t.queryCache||new Ze),o(this,et,t.mutationCache||new es),o(this,st,t.defaultOptions||{}),o(this,Dt,new Map),o(this,Mt,new Map),o(this,it,0)}mount(){$t(this,it)._++,r(this,it)===1&&(o(this,Et,me.subscribe(async t=>{t&&(await this.resumePausedMutations(),r(this,P).onFocus())})),o(this,At,Wt.subscribe(async t=>{t&&(await this.resumePausedMutations(),r(this,P).onOnline())})))}unmount(){var t,e;$t(this,it)._--,r(this,it)===0&&((t=r(this,Et))==null||t.call(this),o(this,Et,void 0),(e=r(this,At))==null||e.call(this),o(this,At,void 0))}isFetching(t){return r(this,P).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,P).get(e.queryHash))==null?void 0:i.state.data}ensureQueryData(t){const e=this.defaultQueryOptions(t),i=r(this,P).build(this,e),n=i.state.data;return n===void 0?this.fetchQuery(t):(t.revalidateIfStale&&i.isStaleByTime(ht(e.staleTime,i))&&this.prefetchQuery(e),Promise.resolve(n))}getQueriesData(t){return r(this,P).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,P).get(n.queryHash),h=a==null?void 0:a.state.data,u=cs(e,h);if(u!==void 0)return r(this,P).build(this,n).setData(u,{...i,manual:!0})}setQueriesData(t,e,i){return A.batch(()=>r(this,P).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,P).get(e.queryHash))==null?void 0:i.state}removeQueries(t){const e=r(this,P);A.batch(()=>{e.findAll(t).forEach(i=>{e.remove(i)})})}resetQueries(t,e){const i=r(this,P);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,P).findAll(t).map(a=>a.cancel(i)));return Promise.all(n).then(L).catch(L)}invalidateQueries(t,e={}){return A.batch(()=>(r(this,P).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,P).findAll(t).filter(a=>!a.isDisabled()&&!a.isStatic()).map(a=>{let h=a.fetch(void 0,i);return i.throwOnError||(h=h.catch(L)),a.state.fetchStatus==="paused"?Promise.resolve():h}));return Promise.all(n).then(L)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const i=r(this,P).build(this,e);return i.isStaleByTime(ht(e.staleTime,i))?i.fetch(e):Promise.resolve(i.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(L).catch(L)}fetchInfiniteQuery(t){return t.behavior=Qe(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(L).catch(L)}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,P)}getMutationCache(){return r(this,et)}getDefaultOptions(){return r(this,st)}setDefaultOptions(t){o(this,st,t)}setQueryDefaults(t,e){r(this,Dt).set(Ot(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,Mt).set(Ot(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...r(this,Mt).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,P).clear(),r(this,et).clear()}},P=new WeakMap,et=new WeakMap,st=new WeakMap,Dt=new WeakMap,Mt=new WeakMap,it=new WeakMap,Et=new WeakMap,At=new WeakMap,qe),j,O,_t,T,mt,Ut,rt,nt,Gt,It,qt,vt,bt,at,Tt,C,Kt,ie,re,ne,ae,ue,oe,he,ss,Te,Ss=(Te=class extends jt{constructor(t,e){super();l(this,C);l(this,j);l(this,O);l(this,_t);l(this,T);l(this,mt);l(this,Ut);l(this,rt);l(this,nt);l(this,Gt);l(this,It);l(this,qt);l(this,vt);l(this,bt);l(this,at);l(this,Tt,new Set);this.options=e,o(this,j,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,O).addObserver(this),Re(r(this,O),this.options)?m(this,C,Kt).call(this):this.updateResult(),m(this,C,ae).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return ce(r(this,O),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ce(r(this,O),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,m(this,C,ue).call(this),m(this,C,oe).call(this),r(this,O).removeObserver(this)}setOptions(t){const e=this.options,i=r(this,O);if(this.options=r(this,j).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof N(this.options.enabled,r(this,O))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");m(this,C,he).call(this),r(this,O).setOptions(this.options),e._defaulted&&!zt(this.options,e)&&r(this,j).getQueryCache().notify({type:"observerOptionsUpdated",query:r(this,O),observer:this});const n=this.hasListeners();n&&Pe(r(this,O),i,this.options,e)&&m(this,C,Kt).call(this),this.updateResult(),n&&(r(this,O)!==i||N(this.options.enabled,r(this,O))!==N(e.enabled,r(this,O))||ht(this.options.staleTime,r(this,O))!==ht(e.staleTime,r(this,O)))&&m(this,C,ie).call(this);const a=m(this,C,re).call(this);n&&(r(this,O)!==i||N(this.options.enabled,r(this,O))!==N(e.enabled,r(this,O))||a!==r(this,at))&&m(this,C,ne).call(this,a)}getOptimisticResult(t){const e=r(this,j).getQueryCache().build(r(this,j),t),i=this.createResult(e,t);return Ps(this,i)&&(o(this,T,i),o(this,Ut,this.options),o(this,mt,r(this,O).state)),i}getCurrentResult(){return r(this,T)}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,Tt).add(t)}getCurrentQuery(){return r(this,O)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const e=r(this,j).defaultQueryOptions(t),i=r(this,j).getQueryCache().build(r(this,j),e);return i.fetch().then(()=>this.createResult(i,e))}fetch(t){return m(this,C,Kt).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),r(this,T)))}createResult(t,e){var F;const i=r(this,O),n=this.options,a=r(this,T),h=r(this,mt),u=r(this,Ut),Q=t!==i?t.state:r(this,_t),{state:g}=t;let f={...g},y=!1,c;if(e._optimisticResults){const D=this.hasListeners(),ct=!D&&Re(t,e),Ct=D&&Pe(t,i,e,n);(ct||Ct)&&(f={...f,...Xe(g.data,t.options)}),e._optimisticResults==="isRestoring"&&(f.fetchStatus="idle")}let{error:w,errorUpdatedAt:d,status:b}=f;c=f.data;let S=!1;if(e.placeholderData!==void 0&&c===void 0&&b==="pending"){let D;a!=null&&a.isPlaceholderData&&e.placeholderData===(u==null?void 0:u.placeholderData)?(D=a.data,S=!0):D=typeof e.placeholderData=="function"?e.placeholderData((F=r(this,qt))==null?void 0:F.state.data,r(this,qt)):e.placeholderData,D!==void 0&&(b="success",c=te(a==null?void 0:a.data,D,e),y=!0)}if(e.select&&c!==void 0&&!S)if(a&&c===(h==null?void 0:h.data)&&e.select===r(this,Gt))c=r(this,It);else try{o(this,Gt,e.select),c=e.select(c),c=te(a==null?void 0:a.data,c,e),o(this,It,c),o(this,nt,null)}catch(D){o(this,nt,D)}r(this,nt)&&(w=r(this,nt),c=r(this,It),d=Date.now(),b="error");const M=f.fetchStatus==="fetching",R=b==="pending",E=b==="error",K=R&&M,H=c!==void 0,I={status:b,fetchStatus:f.fetchStatus,isPending:R,isSuccess:b==="success",isError:E,isInitialLoading:K,isLoading:K,data:c,dataUpdatedAt:f.dataUpdatedAt,error:w,errorUpdatedAt:d,failureCount:f.fetchFailureCount,failureReason:f.fetchFailureReason,errorUpdateCount:f.errorUpdateCount,isFetched:f.dataUpdateCount>0||f.errorUpdateCount>0,isFetchedAfterMount:f.dataUpdateCount>Q.dataUpdateCount||f.errorUpdateCount>Q.errorUpdateCount,isFetching:M,isRefetching:M&&!R,isLoadingError:E&&!H,isPaused:f.fetchStatus==="paused",isPlaceholderData:y,isRefetchError:E&&H,isStale:ve(t,e),refetch:this.refetch,promise:r(this,rt)};if(this.options.experimental_prefetchInRender){const D=Nt=>{I.status==="error"?Nt.reject(I.error):I.data!==void 0&&Nt.resolve(I.data)},ct=()=>{const Nt=o(this,rt,I.promise=se());D(Nt)},Ct=r(this,rt);switch(Ct.status){case"pending":t.queryHash===i.queryHash&&D(Ct);break;case"fulfilled":(I.status==="error"||I.data!==Ct.value)&&ct();break;case"rejected":(I.status!=="error"||I.error!==Ct.reason)&&ct();break}}return I}updateResult(){const t=r(this,T),e=this.createResult(r(this,O),this.options);if(o(this,mt,r(this,O).state),o(this,Ut,this.options),r(this,mt).data!==void 0&&o(this,qt,r(this,O)),zt(e,t))return;o(this,T,e);const i=()=>{if(!t)return!0;const{notifyOnChangeProps:n}=this.options,a=typeof n=="function"?n():n;if(a==="all"||!a&&!r(this,Tt).size)return!0;const h=new Set(a??r(this,Tt));return this.options.throwOnError&&h.add("error"),Object.keys(r(this,T)).some(u=>{const p=u;return r(this,T)[p]!==t[p]&&h.has(p)})};m(this,C,ss).call(this,{listeners:i()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&m(this,C,ae).call(this)}},j=new WeakMap,O=new WeakMap,_t=new WeakMap,T=new WeakMap,mt=new WeakMap,Ut=new WeakMap,rt=new WeakMap,nt=new WeakMap,Gt=new WeakMap,It=new WeakMap,qt=new WeakMap,vt=new WeakMap,bt=new WeakMap,at=new WeakMap,Tt=new WeakMap,C=new WeakSet,Kt=function(t){m(this,C,he).call(this);let e=r(this,O).fetch(this.options,t);return t!=null&&t.throwOnError||(e=e.catch(L)),e},ie=function(){m(this,C,ue).call(this);const t=ht(this.options.staleTime,r(this,O));if(gt||r(this,T).isStale||!Xt(t))return;const i=$e(r(this,T).dataUpdatedAt,t)+1;o(this,vt,setTimeout(()=>{r(this,T).isStale||this.updateResult()},i))},re=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(r(this,O)):this.options.refetchInterval)??!1},ne=function(t){m(this,C,oe).call(this),o(this,at,t),!(gt||N(this.options.enabled,r(this,O))===!1||!Xt(r(this,at))||r(this,at)===0)&&o(this,bt,setInterval(()=>{(this.options.refetchIntervalInBackground||me.isFocused())&&m(this,C,Kt).call(this)},r(this,at)))},ae=function(){m(this,C,ie).call(this),m(this,C,ne).call(this,m(this,C,re).call(this))},ue=function(){r(this,vt)&&(clearTimeout(r(this,vt)),o(this,vt,void 0))},oe=function(){r(this,bt)&&(clearInterval(r(this,bt)),o(this,bt,void 0))},he=function(){const t=r(this,j).getQueryCache().build(r(this,j),this.options);if(t===r(this,O))return;const e=r(this,O);o(this,O,t),o(this,_t,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,T))}),r(this,j).getQueryCache().notify({query:r(this,O),type:"observerResultsUpdated"})})},Te);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&&ht(t.staleTime,s)!=="static"){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(ht(t.staleTime,s))}function Ps(s,t){return!zt(s.getCurrentResult(),t)}var ut,ot,x,Y,J,Vt,le,je,Fs=(je=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(),m(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&&Ot(e.mutationKey)!==Ot(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){m(this,J,Vt).call(this),m(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),m(this,J,Vt).call(this),m(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,h,u,p,Q;if(r(this,Y)&&this.hasListeners()){const g=r(this,ot).variables,f=r(this,ot).context;(t==null?void 0:t.type)==="success"?((i=(e=r(this,Y)).onSuccess)==null||i.call(e,t.data,g,f),(a=(n=r(this,Y)).onSettled)==null||a.call(n,t.data,null,g,f)):(t==null?void 0:t.type)==="error"&&((u=(h=r(this,Y)).onError)==null||u.call(h,t.error,g,f),(Q=(p=r(this,Y)).onSettled)==null||Q.call(p,void 0,t.error,g,f))}this.listeners.forEach(g=>{g(r(this,ot))})})},je),Ds="VUE_QUERY_CLIENT";function is(s){const t=s?`:${s}`:"";return`${Ds}${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,h])=>[a,de(h,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))}},Is=class extends es{find(s){return super.find(v(s))}findAll(s={}){return super.findAll(v(s))}},qs=class extends Qs{constructor(s={}){const t={defaultOptions:s.defaultOptions,queryCache:s.queryCache||new Us,mutationCache:s.mutationCache||new Is};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 h="queryClientConfig"in t?t.queryClientConfig:void 0;i=new qs(h)}gt||i.mount();let n=()=>{};if(t.clientPersister){i.isRestoring&&(i.isRestoring.value=!0);const[h,u]=t.clientPersister(i);n=h,u.then(()=>{var p;i.isRestoring&&(i.isRestoring.value=!1),(p=t.clientPersisterOnSuccess)==null||p.call(t,i)})}const a=()=>{i.unmount(),n()};if(s.onUnmount)s.onUnmount(a);else{const h=s.unmount;s.unmount=function(){a(),h()}}s.provide(e,i)}};function Ts(s,t,e){const i=rs(),n=Ke(()=>{var d;const c=v(t);typeof c.enabled=="function"&&(c.enabled=c.enabled());const w=i.defaultQueryOptions(c);return w._optimisticResults=(d=i.isRestoring)!=null&&d.value?"isRestoring":"optimistic",w}),a=new s(i,n.value),h=n.value.shallow?ke(a.getCurrentResult()):Le(a.getCurrentResult());let u=()=>{};i.isRestoring&&wt(i.isRestoring,c=>{c||(u(),u=a.subscribe(w=>{fe(h,w)}))},{immediate:!0});const p=()=>{a.setOptions(n.value),fe(h,a.getCurrentResult())};wt(n,p),He(()=>{u()});const Q=(...c)=>(p(),h.refetch(...c)),g=()=>new Promise((c,w)=>{let d=()=>{};const b=()=>{if(n.value.enabled!==!1){a.setOptions(n.value);const S=a.getOptimisticResult(n.value);S.isStale?(d(),a.fetchOptimistic(n.value).then(c,M=>{ee(n.value.throwOnError,[M,a.getCurrentQuery()])?w(M):c(a.getCurrentResult())})):(d(),c(S))}};b(),d=wt(n,b)});wt(()=>h.error,c=>{if(h.isError&&!h.isFetching&&ee(n.value.throwOnError,[c,a.getCurrentQuery()]))throw c});const f=n.value.shallow?_e(h):Ge(h),y=Ne(f);for(const c in h)typeof h[c]=="function"&&(y[c]=h[c]);return y.suspense=g,y.refetch=Q,y}function _s(s,t){return Ts(Ss,s)}function Gs(s,t){const e=rs(),i=Ke(()=>e.defaultMutationOptions(v(s))),n=new Fs(e,i.value),a=i.value.shallow?ke(n.getCurrentResult()):Le(n.getCurrentResult()),h=n.subscribe(g=>{fe(a,g)}),u=(g,f)=>{n.mutate(g,f).catch(()=>{})};wt(i,()=>{n.setOptions(i.value)}),He(()=>{h()});const p=i.value.shallow?_e(a):Ge(a),Q=Ne(p);return wt(()=>a.error,g=>{if(g&&ee(i.value.throwOnError,[g]))throw g}),{...Q,mutate:u,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),m=(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 wt,l as He,p as _e,a as Ge,t as Ne}from"./@vue.BsSvBeCe.0.0.70.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(){}},gt=typeof window>"u"||"Deno"in globalThis;function L(){}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 ht(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:h,stale:u}=s;if(h){if(i){if(t.queryHash!==ye(h,t.options))return!1}else if(!kt(t.queryKey,h))return!1}if(e!=="all"){const p=t.isActive();if(e==="active"&&!p||e==="inactive"&&p)return!1}return!(typeof u=="boolean"&&t.isStale()!==u||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(Ot(t.options.mutationKey)!==Ot(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)||Ot)(s)}function Ot(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),h=a.length,u=e?[]:{},p=new Set(i);let Q=0;for(let g=0;g<h;g++){const f=e?g:a[g];(!e&&p.has(f)||e)&&s[f]===void 0&&t[f]===void 0?(u[f]=void 0,Q++):(u[f]=Be(s[f],t[f]),u[f]===s[f]&&s[f]!==void 0&&Q++)}return n===h&&Q===n?s:u}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 lt,Z,Qt,Fe,ys=(Fe=class extends jt{constructor(){super();l(this,lt);l(this,Z);l(this,Qt);o(this,Qt,t=>{if(!gt&&window.addEventListener){const e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}})}onSubscribe(){r(this,Z)||this.setEventListener(r(this,Qt))}onUnsubscribe(){var t;this.hasListeners()||((t=r(this,Z))==null||t.call(this),o(this,Z,void 0))}setEventListener(t){var e;o(this,Qt,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,lt)!==t&&(o(this,lt,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(e=>{e(t)})}isFocused(){var t;return typeof r(this,lt)=="boolean"?r(this,lt):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},lt=new WeakMap,Z=new WeakMap,Qt=new WeakMap,Fe),me=new ys,St,tt,Rt,De,ps=(De=class extends jt{constructor(){super();l(this,St,!0);l(this,tt);l(this,Rt);o(this,Rt,t=>{if(!gt&&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,Rt))}onUnsubscribe(){var t;this.hasListeners()||((t=r(this,tt))==null||t.call(this),o(this,tt,void 0))}setEventListener(t){var e;o(this,Rt,t),(e=r(this,tt))==null||e.call(this),o(this,tt,t(this.setOnline.bind(this)))}setOnline(t){r(this,St)!==t&&(o(this,St,t),this.listeners.forEach(i=>{i(t)}))}isOnline(){return r(this,St)}},St=new WeakMap,tt=new WeakMap,Rt=new WeakMap,De),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(),h=d=>{var b;i||(y(new We(d)),(b=s.abort)==null||b.call(s))},u=()=>{t=!0},p=()=>{t=!1},Q=()=>me.isFocused()&&(s.networkMode==="always"||Wt.isOnline())&&s.canRun(),g=()=>ze(s.networkMode)&&s.canRun(),f=d=>{var b;i||(i=!0,(b=s.onSuccess)==null||b.call(s,d),n==null||n(),a.resolve(d))},y=d=>{var b;i||(i=!0,(b=s.onError)==null||b.call(s,d),n==null||n(),a.reject(d))},c=()=>new Promise(d=>{var b;n=S=>{(i||Q())&&d(S)},(b=s.onPause)==null||b.call(s)}).then(()=>{var d;n=void 0,i||(d=s.onContinue)==null||d.call(s)}),w=()=>{if(i)return;let d;const b=e===0?s.initialPromise:void 0;try{d=b??s.fn()}catch(S){d=Promise.reject(S)}Promise.resolve(d).then(f).catch(S=>{var H;if(i)return;const M=s.retry??(gt?0:3),R=s.retryDelay??ms,E=typeof R=="function"?R(e,S):R,K=M===!0||typeof M=="number"&&e<M||typeof M=="function"&&M(e,S);if(t||!K){y(S);return}e++,(H=s.onFail)==null||H.call(s,e,S),ls(E).then(()=>Q()?void 0:c()).then(()=>{t?y(S):w()})})};return{promise:a,cancel:h,continue:()=>(n==null||n(),a),cancelRetry:u,continueRetry:p,canStart:g,start:()=>(g()?w():c().then(w),a)}}var vs=s=>setTimeout(s,0);function bs(){let s=[],t=0,e=u=>{u()},i=u=>{u()},n=vs;const a=u=>{t?s.push(u):n(()=>{e(u)})},h=()=>{const u=s;s=[],u.length&&n(()=>{i(()=>{u.forEach(p=>{e(p)})})})};return{batch:u=>{let p;t++;try{p=u()}finally{t--,t||h()}return p},batchCalls:u=>(...p)=>{a(()=>{u(...p)})},schedule:a,setNotifyFunction:u=>{e=u},setBatchNotifyFunction:u=>{i=u},setScheduler:u=>{n=u}}}var A=bs(),ft,Me,Je=(Me=class{constructor(){l(this,ft)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Xt(this.gcTime)&&o(this,ft,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(s){this.gcTime=Math.max(this.gcTime||0,s??(gt?1/0:5*60*1e3))}clearGcTimeout(){r(this,ft)&&(clearTimeout(r(this,ft)),o(this,ft,void 0))}},ft=new WeakMap,Me),Pt,Ft,k,dt,U,Lt,yt,_,z,Ee,gs=(Ee=class extends Je{constructor(t){super();l(this,_);l(this,Pt);l(this,Ft);l(this,k);l(this,dt);l(this,U);l(this,Lt);l(this,yt);o(this,yt,!1),o(this,Lt,t.defaultOptions),this.setOptions(t.options),this.observers=[],o(this,dt,t.client),o(this,k,r(this,dt).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,o(this,Pt,Os(this.options)),this.state=t.state??r(this,Pt),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=r(this,U))==null?void 0:t.promise}setOptions(t){this.options={...r(this,Lt),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&r(this,k).remove(this)}setData(t,e){const i=te(this.state.data,t,this.options);return m(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){m(this,_,z).call(this,{type:"setState",state:t,setStateOptions:e})}cancel(t){var i,n;const e=(i=r(this,U))==null?void 0:i.promise;return(n=r(this,U))==null||n.cancel(t),e?e.then(L).catch(L):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(r(this,Pt))}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}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>ht(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!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,U))==null||e.continue()}onOnline(){var e;const t=this.observers.find(i=>i.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(e=r(this,U))==null||e.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),r(this,k).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(e=>e!==t),this.observers.length||(r(this,U)&&(r(this,yt)?r(this,U).cancel({revert:!0}):r(this,U).cancelRetry()),this.scheduleGc()),r(this,k).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||m(this,_,z).call(this,{type:"invalidate"})}fetch(t,e){var Q,g,f;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(e!=null&&e.cancelRefetch))this.cancel({silent:!0});else if(r(this,U))return r(this,U).continueRetry(),r(this,U).promise}if(t&&this.setOptions(t),!this.options.queryFn){const y=this.observers.find(c=>c.options.queryFn);y&&this.setOptions(y.options)}const i=new AbortController,n=y=>{Object.defineProperty(y,"signal",{enumerable:!0,get:()=>(o(this,yt,!0),i.signal)})},a=()=>{const y=Ve(this.options,e),w=(()=>{const d={client:r(this,dt),queryKey:this.queryKey,meta:this.meta};return n(d),d})();return o(this,yt,!1),this.options.persister?this.options.persister(y,w,this):y(w)},u=(()=>{const y={fetchOptions:e,options:this.options,queryKey:this.queryKey,client:r(this,dt),state:this.state,fetchFn:a};return n(y),y})();(Q=this.options.behavior)==null||Q.onFetch(u,this),o(this,Ft,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((g=u.fetchOptions)==null?void 0:g.meta))&&m(this,_,z).call(this,{type:"fetch",meta:(f=u.fetchOptions)==null?void 0:f.meta});const p=y=>{var c,w,d,b;Jt(y)&&y.silent||m(this,_,z).call(this,{type:"error",error:y}),Jt(y)||((w=(c=r(this,k).config).onError)==null||w.call(c,y,this),(b=(d=r(this,k).config).onSettled)==null||b.call(d,this.state.data,y,this)),this.scheduleGc()};return o(this,U,Ye({initialPromise:e==null?void 0:e.initialPromise,fn:u.fetchFn,abort:i.abort.bind(i),onSuccess:y=>{var c,w,d,b;if(y===void 0){p(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(y)}catch(S){p(S);return}(w=(c=r(this,k).config).onSuccess)==null||w.call(c,y,this),(b=(d=r(this,k).config).onSettled)==null||b.call(d,y,this.state.error,this),this.scheduleGc()},onError:p,onFail:(y,c)=>{m(this,_,z).call(this,{type:"failed",failureCount:y,error:c})},onPause:()=>{m(this,_,z).call(this,{type:"pause"})},onContinue:()=>{m(this,_,z).call(this,{type:"continue"})},retry:u.options.retry,retryDelay:u.options.retryDelay,networkMode:u.options.networkMode,canRun:()=>!0})),r(this,U).start()}},Pt=new WeakMap,Ft=new WeakMap,k=new WeakMap,dt=new WeakMap,U=new WeakMap,Lt=new WeakMap,yt=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,Ft)?{...r(this,Ft),fetchStatus:"idle"}:{...i,error:n,errorUpdateCount:i.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:i.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:"idle",status:"error"};case"invalidate":return{...i,isInvalidated:!0};case"setState":return{...i,...t.state}}};this.state=e(this.state),A.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),r(this,k).notify({query:this,type:"updated",action:t})})},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,h=i.queryHash??ye(a,i);let u=this.get(h);return u||(u=new gs({client:e,queryKey:a,queryHash:h,options:e.defaultQueryOptions(i),state:n,defaultOptions:e.getQueryDefaults(a)}),this.add(u)),u}add(e){r(this,$).has(e.queryHash)||(r(this,$).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const i=r(this,$).get(e.queryHash);i&&(e.destroy(),i===e&&r(this,$).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){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,q,pt,V,X,Ue,Cs=(Ue=class extends Je{constructor(t){super();l(this,V);l(this,B);l(this,q);l(this,pt);this.mutationId=t.mutationId,o(this,q,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,q).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){o(this,B,r(this,B).filter(e=>e!==t)),this.scheduleGc(),r(this,q).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){r(this,B).length||(this.state.status==="pending"?this.scheduleGc():r(this,q).remove(this))}continue(){var t;return((t=r(this,pt))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var a,h,u,p,Q,g,f,y,c,w,d,b,S,M,R,E,K,H,xt,I;const e=()=>{m(this,V,X).call(this,{type:"continue"})};o(this,pt,Ye({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(F,D)=>{m(this,V,X).call(this,{type:"failed",failureCount:F,error:D})},onPause:()=>{m(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,q).canRun(this)}));const i=this.state.status==="pending",n=!r(this,pt).canStart();try{if(i)e();else{m(this,V,X).call(this,{type:"pending",variables:t,isPaused:n}),await((h=(a=r(this,q).config).onMutate)==null?void 0:h.call(a,t,this));const D=await((p=(u=this.options).onMutate)==null?void 0:p.call(u,t));D!==this.state.context&&m(this,V,X).call(this,{type:"pending",context:D,variables:t,isPaused:n})}const F=await r(this,pt).start();return await((g=(Q=r(this,q).config).onSuccess)==null?void 0:g.call(Q,F,t,this.state.context,this)),await((y=(f=this.options).onSuccess)==null?void 0:y.call(f,F,t,this.state.context)),await((w=(c=r(this,q).config).onSettled)==null?void 0:w.call(c,F,null,this.state.variables,this.state.context,this)),await((b=(d=this.options).onSettled)==null?void 0:b.call(d,F,null,t,this.state.context)),m(this,V,X).call(this,{type:"success",data:F}),F}catch(F){try{throw await((M=(S=r(this,q).config).onError)==null?void 0:M.call(S,F,t,this.state.context,this)),await((E=(R=this.options).onError)==null?void 0:E.call(R,F,t,this.state.context)),await((H=(K=r(this,q).config).onSettled)==null?void 0:H.call(K,void 0,F,this.state.variables,this.state.context,this)),await((I=(xt=this.options).onSettled)==null?void 0:I.call(xt,void 0,F,t,this.state.context)),F}finally{m(this,V,X).call(this,{type:"error",error:F})}}finally{r(this,q).runNext(this)}}},B=new WeakMap,q=new WeakMap,pt=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,q).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,Ht,Ie,es=(Ie=class extends jt{constructor(e={}){super();l(this,W);l(this,G);l(this,Ht);this.config=e,o(this,W,new Set),o(this,G,new Map),o(this,Ht,0)}build(e,i,n){const a=new Cs({mutationCache:this,mutationId:++$t(this,Ht)._,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(h=>h.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(h=>h!==e&&h.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(L))))}},W=new WeakMap,G=new WeakMap,Ht=new WeakMap,Ie);function Bt(s){var t;return(t=s.options.scope)==null?void 0:t.id}function Qe(s){return{onFetch:(t,e)=>{var g,f,y,c,w;const i=t.options,n=(y=(f=(g=t.fetchOptions)==null?void 0:g.meta)==null?void 0:f.fetchMore)==null?void 0:y.direction,a=((c=t.state.data)==null?void 0:c.pages)||[],h=((w=t.state.data)==null?void 0:w.pageParams)||[];let u={pages:[],pageParams:[]},p=0;const Q=async()=>{let d=!1;const b=R=>{Object.defineProperty(R,"signal",{enumerable:!0,get:()=>(t.signal.aborted?d=!0:t.signal.addEventListener("abort",()=>{d=!0}),t.signal)})},S=Ve(t.options,t.fetchOptions),M=async(R,E,K)=>{if(d)return Promise.reject();if(E==null&&R.pages.length)return Promise.resolve(R);const xt=(()=>{const ct={client:t.client,queryKey:t.queryKey,pageParam:E,direction:K?"backward":"forward",meta:t.options.meta};return b(ct),ct})(),I=await S(xt),{maxPages:F}=t.options,D=K?ds:fs;return{pages:D(R.pages,I,F),pageParams:D(R.pageParams,E,F)}};if(n&&a.length){const R=n==="backward",E=R?ws:Se,K={pages:a,pageParams:h},H=E(i,K);u=await M(K,H,R)}else{const R=s??a.length;do{const E=p===0?h[0]??i.initialPageParam:Se(i,u);if(p>0&&E==null)break;u=await M(u,E),p++}while(p<R)}return u};t.options.persister?t.fetchFn=()=>{var d,b;return(b=(d=t.options).persister)==null?void 0:b.call(d,Q,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},e)}:t.fetchFn=Q}}}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 P,et,st,Dt,Mt,it,Et,At,qe,Qs=(qe=class{constructor(t={}){l(this,P);l(this,et);l(this,st);l(this,Dt);l(this,Mt);l(this,it);l(this,Et);l(this,At);o(this,P,t.queryCache||new Ze),o(this,et,t.mutationCache||new es),o(this,st,t.defaultOptions||{}),o(this,Dt,new Map),o(this,Mt,new Map),o(this,it,0)}mount(){$t(this,it)._++,r(this,it)===1&&(o(this,Et,me.subscribe(async t=>{t&&(await this.resumePausedMutations(),r(this,P).onFocus())})),o(this,At,Wt.subscribe(async t=>{t&&(await this.resumePausedMutations(),r(this,P).onOnline())})))}unmount(){var t,e;$t(this,it)._--,r(this,it)===0&&((t=r(this,Et))==null||t.call(this),o(this,Et,void 0),(e=r(this,At))==null||e.call(this),o(this,At,void 0))}isFetching(t){return r(this,P).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,P).get(e.queryHash))==null?void 0:i.state.data}ensureQueryData(t){const e=this.defaultQueryOptions(t),i=r(this,P).build(this,e),n=i.state.data;return n===void 0?this.fetchQuery(t):(t.revalidateIfStale&&i.isStaleByTime(ht(e.staleTime,i))&&this.prefetchQuery(e),Promise.resolve(n))}getQueriesData(t){return r(this,P).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,P).get(n.queryHash),h=a==null?void 0:a.state.data,u=cs(e,h);if(u!==void 0)return r(this,P).build(this,n).setData(u,{...i,manual:!0})}setQueriesData(t,e,i){return A.batch(()=>r(this,P).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,P).get(e.queryHash))==null?void 0:i.state}removeQueries(t){const e=r(this,P);A.batch(()=>{e.findAll(t).forEach(i=>{e.remove(i)})})}resetQueries(t,e){const i=r(this,P);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,P).findAll(t).map(a=>a.cancel(i)));return Promise.all(n).then(L).catch(L)}invalidateQueries(t,e={}){return A.batch(()=>(r(this,P).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,P).findAll(t).filter(a=>!a.isDisabled()&&!a.isStatic()).map(a=>{let h=a.fetch(void 0,i);return i.throwOnError||(h=h.catch(L)),a.state.fetchStatus==="paused"?Promise.resolve():h}));return Promise.all(n).then(L)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const i=r(this,P).build(this,e);return i.isStaleByTime(ht(e.staleTime,i))?i.fetch(e):Promise.resolve(i.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(L).catch(L)}fetchInfiniteQuery(t){return t.behavior=Qe(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(L).catch(L)}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,P)}getMutationCache(){return r(this,et)}getDefaultOptions(){return r(this,st)}setDefaultOptions(t){o(this,st,t)}setQueryDefaults(t,e){r(this,Dt).set(Ot(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,Mt).set(Ot(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...r(this,Mt).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,P).clear(),r(this,et).clear()}},P=new WeakMap,et=new WeakMap,st=new WeakMap,Dt=new WeakMap,Mt=new WeakMap,it=new WeakMap,Et=new WeakMap,At=new WeakMap,qe),j,O,_t,T,mt,Ut,rt,nt,Gt,It,qt,vt,bt,at,Tt,C,Kt,ie,re,ne,ae,ue,oe,he,ss,Te,Ss=(Te=class extends jt{constructor(t,e){super();l(this,C);l(this,j);l(this,O);l(this,_t);l(this,T);l(this,mt);l(this,Ut);l(this,rt);l(this,nt);l(this,Gt);l(this,It);l(this,qt);l(this,vt);l(this,bt);l(this,at);l(this,Tt,new Set);this.options=e,o(this,j,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,O).addObserver(this),Re(r(this,O),this.options)?m(this,C,Kt).call(this):this.updateResult(),m(this,C,ae).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return ce(r(this,O),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ce(r(this,O),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,m(this,C,ue).call(this),m(this,C,oe).call(this),r(this,O).removeObserver(this)}setOptions(t){const e=this.options,i=r(this,O);if(this.options=r(this,j).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof N(this.options.enabled,r(this,O))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");m(this,C,he).call(this),r(this,O).setOptions(this.options),e._defaulted&&!zt(this.options,e)&&r(this,j).getQueryCache().notify({type:"observerOptionsUpdated",query:r(this,O),observer:this});const n=this.hasListeners();n&&Pe(r(this,O),i,this.options,e)&&m(this,C,Kt).call(this),this.updateResult(),n&&(r(this,O)!==i||N(this.options.enabled,r(this,O))!==N(e.enabled,r(this,O))||ht(this.options.staleTime,r(this,O))!==ht(e.staleTime,r(this,O)))&&m(this,C,ie).call(this);const a=m(this,C,re).call(this);n&&(r(this,O)!==i||N(this.options.enabled,r(this,O))!==N(e.enabled,r(this,O))||a!==r(this,at))&&m(this,C,ne).call(this,a)}getOptimisticResult(t){const e=r(this,j).getQueryCache().build(r(this,j),t),i=this.createResult(e,t);return Ps(this,i)&&(o(this,T,i),o(this,Ut,this.options),o(this,mt,r(this,O).state)),i}getCurrentResult(){return r(this,T)}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,Tt).add(t)}getCurrentQuery(){return r(this,O)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const e=r(this,j).defaultQueryOptions(t),i=r(this,j).getQueryCache().build(r(this,j),e);return i.fetch().then(()=>this.createResult(i,e))}fetch(t){return m(this,C,Kt).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),r(this,T)))}createResult(t,e){var F;const i=r(this,O),n=this.options,a=r(this,T),h=r(this,mt),u=r(this,Ut),Q=t!==i?t.state:r(this,_t),{state:g}=t;let f={...g},y=!1,c;if(e._optimisticResults){const D=this.hasListeners(),ct=!D&&Re(t,e),Ct=D&&Pe(t,i,e,n);(ct||Ct)&&(f={...f,...Xe(g.data,t.options)}),e._optimisticResults==="isRestoring"&&(f.fetchStatus="idle")}let{error:w,errorUpdatedAt:d,status:b}=f;c=f.data;let S=!1;if(e.placeholderData!==void 0&&c===void 0&&b==="pending"){let D;a!=null&&a.isPlaceholderData&&e.placeholderData===(u==null?void 0:u.placeholderData)?(D=a.data,S=!0):D=typeof e.placeholderData=="function"?e.placeholderData((F=r(this,qt))==null?void 0:F.state.data,r(this,qt)):e.placeholderData,D!==void 0&&(b="success",c=te(a==null?void 0:a.data,D,e),y=!0)}if(e.select&&c!==void 0&&!S)if(a&&c===(h==null?void 0:h.data)&&e.select===r(this,Gt))c=r(this,It);else try{o(this,Gt,e.select),c=e.select(c),c=te(a==null?void 0:a.data,c,e),o(this,It,c),o(this,nt,null)}catch(D){o(this,nt,D)}r(this,nt)&&(w=r(this,nt),c=r(this,It),d=Date.now(),b="error");const M=f.fetchStatus==="fetching",R=b==="pending",E=b==="error",K=R&&M,H=c!==void 0,I={status:b,fetchStatus:f.fetchStatus,isPending:R,isSuccess:b==="success",isError:E,isInitialLoading:K,isLoading:K,data:c,dataUpdatedAt:f.dataUpdatedAt,error:w,errorUpdatedAt:d,failureCount:f.fetchFailureCount,failureReason:f.fetchFailureReason,errorUpdateCount:f.errorUpdateCount,isFetched:f.dataUpdateCount>0||f.errorUpdateCount>0,isFetchedAfterMount:f.dataUpdateCount>Q.dataUpdateCount||f.errorUpdateCount>Q.errorUpdateCount,isFetching:M,isRefetching:M&&!R,isLoadingError:E&&!H,isPaused:f.fetchStatus==="paused",isPlaceholderData:y,isRefetchError:E&&H,isStale:ve(t,e),refetch:this.refetch,promise:r(this,rt)};if(this.options.experimental_prefetchInRender){const D=Nt=>{I.status==="error"?Nt.reject(I.error):I.data!==void 0&&Nt.resolve(I.data)},ct=()=>{const Nt=o(this,rt,I.promise=se());D(Nt)},Ct=r(this,rt);switch(Ct.status){case"pending":t.queryHash===i.queryHash&&D(Ct);break;case"fulfilled":(I.status==="error"||I.data!==Ct.value)&&ct();break;case"rejected":(I.status!=="error"||I.error!==Ct.reason)&&ct();break}}return I}updateResult(){const t=r(this,T),e=this.createResult(r(this,O),this.options);if(o(this,mt,r(this,O).state),o(this,Ut,this.options),r(this,mt).data!==void 0&&o(this,qt,r(this,O)),zt(e,t))return;o(this,T,e);const i=()=>{if(!t)return!0;const{notifyOnChangeProps:n}=this.options,a=typeof n=="function"?n():n;if(a==="all"||!a&&!r(this,Tt).size)return!0;const h=new Set(a??r(this,Tt));return this.options.throwOnError&&h.add("error"),Object.keys(r(this,T)).some(u=>{const p=u;return r(this,T)[p]!==t[p]&&h.has(p)})};m(this,C,ss).call(this,{listeners:i()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&m(this,C,ae).call(this)}},j=new WeakMap,O=new WeakMap,_t=new WeakMap,T=new WeakMap,mt=new WeakMap,Ut=new WeakMap,rt=new WeakMap,nt=new WeakMap,Gt=new WeakMap,It=new WeakMap,qt=new WeakMap,vt=new WeakMap,bt=new WeakMap,at=new WeakMap,Tt=new WeakMap,C=new WeakSet,Kt=function(t){m(this,C,he).call(this);let e=r(this,O).fetch(this.options,t);return t!=null&&t.throwOnError||(e=e.catch(L)),e},ie=function(){m(this,C,ue).call(this);const t=ht(this.options.staleTime,r(this,O));if(gt||r(this,T).isStale||!Xt(t))return;const i=$e(r(this,T).dataUpdatedAt,t)+1;o(this,vt,setTimeout(()=>{r(this,T).isStale||this.updateResult()},i))},re=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(r(this,O)):this.options.refetchInterval)??!1},ne=function(t){m(this,C,oe).call(this),o(this,at,t),!(gt||N(this.options.enabled,r(this,O))===!1||!Xt(r(this,at))||r(this,at)===0)&&o(this,bt,setInterval(()=>{(this.options.refetchIntervalInBackground||me.isFocused())&&m(this,C,Kt).call(this)},r(this,at)))},ae=function(){m(this,C,ie).call(this),m(this,C,ne).call(this,m(this,C,re).call(this))},ue=function(){r(this,vt)&&(clearTimeout(r(this,vt)),o(this,vt,void 0))},oe=function(){r(this,bt)&&(clearInterval(r(this,bt)),o(this,bt,void 0))},he=function(){const t=r(this,j).getQueryCache().build(r(this,j),this.options);if(t===r(this,O))return;const e=r(this,O);o(this,O,t),o(this,_t,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,T))}),r(this,j).getQueryCache().notify({query:r(this,O),type:"observerResultsUpdated"})})},Te);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&&ht(t.staleTime,s)!=="static"){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(ht(t.staleTime,s))}function Ps(s,t){return!zt(s.getCurrentResult(),t)}var ut,ot,x,Y,J,Vt,le,je,Fs=(je=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(),m(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&&Ot(e.mutationKey)!==Ot(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){m(this,J,Vt).call(this),m(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),m(this,J,Vt).call(this),m(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,h,u,p,Q;if(r(this,Y)&&this.hasListeners()){const g=r(this,ot).variables,f=r(this,ot).context;(t==null?void 0:t.type)==="success"?((i=(e=r(this,Y)).onSuccess)==null||i.call(e,t.data,g,f),(a=(n=r(this,Y)).onSettled)==null||a.call(n,t.data,null,g,f)):(t==null?void 0:t.type)==="error"&&((u=(h=r(this,Y)).onError)==null||u.call(h,t.error,g,f),(Q=(p=r(this,Y)).onSettled)==null||Q.call(p,void 0,t.error,g,f))}this.listeners.forEach(g=>{g(r(this,ot))})})},je),Ds="VUE_QUERY_CLIENT";function is(s){const t=s?`:${s}`:"";return`${Ds}${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,h])=>[a,de(h,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))}},Is=class extends es{find(s){return super.find(v(s))}findAll(s={}){return super.findAll(v(s))}},qs=class extends Qs{constructor(s={}){const t={defaultOptions:s.defaultOptions,queryCache:s.queryCache||new Us,mutationCache:s.mutationCache||new Is};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 h="queryClientConfig"in t?t.queryClientConfig:void 0;i=new qs(h)}gt||i.mount();let n=()=>{};if(t.clientPersister){i.isRestoring&&(i.isRestoring.value=!0);const[h,u]=t.clientPersister(i);n=h,u.then(()=>{var p;i.isRestoring&&(i.isRestoring.value=!1),(p=t.clientPersisterOnSuccess)==null||p.call(t,i)})}const a=()=>{i.unmount(),n()};if(s.onUnmount)s.onUnmount(a);else{const h=s.unmount;s.unmount=function(){a(),h()}}s.provide(e,i)}};function Ts(s,t,e){const i=rs(),n=Ke(()=>{var d;const c=v(t);typeof c.enabled=="function"&&(c.enabled=c.enabled());const w=i.defaultQueryOptions(c);return w._optimisticResults=(d=i.isRestoring)!=null&&d.value?"isRestoring":"optimistic",w}),a=new s(i,n.value),h=n.value.shallow?ke(a.getCurrentResult()):Le(a.getCurrentResult());let u=()=>{};i.isRestoring&&wt(i.isRestoring,c=>{c||(u(),u=a.subscribe(w=>{fe(h,w)}))},{immediate:!0});const p=()=>{a.setOptions(n.value),fe(h,a.getCurrentResult())};wt(n,p),He(()=>{u()});const Q=(...c)=>(p(),h.refetch(...c)),g=()=>new Promise((c,w)=>{let d=()=>{};const b=()=>{if(n.value.enabled!==!1){a.setOptions(n.value);const S=a.getOptimisticResult(n.value);S.isStale?(d(),a.fetchOptimistic(n.value).then(c,M=>{ee(n.value.throwOnError,[M,a.getCurrentQuery()])?w(M):c(a.getCurrentResult())})):(d(),c(S))}};b(),d=wt(n,b)});wt(()=>h.error,c=>{if(h.isError&&!h.isFetching&&ee(n.value.throwOnError,[c,a.getCurrentQuery()]))throw c});const f=n.value.shallow?_e(h):Ge(h),y=Ne(f);for(const c in h)typeof h[c]=="function"&&(y[c]=h[c]);return y.suspense=g,y.refetch=Q,y}function _s(s,t){return Ts(Ss,s)}function Gs(s,t){const e=rs(),i=Ke(()=>e.defaultMutationOptions(v(s))),n=new Fs(e,i.value),a=i.value.shallow?ke(n.getCurrentResult()):Le(n.getCurrentResult()),h=n.subscribe(g=>{fe(a,g)}),u=(g,f)=>{n.mutate(g,f).catch(()=>{})};wt(i,()=>{n.setOptions(i.value)}),He(()=>{h()});const p=i.value.shallow?_e(a):Ge(a),Q=Ne(p);return wt(()=>a.error,g=>{if(g&&ee(i.value.throwOnError,[g]))throw g}),{...Q,mutate:u,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{i as h,c as j}from"./vee-validate.CXzK59HL.0.0.69.js";import{Z as s,a as y,b as a}from"./zod.2bfLsWMZ.0.0.69.js";/**
1
+ import{i as h,c as j}from"./vee-validate.DwwGVNzx.0.0.70.js";import{Z as s,a as y,b as a}from"./zod.2bfLsWMZ.0.0.70.js";/**
2
2
  * vee-validate v4.15.1
3
3
  * (c) 2025 Abdelrahman Awad
4
4
  * @license MIT
@@ -1 +1 @@
1
- import{n as De,a as Z,w as N,q as ke,l as Ve,v as Be,r as ee,x as Fe,y as Xe,z as E,f as re,p as Re,A as M,k as O,g as se,j as Pe,i as qe,o as ve,h as Ae,b as K,B as we,C as te,D as Ue}from"./@vue.BsSvBeCe.0.0.69.js";import{n as $}from"./nprogress.BYU1Y2h8.0.0.69.js";function H(e){return ke()?(Ve(e),!0):!1}const ae=new WeakMap,Ge=(...e)=>{var n;const t=e[0],l=(n=se())==null?void 0:n.proxy;if(l==null&&!Pe())throw new Error("injectLocal must be called in setup");return l&&ae.has(l)&&t in ae.get(l)?ae.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=Xe(!0),t=l.run(()=>e(...s))),H(i),t)}function Ze(e,n,{enumerable:t=!1,unwrap:l=!0}={}){for(const[i,s]of Object.entries(n))i!=="value"&&(re(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 V=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const me=e=>e!=null,Ke=Object.prototype.toString,Ce=e=>Ke.call(e)==="[object Object]",ge=()=>+Date.now(),P=()=>{},de=Qe();function Qe(){var e,n;return V&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((n=window==null?void 0:window.navigator)==null?void 0:n.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function ue(...e){if(e.length!==1)return Be(...e);const n=e[0];return typeof n=="function"?Z(Fe(()=>({get:n,set:P}))):ee(n)}function ie(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 Le=e=>e();function et(e,n={}){let t,l,i=P;const s=r=>{clearTimeout(r),i(),i=P};let a;return r=>{const u=M(e),c=M(n.maxWait);return t&&s(t),u<=0||c!==void 0&&c<=0?(l&&(s(l),l=null),Promise.resolve(r())):new Promise((d,v)=>{i=n.rejectOnCancel?v:d,a=r,c&&!l&&(l=setTimeout(()=>{t&&s(t),l=null,d(a())},c)),t=setTimeout(()=>{l&&s(l),l=null,d(r())},u)})}}function We(...e){let n=0,t,l=!0,i=P,s,a,o,r,u;!re(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=P)};return v=>{const p=M(a),w=Date.now()-n,y=()=>s=v();return c(),p<=0?(n=Date.now(),y()):(w>p&&(r||!l)?(n=Date.now(),y()):o&&(s=new Promise((h,m)=>{i=u?m:h,t=setTimeout(()=>{n=Date.now(),l=!0,h(y()),c()},Math.max(0,p-w))})),!r&&!t&&(t=setTimeout(()=>l=!0,p)),l=!1,s)}}function tt(e=Le,n={}){const{initialState:t="active"}=n,l=ue(t==="active");function i(){l.value=!1}function s(){l.value=!0}const a=(...o)=>{l.value&&e(...o)};return{isActive:Z(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 j(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 se()}function ut(e,n=200,t={}){return ie(et(n,t),e)}function it(e,n=200,t=!1,l=!0,i=!1){return ie(We(n,t,l,i),e)}function jt(e,n={}){let t=e,l,i;const s=Fe((v,p)=>(l=v,i=p,{get(){return a()},set(w){o(w)}}));function a(v=!0){return v&&l(),t}function o(v,p=!0){var w,y;if(v===t)return;const h=t;((w=n.onBeforeChange)==null?void 0:w.call(n,v,h))!==!1&&(t=v,(y=n.onChanged)==null||y.call(n,v,h),p&&i())}return Ze(s,{get:a,set:o,untrackedGet:()=>a(!1),silentSet:v=>o(v,!1),peek:()=>a(!1),lay:v=>o(v,!1)},{enumerable:!0})}function at(e,n,t={}){const{eventFilter:l=Le,...i}=t;return N(e,ie(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 U(e,n=!0,t){st()?ve(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 q(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(),d=e.getDay(),v=(l=t.customMeridiem)!=null?l:vt,p=y=>{var h;return(h=y.split(" ")[1])!=null?h:""},w={Yo:()=>q(i),YY:()=>String(i).slice(-2),YYYY:()=>i,M:()=>s+1,Mo:()=>q(s+1),MM:()=>`${s+1}`.padStart(2,"0"),MMM:()=>e.toLocaleDateString(M(t.locales),{month:"short"}),MMMM:()=>e.toLocaleDateString(M(t.locales),{month:"long"}),D:()=>String(a),Do:()=>q(a),DD:()=>`${a}`.padStart(2,"0"),H:()=>String(o),Ho:()=>q(o),HH:()=>`${o}`.padStart(2,"0"),h:()=>`${o%12||12}`.padStart(1,"0"),ho:()=>q(o%12||12),hh:()=>`${o%12||12}`.padStart(2,"0"),m:()=>String(r),mo:()=>q(r),mm:()=>`${r}`.padStart(2,"0"),s:()=>String(u),so:()=>q(u),ss:()=>`${u}`.padStart(2,"0"),SSS:()=>`${c}`.padStart(3,"0"),d:()=>d,dd:()=>e.toLocaleDateString(M(t.locales),{weekday:"narrow"}),ddd:()=>e.toLocaleDateString(M(t.locales),{weekday:"short"}),dddd:()=>e.toLocaleDateString(M(t.locales),{weekday:"long"}),A:()=>v(o,r),AA:()=>v(o,r,!1,!0),a:()=>v(o,r,!0),aa:()=>v(o,r,!0,!0),z:()=>p(e.toLocaleDateString(M(t.locales),{timeZoneName:"shortOffset"})),zz:()=>p(e.toLocaleDateString(M(t.locales),{timeZoneName:"shortOffset"})),zzz:()=>p(e.toLocaleDateString(M(t.locales),{timeZoneName:"shortOffset"})),zzzz:()=>p(e.toLocaleDateString(M(t.locales),{timeZoneName:"longOffset"}))};return n.replace(dt,(y,h)=>{var m,f;return(f=h??((m=w[y])==null?void 0:m.call(w)))!=null?f: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 O(()=>mt(pt(M(e)),M(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=M(n);c<=0||(a.value=!0,i&&e(),o(),a.value&&(s=setInterval(e,c)))}if(l&&V&&u(),re(n)||typeof n=="function"){const c=N(n,()=>{a.value&&V&&u()});H(c)}return H(r),{isActive:Re(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)},M(n))}return l&&(s.value=!0,V&&u()),H(r),{isPending:Re(s),start:u,stop:r}}function He(e,n,t){return N(e,n,{...t,immediate:!0})}function Xt(e,n,t){let l;re(t)?l={evaluating:t}:l=t||{};const{lazy:i=!1,flush:s="pre",evaluating:a=void 0,shallow:o=!0,onError:r=P}=l,u=E(!i),c=o?E(n):ee(n);let d=0;return te(async v=>{if(!u.value)return;d++;const p=d;let w=!1;a&&Promise.resolve().then(()=>{a.value=!0});try{const y=await e(h=>{v(()=>{a&&(a.value=!1),w||h()})});p===d&&(c.value=y)}catch(y){r(y)}finally{a&&p===d&&(a.value=!1),w=!0}},{flush:s}),i?O(()=>(u.value=!0,c.value)):c}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 z=V?window:void 0,ze=V?window.document:void 0,Ie=V?window.navigator:void 0;function A(e){var n;const t=M(e);return(n=t==null?void 0:t.$el)!=null?n:t}function T(...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=O(()=>{const o=j(M(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=>A(u)))!=null?r:[z].filter(u=>u!=null),j(M(i.value?e[1]:e[0])),j(Ae(i.value?e[2]:e[1])),M(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 d=Ce(c)?{...c}:c;n.push(...o.flatMap(v=>r.flatMap(p=>u.map(w=>l(v,p,w,d)))))},{flush:"post"}),a=()=>{s(),t()};return H(t),a}let be=!1;function Ut(e,n,t={}){const{window:l=z,ignore:i=[],capture:s=!0,detectIframe:a=!1,controls:o=!1}=t;if(!l)return o?{stop:P,cancel:P,trigger:P}:P;if(de&&!be){be=!0;const h={passive:!0};Array.from(l.document.body.children).forEach(m=>m.addEventListener("click",P,h)),l.document.documentElement.addEventListener("click",P,h)}let r=!0;const u=h=>M(i).some(m=>{if(typeof m=="string")return Array.from(l.document.querySelectorAll(m)).some(f=>f===h.target||h.composedPath().includes(f));{const f=A(m);return f&&(h.target===f||h.composedPath().includes(f))}});function c(h){const m=M(h);return m&&m.$.subTree.shapeFlag===16}function d(h,m){const f=M(h),S=f.$.subTree&&f.$.subTree.children;return S==null||!Array.isArray(S)?!1:S.some(D=>D.el===m.target||m.composedPath().includes(D.el))}const v=h=>{const m=A(e);if(h.target!=null&&!(!(m instanceof Element)&&c(e)&&d(e,h))&&!(!m||m===h.target||h.composedPath().includes(m))){if("detail"in h&&h.detail===0&&(r=!u(h)),!r){r=!0;return}n(h)}};let p=!1;const w=[T(l,"click",h=>{p||(p=!0,setTimeout(()=>{p=!1},0),v(h))},{passive:!0,capture:s}),T(l,"pointerdown",h=>{const m=A(e);r=!u(h)&&!!(m&&!h.composedPath().includes(m))},{passive:!0}),a&&T(l,"blur",h=>{setTimeout(()=>{var m;const f=A(e);((m=l.document.activeElement)==null?void 0:m.tagName)==="IFRAME"&&!(f!=null&&f.contains(l.document.activeElement))&&n(h)},0)},{passive:!0})].filter(Boolean),y=()=>w.forEach(h=>h());return o?{stop:y,cancel:()=>{r=!1},trigger:h=>{r=!0,v(h),r=!1}}:y}function gt(){const e=E(!1),n=se();return n&&ve(()=>{e.value=!0},n),e}function G(e){const n=gt();return O(()=>(n.value,!!e()))}function Ne(e,n,t={}){const{window:l=z,...i}=t;let s;const a=G(()=>l&&"MutationObserver"in l),o=()=>{s&&(s.disconnect(),s=void 0)},r=O(()=>{const v=M(e),p=j(v).map(A).filter(me);return new Set(p)}),u=N(()=>r.value,v=>{o(),a.value&&v.size&&(s=new MutationObserver(n),v.forEach(p=>s.observe(p,i)))},{immediate:!0,flush:"post"}),c=()=>s==null?void 0:s.takeRecords(),d=()=>{u(),o()};return H(d),{isSupported:a,stop:d,takeRecords:c}}function yt(e,n,t={}){const{window:l=z,document:i=l==null?void 0:l.document,flush:s="sync"}=t;if(!l||!i)return P;let a;const o=c=>{a==null||a(),a=c},r=te(()=>{const c=A(e);if(c){const{stop:d}=Ne(i,v=>{v.map(w=>[...w.removedNodes]).flat().some(w=>w===c||w.contains(c))&&n(v)},{window:l,childList:!0,subtree:!0});o(d)}},{flush:s}),u=()=>{r(),o()};return H(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=z,ssrWidth:l=St()}=n,i=G(()=>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 te(()=>{if(s.value){s.value=!i.value;const u=M(e).split(",");o.value=u.some(c=>{const d=c.includes("not all"),v=c.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),p=c.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let w=!!(v||p);return v&&w&&(w=l>=ye(v[1])),p&&w&&(w=l<=ye(p[1])),d?!w:w});return}i.value&&(a.value=t.matchMedia(M(e)),o.value=a.value.matches)}),T(a,"change",r,{passive:!0}),O(()=>o.value)}function Se(e,n={}){const{controls:t=!1,navigator:l=Ie}=n,i=G(()=>l&&"permissions"in l),s=E(),a=typeof e=="string"?{name:e}:e,o=E(),r=()=>{var c,d;o.value=(d=(c=s.value)==null?void 0:c.state)!=null?d:"prompt"};T(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=G(()=>n&&"clipboard"in n),o=Se("clipboard-read"),r=Se("clipboard-write"),u=O(()=>a.value||s),c=E(""),d=E(!1),v=ht(()=>d.value=!1,i,{immediate:!1});async function p(){let f=!(a.value&&m(o.value));if(!f)try{c.value=await n.clipboard.readText()}catch{f=!0}f&&(c.value=h())}u.value&&t&&T(["copy","cut"],p,{passive:!0});async function w(f=M(l)){if(u.value&&f!=null){let S=!(a.value&&m(r.value));if(!S)try{await n.clipboard.writeText(f)}catch{S=!0}S&&y(f),c.value=f,d.value=!0,v.start()}}function y(f){const S=document.createElement("textarea");S.value=f??"",S.style.position="absolute",S.style.opacity="0",document.body.appendChild(S),S.select(),document.execCommand("copy"),S.remove()}function h(){var f,S,D;return(D=(S=(f=document==null?void 0:document.getSelection)==null?void 0:f.call(document))==null?void 0:S.toString())!=null?D:""}function m(f){return f==="granted"||f==="prompt"}return{isSupported:u,text:c,copied:d,copy:w}}const oe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},le="__vueuse_ssr_handlers__",Mt=xt();function xt(){return le in oe||(oe[le]=oe[le]||{}),oe[le]}function _t(e,n){return Mt[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:d=z,eventFilter:v,onError:p=x=>{console.error(x)},initOnMounted:w}=l,y=(c?E:ee)(typeof n=="function"?n():n),h=O(()=>M(e));if(!t)try{t=_t("getDefaultStorage",()=>{var x;return(x=z)==null?void 0:x.localStorage})()}catch(x){p(x)}if(!t)return y;const m=M(n),f=Ot(m),S=(i=l.serializer)!=null?i:Tt[f],{pause:D,resume:k}=ct(y,()=>R(y.value),{flush:s,deep:a,eventFilter:v});N(h,()=>I(),{flush:s});let C=!1;const g=x=>{w&&!C||I(x)},b=x=>{w&&!C||L(x)};d&&o&&(t instanceof Storage?T(d,"storage",g,{passive:!0}):T(d,Ee,b)),w?U(()=>{C=!0,I()}):I();function _(x,F){if(d){const Y={key:h.value,oldValue:x,newValue:F,storageArea:t};d.dispatchEvent(t instanceof Storage?new StorageEvent("storage",Y):new CustomEvent(Ee,{detail:Y}))}}function R(x){try{const F=t.getItem(h.value);if(x==null)_(F,null),t.removeItem(h.value);else{const Y=S.write(x);F!==Y&&(t.setItem(h.value,Y),_(F,Y))}}catch(F){p(F)}}function W(x){const F=x?x.newValue:t.getItem(h.value);if(F==null)return r&&m!=null&&t.setItem(h.value,S.write(m)),m;if(!x&&u){const Y=S.read(F);return typeof u=="function"?u(Y,m):f==="object"&&!Array.isArray(Y)?{...m,...Y}:Y}else return typeof F!="string"?F:S.read(F)}function I(x){if(!(x&&x.storageArea!==t)){if(x&&x.key==null){y.value=m;return}if(!(x&&x.key!==h.value)){D();try{(x==null?void 0:x.newValue)!==S.write(y.value)&&(y.value=W(x))}catch(F){p(F)}finally{x?De(k):k()}}}}function L(x){I(x.detail)}return y}function Zt(e={}){const{document:n=ze}=e;if(!n)return E("visible");const t=E(n.visibilityState);return T(n,"visibilitychange",()=>{t.value=n.visibilityState},{passive:!0}),t}function Ye(e,n,t={}){const{window:l=z,...i}=t;let s;const a=G(()=>l&&"ResizeObserver"in l),o=()=>{s&&(s.disconnect(),s=void 0)},r=O(()=>{const d=M(e);return Array.isArray(d)?d.map(v=>A(v)):[A(d)]}),u=N(r,d=>{if(o(),a.value&&l){s=new ResizeObserver(n);for(const v of d)v&&s.observe(v,i)}},{immediate:!0,flush:"post"}),c=()=>{o(),u()};return H(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),d=E(0),v=E(0),p=E(0),w=E(0);function y(){const m=A(e);if(!m){t&&(o.value=0,r.value=0,u.value=0,c.value=0,d.value=0,v.value=0,p.value=0,w.value=0);return}const f=m.getBoundingClientRect();o.value=f.height,r.value=f.bottom,u.value=f.left,c.value=f.right,d.value=f.top,v.value=f.width,p.value=f.x,w.value=f.y}function h(){a==="sync"?y():a==="next-frame"&&requestAnimationFrame(()=>y())}return Ye(e,h),N(()=>A(e),m=>!m&&h()),Ne(e,h,{attributeFilter:["style","class"]}),i&&T("scroll",h,{capture:!0,passive:!0}),l&&T("resize",h,{passive:!0}),U(()=>{s&&h()}),{height:o,bottom:r,left:u,right:c,top:d,width:v,x:p,y:w,update:h}}function Kt(e,n={}){const{delayEnter:t=0,delayLeave:l=0,triggerOnRemoval:i=!1,window:s=z}=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&&(T(e,"mouseenter",()=>r(!0),{passive:!0}),T(e,"mouseleave",()=>r(!1),{passive:!0}),i&&yt(O(()=>A(e)),()=>r(!1))),a}function Qt(e,n={width:0,height:0},t={}){const{window:l=z,box:i="content-box"}=t,s=O(()=>{var d,v;return(v=(d=A(e))==null?void 0:d.namespaceURI)==null?void 0:v.includes("svg")}),a=E(n.width),o=E(n.height),{stop:r}=Ye(e,([d])=>{const v=i==="border-box"?d.borderBoxSize:i==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(l&&s.value){const p=A(e);if(p){const w=p.getBoundingClientRect();a.value=w.width,o.value=w.height}}else if(v){const p=j(v);a.value=p.reduce((w,{inlineSize:y})=>w+y,0),o.value=p.reduce((w,{blockSize:y})=>w+y,0)}else a.value=d.contentRect.width,o.value=d.contentRect.height},t);U(()=>{const d=A(e);d&&(a.value="offsetWidth"in d?d.offsetWidth:n.width,o.value="offsetHeight"in d?d.offsetHeight:n.height)});const u=N(()=>A(e),d=>{a.value=d?n.width:0,o.value=d?n.height:0});function c(){r(),u()}return{width:a,height:o,stop:c}}const Q=new Map;function en(e){const n=ke();function t(o){var r;const u=Q.get(e)||new Set;u.add(o),Q.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=Q.get(e);r&&(r.delete(o),r.size||s())}function s(){Q.delete(e)}function a(o,r){var u;(u=Q.get(e))==null||u.forEach(c=>c(o,r))}return{on:t,once:l,off:i,emit:a,reset:s}}const Me=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function tn(e,n={}){const{document:t=ze,autoExit:l=!1}=n,i=O(()=>{var f;return(f=A(e))!=null?f:t==null?void 0:t.documentElement}),s=E(!1),a=O(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(f=>t&&f in t||i.value&&f in i.value)),o=O(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(f=>t&&f in t||i.value&&f in i.value)),r=O(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(f=>t&&f in t||i.value&&f in i.value)),u=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(f=>t&&f in t),c=G(()=>i.value&&t&&a.value!==void 0&&o.value!==void 0&&r.value!==void 0),d=()=>u?(t==null?void 0:t[u])===i.value:!1,v=()=>{if(r.value){if(t&&t[r.value]!=null)return t[r.value];{const f=i.value;if((f==null?void 0:f[r.value])!=null)return!!f[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 f=i.value;(f==null?void 0:f[o.value])!=null&&await f[o.value]()}s.value=!1}}async function w(){if(!c.value||s.value)return;v()&&await p();const f=i.value;a.value&&(f==null?void 0:f[a.value])!=null&&(await f[a.value](),s.value=!0)}async function y(){await(s.value?p():w())}const h=()=>{const f=v();(!f||f&&d())&&(s.value=f)},m={capture:!1,passive:!0};return T(t,Me,h,m),T(()=>A(i),Me,h,m),U(h,!1),l&&H(p),{isSupported:c,isFullscreen:s,enter:w,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=z,eventFilter:a=We(50)}=n,o=E(t),r=E(ge());let u;const c=()=>{o.value=!1,clearTimeout(u),u=setTimeout(()=>o.value=!0,e)},d=ie(a,()=>{r.value=ge(),c()});if(s){const v=s.document,p={passive:!0};for(const w of i)T(s,w,d,p);l&&T(v,"visibilitychange",()=>{v.hidden||d()},p),c()}return{idle:o,lastActive:r,reset:c}}const xe=1;function on(e,n={}){const{throttle:t=0,idle:l=200,onStop:i=P,onScroll:s=P,offset:a={left:0,right:0,top:0,bottom:0},eventListenerOptions:o={capture:!1,passive:!0},behavior:r="auto",window:u=z,onError:c=g=>{console.error(g)}}=n,d=E(0),v=E(0),p=O({get(){return d.value},set(g){y(g,void 0)}}),w=O({get(){return v.value},set(g){y(void 0,g)}});function y(g,b){var _,R,W,I;if(!u)return;const L=M(e);if(!L)return;(W=L instanceof Document?u.document.body:L)==null||W.scrollTo({top:(_=M(b))!=null?_:w.value,left:(R=M(g))!=null?R:p.value,behavior:M(r)});const x=((I=L==null?void 0:L.document)==null?void 0:I.documentElement)||(L==null?void 0:L.documentElement)||L;p!=null&&(d.value=x.scrollLeft),w!=null&&(v.value=x.scrollTop)}const h=E(!1),m=K({left:!0,right:!1,top:!0,bottom:!1}),f=K({left:!1,right:!1,top:!1,bottom:!1}),S=g=>{h.value&&(h.value=!1,f.left=!1,f.right=!1,f.top=!1,f.bottom=!1,i(g))},D=ut(S,t+l),k=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)||A(g),{display:R,flexDirection:W,direction:I}=getComputedStyle(_),L=I==="rtl"?-1:1,x=_.scrollLeft;f.left=x<d.value,f.right=x>d.value;const F=Math.abs(x*L)<=(a.left||0),Y=Math.abs(x*L)+_.clientWidth>=_.scrollWidth-(a.right||0)-xe;R==="flex"&&W==="row-reverse"?(m.left=Y,m.right=F):(m.left=F,m.right=Y),d.value=x;let X=_.scrollTop;g===u.document&&!X&&(X=u.document.body.scrollTop),f.top=X<v.value,f.bottom=X>v.value;const pe=Math.abs(X)<=(a.top||0),he=Math.abs(X)+_.clientHeight>=_.scrollHeight-(a.bottom||0)-xe;R==="flex"&&W==="column-reverse"?(m.top=he,m.bottom=pe):(m.top=pe,m.bottom=he),v.value=X},C=g=>{var b;if(!u)return;const _=(b=g.target.documentElement)!=null?b:g.target;k(_),h.value=!0,D(g),s(g)};return T(e,"scroll",t?it(C,t,!0,!1):C,o),U(()=>{try{const g=M(e);if(!g)return;k(g)}catch(g){c(g)}}),T(e,"scrollend",S,o),{x:p,y:w,isScrolling:h,arrivedState:m,directions:f,measure(){const g=M(e);u&&g&&k(g)}}}function ln(e,n,t={}){const{window:l=z}=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=z,target:a=s,scroll:o=!0,eventFilter:r}=e;let u=null,c=0,d=0;const v=E(i.x),p=E(i.y),w=E(null),y=typeof n=="function"?n:Rt[n],h=g=>{const b=y(g);u=g,b&&([v.value,p.value]=b,w.value="mouse"),s&&(c=s.scrollX,d=s.scrollY)},m=g=>{if(g.touches.length>0){const b=y(g.touches[0]);b&&([v.value,p.value]=b,w.value="touch")}},f=()=>{if(!u||!s)return;const g=y(u);u instanceof MouseEvent&&g&&(v.value=g[0]+s.scrollX-c,p.value=g[1]+s.scrollY-d)},S=()=>{v.value=i.x,p.value=i.y},D=r?g=>r(()=>h(g),{}):g=>h(g),k=r?g=>r(()=>m(g),{}):g=>m(g),C=r?()=>r(()=>f(),{}):()=>f();if(a){const g={passive:!0};T(a,["mousemove","dragover"],D,g),t&&n!=="movement"&&(T(a,["touchstart","touchmove"],k,g),l&&T(a,"touchend",S,g)),o&&n==="page"&&T(s,"scroll",C,g)}return{x:v,y:p,sourceType:w}}function sn(e={}){const{window:n=z}=e,t=G(()=>n&&"screen"in n&&"orientation"in n.screen),l=t.value?n.screen.orientation:{},i=ee(l.type),s=E(l.angle||0);return t.value&&T(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=ue(e),{threshold:l=50,onSwipe:i,onSwipeEnd:s,onSwipeStart:a,disableTextSelect:o=!1}=n,r=K({x:0,y:0}),u=(b,_)=>{r.x=b,r.y=_},c=K({x:0,y:0}),d=(b,_)=>{c.x=b,c.y=_},v=O(()=>r.x-c.x),p=O(()=>r.y-c.y),{max:w,abs:y}=Math,h=O(()=>w(y(v.value),y(p.value))>=l),m=E(!1),f=E(!1),S=O(()=>h.value?y(v.value)>y(p.value)?v.value>0?"left":"right":p.value>0?"up":"down":"none"),D=b=>{var _,R,W;const I=b.buttons===0,L=b.buttons===1;return(W=(R=(_=n.pointerTypes)==null?void 0:_.includes(b.pointerType))!=null?R:I||L)!=null?W:!0},k={passive:!0},C=[T(e,"pointerdown",b=>{if(!D(b))return;f.value=!0;const _=b.target;_==null||_.setPointerCapture(b.pointerId);const{clientX:R,clientY:W}=b;u(R,W),d(R,W),a==null||a(b)},k),T(e,"pointermove",b=>{if(!D(b)||!f.value)return;const{clientX:_,clientY:R}=b;d(_,R),!m.value&&h.value&&(m.value=!0),m.value&&(i==null||i(b))},k),T(e,"pointerup",b=>{D(b)&&(m.value&&(s==null||s(b,S.value)),f.value=!1,m.value=!1)},k)];U(()=>{var b,_,R,W,I,L,x,F;(_=(b=t.value)==null?void 0:b.style)==null||_.setProperty("touch-action","pan-y"),o&&((W=(R=t.value)==null?void 0:R.style)==null||W.setProperty("-webkit-user-select","none"),(L=(I=t.value)==null?void 0:I.style)==null||L.setProperty("-ms-user-select","none"),(F=(x=t.value)==null?void 0:x.style)==null||F.setProperty("user-select","none"))});const g=()=>C.forEach(b=>b());return{isSwiping:Z(m),direction:Z(S),posStart:Z(r),posEnd:Z(c),distanceX:v,distanceY:p,stop:g}}function an(e,n={}){const{threshold:t=50,onSwipe:l,onSwipeEnd:i,onSwipeStart:s,passive:a=!0}=n,o=K({x:0,y:0}),r=K({x:0,y:0}),u=O(()=>o.x-r.x),c=O(()=>o.y-r.y),{max:d,abs:v}=Math,p=O(()=>d(v(u.value),v(c.value))>=t),w=E(!1),y=O(()=>p.value?v(u.value)>v(c.value)?u.value>0?"left":"right":c.value>0?"up":"down":"none"),h=g=>[g.touches[0].clientX,g.touches[0].clientY],m=(g,b)=>{o.x=g,o.y=b},f=(g,b)=>{r.x=g,r.y=b},S={passive:a,capture:!a},D=g=>{w.value&&(i==null||i(g,y.value)),w.value=!1},k=[T(e,"touchstart",g=>{if(g.touches.length!==1)return;const[b,_]=h(g);m(b,_),f(b,_),s==null||s(g)},S),T(e,"touchmove",g=>{if(g.touches.length!==1)return;const[b,_]=h(g);f(b,_),S.capture&&!S.passive&&Math.abs(u.value)>Math.abs(c.value)&&g.preventDefault(),!w.value&&p.value&&(w.value=!0),w.value&&(l==null||l(g))},S),T(e,["touchend","touchcancel"],D,S)];return{isSwiping:w,direction:y,coordsStart:o,coordsEnd:r,lengthX:u,lengthY:c,stop:()=>k.forEach(g=>g()),isPassiveEventSupported:!0}}function cn(e={}){const{window:n=z,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:d,height:v,scale:p}=n.visualViewport;o.value=Math.round(d*p),r.value=Math.round(v*p)}else s?(o.value=n.innerWidth,r.value=n.innerHeight):(o.value=n.document.documentElement.clientWidth,r.value=n.document.documentElement.clientHeight)};u(),U(u);const c={passive:!0};if(T("resize",u,c),n&&a==="visual"&&n.visualViewport&&T(n.visualViewport,"resize",u,c),i){const d=Et("(orientation: portrait)");N(d,()=>u())}return{width:o,height:r}}const ne=V?window:void 0;function B(e){var n;const t=M(e);return(n=t==null?void 0:t.$el)!=null?n:t}function J(...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=O(()=>{const o=j(M(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=>B(u)))!=null?r:[ne].filter(u=>u!=null),j(M(i.value?e[1]:e[0])),j(Ae(i.value?e[2]:e[1])),M(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 d=Ce(c)?{...c}:c;n.push(...o.flatMap(v=>r.flatMap(p=>u.map(w=>l(v,p,w,d)))))},{flush:"post"}),a=()=>{s(),t()};return H(t),a}const Pt=500,At=10;function _e(e,n,t){var l,i;const s=O(()=>B(e));let a,o,r,u=!1;function c(){a&&(clearTimeout(a),a=void 0),o=void 0,r=void 0,u=!1}function d(m){var f,S,D;const[k,C,g]=[r,o,u];if(c(),!(t!=null&&t.onMouseUp)||!C||!k||(f=t==null?void 0:t.modifiers)!=null&&f.self&&m.target!==s.value)return;(S=t==null?void 0:t.modifiers)!=null&&S.prevent&&m.preventDefault(),(D=t==null?void 0:t.modifiers)!=null&&D.stop&&m.stopPropagation();const b=m.x-C.x,_=m.y-C.y,R=Math.sqrt(b*b+_*_);t.onMouseUp(m.timeStamp-k,R,g)}function v(m){var f,S,D,k;(f=t==null?void 0:t.modifiers)!=null&&f.self&&m.target!==s.value||(c(),(S=t==null?void 0:t.modifiers)!=null&&S.prevent&&m.preventDefault(),(D=t==null?void 0:t.modifiers)!=null&&D.stop&&m.stopPropagation(),o={x:m.x,y:m.y},r=m.timeStamp,a=setTimeout(()=>{u=!0,n(m)},(k=t==null?void 0:t.delay)!=null?k:Pt))}function p(m){var f,S,D,k;if((f=t==null?void 0:t.modifiers)!=null&&f.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(),(D=t==null?void 0:t.modifiers)!=null&&D.stop&&m.stopPropagation();const C=m.x-o.x,g=m.y-o.y;Math.sqrt(C*C+g*g)>=((k=t==null?void 0:t.distanceThreshold)!=null?k:At)&&c()}const w={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=[J(s,"pointerdown",v,w),J(s,"pointermove",p,w),J(s,["pointerup","pointerleave"],d,w)];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=se();return n&&ve(()=>{e.value=!0},n),e}function $e(e){const n=Ct();return O(()=>(n.value,!!e()))}function Lt(e,n,t={}){const{window:l=ne,...i}=t;let s;const a=$e(()=>l&&"MutationObserver"in l),o=()=>{s&&(s.disconnect(),s=void 0)},r=O(()=>{const v=M(e),p=j(v).map(B).filter(me);return new Set(p)}),u=N(()=>r.value,v=>{o(),a.value&&v.size&&(s=new MutationObserver(n),v.forEach(p=>s.observe(p,i)))},{immediate:!0,flush:"post"}),c=()=>s==null?void 0:s.takeRecords(),d=()=>{u(),o()};return H(d),{isSupported:a,stop:d,takeRecords:c}}function Wt(e,n,t={}){const{window:l=ne,document:i=l==null?void 0:l.document,flush:s="sync"}=t;if(!l||!i)return P;let a;const o=c=>{a==null||a(),a=c},r=te(()=>{const c=B(e);if(c){const{stop:d}=Lt(i,v=>{v.map(w=>[...w.removedNodes]).flat().some(w=>w===c||w.contains(c))&&n(v)},{window:l,childList:!0,subtree:!0});o(d)}},{flush:s}),u=()=>{r(),o()};return H(u),u}function Oe(e,n={}){const{delayEnter:t=0,delayLeave:l=0,triggerOnRemoval:i=!1,window:s=ne}=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&&(J(e,"mouseenter",()=>r(!0),{passive:!0}),J(e,"mouseleave",()=>r(!1),{passive:!0}),i&&Wt(O(()=>B(e)),()=>r(!1))),a}const dn={mounted(e,n){const t=n.value;if(typeof t=="function"){const l=Oe(e);N(l,i=>t(i))}else{const[l,i]=t,s=Oe(e,i);N(s,a=>l(a))}}};function Te(e,n,t={}){const{root:l,rootMargin:i="0px",threshold:s=0,window:a=ne,immediate:o=!0}=t,r=$e(()=>a&&"IntersectionObserver"in a),u=O(()=>{const w=M(e);return j(w).map(B).filter(me)});let c=P;const d=E(o),v=r.value?N(()=>[u.value,B(l),d.value],([w,y])=>{if(c(),!d.value||!w.length)return;const h=new IntersectionObserver(n,{root:B(y),rootMargin:i,threshold:s});w.forEach(m=>m&&h.observe(m)),c=()=>{h.disconnect(),c=P}},{immediate:o,flush:"post"}):P,p=()=>{c(),v(),d.value=!1};return H(p),{isSupported:r,isActive:d,pause(){c(),d.value=!1},resume(){d.value=!0},stop:p}}function ce(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 fe=new WeakMap;function zt(e,n=!1){const t=E(n);let l=null,i="";N(ue(e),o=>{const r=ce(M(o));if(r){const u=r;if(fe.get(u)||fe.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=ce(M(e));!o||t.value||(de&&(l=J(o,"touchmove",r=>{Ht(r)},{passive:!1})),o.style.overflow="hidden",t.value=!0)},a=()=>{const o=ce(M(e));!o||!t.value||(de&&(l==null||l()),o.style.overflow=i,fe.delete(o),t.value=!1)};return H(a),O({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);N(n,s=>i.value=s)}}It();function mn(e,n){const t=ee(void 0),l=e.subscribe({next:i=>t.value=i,error:void 0});return H(()=>{l.unsubscribe()}),t}function pn(e=null,n){const t=ue(e),l=O({set:s=>s?$.start():$.done(),get:()=>typeof t.value=="number"&&t.value<1});n&&$.configure(n);const i=$.set;return $.set=s=>(t.value=s,i.call($,s)),te(()=>{typeof t.value=="number"&&V&&i.call($,t.value)}),H($.remove),{isLoading:l,progress:t,start:$.start,done:$.done,remove:()=>{t.value=null,$.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,Gt as q,jt as r,Zt as s,Kt as t,ln as u,dn as v,tn as w,nn as x,T as y,pn as z};
1
+ import{n as De,a as Z,w as N,q as ke,l as Ve,v as Be,r as ee,x as Fe,y as Xe,z as E,f as re,p as Re,A as M,k as O,g as se,j as Pe,i as qe,o as ve,h as Ae,b as K,B as we,C as te,D as Ue}from"./@vue.BsSvBeCe.0.0.70.js";import{n as $}from"./nprogress.DuNJBXnf.0.0.70.js";function H(e){return ke()?(Ve(e),!0):!1}const ae=new WeakMap,Ge=(...e)=>{var n;const t=e[0],l=(n=se())==null?void 0:n.proxy;if(l==null&&!Pe())throw new Error("injectLocal must be called in setup");return l&&ae.has(l)&&t in ae.get(l)?ae.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=Xe(!0),t=l.run(()=>e(...s))),H(i),t)}function Ze(e,n,{enumerable:t=!1,unwrap:l=!0}={}){for(const[i,s]of Object.entries(n))i!=="value"&&(re(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 V=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const me=e=>e!=null,Ke=Object.prototype.toString,Ce=e=>Ke.call(e)==="[object Object]",ge=()=>+Date.now(),P=()=>{},de=Qe();function Qe(){var e,n;return V&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((n=window==null?void 0:window.navigator)==null?void 0:n.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function ue(...e){if(e.length!==1)return Be(...e);const n=e[0];return typeof n=="function"?Z(Fe(()=>({get:n,set:P}))):ee(n)}function ie(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 Le=e=>e();function et(e,n={}){let t,l,i=P;const s=r=>{clearTimeout(r),i(),i=P};let a;return r=>{const u=M(e),c=M(n.maxWait);return t&&s(t),u<=0||c!==void 0&&c<=0?(l&&(s(l),l=null),Promise.resolve(r())):new Promise((d,v)=>{i=n.rejectOnCancel?v:d,a=r,c&&!l&&(l=setTimeout(()=>{t&&s(t),l=null,d(a())},c)),t=setTimeout(()=>{l&&s(l),l=null,d(r())},u)})}}function We(...e){let n=0,t,l=!0,i=P,s,a,o,r,u;!re(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=P)};return v=>{const p=M(a),w=Date.now()-n,y=()=>s=v();return c(),p<=0?(n=Date.now(),y()):(w>p&&(r||!l)?(n=Date.now(),y()):o&&(s=new Promise((h,m)=>{i=u?m:h,t=setTimeout(()=>{n=Date.now(),l=!0,h(y()),c()},Math.max(0,p-w))})),!r&&!t&&(t=setTimeout(()=>l=!0,p)),l=!1,s)}}function tt(e=Le,n={}){const{initialState:t="active"}=n,l=ue(t==="active");function i(){l.value=!1}function s(){l.value=!0}const a=(...o)=>{l.value&&e(...o)};return{isActive:Z(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 j(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 se()}function ut(e,n=200,t={}){return ie(et(n,t),e)}function it(e,n=200,t=!1,l=!0,i=!1){return ie(We(n,t,l,i),e)}function jt(e,n={}){let t=e,l,i;const s=Fe((v,p)=>(l=v,i=p,{get(){return a()},set(w){o(w)}}));function a(v=!0){return v&&l(),t}function o(v,p=!0){var w,y;if(v===t)return;const h=t;((w=n.onBeforeChange)==null?void 0:w.call(n,v,h))!==!1&&(t=v,(y=n.onChanged)==null||y.call(n,v,h),p&&i())}return Ze(s,{get:a,set:o,untrackedGet:()=>a(!1),silentSet:v=>o(v,!1),peek:()=>a(!1),lay:v=>o(v,!1)},{enumerable:!0})}function at(e,n,t={}){const{eventFilter:l=Le,...i}=t;return N(e,ie(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 U(e,n=!0,t){st()?ve(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 q(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(),d=e.getDay(),v=(l=t.customMeridiem)!=null?l:vt,p=y=>{var h;return(h=y.split(" ")[1])!=null?h:""},w={Yo:()=>q(i),YY:()=>String(i).slice(-2),YYYY:()=>i,M:()=>s+1,Mo:()=>q(s+1),MM:()=>`${s+1}`.padStart(2,"0"),MMM:()=>e.toLocaleDateString(M(t.locales),{month:"short"}),MMMM:()=>e.toLocaleDateString(M(t.locales),{month:"long"}),D:()=>String(a),Do:()=>q(a),DD:()=>`${a}`.padStart(2,"0"),H:()=>String(o),Ho:()=>q(o),HH:()=>`${o}`.padStart(2,"0"),h:()=>`${o%12||12}`.padStart(1,"0"),ho:()=>q(o%12||12),hh:()=>`${o%12||12}`.padStart(2,"0"),m:()=>String(r),mo:()=>q(r),mm:()=>`${r}`.padStart(2,"0"),s:()=>String(u),so:()=>q(u),ss:()=>`${u}`.padStart(2,"0"),SSS:()=>`${c}`.padStart(3,"0"),d:()=>d,dd:()=>e.toLocaleDateString(M(t.locales),{weekday:"narrow"}),ddd:()=>e.toLocaleDateString(M(t.locales),{weekday:"short"}),dddd:()=>e.toLocaleDateString(M(t.locales),{weekday:"long"}),A:()=>v(o,r),AA:()=>v(o,r,!1,!0),a:()=>v(o,r,!0),aa:()=>v(o,r,!0,!0),z:()=>p(e.toLocaleDateString(M(t.locales),{timeZoneName:"shortOffset"})),zz:()=>p(e.toLocaleDateString(M(t.locales),{timeZoneName:"shortOffset"})),zzz:()=>p(e.toLocaleDateString(M(t.locales),{timeZoneName:"shortOffset"})),zzzz:()=>p(e.toLocaleDateString(M(t.locales),{timeZoneName:"longOffset"}))};return n.replace(dt,(y,h)=>{var m,f;return(f=h??((m=w[y])==null?void 0:m.call(w)))!=null?f: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 O(()=>mt(pt(M(e)),M(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=M(n);c<=0||(a.value=!0,i&&e(),o(),a.value&&(s=setInterval(e,c)))}if(l&&V&&u(),re(n)||typeof n=="function"){const c=N(n,()=>{a.value&&V&&u()});H(c)}return H(r),{isActive:Re(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)},M(n))}return l&&(s.value=!0,V&&u()),H(r),{isPending:Re(s),start:u,stop:r}}function He(e,n,t){return N(e,n,{...t,immediate:!0})}function Xt(e,n,t){let l;re(t)?l={evaluating:t}:l=t||{};const{lazy:i=!1,flush:s="pre",evaluating:a=void 0,shallow:o=!0,onError:r=P}=l,u=E(!i),c=o?E(n):ee(n);let d=0;return te(async v=>{if(!u.value)return;d++;const p=d;let w=!1;a&&Promise.resolve().then(()=>{a.value=!0});try{const y=await e(h=>{v(()=>{a&&(a.value=!1),w||h()})});p===d&&(c.value=y)}catch(y){r(y)}finally{a&&p===d&&(a.value=!1),w=!0}},{flush:s}),i?O(()=>(u.value=!0,c.value)):c}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 z=V?window:void 0,ze=V?window.document:void 0,Ie=V?window.navigator:void 0;function A(e){var n;const t=M(e);return(n=t==null?void 0:t.$el)!=null?n:t}function T(...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=O(()=>{const o=j(M(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=>A(u)))!=null?r:[z].filter(u=>u!=null),j(M(i.value?e[1]:e[0])),j(Ae(i.value?e[2]:e[1])),M(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 d=Ce(c)?{...c}:c;n.push(...o.flatMap(v=>r.flatMap(p=>u.map(w=>l(v,p,w,d)))))},{flush:"post"}),a=()=>{s(),t()};return H(t),a}let be=!1;function Ut(e,n,t={}){const{window:l=z,ignore:i=[],capture:s=!0,detectIframe:a=!1,controls:o=!1}=t;if(!l)return o?{stop:P,cancel:P,trigger:P}:P;if(de&&!be){be=!0;const h={passive:!0};Array.from(l.document.body.children).forEach(m=>m.addEventListener("click",P,h)),l.document.documentElement.addEventListener("click",P,h)}let r=!0;const u=h=>M(i).some(m=>{if(typeof m=="string")return Array.from(l.document.querySelectorAll(m)).some(f=>f===h.target||h.composedPath().includes(f));{const f=A(m);return f&&(h.target===f||h.composedPath().includes(f))}});function c(h){const m=M(h);return m&&m.$.subTree.shapeFlag===16}function d(h,m){const f=M(h),S=f.$.subTree&&f.$.subTree.children;return S==null||!Array.isArray(S)?!1:S.some(D=>D.el===m.target||m.composedPath().includes(D.el))}const v=h=>{const m=A(e);if(h.target!=null&&!(!(m instanceof Element)&&c(e)&&d(e,h))&&!(!m||m===h.target||h.composedPath().includes(m))){if("detail"in h&&h.detail===0&&(r=!u(h)),!r){r=!0;return}n(h)}};let p=!1;const w=[T(l,"click",h=>{p||(p=!0,setTimeout(()=>{p=!1},0),v(h))},{passive:!0,capture:s}),T(l,"pointerdown",h=>{const m=A(e);r=!u(h)&&!!(m&&!h.composedPath().includes(m))},{passive:!0}),a&&T(l,"blur",h=>{setTimeout(()=>{var m;const f=A(e);((m=l.document.activeElement)==null?void 0:m.tagName)==="IFRAME"&&!(f!=null&&f.contains(l.document.activeElement))&&n(h)},0)},{passive:!0})].filter(Boolean),y=()=>w.forEach(h=>h());return o?{stop:y,cancel:()=>{r=!1},trigger:h=>{r=!0,v(h),r=!1}}:y}function gt(){const e=E(!1),n=se();return n&&ve(()=>{e.value=!0},n),e}function G(e){const n=gt();return O(()=>(n.value,!!e()))}function Ne(e,n,t={}){const{window:l=z,...i}=t;let s;const a=G(()=>l&&"MutationObserver"in l),o=()=>{s&&(s.disconnect(),s=void 0)},r=O(()=>{const v=M(e),p=j(v).map(A).filter(me);return new Set(p)}),u=N(()=>r.value,v=>{o(),a.value&&v.size&&(s=new MutationObserver(n),v.forEach(p=>s.observe(p,i)))},{immediate:!0,flush:"post"}),c=()=>s==null?void 0:s.takeRecords(),d=()=>{u(),o()};return H(d),{isSupported:a,stop:d,takeRecords:c}}function yt(e,n,t={}){const{window:l=z,document:i=l==null?void 0:l.document,flush:s="sync"}=t;if(!l||!i)return P;let a;const o=c=>{a==null||a(),a=c},r=te(()=>{const c=A(e);if(c){const{stop:d}=Ne(i,v=>{v.map(w=>[...w.removedNodes]).flat().some(w=>w===c||w.contains(c))&&n(v)},{window:l,childList:!0,subtree:!0});o(d)}},{flush:s}),u=()=>{r(),o()};return H(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=z,ssrWidth:l=St()}=n,i=G(()=>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 te(()=>{if(s.value){s.value=!i.value;const u=M(e).split(",");o.value=u.some(c=>{const d=c.includes("not all"),v=c.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),p=c.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let w=!!(v||p);return v&&w&&(w=l>=ye(v[1])),p&&w&&(w=l<=ye(p[1])),d?!w:w});return}i.value&&(a.value=t.matchMedia(M(e)),o.value=a.value.matches)}),T(a,"change",r,{passive:!0}),O(()=>o.value)}function Se(e,n={}){const{controls:t=!1,navigator:l=Ie}=n,i=G(()=>l&&"permissions"in l),s=E(),a=typeof e=="string"?{name:e}:e,o=E(),r=()=>{var c,d;o.value=(d=(c=s.value)==null?void 0:c.state)!=null?d:"prompt"};T(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=G(()=>n&&"clipboard"in n),o=Se("clipboard-read"),r=Se("clipboard-write"),u=O(()=>a.value||s),c=E(""),d=E(!1),v=ht(()=>d.value=!1,i,{immediate:!1});async function p(){let f=!(a.value&&m(o.value));if(!f)try{c.value=await n.clipboard.readText()}catch{f=!0}f&&(c.value=h())}u.value&&t&&T(["copy","cut"],p,{passive:!0});async function w(f=M(l)){if(u.value&&f!=null){let S=!(a.value&&m(r.value));if(!S)try{await n.clipboard.writeText(f)}catch{S=!0}S&&y(f),c.value=f,d.value=!0,v.start()}}function y(f){const S=document.createElement("textarea");S.value=f??"",S.style.position="absolute",S.style.opacity="0",document.body.appendChild(S),S.select(),document.execCommand("copy"),S.remove()}function h(){var f,S,D;return(D=(S=(f=document==null?void 0:document.getSelection)==null?void 0:f.call(document))==null?void 0:S.toString())!=null?D:""}function m(f){return f==="granted"||f==="prompt"}return{isSupported:u,text:c,copied:d,copy:w}}const oe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},le="__vueuse_ssr_handlers__",Mt=xt();function xt(){return le in oe||(oe[le]=oe[le]||{}),oe[le]}function _t(e,n){return Mt[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:d=z,eventFilter:v,onError:p=x=>{console.error(x)},initOnMounted:w}=l,y=(c?E:ee)(typeof n=="function"?n():n),h=O(()=>M(e));if(!t)try{t=_t("getDefaultStorage",()=>{var x;return(x=z)==null?void 0:x.localStorage})()}catch(x){p(x)}if(!t)return y;const m=M(n),f=Ot(m),S=(i=l.serializer)!=null?i:Tt[f],{pause:D,resume:k}=ct(y,()=>R(y.value),{flush:s,deep:a,eventFilter:v});N(h,()=>I(),{flush:s});let C=!1;const g=x=>{w&&!C||I(x)},b=x=>{w&&!C||L(x)};d&&o&&(t instanceof Storage?T(d,"storage",g,{passive:!0}):T(d,Ee,b)),w?U(()=>{C=!0,I()}):I();function _(x,F){if(d){const Y={key:h.value,oldValue:x,newValue:F,storageArea:t};d.dispatchEvent(t instanceof Storage?new StorageEvent("storage",Y):new CustomEvent(Ee,{detail:Y}))}}function R(x){try{const F=t.getItem(h.value);if(x==null)_(F,null),t.removeItem(h.value);else{const Y=S.write(x);F!==Y&&(t.setItem(h.value,Y),_(F,Y))}}catch(F){p(F)}}function W(x){const F=x?x.newValue:t.getItem(h.value);if(F==null)return r&&m!=null&&t.setItem(h.value,S.write(m)),m;if(!x&&u){const Y=S.read(F);return typeof u=="function"?u(Y,m):f==="object"&&!Array.isArray(Y)?{...m,...Y}:Y}else return typeof F!="string"?F:S.read(F)}function I(x){if(!(x&&x.storageArea!==t)){if(x&&x.key==null){y.value=m;return}if(!(x&&x.key!==h.value)){D();try{(x==null?void 0:x.newValue)!==S.write(y.value)&&(y.value=W(x))}catch(F){p(F)}finally{x?De(k):k()}}}}function L(x){I(x.detail)}return y}function Zt(e={}){const{document:n=ze}=e;if(!n)return E("visible");const t=E(n.visibilityState);return T(n,"visibilitychange",()=>{t.value=n.visibilityState},{passive:!0}),t}function Ye(e,n,t={}){const{window:l=z,...i}=t;let s;const a=G(()=>l&&"ResizeObserver"in l),o=()=>{s&&(s.disconnect(),s=void 0)},r=O(()=>{const d=M(e);return Array.isArray(d)?d.map(v=>A(v)):[A(d)]}),u=N(r,d=>{if(o(),a.value&&l){s=new ResizeObserver(n);for(const v of d)v&&s.observe(v,i)}},{immediate:!0,flush:"post"}),c=()=>{o(),u()};return H(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),d=E(0),v=E(0),p=E(0),w=E(0);function y(){const m=A(e);if(!m){t&&(o.value=0,r.value=0,u.value=0,c.value=0,d.value=0,v.value=0,p.value=0,w.value=0);return}const f=m.getBoundingClientRect();o.value=f.height,r.value=f.bottom,u.value=f.left,c.value=f.right,d.value=f.top,v.value=f.width,p.value=f.x,w.value=f.y}function h(){a==="sync"?y():a==="next-frame"&&requestAnimationFrame(()=>y())}return Ye(e,h),N(()=>A(e),m=>!m&&h()),Ne(e,h,{attributeFilter:["style","class"]}),i&&T("scroll",h,{capture:!0,passive:!0}),l&&T("resize",h,{passive:!0}),U(()=>{s&&h()}),{height:o,bottom:r,left:u,right:c,top:d,width:v,x:p,y:w,update:h}}function Kt(e,n={}){const{delayEnter:t=0,delayLeave:l=0,triggerOnRemoval:i=!1,window:s=z}=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&&(T(e,"mouseenter",()=>r(!0),{passive:!0}),T(e,"mouseleave",()=>r(!1),{passive:!0}),i&&yt(O(()=>A(e)),()=>r(!1))),a}function Qt(e,n={width:0,height:0},t={}){const{window:l=z,box:i="content-box"}=t,s=O(()=>{var d,v;return(v=(d=A(e))==null?void 0:d.namespaceURI)==null?void 0:v.includes("svg")}),a=E(n.width),o=E(n.height),{stop:r}=Ye(e,([d])=>{const v=i==="border-box"?d.borderBoxSize:i==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(l&&s.value){const p=A(e);if(p){const w=p.getBoundingClientRect();a.value=w.width,o.value=w.height}}else if(v){const p=j(v);a.value=p.reduce((w,{inlineSize:y})=>w+y,0),o.value=p.reduce((w,{blockSize:y})=>w+y,0)}else a.value=d.contentRect.width,o.value=d.contentRect.height},t);U(()=>{const d=A(e);d&&(a.value="offsetWidth"in d?d.offsetWidth:n.width,o.value="offsetHeight"in d?d.offsetHeight:n.height)});const u=N(()=>A(e),d=>{a.value=d?n.width:0,o.value=d?n.height:0});function c(){r(),u()}return{width:a,height:o,stop:c}}const Q=new Map;function en(e){const n=ke();function t(o){var r;const u=Q.get(e)||new Set;u.add(o),Q.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=Q.get(e);r&&(r.delete(o),r.size||s())}function s(){Q.delete(e)}function a(o,r){var u;(u=Q.get(e))==null||u.forEach(c=>c(o,r))}return{on:t,once:l,off:i,emit:a,reset:s}}const Me=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function tn(e,n={}){const{document:t=ze,autoExit:l=!1}=n,i=O(()=>{var f;return(f=A(e))!=null?f:t==null?void 0:t.documentElement}),s=E(!1),a=O(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(f=>t&&f in t||i.value&&f in i.value)),o=O(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(f=>t&&f in t||i.value&&f in i.value)),r=O(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(f=>t&&f in t||i.value&&f in i.value)),u=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(f=>t&&f in t),c=G(()=>i.value&&t&&a.value!==void 0&&o.value!==void 0&&r.value!==void 0),d=()=>u?(t==null?void 0:t[u])===i.value:!1,v=()=>{if(r.value){if(t&&t[r.value]!=null)return t[r.value];{const f=i.value;if((f==null?void 0:f[r.value])!=null)return!!f[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 f=i.value;(f==null?void 0:f[o.value])!=null&&await f[o.value]()}s.value=!1}}async function w(){if(!c.value||s.value)return;v()&&await p();const f=i.value;a.value&&(f==null?void 0:f[a.value])!=null&&(await f[a.value](),s.value=!0)}async function y(){await(s.value?p():w())}const h=()=>{const f=v();(!f||f&&d())&&(s.value=f)},m={capture:!1,passive:!0};return T(t,Me,h,m),T(()=>A(i),Me,h,m),U(h,!1),l&&H(p),{isSupported:c,isFullscreen:s,enter:w,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=z,eventFilter:a=We(50)}=n,o=E(t),r=E(ge());let u;const c=()=>{o.value=!1,clearTimeout(u),u=setTimeout(()=>o.value=!0,e)},d=ie(a,()=>{r.value=ge(),c()});if(s){const v=s.document,p={passive:!0};for(const w of i)T(s,w,d,p);l&&T(v,"visibilitychange",()=>{v.hidden||d()},p),c()}return{idle:o,lastActive:r,reset:c}}const xe=1;function on(e,n={}){const{throttle:t=0,idle:l=200,onStop:i=P,onScroll:s=P,offset:a={left:0,right:0,top:0,bottom:0},eventListenerOptions:o={capture:!1,passive:!0},behavior:r="auto",window:u=z,onError:c=g=>{console.error(g)}}=n,d=E(0),v=E(0),p=O({get(){return d.value},set(g){y(g,void 0)}}),w=O({get(){return v.value},set(g){y(void 0,g)}});function y(g,b){var _,R,W,I;if(!u)return;const L=M(e);if(!L)return;(W=L instanceof Document?u.document.body:L)==null||W.scrollTo({top:(_=M(b))!=null?_:w.value,left:(R=M(g))!=null?R:p.value,behavior:M(r)});const x=((I=L==null?void 0:L.document)==null?void 0:I.documentElement)||(L==null?void 0:L.documentElement)||L;p!=null&&(d.value=x.scrollLeft),w!=null&&(v.value=x.scrollTop)}const h=E(!1),m=K({left:!0,right:!1,top:!0,bottom:!1}),f=K({left:!1,right:!1,top:!1,bottom:!1}),S=g=>{h.value&&(h.value=!1,f.left=!1,f.right=!1,f.top=!1,f.bottom=!1,i(g))},D=ut(S,t+l),k=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)||A(g),{display:R,flexDirection:W,direction:I}=getComputedStyle(_),L=I==="rtl"?-1:1,x=_.scrollLeft;f.left=x<d.value,f.right=x>d.value;const F=Math.abs(x*L)<=(a.left||0),Y=Math.abs(x*L)+_.clientWidth>=_.scrollWidth-(a.right||0)-xe;R==="flex"&&W==="row-reverse"?(m.left=Y,m.right=F):(m.left=F,m.right=Y),d.value=x;let X=_.scrollTop;g===u.document&&!X&&(X=u.document.body.scrollTop),f.top=X<v.value,f.bottom=X>v.value;const pe=Math.abs(X)<=(a.top||0),he=Math.abs(X)+_.clientHeight>=_.scrollHeight-(a.bottom||0)-xe;R==="flex"&&W==="column-reverse"?(m.top=he,m.bottom=pe):(m.top=pe,m.bottom=he),v.value=X},C=g=>{var b;if(!u)return;const _=(b=g.target.documentElement)!=null?b:g.target;k(_),h.value=!0,D(g),s(g)};return T(e,"scroll",t?it(C,t,!0,!1):C,o),U(()=>{try{const g=M(e);if(!g)return;k(g)}catch(g){c(g)}}),T(e,"scrollend",S,o),{x:p,y:w,isScrolling:h,arrivedState:m,directions:f,measure(){const g=M(e);u&&g&&k(g)}}}function ln(e,n,t={}){const{window:l=z}=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=z,target:a=s,scroll:o=!0,eventFilter:r}=e;let u=null,c=0,d=0;const v=E(i.x),p=E(i.y),w=E(null),y=typeof n=="function"?n:Rt[n],h=g=>{const b=y(g);u=g,b&&([v.value,p.value]=b,w.value="mouse"),s&&(c=s.scrollX,d=s.scrollY)},m=g=>{if(g.touches.length>0){const b=y(g.touches[0]);b&&([v.value,p.value]=b,w.value="touch")}},f=()=>{if(!u||!s)return;const g=y(u);u instanceof MouseEvent&&g&&(v.value=g[0]+s.scrollX-c,p.value=g[1]+s.scrollY-d)},S=()=>{v.value=i.x,p.value=i.y},D=r?g=>r(()=>h(g),{}):g=>h(g),k=r?g=>r(()=>m(g),{}):g=>m(g),C=r?()=>r(()=>f(),{}):()=>f();if(a){const g={passive:!0};T(a,["mousemove","dragover"],D,g),t&&n!=="movement"&&(T(a,["touchstart","touchmove"],k,g),l&&T(a,"touchend",S,g)),o&&n==="page"&&T(s,"scroll",C,g)}return{x:v,y:p,sourceType:w}}function sn(e={}){const{window:n=z}=e,t=G(()=>n&&"screen"in n&&"orientation"in n.screen),l=t.value?n.screen.orientation:{},i=ee(l.type),s=E(l.angle||0);return t.value&&T(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=ue(e),{threshold:l=50,onSwipe:i,onSwipeEnd:s,onSwipeStart:a,disableTextSelect:o=!1}=n,r=K({x:0,y:0}),u=(b,_)=>{r.x=b,r.y=_},c=K({x:0,y:0}),d=(b,_)=>{c.x=b,c.y=_},v=O(()=>r.x-c.x),p=O(()=>r.y-c.y),{max:w,abs:y}=Math,h=O(()=>w(y(v.value),y(p.value))>=l),m=E(!1),f=E(!1),S=O(()=>h.value?y(v.value)>y(p.value)?v.value>0?"left":"right":p.value>0?"up":"down":"none"),D=b=>{var _,R,W;const I=b.buttons===0,L=b.buttons===1;return(W=(R=(_=n.pointerTypes)==null?void 0:_.includes(b.pointerType))!=null?R:I||L)!=null?W:!0},k={passive:!0},C=[T(e,"pointerdown",b=>{if(!D(b))return;f.value=!0;const _=b.target;_==null||_.setPointerCapture(b.pointerId);const{clientX:R,clientY:W}=b;u(R,W),d(R,W),a==null||a(b)},k),T(e,"pointermove",b=>{if(!D(b)||!f.value)return;const{clientX:_,clientY:R}=b;d(_,R),!m.value&&h.value&&(m.value=!0),m.value&&(i==null||i(b))},k),T(e,"pointerup",b=>{D(b)&&(m.value&&(s==null||s(b,S.value)),f.value=!1,m.value=!1)},k)];U(()=>{var b,_,R,W,I,L,x,F;(_=(b=t.value)==null?void 0:b.style)==null||_.setProperty("touch-action","pan-y"),o&&((W=(R=t.value)==null?void 0:R.style)==null||W.setProperty("-webkit-user-select","none"),(L=(I=t.value)==null?void 0:I.style)==null||L.setProperty("-ms-user-select","none"),(F=(x=t.value)==null?void 0:x.style)==null||F.setProperty("user-select","none"))});const g=()=>C.forEach(b=>b());return{isSwiping:Z(m),direction:Z(S),posStart:Z(r),posEnd:Z(c),distanceX:v,distanceY:p,stop:g}}function an(e,n={}){const{threshold:t=50,onSwipe:l,onSwipeEnd:i,onSwipeStart:s,passive:a=!0}=n,o=K({x:0,y:0}),r=K({x:0,y:0}),u=O(()=>o.x-r.x),c=O(()=>o.y-r.y),{max:d,abs:v}=Math,p=O(()=>d(v(u.value),v(c.value))>=t),w=E(!1),y=O(()=>p.value?v(u.value)>v(c.value)?u.value>0?"left":"right":c.value>0?"up":"down":"none"),h=g=>[g.touches[0].clientX,g.touches[0].clientY],m=(g,b)=>{o.x=g,o.y=b},f=(g,b)=>{r.x=g,r.y=b},S={passive:a,capture:!a},D=g=>{w.value&&(i==null||i(g,y.value)),w.value=!1},k=[T(e,"touchstart",g=>{if(g.touches.length!==1)return;const[b,_]=h(g);m(b,_),f(b,_),s==null||s(g)},S),T(e,"touchmove",g=>{if(g.touches.length!==1)return;const[b,_]=h(g);f(b,_),S.capture&&!S.passive&&Math.abs(u.value)>Math.abs(c.value)&&g.preventDefault(),!w.value&&p.value&&(w.value=!0),w.value&&(l==null||l(g))},S),T(e,["touchend","touchcancel"],D,S)];return{isSwiping:w,direction:y,coordsStart:o,coordsEnd:r,lengthX:u,lengthY:c,stop:()=>k.forEach(g=>g()),isPassiveEventSupported:!0}}function cn(e={}){const{window:n=z,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:d,height:v,scale:p}=n.visualViewport;o.value=Math.round(d*p),r.value=Math.round(v*p)}else s?(o.value=n.innerWidth,r.value=n.innerHeight):(o.value=n.document.documentElement.clientWidth,r.value=n.document.documentElement.clientHeight)};u(),U(u);const c={passive:!0};if(T("resize",u,c),n&&a==="visual"&&n.visualViewport&&T(n.visualViewport,"resize",u,c),i){const d=Et("(orientation: portrait)");N(d,()=>u())}return{width:o,height:r}}const ne=V?window:void 0;function B(e){var n;const t=M(e);return(n=t==null?void 0:t.$el)!=null?n:t}function J(...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=O(()=>{const o=j(M(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=>B(u)))!=null?r:[ne].filter(u=>u!=null),j(M(i.value?e[1]:e[0])),j(Ae(i.value?e[2]:e[1])),M(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 d=Ce(c)?{...c}:c;n.push(...o.flatMap(v=>r.flatMap(p=>u.map(w=>l(v,p,w,d)))))},{flush:"post"}),a=()=>{s(),t()};return H(t),a}const Pt=500,At=10;function _e(e,n,t){var l,i;const s=O(()=>B(e));let a,o,r,u=!1;function c(){a&&(clearTimeout(a),a=void 0),o=void 0,r=void 0,u=!1}function d(m){var f,S,D;const[k,C,g]=[r,o,u];if(c(),!(t!=null&&t.onMouseUp)||!C||!k||(f=t==null?void 0:t.modifiers)!=null&&f.self&&m.target!==s.value)return;(S=t==null?void 0:t.modifiers)!=null&&S.prevent&&m.preventDefault(),(D=t==null?void 0:t.modifiers)!=null&&D.stop&&m.stopPropagation();const b=m.x-C.x,_=m.y-C.y,R=Math.sqrt(b*b+_*_);t.onMouseUp(m.timeStamp-k,R,g)}function v(m){var f,S,D,k;(f=t==null?void 0:t.modifiers)!=null&&f.self&&m.target!==s.value||(c(),(S=t==null?void 0:t.modifiers)!=null&&S.prevent&&m.preventDefault(),(D=t==null?void 0:t.modifiers)!=null&&D.stop&&m.stopPropagation(),o={x:m.x,y:m.y},r=m.timeStamp,a=setTimeout(()=>{u=!0,n(m)},(k=t==null?void 0:t.delay)!=null?k:Pt))}function p(m){var f,S,D,k;if((f=t==null?void 0:t.modifiers)!=null&&f.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(),(D=t==null?void 0:t.modifiers)!=null&&D.stop&&m.stopPropagation();const C=m.x-o.x,g=m.y-o.y;Math.sqrt(C*C+g*g)>=((k=t==null?void 0:t.distanceThreshold)!=null?k:At)&&c()}const w={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=[J(s,"pointerdown",v,w),J(s,"pointermove",p,w),J(s,["pointerup","pointerleave"],d,w)];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=se();return n&&ve(()=>{e.value=!0},n),e}function $e(e){const n=Ct();return O(()=>(n.value,!!e()))}function Lt(e,n,t={}){const{window:l=ne,...i}=t;let s;const a=$e(()=>l&&"MutationObserver"in l),o=()=>{s&&(s.disconnect(),s=void 0)},r=O(()=>{const v=M(e),p=j(v).map(B).filter(me);return new Set(p)}),u=N(()=>r.value,v=>{o(),a.value&&v.size&&(s=new MutationObserver(n),v.forEach(p=>s.observe(p,i)))},{immediate:!0,flush:"post"}),c=()=>s==null?void 0:s.takeRecords(),d=()=>{u(),o()};return H(d),{isSupported:a,stop:d,takeRecords:c}}function Wt(e,n,t={}){const{window:l=ne,document:i=l==null?void 0:l.document,flush:s="sync"}=t;if(!l||!i)return P;let a;const o=c=>{a==null||a(),a=c},r=te(()=>{const c=B(e);if(c){const{stop:d}=Lt(i,v=>{v.map(w=>[...w.removedNodes]).flat().some(w=>w===c||w.contains(c))&&n(v)},{window:l,childList:!0,subtree:!0});o(d)}},{flush:s}),u=()=>{r(),o()};return H(u),u}function Oe(e,n={}){const{delayEnter:t=0,delayLeave:l=0,triggerOnRemoval:i=!1,window:s=ne}=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&&(J(e,"mouseenter",()=>r(!0),{passive:!0}),J(e,"mouseleave",()=>r(!1),{passive:!0}),i&&Wt(O(()=>B(e)),()=>r(!1))),a}const dn={mounted(e,n){const t=n.value;if(typeof t=="function"){const l=Oe(e);N(l,i=>t(i))}else{const[l,i]=t,s=Oe(e,i);N(s,a=>l(a))}}};function Te(e,n,t={}){const{root:l,rootMargin:i="0px",threshold:s=0,window:a=ne,immediate:o=!0}=t,r=$e(()=>a&&"IntersectionObserver"in a),u=O(()=>{const w=M(e);return j(w).map(B).filter(me)});let c=P;const d=E(o),v=r.value?N(()=>[u.value,B(l),d.value],([w,y])=>{if(c(),!d.value||!w.length)return;const h=new IntersectionObserver(n,{root:B(y),rootMargin:i,threshold:s});w.forEach(m=>m&&h.observe(m)),c=()=>{h.disconnect(),c=P}},{immediate:o,flush:"post"}):P,p=()=>{c(),v(),d.value=!1};return H(p),{isSupported:r,isActive:d,pause(){c(),d.value=!1},resume(){d.value=!0},stop:p}}function ce(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 fe=new WeakMap;function zt(e,n=!1){const t=E(n);let l=null,i="";N(ue(e),o=>{const r=ce(M(o));if(r){const u=r;if(fe.get(u)||fe.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=ce(M(e));!o||t.value||(de&&(l=J(o,"touchmove",r=>{Ht(r)},{passive:!1})),o.style.overflow="hidden",t.value=!0)},a=()=>{const o=ce(M(e));!o||!t.value||(de&&(l==null||l()),o.style.overflow=i,fe.delete(o),t.value=!1)};return H(a),O({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);N(n,s=>i.value=s)}}It();function mn(e,n){const t=ee(void 0),l=e.subscribe({next:i=>t.value=i,error:void 0});return H(()=>{l.unsubscribe()}),t}function pn(e=null,n){const t=ue(e),l=O({set:s=>s?$.start():$.done(),get:()=>typeof t.value=="number"&&t.value<1});n&&$.configure(n);const i=$.set;return $.set=s=>(t.value=s,i.call($,s)),te(()=>{typeof t.value=="number"&&V&&i.call($,t.value)}),H($.remove),{isLoading:l,progress:t,start:$.start,done:$.done,remove:()=>{t.value=null,$.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,Gt as q,jt as r,Zt as s,Kt as t,ln as u,dn as v,tn as w,nn as x,T as y,pn as z};