camera.ui3 0.0.32 → 0.0.33

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 (126) hide show
  1. package/dist/interface/{@tanstack.859_gkfh.0.0.32.js → @tanstack.BIYKNPs9.0.0.33.js} +1 -1
  2. package/dist/interface/{@vee-validate.BFuJTuOr.0.0.32.js → @vee-validate.Bq0Uigtp.0.0.33.js} +1 -1
  3. package/dist/interface/@vue.BdRXtpVd.0.0.33.js +17 -0
  4. package/dist/interface/{@vueform.BMve2cpp.0.0.32.js → @vueform.fR3SaVG0.0.0.33.js} +1 -1
  5. package/dist/interface/{@vueuse.Ppj8rEqE.0.0.32.js → @vueuse.UL8Sitst.0.0.33.js} +1 -1
  6. package/dist/interface/{Account.KG5JHwYg.0.0.32.js → Account.DIMzk5FC.0.0.33.js} +1 -1
  7. package/dist/interface/{Adminpanel.Cl0SicIc.0.0.32.js → Adminpanel.BXAku8jA.0.0.33.js} +2 -2
  8. package/dist/interface/{Appearance.Bp7uyfgu.0.0.32.js → Appearance.CdtOCZsD.0.0.33.js} +1 -1
  9. package/dist/interface/{Backup._lxnirVc.0.0.32.js → Backup.Cbd7PKo7.0.0.33.js} +1 -1
  10. package/dist/interface/{Camera.7N3vjsyl.0.0.32.js → Camera.DPcOQDjY.0.0.33.js} +1 -1
  11. package/dist/interface/{Cameras.BejN02ci.0.0.32.js → Cameras.BRIDXf4P.0.0.33.js} +1 -1
  12. package/dist/interface/Camview.B32rlRLT.0.0.33.js +1 -0
  13. package/dist/interface/{Config.ZT-sUIFQ.0.0.32.js → Config.DuXaFgD8.0.0.33.js} +1 -1
  14. package/dist/interface/{Console.BW3M7W-9.0.0.32.js → Console.CxwxmfAy.0.0.33.js} +1 -1
  15. package/dist/interface/{FirstSteps.ySXJwpyq.0.0.32.js → FirstSteps.MvDjOPbi.0.0.33.js} +1 -1
  16. package/dist/interface/{NewCamera.CJiCdEq7.0.0.32.js → NewCamera.D3Ogsq7W.0.0.33.js} +1 -1
  17. package/dist/interface/{Plugin.BVbDVIKM.0.0.32.js → Plugin.CwcsU7vn.0.0.33.js} +1 -1
  18. package/dist/interface/{Plugins.xD2N2qVc.0.0.32.js → Plugins.LQoJAw4a.0.0.33.js} +1 -1
  19. package/dist/interface/Recordings.im1-u5e0.0.0.33.js +1 -0
  20. package/dist/interface/Recordings.lD4TO2ac.0.0.33.js +1 -0
  21. package/dist/interface/{Settings.LyiN-PWa.0.0.32.js → Settings.DGXWeZd9.0.0.33.js} +1 -1
  22. package/dist/interface/{System.B9oJCSAM.0.0.32.js → System.DU4zzqDJ.0.0.33.js} +1 -1
  23. package/dist/interface/{User.E_rE78gX.0.0.32.js → User.CVxboDIL.0.0.33.js} +1 -1
  24. package/dist/interface/{VConfigEditor.vue_vue_type_script_setup_true_lang.DOKAb8TF.0.0.32.js → VConfigEditor.vue_vue_type_script_setup_true_lang.DiwNhMVt.0.0.33.js} +2 -2
  25. package/dist/interface/{VConsole.Cxvdqksd.0.0.32.js → VConsole.B2tyCGK-.0.0.33.js} +1 -1
  26. package/dist/interface/VPlayer.2PdupAin.0.0.33.js +1 -0
  27. package/dist/interface/VPluginCard.wQAnHUy9.0.0.33.js +4 -0
  28. package/dist/interface/{ace-builds.B1hflsiJ.0.0.32.js → ace-builds.BZOKRrEw.0.0.33.js} +1 -1
  29. package/dist/interface/{apexcharts.C2xOwlST.0.0.32.js → apexcharts.QF4RTfFN.0.0.33.js} +1 -1
  30. package/dist/interface/assets/{Camview.0.0.32.9DkNJWZA.css → Camview.0.0.33.BylvNyus.css} +1 -1
  31. package/dist/interface/assets/{VPlayer.0.0.32.BxB9PiO4.css → VPlayer.0.0.33.CrSwi-ID.css} +1 -1
  32. package/dist/interface/assets/VPluginCard.0.0.33.BpMChOJT.css +1 -0
  33. package/dist/interface/{dnd-core.dO06b4R2.0.0.32.js → dnd-core.CmBpsKMn.0.0.33.js} +1 -1
  34. package/dist/interface/{draggabilly.DTv-bw3W.0.0.32.js → draggabilly.BS2C-yZq.0.0.33.js} +1 -1
  35. package/dist/interface/{engine.io-client.DRJhxHkm.0.0.32.js → engine.io-client.DDFwxmTi.0.0.33.js} +1 -1
  36. package/dist/interface/{ev-emitter.Bdf8cbLl.0.0.32.js → ev-emitter.BBEpXvgG.0.0.33.js} +1 -1
  37. package/dist/interface/{fast-deep-equal.DwVylIo9.0.0.32.js → fast-deep-equal.CWdZNamT.0.0.33.js} +1 -1
  38. package/dist/interface/{highlight.js.C3AtM6Rc.0.0.32.js → highlight.js.hkAz__AS.0.0.33.js} +1 -1
  39. package/dist/interface/index.html +31 -31
  40. package/dist/interface/{linkify-it.B-SK2_IV.0.0.32.js → linkify-it.Dv9aY5q8.0.0.33.js} +1 -1
  41. package/dist/interface/main.fbIhoBG1.0.0.33.js +4 -0
  42. package/dist/interface/{markdown-it.DuK4eQU8.0.0.32.js → markdown-it.D9MLaG-w.0.0.33.js} +1 -1
  43. package/dist/interface/{nprogress.D2gIae_q.0.0.32.js → nprogress.CoH_exof.0.0.33.js} +1 -1
  44. package/dist/interface/{pinia.DjucKrLm.0.0.32.js → pinia.B3RfzpWL.0.0.33.js} +1 -1
  45. package/dist/interface/{plugins.CVO9uaFL.0.0.32.js → plugins.D7lCPz90.0.0.33.js} +1 -1
  46. package/dist/interface/{qrcode.Bz5Gv1p4.0.0.32.js → qrcode.hk1zRA62.0.0.33.js} +1 -1
  47. package/dist/interface/{react-dnd-touch-backend.7FHFzgPu.0.0.32.js → react-dnd-touch-backend.BeXmxi8o.0.0.33.js} +1 -1
  48. package/dist/interface/{rxjs.DtF28Dvm.0.0.32.js → rxjs.M_-T1_Wo.0.0.33.js} +1 -1
  49. package/dist/interface/{socket.io-client.KNpamG8X.0.0.32.js → socket.io-client.BFWnk007.0.0.33.js} +1 -1
  50. package/dist/interface/{socket.io-parser.Cc4qTsNz.0.0.32.js → socket.io-parser.CayG1SIb.0.0.33.js} +1 -1
  51. package/dist/interface/sw.js +1 -1
  52. package/dist/interface/{system.BgRf4VWf.0.0.32.js → system.DzF_I6RI.0.0.33.js} +1 -1
  53. package/dist/interface/{unidragger.Mo7T3VF2.0.0.32.js → unidragger.CknH16A1.0.0.33.js} +1 -1
  54. package/dist/interface/{v-calendar.CoZ6yq_0.0.0.32.js → v-calendar.Dnha5R9E.0.0.33.js} +1 -1
  55. package/dist/interface/{vee-validate.lGGOAcv6.0.0.32.js → vee-validate.BrBRPHgf.0.0.33.js} +1 -1
  56. package/dist/interface/{vue-i18n.C827gdpb.0.0.32.js → vue-i18n.CkwhhQDC.0.0.33.js} +1 -1
  57. package/dist/interface/{vue-inline-svg.D2imZ91d.0.0.32.js → vue-inline-svg.DTAQVu6L.0.0.33.js} +1 -1
  58. package/dist/interface/{vue-router.Jyw7Et5L.0.0.32.js → vue-router.2R7pXMVh.0.0.33.js} +1 -1
  59. package/dist/interface/{vue3-apexcharts.DYoQ_4oa.0.0.32.js → vue3-apexcharts.D9IhTmWk.0.0.33.js} +1 -1
  60. package/dist/interface/{vue3-dnd.BBcVWQLK.0.0.32.js → vue3-dnd.D0-FfoMK.0.0.33.js} +1 -1
  61. package/dist/interface/{vue3-toastify.Bs3cdahr.0.0.32.js → vue3-toastify.Eo_GqI5s.0.0.33.js} +1 -1
  62. package/dist/interface/{vuetify.BNhyZuZK.0.0.32.js → vuetify.CYxMzsVz.0.0.33.js} +1 -1
  63. package/dist/server/package.json +13 -13
  64. package/dist/server/requirements.txt +1 -1
  65. package/dist/server/src/api/controllers/plugins.controller.js +1 -8
  66. package/dist/server/src/api/controllers/plugins.controller.js.map +1 -1
  67. package/dist/server/src/services/logger/index.js +1 -1
  68. package/dist/server/src/services/logger/index.js.map +1 -1
  69. package/package.json +13 -13
  70. package/dist/interface/@vue.DL81pqVs.0.0.32.js +0 -17
  71. package/dist/interface/Camview.BsOMpsHZ.0.0.32.js +0 -1
  72. package/dist/interface/Recordings.BbL9LrGg.0.0.32.js +0 -1
  73. package/dist/interface/Recordings.DNkK050W.0.0.32.js +0 -1
  74. package/dist/interface/VPlayer.BGqsx1Eu.0.0.32.js +0 -1
  75. package/dist/interface/VPluginCard.BP05Otgh.0.0.32.js +0 -4
  76. package/dist/interface/assets/VPluginCard.0.0.32.CyNvwFGk.css +0 -1
  77. package/dist/interface/main.DWacPsSk.0.0.32.js +0 -4
  78. /package/dist/interface/{@babel.l0sNRNKZ.0.0.32.js → @babel.l0sNRNKZ.0.0.33.js} +0 -0
  79. /package/dist/interface/{@intlify.8z0ZxsCR.0.0.32.js → @intlify.8z0ZxsCR.0.0.33.js} +0 -0
  80. /package/dist/interface/{@mdi.CNGs-o9b.0.0.32.js → @mdi.CNGs-o9b.0.0.33.js} +0 -0
  81. /package/dist/interface/{@popperjs.l0sNRNKZ.0.0.32.js → @popperjs.l0sNRNKZ.0.0.33.js} +0 -0
  82. /package/dist/interface/{@react-dnd.CcwRs9xb.0.0.32.js → @react-dnd.CcwRs9xb.0.0.33.js} +0 -0
  83. /package/dist/interface/{@socket.io.Dkula2eQ.0.0.32.js → @socket.io.Dkula2eQ.0.0.33.js} +0 -0
  84. /package/dist/interface/{@xterm.s7KO1mN6.0.0.32.js → @xterm.D1TSpo_H.0.0.33.js} +0 -0
  85. /package/dist/interface/assets/{@vueform.0.0.32.h7tNX9p6.css → @vueform.0.0.33.h7tNX9p6.css} +0 -0
  86. /package/dist/interface/assets/{@xterm.0.0.32.CGrrDQr5.css → @xterm.0.0.33.CGrrDQr5.css} +0 -0
  87. /package/dist/interface/assets/{Account.0.0.32.Ce3OmKrC.css → Account.0.0.33.Ce3OmKrC.css} +0 -0
  88. /package/dist/interface/assets/{Adminpanel.0.0.32.BCpVV7QL.css → Adminpanel.0.0.33.BCpVV7QL.css} +0 -0
  89. /package/dist/interface/assets/{Backup.0.0.32.BIwaSlv3.css → Backup.0.0.33.BIwaSlv3.css} +0 -0
  90. /package/dist/interface/assets/{Camera.0.0.32.B5xpKXd_.css → Camera.0.0.33.B5xpKXd_.css} +0 -0
  91. /package/dist/interface/assets/{Cameras.0.0.32.BgZN27ly.css → Cameras.0.0.33.BgZN27ly.css} +0 -0
  92. /package/dist/interface/assets/{Config.0.0.32.BtdZEuQO.css → Config.0.0.33.BtdZEuQO.css} +0 -0
  93. /package/dist/interface/assets/{Console.0.0.32.Cc8Jy8yw.css → Console.0.0.33.Cc8Jy8yw.css} +0 -0
  94. /package/dist/interface/assets/{FirstSteps.0.0.32.CCo2y-sU.css → FirstSteps.0.0.33.CCo2y-sU.css} +0 -0
  95. /package/dist/interface/assets/{NewCamera.0.0.32.B9lV_Ay_.css → NewCamera.0.0.33.B9lV_Ay_.css} +0 -0
  96. /package/dist/interface/assets/{Plugin.0.0.32.BtRA6zDt.css → Plugin.0.0.33.BtRA6zDt.css} +0 -0
  97. /package/dist/interface/assets/{Plugins.0.0.32.Cwu0aGUO.css → Plugins.0.0.33.Cwu0aGUO.css} +0 -0
  98. /package/dist/interface/assets/{Settings.0.0.32.DTRm1psP.css → Settings.0.0.33.DTRm1psP.css} +0 -0
  99. /package/dist/interface/assets/{User.0.0.32.DPDcJbx8.css → User.0.0.33.DPDcJbx8.css} +0 -0
  100. /package/dist/interface/assets/{VConsole.0.0.32.BZT1WyS-.css → VConsole.0.0.33.BZT1WyS-.css} +0 -0
  101. /package/dist/interface/assets/{highlight.0.0.32.DgoK_Xib.css → highlight.0.0.33.DgoK_Xib.css} +0 -0
  102. /package/dist/interface/assets/{logo-256.0.0.32.BCQk9H1-.png → logo-256.0.0.33.BCQk9H1-.png} +0 -0
  103. /package/dist/interface/assets/{logo-512.0.0.32.DLKVOU2S.png → logo-512.0.0.33.DLKVOU2S.png} +0 -0
  104. /package/dist/interface/assets/{logo.0.0.32.DmEiRk0z.png → logo.0.0.33.DmEiRk0z.png} +0 -0
  105. /package/dist/interface/assets/{main.0.0.32.Da5MijSC.css → main.0.0.33.Da5MijSC.css} +0 -0
  106. /package/dist/interface/assets/{mode-json.0.0.32.Br7xisR1.js → mode-json.0.0.33.Br7xisR1.js} +0 -0
  107. /package/dist/interface/assets/{mode-yaml.0.0.32.CIYL8U3d.js → mode-yaml.0.0.33.CIYL8U3d.js} +0 -0
  108. /package/dist/interface/assets/{vue3-toastify.0.0.32.DTY1DMRs.css → vue3-toastify.0.0.33.DTY1DMRs.css} +0 -0
  109. /package/dist/interface/assets/{vuetify.0.0.32.Cip-kMKR.css → vuetify.0.0.33.Cip-kMKR.css} +0 -0
  110. /package/dist/interface/{axios.C-n2IhIP.0.0.32.js → axios.C-n2IhIP.0.0.33.js} +0 -0
  111. /package/dist/interface/{compare-versions.DqEOhma6.0.0.32.js → compare-versions.DqEOhma6.0.0.33.js} +0 -0
  112. /package/dist/interface/{dijkstrajs.D_NXgYpA.0.0.32.js → dijkstrajs.D_NXgYpA.0.0.33.js} +0 -0
  113. /package/dist/interface/{engine.io-parser.BiEtp6m2.0.0.32.js → engine.io-parser.BiEtp6m2.0.0.33.js} +0 -0
  114. /package/dist/interface/{entities.C20TfXL6.0.0.32.js → entities.C20TfXL6.0.0.33.js} +0 -0
  115. /package/dist/interface/{get-size.D1dS-IaP.0.0.32.js → get-size.D1dS-IaP.0.0.33.js} +0 -0
  116. /package/dist/interface/{mdurl.k9Sl0PQj.0.0.32.js → mdurl.k9Sl0PQj.0.0.33.js} +0 -0
  117. /package/dist/interface/{punycode.js.Dj65hjkv.0.0.32.js → punycode.js.Dj65hjkv.0.0.33.js} +0 -0
  118. /package/dist/interface/{react-dnd-html5-backend.1HQjlkwI.0.0.32.js → react-dnd-html5-backend.1HQjlkwI.0.0.33.js} +0 -0
  119. /package/dist/interface/{redux.CuxFRhX_.0.0.32.js → redux.CuxFRhX_.0.0.33.js} +0 -0
  120. /package/dist/interface/{tslib.9k7AwCpt.0.0.32.js → tslib.9k7AwCpt.0.0.33.js} +0 -0
  121. /package/dist/interface/{types.Cz9TaZAP.0.0.32.js → types.Cz9TaZAP.0.0.33.js} +0 -0
  122. /package/dist/interface/{uc.micro.kMc2yuuw.0.0.32.js → uc.micro.kMc2yuuw.0.0.33.js} +0 -0
  123. /package/dist/interface/{utils.mAKpSMLY.0.0.32.js → utils.mAKpSMLY.0.0.33.js} +0 -0
  124. /package/dist/interface/{uuid.DvF23Exx.0.0.32.js → uuid.DvF23Exx.0.0.33.js} +0 -0
  125. /package/dist/interface/{vue.l0sNRNKZ.0.0.32.js → vue.l0sNRNKZ.0.0.33.js} +0 -0
  126. /package/dist/interface/{zod.DnW1_kUe.0.0.32.js → zod.DnW1_kUe.0.0.33.js} +0 -0
@@ -1 +1 @@
1
- var he=s=>{throw TypeError(s)};var Gt=(s,t,e)=>t.has(s)||he("Cannot "+e);var r=(s,t,e)=>(Gt(s,t,"read from private field"),e?e.call(s):t.get(s)),l=(s,t,e)=>t.has(s)?he("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(s):t.set(s,e),h=(s,t,e,i)=>(Gt(s,t,"write to private field"),i?i.call(s,e):t.set(s,e),e),p=(s,t,e)=>(Gt(s,t,"access private method"),e);var Kt=(s,t,e,i)=>({set _(n){h(s,t,n,e)},get _(){return r(s,t,i)}});import{i as De,u as ze,h as Ye,a as Je,r as Xe,n as Ze,c as Ee,s as Me,w as mt,o as Ae,t as Ue}from"./@vue.DL81pqVs.0.0.32.js";var At=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(s){return this.listeners.add(s),this.onSubscribe(),()=>{this.listeners.delete(s),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},yt=typeof window>"u"||"Deno"in globalThis;function L(){}function ts(s,t){return typeof s=="function"?s(t):s}function $t(s){return typeof s=="number"&&s>=0&&s!==1/0}function qe(s,t){return Math.max(s+(t||0)-Date.now(),0)}function vt(s,t){return typeof s=="function"?s(t):s}function N(s,t){return typeof s=="function"?s(t):s}function ce(s,t){const{type:e="all",exact:i,fetchStatus:n,predicate:a,queryKey:o,stale:u}=s;if(o){if(i){if(t.queryHash!==ae(o,t.options))return!1}else if(!qt(t.queryKey,o))return!1}if(e!=="all"){const y=t.isActive();if(e==="active"&&!y||e==="inactive"&&y)return!1}return!(typeof u=="boolean"&&t.isStale()!==u||n&&n!==t.state.fetchStatus||a&&!a(t))}function le(s,t){const{exact:e,status:i,predicate:n,mutationKey:a}=s;if(a){if(!t.options.mutationKey)return!1;if(e){if(pt(t.options.mutationKey)!==pt(a))return!1}else if(!qt(t.options.mutationKey,a))return!1}return!(i&&t.state.status!==i||n&&!n(t))}function ae(s,t){return((t==null?void 0:t.queryKeyHashFn)||pt)(s)}function pt(s){return JSON.stringify(s,(t,e)=>Bt(e)?Object.keys(e).sort().reduce((i,n)=>(i[n]=e[n],i),{}):e)}function qt(s,t){return s===t?!0:typeof s!=typeof t?!1:s&&t&&typeof s=="object"&&typeof t=="object"?!Object.keys(t).some(e=>!qt(s[e],t[e])):!1}function Ie(s,t){if(s===t)return s;const e=fe(s)&&fe(t);if(e||Bt(s)&&Bt(t)){const i=e?s:Object.keys(s),n=i.length,a=e?t:Object.keys(t),o=a.length,u=e?[]:{};let y=0;for(let S=0;S<o;S++){const f=e?S:a[S];(!e&&i.includes(f)||e)&&s[f]===void 0&&t[f]===void 0?(u[f]=void 0,y++):(u[f]=Ie(s[f],t[f]),u[f]===s[f]&&s[f]!==void 0&&y++)}return n===o&&y===n?s:u}return t}function Ht(s,t){if(!t||Object.keys(s).length!==Object.keys(t).length)return!1;for(const e in s)if(s[e]!==t[e])return!1;return!0}function fe(s){return Array.isArray(s)&&s.length===Object.keys(s).length}function Bt(s){if(!de(s))return!1;const t=s.constructor;if(t===void 0)return!0;const e=t.prototype;return!(!de(e)||!e.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(s)!==Object.prototype)}function de(s){return Object.prototype.toString.call(s)==="[object Object]"}function es(s){return new Promise(t=>{setTimeout(t,s)})}function Vt(s,t,e){return typeof e.structuralSharing=="function"?e.structuralSharing(s,t):e.structuralSharing!==!1?Ie(s,t):t}function ss(s,t,e=0){const i=[...s,t];return e&&i.length>e?i.slice(1):i}function is(s,t,e=0){const i=[t,...s];return e&&i.length>e?i.slice(0,-1):i}var Te=Symbol();function je(s,t){return!s.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!s.queryFn||s.queryFn===Te?()=>Promise.reject(new Error(`Missing queryFn: '${s.queryHash}'`)):s.queryFn}var ut,Z,bt,be,rs=(be=class extends At{constructor(){super();l(this,ut);l(this,Z);l(this,bt);h(this,bt,t=>{if(!yt&&window.addEventListener){const e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}})}onSubscribe(){r(this,Z)||this.setEventListener(r(this,bt))}onUnsubscribe(){var t;this.hasListeners()||((t=r(this,Z))==null||t.call(this),h(this,Z,void 0))}setEventListener(t){var e;h(this,bt,t),(e=r(this,Z))==null||e.call(this),h(this,Z,t(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()}))}setFocused(t){r(this,ut)!==t&&(h(this,ut,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(e=>{e(t)})}isFocused(){var t;return typeof r(this,ut)=="boolean"?r(this,ut):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},ut=new WeakMap,Z=new WeakMap,bt=new WeakMap,be),ue=new rs,gt,tt,Ot,ge,ns=(ge=class extends At{constructor(){super();l(this,gt,!0);l(this,tt);l(this,Ot);h(this,Ot,t=>{if(!yt&&window.addEventListener){const e=()=>t(!0),i=()=>t(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",i)}}})}onSubscribe(){r(this,tt)||this.setEventListener(r(this,Ot))}onUnsubscribe(){var t;this.hasListeners()||((t=r(this,tt))==null||t.call(this),h(this,tt,void 0))}setEventListener(t){var e;h(this,Ot,t),(e=r(this,tt))==null||e.call(this),h(this,tt,t(this.setOnline.bind(this)))}setOnline(t){r(this,gt)!==t&&(h(this,gt,t),this.listeners.forEach(i=>{i(t)}))}isOnline(){return r(this,gt)}},gt=new WeakMap,tt=new WeakMap,Ot=new WeakMap,ge),Nt=new ns;function as(s){return Math.min(1e3*2**s,3e4)}function xe(s){return(s??"online")==="online"?Nt.isOnline():!0}var Ke=class extends Error{constructor(s){super("CancelledError"),this.revert=s==null?void 0:s.revert,this.silent=s==null?void 0:s.silent}};function _t(s){return s instanceof Ke}function Le(s){let t=!1,e=0,i=!1,n,a,o;const u=new Promise((O,w)=>{a=O,o=w}),y=O=>{var w;i||(P(new Ke(O)),(w=s.abort)==null||w.call(s))},S=()=>{t=!0},f=()=>{t=!1},c=()=>ue.isFocused()&&(s.networkMode==="always"||Nt.isOnline())&&s.canRun(),g=()=>xe(s.networkMode)&&s.canRun(),d=O=>{var w;i||(i=!0,(w=s.onSuccess)==null||w.call(s,O),n==null||n(),a(O))},P=O=>{var w;i||(i=!0,(w=s.onError)==null||w.call(s,O),n==null||n(),o(O))},R=()=>new Promise(O=>{var w;n=Q=>{(i||c())&&O(Q)},(w=s.onPause)==null||w.call(s)}).then(()=>{var O;n=void 0,i||(O=s.onContinue)==null||O.call(s)}),F=()=>{if(i)return;let O;const w=e===0?s.initialPromise:void 0;try{O=w??s.fn()}catch(Q){O=Promise.reject(Q)}Promise.resolve(O).then(d).catch(Q=>{var b;if(i)return;const E=s.retry??(yt?0:3),U=s.retryDelay??as,G=typeof U=="function"?U(e,Q):U,W=E===!0||typeof E=="number"&&e<E||typeof E=="function"&&E(e,Q);if(t||!W){P(Q);return}e++,(b=s.onFail)==null||b.call(s,e,Q),es(G).then(()=>c()?void 0:R()).then(()=>{t?P(Q):F()})})};return{promise:u,cancel:y,continue:()=>(n==null||n(),u),cancelRetry:S,continueRetry:f,canStart:g,start:()=>(g()?F():R().then(F),u)}}function us(){let s=[],t=0,e=u=>{u()},i=u=>{u()},n=u=>setTimeout(u,0);const a=u=>{t?s.push(u):n(()=>{e(u)})},o=()=>{const u=s;s=[],u.length&&n(()=>{i(()=>{u.forEach(y=>{e(y)})})})};return{batch:u=>{let y;t++;try{y=u()}finally{t--,t||o()}return y},batchCalls:u=>(...y)=>{a(()=>{u(...y)})},schedule:a,setNotifyFunction:u=>{e=u},setBatchNotifyFunction:u=>{i=u},setScheduler:u=>{n=u}}}var M=us(),ot,Oe,ke=(Oe=class{constructor(){l(this,ot)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),$t(this.gcTime)&&h(this,ot,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(s){this.gcTime=Math.max(this.gcTime||0,s??(yt?1/0:5*60*1e3))}clearGcTimeout(){r(this,ot)&&(clearTimeout(r(this,ot)),h(this,ot,void 0))}},ot=new WeakMap,Oe),Ct,wt,K,A,It,ht,H,z,Ce,os=(Ce=class extends ke{constructor(t){super();l(this,H);l(this,Ct);l(this,wt);l(this,K);l(this,A);l(this,It);l(this,ht);h(this,ht,!1),h(this,It,t.defaultOptions),this.setOptions(t.options),this.observers=[],h(this,K,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,h(this,Ct,hs(this.options)),this.state=t.state??r(this,Ct),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=r(this,A))==null?void 0:t.promise}setOptions(t){this.options={...r(this,It),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&r(this,K).remove(this)}setData(t,e){const i=Vt(this.state.data,t,this.options);return p(this,H,z).call(this,{data:i,type:"success",dataUpdatedAt:e==null?void 0:e.updatedAt,manual:e==null?void 0:e.manual}),i}setState(t,e){p(this,H,z).call(this,{type:"setState",state:t,setStateOptions:e})}cancel(t){var i,n;const e=(i=r(this,A))==null?void 0:i.promise;return(n=r(this,A))==null||n.cancel(t),e?e.then(L).catch(L):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(r(this,Ct))}isActive(){return this.observers.some(t=>N(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!qe(this.state.dataUpdatedAt,t)}onFocus(){var e;const t=this.observers.find(i=>i.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(e=r(this,A))==null||e.continue()}onOnline(){var e;const t=this.observers.find(i=>i.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(e=r(this,A))==null||e.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),r(this,K).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(e=>e!==t),this.observers.length||(r(this,A)&&(r(this,ht)?r(this,A).cancel({revert:!0}):r(this,A).cancelRetry()),this.scheduleGc()),r(this,K).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||p(this,H,z).call(this,{type:"invalidate"})}fetch(t,e){var y,S,f;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(e!=null&&e.cancelRefetch))this.cancel({silent:!0});else if(r(this,A))return r(this,A).continueRetry(),r(this,A).promise}if(t&&this.setOptions(t),!this.options.queryFn){const c=this.observers.find(g=>g.options.queryFn);c&&this.setOptions(c.options)}const i=new AbortController,n=c=>{Object.defineProperty(c,"signal",{enumerable:!0,get:()=>(h(this,ht,!0),i.signal)})},a=()=>{const c=je(this.options,e),g={queryKey:this.queryKey,meta:this.meta};return n(g),h(this,ht,!1),this.options.persister?this.options.persister(c,g,this):c(g)},o={fetchOptions:e,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:a};n(o),(y=this.options.behavior)==null||y.onFetch(o,this),h(this,wt,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((S=o.fetchOptions)==null?void 0:S.meta))&&p(this,H,z).call(this,{type:"fetch",meta:(f=o.fetchOptions)==null?void 0:f.meta});const u=c=>{var g,d,P,R;_t(c)&&c.silent||p(this,H,z).call(this,{type:"error",error:c}),_t(c)||((d=(g=r(this,K).config).onError)==null||d.call(g,c,this),(R=(P=r(this,K).config).onSettled)==null||R.call(P,this.state.data,c,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return h(this,A,Le({initialPromise:e==null?void 0:e.initialPromise,fn:o.fetchFn,abort:i.abort.bind(i),onSuccess:c=>{var g,d,P,R;if(c===void 0){u(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(c)}catch(F){u(F);return}(d=(g=r(this,K).config).onSuccess)==null||d.call(g,c,this),(R=(P=r(this,K).config).onSettled)==null||R.call(P,c,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:u,onFail:(c,g)=>{p(this,H,z).call(this,{type:"failed",failureCount:c,error:g})},onPause:()=>{p(this,H,z).call(this,{type:"pause"})},onContinue:()=>{p(this,H,z).call(this,{type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0})),r(this,A).start()}},Ct=new WeakMap,wt=new WeakMap,K=new WeakMap,A=new WeakMap,It=new WeakMap,ht=new WeakMap,H=new WeakSet,z=function(t){const e=i=>{switch(t.type){case"failed":return{...i,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...i,fetchStatus:"paused"};case"continue":return{...i,fetchStatus:"fetching"};case"fetch":return{...i,...He(i.data,this.options),fetchMeta:t.meta??null};case"success":return{...i,data:t.data,dataUpdateCount:i.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const n=t.error;return _t(n)&&n.revert&&r(this,wt)?{...r(this,wt),fetchStatus:"idle"}:{...i,error:n,errorUpdateCount:i.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:i.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:"idle",status:"error"};case"invalidate":return{...i,isInvalidated:!0};case"setState":return{...i,...t.state}}};this.state=e(this.state),M.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),r(this,K).notify({query:this,type:"updated",action:t})})},Ce);function He(s,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:xe(t.networkMode)?"fetching":"paused",...s===void 0&&{error:null,status:"pending"}}}function hs(s){const t=typeof s.initialData=="function"?s.initialData():s.initialData,e=t!==void 0,i=e?typeof s.initialDataUpdatedAt=="function"?s.initialDataUpdatedAt():s.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:e?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:e?"success":"pending",fetchStatus:"idle"}}var _,we,Ne=(we=class extends At{constructor(e={}){super();l(this,_);this.config=e,h(this,_,new Map)}build(e,i,n){const a=i.queryKey,o=i.queryHash??ae(a,i);let u=this.get(o);return u||(u=new os({cache:this,queryKey:a,queryHash:o,options:e.defaultQueryOptions(i),state:n,defaultOptions:e.getQueryDefaults(a)}),this.add(u)),u}add(e){r(this,_).has(e.queryHash)||(r(this,_).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const i=r(this,_).get(e.queryHash);i&&(e.destroy(),i===e&&r(this,_).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){M.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return r(this,_).get(e)}getAll(){return[...r(this,_).values()]}find(e){const i={exact:!0,...e};return this.getAll().find(n=>ce(i,n))}findAll(e={}){const i=this.getAll();return Object.keys(e).length>0?i.filter(n=>ce(e,n)):i}notify(e){M.batch(()=>{this.listeners.forEach(i=>{i(e)})})}onFocus(){M.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){M.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},_=new WeakMap,we),$,q,ct,B,X,Qe,cs=(Qe=class extends ke{constructor(t){super();l(this,B);l(this,$);l(this,q);l(this,ct);this.mutationId=t.mutationId,h(this,q,t.mutationCache),h(this,$,[]),this.state=t.state||Ge(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){r(this,$).includes(t)||(r(this,$).push(t),this.clearGcTimeout(),r(this,q).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){h(this,$,r(this,$).filter(e=>e!==t)),this.scheduleGc(),r(this,q).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){r(this,$).length||(this.state.status==="pending"?this.scheduleGc():r(this,q).remove(this))}continue(){var t;return((t=r(this,ct))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var n,a,o,u,y,S,f,c,g,d,P,R,F,O,w,Q,E,U,G,W;h(this,ct,Le({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(b,k)=>{p(this,B,X).call(this,{type:"failed",failureCount:b,error:k})},onPause:()=>{p(this,B,X).call(this,{type:"pause"})},onContinue:()=>{p(this,B,X).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>r(this,q).canRun(this)}));const e=this.state.status==="pending",i=!r(this,ct).canStart();try{if(!e){p(this,B,X).call(this,{type:"pending",variables:t,isPaused:i}),await((a=(n=r(this,q).config).onMutate)==null?void 0:a.call(n,t,this));const k=await((u=(o=this.options).onMutate)==null?void 0:u.call(o,t));k!==this.state.context&&p(this,B,X).call(this,{type:"pending",context:k,variables:t,isPaused:i})}const b=await r(this,ct).start();return await((S=(y=r(this,q).config).onSuccess)==null?void 0:S.call(y,b,t,this.state.context,this)),await((c=(f=this.options).onSuccess)==null?void 0:c.call(f,b,t,this.state.context)),await((d=(g=r(this,q).config).onSettled)==null?void 0:d.call(g,b,null,this.state.variables,this.state.context,this)),await((R=(P=this.options).onSettled)==null?void 0:R.call(P,b,null,t,this.state.context)),p(this,B,X).call(this,{type:"success",data:b}),b}catch(b){try{throw await((O=(F=r(this,q).config).onError)==null?void 0:O.call(F,b,t,this.state.context,this)),await((Q=(w=this.options).onError)==null?void 0:Q.call(w,b,t,this.state.context)),await((U=(E=r(this,q).config).onSettled)==null?void 0:U.call(E,void 0,b,this.state.variables,this.state.context,this)),await((W=(G=this.options).onSettled)==null?void 0:W.call(G,void 0,b,t,this.state.context)),b}finally{p(this,B,X).call(this,{type:"error",error:b})}}finally{r(this,q).runNext(this)}}},$=new WeakMap,q=new WeakMap,ct=new WeakMap,B=new WeakSet,X=function(t){const e=i=>{switch(t.type){case"failed":return{...i,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...i,isPaused:!0};case"continue":return{...i,isPaused:!1};case"pending":return{...i,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...i,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...i,data:void 0,error:t.error,failureCount:i.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=e(this.state),M.batch(()=>{r(this,$).forEach(i=>{i.onMutationUpdate(t)}),r(this,q).notify({mutation:this,type:"updated",action:t})})},Qe);function Ge(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var x,Tt,Se,_e=(Se=class extends At{constructor(e={}){super();l(this,x);l(this,Tt);this.config=e,h(this,x,new Map),h(this,Tt,Date.now())}build(e,i,n){const a=new cs({mutationCache:this,mutationId:++Kt(this,Tt)._,options:e.defaultMutationOptions(i),state:n});return this.add(a),a}add(e){const i=Lt(e),n=r(this,x).get(i)??[];n.push(e),r(this,x).set(i,n),this.notify({type:"added",mutation:e})}remove(e){var n;const i=Lt(e);if(r(this,x).has(i)){const a=(n=r(this,x).get(i))==null?void 0:n.filter(o=>o!==e);a&&(a.length===0?r(this,x).delete(i):r(this,x).set(i,a))}this.notify({type:"removed",mutation:e})}canRun(e){var n;const i=(n=r(this,x).get(Lt(e)))==null?void 0:n.find(a=>a.state.status==="pending");return!i||i===e}runNext(e){var n;const i=(n=r(this,x).get(Lt(e)))==null?void 0:n.find(a=>a!==e&&a.state.isPaused);return(i==null?void 0:i.continue())??Promise.resolve()}clear(){M.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}getAll(){return[...r(this,x).values()].flat()}find(e){const i={exact:!0,...e};return this.getAll().find(n=>le(i,n))}findAll(e={}){return this.getAll().filter(i=>le(e,i))}notify(e){M.batch(()=>{this.listeners.forEach(i=>{i(e)})})}resumePausedMutations(){const e=this.getAll().filter(i=>i.state.isPaused);return M.batch(()=>Promise.all(e.map(i=>i.continue().catch(L))))}},x=new WeakMap,Tt=new WeakMap,Se);function Lt(s){var t;return((t=s.options.scope)==null?void 0:t.id)??String(s.mutationId)}function ye(s){return{onFetch:(t,e)=>{var f,c,g,d,P;const i=t.options,n=(g=(c=(f=t.fetchOptions)==null?void 0:f.meta)==null?void 0:c.fetchMore)==null?void 0:g.direction,a=((d=t.state.data)==null?void 0:d.pages)||[],o=((P=t.state.data)==null?void 0:P.pageParams)||[];let u={pages:[],pageParams:[]},y=0;const S=async()=>{let R=!1;const F=Q=>{Object.defineProperty(Q,"signal",{enumerable:!0,get:()=>(t.signal.aborted?R=!0:t.signal.addEventListener("abort",()=>{R=!0}),t.signal)})},O=je(t.options,t.fetchOptions),w=async(Q,E,U)=>{if(R)return Promise.reject();if(E==null&&Q.pages.length)return Promise.resolve(Q);const G={queryKey:t.queryKey,pageParam:E,direction:U?"backward":"forward",meta:t.options.meta};F(G);const W=await O(G),{maxPages:b}=t.options,k=U?is:ss;return{pages:k(Q.pages,W,b),pageParams:k(Q.pageParams,E,b)}};if(n&&a.length){const Q=n==="backward",E=Q?ls:pe,U={pages:a,pageParams:o},G=E(i,U);u=await w(U,G,Q)}else{const Q=s??a.length;do{const E=y===0?o[0]??i.initialPageParam:pe(i,u);if(y>0&&E==null)break;u=await w(u,E),y++}while(y<Q)}return u};t.options.persister?t.fetchFn=()=>{var R,F;return(F=(R=t.options).persister)==null?void 0:F.call(R,S,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},e)}:t.fetchFn=S}}}function pe(s,{pages:t,pageParams:e}){const i=t.length-1;return t.length>0?s.getNextPageParam(t[i],t,e[i],e):void 0}function ls(s,{pages:t,pageParams:e}){var i;return t.length>0?(i=s.getPreviousPageParam)==null?void 0:i.call(s,t[0],t,e[0],e):void 0}var D,et,st,Qt,St,it,Pt,Rt,Pe,fs=(Pe=class{constructor(t={}){l(this,D);l(this,et);l(this,st);l(this,Qt);l(this,St);l(this,it);l(this,Pt);l(this,Rt);h(this,D,t.queryCache||new Ne),h(this,et,t.mutationCache||new _e),h(this,st,t.defaultOptions||{}),h(this,Qt,new Map),h(this,St,new Map),h(this,it,0)}mount(){Kt(this,it)._++,r(this,it)===1&&(h(this,Pt,ue.subscribe(async t=>{t&&(await this.resumePausedMutations(),r(this,D).onFocus())})),h(this,Rt,Nt.subscribe(async t=>{t&&(await this.resumePausedMutations(),r(this,D).onOnline())})))}unmount(){var t,e;Kt(this,it)._--,r(this,it)===0&&((t=r(this,Pt))==null||t.call(this),h(this,Pt,void 0),(e=r(this,Rt))==null||e.call(this),h(this,Rt,void 0))}isFetching(t){return r(this,D).findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return r(this,et).findAll({...t,status:"pending"}).length}getQueryData(t){var i;const e=this.defaultQueryOptions({queryKey:t});return(i=r(this,D).get(e.queryHash))==null?void 0:i.state.data}ensureQueryData(t){const e=this.getQueryData(t.queryKey);if(e===void 0)return this.fetchQuery(t);{const i=this.defaultQueryOptions(t),n=r(this,D).build(this,i);return t.revalidateIfStale&&n.isStaleByTime(vt(i.staleTime,n))&&this.prefetchQuery(i),Promise.resolve(e)}}getQueriesData(t){return r(this,D).findAll(t).map(({queryKey:e,state:i})=>{const n=i.data;return[e,n]})}setQueryData(t,e,i){const n=this.defaultQueryOptions({queryKey:t}),a=r(this,D).get(n.queryHash),o=a==null?void 0:a.state.data,u=ts(e,o);if(u!==void 0)return r(this,D).build(this,n).setData(u,{...i,manual:!0})}setQueriesData(t,e,i){return M.batch(()=>r(this,D).findAll(t).map(({queryKey:n})=>[n,this.setQueryData(n,e,i)]))}getQueryState(t){var i;const e=this.defaultQueryOptions({queryKey:t});return(i=r(this,D).get(e.queryHash))==null?void 0:i.state}removeQueries(t){const e=r(this,D);M.batch(()=>{e.findAll(t).forEach(i=>{e.remove(i)})})}resetQueries(t,e){const i=r(this,D),n={type:"active",...t};return M.batch(()=>(i.findAll(t).forEach(a=>{a.reset()}),this.refetchQueries(n,e)))}cancelQueries(t={},e={}){const i={revert:!0,...e},n=M.batch(()=>r(this,D).findAll(t).map(a=>a.cancel(i)));return Promise.all(n).then(L).catch(L)}invalidateQueries(t={},e={}){return M.batch(()=>{if(r(this,D).findAll(t).forEach(n=>{n.invalidate()}),t.refetchType==="none")return Promise.resolve();const i={...t,type:t.refetchType??t.type??"active"};return this.refetchQueries(i,e)})}refetchQueries(t={},e){const i={...e,cancelRefetch:(e==null?void 0:e.cancelRefetch)??!0},n=M.batch(()=>r(this,D).findAll(t).filter(a=>!a.isDisabled()).map(a=>{let o=a.fetch(void 0,i);return i.throwOnError||(o=o.catch(L)),a.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(n).then(L)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const i=r(this,D).build(this,e);return i.isStaleByTime(vt(e.staleTime,i))?i.fetch(e):Promise.resolve(i.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(L).catch(L)}fetchInfiniteQuery(t){return t.behavior=ye(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(L).catch(L)}ensureInfiniteQueryData(t){return t.behavior=ye(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return Nt.isOnline()?r(this,et).resumePausedMutations():Promise.resolve()}getQueryCache(){return r(this,D)}getMutationCache(){return r(this,et)}getDefaultOptions(){return r(this,st)}setDefaultOptions(t){h(this,st,t)}setQueryDefaults(t,e){r(this,Qt).set(pt(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...r(this,Qt).values()];let i={};return e.forEach(n=>{qt(t,n.queryKey)&&(i={...i,...n.defaultOptions})}),i}setMutationDefaults(t,e){r(this,St).set(pt(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...r(this,St).values()];let i={};return e.forEach(n=>{qt(t,n.mutationKey)&&(i={...i,...n.defaultOptions})}),i}defaultQueryOptions(t){if(t._defaulted)return t;const e={...r(this,st).queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=ae(e.queryKey,e)),e.refetchOnReconnect===void 0&&(e.refetchOnReconnect=e.networkMode!=="always"),e.throwOnError===void 0&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.enabled!==!0&&e.queryFn===Te&&(e.enabled=!1),e}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...r(this,st).mutations,...(t==null?void 0:t.mutationKey)&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){r(this,D).clear(),r(this,et).clear()}},D=new WeakMap,et=new WeakMap,st=new WeakMap,Qt=new WeakMap,St=new WeakMap,it=new WeakMap,Pt=new WeakMap,Rt=new WeakMap,Pe),T,v,jt,I,lt,Ft,V,xt,Dt,Et,ft,dt,rt,Mt,C,Ut,Wt,zt,Yt,Jt,Xt,Zt,te,$e,Re,ds=(Re=class extends At{constructor(t,e){super();l(this,C);l(this,T);l(this,v);l(this,jt);l(this,I);l(this,lt);l(this,Ft);l(this,V);l(this,xt);l(this,Dt);l(this,Et);l(this,ft);l(this,dt);l(this,rt);l(this,Mt,new Set);this.options=e,h(this,T,t),h(this,V,null),this.bindMethods(),this.setOptions(e)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(r(this,v).addObserver(this),me(r(this,v),this.options)?p(this,C,Ut).call(this):this.updateResult(),p(this,C,Jt).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return ee(r(this,v),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ee(r(this,v),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,p(this,C,Xt).call(this),p(this,C,Zt).call(this),r(this,v).removeObserver(this)}setOptions(t,e){const i=this.options,n=r(this,v);if(this.options=r(this,T).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof N(this.options.enabled,r(this,v))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");p(this,C,te).call(this),r(this,v).setOptions(this.options),i._defaulted&&!Ht(this.options,i)&&r(this,T).getQueryCache().notify({type:"observerOptionsUpdated",query:r(this,v),observer:this});const a=this.hasListeners();a&&ve(r(this,v),n,this.options,i)&&p(this,C,Ut).call(this),this.updateResult(e),a&&(r(this,v)!==n||N(this.options.enabled,r(this,v))!==N(i.enabled,r(this,v))||vt(this.options.staleTime,r(this,v))!==vt(i.staleTime,r(this,v)))&&p(this,C,Wt).call(this);const o=p(this,C,zt).call(this);a&&(r(this,v)!==n||N(this.options.enabled,r(this,v))!==N(i.enabled,r(this,v))||o!==r(this,rt))&&p(this,C,Yt).call(this,o)}getOptimisticResult(t){const e=r(this,T).getQueryCache().build(r(this,T),t),i=this.createResult(e,t);return ps(this,i)&&(h(this,I,i),h(this,Ft,this.options),h(this,lt,r(this,v).state)),i}getCurrentResult(){return r(this,I)}trackResult(t,e){const i={};return Object.keys(t).forEach(n=>{Object.defineProperty(i,n,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(n),e==null||e(n),t[n])})}),i}trackProp(t){r(this,Mt).add(t)}getCurrentQuery(){return r(this,v)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const e=r(this,T).defaultQueryOptions(t),i=r(this,T).getQueryCache().build(r(this,T),e);return i.isFetchingOptimistic=!0,i.fetch().then(()=>this.createResult(i,e))}fetch(t){return p(this,C,Ut).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),r(this,I)))}createResult(t,e){var W;const i=r(this,v),n=this.options,a=r(this,I),o=r(this,lt),u=r(this,Ft),S=t!==i?t.state:r(this,jt),{state:f}=t;let c={...f},g=!1,d;if(e._optimisticResults){const b=this.hasListeners(),k=!b&&me(t,e),We=b&&ve(t,i,e,n);(k||We)&&(c={...c,...He(f.data,t.options)}),e._optimisticResults==="isRestoring"&&(c.fetchStatus="idle")}let{error:P,errorUpdatedAt:R,status:F}=c;if(e.select&&c.data!==void 0)if(a&&c.data===(o==null?void 0:o.data)&&e.select===r(this,xt))d=r(this,Dt);else try{h(this,xt,e.select),d=e.select(c.data),d=Vt(a==null?void 0:a.data,d,e),h(this,Dt,d),h(this,V,null)}catch(b){h(this,V,b)}else d=c.data;if(e.placeholderData!==void 0&&d===void 0&&F==="pending"){let b;if(a!=null&&a.isPlaceholderData&&e.placeholderData===(u==null?void 0:u.placeholderData))b=a.data;else if(b=typeof e.placeholderData=="function"?e.placeholderData((W=r(this,Et))==null?void 0:W.state.data,r(this,Et)):e.placeholderData,e.select&&b!==void 0)try{b=e.select(b),h(this,V,null)}catch(k){h(this,V,k)}b!==void 0&&(F="success",d=Vt(a==null?void 0:a.data,b,e),g=!0)}r(this,V)&&(P=r(this,V),d=r(this,Dt),R=Date.now(),F="error");const O=c.fetchStatus==="fetching",w=F==="pending",Q=F==="error",E=w&&O,U=d!==void 0;return{status:F,fetchStatus:c.fetchStatus,isPending:w,isSuccess:F==="success",isError:Q,isInitialLoading:E,isLoading:E,data:d,dataUpdatedAt:c.dataUpdatedAt,error:P,errorUpdatedAt:R,failureCount:c.fetchFailureCount,failureReason:c.fetchFailureReason,errorUpdateCount:c.errorUpdateCount,isFetched:c.dataUpdateCount>0||c.errorUpdateCount>0,isFetchedAfterMount:c.dataUpdateCount>S.dataUpdateCount||c.errorUpdateCount>S.errorUpdateCount,isFetching:O,isRefetching:O&&!w,isLoadingError:Q&&!U,isPaused:c.fetchStatus==="paused",isPlaceholderData:g,isRefetchError:Q&&U,isStale:oe(t,e),refetch:this.refetch}}updateResult(t){const e=r(this,I),i=this.createResult(r(this,v),this.options);if(h(this,lt,r(this,v).state),h(this,Ft,this.options),r(this,lt).data!==void 0&&h(this,Et,r(this,v)),Ht(i,e))return;h(this,I,i);const n={},a=()=>{if(!e)return!0;const{notifyOnChangeProps:o}=this.options,u=typeof o=="function"?o():o;if(u==="all"||!u&&!r(this,Mt).size)return!0;const y=new Set(u??r(this,Mt));return this.options.throwOnError&&y.add("error"),Object.keys(r(this,I)).some(S=>{const f=S;return r(this,I)[f]!==e[f]&&y.has(f)})};(t==null?void 0:t.listeners)!==!1&&a()&&(n.listeners=!0),p(this,C,$e).call(this,{...n,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&p(this,C,Jt).call(this)}},T=new WeakMap,v=new WeakMap,jt=new WeakMap,I=new WeakMap,lt=new WeakMap,Ft=new WeakMap,V=new WeakMap,xt=new WeakMap,Dt=new WeakMap,Et=new WeakMap,ft=new WeakMap,dt=new WeakMap,rt=new WeakMap,Mt=new WeakMap,C=new WeakSet,Ut=function(t){p(this,C,te).call(this);let e=r(this,v).fetch(this.options,t);return t!=null&&t.throwOnError||(e=e.catch(L)),e},Wt=function(){p(this,C,Xt).call(this);const t=vt(this.options.staleTime,r(this,v));if(yt||r(this,I).isStale||!$t(t))return;const i=qe(r(this,I).dataUpdatedAt,t)+1;h(this,ft,setTimeout(()=>{r(this,I).isStale||this.updateResult()},i))},zt=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(r(this,v)):this.options.refetchInterval)??!1},Yt=function(t){p(this,C,Zt).call(this),h(this,rt,t),!(yt||N(this.options.enabled,r(this,v))===!1||!$t(r(this,rt))||r(this,rt)===0)&&h(this,dt,setInterval(()=>{(this.options.refetchIntervalInBackground||ue.isFocused())&&p(this,C,Ut).call(this)},r(this,rt)))},Jt=function(){p(this,C,Wt).call(this),p(this,C,Yt).call(this,p(this,C,zt).call(this))},Xt=function(){r(this,ft)&&(clearTimeout(r(this,ft)),h(this,ft,void 0))},Zt=function(){r(this,dt)&&(clearInterval(r(this,dt)),h(this,dt,void 0))},te=function(){const t=r(this,T).getQueryCache().build(r(this,T),this.options);if(t===r(this,v))return;const e=r(this,v);h(this,v,t),h(this,jt,t.state),this.hasListeners()&&(e==null||e.removeObserver(this),t.addObserver(this))},$e=function(t){M.batch(()=>{t.listeners&&this.listeners.forEach(e=>{e(r(this,I))}),r(this,T).getQueryCache().notify({query:r(this,v),type:"observerResultsUpdated"})})},Re);function ys(s,t){return N(t.enabled,s)!==!1&&s.state.data===void 0&&!(s.state.status==="error"&&t.retryOnMount===!1)}function me(s,t){return ys(s,t)||s.state.data!==void 0&&ee(s,t,t.refetchOnMount)}function ee(s,t,e){if(N(t.enabled,s)!==!1){const i=typeof e=="function"?e(s):e;return i==="always"||i!==!1&&oe(s,t)}return!1}function ve(s,t,e,i){return(s!==t||N(i.enabled,s)===!1)&&(!e.suspense||s.state.status!=="error")&&oe(s,e)}function oe(s,t){return N(t.enabled,s)!==!1&&s.isStaleByTime(vt(t.staleTime,s))}function ps(s,t){return!Ht(s.getCurrentResult(),t)}var nt,at,j,Y,J,kt,se,Fe,ms=(Fe=class extends At{constructor(t,e){super();l(this,J);l(this,nt);l(this,at);l(this,j);l(this,Y);h(this,nt,t),this.setOptions(e),this.bindMethods(),p(this,J,kt).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){var i;const e=this.options;this.options=r(this,nt).defaultMutationOptions(t),Ht(this.options,e)||r(this,nt).getMutationCache().notify({type:"observerOptionsUpdated",mutation:r(this,j),observer:this}),e!=null&&e.mutationKey&&this.options.mutationKey&&pt(e.mutationKey)!==pt(this.options.mutationKey)?this.reset():((i=r(this,j))==null?void 0:i.state.status)==="pending"&&r(this,j).setOptions(this.options)}onUnsubscribe(){var t;this.hasListeners()||(t=r(this,j))==null||t.removeObserver(this)}onMutationUpdate(t){p(this,J,kt).call(this),p(this,J,se).call(this,t)}getCurrentResult(){return r(this,at)}reset(){var t;(t=r(this,j))==null||t.removeObserver(this),h(this,j,void 0),p(this,J,kt).call(this),p(this,J,se).call(this)}mutate(t,e){var i;return h(this,Y,e),(i=r(this,j))==null||i.removeObserver(this),h(this,j,r(this,nt).getMutationCache().build(r(this,nt),this.options)),r(this,j).addObserver(this),r(this,j).execute(t)}},nt=new WeakMap,at=new WeakMap,j=new WeakMap,Y=new WeakMap,J=new WeakSet,kt=function(){var e;const t=((e=r(this,j))==null?void 0:e.state)??Ge();h(this,at,{...t,isPending:t.status==="pending",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset})},se=function(t){M.batch(()=>{var e,i,n,a,o,u,y,S;if(r(this,Y)&&this.hasListeners()){const f=r(this,at).variables,c=r(this,at).context;(t==null?void 0:t.type)==="success"?((i=(e=r(this,Y)).onSuccess)==null||i.call(e,t.data,f,c),(a=(n=r(this,Y)).onSettled)==null||a.call(n,t.data,null,f,c)):(t==null?void 0:t.type)==="error"&&((u=(o=r(this,Y)).onError)==null||u.call(o,t.error,f,c),(S=(y=r(this,Y)).onSettled)==null||S.call(y,void 0,t.error,f,c))}this.listeners.forEach(f=>{f(r(this,at))})})},Fe),vs="VUE_QUERY_CLIENT";function Be(s){const t=s?`:${s}`:"";return`${vs}${t}`}function ie(s,t){Object.keys(s).forEach(e=>{s[e]=t[e]})}function re(s,t,e="",i=0){if(t){const n=t(s,e,i);if(n===void 0&&De(s)||n!==void 0)return n}if(Array.isArray(s))return s.map((n,a)=>re(n,t,String(a),i+1));if(typeof s=="object"&&gs(s)){const n=Object.entries(s).map(([a,o])=>[a,re(o,t,a,i+1)]);return Object.fromEntries(n)}return s}function bs(s,t){return re(s,t)}function m(s,t=!1){return bs(s,(e,i,n)=>{if(n===1&&i==="queryKey")return m(e,!0);if(t&&Os(e))return m(e(),t);if(De(e))return m(ze(e),t)})}function gs(s){if(Object.prototype.toString.call(s)!=="[object Object]")return!1;const t=Object.getPrototypeOf(s);return t===null||t===Object.prototype}function Os(s){return typeof s=="function"}function ne(s,t){return typeof s=="function"?s(...t):!!s}function Ve(s=""){if(!Ye())throw new Error("vue-query hooks can only be used inside setup() function or functions that support injection context.");const t=Be(s),e=Je(t);if(!e)throw new Error("No 'queryClient' found in Vue context, use 'VueQueryPlugin' to properly initialize the library.");return e}var Cs=class extends Ne{find(s){return super.find(m(s))}findAll(s={}){return super.findAll(m(s))}},ws=class extends _e{find(s){return super.find(m(s))}findAll(s={}){return super.findAll(m(s))}},Qs=class extends fs{constructor(s={}){const t={defaultOptions:s.defaultOptions,queryCache:s.queryCache||new Cs,mutationCache:s.mutationCache||new ws};super(t),this.isRestoring=Xe(!1)}isFetching(s={}){return super.isFetching(m(s))}isMutating(s={}){return super.isMutating(m(s))}getQueryData(s){return super.getQueryData(m(s))}ensureQueryData(s){return super.ensureQueryData(m(s))}getQueriesData(s){return super.getQueriesData(m(s))}setQueryData(s,t,e={}){return super.setQueryData(m(s),t,m(e))}setQueriesData(s,t,e={}){return super.setQueriesData(m(s),t,m(e))}getQueryState(s){return super.getQueryState(m(s))}removeQueries(s={}){return super.removeQueries(m(s))}resetQueries(s={},t={}){return super.resetQueries(m(s),m(t))}cancelQueries(s={},t={}){return super.cancelQueries(m(s),m(t))}invalidateQueries(s={},t={}){const e=m(s),i=m(t);if(super.invalidateQueries({...e,refetchType:"none"},i),e.refetchType==="none")return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return Ze().then(()=>super.refetchQueries(n,i))}refetchQueries(s={},t={}){return super.refetchQueries(m(s),m(t))}fetchQuery(s){return super.fetchQuery(m(s))}prefetchQuery(s){return super.prefetchQuery(m(s))}fetchInfiniteQuery(s){return super.fetchInfiniteQuery(m(s))}prefetchInfiniteQuery(s){return super.prefetchInfiniteQuery(m(s))}setDefaultOptions(s){super.setDefaultOptions(m(s))}setQueryDefaults(s,t){super.setQueryDefaults(m(s),m(t))}getQueryDefaults(s){return super.getQueryDefaults(m(s))}setMutationDefaults(s,t){super.setMutationDefaults(m(s),m(t))}getMutationDefaults(s){return super.getMutationDefaults(m(s))}},Ms={install:(s,t={})=>{const e=Be(t.queryClientKey);let i;if("queryClient"in t&&t.queryClient)i=t.queryClient;else{const o="queryClientConfig"in t?t.queryClientConfig:void 0;i=new Qs(o)}yt||i.mount();let n=()=>{};if(t.clientPersister){i.isRestoring.value=!0;const[o,u]=t.clientPersister(i);n=o,u.then(()=>{var y;i.isRestoring.value=!1,(y=t.clientPersisterOnSuccess)==null||y.call(t,i)})}const a=()=>{i.unmount(),n()};if(s.onUnmount)s.onUnmount(a);else{const o=s.unmount;s.unmount=function(){a(),o()}}s.provide(e,i)}};function Ss(s,t,e){const i=Ve(),n=Ee(()=>{const d=m(t);typeof d.enabled=="function"&&(d.enabled=d.enabled());const P=i.defaultQueryOptions(d);return P._optimisticResults=i.isRestoring.value?"isRestoring":"optimistic",P}),a=new s(i,n.value),o=Me(a.getCurrentResult());let u=()=>{};mt(i.isRestoring,d=>{d||(u(),u=a.subscribe(P=>{ie(o,P)}))},{immediate:!0});const y=()=>{a.setOptions(n.value),ie(o,a.getCurrentResult())};mt(n,y),Ae(()=>{u()});const S=(...d)=>(y(),o.refetch(...d)),f=()=>new Promise((d,P)=>{let R=()=>{};const F=()=>{if(n.value.enabled!==!1){a.setOptions(n.value);const O=a.getOptimisticResult(n.value);O.isStale?(R(),a.fetchOptimistic(n.value).then(d,w=>{ne(n.value.throwOnError,[w,a.getCurrentQuery()])?P(w):d(a.getCurrentResult())})):(R(),d(O))}};F(),R=mt(n,F)});mt(()=>o.error,d=>{if(o.isError&&!o.isFetching&&ne(n.value.throwOnError,[d,a.getCurrentQuery()]))throw d});const g=Ue(o);for(const d in o)typeof o[d]=="function"&&(g[d]=o[d]);return g.suspense=f,g.refetch=S,g}function As(s,t){return Ss(ds,s)}function Us(s,t){const e=Ve(),i=Ee(()=>e.defaultMutationOptions(m(s))),n=new ms(e,i.value),a=Me(n.getCurrentResult()),o=n.subscribe(f=>{ie(a,f)}),u=(f,c)=>{n.mutate(f,c).catch(()=>{})};mt(i,()=>{n.setOptions(i.value)}),Ae(()=>{o()});const S=Ue(a);return mt(()=>a.error,f=>{if(f&&ne(i.value.throwOnError,[f]))throw f}),{...S,mutate:u,mutateAsync:a.mutate,reset:a.reset}}export{Qs as Q,Ms as V,As as a,Us as b,Ve as u};
1
+ var he=s=>{throw TypeError(s)};var Gt=(s,t,e)=>t.has(s)||he("Cannot "+e);var r=(s,t,e)=>(Gt(s,t,"read from private field"),e?e.call(s):t.get(s)),l=(s,t,e)=>t.has(s)?he("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(s):t.set(s,e),h=(s,t,e,i)=>(Gt(s,t,"write to private field"),i?i.call(s,e):t.set(s,e),e),p=(s,t,e)=>(Gt(s,t,"access private method"),e);var Kt=(s,t,e,i)=>({set _(n){h(s,t,n,e)},get _(){return r(s,t,i)}});import{i as De,u as ze,h as Ye,a as Je,r as Xe,n as Ze,c as Ee,s as Me,w as mt,o as Ae,t as Ue}from"./@vue.BdRXtpVd.0.0.33.js";var At=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(s){return this.listeners.add(s),this.onSubscribe(),()=>{this.listeners.delete(s),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},yt=typeof window>"u"||"Deno"in globalThis;function L(){}function ts(s,t){return typeof s=="function"?s(t):s}function $t(s){return typeof s=="number"&&s>=0&&s!==1/0}function qe(s,t){return Math.max(s+(t||0)-Date.now(),0)}function vt(s,t){return typeof s=="function"?s(t):s}function N(s,t){return typeof s=="function"?s(t):s}function ce(s,t){const{type:e="all",exact:i,fetchStatus:n,predicate:a,queryKey:o,stale:u}=s;if(o){if(i){if(t.queryHash!==ae(o,t.options))return!1}else if(!qt(t.queryKey,o))return!1}if(e!=="all"){const y=t.isActive();if(e==="active"&&!y||e==="inactive"&&y)return!1}return!(typeof u=="boolean"&&t.isStale()!==u||n&&n!==t.state.fetchStatus||a&&!a(t))}function le(s,t){const{exact:e,status:i,predicate:n,mutationKey:a}=s;if(a){if(!t.options.mutationKey)return!1;if(e){if(pt(t.options.mutationKey)!==pt(a))return!1}else if(!qt(t.options.mutationKey,a))return!1}return!(i&&t.state.status!==i||n&&!n(t))}function ae(s,t){return((t==null?void 0:t.queryKeyHashFn)||pt)(s)}function pt(s){return JSON.stringify(s,(t,e)=>Bt(e)?Object.keys(e).sort().reduce((i,n)=>(i[n]=e[n],i),{}):e)}function qt(s,t){return s===t?!0:typeof s!=typeof t?!1:s&&t&&typeof s=="object"&&typeof t=="object"?!Object.keys(t).some(e=>!qt(s[e],t[e])):!1}function Ie(s,t){if(s===t)return s;const e=fe(s)&&fe(t);if(e||Bt(s)&&Bt(t)){const i=e?s:Object.keys(s),n=i.length,a=e?t:Object.keys(t),o=a.length,u=e?[]:{};let y=0;for(let S=0;S<o;S++){const f=e?S:a[S];(!e&&i.includes(f)||e)&&s[f]===void 0&&t[f]===void 0?(u[f]=void 0,y++):(u[f]=Ie(s[f],t[f]),u[f]===s[f]&&s[f]!==void 0&&y++)}return n===o&&y===n?s:u}return t}function Ht(s,t){if(!t||Object.keys(s).length!==Object.keys(t).length)return!1;for(const e in s)if(s[e]!==t[e])return!1;return!0}function fe(s){return Array.isArray(s)&&s.length===Object.keys(s).length}function Bt(s){if(!de(s))return!1;const t=s.constructor;if(t===void 0)return!0;const e=t.prototype;return!(!de(e)||!e.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(s)!==Object.prototype)}function de(s){return Object.prototype.toString.call(s)==="[object Object]"}function es(s){return new Promise(t=>{setTimeout(t,s)})}function Vt(s,t,e){return typeof e.structuralSharing=="function"?e.structuralSharing(s,t):e.structuralSharing!==!1?Ie(s,t):t}function ss(s,t,e=0){const i=[...s,t];return e&&i.length>e?i.slice(1):i}function is(s,t,e=0){const i=[t,...s];return e&&i.length>e?i.slice(0,-1):i}var Te=Symbol();function je(s,t){return!s.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!s.queryFn||s.queryFn===Te?()=>Promise.reject(new Error(`Missing queryFn: '${s.queryHash}'`)):s.queryFn}var ut,Z,bt,be,rs=(be=class extends At{constructor(){super();l(this,ut);l(this,Z);l(this,bt);h(this,bt,t=>{if(!yt&&window.addEventListener){const e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}})}onSubscribe(){r(this,Z)||this.setEventListener(r(this,bt))}onUnsubscribe(){var t;this.hasListeners()||((t=r(this,Z))==null||t.call(this),h(this,Z,void 0))}setEventListener(t){var e;h(this,bt,t),(e=r(this,Z))==null||e.call(this),h(this,Z,t(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()}))}setFocused(t){r(this,ut)!==t&&(h(this,ut,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(e=>{e(t)})}isFocused(){var t;return typeof r(this,ut)=="boolean"?r(this,ut):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},ut=new WeakMap,Z=new WeakMap,bt=new WeakMap,be),ue=new rs,gt,tt,Ot,ge,ns=(ge=class extends At{constructor(){super();l(this,gt,!0);l(this,tt);l(this,Ot);h(this,Ot,t=>{if(!yt&&window.addEventListener){const e=()=>t(!0),i=()=>t(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",i)}}})}onSubscribe(){r(this,tt)||this.setEventListener(r(this,Ot))}onUnsubscribe(){var t;this.hasListeners()||((t=r(this,tt))==null||t.call(this),h(this,tt,void 0))}setEventListener(t){var e;h(this,Ot,t),(e=r(this,tt))==null||e.call(this),h(this,tt,t(this.setOnline.bind(this)))}setOnline(t){r(this,gt)!==t&&(h(this,gt,t),this.listeners.forEach(i=>{i(t)}))}isOnline(){return r(this,gt)}},gt=new WeakMap,tt=new WeakMap,Ot=new WeakMap,ge),Nt=new ns;function as(s){return Math.min(1e3*2**s,3e4)}function xe(s){return(s??"online")==="online"?Nt.isOnline():!0}var Ke=class extends Error{constructor(s){super("CancelledError"),this.revert=s==null?void 0:s.revert,this.silent=s==null?void 0:s.silent}};function _t(s){return s instanceof Ke}function Le(s){let t=!1,e=0,i=!1,n,a,o;const u=new Promise((O,w)=>{a=O,o=w}),y=O=>{var w;i||(P(new Ke(O)),(w=s.abort)==null||w.call(s))},S=()=>{t=!0},f=()=>{t=!1},c=()=>ue.isFocused()&&(s.networkMode==="always"||Nt.isOnline())&&s.canRun(),g=()=>xe(s.networkMode)&&s.canRun(),d=O=>{var w;i||(i=!0,(w=s.onSuccess)==null||w.call(s,O),n==null||n(),a(O))},P=O=>{var w;i||(i=!0,(w=s.onError)==null||w.call(s,O),n==null||n(),o(O))},R=()=>new Promise(O=>{var w;n=Q=>{(i||c())&&O(Q)},(w=s.onPause)==null||w.call(s)}).then(()=>{var O;n=void 0,i||(O=s.onContinue)==null||O.call(s)}),F=()=>{if(i)return;let O;const w=e===0?s.initialPromise:void 0;try{O=w??s.fn()}catch(Q){O=Promise.reject(Q)}Promise.resolve(O).then(d).catch(Q=>{var b;if(i)return;const E=s.retry??(yt?0:3),U=s.retryDelay??as,G=typeof U=="function"?U(e,Q):U,W=E===!0||typeof E=="number"&&e<E||typeof E=="function"&&E(e,Q);if(t||!W){P(Q);return}e++,(b=s.onFail)==null||b.call(s,e,Q),es(G).then(()=>c()?void 0:R()).then(()=>{t?P(Q):F()})})};return{promise:u,cancel:y,continue:()=>(n==null||n(),u),cancelRetry:S,continueRetry:f,canStart:g,start:()=>(g()?F():R().then(F),u)}}function us(){let s=[],t=0,e=u=>{u()},i=u=>{u()},n=u=>setTimeout(u,0);const a=u=>{t?s.push(u):n(()=>{e(u)})},o=()=>{const u=s;s=[],u.length&&n(()=>{i(()=>{u.forEach(y=>{e(y)})})})};return{batch:u=>{let y;t++;try{y=u()}finally{t--,t||o()}return y},batchCalls:u=>(...y)=>{a(()=>{u(...y)})},schedule:a,setNotifyFunction:u=>{e=u},setBatchNotifyFunction:u=>{i=u},setScheduler:u=>{n=u}}}var M=us(),ot,Oe,ke=(Oe=class{constructor(){l(this,ot)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),$t(this.gcTime)&&h(this,ot,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(s){this.gcTime=Math.max(this.gcTime||0,s??(yt?1/0:5*60*1e3))}clearGcTimeout(){r(this,ot)&&(clearTimeout(r(this,ot)),h(this,ot,void 0))}},ot=new WeakMap,Oe),Ct,wt,K,A,It,ht,H,z,Ce,os=(Ce=class extends ke{constructor(t){super();l(this,H);l(this,Ct);l(this,wt);l(this,K);l(this,A);l(this,It);l(this,ht);h(this,ht,!1),h(this,It,t.defaultOptions),this.setOptions(t.options),this.observers=[],h(this,K,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,h(this,Ct,hs(this.options)),this.state=t.state??r(this,Ct),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=r(this,A))==null?void 0:t.promise}setOptions(t){this.options={...r(this,It),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&r(this,K).remove(this)}setData(t,e){const i=Vt(this.state.data,t,this.options);return p(this,H,z).call(this,{data:i,type:"success",dataUpdatedAt:e==null?void 0:e.updatedAt,manual:e==null?void 0:e.manual}),i}setState(t,e){p(this,H,z).call(this,{type:"setState",state:t,setStateOptions:e})}cancel(t){var i,n;const e=(i=r(this,A))==null?void 0:i.promise;return(n=r(this,A))==null||n.cancel(t),e?e.then(L).catch(L):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(r(this,Ct))}isActive(){return this.observers.some(t=>N(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!qe(this.state.dataUpdatedAt,t)}onFocus(){var e;const t=this.observers.find(i=>i.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(e=r(this,A))==null||e.continue()}onOnline(){var e;const t=this.observers.find(i=>i.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(e=r(this,A))==null||e.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),r(this,K).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(e=>e!==t),this.observers.length||(r(this,A)&&(r(this,ht)?r(this,A).cancel({revert:!0}):r(this,A).cancelRetry()),this.scheduleGc()),r(this,K).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||p(this,H,z).call(this,{type:"invalidate"})}fetch(t,e){var y,S,f;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(e!=null&&e.cancelRefetch))this.cancel({silent:!0});else if(r(this,A))return r(this,A).continueRetry(),r(this,A).promise}if(t&&this.setOptions(t),!this.options.queryFn){const c=this.observers.find(g=>g.options.queryFn);c&&this.setOptions(c.options)}const i=new AbortController,n=c=>{Object.defineProperty(c,"signal",{enumerable:!0,get:()=>(h(this,ht,!0),i.signal)})},a=()=>{const c=je(this.options,e),g={queryKey:this.queryKey,meta:this.meta};return n(g),h(this,ht,!1),this.options.persister?this.options.persister(c,g,this):c(g)},o={fetchOptions:e,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:a};n(o),(y=this.options.behavior)==null||y.onFetch(o,this),h(this,wt,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((S=o.fetchOptions)==null?void 0:S.meta))&&p(this,H,z).call(this,{type:"fetch",meta:(f=o.fetchOptions)==null?void 0:f.meta});const u=c=>{var g,d,P,R;_t(c)&&c.silent||p(this,H,z).call(this,{type:"error",error:c}),_t(c)||((d=(g=r(this,K).config).onError)==null||d.call(g,c,this),(R=(P=r(this,K).config).onSettled)==null||R.call(P,this.state.data,c,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return h(this,A,Le({initialPromise:e==null?void 0:e.initialPromise,fn:o.fetchFn,abort:i.abort.bind(i),onSuccess:c=>{var g,d,P,R;if(c===void 0){u(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(c)}catch(F){u(F);return}(d=(g=r(this,K).config).onSuccess)==null||d.call(g,c,this),(R=(P=r(this,K).config).onSettled)==null||R.call(P,c,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:u,onFail:(c,g)=>{p(this,H,z).call(this,{type:"failed",failureCount:c,error:g})},onPause:()=>{p(this,H,z).call(this,{type:"pause"})},onContinue:()=>{p(this,H,z).call(this,{type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0})),r(this,A).start()}},Ct=new WeakMap,wt=new WeakMap,K=new WeakMap,A=new WeakMap,It=new WeakMap,ht=new WeakMap,H=new WeakSet,z=function(t){const e=i=>{switch(t.type){case"failed":return{...i,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...i,fetchStatus:"paused"};case"continue":return{...i,fetchStatus:"fetching"};case"fetch":return{...i,...He(i.data,this.options),fetchMeta:t.meta??null};case"success":return{...i,data:t.data,dataUpdateCount:i.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const n=t.error;return _t(n)&&n.revert&&r(this,wt)?{...r(this,wt),fetchStatus:"idle"}:{...i,error:n,errorUpdateCount:i.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:i.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:"idle",status:"error"};case"invalidate":return{...i,isInvalidated:!0};case"setState":return{...i,...t.state}}};this.state=e(this.state),M.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),r(this,K).notify({query:this,type:"updated",action:t})})},Ce);function He(s,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:xe(t.networkMode)?"fetching":"paused",...s===void 0&&{error:null,status:"pending"}}}function hs(s){const t=typeof s.initialData=="function"?s.initialData():s.initialData,e=t!==void 0,i=e?typeof s.initialDataUpdatedAt=="function"?s.initialDataUpdatedAt():s.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:e?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:e?"success":"pending",fetchStatus:"idle"}}var _,we,Ne=(we=class extends At{constructor(e={}){super();l(this,_);this.config=e,h(this,_,new Map)}build(e,i,n){const a=i.queryKey,o=i.queryHash??ae(a,i);let u=this.get(o);return u||(u=new os({cache:this,queryKey:a,queryHash:o,options:e.defaultQueryOptions(i),state:n,defaultOptions:e.getQueryDefaults(a)}),this.add(u)),u}add(e){r(this,_).has(e.queryHash)||(r(this,_).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const i=r(this,_).get(e.queryHash);i&&(e.destroy(),i===e&&r(this,_).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){M.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return r(this,_).get(e)}getAll(){return[...r(this,_).values()]}find(e){const i={exact:!0,...e};return this.getAll().find(n=>ce(i,n))}findAll(e={}){const i=this.getAll();return Object.keys(e).length>0?i.filter(n=>ce(e,n)):i}notify(e){M.batch(()=>{this.listeners.forEach(i=>{i(e)})})}onFocus(){M.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){M.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},_=new WeakMap,we),$,q,ct,B,X,Qe,cs=(Qe=class extends ke{constructor(t){super();l(this,B);l(this,$);l(this,q);l(this,ct);this.mutationId=t.mutationId,h(this,q,t.mutationCache),h(this,$,[]),this.state=t.state||Ge(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){r(this,$).includes(t)||(r(this,$).push(t),this.clearGcTimeout(),r(this,q).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){h(this,$,r(this,$).filter(e=>e!==t)),this.scheduleGc(),r(this,q).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){r(this,$).length||(this.state.status==="pending"?this.scheduleGc():r(this,q).remove(this))}continue(){var t;return((t=r(this,ct))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var n,a,o,u,y,S,f,c,g,d,P,R,F,O,w,Q,E,U,G,W;h(this,ct,Le({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(b,k)=>{p(this,B,X).call(this,{type:"failed",failureCount:b,error:k})},onPause:()=>{p(this,B,X).call(this,{type:"pause"})},onContinue:()=>{p(this,B,X).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>r(this,q).canRun(this)}));const e=this.state.status==="pending",i=!r(this,ct).canStart();try{if(!e){p(this,B,X).call(this,{type:"pending",variables:t,isPaused:i}),await((a=(n=r(this,q).config).onMutate)==null?void 0:a.call(n,t,this));const k=await((u=(o=this.options).onMutate)==null?void 0:u.call(o,t));k!==this.state.context&&p(this,B,X).call(this,{type:"pending",context:k,variables:t,isPaused:i})}const b=await r(this,ct).start();return await((S=(y=r(this,q).config).onSuccess)==null?void 0:S.call(y,b,t,this.state.context,this)),await((c=(f=this.options).onSuccess)==null?void 0:c.call(f,b,t,this.state.context)),await((d=(g=r(this,q).config).onSettled)==null?void 0:d.call(g,b,null,this.state.variables,this.state.context,this)),await((R=(P=this.options).onSettled)==null?void 0:R.call(P,b,null,t,this.state.context)),p(this,B,X).call(this,{type:"success",data:b}),b}catch(b){try{throw await((O=(F=r(this,q).config).onError)==null?void 0:O.call(F,b,t,this.state.context,this)),await((Q=(w=this.options).onError)==null?void 0:Q.call(w,b,t,this.state.context)),await((U=(E=r(this,q).config).onSettled)==null?void 0:U.call(E,void 0,b,this.state.variables,this.state.context,this)),await((W=(G=this.options).onSettled)==null?void 0:W.call(G,void 0,b,t,this.state.context)),b}finally{p(this,B,X).call(this,{type:"error",error:b})}}finally{r(this,q).runNext(this)}}},$=new WeakMap,q=new WeakMap,ct=new WeakMap,B=new WeakSet,X=function(t){const e=i=>{switch(t.type){case"failed":return{...i,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...i,isPaused:!0};case"continue":return{...i,isPaused:!1};case"pending":return{...i,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...i,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...i,data:void 0,error:t.error,failureCount:i.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=e(this.state),M.batch(()=>{r(this,$).forEach(i=>{i.onMutationUpdate(t)}),r(this,q).notify({mutation:this,type:"updated",action:t})})},Qe);function Ge(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var x,Tt,Se,_e=(Se=class extends At{constructor(e={}){super();l(this,x);l(this,Tt);this.config=e,h(this,x,new Map),h(this,Tt,Date.now())}build(e,i,n){const a=new cs({mutationCache:this,mutationId:++Kt(this,Tt)._,options:e.defaultMutationOptions(i),state:n});return this.add(a),a}add(e){const i=Lt(e),n=r(this,x).get(i)??[];n.push(e),r(this,x).set(i,n),this.notify({type:"added",mutation:e})}remove(e){var n;const i=Lt(e);if(r(this,x).has(i)){const a=(n=r(this,x).get(i))==null?void 0:n.filter(o=>o!==e);a&&(a.length===0?r(this,x).delete(i):r(this,x).set(i,a))}this.notify({type:"removed",mutation:e})}canRun(e){var n;const i=(n=r(this,x).get(Lt(e)))==null?void 0:n.find(a=>a.state.status==="pending");return!i||i===e}runNext(e){var n;const i=(n=r(this,x).get(Lt(e)))==null?void 0:n.find(a=>a!==e&&a.state.isPaused);return(i==null?void 0:i.continue())??Promise.resolve()}clear(){M.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}getAll(){return[...r(this,x).values()].flat()}find(e){const i={exact:!0,...e};return this.getAll().find(n=>le(i,n))}findAll(e={}){return this.getAll().filter(i=>le(e,i))}notify(e){M.batch(()=>{this.listeners.forEach(i=>{i(e)})})}resumePausedMutations(){const e=this.getAll().filter(i=>i.state.isPaused);return M.batch(()=>Promise.all(e.map(i=>i.continue().catch(L))))}},x=new WeakMap,Tt=new WeakMap,Se);function Lt(s){var t;return((t=s.options.scope)==null?void 0:t.id)??String(s.mutationId)}function ye(s){return{onFetch:(t,e)=>{var f,c,g,d,P;const i=t.options,n=(g=(c=(f=t.fetchOptions)==null?void 0:f.meta)==null?void 0:c.fetchMore)==null?void 0:g.direction,a=((d=t.state.data)==null?void 0:d.pages)||[],o=((P=t.state.data)==null?void 0:P.pageParams)||[];let u={pages:[],pageParams:[]},y=0;const S=async()=>{let R=!1;const F=Q=>{Object.defineProperty(Q,"signal",{enumerable:!0,get:()=>(t.signal.aborted?R=!0:t.signal.addEventListener("abort",()=>{R=!0}),t.signal)})},O=je(t.options,t.fetchOptions),w=async(Q,E,U)=>{if(R)return Promise.reject();if(E==null&&Q.pages.length)return Promise.resolve(Q);const G={queryKey:t.queryKey,pageParam:E,direction:U?"backward":"forward",meta:t.options.meta};F(G);const W=await O(G),{maxPages:b}=t.options,k=U?is:ss;return{pages:k(Q.pages,W,b),pageParams:k(Q.pageParams,E,b)}};if(n&&a.length){const Q=n==="backward",E=Q?ls:pe,U={pages:a,pageParams:o},G=E(i,U);u=await w(U,G,Q)}else{const Q=s??a.length;do{const E=y===0?o[0]??i.initialPageParam:pe(i,u);if(y>0&&E==null)break;u=await w(u,E),y++}while(y<Q)}return u};t.options.persister?t.fetchFn=()=>{var R,F;return(F=(R=t.options).persister)==null?void 0:F.call(R,S,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},e)}:t.fetchFn=S}}}function pe(s,{pages:t,pageParams:e}){const i=t.length-1;return t.length>0?s.getNextPageParam(t[i],t,e[i],e):void 0}function ls(s,{pages:t,pageParams:e}){var i;return t.length>0?(i=s.getPreviousPageParam)==null?void 0:i.call(s,t[0],t,e[0],e):void 0}var D,et,st,Qt,St,it,Pt,Rt,Pe,fs=(Pe=class{constructor(t={}){l(this,D);l(this,et);l(this,st);l(this,Qt);l(this,St);l(this,it);l(this,Pt);l(this,Rt);h(this,D,t.queryCache||new Ne),h(this,et,t.mutationCache||new _e),h(this,st,t.defaultOptions||{}),h(this,Qt,new Map),h(this,St,new Map),h(this,it,0)}mount(){Kt(this,it)._++,r(this,it)===1&&(h(this,Pt,ue.subscribe(async t=>{t&&(await this.resumePausedMutations(),r(this,D).onFocus())})),h(this,Rt,Nt.subscribe(async t=>{t&&(await this.resumePausedMutations(),r(this,D).onOnline())})))}unmount(){var t,e;Kt(this,it)._--,r(this,it)===0&&((t=r(this,Pt))==null||t.call(this),h(this,Pt,void 0),(e=r(this,Rt))==null||e.call(this),h(this,Rt,void 0))}isFetching(t){return r(this,D).findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return r(this,et).findAll({...t,status:"pending"}).length}getQueryData(t){var i;const e=this.defaultQueryOptions({queryKey:t});return(i=r(this,D).get(e.queryHash))==null?void 0:i.state.data}ensureQueryData(t){const e=this.getQueryData(t.queryKey);if(e===void 0)return this.fetchQuery(t);{const i=this.defaultQueryOptions(t),n=r(this,D).build(this,i);return t.revalidateIfStale&&n.isStaleByTime(vt(i.staleTime,n))&&this.prefetchQuery(i),Promise.resolve(e)}}getQueriesData(t){return r(this,D).findAll(t).map(({queryKey:e,state:i})=>{const n=i.data;return[e,n]})}setQueryData(t,e,i){const n=this.defaultQueryOptions({queryKey:t}),a=r(this,D).get(n.queryHash),o=a==null?void 0:a.state.data,u=ts(e,o);if(u!==void 0)return r(this,D).build(this,n).setData(u,{...i,manual:!0})}setQueriesData(t,e,i){return M.batch(()=>r(this,D).findAll(t).map(({queryKey:n})=>[n,this.setQueryData(n,e,i)]))}getQueryState(t){var i;const e=this.defaultQueryOptions({queryKey:t});return(i=r(this,D).get(e.queryHash))==null?void 0:i.state}removeQueries(t){const e=r(this,D);M.batch(()=>{e.findAll(t).forEach(i=>{e.remove(i)})})}resetQueries(t,e){const i=r(this,D),n={type:"active",...t};return M.batch(()=>(i.findAll(t).forEach(a=>{a.reset()}),this.refetchQueries(n,e)))}cancelQueries(t={},e={}){const i={revert:!0,...e},n=M.batch(()=>r(this,D).findAll(t).map(a=>a.cancel(i)));return Promise.all(n).then(L).catch(L)}invalidateQueries(t={},e={}){return M.batch(()=>{if(r(this,D).findAll(t).forEach(n=>{n.invalidate()}),t.refetchType==="none")return Promise.resolve();const i={...t,type:t.refetchType??t.type??"active"};return this.refetchQueries(i,e)})}refetchQueries(t={},e){const i={...e,cancelRefetch:(e==null?void 0:e.cancelRefetch)??!0},n=M.batch(()=>r(this,D).findAll(t).filter(a=>!a.isDisabled()).map(a=>{let o=a.fetch(void 0,i);return i.throwOnError||(o=o.catch(L)),a.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(n).then(L)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const i=r(this,D).build(this,e);return i.isStaleByTime(vt(e.staleTime,i))?i.fetch(e):Promise.resolve(i.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(L).catch(L)}fetchInfiniteQuery(t){return t.behavior=ye(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(L).catch(L)}ensureInfiniteQueryData(t){return t.behavior=ye(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return Nt.isOnline()?r(this,et).resumePausedMutations():Promise.resolve()}getQueryCache(){return r(this,D)}getMutationCache(){return r(this,et)}getDefaultOptions(){return r(this,st)}setDefaultOptions(t){h(this,st,t)}setQueryDefaults(t,e){r(this,Qt).set(pt(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...r(this,Qt).values()];let i={};return e.forEach(n=>{qt(t,n.queryKey)&&(i={...i,...n.defaultOptions})}),i}setMutationDefaults(t,e){r(this,St).set(pt(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...r(this,St).values()];let i={};return e.forEach(n=>{qt(t,n.mutationKey)&&(i={...i,...n.defaultOptions})}),i}defaultQueryOptions(t){if(t._defaulted)return t;const e={...r(this,st).queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=ae(e.queryKey,e)),e.refetchOnReconnect===void 0&&(e.refetchOnReconnect=e.networkMode!=="always"),e.throwOnError===void 0&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.enabled!==!0&&e.queryFn===Te&&(e.enabled=!1),e}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...r(this,st).mutations,...(t==null?void 0:t.mutationKey)&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){r(this,D).clear(),r(this,et).clear()}},D=new WeakMap,et=new WeakMap,st=new WeakMap,Qt=new WeakMap,St=new WeakMap,it=new WeakMap,Pt=new WeakMap,Rt=new WeakMap,Pe),T,v,jt,I,lt,Ft,V,xt,Dt,Et,ft,dt,rt,Mt,C,Ut,Wt,zt,Yt,Jt,Xt,Zt,te,$e,Re,ds=(Re=class extends At{constructor(t,e){super();l(this,C);l(this,T);l(this,v);l(this,jt);l(this,I);l(this,lt);l(this,Ft);l(this,V);l(this,xt);l(this,Dt);l(this,Et);l(this,ft);l(this,dt);l(this,rt);l(this,Mt,new Set);this.options=e,h(this,T,t),h(this,V,null),this.bindMethods(),this.setOptions(e)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(r(this,v).addObserver(this),me(r(this,v),this.options)?p(this,C,Ut).call(this):this.updateResult(),p(this,C,Jt).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return ee(r(this,v),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ee(r(this,v),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,p(this,C,Xt).call(this),p(this,C,Zt).call(this),r(this,v).removeObserver(this)}setOptions(t,e){const i=this.options,n=r(this,v);if(this.options=r(this,T).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof N(this.options.enabled,r(this,v))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");p(this,C,te).call(this),r(this,v).setOptions(this.options),i._defaulted&&!Ht(this.options,i)&&r(this,T).getQueryCache().notify({type:"observerOptionsUpdated",query:r(this,v),observer:this});const a=this.hasListeners();a&&ve(r(this,v),n,this.options,i)&&p(this,C,Ut).call(this),this.updateResult(e),a&&(r(this,v)!==n||N(this.options.enabled,r(this,v))!==N(i.enabled,r(this,v))||vt(this.options.staleTime,r(this,v))!==vt(i.staleTime,r(this,v)))&&p(this,C,Wt).call(this);const o=p(this,C,zt).call(this);a&&(r(this,v)!==n||N(this.options.enabled,r(this,v))!==N(i.enabled,r(this,v))||o!==r(this,rt))&&p(this,C,Yt).call(this,o)}getOptimisticResult(t){const e=r(this,T).getQueryCache().build(r(this,T),t),i=this.createResult(e,t);return ps(this,i)&&(h(this,I,i),h(this,Ft,this.options),h(this,lt,r(this,v).state)),i}getCurrentResult(){return r(this,I)}trackResult(t,e){const i={};return Object.keys(t).forEach(n=>{Object.defineProperty(i,n,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(n),e==null||e(n),t[n])})}),i}trackProp(t){r(this,Mt).add(t)}getCurrentQuery(){return r(this,v)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const e=r(this,T).defaultQueryOptions(t),i=r(this,T).getQueryCache().build(r(this,T),e);return i.isFetchingOptimistic=!0,i.fetch().then(()=>this.createResult(i,e))}fetch(t){return p(this,C,Ut).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),r(this,I)))}createResult(t,e){var W;const i=r(this,v),n=this.options,a=r(this,I),o=r(this,lt),u=r(this,Ft),S=t!==i?t.state:r(this,jt),{state:f}=t;let c={...f},g=!1,d;if(e._optimisticResults){const b=this.hasListeners(),k=!b&&me(t,e),We=b&&ve(t,i,e,n);(k||We)&&(c={...c,...He(f.data,t.options)}),e._optimisticResults==="isRestoring"&&(c.fetchStatus="idle")}let{error:P,errorUpdatedAt:R,status:F}=c;if(e.select&&c.data!==void 0)if(a&&c.data===(o==null?void 0:o.data)&&e.select===r(this,xt))d=r(this,Dt);else try{h(this,xt,e.select),d=e.select(c.data),d=Vt(a==null?void 0:a.data,d,e),h(this,Dt,d),h(this,V,null)}catch(b){h(this,V,b)}else d=c.data;if(e.placeholderData!==void 0&&d===void 0&&F==="pending"){let b;if(a!=null&&a.isPlaceholderData&&e.placeholderData===(u==null?void 0:u.placeholderData))b=a.data;else if(b=typeof e.placeholderData=="function"?e.placeholderData((W=r(this,Et))==null?void 0:W.state.data,r(this,Et)):e.placeholderData,e.select&&b!==void 0)try{b=e.select(b),h(this,V,null)}catch(k){h(this,V,k)}b!==void 0&&(F="success",d=Vt(a==null?void 0:a.data,b,e),g=!0)}r(this,V)&&(P=r(this,V),d=r(this,Dt),R=Date.now(),F="error");const O=c.fetchStatus==="fetching",w=F==="pending",Q=F==="error",E=w&&O,U=d!==void 0;return{status:F,fetchStatus:c.fetchStatus,isPending:w,isSuccess:F==="success",isError:Q,isInitialLoading:E,isLoading:E,data:d,dataUpdatedAt:c.dataUpdatedAt,error:P,errorUpdatedAt:R,failureCount:c.fetchFailureCount,failureReason:c.fetchFailureReason,errorUpdateCount:c.errorUpdateCount,isFetched:c.dataUpdateCount>0||c.errorUpdateCount>0,isFetchedAfterMount:c.dataUpdateCount>S.dataUpdateCount||c.errorUpdateCount>S.errorUpdateCount,isFetching:O,isRefetching:O&&!w,isLoadingError:Q&&!U,isPaused:c.fetchStatus==="paused",isPlaceholderData:g,isRefetchError:Q&&U,isStale:oe(t,e),refetch:this.refetch}}updateResult(t){const e=r(this,I),i=this.createResult(r(this,v),this.options);if(h(this,lt,r(this,v).state),h(this,Ft,this.options),r(this,lt).data!==void 0&&h(this,Et,r(this,v)),Ht(i,e))return;h(this,I,i);const n={},a=()=>{if(!e)return!0;const{notifyOnChangeProps:o}=this.options,u=typeof o=="function"?o():o;if(u==="all"||!u&&!r(this,Mt).size)return!0;const y=new Set(u??r(this,Mt));return this.options.throwOnError&&y.add("error"),Object.keys(r(this,I)).some(S=>{const f=S;return r(this,I)[f]!==e[f]&&y.has(f)})};(t==null?void 0:t.listeners)!==!1&&a()&&(n.listeners=!0),p(this,C,$e).call(this,{...n,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&p(this,C,Jt).call(this)}},T=new WeakMap,v=new WeakMap,jt=new WeakMap,I=new WeakMap,lt=new WeakMap,Ft=new WeakMap,V=new WeakMap,xt=new WeakMap,Dt=new WeakMap,Et=new WeakMap,ft=new WeakMap,dt=new WeakMap,rt=new WeakMap,Mt=new WeakMap,C=new WeakSet,Ut=function(t){p(this,C,te).call(this);let e=r(this,v).fetch(this.options,t);return t!=null&&t.throwOnError||(e=e.catch(L)),e},Wt=function(){p(this,C,Xt).call(this);const t=vt(this.options.staleTime,r(this,v));if(yt||r(this,I).isStale||!$t(t))return;const i=qe(r(this,I).dataUpdatedAt,t)+1;h(this,ft,setTimeout(()=>{r(this,I).isStale||this.updateResult()},i))},zt=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(r(this,v)):this.options.refetchInterval)??!1},Yt=function(t){p(this,C,Zt).call(this),h(this,rt,t),!(yt||N(this.options.enabled,r(this,v))===!1||!$t(r(this,rt))||r(this,rt)===0)&&h(this,dt,setInterval(()=>{(this.options.refetchIntervalInBackground||ue.isFocused())&&p(this,C,Ut).call(this)},r(this,rt)))},Jt=function(){p(this,C,Wt).call(this),p(this,C,Yt).call(this,p(this,C,zt).call(this))},Xt=function(){r(this,ft)&&(clearTimeout(r(this,ft)),h(this,ft,void 0))},Zt=function(){r(this,dt)&&(clearInterval(r(this,dt)),h(this,dt,void 0))},te=function(){const t=r(this,T).getQueryCache().build(r(this,T),this.options);if(t===r(this,v))return;const e=r(this,v);h(this,v,t),h(this,jt,t.state),this.hasListeners()&&(e==null||e.removeObserver(this),t.addObserver(this))},$e=function(t){M.batch(()=>{t.listeners&&this.listeners.forEach(e=>{e(r(this,I))}),r(this,T).getQueryCache().notify({query:r(this,v),type:"observerResultsUpdated"})})},Re);function ys(s,t){return N(t.enabled,s)!==!1&&s.state.data===void 0&&!(s.state.status==="error"&&t.retryOnMount===!1)}function me(s,t){return ys(s,t)||s.state.data!==void 0&&ee(s,t,t.refetchOnMount)}function ee(s,t,e){if(N(t.enabled,s)!==!1){const i=typeof e=="function"?e(s):e;return i==="always"||i!==!1&&oe(s,t)}return!1}function ve(s,t,e,i){return(s!==t||N(i.enabled,s)===!1)&&(!e.suspense||s.state.status!=="error")&&oe(s,e)}function oe(s,t){return N(t.enabled,s)!==!1&&s.isStaleByTime(vt(t.staleTime,s))}function ps(s,t){return!Ht(s.getCurrentResult(),t)}var nt,at,j,Y,J,kt,se,Fe,ms=(Fe=class extends At{constructor(t,e){super();l(this,J);l(this,nt);l(this,at);l(this,j);l(this,Y);h(this,nt,t),this.setOptions(e),this.bindMethods(),p(this,J,kt).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){var i;const e=this.options;this.options=r(this,nt).defaultMutationOptions(t),Ht(this.options,e)||r(this,nt).getMutationCache().notify({type:"observerOptionsUpdated",mutation:r(this,j),observer:this}),e!=null&&e.mutationKey&&this.options.mutationKey&&pt(e.mutationKey)!==pt(this.options.mutationKey)?this.reset():((i=r(this,j))==null?void 0:i.state.status)==="pending"&&r(this,j).setOptions(this.options)}onUnsubscribe(){var t;this.hasListeners()||(t=r(this,j))==null||t.removeObserver(this)}onMutationUpdate(t){p(this,J,kt).call(this),p(this,J,se).call(this,t)}getCurrentResult(){return r(this,at)}reset(){var t;(t=r(this,j))==null||t.removeObserver(this),h(this,j,void 0),p(this,J,kt).call(this),p(this,J,se).call(this)}mutate(t,e){var i;return h(this,Y,e),(i=r(this,j))==null||i.removeObserver(this),h(this,j,r(this,nt).getMutationCache().build(r(this,nt),this.options)),r(this,j).addObserver(this),r(this,j).execute(t)}},nt=new WeakMap,at=new WeakMap,j=new WeakMap,Y=new WeakMap,J=new WeakSet,kt=function(){var e;const t=((e=r(this,j))==null?void 0:e.state)??Ge();h(this,at,{...t,isPending:t.status==="pending",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset})},se=function(t){M.batch(()=>{var e,i,n,a,o,u,y,S;if(r(this,Y)&&this.hasListeners()){const f=r(this,at).variables,c=r(this,at).context;(t==null?void 0:t.type)==="success"?((i=(e=r(this,Y)).onSuccess)==null||i.call(e,t.data,f,c),(a=(n=r(this,Y)).onSettled)==null||a.call(n,t.data,null,f,c)):(t==null?void 0:t.type)==="error"&&((u=(o=r(this,Y)).onError)==null||u.call(o,t.error,f,c),(S=(y=r(this,Y)).onSettled)==null||S.call(y,void 0,t.error,f,c))}this.listeners.forEach(f=>{f(r(this,at))})})},Fe),vs="VUE_QUERY_CLIENT";function Be(s){const t=s?`:${s}`:"";return`${vs}${t}`}function ie(s,t){Object.keys(s).forEach(e=>{s[e]=t[e]})}function re(s,t,e="",i=0){if(t){const n=t(s,e,i);if(n===void 0&&De(s)||n!==void 0)return n}if(Array.isArray(s))return s.map((n,a)=>re(n,t,String(a),i+1));if(typeof s=="object"&&gs(s)){const n=Object.entries(s).map(([a,o])=>[a,re(o,t,a,i+1)]);return Object.fromEntries(n)}return s}function bs(s,t){return re(s,t)}function m(s,t=!1){return bs(s,(e,i,n)=>{if(n===1&&i==="queryKey")return m(e,!0);if(t&&Os(e))return m(e(),t);if(De(e))return m(ze(e),t)})}function gs(s){if(Object.prototype.toString.call(s)!=="[object Object]")return!1;const t=Object.getPrototypeOf(s);return t===null||t===Object.prototype}function Os(s){return typeof s=="function"}function ne(s,t){return typeof s=="function"?s(...t):!!s}function Ve(s=""){if(!Ye())throw new Error("vue-query hooks can only be used inside setup() function or functions that support injection context.");const t=Be(s),e=Je(t);if(!e)throw new Error("No 'queryClient' found in Vue context, use 'VueQueryPlugin' to properly initialize the library.");return e}var Cs=class extends Ne{find(s){return super.find(m(s))}findAll(s={}){return super.findAll(m(s))}},ws=class extends _e{find(s){return super.find(m(s))}findAll(s={}){return super.findAll(m(s))}},Qs=class extends fs{constructor(s={}){const t={defaultOptions:s.defaultOptions,queryCache:s.queryCache||new Cs,mutationCache:s.mutationCache||new ws};super(t),this.isRestoring=Xe(!1)}isFetching(s={}){return super.isFetching(m(s))}isMutating(s={}){return super.isMutating(m(s))}getQueryData(s){return super.getQueryData(m(s))}ensureQueryData(s){return super.ensureQueryData(m(s))}getQueriesData(s){return super.getQueriesData(m(s))}setQueryData(s,t,e={}){return super.setQueryData(m(s),t,m(e))}setQueriesData(s,t,e={}){return super.setQueriesData(m(s),t,m(e))}getQueryState(s){return super.getQueryState(m(s))}removeQueries(s={}){return super.removeQueries(m(s))}resetQueries(s={},t={}){return super.resetQueries(m(s),m(t))}cancelQueries(s={},t={}){return super.cancelQueries(m(s),m(t))}invalidateQueries(s={},t={}){const e=m(s),i=m(t);if(super.invalidateQueries({...e,refetchType:"none"},i),e.refetchType==="none")return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return Ze().then(()=>super.refetchQueries(n,i))}refetchQueries(s={},t={}){return super.refetchQueries(m(s),m(t))}fetchQuery(s){return super.fetchQuery(m(s))}prefetchQuery(s){return super.prefetchQuery(m(s))}fetchInfiniteQuery(s){return super.fetchInfiniteQuery(m(s))}prefetchInfiniteQuery(s){return super.prefetchInfiniteQuery(m(s))}setDefaultOptions(s){super.setDefaultOptions(m(s))}setQueryDefaults(s,t){super.setQueryDefaults(m(s),m(t))}getQueryDefaults(s){return super.getQueryDefaults(m(s))}setMutationDefaults(s,t){super.setMutationDefaults(m(s),m(t))}getMutationDefaults(s){return super.getMutationDefaults(m(s))}},Ms={install:(s,t={})=>{const e=Be(t.queryClientKey);let i;if("queryClient"in t&&t.queryClient)i=t.queryClient;else{const o="queryClientConfig"in t?t.queryClientConfig:void 0;i=new Qs(o)}yt||i.mount();let n=()=>{};if(t.clientPersister){i.isRestoring.value=!0;const[o,u]=t.clientPersister(i);n=o,u.then(()=>{var y;i.isRestoring.value=!1,(y=t.clientPersisterOnSuccess)==null||y.call(t,i)})}const a=()=>{i.unmount(),n()};if(s.onUnmount)s.onUnmount(a);else{const o=s.unmount;s.unmount=function(){a(),o()}}s.provide(e,i)}};function Ss(s,t,e){const i=Ve(),n=Ee(()=>{const d=m(t);typeof d.enabled=="function"&&(d.enabled=d.enabled());const P=i.defaultQueryOptions(d);return P._optimisticResults=i.isRestoring.value?"isRestoring":"optimistic",P}),a=new s(i,n.value),o=Me(a.getCurrentResult());let u=()=>{};mt(i.isRestoring,d=>{d||(u(),u=a.subscribe(P=>{ie(o,P)}))},{immediate:!0});const y=()=>{a.setOptions(n.value),ie(o,a.getCurrentResult())};mt(n,y),Ae(()=>{u()});const S=(...d)=>(y(),o.refetch(...d)),f=()=>new Promise((d,P)=>{let R=()=>{};const F=()=>{if(n.value.enabled!==!1){a.setOptions(n.value);const O=a.getOptimisticResult(n.value);O.isStale?(R(),a.fetchOptimistic(n.value).then(d,w=>{ne(n.value.throwOnError,[w,a.getCurrentQuery()])?P(w):d(a.getCurrentResult())})):(R(),d(O))}};F(),R=mt(n,F)});mt(()=>o.error,d=>{if(o.isError&&!o.isFetching&&ne(n.value.throwOnError,[d,a.getCurrentQuery()]))throw d});const g=Ue(o);for(const d in o)typeof o[d]=="function"&&(g[d]=o[d]);return g.suspense=f,g.refetch=S,g}function As(s,t){return Ss(ds,s)}function Us(s,t){const e=Ve(),i=Ee(()=>e.defaultMutationOptions(m(s))),n=new ms(e,i.value),a=Me(n.getCurrentResult()),o=n.subscribe(f=>{ie(a,f)}),u=(f,c)=>{n.mutate(f,c).catch(()=>{})};mt(i,()=>{n.setOptions(i.value)}),Ae(()=>{o()});const S=Ue(a);return mt(()=>a.error,f=>{if(f&&ne(i.value.throwOnError,[f]))throw f}),{...S,mutate:u,mutateAsync:a.mutate,reset:a.reset}}export{Qs as Q,Ms as V,As as a,Us as b,Ve as u};
@@ -1,4 +1,4 @@
1
- import{Z as s,a as h,b as a}from"./zod.DnW1_kUe.0.0.32.js";import{i as j,c as y}from"./vee-validate.lGGOAcv6.0.0.32.js";/**
1
+ import{Z as s,a as h,b as a}from"./zod.DnW1_kUe.0.0.33.js";import{i as j,c as y}from"./vee-validate.BrBRPHgf.0.0.33.js";/**
2
2
  * vee-validate v4.13.2
3
3
  * (c) 2024 Abdelrahman Awad
4
4
  * @license MIT
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @vue/shared v3.5.10
3
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
+ * @license MIT
5
+ **//*! #__NO_SIDE_EFFECTS__ */function bs(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const J={},_t=[],Be=()=>{},_o=()=>!1,An=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),vs=e=>e.startsWith("onUpdate:"),ie=Object.assign,xs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},yo=Object.prototype.hasOwnProperty,Y=(e,t)=>yo.call(e,t),D=Array.isArray,yt=e=>At(e)==="[object Map]",In=e=>At(e)==="[object Set]",tr=e=>At(e)==="[object Date]",bo=e=>At(e)==="[object RegExp]",$=e=>typeof e=="function",se=e=>typeof e=="string",$e=e=>typeof e=="symbol",X=e=>e!==null&&typeof e=="object",Cs=e=>(X(e)||$(e))&&$(e.then)&&$(e.catch),Vr=Object.prototype.toString,At=e=>Vr.call(e),vo=e=>At(e).slice(8,-1),jr=e=>At(e)==="[object Object]",Ts=e=>se(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Bt=bs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Fn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},xo=/-(\w)/g,we=Fn(e=>e.replace(xo,(t,n)=>n?n.toUpperCase():"")),Co=/\B([A-Z])/g,We=Fn(e=>e.replace(Co,"-$1").toLowerCase()),Mn=Fn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Kn=Fn(e=>e?`on${Mn(e)}`:""),be=(e,t)=>!Object.is(e,t),bt=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Kr=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},To=e=>{const t=parseFloat(e);return isNaN(t)?e:t},kr=e=>{const t=se(e)?Number(e):NaN;return isNaN(t)?e:t};let nr;const Ur=()=>nr||(nr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ws(e){if(D(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=se(s)?Ao(s):ws(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(se(e)||X(e))return e}const wo=/;(?![^(]*\))/g,So=/:([^]+)/,Eo=/\/\*[^]*?\*\//g;function Ao(e){const t={};return e.replace(Eo,"").split(wo).forEach(n=>{if(n){const s=n.split(So);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Ss(e){let t="";if(se(e))t=e;else if(D(e))for(let n=0;n<e.length;n++){const s=Ss(e[n]);s&&(t+=s+" ")}else if(X(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Io="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Fo=bs(Io);function Wr(e){return!!e||e===""}function Mo(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=wt(e[s],t[s]);return n}function wt(e,t){if(e===t)return!0;let n=tr(e),s=tr(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=$e(e),s=$e(t),n||s)return e===t;if(n=D(e),s=D(t),n||s)return n&&s?Mo(e,t):!1;if(n=X(e),s=X(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,i=Object.keys(t).length;if(r!==i)return!1;for(const o in e){const l=e.hasOwnProperty(o),c=t.hasOwnProperty(o);if(l&&!c||!l&&c||!wt(e[o],t[o]))return!1}}return String(e)===String(t)}function Gr(e,t){return e.findIndex(n=>wt(n,t))}const qr=e=>!!(e&&e.__v_isRef===!0),Oo=e=>se(e)?e:e==null?"":D(e)||X(e)&&(e.toString===Vr||!$(e.toString))?qr(e)?Oo(e.value):JSON.stringify(e,Jr,2):String(e),Jr=(e,t)=>qr(t)?Jr(e,t.value):yt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[kn(s,i)+" =>"]=r,n),{})}:In(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>kn(n))}:$e(t)?kn(t):X(t)&&!D(t)&&!jr(t)?String(t):t,kn=(e,t="")=>{var n;return $e(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
6
+ * @vue/reactivity v3.5.10
7
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
8
+ * @license MIT
9
+ **/let me;class Yr{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=me,!t&&me&&(this.index=(me.scopes||(me.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=me;try{return me=this,t()}finally{me=n}}}on(){me=this}off(){me=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function cf(e){return new Yr(e)}function Po(){return me}function ff(e,t=!1){me&&me.cleanups.push(e)}let te;const Un=new WeakSet;class zr{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,me&&me.active&&me.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Un.has(this)&&(Un.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Zr(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,sr(this),Qr(this);const t=te,n=Pe;te=this,Pe=!0;try{return this.fn()}finally{ei(this),te=t,Pe=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Is(t);this.deps=this.depsTail=void 0,sr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Un.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ts(this)&&this.run()}get dirty(){return ts(this)}}let Xr=0,mt;function Zr(e){e.flags|=8,e.next=mt,mt=e}function Es(){Xr++}function As(){if(--Xr>0)return;let e;for(;mt;){let t=mt,n;for(;t;)t.flags&1||(t.flags&=-9),t=t.next;for(t=mt,mt=void 0;t;){if(n=t.next,t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Qr(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function ei(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Is(s),Ro(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function ts(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ti(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ti(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Kt))return;e.globalVersion=Kt;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!ts(e)){e.flags&=-3;return}const n=te,s=Pe;te=e,Pe=!0;try{Qr(e);const r=e.fn(e._value);(t.version===0||be(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{te=n,Pe=s,ei(e),e.flags&=-3}}function Is(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s),!n.subs&&n.computed){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Is(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Ro(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Pe=!0;const ni=[];function et(){ni.push(Pe),Pe=!1}function tt(){const e=ni.pop();Pe=e===void 0?!0:e}function sr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=te;te=void 0;try{t()}finally{te=n}}}let Kt=0;class Do{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class On{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.target=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!te||!Pe||te===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==te)n=this.activeLink=new Do(te,this),te.deps?(n.prevDep=te.depsTail,te.depsTail.nextDep=n,te.depsTail=n):te.deps=te.depsTail=n,si(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=te.depsTail,n.nextDep=void 0,te.depsTail.nextDep=n,te.depsTail=n,te.deps===n&&(te.deps=s)}return n}trigger(t){this.version++,Kt++,this.notify(t)}notify(t){Es();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{As()}}}function si(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)si(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const pn=new WeakMap,ct=Symbol(""),ns=Symbol(""),kt=Symbol("");function pe(e,t,n){if(Pe&&te){let s=pn.get(e);s||pn.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new On),r.target=e,r.map=s,r.key=n),r.track()}}function ke(e,t,n,s,r,i){const o=pn.get(e);if(!o){Kt++;return}const l=c=>{c&&c.trigger()};if(Es(),t==="clear")o.forEach(l);else{const c=D(e),h=c&&Ts(n);if(c&&n==="length"){const u=Number(s);o.forEach((a,p)=>{(p==="length"||p===kt||!$e(p)&&p>=u)&&l(a)})}else switch(n!==void 0&&l(o.get(n)),h&&l(o.get(kt)),t){case"add":c?h&&l(o.get("length")):(l(o.get(ct)),yt(e)&&l(o.get(ns)));break;case"delete":c||(l(o.get(ct)),yt(e)&&l(o.get(ns)));break;case"set":yt(e)&&l(o.get(ct));break}}As()}function No(e,t){const n=pn.get(e);return n&&n.get(t)}function pt(e){const t=G(e);return t===e?t:(pe(t,"iterate",kt),Ie(e)?t:t.map(he))}function Pn(e){return pe(e=G(e),"iterate",kt),e}const Lo={__proto__:null,[Symbol.iterator](){return Wn(this,Symbol.iterator,he)},concat(...e){return pt(this).concat(...e.map(t=>D(t)?pt(t):t))},entries(){return Wn(this,"entries",e=>(e[1]=he(e[1]),e))},every(e,t){return He(this,"every",e,t,void 0,arguments)},filter(e,t){return He(this,"filter",e,t,n=>n.map(he),arguments)},find(e,t){return He(this,"find",e,t,he,arguments)},findIndex(e,t){return He(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return He(this,"findLast",e,t,he,arguments)},findLastIndex(e,t){return He(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return He(this,"forEach",e,t,void 0,arguments)},includes(...e){return Gn(this,"includes",e)},indexOf(...e){return Gn(this,"indexOf",e)},join(e){return pt(this).join(e)},lastIndexOf(...e){return Gn(this,"lastIndexOf",e)},map(e,t){return He(this,"map",e,t,void 0,arguments)},pop(){return Pt(this,"pop")},push(...e){return Pt(this,"push",e)},reduce(e,...t){return rr(this,"reduce",e,t)},reduceRight(e,...t){return rr(this,"reduceRight",e,t)},shift(){return Pt(this,"shift")},some(e,t){return He(this,"some",e,t,void 0,arguments)},splice(...e){return Pt(this,"splice",e)},toReversed(){return pt(this).toReversed()},toSorted(e){return pt(this).toSorted(e)},toSpliced(...e){return pt(this).toSpliced(...e)},unshift(...e){return Pt(this,"unshift",e)},values(){return Wn(this,"values",he)}};function Wn(e,t,n){const s=Pn(e),r=s[t]();return s!==e&&!Ie(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.value&&(i.value=n(i.value)),i}),r}const Bo=Array.prototype;function He(e,t,n,s,r,i){const o=Pn(e),l=o!==e&&!Ie(e),c=o[t];if(c!==Bo[t]){const a=c.apply(e,i);return l?he(a):a}let h=n;o!==e&&(l?h=function(a,p){return n.call(this,he(a),p,e)}:n.length>2&&(h=function(a,p){return n.call(this,a,p,e)}));const u=c.call(o,h,s);return l&&r?r(u):u}function rr(e,t,n,s){const r=Pn(e);let i=n;return r!==e&&(Ie(e)?n.length>3&&(i=function(o,l,c){return n.call(this,o,l,c,e)}):i=function(o,l,c){return n.call(this,o,he(l),c,e)}),r[t](i,...s)}function Gn(e,t,n){const s=G(e);pe(s,"iterate",kt);const r=s[t](...n);return(r===-1||r===!1)&&Rs(n[0])?(n[0]=G(n[0]),s[t](...n)):r}function Pt(e,t,n=[]){et(),Es();const s=G(e)[t].apply(e,n);return As(),tt(),s}const $o=bs("__proto__,__v_isRef,__isVue"),ri=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter($e));function Ho(e){$e(e)||(e=String(e));const t=G(this);return pe(t,"has",e),t.hasOwnProperty(e)}class ii{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?Zo:fi:i?ci:li).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=D(t);if(!r){let c;if(o&&(c=Lo[n]))return c;if(n==="hasOwnProperty")return Ho}const l=Reflect.get(t,n,ue(t)?t:s);return($e(n)?ri.has(n):$o(n))||(r||pe(t,"get",n),i)?l:ue(l)?o&&Ts(n)?l:l.value:X(l)?r?ui(l):Os(l):l}}class oi extends ii{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];if(!this._isShallow){const c=at(i);if(!Ie(s)&&!at(s)&&(i=G(i),s=G(s)),!D(t)&&ue(i)&&!ue(s))return c?!1:(i.value=s,!0)}const o=D(t)&&Ts(n)?Number(n)<t.length:Y(t,n),l=Reflect.set(t,n,s,ue(t)?t:r);return t===G(r)&&(o?be(s,i)&&ke(t,"set",n,s):ke(t,"add",n,s)),l}deleteProperty(t,n){const s=Y(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&ke(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!$e(n)||!ri.has(n))&&pe(t,"has",n),s}ownKeys(t){return pe(t,"iterate",D(t)?"length":ct),Reflect.ownKeys(t)}}class Vo extends ii{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const jo=new oi,Ko=new Vo,ko=new oi(!0);const Fs=e=>e,Rn=e=>Reflect.getPrototypeOf(e);function Qt(e,t,n=!1,s=!1){e=e.__v_raw;const r=G(e),i=G(t);n||(be(t,i)&&pe(r,"get",t),pe(r,"get",i));const{has:o}=Rn(r),l=s?Fs:n?Ds:he;if(o.call(r,t))return l(e.get(t));if(o.call(r,i))return l(e.get(i));e!==r&&e.get(t)}function en(e,t=!1){const n=this.__v_raw,s=G(n),r=G(e);return t||(be(e,r)&&pe(s,"has",e),pe(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function tn(e,t=!1){return e=e.__v_raw,!t&&pe(G(e),"iterate",ct),Reflect.get(e,"size",e)}function ir(e,t=!1){!t&&!Ie(e)&&!at(e)&&(e=G(e));const n=G(this);return Rn(n).has.call(n,e)||(n.add(e),ke(n,"add",e,e)),this}function or(e,t,n=!1){!n&&!Ie(t)&&!at(t)&&(t=G(t));const s=G(this),{has:r,get:i}=Rn(s);let o=r.call(s,e);o||(e=G(e),o=r.call(s,e));const l=i.call(s,e);return s.set(e,t),o?be(t,l)&&ke(s,"set",e,t):ke(s,"add",e,t),this}function lr(e){const t=G(this),{has:n,get:s}=Rn(t);let r=n.call(t,e);r||(e=G(e),r=n.call(t,e)),s&&s.call(t,e);const i=t.delete(e);return r&&ke(t,"delete",e,void 0),i}function cr(){const e=G(this),t=e.size!==0,n=e.clear();return t&&ke(e,"clear",void 0,void 0),n}function nn(e,t){return function(s,r){const i=this,o=i.__v_raw,l=G(o),c=t?Fs:e?Ds:he;return!e&&pe(l,"iterate",ct),o.forEach((h,u)=>s.call(r,c(h),c(u),i))}}function sn(e,t,n){return function(...s){const r=this.__v_raw,i=G(r),o=yt(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,h=r[e](...s),u=n?Fs:t?Ds:he;return!t&&pe(i,"iterate",c?ns:ct),{next(){const{value:a,done:p}=h.next();return p?{value:a,done:p}:{value:l?[u(a[0]),u(a[1])]:u(a),done:p}},[Symbol.iterator](){return this}}}}function qe(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Uo(){const e={get(i){return Qt(this,i)},get size(){return tn(this)},has:en,add:ir,set:or,delete:lr,clear:cr,forEach:nn(!1,!1)},t={get(i){return Qt(this,i,!1,!0)},get size(){return tn(this)},has:en,add(i){return ir.call(this,i,!0)},set(i,o){return or.call(this,i,o,!0)},delete:lr,clear:cr,forEach:nn(!1,!0)},n={get(i){return Qt(this,i,!0)},get size(){return tn(this,!0)},has(i){return en.call(this,i,!0)},add:qe("add"),set:qe("set"),delete:qe("delete"),clear:qe("clear"),forEach:nn(!0,!1)},s={get(i){return Qt(this,i,!0,!0)},get size(){return tn(this,!0)},has(i){return en.call(this,i,!0)},add:qe("add"),set:qe("set"),delete:qe("delete"),clear:qe("clear"),forEach:nn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=sn(i,!1,!1),n[i]=sn(i,!0,!1),t[i]=sn(i,!1,!0),s[i]=sn(i,!0,!0)}),[e,n,t,s]}const[Wo,Go,qo,Jo]=Uo();function Ms(e,t){const n=t?e?Jo:qo:e?Go:Wo;return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(Y(n,r)&&r in s?n:s,r,i)}const Yo={get:Ms(!1,!1)},zo={get:Ms(!1,!0)},Xo={get:Ms(!0,!1)};const li=new WeakMap,ci=new WeakMap,fi=new WeakMap,Zo=new WeakMap;function Qo(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function el(e){return e.__v_skip||!Object.isExtensible(e)?0:Qo(vo(e))}function Os(e){return at(e)?e:Ps(e,!1,jo,Yo,li)}function tl(e){return Ps(e,!1,ko,zo,ci)}function ui(e){return Ps(e,!0,Ko,Xo,fi)}function Ps(e,t,n,s,r){if(!X(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=el(e);if(o===0)return e;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function vt(e){return at(e)?vt(e.__v_raw):!!(e&&e.__v_isReactive)}function at(e){return!!(e&&e.__v_isReadonly)}function Ie(e){return!!(e&&e.__v_isShallow)}function Rs(e){return e?!!e.__v_raw:!1}function G(e){const t=e&&e.__v_raw;return t?G(t):e}function nl(e){return!Y(e,"__v_skip")&&Object.isExtensible(e)&&Kr(e,"__v_skip",!0),e}const he=e=>X(e)?Os(e):e,Ds=e=>X(e)?ui(e):e;function ue(e){return e?e.__v_isRef===!0:!1}function sl(e){return ai(e,!1)}function uf(e){return ai(e,!0)}function ai(e,t){return ue(e)?e:new rl(e,t)}class rl{constructor(t,n){this.dep=new On,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:G(t),this._value=n?t:he(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Ie(t)||at(t);t=s?t:G(t),be(t,n)&&(this._rawValue=t,this._value=s?t:he(t),this.dep.trigger())}}function di(e){return ue(e)?e.value:e}function af(e){return $(e)?e():di(e)}const il={get:(e,t,n)=>t==="__v_raw"?e:di(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return ue(r)&&!ue(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function hi(e){return vt(e)?e:new Proxy(e,il)}class ol{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new On,{get:s,set:r}=t(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=r}get value(){return this._value=this._get()}set value(t){this._set(t)}}function ll(e){return new ol(e)}function df(e){const t=D(e)?new Array(e.length):{};for(const n in e)t[n]=pi(e,n);return t}class cl{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return No(G(this._object),this._key)}}class fl{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function hf(e,t,n){return ue(e)?e:$(e)?new fl(e):X(e)&&arguments.length>1?pi(e,t,n):sl(e)}function pi(e,t,n){const s=e[t];return ue(s)?s:new cl(e,t,n)}class ul{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new On(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Kt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&te!==this)return Zr(this),!0}get value(){const t=this.dep.track();return ti(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function al(e,t,n=!1){let s,r;return $(e)?s=e:(s=e.get,r=e.set),new ul(s,r,n)}const rn={},gn=new WeakMap;let lt;function dl(e,t=!1,n=lt){if(n){let s=gn.get(n);s||gn.set(n,s=[]),s.push(e)}}function hl(e,t,n=J){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:l,call:c}=n,h=b=>r?b:Ie(b)||r===!1||r===0?Ke(b,1):Ke(b);let u,a,p,_,C=!1,P=!1;if(ue(e)?(a=()=>e.value,C=Ie(e)):vt(e)?(a=()=>h(e),C=!0):D(e)?(P=!0,C=e.some(b=>vt(b)||Ie(b)),a=()=>e.map(b=>{if(ue(b))return b.value;if(vt(b))return h(b);if($(b))return c?c(b,2):b()})):$(e)?t?a=c?()=>c(e,2):e:a=()=>{if(p){et();try{p()}finally{tt()}}const b=lt;lt=u;try{return c?c(e,3,[_]):e(_)}finally{lt=b}}:a=Be,t&&r){const b=a,w=r===!0?1/0:r;a=()=>Ke(b(),w)}const W=Po(),H=()=>{u.stop(),W&&xs(W.effects,u)};if(i&&t){const b=t;t=(...w)=>{b(...w),H()}}let E=P?new Array(e.length).fill(rn):rn;const F=b=>{if(!(!(u.flags&1)||!u.dirty&&!b))if(t){const w=u.run();if(r||C||(P?w.some((R,j)=>be(R,E[j])):be(w,E))){p&&p();const R=lt;lt=u;try{const j=[w,E===rn?void 0:P&&E[0]===rn?[]:E,_];c?c(t,3,j):t(...j),E=w}finally{lt=R}}}else u.run()};return l&&l(F),u=new zr(a),u.scheduler=o?()=>o(F,!1):F,_=b=>dl(b,!1,u),p=u.onStop=()=>{const b=gn.get(u);if(b){if(c)c(b,4);else for(const w of b)w();gn.delete(u)}},t?s?F(!0):E=u.run():o?o(F.bind(null,!0),!0):u.run(),H.pause=u.pause.bind(u),H.resume=u.resume.bind(u),H.stop=H,H}function Ke(e,t=1/0,n){if(t<=0||!X(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,ue(e))Ke(e.value,t,n);else if(D(e))for(let s=0;s<e.length;s++)Ke(e[s],t,n);else if(In(e)||yt(e))e.forEach(s=>{Ke(s,t,n)});else if(jr(e)){for(const s in e)Ke(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Ke(e[s],t,n)}return e}/**
10
+ * @vue/runtime-core v3.5.10
11
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
12
+ * @license MIT
13
+ **/function Jt(e,t,n,s){try{return s?e(...s):e()}catch(r){Yt(r,t,n)}}function Re(e,t,n,s){if($(e)){const r=Jt(e,t,n,s);return r&&Cs(r)&&r.catch(i=>{Yt(i,t,n)}),r}if(D(e)){const r=[];for(let i=0;i<e.length;i++)r.push(Re(e[i],t,n,s));return r}}function Yt(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||J;if(t){let l=t.parent;const c=t.proxy,h=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const u=l.ec;if(u){for(let a=0;a<u.length;a++)if(u[a](e,c,h)===!1)return}l=l.parent}if(i){et(),Jt(i,null,10,[e,c,h]),tt();return}}pl(e,n,r,s,o)}function pl(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}let Ut=!1,ss=!1;const _e=[];let Le=0;const xt=[];let ze=null,gt=0;const gi=Promise.resolve();let Ns=null;function gl(e){const t=Ns||gi;return e?t.then(this?e.bind(this):e):t}function ml(e){let t=Ut?Le+1:0,n=_e.length;for(;t<n;){const s=t+n>>>1,r=_e[s],i=Wt(r);i<e||i===e&&r.flags&2?t=s+1:n=s}return t}function Ls(e){if(!(e.flags&1)){const t=Wt(e),n=_e[_e.length-1];!n||!(e.flags&2)&&t>=Wt(n)?_e.push(e):_e.splice(ml(t),0,e),e.flags|=1,mi()}}function mi(){!Ut&&!ss&&(ss=!0,Ns=gi.then(yi))}function rs(e){D(e)?xt.push(...e):ze&&e.id===-1?ze.splice(gt+1,0,e):e.flags&1||(xt.push(e),e.flags|=1),mi()}function fr(e,t,n=Ut?Le+1:0){for(;n<_e.length;n++){const s=_e[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;_e.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function _i(e){if(xt.length){const t=[...new Set(xt)].sort((n,s)=>Wt(n)-Wt(s));if(xt.length=0,ze){ze.push(...t);return}for(ze=t,gt=0;gt<ze.length;gt++){const n=ze[gt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}ze=null,gt=0}}const Wt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function yi(e){ss=!1,Ut=!0;try{for(Le=0;Le<_e.length;Le++){const t=_e[Le];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Jt(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Le<_e.length;Le++){const t=_e[Le];t&&(t.flags&=-2)}Le=0,_e.length=0,_i(),Ut=!1,Ns=null,(_e.length||xt.length)&&yi()}}let oe=null,bi=null;function mn(e){const t=oe;return oe=e,bi=e&&e.type.__scopeId||null,t}function _l(e,t=oe,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&vr(-1);const i=mn(t);let o;try{o=e(...r)}finally{mn(i),s._d&&vr(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function pf(e,t){if(oe===null)return e;const n=Vn(oe),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,o,l,c=J]=t[r];i&&($(i)&&(i={mounted:i,updated:i}),i.deep&&Ke(o),s.push({dir:i,instance:n,value:o,oldValue:void 0,arg:l,modifiers:c}))}return e}function rt(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const l=r[o];i&&(l.oldValue=i[o].value);let c=l.dir[s];c&&(et(),Re(c,n,8,[e.el,l,e,t]),tt())}}const vi=Symbol("_vte"),xi=e=>e.__isTeleport,$t=e=>e&&(e.disabled||e.disabled===""),yl=e=>e&&(e.defer||e.defer===""),ur=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ar=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,is=(e,t)=>{const n=e&&e.to;return se(n)?t?t(n):null:n},bl={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,i,o,l,c,h){const{mc:u,pc:a,pbc:p,o:{insert:_,querySelector:C,createText:P,createComment:W}}=h,H=$t(t.props);let{shapeFlag:E,children:F,dynamicChildren:b}=t;if(e==null){const w=t.el=P(""),R=t.anchor=P("");_(w,n,s),_(R,n,s);const j=(M,L)=>{E&16&&(r&&r.isCE&&(r.ce._teleportTarget=M),u(F,M,L,r,i,o,l,c))},K=()=>{const M=t.target=is(t.props,C),L=Ci(M,t,P,_);M&&(o!=="svg"&&ur(M)?o="svg":o!=="mathml"&&ar(M)&&(o="mathml"),H||(j(M,L),fn(t)))};H&&(j(n,R),fn(t)),yl(t.props)?le(K,i):K()}else{t.el=e.el,t.targetStart=e.targetStart;const w=t.anchor=e.anchor,R=t.target=e.target,j=t.targetAnchor=e.targetAnchor,K=$t(e.props),M=K?n:R,L=K?w:j;if(o==="svg"||ur(R)?o="svg":(o==="mathml"||ar(R))&&(o="mathml"),b?(p(e.dynamicChildren,b,M,r,i,o,l),Ws(e,t,!0)):c||a(e,t,M,L,r,i,o,l,!1),H)K?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):on(t,n,w,h,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const k=t.target=is(t.props,C);k&&on(t,k,null,h,0)}else K&&on(t,R,j,h,1);fn(t)}},remove(e,t,n,{um:s,o:{remove:r}},i){const{shapeFlag:o,children:l,anchor:c,targetStart:h,targetAnchor:u,target:a,props:p}=e;if(a&&(r(h),r(u)),i&&r(c),o&16){const _=i||!$t(p);for(let C=0;C<l.length;C++){const P=l[C];s(P,t,n,_,!!P.dynamicChildren)}}},move:on,hydrate:vl};function on(e,t,n,{o:{insert:s},m:r},i=2){i===0&&s(e.targetAnchor,t,n);const{el:o,anchor:l,shapeFlag:c,children:h,props:u}=e,a=i===2;if(a&&s(o,t,n),(!a||$t(u))&&c&16)for(let p=0;p<h.length;p++)r(h[p],t,n,2);a&&s(l,t,n)}function vl(e,t,n,s,r,i,{o:{nextSibling:o,parentNode:l,querySelector:c,insert:h,createText:u}},a){const p=t.target=is(t.props,c);if(p){const _=p._lpa||p.firstChild;if(t.shapeFlag&16)if($t(t.props))t.anchor=a(o(e),t,l(e),n,s,r,i),t.targetStart=_,t.targetAnchor=_&&o(_);else{t.anchor=o(e);let C=_;for(;C;){if(C&&C.nodeType===8){if(C.data==="teleport start anchor")t.targetStart=C;else if(C.data==="teleport anchor"){t.targetAnchor=C,p._lpa=t.targetAnchor&&o(t.targetAnchor);break}}C=o(C)}t.targetAnchor||Ci(p,t,u,h),a(_&&o(_),t,p,n,s,r,i)}fn(t)}return t.anchor&&o(t.anchor)}const gf=bl;function fn(e){const t=e.ctx;if(t&&t.ut){let n=e.targetStart;for(;n&&n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}function Ci(e,t,n,s){const r=t.targetStart=n(""),i=t.targetAnchor=n("");return r[vi]=i,e&&(s(r,e),s(i,e)),i}const Xe=Symbol("_leaveCb"),ln=Symbol("_enterCb");function Ti(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ln(()=>{e.isMounted=!0}),Hs(()=>{e.isUnmounting=!0}),e}const Ee=[Function,Array],wi={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ee,onEnter:Ee,onAfterEnter:Ee,onEnterCancelled:Ee,onBeforeLeave:Ee,onLeave:Ee,onAfterLeave:Ee,onLeaveCancelled:Ee,onBeforeAppear:Ee,onAppear:Ee,onAfterAppear:Ee,onAppearCancelled:Ee},Si=e=>{const t=e.subTree;return t.component?Si(t.component):t},xl={name:"BaseTransition",props:wi,setup(e,{slots:t}){const n=It(),s=Ti();return()=>{const r=t.default&&Bs(t.default(),!0);if(!r||!r.length)return;const i=Ei(r),o=G(e),{mode:l}=o;if(s.isLeaving)return qn(i);const c=dr(i);if(!c)return qn(i);let h=Gt(c,o,s,n,p=>h=p);c.type!==ce&&Qe(c,h);const u=n.subTree,a=u&&dr(u);if(a&&a.type!==ce&&!Oe(c,a)&&Si(n).type!==ce){const p=Gt(a,o,s,n);if(Qe(a,p),l==="out-in"&&c.type!==ce)return s.isLeaving=!0,p.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete p.afterLeave},qn(i);l==="in-out"&&c.type!==ce&&(p.delayLeave=(_,C,P)=>{const W=Ai(s,a);W[String(a.key)]=a,_[Xe]=()=>{C(),_[Xe]=void 0,delete h.delayedLeave},h.delayedLeave=P})}return i}}};function Ei(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==ce){t=n;break}}return t}const Cl=xl;function Ai(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Gt(e,t,n,s,r){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:h,onAfterEnter:u,onEnterCancelled:a,onBeforeLeave:p,onLeave:_,onAfterLeave:C,onLeaveCancelled:P,onBeforeAppear:W,onAppear:H,onAfterAppear:E,onAppearCancelled:F}=t,b=String(e.key),w=Ai(n,e),R=(M,L)=>{M&&Re(M,s,9,L)},j=(M,L)=>{const k=L[1];R(M,L),D(M)?M.every(O=>O.length<=1)&&k():M.length<=1&&k()},K={mode:o,persisted:l,beforeEnter(M){let L=c;if(!n.isMounted)if(i)L=W||c;else return;M[Xe]&&M[Xe](!0);const k=w[b];k&&Oe(e,k)&&k.el[Xe]&&k.el[Xe](),R(L,[M])},enter(M){let L=h,k=u,O=a;if(!n.isMounted)if(i)L=H||h,k=E||u,O=F||a;else return;let q=!1;const re=M[ln]=Se=>{q||(q=!0,Se?R(O,[M]):R(k,[M]),K.delayedLeave&&K.delayedLeave(),M[ln]=void 0)};L?j(L,[M,re]):re()},leave(M,L){const k=String(e.key);if(M[ln]&&M[ln](!0),n.isUnmounting)return L();R(p,[M]);let O=!1;const q=M[Xe]=re=>{O||(O=!0,L(),re?R(P,[M]):R(C,[M]),M[Xe]=void 0,w[k]===e&&delete w[k])};w[k]=e,_?j(_,[M,q]):q()},clone(M){const L=Gt(M,t,n,s,r);return r&&r(L),L}};return K}function qn(e){if(Dn(e))return e=Ue(e),e.children=null,e}function dr(e){if(!Dn(e))return xi(e.type)&&e.children?Ei(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&$(n.default))return n.default()}}function Qe(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Qe(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Bs(e,t=!1,n){let s=[],r=0;for(let i=0;i<e.length;i++){let o=e[i];const l=n==null?o.key:String(n)+String(o.key!=null?o.key:i);o.type===ye?(o.patchFlag&128&&r++,s=s.concat(Bs(o.children,t,l))):(t||o.type!==ce)&&s.push(l!=null?Ue(o,{key:l}):o)}if(r>1)for(let i=0;i<s.length;i++)s[i].patchFlag=-2;return s}/*! #__NO_SIDE_EFFECTS__ */function mf(e,t){return $(e)?ie({name:e.name},t,{setup:e}):e}function Ii(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function os(e,t,n,s,r=!1){if(D(e)){e.forEach((C,P)=>os(C,t&&(D(t)?t[P]:t),n,s,r));return}if(ft(s)&&!r)return;const i=s.shapeFlag&4?Vn(s.component):s.el,o=r?null:i,{i:l,r:c}=e,h=t&&t.r,u=l.refs===J?l.refs={}:l.refs,a=l.setupState,p=G(a),_=a===J?()=>!1:C=>Y(p,C);if(h!=null&&h!==c&&(se(h)?(u[h]=null,_(h)&&(a[h]=null)):ue(h)&&(h.value=null)),$(c))Jt(c,l,12,[o,u]);else{const C=se(c),P=ue(c);if(C||P){const W=()=>{if(e.f){const H=C?_(c)?a[c]:u[c]:c.value;r?D(H)&&xs(H,i):D(H)?H.includes(i)||H.push(i):C?(u[c]=[i],_(c)&&(a[c]=u[c])):(c.value=[i],e.k&&(u[e.k]=c.value))}else C?(u[c]=o,_(c)&&(a[c]=o)):P&&(c.value=o,e.k&&(u[e.k]=o))};o?(W.id=-1,le(W,n)):W()}}}const ft=e=>!!e.type.__asyncLoader,Dn=e=>e.type.__isKeepAlive,Tl={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=It(),s=n.ctx;if(!s.renderer)return()=>{const E=t.default&&t.default();return E&&E.length===1?E[0]:E};const r=new Map,i=new Set;let o=null;const l=n.suspense,{renderer:{p:c,m:h,um:u,o:{createElement:a}}}=s,p=a("div");s.activate=(E,F,b,w,R)=>{const j=E.component;h(E,F,b,0,l),c(j.vnode,E,F,b,j,l,w,E.slotScopeIds,R),le(()=>{j.isDeactivated=!1,j.a&&bt(j.a);const K=E.props&&E.props.onVnodeMounted;K&&Ae(K,j.parent,E)},l)},s.deactivate=E=>{const F=E.component;bn(F.m),bn(F.a),h(E,p,null,1,l),le(()=>{F.da&&bt(F.da);const b=E.props&&E.props.onVnodeUnmounted;b&&Ae(b,F.parent,E),F.isDeactivated=!0},l)};function _(E){Jn(E),u(E,n,l,!0)}function C(E){r.forEach((F,b)=>{const w=ms(F.type);w&&!E(w)&&P(b)})}function P(E){const F=r.get(E);F&&(!o||!Oe(F,o))?_(F):o&&Jn(o),r.delete(E),i.delete(E)}an(()=>[e.include,e.exclude],([E,F])=>{E&&C(b=>Nt(E,b)),F&&C(b=>!Nt(F,b))},{flush:"post",deep:!0});let W=null;const H=()=>{W!=null&&(vn(n.subTree.type)?le(()=>{r.set(W,cn(n.subTree))},n.subTree.suspense):r.set(W,cn(n.subTree)))};return Ln(H),$s(H),Hs(()=>{r.forEach(E=>{const{subTree:F,suspense:b}=n,w=cn(F);if(E.type===w.type&&E.key===w.key){Jn(w);const R=w.component.da;R&&le(R,b);return}_(E)})}),()=>{if(W=null,!t.default)return o=null;const E=t.default(),F=E[0];if(E.length>1)return o=null,E;if(!dt(F)||!(F.shapeFlag&4)&&!(F.shapeFlag&128))return o=null,F;let b=cn(F);if(b.type===ce)return o=null,b;const w=b.type,R=ms(ft(b)?b.type.__asyncResolved||{}:w),{include:j,exclude:K,max:M}=e;if(j&&(!R||!Nt(j,R))||K&&R&&Nt(K,R))return b.shapeFlag&=-257,o=b,F;const L=b.key==null?w:b.key,k=r.get(L);return b.el&&(b=Ue(b),F.shapeFlag&128&&(F.ssContent=b)),W=L,k?(b.el=k.el,b.component=k.component,b.transition&&Qe(b,b.transition),b.shapeFlag|=512,i.delete(L),i.add(L)):(i.add(L),M&&i.size>parseInt(M,10)&&P(i.values().next().value)),b.shapeFlag|=256,o=b,vn(F.type)?F:b}}},_f=Tl;function Nt(e,t){return D(e)?e.some(n=>Nt(n,t)):se(e)?e.split(",").includes(t):bo(e)?(e.lastIndex=0,e.test(t)):!1}function wl(e,t){Fi(e,"a",t)}function Sl(e,t){Fi(e,"da",t)}function Fi(e,t,n=fe){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Nn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Dn(r.parent.vnode)&&El(s,t,n,r),r=r.parent}}function El(e,t,n,s){const r=Nn(t,e,s,!0);Vs(()=>{xs(s[t],r)},n)}function Jn(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function cn(e){return e.shapeFlag&128?e.ssContent:e}function Nn(e,t,n=fe,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{et();const l=ht(n),c=Re(t,n,e,o);return l(),tt(),c});return s?r.unshift(i):r.push(i),i}}const Ge=e=>(t,n=fe)=>{(!Hn||e==="sp")&&Nn(e,(...s)=>t(...s),n)},Mi=Ge("bm"),Ln=Ge("m"),Al=Ge("bu"),$s=Ge("u"),Hs=Ge("bum"),Vs=Ge("um"),Il=Ge("sp"),Fl=Ge("rtg"),Ml=Ge("rtc");function Ol(e,t=fe){Nn("ec",e,t)}const js="components",Pl="directives";function yf(e,t){return Ks(js,e,!0,t)||e}const Oi=Symbol.for("v-ndc");function bf(e){return se(e)?Ks(js,e,!1)||e:e||Oi}function vf(e){return Ks(Pl,e)}function Ks(e,t,n=!0,s=!1){const r=oe||fe;if(r){const i=r.type;if(e===js){const l=ms(i,!1);if(l&&(l===t||l===we(t)||l===Mn(we(t))))return i}const o=hr(r[e]||i[e],t)||hr(r.appContext[e],t);return!o&&s?i:o}}function hr(e,t){return e&&(e[t]||e[we(t)]||e[Mn(we(t))])}function xf(e,t,n,s){let r;const i=n,o=D(e);if(o||se(e)){const l=o&&vt(e);let c=!1;l&&(c=!Ie(e),e=Pn(e)),r=new Array(e.length);for(let h=0,u=e.length;h<u;h++)r[h]=t(c?he(e[h]):e[h],h,void 0,i)}else if(typeof e=="number"){r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,i)}else if(X(e))if(e[Symbol.iterator])r=Array.from(e,(l,c)=>t(l,c,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,h=l.length;c<h;c++){const u=l[c];r[c]=t(e[u],u,c,i)}}else r=[];return r}function Cf(e,t){for(let n=0;n<t.length;n++){const s=t[n];if(D(s))for(let r=0;r<s.length;r++)e[s[r].name]=s[r].fn;else s&&(e[s.name]=s.key?(...r)=>{const i=s.fn(...r);return i&&(i.key=s.key),i}:s.fn)}return e}function Tf(e,t,n={},s,r){if(oe.ce||oe.parent&&ft(oe.parent)&&oe.parent.ce)return t!=="default"&&(n.name=t),xn(),ds(ye,null,[ae("slot",n,s&&s())],64);let i=e[t];i&&i._c&&(i._d=!1),xn();const o=i&&Pi(i(n)),l=ds(ye,{key:(n.key||o&&o.key||`_${t}`)+(!o&&s?"_fb":"")},o||(s?s():[]),o&&e._===1?64:-2);return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function Pi(e){return e.some(t=>dt(t)?!(t.type===ce||t.type===ye&&!Pi(t.children)):!0)?e:null}const ls=e=>e?Qi(e)?Vn(e):ls(e.parent):null,Ht=ie(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ls(e.parent),$root:e=>ls(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ks(e),$forceUpdate:e=>e.f||(e.f=()=>{Ls(e.update)}),$nextTick:e=>e.n||(e.n=gl.bind(e.proxy)),$watch:e=>nc.bind(e)}),Yn=(e,t)=>e!==J&&!e.__isScriptSetup&&Y(e,t),Rl={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;let h;if(t[0]!=="$"){const _=o[t];if(_!==void 0)switch(_){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(Yn(s,t))return o[t]=1,s[t];if(r!==J&&Y(r,t))return o[t]=2,r[t];if((h=e.propsOptions[0])&&Y(h,t))return o[t]=3,i[t];if(n!==J&&Y(n,t))return o[t]=4,n[t];cs&&(o[t]=0)}}const u=Ht[t];let a,p;if(u)return t==="$attrs"&&pe(e.attrs,"get",""),u(e);if((a=l.__cssModules)&&(a=a[t]))return a;if(n!==J&&Y(n,t))return o[t]=4,n[t];if(p=c.config.globalProperties,Y(p,t))return p[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return Yn(r,t)?(r[t]=n,!0):s!==J&&Y(s,t)?(s[t]=n,!0):Y(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let l;return!!n[o]||e!==J&&Y(e,o)||Yn(t,o)||(l=i[0])&&Y(l,o)||Y(s,o)||Y(Ht,o)||Y(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Y(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function _n(e){return D(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function wf(e,t){return!e||!t?e||t:D(e)&&D(t)?e.concat(t):ie({},_n(e),_n(t))}function Sf(e){const t=It();let n=e();return ps(),Cs(n)&&(n=n.catch(s=>{throw ht(t),s})),[n,()=>ht(t)]}let cs=!0;function Dl(e){const t=ks(e),n=e.proxy,s=e.ctx;cs=!1,t.beforeCreate&&pr(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:h,created:u,beforeMount:a,mounted:p,beforeUpdate:_,updated:C,activated:P,deactivated:W,beforeDestroy:H,beforeUnmount:E,destroyed:F,unmounted:b,render:w,renderTracked:R,renderTriggered:j,errorCaptured:K,serverPrefetch:M,expose:L,inheritAttrs:k,components:O,directives:q,filters:re}=t;if(h&&Nl(h,s,null),o)for(const Z in o){const Q=o[Z];$(Q)&&(s[Z]=Q.bind(n))}if(r){const Z=r.call(n,n);X(Z)&&(e.data=Os(Z))}if(cs=!0,i)for(const Z in i){const Q=i[Z],nt=$(Q)?Q.bind(n,n):$(Q.get)?Q.get.bind(n,n):Be,Xt=!$(Q)&&$(Q.set)?Q.set.bind(n):Be,st=Ac({get:nt,set:Xt});Object.defineProperty(s,Z,{enumerable:!0,configurable:!0,get:()=>st.value,set:De=>st.value=De})}if(l)for(const Z in l)Ri(l[Z],s,n,Z);if(c){const Z=$(c)?c.call(n):c;Reflect.ownKeys(Z).forEach(Q=>{jl(Q,Z[Q])})}u&&pr(u,e,"c");function ne(Z,Q){D(Q)?Q.forEach(nt=>Z(nt.bind(n))):Q&&Z(Q.bind(n))}if(ne(Mi,a),ne(Ln,p),ne(Al,_),ne($s,C),ne(wl,P),ne(Sl,W),ne(Ol,K),ne(Ml,R),ne(Fl,j),ne(Hs,E),ne(Vs,b),ne(Il,M),D(L))if(L.length){const Z=e.exposed||(e.exposed={});L.forEach(Q=>{Object.defineProperty(Z,Q,{get:()=>n[Q],set:nt=>n[Q]=nt})})}else e.exposed||(e.exposed={});w&&e.render===Be&&(e.render=w),k!=null&&(e.inheritAttrs=k),O&&(e.components=O),q&&(e.directives=q),M&&Ii(e)}function Nl(e,t,n=Be){D(e)&&(e=fs(e));for(const s in e){const r=e[s];let i;X(r)?"default"in r?i=un(r.from||s,r.default,!0):i=un(r.from||s):i=un(r),ue(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function pr(e,t,n){Re(D(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ri(e,t,n,s){let r=s.includes(".")?Wi(n,s):()=>n[s];if(se(e)){const i=t[e];$(i)&&an(r,i)}else if($(e))an(r,e.bind(n));else if(X(e))if(D(e))e.forEach(i=>Ri(i,t,n,s));else{const i=$(e.handler)?e.handler.bind(n):t[e.handler];$(i)&&an(r,i,e)}}function ks(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(h=>yn(c,h,o,!0)),yn(c,t,o)),X(t)&&i.set(t,c),c}function yn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&yn(e,i,n,!0),r&&r.forEach(o=>yn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=Ll[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Ll={data:gr,props:mr,emits:mr,methods:Lt,computed:Lt,beforeCreate:ge,created:ge,beforeMount:ge,mounted:ge,beforeUpdate:ge,updated:ge,beforeDestroy:ge,beforeUnmount:ge,destroyed:ge,unmounted:ge,activated:ge,deactivated:ge,errorCaptured:ge,serverPrefetch:ge,components:Lt,directives:Lt,watch:$l,provide:gr,inject:Bl};function gr(e,t){return t?e?function(){return ie($(e)?e.call(this,this):e,$(t)?t.call(this,this):t)}:t:e}function Bl(e,t){return Lt(fs(e),fs(t))}function fs(e){if(D(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ge(e,t){return e?[...new Set([].concat(e,t))]:t}function Lt(e,t){return e?ie(Object.create(null),e,t):t}function mr(e,t){return e?D(e)&&D(t)?[...new Set([...e,...t])]:ie(Object.create(null),_n(e),_n(t??{})):t}function $l(e,t){if(!e)return t;if(!t)return e;const n=ie(Object.create(null),e);for(const s in t)n[s]=ge(e[s],t[s]);return n}function Di(){return{app:null,config:{isNativeTag:_o,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Hl=0;function Vl(e,t){return function(s,r=null){$(s)||(s=ie({},s)),r!=null&&!X(r)&&(r=null);const i=Di(),o=new WeakSet,l=[];let c=!1;const h=i.app={_uid:Hl++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:Fc,get config(){return i.config},set config(u){},use(u,...a){return o.has(u)||(u&&$(u.install)?(o.add(u),u.install(h,...a)):$(u)&&(o.add(u),u(h,...a))),h},mixin(u){return i.mixins.includes(u)||i.mixins.push(u),h},component(u,a){return a?(i.components[u]=a,h):i.components[u]},directive(u,a){return a?(i.directives[u]=a,h):i.directives[u]},mount(u,a,p){if(!c){const _=h._ceVNode||ae(s,r);return _.appContext=i,p===!0?p="svg":p===!1&&(p=void 0),a&&t?t(_,u):e(_,u,p),c=!0,h._container=u,u.__vue_app__=h,Vn(_.component)}},onUnmount(u){l.push(u)},unmount(){c&&(Re(l,h._instance,16),e(null,h._container),delete h._container.__vue_app__)},provide(u,a){return i.provides[u]=a,h},runWithContext(u){const a=ut;ut=h;try{return u()}finally{ut=a}}};return h}}let ut=null;function jl(e,t){if(fe){let n=fe.provides;const s=fe.parent&&fe.parent.provides;s===n&&(n=fe.provides=Object.create(s)),n[e]=t}}function un(e,t,n=!1){const s=fe||oe;if(s||ut){const r=ut?ut._context.provides:s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&$(t)?t.call(s&&s.proxy):t}}function Ef(){return!!(fe||oe||ut)}const Ni={},Li=()=>Object.create(Ni),Bi=e=>Object.getPrototypeOf(e)===Ni;function Kl(e,t,n,s=!1){const r={},i=Li();e.propsDefaults=Object.create(null),$i(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:tl(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function kl(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=G(r),[c]=e.propsOptions;let h=!1;if((s||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let a=0;a<u.length;a++){let p=u[a];if(Bn(e.emitsOptions,p))continue;const _=t[p];if(c)if(Y(i,p))_!==i[p]&&(i[p]=_,h=!0);else{const C=we(p);r[C]=us(c,l,C,_,e,!1)}else _!==i[p]&&(i[p]=_,h=!0)}}}else{$i(e,t,r,i)&&(h=!0);let u;for(const a in l)(!t||!Y(t,a)&&((u=We(a))===a||!Y(t,u)))&&(c?n&&(n[a]!==void 0||n[u]!==void 0)&&(r[a]=us(c,l,a,void 0,e,!0)):delete r[a]);if(i!==l)for(const a in i)(!t||!Y(t,a))&&(delete i[a],h=!0)}h&&ke(e.attrs,"set","")}function $i(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,l;if(t)for(let c in t){if(Bt(c))continue;const h=t[c];let u;r&&Y(r,u=we(c))?!i||!i.includes(u)?n[u]=h:(l||(l={}))[u]=h:Bn(e.emitsOptions,c)||(!(c in s)||h!==s[c])&&(s[c]=h,o=!0)}if(i){const c=G(n),h=l||J;for(let u=0;u<i.length;u++){const a=i[u];n[a]=us(r,c,a,h[a],e,!Y(h,a))}}return o}function us(e,t,n,s,r,i){const o=e[n];if(o!=null){const l=Y(o,"default");if(l&&s===void 0){const c=o.default;if(o.type!==Function&&!o.skipFactory&&$(c)){const{propsDefaults:h}=r;if(n in h)s=h[n];else{const u=ht(r);s=h[n]=c.call(null,t),u()}}else s=c;r.ce&&r.ce._setProp(n,s)}o[0]&&(i&&!l?s=!1:o[1]&&(s===""||s===We(n))&&(s=!0))}return s}const Ul=new WeakMap;function Hi(e,t,n=!1){const s=n?Ul:t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},l=[];let c=!1;if(!$(e)){const u=a=>{c=!0;const[p,_]=Hi(a,t,!0);ie(o,p),_&&l.push(..._)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!c)return X(e)&&s.set(e,_t),_t;if(D(i))for(let u=0;u<i.length;u++){const a=we(i[u]);_r(a)&&(o[a]=J)}else if(i)for(const u in i){const a=we(u);if(_r(a)){const p=i[u],_=o[a]=D(p)||$(p)?{type:p}:ie({},p),C=_.type;let P=!1,W=!0;if(D(C))for(let H=0;H<C.length;++H){const E=C[H],F=$(E)&&E.name;if(F==="Boolean"){P=!0;break}else F==="String"&&(W=!1)}else P=$(C)&&C.name==="Boolean";_[0]=P,_[1]=W,(P||Y(_,"default"))&&l.push(a)}}const h=[o,l];return X(e)&&s.set(e,h),h}function _r(e){return e[0]!=="$"&&!Bt(e)}const Vi=e=>e[0]==="_"||e==="$stable",Us=e=>D(e)?e.map(Me):[Me(e)],Wl=(e,t,n)=>{if(t._n)return t;const s=_l((...r)=>Us(t(...r)),n);return s._c=!1,s},ji=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Vi(r))continue;const i=e[r];if($(i))t[r]=Wl(r,i,s);else if(i!=null){const o=Us(i);t[r]=()=>o}}},Ki=(e,t)=>{const n=Us(t);e.slots.default=()=>n},ki=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},Gl=(e,t,n)=>{const s=e.slots=Li();if(e.vnode.shapeFlag&32){const r=t._;r?(ki(s,t,n),n&&Kr(s,"_",r,!0)):ji(t,s)}else t&&Ki(e,t)},ql=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=J;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:ki(r,t,n):(i=!t.$stable,ji(t,r)),o=t}else t&&(Ki(e,t),o={default:1});if(i)for(const l in r)!Vi(l)&&o[l]==null&&delete r[l]},le=hc;function Jl(e){return Yl(e)}function Yl(e,t){const n=Ur();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:h,setElementText:u,parentNode:a,nextSibling:p,setScopeId:_=Be,insertStaticContent:C}=e,P=(f,d,g,v=null,m=null,y=null,A=void 0,S=null,T=!!d.dynamicChildren)=>{if(f===d)return;f&&!Oe(f,d)&&(v=Zt(f),De(f,m,y,!0),f=null),d.patchFlag===-2&&(T=!1,d.dynamicChildren=null);const{type:x,ref:B,shapeFlag:I}=d;switch(x){case $n:W(f,d,g,v);break;case ce:H(f,d,g,v);break;case Vt:f==null&&E(d,g,v,A);break;case ye:O(f,d,g,v,m,y,A,S,T);break;default:I&1?w(f,d,g,v,m,y,A,S,T):I&6?q(f,d,g,v,m,y,A,S,T):(I&64||I&128)&&x.process(f,d,g,v,m,y,A,S,T,Mt)}B!=null&&m&&os(B,f&&f.ref,y,d||f,!d)},W=(f,d,g,v)=>{if(f==null)s(d.el=l(d.children),g,v);else{const m=d.el=f.el;d.children!==f.children&&h(m,d.children)}},H=(f,d,g,v)=>{f==null?s(d.el=c(d.children||""),g,v):d.el=f.el},E=(f,d,g,v)=>{[f.el,f.anchor]=C(f.children,d,g,v,f.el,f.anchor)},F=({el:f,anchor:d},g,v)=>{let m;for(;f&&f!==d;)m=p(f),s(f,g,v),f=m;s(d,g,v)},b=({el:f,anchor:d})=>{let g;for(;f&&f!==d;)g=p(f),r(f),f=g;r(d)},w=(f,d,g,v,m,y,A,S,T)=>{d.type==="svg"?A="svg":d.type==="math"&&(A="mathml"),f==null?R(d,g,v,m,y,A,S,T):M(f,d,m,y,A,S,T)},R=(f,d,g,v,m,y,A,S)=>{let T,x;const{props:B,shapeFlag:I,transition:N,dirs:V}=f;if(T=f.el=o(f.type,y,B&&B.is,B),I&8?u(T,f.children):I&16&&K(f.children,T,null,v,m,zn(f,y),A,S),V&&rt(f,null,v,"created"),j(T,f,f.scopeId,A,v),B){for(const ee in B)ee!=="value"&&!Bt(ee)&&i(T,ee,null,B[ee],y,v);"value"in B&&i(T,"value",null,B.value,y),(x=B.onVnodeBeforeMount)&&Ae(x,v,f)}V&&rt(f,null,v,"beforeMount");const U=zl(m,N);U&&N.beforeEnter(T),s(T,d,g),((x=B&&B.onVnodeMounted)||U||V)&&le(()=>{x&&Ae(x,v,f),U&&N.enter(T),V&&rt(f,null,v,"mounted")},m)},j=(f,d,g,v,m)=>{if(g&&_(f,g),v)for(let y=0;y<v.length;y++)_(f,v[y]);if(m){let y=m.subTree;if(d===y||vn(y.type)&&(y.ssContent===d||y.ssFallback===d)){const A=m.vnode;j(f,A,A.scopeId,A.slotScopeIds,m.parent)}}},K=(f,d,g,v,m,y,A,S,T=0)=>{for(let x=T;x<f.length;x++){const B=f[x]=S?Ze(f[x]):Me(f[x]);P(null,B,d,g,v,m,y,A,S)}},M=(f,d,g,v,m,y,A)=>{const S=d.el=f.el;let{patchFlag:T,dynamicChildren:x,dirs:B}=d;T|=f.patchFlag&16;const I=f.props||J,N=d.props||J;let V;if(g&&it(g,!1),(V=N.onVnodeBeforeUpdate)&&Ae(V,g,d,f),B&&rt(d,f,g,"beforeUpdate"),g&&it(g,!0),(I.innerHTML&&N.innerHTML==null||I.textContent&&N.textContent==null)&&u(S,""),x?L(f.dynamicChildren,x,S,g,v,zn(d,m),y):A||Q(f,d,S,null,g,v,zn(d,m),y,!1),T>0){if(T&16)k(S,I,N,g,m);else if(T&2&&I.class!==N.class&&i(S,"class",null,N.class,m),T&4&&i(S,"style",I.style,N.style,m),T&8){const U=d.dynamicProps;for(let ee=0;ee<U.length;ee++){const z=U[ee],xe=I[z],de=N[z];(de!==xe||z==="value")&&i(S,z,xe,de,m,g)}}T&1&&f.children!==d.children&&u(S,d.children)}else!A&&x==null&&k(S,I,N,g,m);((V=N.onVnodeUpdated)||B)&&le(()=>{V&&Ae(V,g,d,f),B&&rt(d,f,g,"updated")},v)},L=(f,d,g,v,m,y,A)=>{for(let S=0;S<d.length;S++){const T=f[S],x=d[S],B=T.el&&(T.type===ye||!Oe(T,x)||T.shapeFlag&70)?a(T.el):g;P(T,x,B,null,v,m,y,A,!0)}},k=(f,d,g,v,m)=>{if(d!==g){if(d!==J)for(const y in d)!Bt(y)&&!(y in g)&&i(f,y,d[y],null,m,v);for(const y in g){if(Bt(y))continue;const A=g[y],S=d[y];A!==S&&y!=="value"&&i(f,y,S,A,m,v)}"value"in g&&i(f,"value",d.value,g.value,m)}},O=(f,d,g,v,m,y,A,S,T)=>{const x=d.el=f?f.el:l(""),B=d.anchor=f?f.anchor:l("");let{patchFlag:I,dynamicChildren:N,slotScopeIds:V}=d;V&&(S=S?S.concat(V):V),f==null?(s(x,g,v),s(B,g,v),K(d.children||[],g,B,m,y,A,S,T)):I>0&&I&64&&N&&f.dynamicChildren?(L(f.dynamicChildren,N,g,m,y,A,S),(d.key!=null||m&&d===m.subTree)&&Ws(f,d,!0)):Q(f,d,g,B,m,y,A,S,T)},q=(f,d,g,v,m,y,A,S,T)=>{d.slotScopeIds=S,f==null?d.shapeFlag&512?m.ctx.activate(d,g,v,A,T):re(d,g,v,m,y,A,T):Se(f,d,T)},re=(f,d,g,v,m,y,A)=>{const S=f.component=xc(f,v,m);if(Dn(f)&&(S.ctx.renderer=Mt),Cc(S,!1,A),S.asyncDep){if(m&&m.registerDep(S,ne,A),!f.el){const T=S.subTree=ae(ce);H(null,T,d,g)}}else ne(S,f,d,g,m,y,A)},Se=(f,d,g)=>{const v=d.component=f.component;if(lc(f,d,g))if(v.asyncDep&&!v.asyncResolved){Z(v,d,g);return}else v.next=d,v.update();else d.el=f.el,v.vnode=d},ne=(f,d,g,v,m,y,A)=>{const S=()=>{if(f.isMounted){let{next:I,bu:N,u:V,parent:U,vnode:ee}=f;{const Ce=Ui(f);if(Ce){I&&(I.el=ee.el,Z(f,I,A)),Ce.asyncDep.then(()=>{f.isUnmounted||S()});return}}let z=I,xe;it(f,!1),I?(I.el=ee.el,Z(f,I,A)):I=ee,N&&bt(N),(xe=I.props&&I.props.onVnodeBeforeUpdate)&&Ae(xe,U,I,ee),it(f,!0);const de=Xn(f),Fe=f.subTree;f.subTree=de,P(Fe,de,a(Fe.el),Zt(Fe),f,m,y),I.el=de.el,z===null&&Gs(f,de.el),V&&le(V,m),(xe=I.props&&I.props.onVnodeUpdated)&&le(()=>Ae(xe,U,I,ee),m)}else{let I;const{el:N,props:V}=d,{bm:U,m:ee,parent:z,root:xe,type:de}=f,Fe=ft(d);if(it(f,!1),U&&bt(U),!Fe&&(I=V&&V.onVnodeBeforeMount)&&Ae(I,z,d),it(f,!0),N&&Zs){const Ce=()=>{f.subTree=Xn(f),Zs(N,f.subTree,f,m,null)};Fe&&de.__asyncHydrate?de.__asyncHydrate(N,f,Ce):Ce()}else{xe.ce&&xe.ce._injectChildStyle(de);const Ce=f.subTree=Xn(f);P(null,Ce,g,v,f,m,y),d.el=Ce.el}if(ee&&le(ee,m),!Fe&&(I=V&&V.onVnodeMounted)){const Ce=d;le(()=>Ae(I,z,Ce),m)}(d.shapeFlag&256||z&&ft(z.vnode)&&z.vnode.shapeFlag&256)&&f.a&&le(f.a,m),f.isMounted=!0,d=g=v=null}};f.scope.on();const T=f.effect=new zr(S);f.scope.off();const x=f.update=T.run.bind(T),B=f.job=T.runIfDirty.bind(T);B.i=f,B.id=f.uid,T.scheduler=()=>Ls(B),it(f,!0),x()},Z=(f,d,g)=>{d.component=f;const v=f.vnode.props;f.vnode=d,f.next=null,kl(f,d.props,v,g),ql(f,d.children,g),et(),fr(f),tt()},Q=(f,d,g,v,m,y,A,S,T=!1)=>{const x=f&&f.children,B=f?f.shapeFlag:0,I=d.children,{patchFlag:N,shapeFlag:V}=d;if(N>0){if(N&128){Xt(x,I,g,v,m,y,A,S,T);return}else if(N&256){nt(x,I,g,v,m,y,A,S,T);return}}V&8?(B&16&&Ft(x,m,y),I!==x&&u(g,I)):B&16?V&16?Xt(x,I,g,v,m,y,A,S,T):Ft(x,m,y,!0):(B&8&&u(g,""),V&16&&K(I,g,v,m,y,A,S,T))},nt=(f,d,g,v,m,y,A,S,T)=>{f=f||_t,d=d||_t;const x=f.length,B=d.length,I=Math.min(x,B);let N;for(N=0;N<I;N++){const V=d[N]=T?Ze(d[N]):Me(d[N]);P(f[N],V,g,null,m,y,A,S,T)}x>B?Ft(f,m,y,!0,!1,I):K(d,g,v,m,y,A,S,T,I)},Xt=(f,d,g,v,m,y,A,S,T)=>{let x=0;const B=d.length;let I=f.length-1,N=B-1;for(;x<=I&&x<=N;){const V=f[x],U=d[x]=T?Ze(d[x]):Me(d[x]);if(Oe(V,U))P(V,U,g,null,m,y,A,S,T);else break;x++}for(;x<=I&&x<=N;){const V=f[I],U=d[N]=T?Ze(d[N]):Me(d[N]);if(Oe(V,U))P(V,U,g,null,m,y,A,S,T);else break;I--,N--}if(x>I){if(x<=N){const V=N+1,U=V<B?d[V].el:v;for(;x<=N;)P(null,d[x]=T?Ze(d[x]):Me(d[x]),g,U,m,y,A,S,T),x++}}else if(x>N)for(;x<=I;)De(f[x],m,y,!0),x++;else{const V=x,U=x,ee=new Map;for(x=U;x<=N;x++){const Te=d[x]=T?Ze(d[x]):Me(d[x]);Te.key!=null&&ee.set(Te.key,x)}let z,xe=0;const de=N-U+1;let Fe=!1,Ce=0;const Ot=new Array(de);for(x=0;x<de;x++)Ot[x]=0;for(x=V;x<=I;x++){const Te=f[x];if(xe>=de){De(Te,m,y,!0);continue}let Ne;if(Te.key!=null)Ne=ee.get(Te.key);else for(z=U;z<=N;z++)if(Ot[z-U]===0&&Oe(Te,d[z])){Ne=z;break}Ne===void 0?De(Te,m,y,!0):(Ot[Ne-U]=x+1,Ne>=Ce?Ce=Ne:Fe=!0,P(Te,d[Ne],g,null,m,y,A,S,T),xe++)}const Qs=Fe?Xl(Ot):_t;for(z=Qs.length-1,x=de-1;x>=0;x--){const Te=U+x,Ne=d[Te],er=Te+1<B?d[Te+1].el:v;Ot[x]===0?P(null,Ne,g,er,m,y,A,S,T):Fe&&(z<0||x!==Qs[z]?st(Ne,g,er,2):z--)}}},st=(f,d,g,v,m=null)=>{const{el:y,type:A,transition:S,children:T,shapeFlag:x}=f;if(x&6){st(f.component.subTree,d,g,v);return}if(x&128){f.suspense.move(d,g,v);return}if(x&64){A.move(f,d,g,Mt);return}if(A===ye){s(y,d,g);for(let I=0;I<T.length;I++)st(T[I],d,g,v);s(f.anchor,d,g);return}if(A===Vt){F(f,d,g);return}if(v!==2&&x&1&&S)if(v===0)S.beforeEnter(y),s(y,d,g),le(()=>S.enter(y),m);else{const{leave:I,delayLeave:N,afterLeave:V}=S,U=()=>s(y,d,g),ee=()=>{I(y,()=>{U(),V&&V()})};N?N(y,U,ee):ee()}else s(y,d,g)},De=(f,d,g,v=!1,m=!1)=>{const{type:y,props:A,ref:S,children:T,dynamicChildren:x,shapeFlag:B,patchFlag:I,dirs:N,cacheIndex:V}=f;if(I===-2&&(m=!1),S!=null&&os(S,null,g,f,!0),V!=null&&(d.renderCache[V]=void 0),B&256){d.ctx.deactivate(f);return}const U=B&1&&N,ee=!ft(f);let z;if(ee&&(z=A&&A.onVnodeBeforeUnmount)&&Ae(z,d,f),B&6)mo(f.component,g,v);else{if(B&128){f.suspense.unmount(g,v);return}U&&rt(f,null,d,"beforeUnmount"),B&64?f.type.remove(f,d,g,Mt,v):x&&!x.hasOnce&&(y!==ye||I>0&&I&64)?Ft(x,d,g,!1,!0):(y===ye&&I&384||!m&&B&16)&&Ft(T,d,g),v&&Ys(f)}(ee&&(z=A&&A.onVnodeUnmounted)||U)&&le(()=>{z&&Ae(z,d,f),U&&rt(f,null,d,"unmounted")},g)},Ys=f=>{const{type:d,el:g,anchor:v,transition:m}=f;if(d===ye){go(g,v);return}if(d===Vt){b(f);return}const y=()=>{r(g),m&&!m.persisted&&m.afterLeave&&m.afterLeave()};if(f.shapeFlag&1&&m&&!m.persisted){const{leave:A,delayLeave:S}=m,T=()=>A(g,y);S?S(f.el,y,T):T()}else y()},go=(f,d)=>{let g;for(;f!==d;)g=p(f),r(f),f=g;r(d)},mo=(f,d,g)=>{const{bum:v,scope:m,job:y,subTree:A,um:S,m:T,a:x}=f;bn(T),bn(x),v&&bt(v),m.stop(),y&&(y.flags|=8,De(A,f,d,g)),S&&le(S,d),le(()=>{f.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},Ft=(f,d,g,v=!1,m=!1,y=0)=>{for(let A=y;A<f.length;A++)De(f[A],d,g,v,m)},Zt=f=>{if(f.shapeFlag&6)return Zt(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const d=p(f.anchor||f.el),g=d&&d[vi];return g?p(g):d};let jn=!1;const zs=(f,d,g)=>{f==null?d._vnode&&De(d._vnode,null,null,!0):P(d._vnode||null,f,d,null,null,null,g),d._vnode=f,jn||(jn=!0,fr(),_i(),jn=!1)},Mt={p:P,um:De,m:st,r:Ys,mt:re,mc:K,pc:Q,pbc:L,n:Zt,o:e};let Xs,Zs;return{render:zs,hydrate:Xs,createApp:Vl(zs,Xs)}}function zn({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function it({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function zl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ws(e,t,n=!1){const s=e.children,r=t.children;if(D(s)&&D(r))for(let i=0;i<s.length;i++){const o=s[i];let l=r[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[i]=Ze(r[i]),l.el=o.el),!n&&l.patchFlag!==-2&&Ws(o,l)),l.type===$n&&(l.el=o.el)}}function Xl(e){const t=e.slice(),n=[0];let s,r,i,o,l;const c=e.length;for(s=0;s<c;s++){const h=e[s];if(h!==0){if(r=n[n.length-1],e[r]<h){t[s]=r,n.push(s);continue}for(i=0,o=n.length-1;i<o;)l=i+o>>1,e[n[l]]<h?i=l+1:o=l;h<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function Ui(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ui(t)}function bn(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Zl=Symbol.for("v-scx"),Ql=()=>un(Zl);function Af(e,t){return zt(e,null,t)}function ec(e,t){return zt(e,null,{flush:"post"})}function tc(e,t){return zt(e,null,{flush:"sync"})}function an(e,t,n){return zt(e,t,n)}function zt(e,t,n=J){const{immediate:s,deep:r,flush:i,once:o}=n,l=ie({},n);let c;if(Hn)if(i==="sync"){const p=Ql();c=p.__watcherHandles||(p.__watcherHandles=[])}else if(!t||s)l.once=!0;else{const p=()=>{};return p.stop=Be,p.resume=Be,p.pause=Be,p}const h=fe;l.call=(p,_,C)=>Re(p,h,_,C);let u=!1;i==="post"?l.scheduler=p=>{le(p,h&&h.suspense)}:i!=="sync"&&(u=!0,l.scheduler=(p,_)=>{_?p():Ls(p)}),l.augmentJob=p=>{t&&(p.flags|=4),u&&(p.flags|=2,h&&(p.id=h.uid,p.i=h))};const a=hl(e,t,l);return c&&c.push(a),a}function nc(e,t,n){const s=this.proxy,r=se(e)?e.includes(".")?Wi(s,e):()=>s[e]:e.bind(s,s);let i;$(t)?i=t:(i=t.handler,n=t);const o=ht(this),l=zt(r,i.bind(s),n);return o(),l}function Wi(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}function If(e,t,n=J){const s=It(),r=we(t),i=We(t),o=Gi(e,t),l=ll((c,h)=>{let u,a=J,p;return tc(()=>{const _=e[t];be(u,_)&&(u=_,h())}),{get(){return c(),n.get?n.get(u):u},set(_){const C=n.set?n.set(_):_;if(!be(C,u)&&!(a!==J&&be(_,a)))return;const P=s.vnode.props;P&&(t in P||r in P||i in P)&&(`onUpdate:${t}`in P||`onUpdate:${r}`in P||`onUpdate:${i}`in P)||(u=_,h()),s.emit(`update:${t}`,C),be(_,C)&&be(_,a)&&!be(C,p)&&h(),a=_,p=C}}});return l[Symbol.iterator]=()=>{let c=0;return{next(){return c<2?{value:c++?o||J:l,done:!1}:{done:!0}}}},l}const Gi=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${we(t)}Modifiers`]||e[`${We(t)}Modifiers`];function sc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||J;let r=n;const i=t.startsWith("update:"),o=i&&Gi(s,t.slice(7));o&&(o.trim&&(r=n.map(u=>se(u)?u.trim():u)),o.number&&(r=n.map(To)));let l,c=s[l=Kn(t)]||s[l=Kn(we(t))];!c&&i&&(c=s[l=Kn(We(t))]),c&&Re(c,e,6,r);const h=s[l+"Once"];if(h){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Re(h,e,6,r)}}function qi(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!$(e)){const c=h=>{const u=qi(h,t,!0);u&&(l=!0,ie(o,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(X(e)&&s.set(e,null),null):(D(i)?i.forEach(c=>o[c]=null):ie(o,i),X(e)&&s.set(e,o),o)}function Bn(e,t){return!e||!An(t)?!1:(t=t.slice(2).replace(/Once$/,""),Y(e,t[0].toLowerCase()+t.slice(1))||Y(e,We(t))||Y(e,t))}function Xn(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:c,render:h,renderCache:u,props:a,data:p,setupState:_,ctx:C,inheritAttrs:P}=e,W=mn(e);let H,E;try{if(n.shapeFlag&4){const b=r||s,w=b;H=Me(h.call(w,b,u,a,_,p,C)),E=l}else{const b=t;H=Me(b.length>1?b(a,{attrs:l,slots:o,emit:c}):b(a,null)),E=t.props?l:ic(l)}}catch(b){jt.length=0,Yt(b,e,1),H=ae(ce)}let F=H;if(E&&P!==!1){const b=Object.keys(E),{shapeFlag:w}=F;b.length&&w&7&&(i&&b.some(vs)&&(E=oc(E,i)),F=Ue(F,E,!1,!0))}return n.dirs&&(F=Ue(F,null,!1,!0),F.dirs=F.dirs?F.dirs.concat(n.dirs):n.dirs),n.transition&&Qe(F,n.transition),H=F,mn(W),H}function rc(e,t=!0){let n;for(let s=0;s<e.length;s++){const r=e[s];if(dt(r)){if(r.type!==ce||r.children==="v-if"){if(n)return;n=r}}else return}return n}const ic=e=>{let t;for(const n in e)(n==="class"||n==="style"||An(n))&&((t||(t={}))[n]=e[n]);return t},oc=(e,t)=>{const n={};for(const s in e)(!vs(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function lc(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,h=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?yr(s,o,h):!!o;if(c&8){const u=t.dynamicProps;for(let a=0;a<u.length;a++){const p=u[a];if(o[p]!==s[p]&&!Bn(h,p))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===o?!1:s?o?yr(s,o,h):!0:!!o;return!1}function yr(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const i=s[r];if(t[i]!==e[i]&&!Bn(n,i))return!0}return!1}function Gs({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const vn=e=>e.__isSuspense;let as=0;const cc={name:"Suspense",__isSuspense:!0,process(e,t,n,s,r,i,o,l,c,h){if(e==null)fc(t,n,s,r,i,o,l,c,h);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}uc(e,t,n,s,r,o,l,c,h)}},hydrate:ac,normalize:dc},Ff=cc;function qt(e,t){const n=e.props&&e.props[t];$(n)&&n()}function fc(e,t,n,s,r,i,o,l,c){const{p:h,o:{createElement:u}}=c,a=u("div"),p=e.suspense=Ji(e,r,s,t,a,n,i,o,l,c);h(null,p.pendingBranch=e.ssContent,a,null,s,p,i,o),p.deps>0?(qt(e,"onPending"),qt(e,"onFallback"),h(null,e.ssFallback,t,n,s,null,i,o),Ct(p,e.ssFallback)):p.resolve(!1,!0)}function uc(e,t,n,s,r,i,o,l,{p:c,um:h,o:{createElement:u}}){const a=t.suspense=e.suspense;a.vnode=t,t.el=e.el;const p=t.ssContent,_=t.ssFallback,{activeBranch:C,pendingBranch:P,isInFallback:W,isHydrating:H}=a;if(P)a.pendingBranch=p,Oe(p,P)?(c(P,p,a.hiddenContainer,null,r,a,i,o,l),a.deps<=0?a.resolve():W&&(H||(c(C,_,n,s,r,null,i,o,l),Ct(a,_)))):(a.pendingId=as++,H?(a.isHydrating=!1,a.activeBranch=P):h(P,r,a),a.deps=0,a.effects.length=0,a.hiddenContainer=u("div"),W?(c(null,p,a.hiddenContainer,null,r,a,i,o,l),a.deps<=0?a.resolve():(c(C,_,n,s,r,null,i,o,l),Ct(a,_))):C&&Oe(p,C)?(c(C,p,n,s,r,a,i,o,l),a.resolve(!0)):(c(null,p,a.hiddenContainer,null,r,a,i,o,l),a.deps<=0&&a.resolve()));else if(C&&Oe(p,C))c(C,p,n,s,r,a,i,o,l),Ct(a,p);else if(qt(t,"onPending"),a.pendingBranch=p,p.shapeFlag&512?a.pendingId=p.component.suspenseId:a.pendingId=as++,c(null,p,a.hiddenContainer,null,r,a,i,o,l),a.deps<=0)a.resolve();else{const{timeout:E,pendingId:F}=a;E>0?setTimeout(()=>{a.pendingId===F&&a.fallback(_)},E):E===0&&a.fallback(_)}}function Ji(e,t,n,s,r,i,o,l,c,h,u=!1){const{p:a,m:p,um:_,n:C,o:{parentNode:P,remove:W}}=h;let H;const E=pc(e);E&&t&&t.pendingBranch&&(H=t.pendingId,t.deps++);const F=e.props?kr(e.props.timeout):void 0,b=i,w={vnode:e,parent:t,parentComponent:n,namespace:o,container:s,hiddenContainer:r,deps:0,pendingId:as++,timeout:typeof F=="number"?F:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(R=!1,j=!1){const{vnode:K,activeBranch:M,pendingBranch:L,pendingId:k,effects:O,parentComponent:q,container:re}=w;let Se=!1;w.isHydrating?w.isHydrating=!1:R||(Se=M&&L.transition&&L.transition.mode==="out-in",Se&&(M.transition.afterLeave=()=>{k===w.pendingId&&(p(L,re,i===b?C(M):i,0),rs(O))}),M&&(P(M.el)===re&&(i=C(M)),_(M,q,w,!0)),Se||p(L,re,i,0)),Ct(w,L),w.pendingBranch=null,w.isInFallback=!1;let ne=w.parent,Z=!1;for(;ne;){if(ne.pendingBranch){ne.effects.push(...O),Z=!0;break}ne=ne.parent}!Z&&!Se&&rs(O),w.effects=[],E&&t&&t.pendingBranch&&H===t.pendingId&&(t.deps--,t.deps===0&&!j&&t.resolve()),qt(K,"onResolve")},fallback(R){if(!w.pendingBranch)return;const{vnode:j,activeBranch:K,parentComponent:M,container:L,namespace:k}=w;qt(j,"onFallback");const O=C(K),q=()=>{w.isInFallback&&(a(null,R,L,O,M,null,k,l,c),Ct(w,R))},re=R.transition&&R.transition.mode==="out-in";re&&(K.transition.afterLeave=q),w.isInFallback=!0,_(K,M,null,!0),re||q()},move(R,j,K){w.activeBranch&&p(w.activeBranch,R,j,K),w.container=R},next(){return w.activeBranch&&C(w.activeBranch)},registerDep(R,j,K){const M=!!w.pendingBranch;M&&w.deps++;const L=R.vnode.el;R.asyncDep.catch(k=>{Yt(k,R,0)}).then(k=>{if(R.isUnmounted||w.isUnmounted||w.pendingId!==R.suspenseId)return;R.asyncResolved=!0;const{vnode:O}=R;gs(R,k,!1),L&&(O.el=L);const q=!L&&R.subTree.el;j(R,O,P(L||R.subTree.el),L?null:C(R.subTree),w,o,K),q&&W(q),Gs(R,O.el),M&&--w.deps===0&&w.resolve()})},unmount(R,j){w.isUnmounted=!0,w.activeBranch&&_(w.activeBranch,n,R,j),w.pendingBranch&&_(w.pendingBranch,n,R,j)}};return w}function ac(e,t,n,s,r,i,o,l,c){const h=t.suspense=Ji(t,s,n,e.parentNode,document.createElement("div"),null,r,i,o,l,!0),u=c(e,h.pendingBranch=t.ssContent,n,h,i,o);return h.deps===0&&h.resolve(!1,!0),u}function dc(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=br(s?n.default:n),e.ssFallback=s?br(n.fallback):ae(ce)}function br(e){let t;if($(e)){const n=St&&e._c;n&&(e._d=!1,xn()),e=e(),n&&(e._d=!0,t=ve,Yi())}return D(e)&&(e=rc(e)),e=Me(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function hc(e,t){t&&t.pendingBranch?D(e)?t.effects.push(...e):t.effects.push(e):rs(e)}function Ct(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e;let r=t.el;for(;!r&&t.component;)t=t.component.subTree,r=t.el;n.el=r,s&&s.subTree===n&&(s.vnode.el=r,Gs(s,r))}function pc(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const ye=Symbol.for("v-fgt"),$n=Symbol.for("v-txt"),ce=Symbol.for("v-cmt"),Vt=Symbol.for("v-stc"),jt=[];let ve=null;function xn(e=!1){jt.push(ve=e?null:[])}function Yi(){jt.pop(),ve=jt[jt.length-1]||null}let St=1;function vr(e){St+=e,e<0&&ve&&(ve.hasOnce=!0)}function zi(e){return e.dynamicChildren=St>0?ve||_t:null,Yi(),St>0&&ve&&ve.push(e),e}function Mf(e,t,n,s,r,i){return zi(Zi(e,t,n,s,r,i,!0))}function ds(e,t,n,s,r){return zi(ae(e,t,n,s,r,!0))}function dt(e){return e?e.__v_isVNode===!0:!1}function Oe(e,t){return e.type===t.type&&e.key===t.key}const Xi=({key:e})=>e??null,dn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?se(e)||ue(e)||$(e)?{i:oe,r:e,k:t,f:!!n}:e:null);function Zi(e,t=null,n=null,s=0,r=null,i=e===ye?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Xi(t),ref:t&&dn(t),scopeId:bi,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:oe};return l?(qs(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=se(n)?8:16),St>0&&!o&&ve&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&ve.push(c),c}const ae=gc;function gc(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===Oi)&&(e=ce),dt(e)){const l=Ue(e,t,!0);return n&&qs(l,n),St>0&&!i&&ve&&(l.shapeFlag&6?ve[ve.indexOf(e)]=l:ve.push(l)),l.patchFlag=-2,l}if(Ec(e)&&(e=e.__vccOpts),t){t=mc(t);let{class:l,style:c}=t;l&&!se(l)&&(t.class=Ss(l)),X(c)&&(Rs(c)&&!D(c)&&(c=ie({},c)),t.style=ws(c))}const o=se(e)?1:vn(e)?128:xi(e)?64:X(e)?4:$(e)?2:0;return Zi(e,t,n,s,r,o,i,!0)}function mc(e){return e?Rs(e)||Bi(e)?ie({},e):e:null}function Ue(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:c}=e,h=t?yc(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:h,key:h&&Xi(h),ref:t&&t.ref?n&&i?D(i)?i.concat(dn(t)):[i,dn(t)]:dn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ye?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ue(e.ssContent),ssFallback:e.ssFallback&&Ue(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Qe(u,c.clone(u)),u}function _c(e=" ",t=0){return ae($n,null,e,t)}function Of(e,t){const n=ae(Vt,null,e);return n.staticCount=t,n}function Pf(e="",t=!1){return t?(xn(),ds(ce,null,e)):ae(ce,null,e)}function Me(e){return e==null||typeof e=="boolean"?ae(ce):D(e)?ae(ye,null,e.slice()):dt(e)?Ze(e):ae($n,null,String(e))}function Ze(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ue(e)}function qs(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(D(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),qs(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Bi(t)?t._ctx=oe:r===3&&oe&&(oe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else $(t)?(t={default:t,_ctx:oe},n=32):(t=String(t),s&64?(n=16,t=[_c(t)]):n=8);e.children=t,e.shapeFlag|=n}function yc(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=Ss([t.class,s.class]));else if(r==="style")t.style=ws([t.style,s.style]);else if(An(r)){const i=t[r],o=s[r];o&&i!==o&&!(D(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=s[r])}return t}function Ae(e,t,n,s=null){Re(e,t,7,[n,s])}const bc=Di();let vc=0;function xc(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||bc,i={uid:vc++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Yr(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Hi(s,r),emitsOptions:qi(s,r),emit:null,emitted:null,propsDefaults:J,inheritAttrs:s.inheritAttrs,ctx:J,data:J,props:J,attrs:J,slots:J,refs:J,setupState:J,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=sc.bind(null,i),e.ce&&e.ce(i),i}let fe=null;const It=()=>fe||oe;let Cn,hs;{const e=Ur(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};Cn=t("__VUE_INSTANCE_SETTERS__",n=>fe=n),hs=t("__VUE_SSR_SETTERS__",n=>Hn=n)}const ht=e=>{const t=fe;return Cn(e),e.scope.on(),()=>{e.scope.off(),Cn(t)}},ps=()=>{fe&&fe.scope.off(),Cn(null)};function Qi(e){return e.vnode.shapeFlag&4}let Hn=!1;function Cc(e,t=!1,n=!1){t&&hs(t);const{props:s,children:r}=e.vnode,i=Qi(e);Kl(e,s,i,t),Gl(e,r,n);const o=i?Tc(e,t):void 0;return t&&hs(!1),o}function Tc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Rl);const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Sc(e):null,i=ht(e);et();const o=Jt(s,e,0,[e.props,r]);if(tt(),i(),Cs(o)){if(ft(e)||Ii(e),o.then(ps,ps),t)return o.then(l=>{gs(e,l,t)}).catch(l=>{Yt(l,e,0)});e.asyncDep=o}else gs(e,o,t)}else eo(e,t)}function gs(e,t,n){$(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:X(t)&&(e.setupState=hi(t)),eo(e,n)}let xr;function eo(e,t,n){const s=e.type;if(!e.render){if(!t&&xr&&!s.render){const r=s.template||ks(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,h=ie(ie({isCustomElement:i,delimiters:l},o),c);s.render=xr(r,h)}}e.render=s.render||Be}{const r=ht(e);et();try{Dl(e)}finally{tt(),r()}}}const wc={get(e,t){return pe(e,"get",""),e[t]}};function Sc(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,wc),slots:e.slots,emit:e.emit,expose:t}}function Vn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(hi(nl(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ht)return Ht[n](e)},has(t,n){return n in t||n in Ht}})):e.proxy}function ms(e,t=!0){return $(e)?e.displayName||e.name:e.name||t&&e.__name}function Ec(e){return $(e)&&"__vccOpts"in e}const Ac=(e,t)=>al(e,t,Hn);function Ic(e,t,n){const s=arguments.length;return s===2?X(t)&&!D(t)?dt(t)?ae(e,null,[t]):ae(e,t):ae(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&dt(n)&&(n=[n]),ae(e,t,n))}const Fc="3.5.10";/**
14
+ * @vue/runtime-dom v3.5.10
15
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
16
+ * @license MIT
17
+ **/let _s;const Cr=typeof window<"u"&&window.trustedTypes;if(Cr)try{_s=Cr.createPolicy("vue",{createHTML:e=>e})}catch{}const to=_s?e=>_s.createHTML(e):e=>e,Mc="http://www.w3.org/2000/svg",Oc="http://www.w3.org/1998/Math/MathML",je=typeof document<"u"?document:null,Tr=je&&je.createElement("template"),Pc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?je.createElementNS(Mc,e):t==="mathml"?je.createElementNS(Oc,e):n?je.createElement(e,{is:n}):je.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>je.createTextNode(e),createComment:e=>je.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>je.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{Tr.innerHTML=to(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=Tr.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Je="transition",Rt="animation",Et=Symbol("_vtc"),no={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},so=ie({},wi,no),Rc=e=>(e.displayName="Transition",e.props=so,e),Rf=Rc((e,{slots:t})=>Ic(Cl,ro(e),t)),ot=(e,t=[])=>{D(e)?e.forEach(n=>n(...t)):e&&e(...t)},wr=e=>e?D(e)?e.some(t=>t.length>1):e.length>1:!1;function ro(e){const t={};for(const O in e)O in no||(t[O]=e[O]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:h=o,appearToClass:u=l,leaveFromClass:a=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:_=`${n}-leave-to`}=e,C=Dc(r),P=C&&C[0],W=C&&C[1],{onBeforeEnter:H,onEnter:E,onEnterCancelled:F,onLeave:b,onLeaveCancelled:w,onBeforeAppear:R=H,onAppear:j=E,onAppearCancelled:K=F}=t,M=(O,q,re)=>{Ye(O,q?u:l),Ye(O,q?h:o),re&&re()},L=(O,q)=>{O._isLeaving=!1,Ye(O,a),Ye(O,_),Ye(O,p),q&&q()},k=O=>(q,re)=>{const Se=O?j:E,ne=()=>M(q,O,re);ot(Se,[q,ne]),Sr(()=>{Ye(q,O?c:i),Ve(q,O?u:l),wr(Se)||Er(q,s,P,ne)})};return ie(t,{onBeforeEnter(O){ot(H,[O]),Ve(O,i),Ve(O,o)},onBeforeAppear(O){ot(R,[O]),Ve(O,c),Ve(O,h)},onEnter:k(!1),onAppear:k(!0),onLeave(O,q){O._isLeaving=!0;const re=()=>L(O,q);Ve(O,a),Ve(O,p),oo(),Sr(()=>{O._isLeaving&&(Ye(O,a),Ve(O,_),wr(b)||Er(O,s,W,re))}),ot(b,[O,re])},onEnterCancelled(O){M(O,!1),ot(F,[O])},onAppearCancelled(O){M(O,!0),ot(K,[O])},onLeaveCancelled(O){L(O),ot(w,[O])}})}function Dc(e){if(e==null)return null;if(X(e))return[Zn(e.enter),Zn(e.leave)];{const t=Zn(e);return[t,t]}}function Zn(e){return kr(e)}function Ve(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Et]||(e[Et]=new Set)).add(t)}function Ye(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Et];n&&(n.delete(t),n.size||(e[Et]=void 0))}function Sr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Nc=0;function Er(e,t,n,s){const r=e._endId=++Nc,i=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=io(e,t);if(!o)return s();const h=o+"end";let u=0;const a=()=>{e.removeEventListener(h,p),i()},p=_=>{_.target===e&&++u>=c&&a()};setTimeout(()=>{u<c&&a()},l+1),e.addEventListener(h,p)}function io(e,t){const n=window.getComputedStyle(e),s=C=>(n[C]||"").split(", "),r=s(`${Je}Delay`),i=s(`${Je}Duration`),o=Ar(r,i),l=s(`${Rt}Delay`),c=s(`${Rt}Duration`),h=Ar(l,c);let u=null,a=0,p=0;t===Je?o>0&&(u=Je,a=o,p=i.length):t===Rt?h>0&&(u=Rt,a=h,p=c.length):(a=Math.max(o,h),u=a>0?o>h?Je:Rt:null,p=u?u===Je?i.length:c.length:0);const _=u===Je&&/\b(transform|all)(,|$)/.test(s(`${Je}Property`).toString());return{type:u,timeout:a,propCount:p,hasTransform:_}}function Ar(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Ir(n)+Ir(e[s])))}function Ir(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function oo(){return document.body.offsetHeight}function Lc(e,t,n){const s=e[Et];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Tn=Symbol("_vod"),lo=Symbol("_vsh"),Df={beforeMount(e,{value:t},{transition:n}){e[Tn]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Dt(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),Dt(e,!0),s.enter(e)):s.leave(e,()=>{Dt(e,!1)}):Dt(e,t))},beforeUnmount(e,{value:t}){Dt(e,t)}};function Dt(e,t){e.style.display=t?e[Tn]:"none",e[lo]=!t}const co=Symbol("");function Nf(e){const t=It();if(!t)return;const n=t.ut=(r=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>wn(i,r))},s=()=>{const r=e(t.proxy);t.ce?wn(t.ce,r):ys(t.subTree,r),n(r)};Mi(()=>{ec(s)}),Ln(()=>{const r=new MutationObserver(s);r.observe(t.subTree.el.parentNode,{childList:!0}),Vs(()=>r.disconnect())})}function ys(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{ys(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)wn(e.el,t);else if(e.type===ye)e.children.forEach(n=>ys(n,t));else if(e.type===Vt){let{el:n,anchor:s}=e;for(;n&&(wn(n,t),n!==s);)n=n.nextSibling}}function wn(e,t){if(e.nodeType===1){const n=e.style;let s="";for(const r in t)n.setProperty(`--${r}`,t[r]),s+=`--${r}: ${t[r]};`;n[co]=s}}const Bc=/(^|;)\s*display\s*:/;function $c(e,t,n){const s=e.style,r=se(n);let i=!1;if(n&&!r){if(t)if(se(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&hn(s,l,"")}else for(const o in t)n[o]==null&&hn(s,o,"");for(const o in n)o==="display"&&(i=!0),hn(s,o,n[o])}else if(r){if(t!==n){const o=s[co];o&&(n+=";"+o),s.cssText=n,i=Bc.test(n)}}else t&&e.removeAttribute("style");Tn in e&&(e[Tn]=i?s.display:"",e[lo]&&(s.display="none"))}const Fr=/\s*!important$/;function hn(e,t,n){if(D(n))n.forEach(s=>hn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Hc(e,t);Fr.test(n)?e.setProperty(We(s),n.replace(Fr,""),"important"):e[s]=n}}const Mr=["Webkit","Moz","ms"],Qn={};function Hc(e,t){const n=Qn[t];if(n)return n;let s=we(t);if(s!=="filter"&&s in e)return Qn[t]=s;s=Mn(s);for(let r=0;r<Mr.length;r++){const i=Mr[r]+s;if(i in e)return Qn[t]=i}return t}const Or="http://www.w3.org/1999/xlink";function Pr(e,t,n,s,r,i=Fo(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Or,t.slice(6,t.length)):e.setAttributeNS(Or,t,n):n==null||i&&!Wr(n)?e.removeAttribute(t):e.setAttribute(t,i?"":$e(n)?String(n):n)}function Rr(e,t,n,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?to(n):n);return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const o=r==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(o!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const o=typeof e[t];o==="boolean"?n=Wr(n):n==null&&o==="string"?(n="",i=!0):o==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(t)}function Js(e,t,n,s){e.addEventListener(t,n,s)}function Vc(e,t,n,s){e.removeEventListener(t,n,s)}const Dr=Symbol("_vei");function jc(e,t,n,s,r=null){const i=e[Dr]||(e[Dr]={}),o=i[t];if(s&&o)o.value=s;else{const[l,c]=Kc(t);if(s){const h=i[t]=Wc(s,r);Js(e,l,h,c)}else o&&(Vc(e,l,o,c),i[t]=void 0)}}const Nr=/(?:Once|Passive|Capture)$/;function Kc(e){let t;if(Nr.test(e)){t={};let s;for(;s=e.match(Nr);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):We(e.slice(2)),t]}let es=0;const kc=Promise.resolve(),Uc=()=>es||(kc.then(()=>es=0),es=Date.now());function Wc(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Re(Gc(s,n.value),t,5,[s])};return n.value=e,n.attached=Uc(),n}function Gc(e,t){if(D(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Lr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,qc=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?Lc(e,s,o):t==="style"?$c(e,n,s):An(t)?vs(t)||jc(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Jc(e,t,s,o))?(Rr(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Pr(e,t,s,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!se(s))?Rr(e,we(t),s):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Pr(e,t,s,o))};function Jc(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Lr(t)&&$(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Lr(t)&&se(n)?!1:t in e}const fo=new WeakMap,uo=new WeakMap,Sn=Symbol("_moveCb"),Br=Symbol("_enterCb"),Yc=e=>(delete e.props.mode,e),zc=Yc({name:"TransitionGroup",props:ie({},so,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=It(),s=Ti();let r,i;return $s(()=>{if(!r.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!ef(r[0].el,n.vnode.el,o))return;r.forEach(Xc),r.forEach(Zc);const l=r.filter(Qc);oo(),l.forEach(c=>{const h=c.el,u=h.style;Ve(h,o),u.transform=u.webkitTransform=u.transitionDuration="";const a=h[Sn]=p=>{p&&p.target!==h||(!p||/transform$/.test(p.propertyName))&&(h.removeEventListener("transitionend",a),h[Sn]=null,Ye(h,o))};h.addEventListener("transitionend",a)})}),()=>{const o=G(e),l=ro(o);let c=o.tag||ye;if(r=[],i)for(let h=0;h<i.length;h++){const u=i[h];u.el&&u.el instanceof Element&&(r.push(u),Qe(u,Gt(u,l,s,n)),fo.set(u,u.el.getBoundingClientRect()))}i=t.default?Bs(t.default()):[];for(let h=0;h<i.length;h++){const u=i[h];u.key!=null&&Qe(u,Gt(u,l,s,n))}return ae(c,null,i)}}}),Lf=zc;function Xc(e){const t=e.el;t[Sn]&&t[Sn](),t[Br]&&t[Br]()}function Zc(e){uo.set(e,e.el.getBoundingClientRect())}function Qc(e){const t=fo.get(e),n=uo.get(e),s=t.left-n.left,r=t.top-n.top;if(s||r){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${s}px,${r}px)`,i.transitionDuration="0s",e}}function ef(e,t,n){const s=e.cloneNode(),r=e[Et];r&&r.forEach(l=>{l.split(/\s+/).forEach(c=>c&&s.classList.remove(c))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(s);const{hasTransform:o}=io(s);return i.removeChild(s),o}const En=e=>{const t=e.props["onUpdate:modelValue"]||!1;return D(t)?n=>bt(t,n):t},Tt=Symbol("_assign"),Bf={deep:!0,created(e,t,n){e[Tt]=En(n),Js(e,"change",()=>{const s=e._modelValue,r=ao(e),i=e.checked,o=e[Tt];if(D(s)){const l=Gr(s,r),c=l!==-1;if(i&&!c)o(s.concat(r));else if(!i&&c){const h=[...s];h.splice(l,1),o(h)}}else if(In(s)){const l=new Set(s);i?l.add(r):l.delete(r),o(l)}else o(ho(e,i))})},mounted:$r,beforeUpdate(e,t,n){e[Tt]=En(n),$r(e,t,n)}};function $r(e,{value:t},n){e._modelValue=t;let s;D(t)?s=Gr(t,n.props.value)>-1:In(t)?s=t.has(n.props.value):s=wt(t,ho(e,!0)),e.checked!==s&&(e.checked=s)}const $f={created(e,{value:t},n){e.checked=wt(t,n.props.value),e[Tt]=En(n),Js(e,"change",()=>{e[Tt](ao(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[Tt]=En(s),t!==n&&(e.checked=wt(t,s.props.value))}};function ao(e){return"_value"in e?e._value:e.value}function ho(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const tf=["ctrl","shift","alt","meta"],nf={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>tf.some(n=>e[`${n}Key`]&&!t.includes(n))},Hf=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...i)=>{for(let o=0;o<t.length;o++){const l=nf[t[o]];if(l&&l(r,t))return}return e(r,...i)})},sf={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Vf=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const i=We(r.key);if(t.some(o=>o===i||sf[o]===i))return e(r)})},rf=ie({patchProp:qc},Pc);let Hr;function po(){return Hr||(Hr=Jl(rf))}const jf=(...e)=>{po().render(...e)},Kf=(...e)=>{const t=po().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=lf(s);if(!r)return;const i=t._component;!$(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=n(r,!1,of(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function of(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function lf(e){return se(e)?document.querySelector(e):e}export{Rf as $,hf as A,ui as B,It as C,uf as D,Os as E,Af as F,mf as G,nl as H,vt as I,G as J,bf as K,Ic as L,af as M,jl as N,Hs as O,ye as P,Vs as Q,ae as R,Mi as S,$n as T,dt as U,Kf as V,Ue as W,ce as X,Mn as Y,we as Z,Lf as _,un as a,vf as a0,$s as a1,Sl as a2,wl as a3,gf as a4,yf as a5,jf as a6,_c as a7,Al as a8,Oo as a9,Rs as aa,ds as ab,_l as ac,ws as ad,xf as ae,wf as af,If as ag,Bf as ah,Nf as ai,Of as aj,$f as ak,_f as al,Ff as am,Cf as an,Sf as ao,xn as b,Ac as c,Mf as d,pf as e,Zi as f,Ss as g,Ef as h,ue as i,Tf as j,Pf as k,Vf as l,yc as m,gl as n,ff as o,Hf as p,ll as q,sl as r,tl as s,df as t,di as u,Df as v,an as w,Ln as x,Po as y,cf as z};
@@ -1 +1 @@
1
- import{t as v,c as b,b as S,d as V,e as D,v as B,f as p,g as y,j as w,k as C,m as N,l as j,p as T}from"./@vue.DL81pqVs.0.0.32.js";var L={name:"Toggle",emits:["input","update:modelValue","change"],props:{value:{validator:function(e){return n=>["number","string","boolean"].indexOf(typeof n)!==-1||n==null},required:!1},modelValue:{validator:function(e){return n=>["number","string","boolean"].indexOf(typeof n)!==-1||n==null},required:!1},id:{type:[String,Number],required:!1,default:"toggle"},name:{type:[String,Number],required:!1,default:"toggle"},disabled:{type:Boolean,required:!1,default:!1},required:{type:Boolean,required:!1,default:!1},falseValue:{type:[String,Number,Boolean],required:!1,default:!1},trueValue:{type:[String,Number,Boolean],required:!1,default:!0},onLabel:{type:[String,Object],required:!1,default:""},offLabel:{type:[String,Object],required:!1,default:""},classes:{type:Object,required:!1,default:()=>({})},labelledby:{type:String,required:!1},describedby:{type:String,required:!1},aria:{required:!1,type:Object,default:()=>({})}},setup(e,n){const a=function(d,o,c){const{value:r,modelValue:u,falseValue:t,trueValue:l,disabled:f}=v(d),i=u&&u.value!==void 0?u:r,s=b(()=>i.value===l.value),h=g=>{o.emit("input",g),o.emit("update:modelValue",g),o.emit("change",g)},k=()=>{h(l.value)},m=()=>{h(t.value)};return[null,void 0,!1,0,"0","off"].indexOf(i.value)!==-1&&[t.value,l.value].indexOf(i.value)===-1&&m(),[!0,1,"1","on"].indexOf(i.value)!==-1&&[t.value,l.value].indexOf(i.value)===-1&&k(),{externalValue:i,checked:s,update:h,check:k,uncheck:m,handleInput:g=>{h(g.target.checked?l.value:t.value)},handleClick:()=>{f.value||(s.value?m():k())}}}(e,n),O=function(d,o,c){const{trueValue:r,falseValue:u,onLabel:t,offLabel:l}=v(d),f=c.checked,i=c.update;return{label:b(()=>{let s=f.value?t.value:l.value;return s||(s="&nbsp;"),s}),toggle:()=>{i(f.value?u.value:r.value)},on:()=>{i(r.value)},off:()=>{i(u.value)}}}(e,0,{checked:a.checked,update:a.update}),q=function(d,o,c){const r=v(d),u=r.disabled,t=c.checked,l=b(()=>({container:"toggle-container",toggle:"toggle",toggleOn:"toggle-on",toggleOff:"toggle-off",toggleOnDisabled:"toggle-on-disabled",toggleOffDisabled:"toggle-off-disabled",handle:"toggle-handle",handleOn:"toggle-handle-on",handleOff:"toggle-handle-off",handleOnDisabled:"toggle-handle-on-disabled",handleOffDisabled:"toggle-handle-off-disabled",label:"toggle-label",...r.classes.value}));return{classList:b(()=>({container:l.value.container,toggle:[l.value.toggle,u.value?t.value?l.value.toggleOnDisabled:l.value.toggleOffDisabled:t.value?l.value.toggleOn:l.value.toggleOff],handle:[l.value.handle,u.value?t.value?l.value.handleOnDisabled:l.value.handleOffDisabled:t.value?l.value.handleOn:l.value.handleOff],label:l.value.label}))}}(e,0,{checked:a.checked}),x=function(d,o,c){const{disabled:r}=v(d),u=c.check,t=c.uncheck,l=c.checked;return{handleSpace:()=>{r.value||(l.value?t():u())}}}(e,0,{check:a.check,uncheck:a.uncheck,checked:a.checked});return{...a,...q,...O,...x}}};const M=["tabindex","aria-checked","aria-describedby","aria-labelledby"],z=["id","name","value","checked","disabled"],H=["innerHTML"],K=["checked"];L.render=function(e,n,a,O,q,x){return S(),V("div",N({class:e.classList.container,tabindex:a.disabled?void 0:0,"aria-checked":e.checked,"aria-describedby":a.describedby,"aria-labelledby":a.labelledby,role:"switch"},a.aria,{onKeypress:n[1]||(n[1]=j(T((...d)=>e.handleSpace&&e.handleSpace(...d),["prevent"]),["space"]))}),[D(p("input",{type:"checkbox",id:a.id,name:a.name,value:a.trueValue,checked:e.checked,disabled:a.disabled},null,8,z),[[B,!1]]),p("div",{class:y(e.classList.toggle),onClick:n[0]||(n[0]=(...d)=>e.handleClick&&e.handleClick(...d))},[p("span",{class:y(e.classList.handle)},null,2),w(e.$slots,"label",{checked:e.checked,classList:e.classList},()=>[p("span",{class:y(e.classList.label),innerHTML:e.label},null,10,H)]),a.required?(S(),V("input",{key:0,type:"checkbox",style:{appearance:"none",height:"1px",margin:"0",padding:"0",fontSize:"0",background:"transparent",position:"absolute",width:"100%",bottom:"0",outline:"none"},checked:e.checked,"aria-hidden":"true",tabindex:"-1",required:""},null,8,K)):C("v-if",!0)],2)],16,M)},L.__file="src/Toggle.vue";export{L as b};
1
+ import{t as v,c as b,b as S,d as V,e as D,v as B,f as p,g as y,j as w,k as C,m as N,l as j,p as T}from"./@vue.BdRXtpVd.0.0.33.js";var L={name:"Toggle",emits:["input","update:modelValue","change"],props:{value:{validator:function(e){return n=>["number","string","boolean"].indexOf(typeof n)!==-1||n==null},required:!1},modelValue:{validator:function(e){return n=>["number","string","boolean"].indexOf(typeof n)!==-1||n==null},required:!1},id:{type:[String,Number],required:!1,default:"toggle"},name:{type:[String,Number],required:!1,default:"toggle"},disabled:{type:Boolean,required:!1,default:!1},required:{type:Boolean,required:!1,default:!1},falseValue:{type:[String,Number,Boolean],required:!1,default:!1},trueValue:{type:[String,Number,Boolean],required:!1,default:!0},onLabel:{type:[String,Object],required:!1,default:""},offLabel:{type:[String,Object],required:!1,default:""},classes:{type:Object,required:!1,default:()=>({})},labelledby:{type:String,required:!1},describedby:{type:String,required:!1},aria:{required:!1,type:Object,default:()=>({})}},setup(e,n){const a=function(d,o,c){const{value:r,modelValue:u,falseValue:t,trueValue:l,disabled:f}=v(d),i=u&&u.value!==void 0?u:r,s=b(()=>i.value===l.value),h=g=>{o.emit("input",g),o.emit("update:modelValue",g),o.emit("change",g)},k=()=>{h(l.value)},m=()=>{h(t.value)};return[null,void 0,!1,0,"0","off"].indexOf(i.value)!==-1&&[t.value,l.value].indexOf(i.value)===-1&&m(),[!0,1,"1","on"].indexOf(i.value)!==-1&&[t.value,l.value].indexOf(i.value)===-1&&k(),{externalValue:i,checked:s,update:h,check:k,uncheck:m,handleInput:g=>{h(g.target.checked?l.value:t.value)},handleClick:()=>{f.value||(s.value?m():k())}}}(e,n),O=function(d,o,c){const{trueValue:r,falseValue:u,onLabel:t,offLabel:l}=v(d),f=c.checked,i=c.update;return{label:b(()=>{let s=f.value?t.value:l.value;return s||(s="&nbsp;"),s}),toggle:()=>{i(f.value?u.value:r.value)},on:()=>{i(r.value)},off:()=>{i(u.value)}}}(e,0,{checked:a.checked,update:a.update}),q=function(d,o,c){const r=v(d),u=r.disabled,t=c.checked,l=b(()=>({container:"toggle-container",toggle:"toggle",toggleOn:"toggle-on",toggleOff:"toggle-off",toggleOnDisabled:"toggle-on-disabled",toggleOffDisabled:"toggle-off-disabled",handle:"toggle-handle",handleOn:"toggle-handle-on",handleOff:"toggle-handle-off",handleOnDisabled:"toggle-handle-on-disabled",handleOffDisabled:"toggle-handle-off-disabled",label:"toggle-label",...r.classes.value}));return{classList:b(()=>({container:l.value.container,toggle:[l.value.toggle,u.value?t.value?l.value.toggleOnDisabled:l.value.toggleOffDisabled:t.value?l.value.toggleOn:l.value.toggleOff],handle:[l.value.handle,u.value?t.value?l.value.handleOnDisabled:l.value.handleOffDisabled:t.value?l.value.handleOn:l.value.handleOff],label:l.value.label}))}}(e,0,{checked:a.checked}),x=function(d,o,c){const{disabled:r}=v(d),u=c.check,t=c.uncheck,l=c.checked;return{handleSpace:()=>{r.value||(l.value?t():u())}}}(e,0,{check:a.check,uncheck:a.uncheck,checked:a.checked});return{...a,...q,...O,...x}}};const M=["tabindex","aria-checked","aria-describedby","aria-labelledby"],z=["id","name","value","checked","disabled"],H=["innerHTML"],K=["checked"];L.render=function(e,n,a,O,q,x){return S(),V("div",N({class:e.classList.container,tabindex:a.disabled?void 0:0,"aria-checked":e.checked,"aria-describedby":a.describedby,"aria-labelledby":a.labelledby,role:"switch"},a.aria,{onKeypress:n[1]||(n[1]=j(T((...d)=>e.handleSpace&&e.handleSpace(...d),["prevent"]),["space"]))}),[D(p("input",{type:"checkbox",id:a.id,name:a.name,value:a.trueValue,checked:e.checked,disabled:a.disabled},null,8,z),[[B,!1]]),p("div",{class:y(e.classList.toggle),onClick:n[0]||(n[0]=(...d)=>e.handleClick&&e.handleClick(...d))},[p("span",{class:y(e.classList.handle)},null,2),w(e.$slots,"label",{checked:e.checked,classList:e.classList},()=>[p("span",{class:y(e.classList.label),innerHTML:e.label},null,10,H)]),a.required?(S(),V("input",{key:0,type:"checkbox",style:{appearance:"none",height:"1px",margin:"0",padding:"0",fontSize:"0",background:"transparent",position:"absolute",width:"100%",bottom:"0",outline:"none"},checked:e.checked,"aria-hidden":"true",tabindex:"-1",required:""},null,8,K)):C("v-if",!0)],2)],16,M)},L.__file="src/Toggle.vue";export{L as b};